1 2004-03-31 Angus Leeming <leeming@lyx.org>
3 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
4 the LFUN_ALL_INSETS_TOGGLE code.
6 2004-03-30 Angus Leeming <leeming@lyx.org>
8 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
9 has died. Fall through to the generic Dialogs::show("document").
11 2004-03-30 Angus Leeming <leeming@lyx.org>
14 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
15 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
17 * lyxfunc.C (getStatus, dispatch): define the actions for these
18 lfuns. Little more than a cut and pste job from ControlDocument.C
20 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
22 2004-03-30 Angus Leeming <leeming@lyx.org>
25 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
26 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
28 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
29 open/closed state of ollapsable insets. Usage:
31 all-inset-toggle <state> <name>, where
32 <state> == "open" || "closed" || "toggle" and
33 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
35 * lyxtext.h, text2.C (toggleInset): removed.
37 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
38 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
39 now passes LFUN_INSET_TOGGLE to the found inset.
41 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
42 is now invoked as "all-insets-toggle toggle branch".
44 2004-03-30 Angus Leeming <leeming@lyx.org>
48 * pariterator.[Ch]: added/corrected header blurb.
50 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
52 * dociterator.[Ch]: add an inset_ member
53 (backwardPos): implemented
54 (backwardPos, forwardPos): use inset_ when the stack is empty.
55 (doc_iterator_begin, doc_iterator_end): implemented
56 * pariterator.[Ch]: adjust, add begin, end
57 * insetiterator.[Ch]: adjust, add begin, end
62 * CutAndPaste.C: adjust
64 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
66 * buffer.C: increment file format to 232.
67 * LaTeXFeatures.C: add bibtopic package.
68 * bufferparams.[Ch]: param \use_bibtopic.
70 * lyxrc.[Ch]: add lyxrc bibtex_command
71 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
73 * buffer.C: increment file format to 231.
75 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
77 * dociterator.C: implement forwardPar
78 * iterators.[Ch]: remove, replaced by
79 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
92 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
94 * CutAndPaste.C (pasteSelection): fix 2 crashes
95 (eraseSelection): fix a crash
96 * paragraph_funcs.C: remove a warning
98 2004-03-28 Angus Leeming <leeming@lyx.org>
101 * LyXAction.C (init): new LFUN_PRINT.
103 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
105 2004-03-27 Angus Leeming <leeming@lyx.org>
108 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
110 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
112 2004-03-27 Angus Leeming <leeming@lyx.org>
114 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
115 insetlist always contains non-null pointers to insets.
117 2004-03-26 Angus Leeming <leeming@lyx.org>
119 * src/BufferView_pimpl.C:
123 * src/output_plaintext.C:
124 * src/outputparams.h:
125 * src/paragraph_funcs.C:
129 * src/frontends/controllers/ControlErrorList.C:
130 * src/frontends/gtk/FileDialogPrivate.C:
131 * src/frontends/gtk/GPainter.C:
132 * src/frontends/gtk/GToolbar.C:
133 * src/frontends/qt2/QRef.C:
134 * src/mathed/math_scriptinset.C: squash compiler warnings.
136 2004-03-26 Angus Leeming <leeming@lyx.org>
138 * ispell.C (LaunchIspell::start):
139 * lyx_cb.C (AutoSaveBuffer::start):
140 invoke run(DontWait) rather than runNonBlocking().
142 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
144 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
146 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
148 * kbsequence.C (print): adjust
150 * kbmap.C (printKeySym): rename and change signature
151 (printKey): use LyXKeySym::print()
153 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
155 * undo.C: add using std::advance to compile for stlport
157 2004-03-24 Angus Leeming <leeming@lyx.org>
159 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
160 it leads to a crash when no buffer is present.
162 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
163 Martin Vermeer <martin.vermeer@hut.fi>
165 * lyxfunc.C (dispatch):
166 * bufferparams.C (readToken): use the new LColor::setColor
168 * LColor.[Ch] (setColor): new version that takes two strings as
169 argument and creates a new color entry if necessary
171 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
173 * buffer.C (makeLaTeXFile): if the main latex file that is
174 processed is usually a subdocument of some master, then pretend
175 for a while that it is actually the master
177 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
179 * buffer.C (getLabelList):
180 (getBibkeyList): use getMasterBuffer()
181 (getMasterBuffer): new method. Returns the main document in the
182 case where one is using included documents.
184 2004-03-25 André Pönitz <poenitz@gmx.net>
188 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
190 * ParagraphList_fwd.h: change ParagraphList to a std::vector
192 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
193 text*.C over here. Rename namespace CutAndPaste to lyx::cap
195 * ParameterStruct.h: merge with ParagraphParameters
197 * lyxtext.h: remove LyXText::parOffset() and getPar()
199 * text3.C: Remove all 'manual' update calls. We do now one per user
200 interaction which is completely sufficient.
204 * BufferView_pimpl.C:
207 * ParagraphParameters.[Ch]:
219 * output_docbook.[Ch]:
221 * output_linuxdoc.[Ch]:
222 * output_plaintext.[Ch]:
224 * paragraph_funcs.[Ch]:
225 * paragraph_pimpl.[Ch]:
233 * frontends/controllers/ControlDocument.C:
234 * frontends/controllers/ControlErrorList.C:
235 * frontends/controllers/ControlSpellchecker.C:
238 * insets/insetbase.h:
239 * insets/insetbibitem.C:
241 * insets/insetbranch.C:
242 * insets/insetcaption.C:
243 * insets/insetcharstyle.C:
244 * insets/insetcharstyle.h:
245 * insets/insetcollapsable.C:
246 * insets/insetcollapsable.h:
248 * insets/insetfloat.C:
249 * insets/insetfoot.C:
250 * insets/insetmarginal.C:
251 * insets/insetnote.C:
252 * insets/insetoptarg.C:
253 * insets/insettabular.C:
254 * insets/insettext.C:
255 * insets/insettext.h:
256 * insets/insetwrap.C:
257 * mathed/math_mboxinset.C:
258 * mathed/math_nestinset.C:
259 * mathed/math_scriptinset.C:
260 * mathed/math_scriptinset.h:
263 2004-03-24 Angus Leeming <leeming@lyx.org>
265 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
266 deal with any child processes that have finished but are waiting to
267 communicate this fact to the rest of LyX.
269 2004-03-24 Angus Leeming <leeming@lyx.org>
271 64-bit compile fixes.
273 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
274 (c-tor): pass lyx::pos_types rather than ints.
276 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
279 * text.C (Delete): compile fix.
280 (getPar): ensure that function declaration is the same as that in
283 2004-03-23 Angus Leeming <leeming@lyx.org>
285 * ispell.C (LaunchIspell):
286 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
287 a boost::shred_ptr rather than a std::auto_ptr.
289 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
291 * lyxfunc.C (getStatus): handle read-only buffers correctly;
292 handle LFUN_FILE_INSERT_*
294 * lyxrc.C (setDefaults, getDescription, output, read):
295 * lyxrc.h: remove ps_command
297 2004-03-22 Angus Leeming <leeming@lyx.org>
299 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
300 Ensure that error_handler is processed once only and that all data
301 is saved before attempting to output any warning messages.
303 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
305 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
307 * tabular.C (TeXRow): crash fix (from Kayvan and André)
309 2004-03-19 André Pönitz <poenitz@gmx.net>
311 * cursor.[Ch] (reset): take main text inset as argument
314 * BufferView_pimpl.C: adjust
316 * paragraph.[Ch]: fix completely broken operator=()
318 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
320 * LColor.C (getFromLyXName): make sure that the color name is used
323 2004-03-17 Angus Leeming <leeming@lyx.org>
326 * LyXAction.C (init): remove LFUN_FORKS_KILL.
328 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
329 dialog and to kill a forked process.
331 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
333 * text2.C (setCursorFromCoordinates): fix font problem
335 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
337 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
338 bogus "rebuild cursor" code
340 2004-03-11 André Pönitz <poenitz@gmx.net>
342 * buffer.[Ch]: use InsetText instead of LyXText as container for
345 * dociterator.[Ch]: drop the BufferView * member which is not needed
346 anymore after the change to buffer.C
352 * BufferView_pimpl.[Ch]:
354 * cursor_slice.[Ch]: adjust
356 * text3.C: fix bug in mathDispatch
358 2004-03-08 André Pönitz <poenitz@gmx.net>
360 * undo.[Ch]: use 'StableDocumentIterator' as base for
363 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
366 * bufferparams.[Ch]: add jurabib support and param.
368 * LaTeX.C: add FIXME/comment.
370 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
372 * buffer.C: increment file format to 230.
374 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
376 * cursor.C (dispatch): avoid infinite loops
378 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
380 * rowpainter.C (paintSelection): fix x coordinates
382 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
384 * text.C (rowBreakPoint): fix breaking before displayed insets
386 2004-03-01 André Pönitz <poenitz@gmx.net>
388 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
390 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
394 * BufferView_pimpl.C:
402 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
408 * BufferView_pimpl.C: rename textwidth -> maxwidth,
409 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
411 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
413 * Bidi.[Ch] (computeTables): const correctness
414 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
415 fill_hfill, fill_label_hfill and x from Row
416 * lyxtext.h: prepareToPrint returns a RowMetrics
417 * rowPainter.C: adjust
418 * text.C (prepareToPrint): use width, not textWidth. adjust
419 (redoParagraphInternal, cursorX): adjust
420 * text2.C (getColumnNearX): adjust
421 (init): put a default value to the top LyXText::width
423 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
425 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
427 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
429 * lyxtext.h: add FontIterator class
431 * text.C (FontIterator, operator*, operator->, operator++): add
432 (rowBreakPoint, setRowWidth): adjust (fixing a
435 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
437 * BufferView_pimpl.C (workAreaDispatch): allow also
438 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
440 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
442 * text.C (rowBreakPoint): fix a bug showing with very large insets
444 2004-02-25 André Pönitz <poenitz@gmx.net>
447 * cursor.[Ch]: move some mathed specific code to mathed
449 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
451 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
452 use_tempdir in preferences
453 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
455 * lyx_main.C: ensure that tempdir is valid
456 * lyxlex.h: correct typo
457 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
458 * paragraph.[Ch] (isMultiLingual): make const
459 * cursor.[Ch] (openable): make const
461 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
463 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
465 2004-02-20 André Pönitz <poenitz@gmx.net>
467 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
469 * cursor.[Ch]: prepare for localized getStatus()
475 * text3.C: streamlines the LyXText cursor movement handlers a bit.
477 2004-02-20 André Pönitz <poenitz@gmx.net>
479 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
481 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
483 * text2.C (setCursorFromCoordinates): switch to absolute coords
486 * text3.C (dispatch): adjust
488 2004-02-16 André Pönitz <poenitz@gmx.net>
490 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
493 * cursor_slice.[Ch]: remove unneeded acessor function
495 * lyxtext.h: rename rtl() to isRTL()
503 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
505 * rowpainter.C (paintSelection): coord fix
507 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
509 * Spacing.C: compile fix
511 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
513 * cursor.C (dispatch): restore current_ before returning
515 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
517 * text2.C (cursorUp, cursorDown): fix coords
520 2004-02-12 André Pönitz <poenitz@gmx.net>
525 * text3.C: add LCursor & parameter to most cursor movement functions
526 remove usage of LyXText::cursorRow() and cursorPar()
528 * cursor.[Ch]: add textRow() needed members
531 * BufferView_pimpl.C:
534 * BufferView_pimpl.C: adjust
536 2004-02-11 André Pönitz <poenitz@gmx.net>
540 * BufferView_pimpl.C: shift undo/redo handling
542 * cursor.[Ch]: fix mathed crash
545 * lyxtext.h: move selectionAsText to LCursor
553 * rowpainter.C: fix excessive drawing
555 2004-02-06 André Pönitz <poenitz@gmx.net>
558 * BufferView_pimpl.[Ch]:
559 * text3.C: move some text specific LFUN handling
561 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
563 * text3.C (checkInsetHit): adjust coords
564 * text2.C (getColumnNearX): adjust coords
565 (edit): adjust coords
566 * text.C (getRowNearY): add two asserts
568 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
571 * format.C: add using std::distance to compile on gcc 2.95/stlport
573 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
575 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
577 2004-02-04 André Pönitz <poenitz@gmx.net>
579 * BufferView.[Ch] (insertInset):
580 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
585 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
587 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
588 on the default clause of the switch
589 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
590 wasn't catched by LCursor::dispatch
592 2004-02-03 André Pönitz <poenitz@gmx.net>
595 * cursor.[Ch]: some additional asserts
597 * undo.[Ch]: remove LyXText dependency in interface
601 * lyxtext.h (firstPar, lastPar): remove dead functions
606 * paragraph.[Ch]: adjust
608 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
610 * lyxfind.C (find): fix argument order in call to ::find
612 2004-02-02 André Pönitz <poenitz@gmx.net>
614 * cursor.[Ch]: remove direct access to anchor
616 * text.C: remove findText() hack
618 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
620 * iterators.[Ch] (lockPath): remove in favour of...
621 * BufferView.[Ch] (setCursor): this addition
622 * BufferView.C (putSelectionAt): adjust
623 * undo.C (performUndoOrRedo): adjust
624 * lyxfunc.C (dispatch): adjust
626 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
628 * iterators.C (lockPath): add a missing slice
629 * undo.C (performUndoOrRedo): remove redundant positioning code
631 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
633 * vc-backend.C (scanMaster): ";" -> ';'
635 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
637 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
640 * lyxtextclass.C (compare_name): rename to...
641 (LayoutNamesEqual): ...this
643 * lyxlex_pimpl.C (compare_tags): inherit from
644 std::binary_function, put back into anon namespace
646 * lyxfind.C (MatchString): inherig from std::binary_function
647 (findChange): use empty() istead of !size()
649 * format.C (FormatNamesEqual): new functor
656 * converter.C (compare_Converter): rename to...
657 (ConverterEqual): ...this, and fixup a bit.
658 (getConverter): use it, and make function const
659 (getNumber): use it, and make function const
663 * bufferlist.C: add using boost::bind
665 * MenuBackend.C (MenuNamesEqual): new functor
666 (hasMenu): use it, and make function const
667 (hasSubmenu): use nested bind to get rid of compare_memfun.
669 2004-01-30 André Pönitz <poenitz@gmx.net>
671 * BufferView_pimpl.C:
682 * text3.C: move some of the edit(x,y) handling to the insets
683 some coordinate changes.
685 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
687 * text.C: add using statements for std::advance and std::distance
689 * paragraph.C: add using statement for std::distance
691 * lyxfind.C: add using statement for std::advance
693 * cursor.C (region): remove std:: from swap
694 (openable): use nucleus in stead of operator->
696 * BufferView.C: add using statements for std::distance and std::swap
698 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
700 * iterators.C: Remove the pimple, move the needed structures to
701 the header file. Create accessor for the positions stack.
702 (asPosIterator): remove function
704 * PosIterator.C (PosIterator): move constructors to top of file
705 (PosIterator): reimplement the constructor taking a ParIterator in
707 (setFrom): new function
708 (operator!=): inline it
710 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
712 * lyxfind.C (replaceAll): use std::advance
714 * iterators.h: inherit from std::iterator.
716 * PosIterator.C (advance, distance): remove
717 * PosIterator.h: interit from std::iterator.
719 2004-01-26 André Pönitz <poenitz@gmx.net>
722 * BufferView_pimpl.[Ch]:
726 * bufferview_funcs.C:
737 * output_plaintext.C:
739 * paragraph_funcs.[Ch]:
740 * paragraph_pimpl.[Ch]:
746 * text3.C: more IU: dumps most of the rest of the mathcursor
747 implementation into cursor.[Ch]; "globalize" a bit of it.
749 2004-01-25 Angus Leeming <leeming@lyx.org>
751 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
753 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
755 * LaTeXFeatures.h: add nice_ and nice() const
756 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
758 2004-01-20 André Pönitz <poenitz@gmx.net>
761 * BufferView_pimpl.C:
763 * bufferview_funcs.C:
776 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
777 LCursor and mathcursor parts to LCursor and InsetBase.
779 2004-01-15 André Pönitz <poenitz@gmx.net>
781 * cursor_slice.[Ch]: add a few covienience functions
783 * funcrequest.[Ch]: remove BufferView * member
785 * BufferView_pimpl.C:
792 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
794 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
796 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
797 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
799 2004-01-13 André Pönitz <poenitz@gmx.net>
802 * lyxtext.h: hide cursor and selection anchor behind accessor function
805 * BufferView_pimpl.[Ch]:
807 * bufferview_funcs.C:
817 * cursor_slice.[Ch]: some integer type changes for inset unification
819 * lyxcursor.[hC]: remove, it's CursorSlice now.
822 * BufferView_pimpl.[Ch]:
823 * bufferview_funcs.C:
829 * textcursor.[Ch]: adjust
831 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
833 * text2.C (undoSpan): add and use
834 * text.C (breakParagraph): use undoSpan (fix bug 578)
837 2004-01-08 Angus Leeming <leeming@lyx.org>
839 * BufferView_pimpl.C (MenuInsertLyXFile):
840 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
841 * lyxfunc.C (menuNew, open, doImport):
842 FileFilterList change to the FileDialog open and save functions.
844 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
846 * ShareContainer.h: make isEqual and isUnique adaptable
848 * CutAndPaste.C: make resetOwnerAndChanges adaptable
850 2004-01-07 Angus Leeming <leeming@lyx.org>
853 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
855 * BufferView_pimpl.C (dispatch): act on these LFUNs.
857 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
858 functions replacing find, replace and replaceAll.
860 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
861 LFUN_WORDFIND(FORWARD|BACKWARD).
863 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
865 * text.C (breakParagraph): remove an outdated #warning
867 2004-01-07 André Pönitz <poenitz@gmx.net>
869 * lyxfind.C: somewhat clearer logic
871 * text.C: prevent crash in cursorX on unitialized row cache
873 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
875 * lyxcursor.[Ch] (operator>): add
876 * textcursor.C (selStart, selEnd): use std::min and std::max
878 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
880 * Chktex.C: include boost/format.hpp
882 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
884 * InsetList.C: replace functor MathcIt with adaptable functor
886 (insetIterator): modify accordingly
888 * BranchList.h: move the BranchNamesEqual functor here from...
889 * BranchList.C: ... to here
891 * BranchList.C: new BranchListEqual fuctor, use it. Remove
893 (add): replace a finding loop with std::find_if.
895 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
897 * output_docbook.C: moving LatexParam functionality into
900 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
902 * buffer.C: increment format to 229.
904 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
907 * lyx_sty.[Ch]: remove minipageindent_def
913 * text3.C: remove LFUN_INSET_MINIPAGE
915 2003-12-28 Angus Leeming <leeming@lyx.org>
917 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
919 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
921 * text2.C (setParagraph): fix off-by-one crash
923 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
925 * output_docbook.C: header stuff for AGU
927 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
929 * text2.C (redoCursor): remove
932 * BufferView_pimpl.C: remove calls to redoCursor and
933 setCursor(cursor.par(), cursor.pos()) all around
935 2003-12-15 Angus Leeming <leeming@lyx.org>
937 * buffer.C: up the format to 228.
939 2003-12-15 André Pönitz <poenitz@gmx.net>
941 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
946 * BufferView_pimpl.C:
955 2003-12-15 Angus Leeming <leeming@lyx.org>
957 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
958 than getFromGUIName to manipulate the color.
960 2003-12-14 Angus Leeming <leeming@lyx.org>
962 * BranchList.[Ch]: minimize the API.
963 (Branch::getBranch, getColor): now return a 'const &'.
964 (Branch::setSelected) now returns a bool set to true if the
965 selection status changes.
966 (BranchList::clear, size, getColor, setColor, setSelected,
967 allBranches, allSelected, separator): removed.
968 (BranchList::find): new functions, returning the Branch with
970 (BranchList::add, remove): return a bool indicating that
971 the operation was successful.
973 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
974 new InsetBranch::isBranchSlected member function.
976 * LColor.[Ch]: mimimize the API.
977 (fill): renamed as addColor and made private.
978 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
979 versions of these functions taking a string arg have been removed.
981 * bufferparams.C (readToken):
982 * lyxfunc.C (dispatch):
983 * lyxrc.C (read): changes due to the altered BranchList and
986 * factory.C (createInset, readInset): changes due to altered
989 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
992 * lyxfunc.C: remove insetminipage. "minipage-insert"
993 now produces a frameless minipage box inset.
995 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
997 * textcursor.[Ch] (selStart,selEnd): add new methods
998 remove selection::start, end, use LyXCursor::operator<
999 * lyxcursor.[Ch] (operator<): add
1000 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1001 * BufferView.[Ch] (unsetXSel): add
1002 * text2.C (clearSelection): use unsetXSel,adjust
1005 * rowpainter.C: adjust
1006 * bufferview_funcs.C (put_selection_at): adjust
1008 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1010 * BufferView_pimpl.C: small coord. correction
1012 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1014 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1015 dragging over the splash screen.
1017 2003-12-11 Angus Leeming <leeming@lyx.org>
1019 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1020 as it is now handled in LyXText::dispatch.
1022 * text3.C (doInsertInset): remove a level of nesting.
1024 2003-12-11 Angus Leeming <leeming@lyx.org>
1026 * factory.C (createInset): changes due to the changed interface to
1027 InsetCommandMailer::string2params.
1029 2003-12-10 Angus Leeming <leeming@lyx.org>
1031 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1032 'dialog-show-new-inset <inset name>'
1034 2003-12-10 Angus Leeming <leeming@lyx.org>
1036 * buffer.C: up the format to 227.
1038 * factory.C: the box inset is now identified simply by 'Box'.
1040 2003-12-10 Angus Leeming <leeming@lyx.org>
1042 * buffer.C: up the format to 226.
1044 * factory.C: the note inset is now identified simply by 'Note'.
1046 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
1048 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1049 when a pit is enough. Standarize a couple of loops.
1051 2003-12-05 Angus Leeming <leeming@lyx.org>
1053 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1054 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1055 data to the re-worked "log" dialog.
1057 2003-12-03 André Pönitz <poenitz@gmx.net>
1063 * paragraph_funcs.C:
1065 * text2.C: use Inset::getText instead of Inset::getParagraph
1067 2003-12-03 André Pönitz <poenitz@gmx.net>
1071 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1072 InsetText::read() as LyXText::read()
1074 2003-12-02 Angus Leeming <leeming@lyx.org>
1076 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1077 type. Add a comment in the implementation that the function uses
1078 the stream's bad() function rather than fail() as the std::streams
1081 2003-12-02 André Pönitz <poenitz@gmx.net>
1083 * lyxlex.[Ch]: make interface more similar to std::stream
1085 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1087 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1089 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1091 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1093 * vspace.[Ch]: remove VSpace::NONE
1095 2003-12-01 André Pönitz <poenitz@gmx.net>
1098 * lyxtext.h: move ParagraphList member to LyXText
1099 rename LyXText::ownerParagraphs to LyXText::paragraph
1102 * bufferview_funcs.C:
1112 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1114 * undo.C: fix cursor positioning
1116 2003-12-01 John Levon <levon@movementarian.org>
1118 * BufferView_pimpl.C: fix a crash on exit with
1121 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
1123 * BranchList.C: fix setSelected() method.
1125 2003-11-28 André Pönitz <poenitz@gmx.net>
1127 * ParagraphParameters.[Ch]:
1128 * ParameterStruct.h: remove space above/below from Paragraph to
1131 * BufferView_pimpl.C:
1137 * paragraph_funcs.C:
1143 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1145 * factory.C: Syntax change for CharStyles
1147 2003-11-28 André Pönitz <poenitz@gmx.net>
1152 * buffer.[Ch]: move LyXText member
1154 2003-11-28 André Pönitz <poenitz@gmx.net>
1156 * BufferView.[Ch]: make LyXText * text a private member
1158 * BufferView_pimpl.C:
1169 * output_plaintext.C: cleanup
1171 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1174 * lyxtextclass.[Ch]: parametrize SGML document header
1176 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1179 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1182 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1184 * text2.C (setFont): rework using PosIterator (no more recursive)
1185 (setCharFont): no more needed
1186 (setLayout): no more selection cursors fiddling (done by redoCursor)
1187 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1188 destroy remaining ones)
1190 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
1192 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1194 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1197 * text3.C: adjust + re-allow multi par depth changes
1198 * textcursor.C: simplify a bit
1200 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
1206 * src/output_docbook.C:
1207 * src/output_latex.C:
1212 * src/text2.C: Introducing a number of tags parametrizing various
1213 XML formats that we may want to support
1215 2003-11-25 André Pönitz <poenitz@gmx.net>
1217 * InsetList.[Ch] (begein, end): inline as suggested by profiler
1219 * lyxtext.h (leftMargin/rightMargin): simplify interface
1226 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1228 * lyxfunc.C (dispatch): propogate the bibtex databases from the
1229 master file to any child files. Fixes bug 546.
1231 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1233 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1235 2003-11-24 André Pönitz <poenitz@gmx.net>
1237 * rowpainter.C: simplification
1239 * text2.C (updateCounters): remove call to redoParagraph on
1240 changed labels as this is far too expensive.
1242 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1244 * converter.C (convert): fix a crash: this function gets
1245 called with buffer == 0 from importer code.
1247 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1249 * text3.C (cursorPrevious): make sure that we do not compare
1250 iterators form different containers.
1253 * rowpainter.C (paintSelection): make sure that we do not compare
1254 iterators from different containers.
1256 * text3.C (dispatch): [PRIOR] make sure that we do not compare
1257 iterators from different ParagraphList containers.
1260 * text2.C (LyXText): change order of initialization slightly
1261 (operator=): new function. copy all variables except cache_par_
1262 (moveUp): make sure that we do not compare iterators from
1263 different ParagraphList constainers.
1266 * text.C (firstPar): new function
1267 (lastPar): new function
1268 (endPar): new function
1270 * lyxtext.h: move things around and group public functions, public
1271 variables, private functions, private variables
1273 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1275 * factory.C: change call to InsetERT constructor to avoid
1276 additional invocation of method status
1277 * text2.C (toggleInset): remove redundant update() call
1278 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1279 instead of a Bufferview pointer
1281 2003-11-21 André Pönitz <poenitz@gmx.net>
1283 * rowpainter.C: simplification
1285 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1287 * text3.C (dispatch): make possible to extend a word/row selection
1290 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1292 * lyxtext.h: x0_,y0_ -> xo_,yo_
1293 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1294 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1295 * rowpainter.C (paintRows): paint full paragraphs
1297 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1299 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1302 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1304 * lyxtext.h: add x0_, y0_
1305 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1306 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1308 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
1310 * text2.C (setCursorIntern): move the x_target update here *
1311 * text3.C: change some bv() to true/false in calls to
1312 cursorUp/Down/Right/Left
1313 * cursor.C: use helper function.
1315 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1317 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1318 * paragraph_funcs.[Ch]: correct comment
1319 * rowpainter.C: do not paint selections away from bv->cursor()
1320 Fix a long standing selection painting bug.
1321 * text3.C: generalize mouse-selection code to LyXTexts other that
1323 * textcursor.C: do not use y coords if we can use par offsets
1325 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1327 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1328 cursor position after e.g. inset insert)
1330 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
1332 * lyxfind.C (replace): adjust to locking removal + some
1335 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
1337 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1340 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
1343 * output_docbook.C: XML sanitation: new layout
1344 parameters InnerTag and CommandDepth
1346 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
1348 * BufferView_pimpl.C:
1350 * text3.C: Fix the insertion and modification of button-style
1353 2003-11-13 André Pönitz <poenitz@gmx.net>
1355 * InsetList.[Ch]: remove deleteLyXText
1357 * paragraph.[Ch]: cache beginOfBody position
1362 * text3.C: remove superfluous update() calls
1366 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1368 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1369 * BufferView.C (fitLockedInsetCursor): remove
1370 * cursor.[Ch] (getDim): add
1371 * text.C (getRowNearY): add faster version
1372 * text3.C: remove some update calls
1374 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1386 * text3.C: The Character Style /XML short element patch.
1388 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
1391 * factory.C: Small step to solving 'unable to insert some insets'
1394 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1396 * cursor.[Ch] (updatePos): new function for updating the y
1397 position of the tip inset
1398 * bufferview_funcs.C (put_selection_at):
1399 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1401 2003-11-11 André Pönitz <poenitz@gmx.net>
1403 * text.C: remove big comment on invalid Paragraph pointers as it is
1406 2003-11-11 André Pönitz <poenitz@gmx.net>
1408 * text_funcs.[Ch]: merge with ...
1416 * Makefile.am: remove text_funcs.[Ch]
1418 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1420 * cursor.C (getPos): return absolute cached y coord
1422 * BufferView_pimpl.C (fitCursor): new simplistic code
1423 (workAreaDispatch): add a fitCursor call
1425 2003-11-10 André Pönitz <poenitz@gmx.net>
1428 * BufferView_pimpl.[Ch]: merge update() and updateInset()
1430 2003-11-10 André Pönitz <poenitz@gmx.net>
1432 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1433 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1434 indicate that the cursor needs to leave an inset
1436 * lyxtext.h: remove inset locking
1438 * cursor.[Ch]: re-implement functionality provided by inset locking
1441 * BufferView_pimpl.[Ch]:
1443 * bufferview_funcs.[Ch]:
1455 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1457 * PosIterator.[Ch]: replace the stack with a vector, add inset
1459 * iterators.[C]: adjust
1461 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1463 * lyxfind.C (replaceAll): mark the buffer dirty if something was
1465 * paragraph_funcs.C (readParToken): put the correct id in the
1466 error item, not the id of the top paragraph
1468 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1470 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1471 * bufferview_funcs.C (put_selection_at): use the above
1473 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1475 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1477 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1479 * output_linuxdoc.h:
1480 * output_plaintext.h:
1482 * output_docbook.h: add #include statements
1484 2003-11-05 José Matos <jamatos@lyx.org>
1486 * output_docbook.[Ch]:
1487 * output_latex.[Ch]:
1488 * output_linuxdoc.[Ch]:
1489 * output_plaintext.[Ch]: New files for output formats.
1490 * output.[Ch]: New file for helper functions.
1493 * paragraph_funcs.[Ch]: output functions moved to new files.
1495 * outputparams.h: rename of latexrunparams.h
1503 * paragraph_funcs.[Ch]:
1504 * paragraph_pimpl.[Ch]:
1505 * tabular.[Ch]: rename ascii to plaintext
1506 and LatexRunParams to OutputParams.
1508 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1510 * iterators.[Ch] (text): require bv argument
1511 * undo.C (recordUndo):
1512 * lyxfunc.C (dispatch):
1513 * bufferview_funcs.C (put_selection_at): adjust
1515 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
1517 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1519 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1521 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1524 2003-11-04 André Pönitz <poenitz@gmx.net>
1526 * cursor.[Ch]: restructure
1529 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1531 * iterators.[Ch] (asCursor): remove
1533 * lfuns.h: remove LFUN_INSET_EDIT
1539 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1541 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1543 * lyxfind.[Ch]: complete overhaul
1544 * BufferView_pimpl.C:
1546 * paragraph.[Ch] (insert): add
1548 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1552 * text.C: remove dead spellcheck code
1554 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1556 * dispatchresult.h: add a val setter
1558 * cursor.C (dispatch): use a tempvar for data_[i]
1560 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1562 * PosIterator.[Ch]: compile fix
1564 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1566 * text.C (cursorPar): deactivate the cursor cache
1568 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1570 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1572 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1574 * text3.C (dispatch): adjust for new DisptchResult semantics.
1576 * lyxfunc.C (dispatch): handle update when return from
1577 Cursor::dispatch, adjust for new DispatchResult semantics.
1579 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1580 DispatchResult(true) mean to not update. Add class functions for
1581 setting dispatched and update, as well as reading.
1583 * cursor.C (dispatch): don't handle update here
1585 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1587 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1588 * trans_mgr.C: adjust
1590 * paragraph_funcs.C (readParToken): exception safety
1592 * lyxvc.h: store the vcs pointer in a scoped_ptr
1595 * lyxsocket.C (serverCallback): exception safety
1597 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1599 * ispell.C (clone): make it return a auto_ptr
1601 * factory.C (createInset): exception safety
1602 (readInset): exception safety
1604 * bufferlist.C (newBuffer): exception safety
1606 * Thesaurus.C (Thesaurus): use initialization for aik_
1608 * MenuBackend.C (expandToc): exception safety.
1610 2003-11-03 André Pönitz <poenitz@gmx.net>
1614 * bufferview_funcs.C: remove getInsetFromId()
1617 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1623 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1625 * PosIterator.C (distance, advance): new
1626 * bufferview_funcs.[Ch] (put_selection_at): new
1627 * iterators.[Ch] (lockPath): new
1629 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
1631 * iterators.[Ch] (asPosIterator): added
1632 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1633 * PosIterator.[Ch]: added
1635 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1639 * cursor.C (dispatch):
1640 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1642 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1643 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1644 contructor, add a class function dispatched. Remove operator>=
1646 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1648 * debug.C: only use the default constructor for debugstream
1651 * main.C (main): include debug.h and setup the lyxerr streambuf
1654 2003-10-31 José Matos <jamatos@lyx.org>
1656 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1658 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1659 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1660 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1661 * paragraph_pimpl.C (simpleTeXSpecialC):
1662 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1663 add LatexRunParams argument.
1665 * exporter.C (Export): change call accordingly.
1667 * latexrunparams.h: add new member to take care of the other backends.
1668 2003-10-30 José Matos <jamatos@lyx.org>
1670 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1671 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1672 factorise code for paragraph output.
1674 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1677 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1679 * text3.C (dispatch):
1680 * lyxfunc.C (dispatch):
1681 * cursor.C (dispatch):
1682 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1684 * dispatchresult.h: make the dispatch_result_t ctor explicit
1686 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1689 * buffer.C: small refactoring of docbook stuff
1691 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1693 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1696 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1698 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1699 operator dispatch_result_t, and operators for == != and >=
1701 * cursor.C (dispatch): adjust for operator dispatch_result_t
1702 removal. comment out call to update
1704 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1706 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1714 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1717 * dispatchresult.h: new file, DispatchResult broken out of
1720 * Makefile.am (lyx_SOURCES): add dispatchresult.h
1722 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1724 * text.C (rowBreakPoint): put a hack inside #if 0
1726 2003-10-28 André Pönitz <poenitz@gmx.net>
1730 * paragraph_funcs.C:
1733 * text2.C: general cleanup (lots of small stuff)
1735 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1737 * text2.C (cursorEnd): simple fix to the "end key goes to one
1738 before the end on last row" bug
1740 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1742 * text.C (backspace): fix the "zombie characters"
1744 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1746 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1748 2003-10-27 André Pönitz <poenitz@gmx.net>
1750 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1752 * factory.C: handle new InsetPagebreak, InsetLine
1754 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1755 and move handling into new InsetPagebreak, InsetLine
1757 * BufferView_pimpl.C:
1759 * ParagraphParameters.C:
1760 * ParameterStruct.h:
1765 * paragraph_funcs.C:
1766 * paragraph_pimpl.C:
1772 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1775 * lyxrow_funcs.[Ch]:
1781 * text3.C: remove lastPos uses in favour of Row::endpos
1783 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1785 * undo.C (performUndoOrRedo): fix two crashes by setting a
1786 cursor by hand and reordering some calls. Use bv->lockInset instead
1787 of inset->edit because the latter loses cursor information
1789 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
1791 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1793 (rowBreakPoint): fix width. change point to point + 1.
1794 Add a missing check.
1796 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
1799 * lyxfunc.C: fix (at least partly) the problems
1800 with the Nav menu and headers inside branch insets
1803 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
1805 * paragraph.C (getChar): add strong asserts
1807 * lyxrow_funcs.C (lastPos): remove hideous hack
1809 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1810 (fill): adjust to that (avoid an infinite loop)
1812 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1814 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1816 2003-10-23 André Pönitz <poenitz@gmx.net>
1818 * RowList_fwd.h: change list<> to vector<> to gain speed
1819 after suggestion from Alfredo
1821 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1823 * lyxtext.h: move the bidi stuff from here...
1826 * Bidi.[Ch]: ... to here
1828 2003-10-23 André Pönitz <poenitz@gmx.net>
1831 * text.C (isLastRow, isFirstRow): new functions
1833 * paragraph.h: new width cache member
1835 * rowpainter.C: replace RowList::iterator with Row & where possible
1837 * lyxfunc.C: replace several view()->text with a single call
1839 * toc.C: fix 'unused' warning
1841 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1843 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1844 when woring with stream::pos_type
1845 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1847 2003-10-22 André Pönitz <poenitz@gmx.net>
1850 * text.C: use Row & instead of RowList::iterator
1852 * lyxrow.h: rename end() to endpos()
1858 2003-10-22 Angus Leeming <leeming@lyx.org>
1860 * buffer.[Ch] (fully_loaded): new member function, returning true
1861 only when the file has been loaded fully.
1862 Used to prevent the premature generation of previews and by the
1863 citation inset to prevent computation of the natbib-style label.
1865 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1866 templates are all set up.
1868 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1870 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
1872 * text.C: fixed an "oops" in the "is a bit silly"
1875 2003-10-21 André Pönitz <poenitz@gmx.net>
1877 * FuncStatus.[Ch]: small stuff, whitespace
1879 * lyxfont.[Ch]: operator<<() for debug reasons
1883 * lyxtext.h: whitespace, spelling
1885 * paragraph.C: naming of variables
1888 * text2.C: small stuff
1891 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1893 * text.C: (1) finish off the inset display() work;
1894 (2) fix the "is a bit silly" bug (accessing char
1897 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1899 * text.C: re-introduce display() for insets, fixing the
1900 various bugs (stretch of line above, math inset
1903 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1905 * text.C (rightMargin): remove spurious semicolon
1907 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1910 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
1912 * text3.C: fix one crash due to wrong cursor def
1914 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1916 * vc-backend.C (scanMaster): make the regex static
1918 * LaTeX.C (scanAuxFile): make the regexs static
1920 * text3.C (doInsertInset, dispatch, dispatch):
1921 * text2.C (cursorUp, cursorDown):
1922 * text.C (selectNextWordToSpellcheck):
1923 * BufferView_pimpl.C (dispatch):
1924 * lyxfunc.C (dispatch): localDispatch -> dispatch
1926 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1928 * lyxsocket.C: include <cerrno>
1930 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1932 * lyxfunc.C (dispatch): remove textcache stuff
1934 * bufferlist.C (release): remove textcache stuff
1937 * TextCache.C: delete file
1938 * TextCache.h: delete file
1940 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1942 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1943 delete of the bv_->text.
1944 (resizeCurrentBuffer): remove texcache stuff
1945 (workAreaResize): ditto
1947 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1949 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1952 2003-10-16 André Pönitz <poenitz@gmx.net>
1959 * text3.C: speed up by storing y positions per paragraph plus per-row
1960 offset instead of having a 'full' y position in the row.
1962 2003-10-15 André Pönitz <poenitz@gmx.net>
1966 * undo.[Ch]: make undo aware of inner insets
1968 2003-10-14 Angus Leeming <leeming@lyx.org>
1970 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1971 static member functions LyX::ref() and LyX::cref.
1972 (lastfiles): new accessor functions for the new lastfiles_ member var.
1973 (addLyXView, views_): add a new LyXView to the list of views_.
1974 (updateInset): loop over all LyXViews to call their own updateInset
1975 member function, returning a pointer to the Buffer owning the inset.
1977 * BufferView_pimpl.C (loadLyXFile):
1978 * MenuBackend.C (expandLastfiles):
1979 * bufferlist.C (MenuWrite, QuitLyX):
1980 lastfiles is no longer a global variable.
1981 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1983 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1984 static function. Access through LyX::cref().emergencyCleanup().
1986 2003-10-14 André Pönitz <poenitz@gmx.net>
1988 * iterators.[Ch]: new direct access to innermost LyXText and Inset
1990 * undo.[Ch]: restoring part of 'undo in insets'
1993 * undo_funcs.[Ch]: merge with undo.[Ch]
1995 * tabular.C: small cleansing stuff
1997 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
1999 * paragraph_funcs.C (readParToken): report unknown insets as error
2000 boxes. Use the outer paragraph as location (also for unknown
2003 * factory.C (readInset): do not abort on reading an unknown inset.
2004 Eat it and return 0.
2006 2003-10-13 Angus Leeming <leeming@lyx.org>
2008 * lyx_main.C (LyX): remove call to setDisplayTranslator().
2010 * lyxrc.C: displayTranslator is now a function,
2011 declared in GraphicsTypes.h.
2013 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2015 * format.C: new placeholder $$a to pass the socket address.
2017 * bufferlist.[Ch]: new function getBufferFromTmp.
2019 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2020 files in the temporary dir.
2022 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2024 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2026 * Makefile.am: add lyxsocket.[Ch].
2028 * lyx_main.C (error_handler): handle SIGPIPE.
2030 2003-10-13 André Pönitz <poenitz@gmx.net>
2032 * BufferView_pimpl.C:
2037 * undo_funcs.[Ch]: use paroffset_type instead of
2038 ParagraphList::iterators to prevent multiple conversion
2039 (and get a more robust interface)
2041 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2043 * lyxfunc.C (dispatch): RESULT -> dispatch_result
2045 * text3.C (dispatch): ditto
2047 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2049 * LaTeX.C (handleFoundFile): move the static to smaller scope,
2050 move the onlyfile, use onlyfile instead of foundfile in a couple
2053 * DepTable.C (update): flush the error stream a bit more
2055 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2057 * lyxserver.C (callback): adjust
2059 * lyxfunc.C (getStatus): add a missing brace in commented code
2060 (ensureBufferClean): reindent
2061 (dispatch): delete version taking a string
2063 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2065 * LaTeX.C (deplog): move found file handlig from here...
2066 (handleFoundFile): .. to new function here.
2067 (deplog): make sure to discover several files mentioned on the
2070 2003-10-10 André Pönitz <poenitz@gmx.net>
2077 * text3.C: fix some of the tabular crashes
2079 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2081 * MenuBackend.C (binding): put debug message into Debug::KBMAP
2083 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2085 2003-10-09 André Pönitz <poenitz@gmx.net>
2087 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2090 * BufferView_pimpl.C:
2091 * bufferview_funcs.C:
2102 * undo_funcs.C: adjust
2104 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2106 * text2.C (incrementItemDepth): new function, use a backtracking
2107 algorithm to discover the correct item depth.
2108 (resetEnumCounterIfNeeded): new function, use a backtracking
2109 algorithm to discover if counter reset is needed.
2110 (setCounter): use them. Simplify a bit. Add different labels for
2111 different item depths for itemize.
2113 * paragraph.C (Paragraph): remove initialization of enumdepth
2116 * paragraph.h: get rid of enumdepth, and use itemdepth both for
2117 enumerate and itemize. Change the type of itemdepth to signed char.
2119 2003-10-08 André Pönitz <poenitz@gmx.net>
2121 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2126 * tabular.[Ch]: fix crash after 'row-insert'
2128 2003-10-08 Angus Leeming <leeming@lyx.org>
2130 Fix doxygen warnings.
2132 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2133 Remove CutAndPaste:: prefix from header file declaration.
2135 * LColor.h (fill): remove LColor:: prefix from declaration.
2137 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2138 use lyx::depth_type rather than Paragraph::depth_type so that
2139 header file and .C file match.
2141 * converter.h (intToFormat): remove Converters:: prefix from declaration.
2143 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2144 * aspell.C: \file aspell_local.C -> \file aspell.C
2145 * gettext.C: \file gettext.C -> \file src/gettext.C
2146 * gettext.h: \file gettext.h -> \file src/gettext.h
2147 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2148 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2149 * text.C: \file text.C -> \file src/text.C
2151 * toc.C: move comment so that doxygen is not confused.
2153 2003-10-07 Angus Leeming <leeming@lyx.org>
2155 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2157 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2160 * aspell_local.h: add forgotten std::string's.
2162 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2169 * text3.C: The Box patch. Fancybox support, minipage, parbox
2171 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2177 * ParagraphParameters.h:
2187 * lyxtextclasslist.h:
2190 * paragraph_pimpl.C:
2191 * textcursor.h: add <string> and other small fixes to make Lars'
2192 std::string patch compile with STLport.
2194 2003-10-06 Angus Leeming <leeming@lyx.org>
2196 * LColor.h: Add missing #include <string>.
2198 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2200 * All most all file in all subdirs: Make <string> be the prefered
2201 way of getting to std::string, add using declarations.
2203 2003-10-06 André Pönitz <poenitz@gmx.net>
2205 * metricsinfo.C: initialize LyXFont before changing attribute.
2206 (fixes the 'math in \emph is upright' bug)
2208 2003-10-06 André Pönitz <poenitz@gmx.net>
2210 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2212 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
2215 * paragraph_pimpl.C: Small fixes to build using STLport
2217 2003-10-02 André Pönitz <poenitz@gmx.net>
2220 * text3.C: move handling of LFUN_DEPTH *; fix #1360
2222 2003-10-01 André Pönitz <poenitz@gmx.net>
2224 * factory.C: assert early
2226 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2228 * lyx_main.C: remove the global debug object
2230 * debug.h: adjust for new debugstream
2232 * debug.C: adjust for new debugstream and keep the global debug
2235 2003-09-22 Angus Leeming <leeming@lyx.org>
2237 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2238 of g++ which otherwise complain that the scoped_ptr destructor can't delete
2239 an incomplete class LyXFont.
2241 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2243 * factory.C: bug fix in branches
2245 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2247 * lyxfunc.C (processKeySym): adjust
2249 (dispatch): change arg name from ev to func, adjust
2250 (sendDispatchMessage): ditto
2252 * lyx_main.C (defaultKeyBindings): adjust keybindings
2253 (deadKeyBindings): ditto
2255 * kbsequence.C (addkey): return a FuncRequest
2257 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2259 * kbmap.C (bind): take a FuncRequest as arg, adjust
2262 (defkey): change to take a FuncRequest as arg, adjust
2263 (findbinding): take a FuncRequest as arg, adjust.
2265 * funcrequest.h (operator=): added
2267 * funcrequest.C (FuncRequest): default kb_action changed from
2268 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2270 * buffer.C (dispatch): simplify
2271 (dispatch): adjust to take a FuncRequest as arg, adjust
2273 * boost.C (assertion_failed): change assertion message slightly
2275 * ToolbarBackend.C (read): simplify
2277 * MenuBackend.C (binding): adjust call to findbinding, add a
2278 message if no binding is found.
2280 (expandToc): correct by adding a empty FuncRequest
2282 * LyXAction.C: include <boost/assert.hpp>
2283 (isPseudoAction): delete function
2284 (LookupFunc): change name to...
2285 (lookupFunc): this. change return type to FuncRequest.
2286 (getActionName): take kb_action as arg, simplify
2287 (funcHasFlag): add an assert, simplify.
2289 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2291 * toc.C (action): return a FuncRequest, simplify
2293 * lyxfunc.C (processKeySym): adjust
2294 (getStatus): delete version that takes an int.
2296 (dispatch): delete version that takes action as int
2298 (sendDispatchMessage): simplify and adjust
2300 * funcrequest.C (getArg): take unsigned int as arg
2302 * ToolbarBackend.C (read): adjust
2303 (add): delete version that takes func as a string.
2304 (getIton): take a FuncRequest as arg
2306 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2309 * MenuBackend.C (MenuItem): add a new construct that only takes a
2310 Kind, simplify the constructor use for submenus.
2312 (expandLastfiles): adjust
2313 (expandDocuments): adjust
2314 (expandFormats): adjust
2315 (expandFloatListInsert): adjust
2316 (expandFloatInsert): adjust
2317 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2319 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2320 Remove class variables lyx_pseudo_map and lyx_arg_map
2322 * LyXAction.C (searchActionArg): delete function
2323 (getPseudoAction): delete function
2324 (retrieveActionArg): delete function
2325 (LookupFunc): make it return kb_action, simplify.
2326 (getActionName): simplify
2328 * factory.C (createInset): fix new bug
2330 2003-09-19 Angus Leeming <leeming@lyx.org>
2332 * CutAndPaste.C (pasteSelection): remove fudge used to set the
2333 masterFilename_ parameter in the include inset.
2335 * factory.C (createInset): changes due to the changes to InsetInclude.
2337 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2339 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2341 2003-09-18 Angus Leeming <leeming@lyx.org>
2344 * BufferView.C: pass the buffer when calling Inset::getLabelList,
2345 Inset::fillWithBibKeys.
2346 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2348 2003-09-18 Angus Leeming <leeming@lyx.org>
2350 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2352 (ctor): pass and store a 'Buffer const &'
2353 (buffer): new member function.
2355 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2356 '*this' to the LaTeXFeatures ctor.
2358 2003-09-18 Angus Leeming <leeming@lyx.org>
2364 * text.C: rename EnumLColor as LColor_color.
2366 2003-09-18 Angus Leeming <leeming@lyx.org>
2368 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2369 remove #include "insets/insetbase.h" from cursor.h.
2371 2003-09-18 Angus Leeming <leeming@lyx.org>
2373 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2374 InsetOld_code to remove #include "inset.h".
2376 * iterators.C: add #include "insets/inset.h"
2378 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
2380 * BufferView.C: remove more locking stuff that apparently doesn't
2381 do anything sensible.
2383 2003-09-16 André Pönitz <poenitz@gmx.net>
2386 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2389 2003-09-16 Angus Leeming <leeming@lyx.org>
2391 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2393 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2396 * paragraph.h: remove #include "lyxfont.h". Forward declare
2399 2003-09-16 Angus Leeming <leeming@lyx.org>
2401 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2402 of support/textutils.h.
2403 (isWord): move the contents of support/textutils.h's IsWordChar here.
2409 * text2.C: add #include "paragraph.h".
2412 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2414 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2420 * LaTeX.C: use namespace alias for lyx::support::os
2422 2003-09-16 Angus Leeming <leeming@lyx.org>
2425 * bufferview_funcs.C:
2428 * paragraph_pimpl.C:
2430 * text.C: add #include "LColor.h".
2432 2003-09-16 Angus Leeming <leeming@lyx.org>
2434 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2435 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2437 Store the FontBits::color variable as an int rather than as an
2438 LColor::colorso that we can move LColor.h out of the lyxfont.h header
2441 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2442 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2443 string calls together.
2445 * lyxrc.C: add #include "LColor.h".
2447 2003-09-15 Angus Leeming <leeming@lyx.org>
2449 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2452 2003-09-15 Angus Leeming <leeming@lyx.org>
2454 * LColor.h: add an EnumLColor wrapper for LColor::color.
2456 * lyxfont.[Ch] (color, setColor, realColor):
2457 * lyxtext.h, text.C (backgroundColor):
2458 pass EnumLColor args to/from the functions, rather than LColor::color
2462 * lyxtext.h: forward declare EnumLColor.
2464 * lyx_main.C: add #include "LColor.h".
2466 2003-09-15 Angus Leeming <leeming@lyx.org>
2468 * .cvsignore: add lyx-gtk.
2470 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2475 * ParagraphParameters.C
2479 * bufferview_funcs.C
2489 * vc-backend.C: remove usage of STRCONV
2491 2003-09-15 Angus Leeming <leeming@lyx.org>
2493 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2494 explicitly define the color passed to the painter.
2496 2003-09-15 Angus Leeming <leeming@lyx.org>
2498 * bufferparams.C (BufferParams): reorder member initializers to avoid
2501 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
2503 * CutAndPaste.C (pasteSelection): remove an outdated #warning
2504 * text.C (updateRowPositions): remove an unusual nop
2506 2003-09-12 André Pönitz <poenitz@gmx.net>
2508 * BufferView_pimpl.C:
2517 * Counters.[Ch]: finish the 'automatic counters' job
2519 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2521 * aspell.C: include <boost/assert.cpp> (compile fix)
2523 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
2525 * boost.C (assertion_failed): use lyx::support::abort instead of
2528 2003-09-10 Angus Leeming <leeming@lyx.org>
2530 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2531 with their _fwd progeny.
2533 2003-09-09 Angus Leeming <leeming@lyx.org>
2535 134 files throughtout the source tree: replace 'using namespace abc;'
2536 directives with the appropriate 'using abc::xyz;' declarations.
2538 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2540 * boost.C (emergencyCleanup): moved here from LAssert.c
2541 (assertion_failed): new function, called by BOOST_ASSERT
2543 * several files: change Assert to BOOST_ASSERT
2545 2003-09-09 Angus Leeming <leeming@lyx.org>
2547 * buffer.[Ch]: Add an Impl class and move Buffer's member
2548 variables into it. As a result move several header files out of
2551 Add header files to lots of .C files all over the tree as a result.
2553 2003-09-09 Angus Leeming <leeming@lyx.org>
2555 * buffer.[Ch]: make Buffer's member variables private. Add
2558 Lots of changes all over the tree as a result.
2560 2003-09-08 Angus Leeming <leeming@lyx.org>
2562 * graph.C: #include <config.h>.
2564 2003-09-08 Angus Leeming <leeming@lyx.org>
2568 * BufferView_pimpl.C:
2597 * toc.C: remove redundant using directives.
2599 2003-09-07 Angus Leeming <leeming@lyx.org>
2601 * LaTeXFeatures.h: remove #include "support/types.h".
2602 * ToolbarBackend.h: remove #include <algorithm>.
2603 * changes.h: remove #include <ctime>.
2604 * debug.h: remove #include <iosfwd>.
2605 * graph.h: remove #include "support/std_string.h".
2606 * lyx_main.h: remove #include <csignal>.
2607 * lyxlex_pimpl.h: remove #include <fstream>.
2608 * sgml.h: remove #include <algorithm>, <utility>.
2609 * toc.h: remove #include "support/std_ostream.h".
2610 Add #include <iosfwd>.
2612 2003-09-07 Angus Leeming <leeming@lyx.org>
2614 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2616 * converter.h: forward declare LatexRunParams.
2617 * encoding.h: remove #include "lyxrc.h".
2618 * lyxtext.h: remove #include "LColor.h".
2619 * lyxtextclass.h: remove #include "support/types.h".
2620 * trans.h: remove #include "tex-accent.h".
2621 * trans_mgr.h: remove #include "tex-accent.h".
2622 * insets/inset.h: remove #include "support/types.h", <vector>.
2623 * insets/insetcollapsable.h: remove #include "LColor.h".
2624 * insets/insetinclude.h: remove #include "dimension.h".
2625 * insets/insetlatexaccent.h: remove #include "dimension.h".
2626 * insets/insetoptarg.h:: remove #include "insettext.h".
2627 * insets/insettext.h: remove #include "dimension.h",
2628 <boost/shared_ptr.hpp>
2630 * insets/renderers.h: add #include "dimension.h".
2631 * insets/updatableinset.h: add #include "support/types.h".
2633 * many .C files: Associated changes.
2635 2003-09-06 Angus Leeming <leeming@lyx.org>
2637 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2638 one, inside testInvariant.
2640 * PrinterParams.C: new file.
2641 * PrinterParams.[Ch]: move the function bodies out of line.
2643 2003-09-06 Angus Leeming <leeming@lyx.org>
2645 * ParagraphParameters.h: forward declare ParameterStruct rather than
2646 including its header file.
2647 (depth): moved out-of-line.
2649 2003-09-06 Angus Leeming <leeming@lyx.org>
2651 * BufferView_pimpl.h:
2654 * lyxfunc.h: forward declare LyXKeySym rather than
2655 #include "frontends/LyXKeySym.h".
2657 * BufferView_pimpl.C:
2660 * lyxfunc.C: associated changes.
2662 2003-09-06 Angus Leeming <leeming@lyx.org>
2664 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2665 As a result, can remove the #include "insets/inset.h" from BufferView.h
2667 2003-09-06 Angus Leeming <leeming@lyx.org>
2669 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2670 As a result, can remove the #include "insets/inset.h" from BufferView.h
2672 2003-09-06 Angus Leeming <leeming@lyx.org>
2678 * bufferview_funcs.C:
2679 * BufferView_pimpl.C:
2684 * ParagraphParameters.C:
2689 * frontends/controllers/ControlDocument.C:
2690 * insets/insetcaption.C: rearrange the #includes into some sort of
2693 * buffer.h: remove #includes ErrorList.h, undo.h
2695 2003-09-06 Angus Leeming <leeming@lyx.org>
2697 * support/types.h: add a 'depth_type' typedef, used to store the
2698 nesting depth of a paragraph.
2701 * ParameterStruct.h: use this lyx::depth_type typedef rather than
2702 defining explicitly.
2705 * paragraph_funcs.h:
2706 * ParagraphParameters.h:
2707 * sgml.h: use lyx::depth_type rather than Paragraph or
2708 ParameterStruct's depth_type.
2711 * paragraph_funcs.h: no need to #include paragraph.h anymore.
2714 * BufferView_pimpl.C:
2716 * ParagraphParameters.C:
2719 * bufferview_funcs.C:
2726 * frontends/LyXView.C:
2727 * frontends/controllers/ControlDocument.C:
2728 * frontends/controllers/ControlErrorList.C:
2729 * insets/insetbibitem.C:
2730 * insets/insetbranch.C:
2731 * insets/insetcaption.C:
2732 * insets/insetcollapsable.C:
2733 * insets/insetenv.C:
2734 * insets/insetert.C:
2735 * insets/insetfloat.C:
2736 * insets/insetfoot.C:
2737 * insets/insetfootlike.C:
2738 * insets/insetnewline.C:
2739 * insets/insetquotes.C:
2740 * insets/insettabular.C:
2741 * insets/insettext.C:
2742 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2744 * frontends/controllers/ControlChanges.C: #include "changes.h".
2746 2003-09-06 Angus Leeming <leeming@lyx.org>
2748 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2749 than #including paragraph.h.
2752 * RowList.h: deleted. Superfluous.
2762 * insets/insettext.h: use ParagraphList_fwd.h rather than
2765 * paragraph.h: don't forward declare ParagraphList.
2768 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2769 rather than ParagraphList.h. paragraph.h is still needed for the
2770 Paragraph::depth_type parameters.
2772 * textcursor.h: enable it to compile stand-alone in light of the
2775 * bufferview_funcs.C:
2787 * frontends/controllers/ControlParagraph.C:
2788 * frontends/controllers/ControlTabular.C:
2789 * insets/insetmarginal.C:
2790 * insets/insetminipage.C:
2791 * insets/insetnote.C:
2792 * insets/insetoptarg.C: add header files needed to compile again.
2794 2003-09-06 Angus Leeming <leeming@lyx.org>
2796 * RowList_fwd.h: new file, forward-declaring Row rather than
2797 #including lyxrow.h.
2802 * insets/insettext.h: use it instead of RowList.h
2804 * bufferview_funcs.C:
2811 * text3.C: #include "RowList.h".
2813 2003-09-05 Angus Leeming <leeming@lyx.org>
2815 * factory.C (createInset):
2816 * vspace.C (c-tor): replace sscanf call with an istringstream.
2817 * ispell.C: re-add missing HP/UX headers.
2818 * lyxserver.C: re-add missing os2 headers.
2820 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
2829 * text3.C: re-add missing system headers, needed for 2.95.2.
2831 2003-09-05 Angus Leeming <leeming@lyx.org>
2833 Changes most place everywhere due to the removal of using directives
2834 from support/std_sstream.h.
2836 2003-09-05 Angus Leeming <leeming@lyx.org>
2838 Replace LString.h with support/std_string.h,
2839 Lsstream.h with support/std_sstream.h,
2840 support/LIstream.h with support/std_istream.h,
2841 support/LOstream.h with support/std_ostream.h.
2843 Changes resulting throughout the tree.
2845 2003-09-05 Angus Leeming <leeming@lyx.org>
2847 * sgml.h: ensure that the header file can be compiled stand-alone.
2848 * *.C: strip out redundant #includes. (320 in total.)
2850 2003-09-04 Angus Leeming <leeming@lyx.org>
2852 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2853 here (from getPackages).
2855 * debug.[Ch]: add a new EXTERNAL tag.
2857 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2859 * text2.C (cursorEnd): simplify
2861 (getColumnNearX): adjust
2863 * text.C (computeBidiTables): adjust
2866 * rowpainter.C (paintChars): adjust
2867 (paintSelection): adjust
2868 (paintChangeBar): adjust
2871 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2873 (numberOfSeparators): adjust
2875 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2881 * text3.C: Restricts the mouse click functionality
2882 of insets like bibtex, include, toc and floatlist to the visible
2883 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2884 up the dialogs. Cursor has to be in front of the inset (i.e.
2885 start of row) for this to function.
2887 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2889 * bufferview_funcs.C (currentState): output row information
2891 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2893 * bufferview_funcs.C (currentState): output paragraph position
2895 2003-09-04 Angus Leeming <leeming@lyx.org>
2897 * FloatList.h: move out #include "Floating.h".
2898 * LaTeX.h: move out #include "DepTable.h".
2899 * LyXAction.h: move out #include "funcrequest.h".
2900 * buffer.h: move out #include "author.h", "iterators.h".
2901 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2902 * lyx_main.h: move out #include "errorlist.h".
2903 * lyxfunc.h: move out #include "FuncStatus.h".
2904 * lyxtext: move out #include "lyxcursor.h".
2905 * paragraph_pimpl.h: move out #include "counters.h".
2907 2003-09-03 Angus Leeming <leeming@lyx.org>
2909 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2910 preamble_snippets list, enabling us to add snippets to the preamble
2911 only if the snippet was not there already.
2913 2003-09-04 Angus Leeming <leeming@lyx.org>
2915 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2917 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2919 * lyxfunc.C (dispatch): if fitCursor did something be sure to
2922 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2924 * BranchList.C: point fix, earlier forgotten
2926 2003-09-02 Angus Leeming <leeming@lyx.org>
2928 * box.C (contains): renamed from 'contained' after a fantastic
2931 2003-09-02 John Levon <levon@movementarian.org>
2937 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2939 2003-09-02 John Levon <levon@movementarian.org>
2941 * text2.C: simplification of cursorEnd(), including partial
2944 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2946 * buffer.C (readFile): add a space
2948 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
2950 * BufferView_pimpl.C (update): remove bogus fitCursor() call
2952 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2954 * buffer.C (readFile): new function, take a filename and a
2955 ParagraphList::iterator
2957 (readFile): adjust, make it private. don't use setStream, make
2958 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2959 always contain the filename.
2961 * BufferView.C (insertLyXFile): simplify and make it work for
2964 2003-08-30 John Levon <levon@movementarian.org>
2966 * Makefile.am: fix dist (from Kayvan)
2968 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2970 * most files: change to use const Buffer refs
2972 2003-08-27 André Pönitz <poenitz@gmx.net>
2974 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2975 on top of ownerPar().
2977 2003-08-27 John Levon <levon@movementarian.org>
2979 * funcrequest.C: properly initialise POD members
2981 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2983 * lyxtext.h (top_y): move top_y from here
2988 * BufferView_pimpl.[Ch]: to here
2989 * frontends/screen.C:
2990 * insets/insettabular.C:
2991 * insets/insettext.C: adjust
2992 * rowpainter.[Ch] (paintRows): remove LyXText & argument
2994 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2997 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2999 2003-08-26 André Pönitz <poenitz@gmx.net>
3001 * paragraph_func.[Ch] (outerPar): new function
3004 * paragraph_funcs.C:
3005 * paragraph_funcs.h:
3006 * paragraph_pimpl.C:
3007 * text2.C: remove Inset::par_owner
3009 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
3014 * text2.C: eliminates the needFullRow/display() stuff
3015 altogether, putting the logic in metrics/draw in the insets.
3017 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
3019 * text2.C (redoParagraphInternal, redoParagraphs):
3020 * text.C (redoParagraph): add a call to updateRowPositions at the
3021 end of each 'metrics-like' call. Remove all others.
3022 (getRow): remove the 'y-computing' version.
3023 (getRowNearY): do not compute nor return the real y. Solve the
3024 'y < 0' problem and simplify.
3026 2003-08-22 Angus Leeming <leeming@lyx.org>
3028 * *.[Ch]: clean-up of licence and author blurbs.
3029 Also move config.h out of a few .h files and into a few .C files.
3031 2003-08-22 André Pönitz <poenitz@gmx.net>
3033 * lyxrow.[Ch]: add x_ and *fill_ members
3038 * text2.C: adjust/remove prepareToPrint() calls
3040 2003-08-22 André Pönitz <poenitz@gmx.net>
3042 * lyxrow.[Ch]: add end_ member
3044 * lyxrow_funcs.C: use LyXRow::end_
3046 * lyxtext.h (singleWidth): add LyXFont parameter
3049 * text2.C: adjust LyXText::singleWidth() calls
3051 * text.C (redoParagraph): simplify row breaking logic
3054 2003-08-19 André Pönitz <poenitz@gmx.net>
3056 * funcrequest.C: initialize button_ member
3059 * rowpainter.[Ch]: interface consolidation
3061 2003-08-18 André Pönitz <poenitz@gmx.net>
3064 * BufferView_pimpl.C:
3066 * paragraph_funcs.C:
3068 * text3.C: remove LyXScreen::draw() and fitCursor calls
3070 * BranchList.h: remove spurious semicolons
3072 * MenuBackend.C: fix branchlist related crash
3074 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
3082 * bufferparams.[Ch]:
3086 * text3.C: implements the 'branch inset'
3087 idea. This allows the output of various versions of a document
3088 from a single source version, selectively outputing or suppressing
3089 output of parts of the text.
3090 This implementation contains a 'branch list editor' in a separate
3091 tab of the document settings dialog. Branches are user definable
3092 and have a "display colour" to distinguish them on-screen.
3094 ColorHandler was somewhat cleaned up.
3095 (1) make possible a dynamically growing LColor list by allowing
3096 the graphic context cache to grow along (vector);
3097 (2) eliminate an IMHO unnecessary step in colour allocation.
3099 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
3101 * BufferView_pimpl.C: compile fix
3103 2003-08-15 André Pönitz <poenitz@gmx.net>
3105 * rowpainter.C: remove extra metrics calls
3107 * lyxtext.h: merge the two constructors into a single one,
3108 pass reference to owner's par list
3110 * BufferView_pimpl.C:
3114 2003-08-15 André Pönitz <poenitz@gmx.net>
3116 * lyxrow_funcs.[Ch]:
3119 * paragraph_funcs.C:
3124 * text_funcs.C: split LyXText::rowlist_ into individual
3125 Paragraph::rows_ chunks
3128 * BufferView_pimpl.[Ch]:
3131 * text3.C: remove toggleSelection()
3133 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
3135 * bufferlist.C: beautify two alerts (shorter text of buttons)
3136 * buffer.C: Remove redundant ' ' from message
3138 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3139 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3140 rename VALIGN_CENTER to VALIGN_MIDDLE
3142 2003-08-11 André Pönitz <poenitz@gmx.net>
3144 * lyxtext.h (getPar):
3145 * text.C: new function
3147 2003-08-11 André Pönitz <poenitz@gmx.net>
3150 * tracer.[Ch]: remove unneeded files
3152 * InsetList.[Ch]: remove resizeInsetsLyXText()
3157 * text3.C: merge insertParagraphs() and appendParagraph()
3158 remove breakAgain(), update()
3160 * BufferView_pimpl.[Ch]:
3161 * bufferview_funcs.[Ch]:
3165 * tabular.C: adjust after text & InsetList changes.
3167 2003-08-08 André Pönitz <poenitz@gmx.net>
3169 * text.C (insertChar, backspace): replace rowlist fiddling
3170 with rebreak of full par
3173 * text.C (breakAgainOneRow, redoHeightOfParagraph,
3174 checkParagraph, updateInset): removed
3176 2003-08-07 André Pönitz <poenitz@gmx.net>
3179 * text3.C: merge some LFUN handlers, remove dead code
3181 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3183 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3185 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
3187 * text2.C (DEPM): fix part of bug 1255 and 1256
3189 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3191 * BufferView_pimpl.C (workAreaDispatch): change to use
3192 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3193 that are no mouse related.
3195 2003-08-05 André Pönitz <poenitz@gmx.net>
3198 * BufferView_pimpl.[Ch]:
3199 * bufferview_funcs.C:
3201 * text3.C: rip out "deep update"
3203 * textcursor.[Ch] (last_sel_cursor): remove unused member
3205 2003-08-04 André Pönitz <poenitz@gmx.net>
3208 * BufferView_pimpl.[Ch]:
3209 * ParagraphParameters.C:
3210 * bufferview_funcs.C:
3216 * text3.C: replace "complicated" BufferView::update(...) calls with
3219 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3221 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
3223 * Makefile.am (lyx_SOURCES): add paper.h
3225 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3227 * Makefile.am: move things around so that both lyx-qt and
3228 lyx-xforms can be built (according to --with-frontend). Then lyx
3229 is a symbolic link to lyx-[firstfrontend]
3231 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
3233 * Always use std::endl with lyxerr
3235 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
3237 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3239 2003-08-01 André Pönitz <poenitz@gmx.net>
3242 * BufferView_pimpl.[Ch]:
3244 * text3.C: merge BufferView::repaint() and BufferView::update()
3246 2003-08-01 José Matos <jamatos@lyx.org>
3248 * buffer.[Ch]: file_format is no longer a buffer data element.
3250 2003-08-01 André Pönitz <poenitz@gmx.net>
3255 * text2.C: make redoParagraph more independent of current cursor
3257 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3259 * text2.C: remove unneeded members
3261 2003-07-30 André Pönitz <poenitz@gmx.net>
3263 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3265 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3266 create a single function...
3268 * paragraph_funcs.C (moveItem): ... here.
3271 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3273 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3275 * LColor.[Ch]: Add comment and greyedout logical colors.
3277 2003-07-30 André Pönitz <poenitz@gmx.net>
3279 * tabular.C: don't use Assert too heavily. This crashes where it
3282 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
3284 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3285 is disabled (bug 1232)
3287 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3289 * factory.C: limited 'arg' scope
3291 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3293 * factory.C: fixed Note submenu issues
3295 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3297 * factory.C: submenu for Note/Comment/Greyedout
3299 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
3302 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3304 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
3307 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3308 greyedout. Patch provided by Jürgen Spitzmüller.
3310 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3312 * kbmap.C (read): fix error message when reading bind files
3314 2003-07-29 Angus Leeming <leeming@lyx.org>
3316 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3317 certainly does not do what it purports to do. I am doing it, and
3318 us, a favour by killing it.
3320 2003-07-28 José Matos <jamatos@lyx.org>
3322 * buffer.C (readBody, do_writeFile):
3323 * paragraph.C(readParagraph): \end_document replaces \the_end.
3325 2003-07-29 André Pönitz <poenitz@gmx.net>
3328 * BufferView_pimpl.[Ch]:
3332 * textcursor.[Ch]: remove toggleToggle & Co
3334 2003-07-28 José Matos <jamatos@fep.up.pt>
3336 * buffer.C (readParagraph):
3337 * params_func (readParToken, readParagraph):
3338 * paragraph.C (write): \layout -> \begin_layout.
3340 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3342 * lyxlex_pimpl.C (setFile): clean up slightly.
3344 * bufferparams.h: add compressed var
3346 * buffer_funcs.C (readFile): adjust for LyXLex change
3347 (newFile): ditto + simplify
3349 * buffer.C (writeFile): handle writing of compressed files
3351 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3352 Check if the file is compressed and set a bufferparm if so.
3354 * Makefile.am (lyx_LDADD): remove explicit -lz
3356 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3358 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3359 makeDocBookFile): put the real LyX version in the first line of
3363 * version.C.in: remove lyx_docversion
3365 * tabular.C (write_attribute): add a template-based version to
3366 write enums properly
3368 2003-07-28 André Pönitz <poenitz@gmx.net>
3373 * text3.C: use doubles again for x-coordinates. They are needed.
3375 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3377 * messages.C (getLocaleDir): use lyx_localedir()
3379 * lyxlex_pimpl.C (setFile): compress stuff
3381 * buffer.C (writeFile): add some compression stuff
3382 (do_writeFile): new func, dont call expliti close... will this
3385 * Makefile.am (lyx_LDADD): add -lz
3387 2003-07-28 José Matos <jamatos@fep.up.pt>
3389 * buffer.C: increment file format.
3390 * paragraph_funcs (readParagraph, readParToken):
3391 * paragraph.C (readParagraph): add \end_layout.
3393 2003-07-27 Angus Leeming <leeming@lyx.org>
3395 * Makefile.am: remove special casing for configure-time setting of
3396 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3398 * lyx_main.C (init): remove all Jean-Marc's magic setting of
3399 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3401 2003-07-26 André Pönitz <poenitz@gmx.net>
3403 * paragraph_func.[Ch]:
3404 * paragraph.C (realizeFont): inline it whereever it is used
3409 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3412 2003-07-26 André Pönitz <poenitz@gmx.net>
3416 * text2.C: get rid of LyXText::need_break_row
3418 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3420 * toc.[Ch]: put namespace toc inside namespace lyx
3422 * MenuBackend.C (expandToc2): adjust for lyx::toc
3425 * lyxfunc.C (dispatch): adjust for lyx::find
3427 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3428 lyx::find instead. Reorganize a bit.
3429 (LyXReplace): rename to replace
3430 (LyXFind): rename to find
3432 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3435 2003-07-26 André Pönitz <poenitz@gmx.net>
3437 * text.C (setHeightOfRow): restrict scope of temporary variable
3439 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
3440 code (never has been used?)
3442 2003-07-27 Asger Alstrup <alstrup@local>
3444 * text.C (fill): Optimise algorithm to exploit that we can reuse
3445 the LyXFont for many characters.
3446 (setHeightOfRow): Same thing.
3447 (rowBreakPoint): Same thing.
3449 2003-07-26 Asger Alstrup <alstrup@local>
3451 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3453 * text.C (singleWidth): Spurious font copying in hot-spot
3454 singleWidth avoided. Reorder tests for arabic for efficiency.
3456 * text.C (fill): handle empty paragraphs better.
3458 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3461 * encoding.h: add includes
3463 * lyxrc.C: remove reading of bind files
3465 * lyx_main.C (init): setup bindings and menus only if we have a
3468 * kbmap.C (read): new method. Do the actual reading of bind
3471 * converter.C (dvipdfm_options):
3474 (output): adapt PAPER_* enums.
3476 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3478 * bufferparams.h: remove paper-related enums from there
3480 * paper.h: New file. A trivial header file to hold paper-related
3481 enums. It should later expand to contain many paper-related
3484 * lyxrc.C: declare extern displayTranslator
3486 2003-07-27 José Matos <jamatos@fep.up.pt>
3488 * tabular.[Ch] (linuxdoc): add support for tables and figures
3491 2003-07-27 José Matos <jamatos@fep.up.pt>
3493 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3494 consistency in both functions.
3495 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3497 2003-07-26 Asger Alstrup <alstrup@local>
3499 * rowpainter.C (paintRows): Change algorithm to work directly on
3500 the insets rather than asking every character in the document
3501 whether its an inset.
3503 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
3505 * buffer.C (openFileWrite): factorize some code
3507 2003-07-26 Angus Leeming <leeming@lyx.org>
3510 * lyx_main.[Ch]: replace occurances of system_tempdir with
3513 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3515 * rename Inset to InsetOld
3517 2003-07-25 Asger Alstrup <alstrup@diku.dk>
3519 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3520 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3521 which I think is a bit clearer. EDIT is gone, since it was
3522 premature optimisation, and broken for mathed anyway.
3523 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3524 with cursor positioning in insets as well (math insets still do not
3525 work, but that's a different story anyway.) It mysteriously
3526 crashes sometimes with undo in the first paragraph, but I'm fairly
3527 confident that this is a compiler bug.
3529 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3531 * paragraph.C (Paragraph): adjust for new clone return type
3533 (copyIntoMinibuffer): ditto
3535 2003-07-25 Asger Alstrup <alstrup@lyx.org>
3537 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3538 by not having a special case, and always doing a full rebreak of
3539 the document after undo.
3541 2003-07-23 Angus Leeming <leeming@lyx.org>
3543 * factory.C (createInset): InsetExternal::setParams now takes a
3546 2003-07-23 Angus Leeming <leeming@lyx.org>
3548 * factory.C (createInset): changed interface to the external and
3549 graphics mailers' string2params functions.
3551 2003-07-23 Angus Leeming <leeming@lyx.org>
3553 * factory.C (createInset): pass a
3554 Buffer const * parameter to InsetExternalMailer's string2params.
3556 2003-07-22 John Levon <levon@movementarian.org>
3558 * Thesaurus.h: include the right aiksaurus header
3560 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3562 * MenuBackend.C (expand): check menu shortcuts unconditionally
3564 2003-07-21 Angus Leeming <leeming@lyx.org>
3566 * factory.C (createInset): pass a
3567 buffer_path parameter to InsetGraphicsMailer's string2params.
3569 2003-07-21 Angus Leeming <leeming@lyx.org>
3571 * BufferView_pimpl.C (buffer):
3574 * lyxfunc.C (dispatch):
3575 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3576 rather than the grfx shortcut.
3578 2003-07-21 André Pönitz <poenitz@gmx.net>
3580 * rowpainter.C: remove unused variables
3583 * tabular_funcs.h: move to tabular.C
3584 * Makefile.am: adjust
3586 * tabular.[Ch]: basic optical cleaning
3588 * author.h: pass references, not values
3590 2003-07-18 André Pönitz <poenitz@gmx.net>
3598 * text3.C: two-phase drawing for InsetText and InsetTabular
3599 some float -> int changes.
3601 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3603 * lyx_main.C: fix the fix
3605 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3607 * lyx_main.C: fix a crash in batch mode if no files specified
3610 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
3612 * format.[Ch] (papersize): moved to BufferParams
3613 * converter.[Ch] (dvips_options): moved to BufferParams
3614 (dvipdfm_options): moved to anon namespace
3615 * bufferparams.[Ch]: added above functions.
3617 2003-07-17 André Pönitz <poenitz@gmx.net>
3621 * text2.C: don't call inset->update() anymore
3623 * metricsinfo.[Ch]: add convenience constructor
3625 2003-07-16 André Pönitz <poenitz@gmx.net>
3630 * text2.C: replace the LyXCursor::irow_ member with
3631 on-demand computation of the value
3633 2003-07-16 John Levon <levon@movementarian.org>
3635 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3637 2003-07-15 André Pönitz <poenitz@gmx.net>
3640 * text2.C: remove no more needed refresh_row
3642 2003-07-15 André Pönitz <poenitz@gmx.net>
3647 * text3.C: refresh_status tristate -> need_update bool
3649 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
3651 * lyxtext.h (init): remove reinit argument (act as if always true)
3652 * text2.C: adjust to that
3654 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3656 * bufferview_funcs.[Ch]: introduce function replaceSelection()
3657 * text3.C: use it to delete selections in some cases
3658 (bugs 441, 673, 702, 954).
3660 2003-07-14 André Pönitz <poenitz@gmx.net>
3662 * rowpainter.[Ch]: reduce interface
3664 2003-07-14 André Pönitz <poenitz@gmx.net>
3666 * BufferView_pimpl.C:
3667 * text2.C: adjust after removing unused BufferView * argument
3669 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
3671 * text2.C (init): fix a crash fired on resize
3673 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
3675 * buffer.[Ch]: added new closing signal
3676 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3677 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3678 BufferView::Pimpl via the closing the signal
3680 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
3682 * buffer.[Ch]: take out all bv-related from buffer
3684 * BufferView_pimpl.[Ch]: connect to new signals
3685 * CutAndPaste.C: removed useless asserts
3686 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3689 * lyxfunc.C: moved view-related funciontality from vc here
3690 * paragraph.C: removed outdated comments
3693 2003-07-10 André Pönitz <poenitz@gmx.net>
3695 * BufferView_pimpl.C:
3699 * text2.C: remove InsetText::InnerCache, clean up consequences
3701 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
3703 * ispell.C: fix two typos in error messages
3705 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
3707 * Extend Note inset to other forms of annotation like Comment
3708 and Greyedout. Right button click gives dialog.
3710 Files modified or added (+):
3714 * ControlNote.[Ch] +
3716 * Makefile.am in frontends/xforms, frontends/xforms/forms,
3717 frontends/controllers
3721 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3723 * aspell.C: add missing namespace lyx::support
3725 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
3727 * BufferView.[Ch] (newFile): Add
3728 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3729 * LaTeX.[Ch] (message): added this signal and use it
3730 * buffer.[Ch] (busy, message): added these signals and use them
3731 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3735 * importer.C: use buffer signals instead of direct bv calling
3736 * lyx_cb.[Ch] (ShowMessage): removed
3739 * paragraph_funcs.C:
3740 * text2.C: use buffer signals
3742 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3744 * introduce namespace lyx::graphics
3746 2003-07-02 André Pönitz <poenitz@gmx.net>
3748 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3750 2003-07-01 André Pönitz <poenitz@gmx.net>
3757 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3758 text*.C to text_func.C
3760 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3762 * introduce namespace lyx::support
3764 2003-06-30 André Pönitz <poenitz@gmx.net>
3769 * text.C: re-enable --with-included-string
3771 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3773 * textcursor.C: add <config.h>
3775 * text.C (getWord): remove const from word_location arg
3777 * lyxvc.C (getLogFile): fix const type order
3779 * lyxtext.h: remove const from word_location arg, add arg name
3781 * lyxlayout.h: currect type on labeltype.
3783 * importer.C: correct \file
3785 * converter.C (intToFormat): use std:: on ret val, ws changes
3787 * bufferlist.h: correct \file
3789 * buffer.C (makeLinuxDocFile): fix const type order
3790 (makeDocBookFile): ditto
3791 (fillWithBibKeys): use std:: on stdlib args.
3793 * CutAndPaste.C: fix authors.
3794 (availableSelections): use std:: on return vector
3796 2003-06-27 André Pönitz <poenitz@gmx.net>
3798 * BufferView_pimpl.C:
3799 * bufferview_funcs.C:
3807 * text3.C: remove LyXCursor::row_ member
3810 * text.C: rename fullRebreak() to partialRebreak() and implement
3811 a fullRebreak() that really bereks fully
3813 * textcursor.h: new struct for cursor-related data
3815 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
3817 * lyx_main.C (LyX): get full path of document loaded on the
3820 2003-06-26 André Pönitz <poenitz@gmx.net>
3822 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3823 remove unused/broken operator>,<,>=.
3825 * text.C: remove only use of broken operator<= in an Assert().
3827 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3829 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3830 moved errorlist_.clear to showErrorList
3832 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3834 * converter.C (scanLog, runLaTeX):
3835 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3836 move the bv->showErrorList call to the callers
3837 * lyxfunc.C: i.e. here...
3839 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3840 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3841 namespace, the second to...
3842 * buffer_funcs (BufferFormat, parseErrors): added
3843 * errorlist.C (ErrorList(TeXErrors const &)): removed
3845 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3847 * ToolbarBackend.C (getIcon): complain when icon cannot be found
3849 2003-06-24 "Garst R. Reese" <reese@isn.net>
3853 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3855 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3857 * version.C.in: change docversion to 1.4
3859 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
3861 * buffer.C: fix a bug just introduced
3863 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3865 * buffer.[Ch]: added the parseError signal and use it, removed
3867 * BufferView.[Ch] (addError): moved to ...
3868 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3869 to the Buffer::parseError signal to catch (guess what) parse errors
3870 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3872 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3874 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3875 ability to create a buffer and to return an existing one from
3876 the list. Moved these functions to...
3877 * buffer_funcs.[Ch]: added
3878 * BufferView.[Ch] (loadLyXFile): added
3879 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3880 job removed from bufferlist::loadLyXFile.
3881 * buffer.C (setReadOnly): make it work without view
3882 (i.e added an if (users))
3884 2003-06-19 Angus Leeming <leeming@lyx.org>
3887 * LyXAction.C (init):
3888 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3889 with LFUN_DIALOG_SHOW <name> <data>.
3891 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3893 * CutAndPaste.C (availableSelections): small compilation fix for
3894 ancient (gcc 2.9x) compilers
3896 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3898 * text3.C (cursorNext): add tmp var
3900 * text2.C (updateCounters): for function calling out of for clause
3901 (replaceSelectionWithString): ditto
3902 (insertStringAsParagraphs): ditto
3903 (getColumnNearX): add tmp var
3904 (setCursorFromCoordinates): add tmp var
3905 (cursorDownParagraph): add tmp var
3906 (deleteEmptyParagraphMechanism): add tmp var
3908 * text.C (insertChar): add tmp var
3910 * rowpainter.C (paintDepthBar): add tmp var
3912 * CutAndPaste.C (availableSelections): potentially check all
3913 paragraphs in a cut to fill the shown strings.
3915 2003-06-18 André Pönitz <poenitz@gmx.net>
3917 * kbmap.[Ch]: use vector<> instead of list<>
3919 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3921 * text3.C (dispatch): handle arg to LFUN_PASTE, call
3922 pasteSelection with index
3924 * text2.C (pasteSelection): modify, call pasteSelection with index
3926 * paragraph.C (asString): reimplement version with no interval to
3927 call the one with interval.
3929 * lyxtext.h: add index arg to pasteSelection
3931 * MenuBackend.C (MenuItem): handle PasteRecent
3932 (Menu::read::Menutags): add md_pasterecent
3934 (expandPasteRecent): new function
3937 * MenuBackend.h: add PasteRecent to MenuItem::Kind
3939 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3941 (availableSelections): new function
3943 2003-06-17 Angus Leeming <leeming@lyx.org>
3945 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3947 2003-06-17 Angus Leeming <leeming@lyx.org>
3950 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3952 * lyxfunc.C (dispatch): invoke it.
3954 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3956 * iterators.C (operator++, ParPosition): reintroduce some
3957 const_cast for the benefit of older compilers.
3959 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3961 * text3.C (dispatch): do not modify clipboard when doing
3962 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3963 LFUN_DELETE_SKIP on a selection selection
3965 2003-06-16 André Pönitz <poenitz@gmx.net>
3971 * tabular.[Ch]: IU of clone() and getLabelList();
3973 2003-06-13 André Pönitz <poenitz@gmx.net>
3975 * tabular.h: compactification
3977 2003-06-12 André Pönitz <poenitz@gmx.net>
3981 * tabular_funcs.h: some renaming plus whitespace
3983 2003-06-12 André Pönitz <poenitz@gmx.net>
3986 * BufferView_pimpl.C:
3992 * toc.C: Return a Paragraph & for ParIterator::operator*()
3994 2003-06-11 John Levon <levon@movementarian.org>
3998 * ToolbarBackend.C: add "Toolbars" section and
4001 2003-06-10 Angus Leeming <leeming@lyx.org>
4004 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4006 * lyxfunc.C (dispatch): invoke it.
4008 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4010 * main.C: protect <ios> with HAVE_IOS
4011 (main): protect sync_with_stdio with HAVE_IOS
4013 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
4015 * text2.C (cutSelection): adjust
4016 (pasteSelection): adjust
4018 * messages.C: handle get of empty string
4020 * main.C (main): use sync_with_stdio(false)
4022 * lyxfunc.C (dispatch): adjust
4024 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4025 (WriteAs): remove unneeded BufferView arg.
4027 * bufferparams.h: use correct types on papersize, papersize2 and
4030 * bufferparams.C (readToken): adjust for type
4031 (writeLaTeX): add missing cases to switch.
4033 * bufferlist.C (quitWriteBuffer): adjust
4036 * buffer.C (asciiParagraph): remove some commented code.
4038 * CutAndPaste.C: remove current_view extern variable.
4039 (cutSelection): add BufferParams arg.
4040 (eraseSelection): add BufferParams arg.
4041 (pasteSelection): add Buffer const & arg
4043 2003-06-07 John Levon <levon@movementarian.org>
4046 * paragraph_funcs.C:
4047 * paragraph_pimpl.C:
4051 * paragraph.C: allow InsetERT to freely space lines,
4052 and some consolidation of code
4054 2003-06-06 José Matos <jamatos@fep.up.pt>
4056 * buffer.C (makeDocBookFile): fix bug #821
4058 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
4060 * BufferView_pimpl.C (dispatch): use Dialogs::visible
4062 2003-06-04 Angus Leeming <leeming@lyx.org>
4064 * buffer.C: bump format to 224.
4066 2003-06-05 André Pönitz <poenitz@gmx.net>
4068 * text2.C (redoParagraphs): remove two const_cast<>
4070 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4072 * ParagraphList.h: remove last remnants of NO_STD_LIST
4074 2003-06-03 Angus Leeming <leeming@lyx.org>
4076 * factory.C (createInset): small change to the way InsetExternal's params
4079 2003-06-04 André Pönitz <poenitz@gmx.net>
4081 * buffer.h: use Undo directly instead of shared_ptr<Undo>
4083 * paragraph_pimpl.h:
4084 * paragraph.[Ch]: some Inset -> UpdatableInset changes
4086 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4088 * undo_funcs.C: make some simple cases of undo work again
4090 2003-06-03 John Levon <levon@movementarian.org>
4092 * ispell.C: HPUX doesn't have sys/select.h
4095 2003-06-03 John Levon <levon@movementarian.org>
4097 * CutAndPaste.C: update tabular and include inset
4102 * paragraph.C: remove owningBuffer(), don't pass Buffer
4105 * factory.C: insetGraphicsParams changed
4107 2003-06-02 John Levon <levon@movementarian.org>
4113 * text3.C: remove insetparent
4115 2003-06-02 John Levon <levon@movementarian.org>
4118 * buffer.C: fix inset_iterator.end(), move out of line
4121 2003-06-01 John Levon <levon@movementarian.org>
4123 * text3.C: use a proper cut/paste when doing inset
4124 insert (from Jürgen Spitzmüller)
4126 2003-06-01 John Levon <levon@movementarian.org>
4128 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4130 2003-05-30 André Pönitz <poenitz@gmx.net>
4132 * rowpainter.C: unify second drawing phase
4134 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4136 * trans_mgr.C: remove one case of current_view
4138 * text2.C (cursorBottom): delete NO_STD_LIST stuff
4140 * paragraph_funcs.h: remove paragraph.h include
4142 * paragraph.h: delete NO_STD_LIST stuff
4144 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4146 * buffer.h: remove paragraph.h include
4148 * ParagraphList.C: delete file
4150 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4152 * toc.C (getTocList): adjust
4154 * paragraph_pimpl.C (validate): adjust
4156 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4158 * paragraph.C (Paragraph): adjust
4159 (getPositionOfInset): use const_iterator, adjust
4160 (bibitem): use const_iterator, adjust
4161 (setInsetOwner): adjust
4163 * iterators.C (operator++): adjust
4165 * InsetList.[Ch]: Replace selfmade iterator with standard
4166 vector::iterator also introduce const_iterator. Remove getPos,
4167 getInset and setInset from InsetTable. Adjust accordingly.
4169 * BufferView.C (lockInset): adjust
4170 (ChangeInsets): adjust
4172 * tabular.[Ch]: delete commented same_id functions
4174 2003-05-28 John Levon <levon@movementarian.org>
4176 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4178 2003-05-28 André Pönitz <poenitz@gmx.net>
4180 * metricsinfo.[Ch]: remove 'fullredraw' member
4182 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
4184 * lyxtextclass.C (operator): remove caching.
4186 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4190 * text2.C (cursorBottom): adjust
4191 (setCounter): use ParagraphList::find, adjust
4193 * text.C (workWidth): use ParagraphList::find, adjust
4195 * lyxcursor.C (LyXCursor): adjust
4197 * buffer.C (inset_iterator): adjust
4199 * ParagraphList.h: make iterator(value_type) private, make
4200 ParagraphList a friend of iterator.
4202 * ParagraphList.C (find): new function
4204 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4206 2003-05-27 André Pönitz <poenitz@gmx.net>
4208 * dimension.[Ch]: a -> asc, d -> des, w -> wid
4210 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4212 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4214 2003-05-26 John Levon <levon@movementarian.org>
4216 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4218 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4220 * remove same_id from function signatures, adjust.
4222 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4224 * undo_funcs.C (createUndo): use the id functions directly, adjust.
4226 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4228 * paragraph.C (Paragraph): get rid of same_ids parameter
4230 * ParagraphList.C (insert): adjust
4233 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4235 * paragraph_funcs.C (breakParagraph): adjust
4236 (breakParagraphConservative): adjust
4238 * buffer.C (readParagraph): adjust
4240 * ParagraphList.C (insert): take a reference instead of a pointer
4243 * paragraph.[Ch] (id): new function
4245 * bufferlist.C (newFile): adjust
4247 * ParagraphList.C (ParagraphList): adjust
4249 (push_back): take a reference instead of a pointer.
4251 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4253 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4256 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4257 set else use old code.
4259 * ParagraphList.C: remove all NO_NEXT code and only compile this
4260 code of NO_STD_LIST is set.
4262 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4264 * BufferView_pimpl.C:
4274 * graphics/GraphicsConverter.C:
4275 * graphics/PreviewLoader.C: header adjustment
4277 2003-05-23 Angus Leeming <leeming@lyx.org>
4279 * LaTeXFeatures.[Ch] (useBabel): new method.
4280 * bufferparams.C (writeLaTeX): use it.
4282 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4284 * ParagraphList.h (set): remove unused function.
4286 2003-05-23 André Pönitz <poenitz@gmx.net>
4289 * BufferView_pimpl.C:
4293 * undo_funcs.C: setUndo reworked
4295 * iterators.[Ch]: add access to topmost ParagraphList
4297 * lyxtext.[Ch] (workWidth): add a const
4299 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4301 * texrow.[Ch] (increasePos): remove function
4302 * exporter.C (export): removed unused var and outdated comment
4304 2003-05-23 Angus Leeming <leeming@lyx.org>
4306 * latexrunparams.h: rename fragile as moving_arg.
4307 * paragraph.C (simpleTeXOnePar): ditto.
4308 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4310 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4312 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4314 (textUndoOrRedo): comment out a currently unused var.
4316 * paragraph.h (NO_NEXT): enable NO_NEXT
4318 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4320 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4322 * exporter.C (Export): adjust for removeAutoInsets removal.
4324 * buffer.C (runChktex): adjust for removeAutoInsets removal.
4326 * LyXAction.C (init): remove LFUN_REMOVEERRORS
4328 * BufferView.[Ch] (removeAutoInsets): delete function
4330 2003-05-22 Angus Leeming <leeming@lyx.org>
4332 * latexrunparams.h: add a free_spacing variable.
4334 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4335 to pass moving_arg, as the data is stored in runparams.fragile.
4337 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4338 to Inset::latexOptional or to simpleTeXOnePar.
4340 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4341 free_spacing arg to Inset::latexOptional.
4343 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4346 2003-05-22 Angus Leeming <leeming@lyx.org>
4348 * latexrunparams.h: add fragile and use_babel variables.
4350 * bufferparams.[Ch] (writeLaTeX): return use_babel.
4351 * buffer.C (makeLaTeXFile): store this returned value in
4352 runparams.use_babel, thus passing it to the inset::latex methods.
4354 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4355 simpleTeXSpecialChars as it is now stored in runparams.fragile.
4357 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4358 longer has a fragile arg, as it is stored in runparams.fragile.
4360 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4361 moving_arg parameter as the data is stored in runparams.fragile.
4363 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4364 a fragile parameter as the data is stored in runparams.fragile.
4366 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4368 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4370 2003-05-22 Angus Leeming <leeming@lyx.org>
4372 * latexrunparams.h: add a 'bool nice' which defaults to false.
4374 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4375 now encapsulated within runparams.
4377 * bufferlist.C (updateIncludedTeXfiles):
4378 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4380 2003-05-22 Angus Leeming <leeming@lyx.org>
4382 * latexrunparams.h: new file containing struct LatexRunParams.
4383 * Makefile.am: add new file.
4385 * LaTeX.[Ch] (c-tor, run):
4386 * buffer.[Ch] (makeLaTeXFile):
4387 * bufferlist.[Ch] (updateIncludedTeXfiles):
4388 * converter.C (convert, scanLog):
4389 * converter.[Ch] (runLaTeX):
4390 * exporter.C (Export):
4391 * paragraph.[Ch] (simpleTeXOnePar):
4392 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4393 * paragraph_funcs.[Ch] (latexParagraphs):
4394 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4395 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4396 pass around a LatexRunParams parameter.
4398 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4400 * paragraph.[Ch]: remove unused constructor
4402 * ParagraphList.C (erase): new function, taking two iterators
4404 2003-05-22 André Pönitz <poenitz@gmx.net>
4406 * undo_funcs.C: remove duplicated code
4408 * iterator.[Ch]: operator=
4410 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4412 * tabular.C (SetMultiColumn): ws changes
4414 * rowpainter.C (paintFirst): get rid of a ->previous
4416 * lyx_cb.C (getPossibleLabel): parlist simplification
4418 * BufferView.C (ChangeInsets): simplify slightly.
4420 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4422 * LyXAction.C: new lfun space-insert, kill protected-space-insert
4423 * lfuns.h: new LFUN_SPACE
4424 * lyxfunc.C: protected space has a new lfun
4425 * paragraph_funcs.C: read new space insets
4427 * factory.C: handle new space insets
4429 2003-05-22 André Pönitz <poenitz@gmx.net>
4432 * BufferView_pimpl.C:
4435 * undo_funcs.C: return a ParIterator from getParFromID.
4437 * iterators.[Ch]: add two const's
4439 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4441 * toc.C (getTocList): adjust
4443 * iterators.[Ch]: rework for parlist
4445 * buffer.C (par_iterator_begin): adjust
4446 (par_iterator_end): adjust
4448 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4450 * BufferView.C (removeAutoInsets): adjust
4451 (ChangeInsets): adjust
4453 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
4455 * text.C (top_y): fix bug 1110
4457 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
4459 * errorlist.[Ch]: added
4462 * BufferView_pimpl.C:
4463 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4466 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4468 * Makefile.am: ensure that lyx is relinked upon changes to the
4469 various "convenience" libs.
4471 2003-05-20 Angus Leeming <leeming@lyx.org>
4473 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4474 files are compiled in alphabetical order again.
4476 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4478 2003-05-19 Angus Leeming <leeming@lyx.org>
4480 * gettext.[Ch]: remove "char const * _(char const *)".
4482 2003-05-19 André Pönitz <poenitz@gmx.net>
4484 * dimension.[Ch]: promote from mathed/dimension.[Ch]
4493 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4495 2003-05-19 André Pönitz <poenitz@gmx.net>
4499 * lyxtextclass.[Ch]:
4501 * paragraph_funcs.[Ch]:
4503 * text3.C: more insetenv work
4505 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
4507 * ParagraphParameters.C (params2string): small bug fixed
4509 2003-05-16 André Pönitz <poenitz@gmx.net>
4512 * bufferview_funcs.C: patch from Kornel Benko to prevent
4513 crash when _(...) is called twice in a statement
4515 2003-05-16 André Pönitz <poenitz@gmx.net>
4522 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4524 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
4526 * lyx_main.C (init): remove spurious static_cast
4528 2003-05-14 André Pönitz <poenitz@gmx.net>
4530 * BufferView.C: fix format string
4532 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
4534 * BufferView.[Ch] (insertErrors): removed
4535 * BufferView.[Ch] (showErrorList): added
4536 * buffer.C (runChkTeX):
4537 * converter.C (scanLog): call showErrorList instead of inserterrors
4539 2003-05-13 André Pönitz <poenitz@gmx.net>
4541 * BufferView_pimpl.C:
4543 * bufferview_func.C:
4550 * tabular_funcs.h: tostr() from its own header
4552 * ParagraphParameters.C:
4557 * text3.C: STRCONV()
4559 2003-05-12 André Pönitz <poenitz@gmx.net>
4562 * BufferView_pimpl.C:
4566 * ParagraphParameters.C:
4570 * bufferview_funcs.C:
4583 * paragraph_funcs.C:
4587 * text3.C: boost::format -> bformat all over the place
4590 2003-05-09 André Pönitz <poenitz@gmx.net>
4592 * LColor.[Ch]: Pimpl the #include <map> away
4594 2003-05-09 John Levon <levon@movementarian.org>
4596 * bufferlist.C: never remove emergency saves
4598 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4600 * Makefile.am: better lib building
4602 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4604 * texrow.[Ch]: remove dependency on Paragraph and just store a id
4606 * paragraph_pimpl.C (simpleTeXBlanks): adjust
4607 (simpleTeXSpecialChars): adjust
4608 (simpleTeXSpecialChars): adjust
4609 * paragraph.C (simpleTeXOnePar): adjust
4610 * buffer.C (makeLaTeXFile): adjust
4612 * Makefile.am (BOOST_LIBS): allow boost as system lib.
4614 * text2.C (changeDepth): parlist cleanup
4615 (getColumnNearX): ditto
4617 * rowpainter.C (getLabelFont): parlist cleanup
4619 * bufferlist.C (newFile): parlist cleanup
4621 * CutAndPaste.C (eraseSelection): parlist cleanup
4623 * BufferView_pimpl.C (trackChanges): parlist cleanup
4626 * BufferView.C (lockInset): parlist cleanup.
4627 (ChangeInsets): ditto
4629 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4631 * CutAndPaste.h: Update file header.
4633 * CutAndPaste.C: Update file header.
4634 Store the parts cut out of the Document in a limited_stack.
4635 (copySelection): adjust
4636 (pasteSelection): new function, takes the index in the limited stack.
4637 (nrOfParagraphs): adjust
4638 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4639 simplify error inset insertion.
4640 (checkPastePossible): adjust
4642 2003-05-06 John Levon <levon@movementarian.org>
4644 * text2.C: don't cast wrap inset to float
4646 2003-05-05 André Pönitz <poenitz@gmx.net>
4649 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4651 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4652 few naked Paragraph *.
4654 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
4656 * bufferparams.C: Output warning if a document with missing
4657 TeX document class is loaded
4658 * exporter.C: Disable TeX exports if the document class is missing
4661 * lyxtextclasslist.C: Handle new textclass.lst format; new method
4662 isTeXClassAvailable()
4664 2003-05-03 John Levon <levon@movementarian.org>
4667 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4668 explicit cursor show/hide
4670 * BufferView_pimpl.h:
4671 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4672 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4674 * lyxfunc.C: hide cursor before dispatching.
4679 * text3.C: remove explicit cursor hides
4681 2003-05-02 André Pönitz <poenitz@gmx.net>
4683 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4686 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4689 * text2.C: tiny whitespace
4691 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4693 * undo_funcs.C: almost only ws changes.
4695 * ParagraphList.C (splice): just return if pl is empty.
4697 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4699 * ParagraphList.C (splice): new function.
4701 * CutAndPaste.C (pasteSelection): use it
4703 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4705 * CutAndPaste.C (pasteSelection): remove the last next and
4706 previous from this file.
4708 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4710 * CutAndPaste.C (pasteSelection): more clean up, user proper
4711 ParagraphList functions for pasteing.
4713 * ParagraphList.C (insert): new function, three arg insert
4715 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4717 * ParagraphList.C (insert): new function, three arg insert
4719 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4722 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4724 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4726 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4728 * CutAndPaste.C (pasteSelection): remove some unneeded code.
4730 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4732 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4733 (copySelection): clean up a bit.
4734 (pasteSelection): use make_pair
4736 * ParagraphList.C (ParagraphList): implement copy constructor
4737 (operator=): implement, base on copy constructor.
4740 * paragraph.C (erase): return a bool
4742 * paragraph_pimpl.C (erasePos): remove function, move contents...
4743 (erase): ... here. Return a bool.
4744 (erase): call erase instead of erasePos.
4746 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
4748 * ParagraphList.h: define PitPosPair
4749 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4750 ParagraphList, fix a bug on pasting multiple pars
4751 * text2.C: change interface to C&P
4753 2003-04-30 André Pönitz <poenitz@gmx.net>
4755 * undo_func.C: revert part of yesterday's patch 2
4757 2003-04-30 John Levon <levon@movementarian.org>
4759 * LColor.C: s/tabular/table/
4761 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4763 * text3.C (dispatch): do not convert iterator -> pointer
4764 * undo_funcs.C (setCursorParUndo): ditto
4765 * text_funcs.C (transposeChars): ditto
4767 * text2.C (setLayout): ws changes only
4769 * text.C (breakParagraph): do not convert iterator -> pointer
4771 (acceptChange): ditto
4772 (rejectChange): ditto
4777 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4780 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4782 * text3.C (gotoInset): YABG (yet another bad getChar)
4784 2003-04-29 André Pönitz <poenitz@gmx.net>
4786 * paragraph.h: make operator= private unimplemented as long as
4789 * ParagraphList.C: whitespace
4792 * paragraph_pimpl.[Ch]:
4793 * paragraph_funcs.C:
4795 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
4798 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4800 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4802 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4803 * paragraph.[Ch] (erase):
4804 * paragraph_pimpl.[Ch] (erase): change return type and value
4805 * text2.C (cutSelection): some rework
4807 2003-04-28 John Levon <levon@movementarian.org>
4809 * bufferlist.C: changes for unsaved changes dialog
4811 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4813 * bufferlist.C (newFile): set language (messages_) for new
4816 * buffer.C (readFile): ws changes only.
4818 2003-04-28 André Pönitz <poenitz@gmx.net>
4823 * BufferView_pimpl.C:
4824 * BufferView.C: getParFromID related ParagraphList::iterator changes
4826 2003-04-28 André Pönitz <poenitz@gmx.net>
4828 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4831 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4833 * messages.C: remove one more localedir class variable.
4835 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4837 * messages.C (getLocaleDir): singleton generation function
4839 (Messages): add a default constructor.
4841 * main.C (main): do not setup localedir here, do not call
4844 * gettext.C (_): use it.
4845 (gettext_init): delete funciton
4847 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4849 * gettext.C (getLyXMessages): new singleton generating function.
4851 * buffer.C (updateDocLang): adjust
4853 * Makefile.am (messages.o): add target
4854 (main.o): remove target
4856 2003-04-27 John Levon <levon@movementarian.org>
4861 * lyxvc.C: specify cancel button in Alert::prompt
4863 2003-04-26 John Levon <levon@movementarian.org>
4868 * LyXAction.C: add LFUN_INSET_SETTINGS
4870 * lyxfunc.C: don't enable tabular-feature when there's
4871 just any locking inset
4873 2003-04-26 John Levon <levon@movementarian.org>
4875 * bufferlist.C: re-add Cancel to buffer close question
4877 * lyxfunc.C: fix import UI a bit
4879 2003-04-25 John Levon <levon@movementarian.org>
4881 * gettext.C: remove the broken asserts for now
4883 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4885 * messages.C: make case where setlocale cannot comply work better.
4887 * buffer.C (updateDocLang): new function
4888 (changeLanguage): use it
4891 * text2.C (setCounter): use B_ a bit.
4893 * lyxlayout.C (Read): be sure to trim the label strings.
4895 * messages.C (Messages): fix typo in comment
4897 * buffer.C (readFile): set message_ after file is loaded.
4898 (makeDocBookFile): remove double return
4899 (changeLanguage): reset message_ upon language change.
4900 (B_): new func, use this to get translated buffer strings.
4902 * main.C: add myself and Jean Marc as authors.
4904 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4906 * messages.[hC]: pimplify Messages, and three different pimpls to be
4907 used in different circumstances.
4909 * gettext.[Ch]: change for use with new message code.
4911 2003-04-24 André Pönitz <poenitz@gmx.net>
4913 * factory.C: support for eqref
4915 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4917 * messages.[Ch]: add missing char
4919 * Makefile.am (lyx_SOURCES): add messages.[Ch]
4921 * messages.[Ch]: New files
4923 2003-04-18 John Levon <levon@movementarian.org>
4927 * BufferView_pimpl.C:
4931 * text2.C: remove layout-copy/paste (bug 778)
4933 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4935 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4937 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4939 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4940 if they succeed. Act accordingly.
4942 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4944 * text2.C (setCharFont): adjust
4945 (setCounter): adjust
4946 (insertStringAsLines): adjust
4948 * text.C (leftMargin): adjust
4949 (setHeightOfRow): adjust
4951 * rowpainter.C (paintFirst): adjust
4954 * paragraph_funcs.C (depthHook): ParagraphList::iterators
4956 (isFirstInSequence): ditto
4957 (getEndLabel): ditto
4960 * paragraph.C (getParLanguage): comment out some hard stuff.
4962 * buffer.C (insertStringAsLines): take a ParagraphList as arg
4964 (simpleDocBookOnePar): ditto
4965 (makeDocBookFile): use ParagraphList::iterator
4967 * CutAndPaste.C (pasteSelection): adjust
4969 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4971 * text2.C (getFont): adjust
4972 (getLayoutFont): adjust
4973 (getLabelFont): adjust
4975 * paragraph_funcs.C (TeXOnePar): adjust
4977 * buffer.C (simpleLinuxDocOnePar): adjust
4978 (simpleDocBookOnePar): adjust
4980 * CutAndPaste.C (pasteSelection): adjust
4982 * BufferView.C (getEncoding): adjust
4984 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4986 2003-04-16 John Levon <levon@movementarian.org>
4988 * lyxfind.C: use parlist stuff for search/changes
4990 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4992 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4994 * text2.C (deleteEmptyParagraphMechanism): adjust
4996 * text2.[Ch] (ownerParagraph): delete func (both of them
4998 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5000 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5002 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5004 * ParagraphList.C: prepare for NO_NEXT
5006 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5008 * text2.C (getFont): adjust
5009 (getLayoutFont): adjust
5010 (getLabelFont): adjust
5012 * paragraph.C (getFont): adjust
5013 (getLabelFont): adjust
5014 (getLayoutFont): adjust
5016 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5018 2003-04-15 John Levon <levon@movementarian.org>
5022 * lyx_main.C: handle Include in .ui files
5024 2003-04-15 John Levon <levon@movementarian.org>
5026 * MenuBackend.C: make the doc files length shorter
5029 * ToolbarBackend.C: handle toolbar placement flags,
5032 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5034 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5037 * paragraph_funcs.C (TeXOnePar): adjust
5039 * paragraph.C (getLabelFont): add outerfont arg, adjust
5040 (getLayoutFont): ditto
5041 (simpleTeXOnePar): adjust
5043 * paragraph_pimpl.C (realizeFont): delete func
5045 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
5047 * text2.C (beforeFullRowInset): added a bad getchar check, removed
5048 row argument, constify cur argument.
5050 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5052 * text2.C (getFont): adjust
5053 (getLayoutFont): adjust
5054 (getLabelFont): adjust
5056 * paragraph_funcs.C (TeXOnePar): adjust
5057 (outerFont): new func...
5058 (realizeFont): ...moved out from here, changed this to facilitate
5061 * paragraph.C (getFont): take outerfont as arg, adjust
5062 (simpleTeXOnePar): add outerfont arg, adjust
5064 * buffer.C (simpleLinuxDocOnePar): adjust
5065 (simpleDocBookOnePar): adjust
5067 * CutAndPaste.C (pasteSelection): adjust
5069 * BufferView.C (getEncoding): adjust
5071 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5073 * text2.C (setCharFont): adjust
5074 (setCounter): adjust
5076 * text.C (leftMargin): adjust
5077 (setHeightOfRow): adjust
5079 * rowpainter.C (paintFirst): adjust
5082 * paragraph_pimpl.C (realizeFont): adjust
5084 * paragraph.C (isFirstInSequence): move from here...
5085 * paragraph_funcs.C (isFirstInSequence): ...to here
5087 * paragraph.C (outerHook): move from here...
5088 * paragraph_funcs.C (outerHook): ...to here
5090 * paragraph.C (depthHook): move from here...
5091 * paragraph_funcs.C (depthHook): ...to here
5093 * paragraph.C (getEndLabel): move from here...
5094 * paragraph_funcs.C (getEndLabel): ...to here
5096 * text2.C (realizeFont): move from here...
5097 * paragraph_funcs.C (realizeFont): ...to here
5099 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5101 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5103 2003-04-14 Angus Leeming <leeming@lyx.org>
5105 * LColor.[Ch]: scrap LColor mathcursor.
5107 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5109 * lyxlex.[Ch] (text): delete function
5110 * trans.C (Load): adjust
5111 * paragraph_funcs.C (readParToken): adjust
5113 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5115 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5116 vector<char> instead of a char[].
5118 * lyxlex_pimpl.C (getString): adjust
5120 (lex): use getString
5124 * lyxlex.C (text): use pimpl_->getString()
5128 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5130 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5131 (makeFontEntriesLayoutSpecific): temp var for par.size()
5132 (setLayout): temp var for ownerParagraphs().end()
5133 (fullRebreak): temp var for rows().end()
5134 (selectionAsString): temp var for boost::next(startpit), realize
5135 that the while really is a regular for loop.
5136 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5137 setCursor in one place.
5138 (setParagraph): temp vr for ownerParagraphs().end()
5139 (updateCounters): make the while loop a for loop
5140 (cutSelection): temp var for ownerParagraphs().end()
5141 (updateInset): make the do {} while() a regular for loop
5142 (getCursorX): use temp vars
5143 (setCurrentFont): use temp vars
5144 (getColumnNearX): use temp vars
5146 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5148 * text.C (transformChar): use temp var for getChar
5149 (computeBidiTables): use temp var for row->par()
5150 (fill): move temp vars for row->par() and pit->layout() earlier in
5152 (labelFill): use temp var for row->par()
5153 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5154 asc and desc, realize that pit never changes and that firstpit is
5155 just a duplicate and not needed. Exchange rit->par() with pit in a
5157 (breakAgain): use a temp var for boost::next(rit)
5158 (breakAgainOneRow): ditto
5159 (breakParagraph): use a temp var for rows().begin()
5160 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5161 (cursorRightOneWord): use temp var for cursor.par() and
5162 cursor.pos(), remove usage of tmpcursor.
5163 (cursorLeftOneWord): use temp var for cursor.par() and
5164 cursor.pos() only set cur at end of function.
5166 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5168 * text.C, text2.C: exchange all usage of Paragraph::next with
5169 boost::next(ParagraphList::iterator)
5171 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5173 * text2.C (cursorTop): simplify implementation
5174 (cursorBottom): ditto
5175 (setParagraph): use ParagraphList::iterator
5176 (setCurrentFont): adjust
5177 (getColumnNearX): adjust
5178 (cursorRight): adjust
5179 (cursorLeft): remove usage of Paragraph::previous
5180 (cursorUpParagraph): ditto
5181 (deleteEmptyParagraphMechanism): slight cleanup
5183 * text.C (isBoundary): take a Paragraph const & instead of a
5185 (addressBreakPoint): ditto
5186 (leftMargin): remove usage of Paragraph::previous.
5187 (setHeightOfRow): ditto
5188 (cursorLeftOneWord): ditto
5189 (selectNextWordToSpellcheck): ditto
5192 (breakParagraph): remove one usage of Paragraph::next
5193 (redoParagraph): ditto
5194 (acceptChange): ditto
5195 (insertChar): adjust
5196 (rowBreakPoint): adjust
5198 * bufferview_funcs.C (toggleAndShow): adjust
5200 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
5202 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5203 methods to access it.
5205 * text.C: Added updateRowPositions to compute all row positions.
5206 Make top_y and getRowNearY() to use the cached y position
5208 2003-04-11 John Levon <levon@movementarian.org>
5210 * text.C (rowBreakPoint): reintroduce the labelEnd
5211 checks, code copied from the row fill stuff. Deep voodoo.
5213 * text.C (fill): add a comment and debugging for the
5216 2003-04-11 John Levon <levon@movementarian.org>
5218 * text.C: make sure fullrow insets get wrapped to the next line,
5219 even when they're in a manual label
5221 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5223 * text2.C (insertParagraph): make it take ParagraphList::iterator
5225 (setLayout): make it return ParagraphList::iterator
5226 (redoParagraphs): ditto
5228 (checkParagraph): ditto
5230 * text.C (getRow): make getrow take ParagraphList::iterator as arg
5232 * text2.C: adjust several funcs.
5233 (realizeFont): take a ParagraphList::iterator as arg.
5234 (getLayoutFont): ditto
5235 (getLabelFont): ditto
5236 (setCharFont): ditto
5238 * text.C: adjust several funcs.
5240 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5242 * text.C (selectNextWordToSpellcheck): don't accidentally
5245 2003-04-10 John Levon <levon@movementarian.org>
5247 * ToolbarBackend.C (getIcon): special handling for
5250 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5252 * text2.C (cursorRight): a getChar assert fixed
5254 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5256 * text2.C (getFont): change to take a ParagraphList::iterator
5257 instead of Paragraph*
5258 Adjust several functions.
5260 * text.C (transformChar): change to take a ParagraphList::iterator
5261 instead of Paragraph*
5262 (singleWidth): ditto
5263 Adjust several functions.
5265 * rowpainter.C: adjust several functions
5266 * rowpainter.h:store a ParagraphList::iterator and not a
5270 2003-04-09 John Levon <levon@movementarian.org>
5275 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5276 and the "help" bits as well
5278 2003-04-09 John Levon <levon@movementarian.org>
5281 * ToolbarBackend.C: allow multiple toolbars
5283 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5285 * undo_funcs.C (setCursorParUndo): adjust
5287 * text_funcs.C (transposeChars): adjust
5289 * text3.C (gotoNextInset): adjust
5292 * text2.C (setLayout): adjust
5293 (changeDepth): adjust
5295 (redoParagraphs): adjust
5296 (selectionAsString): adjust
5297 (setParagraph): adjust
5298 (insertInset): adjust
5299 (cutSelection): adjust
5300 (copySelection): adjust
5301 (pasteSelection): adjust
5302 (insertStringAsLines): adjust
5303 (updateInset): adjust
5304 (setCursor): change to take a ParagraphList::iterator parameter
5305 (setCursorIntern): change to take a ParagraphList::iterator parameter
5306 (setCurrentFont): adjust
5307 (cursorLeft): adjust
5308 (cursorRight): adjust
5309 (deleteEmptyParagraphMechanism): adjust
5311 * text.C (breakParagraph): adjust
5312 (insertChar): adjust
5313 (acceptChange): adjust
5314 (rejectChange): adjust
5315 (selectNextWordToSpellcheck): adjust
5316 (changeCase): adjust
5320 * lyxfind.C (SearchForward): adjust
5321 (SearchBackward): adjust
5322 (nextChange): adjust
5324 * lyxcursor.C (par): adjust
5326 * lyxcursor.h: store a ParagraphList::iterator instead of a
5329 * lyx_cb.C (getPossibleLabel): adjust
5331 * bufferview_funcs.C (toggleAndShow): adjust
5333 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5336 * BufferView.C (removeAutoInsets): adjust
5337 (lockedInsetStoreUndo): adjust
5339 2003-04-09 John Levon <levon@movementarian.org>
5341 * ToolbarBackend.C: try icon without argument
5342 if with argument fails
5344 2003-04-08 John Levon <levon@movementarian.org>
5347 * ToolbarBackend.C: add getIcon(), handle tooltip,
5348 and change from "Icon" to "Item".
5350 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5352 * BufferView.C (lockInset): another bad getchar crunched
5354 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5356 * text2.C (changeDepth): do not setUndo on test_only (make undo work
5359 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
5361 * lyxfind.C (searchForward, searchBackwards): bug 782
5363 2003-04-07 John Levon <levon@movementarian.org>
5365 * paragraph.C: remove dead comment
5367 * text.C: remove troublesome depth-fiddling code
5368 in leftMargin() and rightMargin() (bug 1017)
5370 * text.C: fix breaking of rows in nested lists
5373 * text2.C (updateCounters): fix up depth values
5376 2003-04-07 John Levon <levon@movementarian.org>
5378 * BufferView_pimpl.C: clear message when doc finishes resizing,
5379 and after a mouse event
5381 * lyxfunc.C: clear message after exiting inset
5383 2003-04-07 John Levon <levon@movementarian.org>
5385 * bufferview_funcs.C: show math status not outside
5386 status in the statusbar
5388 2003-04-07 John Levon <levon@movementarian.org>
5390 * lyxfunc.C: note status changed after a depth change
5392 2003-04-04 Angus Leeming <leeming@lyx.org>
5394 * LaTeX.h: move AuxInfo operator==, != out of line.
5395 Remove LaTeX virtual destructor; nothing derives from it.
5396 Move operator()() out of public area and rename it startscript().
5397 Change protected for private.
5399 2003-04-04 Angus Leeming <leeming@lyx.org>
5402 * text2.C: remove unneeded #includes.
5404 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5406 * text2.C (dEPM): fix the heigth of the next row
5408 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5410 * text.C: squashed an invalid getChar requester + some ws changes
5412 2003-04-03 John Levon <levon@movementarian.org>
5414 * bufferview_funcs.h:
5415 * bufferview_funcs.C:
5418 * text2.C: make getStatus work for the env depth lfuns
5420 2003-04-03 John Levon <levon@movementarian.org>
5422 * bufferview_funcs.h:
5423 * bufferview_funcs.C:
5426 * text2.C: parlistize decDepth(), by merging it with incDepth()
5428 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5430 * lyxrow.h: store a ParagraphList::iterator instead of a
5431 Paragraph* and adjust other class functions to suit.
5433 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5436 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5438 * text2.C (setCursor): do not anchor to cursor row for the time being
5440 2003-04-02 John Levon <levon@movementarian.org>
5447 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5449 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5451 * paragraph.h: make ParagraphList and ParagraphList::iterator
5452 friends of Paragraph.
5454 * buffer.C (makeLinuxDocFile): move towards ParagraphList
5456 * ParagraphList.C: Use the private next_ and previous_ from
5459 2003-04-01 John Levon <levon@movementarian.org>
5463 * Makefile.am: rename, remove defaults gunk
5466 * MenuBackend.C: remove defaults gunk
5469 * Languages.C: remove defaults gunk
5472 * lyx_main.C: error out if files couldn't be found.
5474 2003-04-02 John Levon <levon@movementarian.org>
5476 * text2.C: make incDepth() use parlist
5478 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5480 * undo_funcs.C (firstUndoParagraph): adjust
5482 * text3.C (gotoInset): adjust
5483 (dispatch): adjust, and rewrite loop.
5485 * text2.C (init): adjust, and rewrite loop.
5486 (redoParagraphs): adjust
5487 (updateInset): adjust, and rewrite loop.
5488 (deleteEmptyParagraphMechanism): adjust
5490 * tabular.C (LyXTabular): adjust
5491 (SetMultiColumn): adjust
5494 * lyxtext.[Ch] (ownerParagraph): delete function
5495 (ownerParagraphs): new function returns a ParagraphList.
5497 * BufferView.C (removeAutoInsets): adjust
5498 (insertErrors): adjust
5499 (setCursorFromRow): adjust
5501 2003-04-01 Angus Leeming <leeming@lyx.org>
5503 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5506 2003-04-02 John Levon <levon@movementarian.org>
5512 * text_funcs.C: make transposeChars a free function
5514 * lyxrow_funcs.C: remove wrong comment
5516 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5519 * rowpainter.C: adjust
5524 * lyxrow_funcs. [Ch]: new files
5526 * lyxrow.[Ch]: remove next and previous pointers
5527 (next,previous): remove accessor functions
5528 (isParEnd): move to lyxrow_funcs
5529 (lastPos): move to lyxrow_funcs
5530 (nextRowIsAllInset): move to lyxrow_funcs
5531 (lastPrintablePos): move to lyxrow_funcs
5532 (numberOfSeparators): move to lyxrow_funcs
5533 (numberOfHfills): move to lyxrow_funcs
5534 (numberOfLabelHfills): move to lyxrow_funcs
5535 (hfillExpansion): move to lyxrow_funcs
5539 * bufferview_funcs.C (toggleAndShow): adjust
5541 * RowList.h: Remove class RowList from file leave just a
5544 * RowList.C: delete file
5546 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5549 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5551 * text3.C (cursorPrevious): adjust
5552 (cursorNext): adjust
5555 * text2.C (redoHeightOfParagraph): adjust
5556 (redoDrawingOfParagraph): adjust
5559 * text.C (breakParagraph): adjust
5560 (insertChar): adjust
5563 * rowpainter.C (RowPainter): adjust
5564 (leftMargin): simplify and adjust
5565 (most rowpainter functions): adjust.
5567 * rowpainter.h: store the row as RowList::iterator not as Row*
5569 * lyxcursor.C (row): taka RowList::iterator as arg
5572 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5575 2003-04-01 Angus Leeming <leeming@lyx.org>
5577 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5578 stuff like bool Bool.
5580 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5582 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5585 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5587 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5590 * lyxtext.h (rows): drop one version and leve a const variant that
5591 returns a RowList::iterator.
5593 2003-03-31 Angus Leeming <leeming@lyx.org>
5595 * text.C (fill): ensure that the signature is the same as that in the
5598 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
5600 * text2.C (redoParagraphs): adjust
5601 (updateCounters): adjust
5602 (checkParagraph): adjust
5603 (getColumnNearX): adjust and reformat a bit.
5605 * text.C (top_y): adjust
5607 (leftMargin): adjust
5608 (prepareToPrint): adjust
5610 (getRowNearY): adjust
5612 * lyxtext.h: make rowlist_ mutable.
5614 * RowList.h: add const_iterator
5615 * RowList.C: adjust for RowList::const_iterator.
5617 * text2.C (getCursorX): make it take a RowList::iterator as arg,
5620 2003-03-31 John Levon <levon@movementarian.org>
5623 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5625 * lyx_main.C: set default fonts from using lyx_gui funcs
5627 * exporter.C: pdf_mode moved from lyxrc
5630 * lyxfunc.C: changes from above
5632 2003-03-31 John Levon <levon@movementarian.org>
5634 * lyx_main.C: fix to the last fix
5636 2003-03-31 John Levon <levon@movementarian.org>
5638 * bufferlist.C: "Load original" -> "Load Original"
5644 * format.C: more Alert cleanups
5646 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5648 * text2.C (removeParagraph): make it take a RowList::iterator as
5650 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5651 (postRowPaint): make it take a RowList::iterator as arg, adjust.
5653 * text.C (anchor_row): make it take a RowList::iterator as arg,
5655 (computeBidiTables): make it take a const reference to Row instead
5656 of Row pointer, adjust.
5657 (leftMargin): make it take a RowList::iterator as arg, adjust.
5658 (rowBreakPoint): adjust
5659 (breakAgainOneRow): make it take a RowList::iterator as arg,
5661 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5663 * bufferview_funcs.C (toggleAndShow): adjust
5665 2003-03-30 John Levon <levon@movementarian.org>
5669 * boost-inst.C: moved to support
5671 * several files: changes as a result
5673 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5675 * text2.C (LyXText): adjust.
5677 (removeRow): make it take a RowList::iterator as arg, adjust.
5678 (fullRebreak): adjust
5679 (deleteEmptyParagraphMechanism): adjust
5680 (clearPaint): adjust
5683 * text.C (top_y): adjust
5684 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5685 (breakAgain): make it take a RowList::iterator as arg, adjust.
5686 (breakParagraph): adjust
5687 (insertChar): adjust
5690 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5691 need_break_row, and refresh_row.
5693 * text3.C (dispatch): adjust
5695 * text2.C (checkParagraph): adjust
5697 (setCursorFromCoordinates): adjust
5699 * text.C (top_y): adjust
5701 (getRow): make it return a RowList::iterator, adjust
5702 (getRowNearY): make it return a RowList::iterator, adjust
5704 * text2.C (init): adjust
5705 (insertRow): remove function
5706 (insertParagraph): adjust
5707 (redoParagraphs): adjust
5708 (fullRebreak): adjust
5709 (updateCounters): adjust
5711 * text.C (top_y): rewrite to use RowList iterators.
5713 (setHeightOfRow): rewrite to sue RowList iterators.
5714 (appendParagraph): adjust
5715 (breakAgain): adjust
5716 (breakAgainOneRow): adjust
5717 (breakParagraph): adjust
5719 (getRowNearY): adjust, and remove commented code.
5721 * lyxtext.h (firstRow): delete function
5722 (lastRow): delete function
5723 (rows): new function (const and non-const versions.)
5724 (insertRow): delete function
5726 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5728 2003-03-29 John Levon <levon@movementarian.org>
5730 * BufferView_pimpl.C: always update scrollbar top
5731 because pasting text when we're anchored could mean we
5732 miss an update altogether
5734 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5736 * text2.C (init): use rowlist_.end() and not 0.
5737 (insertRow): change to take a RowList::iterator as arg, adjust
5739 (insertParagraph): change to take a RowList::iterator as arg,
5741 (redoParagraphs): remove some debug msgs.
5743 * text.C (appendParagraph): change to take a RowList::iterator
5744 arg, adjust for this.
5745 (breakAgain): add an assert
5746 (breakAgainOneRow): ditto
5748 2003-03-29 John Levon <levon@movementarian.org>
5750 * text2.C: do not clear selection after inc/decDepth
5753 2003-03-29 John Levon <levon@movementarian.org>
5756 * buffer.C: fix broken strerrors according to Lars
5758 2003-03-29 John Levon <levon@movementarian.org>
5760 * converters.C: more Alert cleanups
5762 2003-03-29 John Levon <levon@movementarian.org>
5764 * bufferview_funcs.C: remove pointless Alert
5766 * buffer.C: fix confusing error message when
5767 a template is chmoded 000
5769 2003-03-29 John Levon <levon@movementarian.org>
5773 * BufferView_pimpl.C: Alert fixes
5777 * tabular-old.C: remove unused table compat reading
5779 2003-03-29 John Levon <levon@movementarian.org>
5784 * lyx_cb.C: more Alert cleanups
5786 * lyxfunc.C: don't allow chktex if not latex document
5788 2003-03-29 John Levon <levon@movementarian.org>
5792 * buffer.C: warnings pushed down from support/,
5795 2003-03-29 John Levon <levon@movementarian.org>
5797 * lyxfunc.C: safety check for C-r (revert)
5799 2003-03-29 John Levon <levon@movementarian.org>
5802 * bufferlist.C: several UI fixes using Alert::prompt.
5803 Fix the pointless looping quit code. Fix stupid revert
5808 * lyx_cb.C: use Alert::prompt
5810 * lyx_main.C: remove a silly question
5812 * lyxfunc.C: remove a couple of silly questions,
5815 2003-03-28 John Levon <levon@movementarian.org>
5817 * text2.C: fix bug 974 (End on empty par)
5819 2003-03-28 John Levon <levon@movementarian.org>
5821 * BufferView_pimpl.C:
5823 * lfuns.h: remove do-nothing math greek lfuns
5825 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5827 * lyxgluelength.h (isValidGlueLength): add default arg on
5828 parameter 2. Remove default arg from friend in class.
5830 * lyxlength.h (isValidLength): add default arg on parameter 2.
5831 Remove default arg from friend in class.
5833 * text2.C (LyXText): adjust, initialize refresh_row.
5837 (insertParagraph): adjst
5838 (redoParagraphs): adjust
5839 (fullRebreak): adjust
5840 (updateCounters): adjust
5841 (deleteEmptyParagraphMechanism): first attempt at fixing a
5844 * text.C (top_y): adjust
5845 (setHeightOfRow): adjust
5847 (getRowNearY): adjust
5849 * lyxtext.h: include RowList.h
5850 (~LyXText): not needed anymore, deleted.
5851 (firstRow): modify for RowList
5852 (lastRow): new function
5853 Delete firstrow and lastrow class variables, add a Rowlist
5854 rowlist_ class variable.
5856 * lyxrow.C (lastPos): use empty() and not !size() to check if a
5859 * RowList.C (insert): fix case where it == begin().
5861 2003-03-26 Angus Leeming <leeming@lyx.org>
5863 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5864 the thesaurus dialog.
5866 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5868 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5870 * RowList.[Ch]: new files
5872 * ParagraphList.C (erase): handle the case where it == begin
5875 2003-03-25 John Levon <levon@movementarian.org>
5879 * aspell.C: add new aspell support
5882 * lyxrc.C: Make use_pspell be use_spell_lib. Always
5885 2003-03-25 Angus Leeming <leeming@lyx.org>
5888 * LyXAction.C (init): new LFUN_INSET_INSERT.
5890 * BufferView_pimpl.C (dispatch): split out part of the
5891 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5893 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5896 2003-03-25 Angus Leeming <leeming@lyx.org>
5898 * lyxfunc.C (dispatch): changes to the Dialogs interface.
5900 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
5903 * text3.C: remove useless row->height(0)
5905 2003-03-25 John Levon <levon@movementarian.org>
5909 * text3.C: rename the refreshing stuff to better names
5911 2003-03-24 John Levon <levon@movementarian.org>
5913 * BufferView_pimpl.h:
5914 * BufferView_pimpl.C: update layout choice on a mouse
5917 2003-03-23 John Levon <levon@movementarian.org>
5919 * Makefile.am: fix commandtags.h reference
5921 2003-03-22 John Levon <levon@movementarian.org>
5923 * BufferView_pimpl.C:
5928 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5930 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
5933 * text.C: take the rtl methods out of line
5935 2003-03-21 André Pönitz <poenitz@gmx.net>
5937 * metricsinfo.[Ch]: new files containing structures to be passed around
5938 during the two-phase-drawing...
5940 2003-03-21 André Pönitz <poenitz@gmx.net>
5942 * lyxtextclass.C: read 'environment' tag.
5944 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
5946 * text2.C (removeRow): fix bug 964
5948 2003-03-20 John Levon <levon@movementarian.org>
5952 * text2.C: paint cleanups. Inset::update() dropped font
5955 2003-03-19 John Levon <levon@movementarian.org>
5957 * lyxfunc.C: only fitcursor/markDirty if available()
5959 2003-03-19 John Levon <levon@movementarian.org>
5961 * commandtags.h: rename to ...
5963 * lfuns.h: ... this, and renumber / cleanup
5965 2003-03-19 John Levon <levon@movementarian.org>
5967 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5968 fit the cursor after an lfun
5972 * BufferView_pimpl.h:
5973 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5975 * LyXAction.C: layout-character should have ReadOnly
5977 * ParagraphParameters.C:
5979 * bufferview_funcs.C:
5986 * undo_funcs.C: changes from above
5988 2003-03-18 John Levon <levon@movementarian.org>
5990 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5991 remove it from update()
5993 * lyxfunc.C: update layout choice after an lfun
5995 * text3.C: remove extra updateLayoutChoice()s
5997 2003-03-18 John Levon <levon@movementarian.org>
5999 * text.C: top_y change means full repaint, fix
6000 a drawing bug with cursor movement
6002 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6006 * text2.C: anchor row on setCursor
6008 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6010 * lyxtext.h: remove almost all mutable keywords
6013 * text3.C: remove const keywords accordingly
6015 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6017 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6019 (TeXEnvironment): ditto
6022 2003-03-17 John Levon <levon@movementarian.org>
6024 * text.C (rowBreakPoint): remove attempt to fix displayed
6025 math insets inside a manual label
6027 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6029 * lyxtext.h: remove BufferView* as first arg from almost all class
6031 * other files: adjust.
6033 2003-03-17 John Levon <levon@movementarian.org>
6037 * text2.C: more paint cleanups
6039 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6042 * rowpainter.C: remove "smart" background painting code
6044 2003-03-16 John Levon <levon@movementarian.org>
6049 * text3.C: add helper functions for setting refresh_row/y
6051 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
6053 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6054 newline inset which *can* get inserted in the pass_thru layouts.
6055 This is primarily for literate documents.
6057 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
6059 * buffer.C: increment LYX_FORMAT to 223
6061 2003-03-14 André Pönitz <poenitz@gmx.net>
6063 * textclass.h: prepare for environment handling, ws changes
6064 * lyxlayout.C: read latexheader and latexfooter tags
6066 2003-03-14 John Levon <levon@movementarian.org>
6068 * text2.C: rewrite ::status() a bit
6070 2003-03-13 John Levon <levon@movementarian.org>
6072 * lyxtext.h: add some docs
6074 2003-03-13 John Levon <levon@movementarian.org>
6079 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6081 2003-03-13 John Levon <levon@movementarian.org>
6083 * text3.C: fix appendix redrawing
6085 2003-03-13 John Levon <levon@movementarian.org>
6087 * text.C (setHeightOfRow):
6089 * rowpainter.C: make appendix mark have the text
6090 "Appendix" so the user knows what it is
6093 * LColor.C: s/appendixline/appendix/ from above
6095 2003-03-13 John Levon <levon@movementarian.org>
6097 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6099 * text.C: fix a getChar(pos) bug properly
6101 2003-03-13 Angus Leeming <leeming@lyx.org>
6104 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6105 Probably only temporary. Let's see how things pan out.
6107 * BufferView.C (unlockInset):
6108 * BufferView_pimpl.C (fitCursor):
6109 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6111 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6112 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6114 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6115 new functions that convert ParagraphParameters to and from a string.
6117 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6118 BufferView::Pimpl's dispatch.
6119 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6121 2003-03-13 André Pönitz <poenitz@gmx.net>
6125 * factory.C: make it aware of InsetEnv
6127 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6129 * text2.C (setCursor): never ask for one past last
6130 (setCursor): add some debugging messages.
6132 * text.C (singleWidth): never ask for one past last
6133 (singleWidth): ditto
6135 (rightMargin): ditto
6136 (rowBreakPoint): ditto
6137 (setHeightOfRow): ditto
6138 (prepareToPrint): ditto
6140 * rowpainter.C (paintBackground): never ask for one past last
6141 (paintText): never ask for one past last
6143 * paragraph_pimpl.C (getChar): make the assert stricter, never
6144 allow the one past last pos to be taken
6146 * paragraph.C (getChar): ws changes only
6148 * lyxrow.C (nextRowIsAllInset): never ask for one past last
6149 (numberOfSeparators): ditto
6150 (numberOfHfills): ditto
6152 2003-03-12 John Levon <levon@movementarian.org>
6158 * paragraph_funcs.C: fix per-buffer authorlists
6160 2003-03-12 John Levon <levon@movementarian.org>
6162 * text.C: fix newline in right address
6164 2003-03-12 Angus Leeming <leeming@lyx.org>
6166 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6167 duplicate those in LyXFunc::dispatch.
6171 * ToolbarDefaults.C:
6172 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6173 Add LFUN_FONTFREE_UPDATE.
6175 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6176 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6178 * bufferview_func.[Ch]: several new functions to facilliate
6179 transfer of data to and from the character dialog.
6181 2003-03-12 John Levon <levon@movementarian.org>
6186 * paragraph_funcs.C:
6187 * paragraph_pimpl.C:
6191 * text3.C: remove META_NEWLINE in favour of an inset
6194 * rowpainter.C: remove paintNewline (done by inset)
6196 2003-03-12 John Levon <levon@movementarian.org>
6198 * paragraph_pimpl.C: complain about bad getChar()s
6199 for a while at least
6201 2003-03-12 John Levon <levon@movementarian.org>
6204 * buffer.C: move paragraph read into a separate function,
6205 a little renaming to reflect that.
6208 * bufferparams.C: remove the author_ids map, not necessary now
6211 * factory.C: moved Buffer::readInset to here
6213 * paragraph_funcs.h:
6214 * paragraph_funcs.C: readParagraph free function moved from
6217 * tabular.C: name change
6219 2003-03-12 John Levon <levon@movementarian.org>
6222 * ParagraphParameters.C: move par params input to
6225 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6226 behave like a normal read from the stream wrt reading
6227 a line vs. a \\token
6229 2003-03-12 John Levon <levon@movementarian.org>
6232 * ParagraphParameters.h:
6233 * ParagraphParameters.C: move output code to a
6236 2003-03-12 John Levon <levon@movementarian.org>
6238 * BufferView.C (insertLyXFile):
6241 * tabular.C: use a parlist iterator for creating the
6244 2003-03-12 John Levon <levon@movementarian.org>
6246 * buffer.C: make current_change static local not
6249 2003-03-12 John Levon <levon@movementarian.org>
6251 * buffer.C: fix insertStringAsLines for change tracking
6253 2003-03-12 John Levon <levon@movementarian.org>
6260 * bufferparams.C: move author list into params. Rename some
6261 functions. Move the header reading into a separate token
6262 loop. Move the header token reading into BufferParams.
6264 2003-03-12 John Levon <levon@movementarian.org>
6266 * changes.C: put debug inside lyxerr.debugging() checks
6268 2003-03-11 André Pönitz <poenitz@gmx.net>
6270 * factory.C: make it aware of InsetHFill
6272 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6274 * buffer.C (latexParagraphs): move function from here...
6275 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6278 2003-03-10 Angus Leeming <leeming@lyx.org>
6280 * LyXAction.C (init): fix bug in poplating array with multiple entries
6281 with the same LFUN (spotted by JMarc).
6283 2003-03-10 John Levon <levon@movementarian.org>
6286 * text2.C: move getColumnNearX() near its
6289 2003-03-10 John Levon <levon@movementarian.org>
6291 * text.C: fix break before a minipage
6293 2003-03-10 John Levon <levon@movementarian.org>
6295 * text.C: fix the last commit
6297 2003-03-09 John Levon <levon@movementarian.org>
6301 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6302 bug 365 (don't break before insets unless needed). Don't
6303 return a value > last under any circumstances.
6305 2003-03-09 Angus Leeming <leeming@lyx.org>
6307 * BufferView_pimpl.C (trackChanges, dispatch): call
6308 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6310 2003-03-09 Angus Leeming <leeming@lyx.org>
6312 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6313 than Dialogs::showAboutlyx().
6315 2003-03-09 Angus Leeming <leeming@lyx.org>
6317 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6318 than Dialogs::showTabularCreate().
6320 2003-03-09 John Levon <levon@movementarian.org>
6324 * text2.C: 3rd arg to nextBreakPoint was always the same.
6327 2003-03-08 John Levon <levon@movementarian.org>
6334 * text2.C: Remove the "main" bit from the "main body"
6337 2003-03-08 John Levon <levon@movementarian.org>
6339 * text.C (leftMargin): The left margin of an empty
6340 manual label paragraph should not include the label width
6343 * text.C (prepareToPrint): don't attempt to measure hfills
6344 for empty manual label paragraphs - the answer should be 0
6346 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6348 * CutAndPaste.C: remove commented code and reindent.
6350 2003-03-08 John Levon <levon@movementarian.org>
6353 * lyxfunc.C: move reloadBuffer()
6356 * BufferView.C: to here
6358 * lyxvc.C: add comment
6361 * vc-backend.C: call bv->reload() to avoid
6362 getStatus() check on MENURELOAD
6364 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
6366 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6367 to an old format .dep file.
6369 2003-03-07 Angus Leeming <leeming@lyx.org>
6371 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6372 when the LFUN_MOUSE_RELEASE should have been handled by
6373 inset->localDispatch.
6375 2003-03-07 Angus Leeming <leeming@lyx.org>
6377 * BufferView_pimpl.C (dispatch):
6378 * LyXAction.C (init):
6379 * ToolbarDefaults.C (init):
6381 * lyxfunc.C (getStatus):
6382 remove LFUN_INSET_GRAPHICS.
6384 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6386 2003-03-07 Angus Leeming <leeming@lyx.org>
6389 * LyXAction.C (init):
6390 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6392 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6395 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6397 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6398 localDispatch method LFUN_INSET_DIALOG_UPDATE.
6400 2003-03-07 Angus Leeming <leeming@lyx.org>
6402 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6405 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6407 * ParagraphList.C (front): new function
6410 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
6412 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6413 and top_row_offset_. removed var first_y.
6415 * text2.C (LyXText, removeRow):
6417 * BufferView_pimpl.C:
6418 use these methods instead of using first_y
6420 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6422 * text2.C (pasteSelection): adjust for checkPastePossible
6424 * CutAndPaste.C: remove Paragraph * buf and replace with
6425 ParagraphList paragraphs.
6426 (DeleteBuffer): delete
6427 (cutSelection): change the tc type to textclass_type
6428 (copySelection): change the tc type to textclass_type
6429 (copySelection): adjust for ParagraphList
6430 (pasteSelection): change the tc type to textclass_type
6431 (pasteSelection): adjust for Paragraphlist
6432 (nrOfParagraphs): simplify for ParagraphList
6433 (checkPastePossible): simplify for ParagraphList
6434 (checkPastePossible): remove unused arg
6436 * ParagraphList.C (insert): handle the case where there are no
6439 * CutAndPaste.h: make CutAndPaste a namespace.
6441 * text3.C (dispatch): adjust
6443 * text.C (breakParagraph): add a ParagraphList as arg
6445 * paragraph_funcs.C (breakParagraph): change to take a
6446 BufferParams and a ParagraphList as args.
6447 (breakParagraphConservative): ditto
6448 (mergeParagraph): ditto
6449 (TeXDeeper): add a ParagraphList arg
6450 (TeXEnvironment): ditto
6453 * buffer.C (readLyXformat2): adjust
6454 (insertStringAsLines): adjust
6455 (latexParagraphs): adjust
6457 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6458 (cutSelection): adjust
6459 (pasteSelection): adjust
6461 * BufferView_pimpl.C (insertInset): adjust
6463 2003-03-05 Angus Leeming <leeming@lyx.org>
6466 * LyXAction.C (init):
6467 * BufferView_pimpl.C (dispatch):
6468 * lyxfunc.C (getStatus):
6469 remove LFUN_CHILD_INSERT.
6471 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6473 2003-03-05 Angus Leeming <leeming@lyx.org>
6476 * LyXAction.C (init):
6477 * src/factory.C (createInset):
6478 * lyxfunc.C (getStatus):
6479 * text3.C (dispatch):
6480 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6482 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6484 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6486 * ParagraphList.C (insert): handle insert right before end()
6487 (erase): fix cases where it can be first or last paragraph.
6489 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6491 * paragraph_funcs.C (TeXEnvironment): remove all usage of
6492 Paragraph::next and Paragraph::previous
6495 * text.C (breakParagraph): adjust
6497 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6498 BufferParams& as arg.
6499 (breakParagraph): use ParagraphList::insert
6500 (breakParagraphConservative): take a Buffer* instead of a
6501 BufferParams& as arg.
6502 (breakParagraphConservative): use ParagraphList::insert.
6504 * buffer.C (insertStringAsLines): un-const it
6505 (insertStringAsLines): adjust
6507 * ParagraphList.C (insert): new function
6509 * CutAndPaste.C (pasteSelection): adjust
6511 * text.C (backspace): adjust
6513 * tabular.C (SetMultiColumn): adjust
6515 * CutAndPaste.C (cutSelection): adjust
6516 (pasteSelection): adjust
6518 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6519 Buffer const * as arg
6521 * ParagraphList.C (erase): new function
6522 * paragraph_funcs.C (mergeParagraph): use it
6523 (mergeParagraph): make it take a Buffer* instead of a
6524 BufferParams* as arg
6526 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6528 (breakParagraphConservative): ditto
6530 * paragraph.h: remove the breakParagraph friend
6532 * paragraph.C (eraseIntern): new function
6533 (setChange): new function
6535 * paragraph_funcs.C (mergeParagraph): make it take a
6536 ParagraphList::iterator instead of a Paragraph *, adjust
6539 * paragraph.h: move an #endif so that the change tracking stuff
6540 also works in the NO_NEXT case.
6542 2003-03-04 Angus Leeming <leeming@lyx.org>
6545 * LyXAction.C: new LFUN_INSET_MODIFY.
6547 * BufferView_pimpl.C (dispatch): if an inset is found to be open
6548 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6550 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6552 * several files: ws changes only
6554 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6555 (TeXEnvironment): ditto
6558 * buffer.C (makeLaTeXFile): adjust
6559 (latexParagraphs): make it take ParagraphList::iterator as args
6561 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6563 * buffer.C (latexParagraphs): adjust
6565 * paragraph.C (TeXOnePar): move function...
6566 (optArgInset): move function...
6567 (TeXEnvironment): move function...
6568 * paragraph_pimpl.C (TeXDeeper): move function...
6569 * paragraph_funcs.C: ...here
6571 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6573 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6575 * buffer.C (readInset): remove compability code for old Figure and
6578 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6580 * buffer.C: ws changes
6583 * BufferView_pimpl.C: ditto
6586 * bufferlist.h: ditto
6590 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
6592 * converter.[Ch]: split into itself +
6595 * Makefile.am: += graph.[Ch] + format.[Ch]
6602 * lyxrc.C: added #include "format.h"
6604 2003-02-27 Angus Leeming <leeming@lyx.org>
6606 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6609 * factory.C (createInset): add "label" to the factory.
6611 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6612 string and do no more.
6614 2003-02-27 Angus Leeming <leeming@lyx.org>
6617 * LyXAction.C (init):
6618 * factory.C (createInset):
6619 * BufferView_pimpl.C (dispatch):
6620 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6622 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6624 * lyxfunc.C (dispatch):
6625 * text3.C (dispatch): pass name to params2string.
6627 2003-02-26 Angus Leeming <leeming@lyx.org>
6629 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6631 Rearrange the ~includes. Strip out the unnecessary ones.
6633 * factory.C (createInset): reformat.
6634 create new insets for the various LFUN_XYZ_APPLY lfuns.
6636 2003-02-26 John Levon <levon@movementarian.org>
6639 * lyxrow.C: add isParStart,isParEnd helpers
6641 * paragraph.h: make isInserted/DeletedText take refs
6643 * paragraph_funcs.h:
6644 * paragraph_funcs.C: remove #if 0'd code
6649 * text.C: use lyxrow helpers above.
6650 Move draw and paint routines to RowPainter.
6651 Make several methods use refs not pointers.
6652 Make backgroundColor() const.
6653 Add markChangeInDraw(), isInInset().
6654 Merge changeRegionCase into changeCase.
6655 Make workWidth() shouldn't-happen code into an Assert.
6658 * rowpainter.C: new class for painting a row.
6661 * vspace.C: make inPixels take a ref
6663 2003-02-26 Angus Leeming <leeming@lyx.org>
6665 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6668 2003-02-25 John Levon <levon@movementarian.org>
6670 * ispell.C: give the forked command a more accurate name
6672 2003-02-22 John Levon <levon@movementarian.org>
6675 * toc.C: make TocItem store an id not a Paragraph *
6678 2003-02-21 Angus Leeming <leeming@lyx.org>
6680 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6681 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6682 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6683 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6684 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6685 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6687 * BufferView_pimpl.C (dispatch):
6688 * LyXAction.C (init):
6689 * factory.C (createInset):
6690 * lyxfunc.C (getStatus, dispatch):
6691 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6693 2003-02-21 Angus Leeming <leeming@lyx.org>
6695 * BufferView_pimpl.C (MenuInsertLyXFile):
6696 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6697 * lyxfunc.C (menuNew, open, doImport):
6698 no longer pass a LyXView & to fileDlg.
6700 2003-02-21 Angus Leeming <leeming@lyx.org>
6702 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6703 * LyXAction.C: change, BIBKEY to BIBITEM.
6704 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6705 Change InsetBibKey to InsetBibitem.
6706 Change BIBKEY_CODE to BIBITEM_CODE.
6707 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6708 * factory.C: replace insetbib.h with insetbibitem.h.
6709 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6710 * paragraph.C: replace insetbib.h with insetbibitem.h.
6711 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6712 Change bibkey() to bibitem().
6713 * text.C: remove insetbib.h.
6714 * text2.C: replace insetbib.h with insetbibitem.h.
6715 change bibkey() to bibitem().
6716 * text3.C: remove insetbib.h.
6717 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6719 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6721 * lyxrc.C (output): enclose user email in quotes (in case there are
6724 2003-02-18 John Levon <levon@movementarian.org>
6726 * buffer.h: add std::
6728 2003-02-17 John Levon <levon@movementarian.org>
6734 * pspell.C: reworking. Especially in ispell, a large
6735 number of clean ups and bug fixes.
6737 * lyxfunc.C: fix revert to behave sensibly
6739 2003-02-17 André Pönitz <poenitz@gmx.net>
6742 * commandtags.h: new LFUN_INSERT_BIBKEY
6752 * paragraph_func.C: remove special bibkey handling
6754 2003-02-17 John Levon <levon@movementarian.org>
6756 * text.C (Delete): fix case where delete at the end of
6757 the very first paragraph would not merge the pars
6759 2003-02-17 John Levon <levon@movementarian.org>
6761 * lyxrow.C: fix lastPrintablePos()
6763 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6765 * bufferparams.C (writeLaTeX): add a std:here
6767 * buffer.C: and remove a using directive there
6769 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6771 * buffer.C (makeLaTeXFile): move the code that generates the
6774 * bufferparams.C (writeLaTeX): ... in this new method
6776 * LaTeXFeatures.C (getEncodingSet): make const
6777 (getLanguages): make const
6779 * MenuBackend.C (binding): returns the binding associated to this
6781 (add): sets the status of each item by calling getStatus. Adds
6783 (read): add support for OptSubMenu
6784 (expand): remove extra separator at the end of expanded menu
6786 2003-02-15 John Levon <levon@movementarian.org>
6789 * BufferView_pimpl.C:
6791 * bufferlist.C: remove pointless BufferStorage bloat. Remove
6792 inset code that had no actual effect. Remove unneeded status
6795 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6797 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6800 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
6802 * text.C (drawLengthMarker): also draw an arrow marker for
6803 symbolic lengths (medskip...)
6805 2003-02-14 John Levon <levon@movementarian.org>
6808 * tabular.C: better method names
6810 2003-02-14 John Levon <levon@movementarian.org>
6812 * BufferView_pimpl.C:
6817 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6818 it's a more accurate name. Remove some pointless uses.
6820 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6822 * text2.C (LyXText): change order of initilizers to shut off
6825 2003-02-14 John Levon <levon@movementarian.org>
6827 * buffer.C: use ParIterator for getParFromID()
6831 * paragraph_pimpl.h:
6832 * paragraph_pimpl.C: remove unused getParFromID()
6834 2003-02-14 John Levon <levon@movementarian.org>
6836 * buffer.C: remove some very old #if 0'd parse code
6838 2003-02-13 John Levon <levon@movementarian.org>
6842 * text2.C: move hfillExpansion(), numberOfSeparators(),
6843 rowLast(), rowLastPrintable(), numberofHfills(),
6844 numberOfLabelHfills() ...
6847 * lyxrow.C: ... to member functions here.
6852 * text.C: remove LyXText::beginningOfMainBody(), and call
6853 p->beginningOfMainBody() directly. Move the check for
6854 LABEL_MANUAL into the latter.
6861 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6867 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6868 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6870 2003-02-13 John Levon <levon@movementarian.org>
6872 * CutAndPaste.C: remove debug
6874 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6876 * paragraph.C (asString): remove two unused variables
6878 * lyxtextclass.C (readTitleType):
6880 (LyXTextClass): handle new members titletype_ and titlename_
6882 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6884 2003-02-09 John Levon <levon@movementarian.org>
6887 * buffer.C: replace hand-coded list with a map for the dep clean
6889 2003-02-08 John Levon <levon@movementarian.org>
6891 * LaTeX.C: consolidate code into showRunMessage() helper
6893 2003-02-08 John Levon <levon@movementarian.org>
6898 * BufferView.C: change setSelectionOverString() to setSelectionRange()
6899 and pass the size in explicitly
6901 * BufferView_pimpl.h:
6902 * BufferView_pimpl.C:
6904 * BufferView.C: add getCurrentChange()
6906 * BufferView_pimpl.h:
6907 * BufferView_pimpl.C: handle change lfuns
6909 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6910 for changes. Mark pasted paragraphs as new.
6912 * support/lyxtime.h:
6913 * support/lyxtime.C:
6914 * DepTable.C: abstract time_t as lyx::time_type
6917 * LColor.C: add colours for new text, deleted text, changebars
6919 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6920 package use "usenames" option.
6924 * LyXAction.C: add change lfuns
6928 * author.C: author handling
6931 * buffer.C: add a per-buffer author list, with first entry as
6932 current author. Handle new .lyx tokens for change tracking. Output
6933 author list to .lyx file. Output dvipost stuff to .tex preamble.
6934 Bump lyx format to 222.
6937 * bufferlist.C: add setCurrentAuthor() to reset current author details
6941 * bufferparams.C: add param for tracking
6943 * bufferview_funcs.C: output change info in minibuffer
6947 * changes.C: add change-tracking structure
6950 * debug.C: add CHANGES debug flag
6953 * lyxfind.C: add code for finding the next change piece
6956 * lyxrc.C: add user_name and user_email
6959 * lyxrow.C: add a metric for the top of the text line
6962 * text.C: implement accept/rejectChange()
6965 * text.C: paint changebars. Paint new/deleted text in the chosen
6966 colours. Strike through deleted text.
6970 * paragraph_pimpl.h:
6971 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6972 in the current change to the insert functions. Rework erase to
6973 mark text as deleted, adding an eraseIntern() and a range-based
6974 erase(). Implement per-paragraph change lookup and
6977 * paragraph_funcs.C: Fixup paste for change tracking.
6979 * tabular.C: mark added row/columns as new.
6981 * text.C: fix rowLast() to never return -1. Don't allow
6982 spellchecking of deleted text. Track transpose changes. Don't
6983 allow paragraph break or merge where appropriate.
6985 * text2.C: leave cursor at end of selection after a cut.
6987 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6989 * text.C (getLengthMarkerHeight):
6990 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6991 visible on screen too.
6993 2003-02-07 John Levon <levon@movementarian.org>
6995 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6997 2003-02-05 Angus Leeming <leeming@lyx.org>
6999 * lyxserver.C (read_ready): revert my patch of 11 September last year
7000 as it sends PC cpu through the roof. Presumably this means that
7001 the lyxserver will no longer run on an Alpha...
7003 2003-01-30 Angus Leeming <leeming@lyx.org>
7005 * factory.C (createInset): create an InsetCommandParam of type "index"
7006 and use it to 'do the right thing'.
7008 * text2.C (getStringToIndex): ensure that cursor position is always
7009 reset to the reset_cursor position.
7011 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7013 * lyxfunc.C (getStatus): "buffer-export custom" should never be
7016 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
7020 * lyxfunc.C: Output messages with identical spelling, punctuation,
7023 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
7025 * MenuBackend.C (expandFormats): List only viewable export formats
7028 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7031 * lyxfunc.C (getStatus): Make sure that formats other than
7032 "fax" can also be disabled
7034 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7036 * text3.C (dispatch): put the lfuns that insert insets in 3
7037 groups, and call doInsertInset with appropriate arguments.
7038 (doInsertInset): new function, that creates an inset and inserts
7039 it according to some boolean parameters.
7041 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7043 * buffer.C (readFile): remember to pass on 'par' when calling
7044 readFile recursively.
7046 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7048 * MenuBackend.C (expandFormats): add "..." to import formats.
7050 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
7052 * paragraph.C (asString): Remove XForms RTL hacks.
7054 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
7055 * buffer.C: fix typo
7057 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7059 * Makefile.am (LIBS): delete var
7060 (lyx_LDADD): add @LIBS@ here instead.
7062 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
7064 * Clarify the meaning of "wheel mouse jump"
7066 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7068 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7071 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7073 * importer.C (Loaders): do not preallocate 3 elements in the
7074 vector, since one ends up with 6 elements otherwise
7076 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7078 * DepTable.C (write): write the file name as last element of the
7079 .dep file (because it may contain spaces)
7080 (read): read info in the right order
7082 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7084 * paragraph_pimpl.C (simpleTeXBlanks):
7085 (simpleTeXSpecialChars):
7086 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7088 * tabular.C (latex): add some missing case statements. Reindent.
7090 * MenuBackend.C (expandToc): remove unused variable.
7092 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
7101 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7104 2003-01-05 John Levon <levon@movementarian.org>
7107 * BufferView.C: add getEncoding()
7110 * kbsequence.C: do not store last keypress
7113 * lyxfunc.C: store last keypress here instead. Pass encoding
7116 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7118 * lyx_main.C (init): remove annoying error message when following
7119 symbolic links (bug #780)
7121 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7123 * text.C (insertChar):
7124 * lyxrc.C (getDescription): remove extra spaces
7126 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7128 * lyxrc.C (getDescription): remove extra spaces
7130 2002-12-20 John Levon <levon@movementarian.org>
7132 * text3.C: hack fix for page up/down across tall rows
7134 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7136 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7139 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7141 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7142 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7143 thesaurus is not compiled in
7145 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
7147 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
7149 2002-12-16 Angus Leeming <leeming@lyx.org>
7152 * lyx_main.C (init): remove override_x_deadkeys stuff.
7154 2002-12-12 John Levon <levon@movementarian.org>
7156 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7157 insert. Only remove shift modifier under strict
7160 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7162 * MenuBackend.C (expandToc): fix crash.
7164 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7166 * MenuBackend.C (expandToc): gettext on float names.
7168 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7170 * lyxlength.[Ch]: set default unit to UNIT_NONE,
7171 implement bool empty() [bug 490]
7173 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7175 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7177 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7179 * several files: ws changes
7181 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7183 * text2.C (setCounter): clean up a bit, use boost.format.
7184 (updateCounters): initialize par upon declaration.
7186 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7187 if the layout exists. We do not just store the layout any more.
7188 (SwitchLayoutsBetweenClasses): use boost.format
7190 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7192 * converter.C (convert): if from and to files are the same, use a
7193 temporary files as intermediary
7195 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7198 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7200 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
7202 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7204 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7206 * tabular.C (asciiPrintCell): use string(size, char) instead of
7209 * sgml.C (openTag): fix order of arguments to string constructor
7212 * lyxfunc.C (dispatch): use boost.format
7214 * lots of files: change "c" -> 'c'
7216 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
7218 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7220 2002-11-25 Angus Leeming <leeming@lyx.org>
7222 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7224 * lyx_main.C (init): compile fix.
7226 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7228 * lyx_cb.C (start): boost.formatify
7229 do not include <iostream>
7231 * lengthcommon.C: ws only
7233 * boost-inst.C,BoostFormat.h: add more explict instantations
7235 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7237 * lots of files: handle USE_BOOST_FORMAT
7239 2002-11-21 John Levon <levon@movementarian.org>
7241 * pspell.C: fix compile
7243 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7245 * lyxfunc.C (dispatch): use boost::format
7249 * lyxfont.C (stateText): use boost::format
7251 * lyx_main.C (LyX): use boost::format
7253 (queryUserLyXDir): ditto
7256 (typedef boost::function): use the recommened syntax.
7258 * importer.C (Import): use boost::format
7260 * debug.C (showLevel): use boost::format
7262 * converter.C (view): use boost::format
7267 * bufferview_funcs.C (currentState): use boost::format
7269 * bufferlist.C (emergencyWrite): use boost::format
7271 * buffer.C (readLyXformat2): use boost::format
7272 (parseSingleLyXformat2Token): ditto
7274 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7276 * LaTeX.C (run): use boost::format
7278 * Chktex.C (scanLogFile): use boost::format
7280 * BufferView_pimpl.C (savePosition): use boost::format
7281 (restorePosition): ditto
7282 (MenuInsertLyXFile): ditto
7284 * BoostFormat.h: help file for explicit instation.
7286 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
7288 * tabular.C (latex): Support for block alignment in fixed width
7291 2002-11-17 John Levon <levon@movementarian.org>
7293 * BufferView_pimpl.C:
7295 * lyxfunc.C: split filedialog into open/save
7297 2002-11-08 Juergen Vigna <jug@sad.it>
7299 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7300 by my last patch (hopefully).
7302 2002-11-08 John Levon <levon@movementarian.org>
7311 * toc.C: ParConstIterator, and use it (from Lars)
7313 2002-11-07 Ben Stanley <bds02@uow.edu.au>
7315 * lyxtextclass.[Ch]: revise and add doxygen comments
7317 2002-11-07 John Levon <levon@movementarian.org>
7319 * text.C: fix progress value for spellchecker
7321 * toc.C: fix navigate menu for insetwrap inside minipage
7323 * paragraph_funcs.C: added FIXME for suspect code
7325 2002-11-07 John Levon <levon@movementarian.org>
7327 * BufferView_pimpl.C: fix redrawing of insets
7330 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7332 * text2.C (updateCounters): fix bug 668
7334 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
7336 * text3.C (dispatch): Do not make the buffer dirty when moving the
7339 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7341 * vc-backend.C: STRCONV
7344 * text2.C (setCounter): STRCONV
7346 * paragraph.C (asString): STRCONV
7348 * lyxlength.C (asString): STRCONV
7349 (asLatexString): ditto
7351 * lyxgluelength.C (asString): STRCONV
7352 (asLatexString): ditto
7354 * lyxfunc.C (dispatch): STRCONV
7357 * lyxfont.C (stateText): STRCONV
7359 * importer.C (Import): STRCONV
7361 * counters.C (labelItem): STRCONV
7362 (numberLabel): ditto
7363 (numberLabel): remove unused ostringstream o
7368 * bufferview_funcs.C (currentState): STRCONV
7370 * buffer.C (readFile): STRCONV
7371 (asciiParagraph): ditto
7372 (makeLaTeXFile): ditto
7374 * Spacing.C (writeEnvirBegin): STRCONV
7376 * LaTeXFeatures.C (getLanguages): STRCONV
7377 (getPackages): ditto
7379 (getBabelOptions): ditto
7380 (getTClassPreamble): ditto
7381 (getLyXSGMLEntities): ditto
7382 (getIncludedFiles): ditto
7386 (scanAuxFile): ditto
7389 * LString.h: add the STRCONV macros
7391 * BufferView_pimpl.C (savePosition): STRCONV
7392 (restorePosition): ditto
7393 (MenuInsertLyXFile): ditto
7395 * vc-backend.C (scanMaster): change from submatch[...] to
7398 * funcrequest.C: include config.h
7400 * factory.C: include config.h
7402 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7404 * box.C: include config.h
7406 * LaTeX.C (scanAuxFile): change from submatch[...] to
7410 2002-10-25 Angus Leeming <leeming@lyx.org>
7412 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7414 * ispell.[Ch] (setError): new method.
7415 * ispell.C (c-tor): move out child process into new class LaunchIspell.
7416 Use setError() insetead of goto END.
7418 * lyx_cb.C (AutoSave): move out child process into new class
7421 2002-10-30 John Levon <levon@movementarian.org>
7423 * text3.C: make start appendix undoable
7425 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
7427 * lyxlength.C (inPixels): Fix returned value.
7429 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7432 2002-10-24 Angus Leeming <leeming@lyx.org>
7434 * lyxgluelength.h: no need to forward declare BufferParams
7435 or BufferView, so don't.
7437 2002-10-21 John Levon <levon@movementarian.org>
7439 * BufferView.C: menuUndo ->undo, redo
7441 * BufferView.h: document, remove dead, make some methods private
7443 * paragraph_funcs.h:
7444 * paragraph_funcs.C:
7445 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7450 * sgml.C: move sgml open/close tag into sgml.C
7452 * bufferview_funcs.h: unused prototype
7455 * lyxfunc.C: remove unused
7458 * text.C: remove unused
7460 2002-10-21 John Levon <levon@movementarian.org>
7464 * BufferView_pimpl.h:
7465 * BufferView_pimpl.C: fix mouse wheel handling based on
7466 patch from Darren Freeman
7468 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
7470 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7472 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
7474 * lyxlength.C (inPixels): Fix hanfling of negative length.
7475 Fix LyXLength::MU case.
7477 2002-10-16 John Levon <levon@movementarian.org>
7479 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7481 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7483 * converter.C (view): add support for $$i (file name) and $$p
7484 (file path) for the viewer command. If $$i is not specified, then
7485 it is appended to the command (for compatibility with old syntax)
7487 2002-10-14 Juergen Vigna <jug@sad.it>
7489 * undo_funcs.C (textHandleUndo): alter the order in which the
7490 new undopar is added to the LyXText, as we have to set first
7491 the right prev/next and then add it as otherwise the rebuild of
7492 LyXText is not correct. Also reset the cursor to the right paragraph,
7493 with this IMO we could remove the hack in "redoParagraphs()".
7495 2002-10-09 Angus Leeming <leeming@lyx.org>
7497 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7498 to turn off an optimisation if a new inset is to be inserted.
7500 2002-10-11 André Pönitz <poenitz@gmx.net>
7502 * lyxtext.h: make some functions public to allow access
7503 from inset/lyxtext for handling LFUN_PRIOR/NEXT
7505 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7507 * text3.C (dispatch): when changing layout, avoid an infinite loop
7510 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7512 * lyxrc.C (read): treat a viewer or converter command of "none" as
7515 * MenuBackend.C (expandFormats): for an update, also allow the
7516 formats that are not viewable
7518 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7519 script if it is newer than the lyxrc.defaults in user directory
7521 2002-10-07 André Pönitz <poenitz@gmx.net>
7523 * text.C: Vitaly Lipatov's small i18n fix
7525 2002-09-25 Angus Leeming <leeming@lyx.org>
7527 * ispell.h: doxygen fix.
7529 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
7531 * buffer.h (readFile): Add a new argument to the method, to allow
7532 reading of old-format templates.
7534 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
7536 * toc.C (getTocList): Get TOC from InsetWrap.
7538 2002-09-16 John Levon <levon@movementarian.org>
7540 * lyxfunc.C: check tabular for cut/copy too
7542 2002-09-12 John Levon <levon@movementarian.org>
7547 * factory.C: add header
7549 * paragraph_funcs.h:
7550 * paragraph_funcs.C: cleanup
7552 2002-09-11 John Levon <levon@movementarian.org>
7554 * PrinterParams.h: odd/even default to true
7556 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
7558 * PrinterParams.h: update printer parameters for new xforms dialog
7560 2002-09-11 Angus Leeming <leeming@lyx.org>
7562 * lyxserver.C (read_ready): re-write to make it more transparent
7563 and to make it work in coherent fashion under Tru64 Unix.
7565 2002-09-11 André Pönitz <poenitz@gmx.net>
7569 * text3.C: implement LFUN_WORDSEL
7571 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7573 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7574 make floatlist_ a boost::shared_ptr<FloatList>
7576 * lyxtextclass.C: include FloatList.h
7577 (LyXTextClass): initialize floatlist_
7578 (TextClassTags): add TC_NOFLOAT
7579 (Read): match "nofloat" to TC_NOFLOAT and use it.
7580 (readFloat): modify call to floatlist_
7584 * FloatList.[Ch] (FloatList): remove commented out float
7586 (erase): new function
7588 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7590 * MenuBackend.C (expandToc): fix crash when there is no document
7593 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
7595 * many files: Add insetwrap.
7597 2002-09-09 John Levon <levon@movementarian.org>
7599 * text2.C: remove confusing and awkward depth wraparound
7601 2002-09-09 John Levon <levon@movementarian.org>
7603 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7606 * buffer.C: remove getIncludeonlyList()
7609 * lyxfunc.C: remove headers
7611 2002-09-09 Juergen Vigna <jug@sad.it>
7613 * text.C (getColumnNearX): fix form Michael this is most
7614 probably a cut&paste bug.
7616 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7618 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7620 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7621 references, ws changes.
7623 * text2.C (init): update counters after init
7624 (insertParagraph): no need to set counter on idividual paragraphs.
7625 (setCounter): access the counters object in the textclass object
7626 on in the buffer object.
7627 (updateCounters): ditto
7629 * lyxtextclass.C: include counters.h, add variable ctrs_ as
7630 shared_ptr<Counters> to avoid loading counters.h in all
7632 (LyXTextClass): initialize ctrs_
7633 (TextClassTags): add TC_COUNTER, and ...
7634 (Read): use it here.
7635 (CounterTags): new tags
7636 (readCounter): new function
7637 (counters): new funtion
7638 (defaultLayoutName): return a const reference
7640 * counters.C (Counters): remove contructor
7641 (newCounter): remove a couple of unneeded statements.
7642 (newCounter): simplify a bit.
7643 (numberLabel): some small formatting changes.
7645 * buffer.[Ch]: remove all traces of counters, move the Counters
7646 object to the LyXTextClass.
7648 2002-09-06 Alain Castera <castera@in2p3.fr>
7650 * tabular.C: uses \tabularnewline; uses >{...} construct from array
7651 package to set the horizontal alignment on fixed width columns.
7654 * lyx_sty.h: added tabularnewline macro def.
7656 * LaTeXFeatures.C: added NeedTabularnewline macro feature
7658 2002-09-06 John Levon <levon@movementarian.org>
7660 * LyXAction.C: tooltips for sub/superscript
7662 * MenuBackend.C: a bit more verbose
7664 * lyxfunc.C: tiny clean
7666 * undo_funcs.C: document undo_frozen
7668 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7670 * counters.C (Counters): add missing algorithm counter.
7672 * text2.C (setCounter): lookup the counter with layouts latexname
7673 instead of by section number.
7674 (setCounter): use a hackish way to lookup the correct enum
7676 a float name->type change
7677 reset enum couners with counter name directly instead of depth value.
7679 * counters.C (Counters): remove the push_backs, change to use the
7680 float type not the float name.
7681 (labelItem): remove unused string, float name->type change
7683 * counters.h: don't include vector, loose the enums and sects vectors
7685 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7687 * lyxtextclass.C (TextClassTags): add TC_FLOAT
7688 (Read): add float->TC_FLOAT to textclassTags
7689 (Read): and handle it in the switch
7690 (readFloat): new function
7692 * FloatList.C (FloatList): comment out the hardcoded float
7695 * lyxlayout.h: ws change.
7697 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
7699 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7701 2002-09-03 Angus Leeming <leeming@lyx.org>
7703 * BufferView_pimpl.h: qualified name is not allowed in member
7704 declaration: WorkArea & Pimpl::workarea() const;
7706 * factory.C: added using std::endl directive.
7708 * text3.C: added using std::find and std::vector directives.
7710 2002-08-29 André Pönitz <poenitz@gmx.net>
7713 * text2.C: remove unused member number_of_rows
7716 * BufferView2.C: remove file, move contents to...
7717 * BufferView.C: ... here
7719 * BufferView_pimpl.C:
7720 * factory.C: move more inset creation to factory
7722 * vspace.C: avoid direct usage of LyXText, ws changes
7725 don't provide direct access to WorkArea, use two simple
7726 acessors haveSelction() and workHeight() instead
7729 2002-08-29 John Levon <levon@movementarian.org>
7731 * BufferView_pimpl.C (dispatch): do not continue when
7734 2002-08-28 André Pönitz <poenitz@gmx.net>
7736 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7739 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7741 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
7743 * buffer.C: increment LYX_FORMAT to 221
7745 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7746 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7748 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7750 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7752 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7754 * factory.C (createInset): use LyXTextClass::floats
7756 * MenuBackend.C (expandFloatListInsert):
7757 (expandFloatInsert):
7760 * text2.C (setCounter):
7762 * LaTeXFeatures.C (useFloat):
7763 (getFloatDefinitions):
7765 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7767 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7768 floatlist_, with accessor floats().
7770 * FloatList.h: remove global FloatList
7772 2002-08-26 André Pönitz <poenitz@gmx.net>
7774 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7778 * BufferView_pimpl.C:
7779 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7781 2002-08-25 John Levon <levon@movementarian.org>
7783 * LyXAction.C: fix margin note description
7785 2002-08-24 John Levon <levon@movementarian.org>
7789 * bufferview_funcs.C:
7791 * undo_funcs.C: cleanups
7793 * lyxfunc.C: disable CUT/COPY when no selection
7795 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
7797 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7798 in "enum UNIT"; e.g. PTW for Percent of TextWidth
7800 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7801 Add backward compatibility to "mono", "gray" and "no".
7803 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
7805 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7806 (and file_format >= 200).
7808 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7810 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7812 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7814 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7816 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
7818 * BufferView_pimpl.C:
7825 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7826 inset and code to make it work with the paragraph code. The inset
7827 can be anywhere in the paragraph, but will only do the expected
7828 thing in LaTeX if the layout file contains the parameter line
7830 (or more generally, a nonzero value) for that layout.
7832 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7834 * paragraph.h: remove the declaration of undefined counters class
7837 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
7839 * text2.C (setCounter): fixed enumeration mis-count as reported by
7840 Dr. Richard Hawkins.
7842 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7844 * paragraph_funcs.h: remove some unneeded includes
7846 * text.C (backspace): pasteParagraph now in global scipe
7848 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7849 (pasteSelection): ditto
7851 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7852 * paragraph_funcs.C (pasteParagraph): ... here
7854 2002-08-20 André Pönitz <poenitz@gmx.net>
7856 * commandtags.h: new LFUNs for swapping/copying table row/colums
7859 * lyxfunc.C: support for new lfuns
7861 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7864 * buffer.[Ch]: remove NO_COMPABILITY stuff
7866 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
7868 * boost.C (throw_exception): new file, with helper function for
7869 boost compiled without exceptions.
7874 * ParameterStruct.h:
7875 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7877 * bufferlist.C (emergencyWriteAll): use boost bind
7879 * BufferView_pimpl.C (moveCursorUpdate): remove inline
7881 * text.C: include paragraph_funcs.h
7882 (breakParagraph): breakParagraph is now in global scope
7884 * paragraph_funcs.[Ch]: new files
7886 * paragraph.C (breakParagraph,breakParagraphConservative): move to
7889 * buffer.C: include paragraph_funcs.h
7890 (insertStringAsLines): breakParagraph is now in global scope
7892 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7895 * CutAndPaste.C: include paragraph_funcs.h
7896 (cutSelection): breakParagraphConservative is now in global scope
7897 (pasteSelection): ditto
7899 * buffer.h: declare oprator== and operator!= for
7900 Buffer::inset_iterator
7902 * bufferlist.C (emergencyWrite): don't use fmt(...)
7904 * text3.C: add using std::endl
7906 * BufferView.C (moveCursorUpdate): remove default arg
7908 2002-08-20 André Pönitz <poenitz@gmx.net>
7910 * buffer.[Ch]: move inline functions to .C
7913 * BufferView_pimpl.C:
7915 * buffer.[Ch]: use improved inset_iterator
7918 * paragraph.[Ch]: write one paragraph at a time
7920 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
7922 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7923 style if style is not specified.
7925 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7927 * text2.C (setCounter): when searching for right label for a
7928 caption, make sure to recurse to parent insets (so that a caption
7929 in a minipage in a figure float works) (bug #568)
7931 2002-08-20 André Pönitz <poenitz@gmx.net>
7933 * text3.C: new file for LyXText::dispatch() and helpers
7935 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7937 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7939 2002-08-19 André Pönitz <poenitz@gmx.net>
7942 * text.C: new LyXText::dispatch()
7944 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7946 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
7948 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7950 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7953 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7955 * Makefile.am: use $(variables) instead of @substitutions@
7957 2002-08-15 André Pönitz <poenitz@gmx.net>
7960 * BufferView_pimpl.C: streamlining mathed <-> outer world
7964 * LyXAction.C: remove unused LFUN_MATH
7966 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7968 * paragraph.[Ch]: add some NO_NEXT ifdefs.
7970 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7972 * paragraph.C (Paragraph): reformat a bit
7973 (cutIntoMinibuffer): use builtin InsetList function instad of
7977 * buffer.C: include boost/bind.hpp, add using std::for_each
7978 (writeFileAscii): use ParagraphList iterators
7979 (validate): use for_each for validate traversal of paragraphs
7980 (getBibkeyList): use ParagraphList iterators
7981 (resizeInsets): use for_each to resizeInsetsLyXText for all
7983 (getParFromID): use ParagraphList iterators
7985 * BufferView2.C (lockInset): use paragraph list and iterators
7987 2002-08-14 John Levon <levon@movementarian.org>
7989 * lyxserver.C: remove spurious xforms include
7991 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7993 * lyxfunc.C (getStatus): disable math-extern outside of math mode
7995 2002-08-13 André Pönitz <poenitz@gmx.net>
7998 * lyxfunc.C: further cleaning
8000 2002-08-13 André Pönitz <poenitz@gmx.net>
8002 * funcrequest.h: new constructor
8004 * funcrequest.C: move stuff here from .h
8007 * BufferView_pimpl.C:
8010 * lyxfunc.C: subsequent changes
8012 * lyxfunc.h: new view() member function
8014 * lyxfunc.C: subsequent changes
8016 2002-08-13 Angus Leeming <leeming@lyx.org>
8019 * BufferView_pimpl.C:
8027 changes due to the changed LyXView interface that now returns references
8028 to member variables not pointers.
8030 2002-08-13 Angus Leeming <leeming@lyx.org>
8032 * WordLangTuple (word, lang_code): return references to strings,
8037 * lyxtext.h: forward-declare WordLangTuple.
8042 * text.C: #include "WordLangTuple.h".
8045 * text.C: (selectNextWordToSpellcheck): constify return type.
8047 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
8053 * paragraph_pimpl.h:
8056 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8058 Made updateCounter always count from start of buffer, and removed
8059 second argument (par).
8060 Reverted floats number display to '#'. Perhaps I'll try again when the
8061 code base is sanitized a bit.
8063 2002-08-12 Angus Leeming <leeming@lyx.org>
8065 * buffer.[Ch] (getLabelList): constify.
8067 2002-08-07 André Pönitz <poenitz@gmx.net>
8069 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8071 * funcrequest.h: extension to keep mouse (x,y) position
8073 2002-08-12 Juergen Vigna <jug@sad.it>
8075 * BufferView2.C (insertErrors): forbid undo when inserting error
8078 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8080 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8082 * ParagraphList.[Ch]: new files
8084 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8086 * BufferView2.C (lockInset): ParagraphList changes
8089 * bufferlist.C: ditto
8093 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8095 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8096 unused class variable counter_,
8098 * paragraph.[Ch] (getFirstCounter): delete unused function
8100 * counters.C: include LAssert.h
8101 (reset): add a new function with no arg, change other version to
8102 not have def. arg and to not allow empty arg.
8104 * text2.C (setCounter): remove empty arg from call to Counters::reset
8106 2002-08-11 John Levon <levon@movementarian.org>
8108 * Makefile.am: add WordLangTuple.h
8110 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8112 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8113 lyxfunc.C lyxlex_pimpl.C: ws changes only.
8115 * insets/insettext.C: InsetList changes
8117 * graphics/GraphicsSupport.C (operator()): InsetList changes
8119 * toc.C (getTocList): InsetList changes
8121 * paragraph_pimpl.[Ch]: InsetList changes
8123 * paragraph.[Ch]: InsetList changes
8125 * buffer.C (inset_iterator): InsetList changes
8126 (setParagraph): ditto
8127 * buffer.h (inset_iterator): ditto
8128 * iterators.C (operator++): ditto
8129 * iterators.h: ditto
8131 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8133 * InsetList.[Ch]: new files, most InsetList handling moved out of
8136 * BufferView2.C (removeAutoInsets): InsetList changes
8138 (ChangeInsets): ditto
8140 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8142 * paragraph_pimpl.h (empty): new function
8144 * paragraph.[Ch] (empty): new function
8146 * other files: use the new Paragraph::empty function
8148 2002-08-09 John Levon <levon@movementarian.org>
8150 * lyxtext.h: remove unused refresh_height
8152 2002-08-09 John Levon <levon@movementarian.org>
8159 * paragraph.C: move sgml char escaping out of paragraph
8162 * paragraph.C: remove id setter
8166 * paragraph_pimpl.C: remove dead tex_code_break_column
8168 * bufferview_funcs.C: small cleanup
8170 * lyxfunc.C: remove dead proto
8172 * lyxtext.h: make some stuff private. Remove some dead stuff.
8174 * lyxgluelength.C: make as[LyX]String() readable
8176 2002-08-08 John Levon <levon@movementarian.org>
8181 * ToolbarDefaults.C:
8184 * toc.C: lyxaction cleanup
8186 2002-08-08 John Levon <levon@movementarian.org>
8188 * BufferView2.C: small cleanup
8191 * lyxfind.C: move unnecessary header into the .C
8193 2002-08-08 John Levon <levon@movementarian.org>
8195 * funcrequest.h: just tedious nonsense
8198 * lyx_main.C: cleanups
8201 * vspace.C: remove dead header lyx_main.h
8203 2002-08-07 Angus Leeming <leeming@lyx.org>
8206 * paragraph_pimpl.h:
8207 Forward declare class Counters in paragraph.h by moving the ctrs member
8208 variable into Paragraph::Pimpl.
8209 (counters): new method, returning a reference to pimpl_->ctrs.
8211 * text2.C: ensuing changes.
8213 2002-08-07 John Levon <levon@movementarian.org>
8215 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8217 * BufferView_pimpl.C: announce X selection on double/triple
8220 * lyx_main.C: use correct bool in batch dispatch
8222 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8224 2002-08-07 André Pönitz <poenitz@gmx.net>
8226 * funcrequest.h: new class to wrap a kb_action and its argument
8229 * BufferView_pimpl[Ch]:
8233 * lyxrc.C: subsequent changes
8236 2002-08-07 John Levon <levon@movementarian.org>
8238 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8239 document options change.
8241 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8246 * makefile.am: move counters functionality over from
8247 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8249 2002-08-06 John Levon <levon@movementarian.org>
8251 * WordLangTuple.h: new file for word + language code tuple
8262 * BufferView2.C: use WordLangTuple
8265 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8267 2002-08-06 John Levon <levon@movementarian.org>
8269 * lyx_main.C: fix cmdline batch handling
8271 2002-08-06 André Pönitz <poenitz@gmx.net>
8273 * lyxrc.C: set default for show_banner to true
8275 2002-08-06 John Levon <levon@movementarian.org>
8277 * pspell.C: fix a crash, and allow new aspell to work
8279 2002-08-06 John Levon <levon@movementarian.org>
8282 * kbmap.C: small cleanup
8285 * vspace.C: add const
8287 2002-08-05 John Levon <levon@movementarian.org>
8289 * LyXAction.C: back to tabular-insert
8291 2002-08-04 John Levon <levon@movementarian.org>
8294 * BufferView.C: cosmetic change
8296 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8306 * BufferView2.C: purge all "Lyx" not "LyX" strings
8309 * lyxcursor.C: attempt to add some documentation
8314 * ToolbarDefaults.C:
8315 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8316 merge with LFUN_TABULAR_INSERT
8323 * pspell.C: split up i/pspell implementations into separate
8324 files, many cleanups
8326 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8328 * text2.C: some cleanup
8330 * lyxfunc.C: don't check for isp_command == "none" any more, it
8331 didn't make any sense
8333 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8338 * makefile.am: move counters functionality over
8339 from text2.C/paragraph.[Ch] to counters.[Ch], and
8341 2002-08-02 John Levon <levon@movementarian.org>
8343 * buffer.C: s/lyxconvert/lyx2lyx/
8345 2002-08-02 Angus Leeming <leeming@lyx.org>
8347 * lyxlex.C: revert John's change as it breaks reading of the user
8350 2002-08-02 Angus Leeming <leeming@lyx.org>
8352 * importer.C (Import):
8353 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8354 changes due to LyXView::view() now returning a boost::shared_ptr.
8356 2002-08-02 John Levon <levon@movementarian.org>
8358 * lyxlex.C: small cleanup
8360 2002-08-02 John Levon <levon@movementarian.org>
8362 * text2.C (status): small cleanup, no logic change
8364 2002-08-01 John Levon <levon@movementarian.org>
8367 * buffer.C (writeFile): don't output alerts, caller
8371 * lyx_cb.C: from above
8373 * lyxfunc.C: allow to open non-existent files
8375 2002-07-31 John Levon <levon@movementarian.org>
8377 * lyxserver.C: don't let incidental errors get
8380 2002-07-30 John Levon <levon@movementarian.org>
8382 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8384 2002-07-30 John Levon <levon@movementarian.org>
8387 * lyxserver.C: remove I/O callback too
8389 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8391 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8394 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8396 * many files: strip,frontStrip -> trim,ltrim,rtrim
8398 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8400 * PrinterParams.h: remove extern containsOnly, and include
8401 support/lstrings.h instead.
8403 * LaTeX.C (scanAuxFile): modify because of strip changes
8405 * buffer.C (makeLaTeXFile): ditto
8406 * bufferparams.C (writeFile): ditt
8407 * lyxfont.C (stateText): ditto
8408 * lyxserver.C (read_ready): ditto
8409 * vc-backend.C (scanMaster): ditto
8411 * BufferView_pimpl.h: ws changes
8413 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8415 2002-07-26 André Pönitz <poenitz@gmx.net>
8417 * kb_sequence.C: remove unnedred usings
8419 2002-07-26 Juergen Vigna <jug@sad.it>
8421 * lyxfind.C (LyXReplace): we have to check better if the returned
8422 text is not of theLockingInset()->getLockingInset().
8424 2002-07-25 Juergen Vigna <jug@sad.it>
8426 * lyxfind.C (LyXReplace): don't replace if we don't get the
8429 * undo_funcs.C (createUndo): remove debugging code.
8431 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
8433 * buffer.C (parseSingleLyXformat2Token): Use default placement
8434 when reading old floats.
8436 * FloatList.C (FloatList): Change the default placement of figure
8437 and tables to "tbp".
8439 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
8441 * MenuBackend.C: using std::max
8443 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8445 * MenuBackend.C (expandToc):
8446 (expandToc2): code moved from xforms menu frontend. It is now
8447 generic and TOCs are transparent to menu frontends.
8449 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8451 * toc.C (getTocList): protect against buf=0
8453 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8454 Menu as first parameter. Now, this calls itself recursively to
8455 expand a whole tree (this will be useful for TOC handling)
8456 (expandFloatInsert): remove 'wide' version of floats
8458 * MenuBackend.h (submenuname): returns the name of the submenu.
8459 (submenu): returns the submenu itself, provided it has been
8460 created by MenuBackend::expand
8462 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8464 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8465 insets which have noFontChange == true. (bug #172)
8467 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8469 * BufferView_pimpl.C: add connection objects and use them...
8472 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8474 * MenuBackend.C (expandLastfiles):
8477 (expandFloatListInsert):
8478 (expandFloatInsert):
8479 (expand): split expand in parts
8481 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8483 * lyx_gui.C: use lyx_gui::exit()
8485 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8487 * LyXAction.C: show the failing pseudo action
8489 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
8491 * buffer.C (readFile): Run the lyxconvert script in order to read
8494 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8498 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8500 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8504 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8506 2002-07-22 Herbert Voss <voss@lyx.org>
8509 * lyxlength.[Ch]: add support for the vertical lengths
8511 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
8513 * toc.[Ch]: std:: fixes
8515 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8517 * lyxrc.C: do not include lyx_main.h
8519 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8525 * BufferView2.C: include "lyxlex.h"
8528 * bufferparams.h: do not #include "lyxlex.h"
8530 * lyxtextclasslist.C (Add): remove method
8531 (classlist): renamed to classlist_
8533 * paragraph_pimpl.C:
8537 * bufferview_funcs.C:
8542 * toc.C (getTocList): use BufferParams::getLyXTextClass
8544 * toc.C (getTocList): use InsetFloat::addToToc
8546 * toc.[Ch]: new files, containing helper functions to handle table
8549 * lyxfunc.C (dispatch): no need to remove spaces around command
8551 (getStatus): handle LFUN_SEQUENCE by returning the status of the
8552 first command of the sequence; it is not very clever, but I do not
8553 have a better idea, actually
8555 * LyXAction.C (LookupFunc): make sure to remove space at the
8556 beginning and end of the command
8558 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8560 * MenuBackend.C (getMenubar): new method: return the menubar of
8562 (read): treat differently reading of menu and menubar (in
8563 particular, the menubar has no name now)
8564 (Menu::menubar): remove
8566 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8569 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8571 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8572 a bibitem inset in a RTL paragraph.
8574 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
8576 * paragraph_pimpl.C: constify
8578 * BufferView_pimpl.C:
8580 * lyxfunc.C: fix dispatch in a nicer way
8582 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8584 * lyxfunc.C (dispatch):
8585 * BufferView_pimpl.C:
8586 * BufferView_pimpl.h:
8588 * BufferView.h: rename Dispatch() to dispatch()
8590 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8592 * lyxlayout.C (Read): honor DependsOn tag
8594 * lyxlayout.[Ch] (depends_on): new method
8596 * version.C.in: update lyx_docversion
8598 * LaTeXFeatures.C (getMacros): only define \LyX when needed
8600 * paragraph.C (validate): remove from here...
8601 * paragraph_pimpl.C (validate): ... and move here
8602 (isTextAt): make it const
8604 * buffer.C (getLists): ws cleanup
8606 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8608 * language.C (read): Use iso8859-1 encoding in latex_lang
8609 (this prevents LyX from crashing when using iso10646-1 encoding).
8611 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8613 * text2.C (toggleInset): if cursor is inside an inset, close the
8614 inset and leave cursor _after_ it
8616 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8618 * lyxfunc.C: move minibuffer completion handling out of here
8620 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8622 * BufferView_pimpl.C:
8623 * LaTeX.C: fix dispatch calls
8625 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
8627 * text.C (drawChars): Fix Arabic text rendering.
8629 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
8633 * lyxfunc.C: remove message-push/pop
8637 * lyxfunc.C: rationalise some code by removing verboseDispatch
8638 in favour of a bool argument to dispatch()
8640 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8642 * lyx_main.C (init): make sure to read symlinks as absolute paths
8644 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8647 * lyxfunc.C: no need for commandshortcut to be a member
8649 2002-07-15 André Pönitz <poenitz@gmx.net>
8651 * converter.C: add support for $$s (scripts from lib/scripts dir)
8652 * lyx_main.C: white space
8654 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8658 * lyxrc.C: remove second exit confirmation
8660 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8665 * BufferView_pimpl.h:
8666 * BufferView_pimpl.C:
8667 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8669 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8671 * MenuBackend.C (expand): add numeric shortcuts to document menu
8673 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8675 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8677 * lyxfont.C (setLyXFamily):
8684 * buffer.C (asciiParagraph): use ascii_lowercase
8686 2002-07-15 Mike Fabian <mfabian@suse.de>
8688 * lyxlex_pimpl.C (search_kw):
8689 * lyxlex.C (getLongString):
8690 * converter.h (operator<):
8691 * converter.C (operator<):
8692 * buffer.C (parseSingleLyXformat2Token):
8694 * ToolbarDefaults.C (read):
8695 * MenuBackend.C (checkShortcuts):
8697 * LColor.C (getFromGUIName):
8698 (getFromLyXName): use the compare_ascii_no_case instead of
8699 compare_no_case, because in turkish, 'i' is not the lowercase
8700 version of 'I', and thus turkish locale breaks parsing of tags.
8702 2002-07-16 Angus Leeming <leeming@lyx.org>
8704 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8705 now takes a Buffer const & argument.
8707 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
8709 * BufferView.C (resize): check there's a buffer to resize
8711 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
8713 * lyxfunc.C: remove dead code
8716 * lyxserver.C: use lyx_guii::set_read_callback
8718 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
8720 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8721 an inset in a RTL paragraph.
8723 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8725 * lyxfunc.C: repaint after a font size update
8727 2002-07-15 André Pönitz <poenitz@gmx.net>
8729 * lyxlength.C: inBP should be able to return negative values
8731 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8733 * lyxfunc.C: use lyx_gui::update_fonts()
8735 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8737 * lyxfunc.C: use lyx_gui::update_color()
8739 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8745 * lyxrc.C: remove file->new asks for name option, and let
8746 buffer-new take an argument
8748 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8750 * BufferView_pimpl.C: remove unneeded extra repaint()
8752 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
8754 * LyXAction.C: allow command-sequence with NoBuffer
8756 * lyxfunc.C: don't insist on trailing ';' for command-sequence
8758 2002-07-10 Angus Leeming <leeming@lyx.org>
8760 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8762 2002-07-09 Angus Leeming <leeming@lyx.org>
8764 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8766 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8768 * lengthcommon.h: whitespace
8770 * lyxfunc.C: update scrollbar after goto paragraph
8772 * lyxtext.h: factor out page break drawing, and fix it so
8773 page break/added space paints as selected nicely
8775 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8777 * BufferView_pimpl.C: add FIXMEs, clean up a little
8779 2002-07-09 André Pönitz <poenitz@gmx.net>
8781 * lyxfont.[Ch]: support for wasy symbols
8783 2002-07-08 André Pönitz <poenitz@gmx.net>
8785 * BufferView_pimpl.C: apply John's patch for #93.
8787 2002-07-05 Angus Leeming <leeming@lyx.org>
8789 * BufferView_pimpl.C (buffer): generate previews if desired.
8791 * LColor.h: add "preview" to the color enum.
8793 * LColor.C (LColor): add a corresponding entry to the items array.
8795 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8798 2002-07-05 Angus Leeming <leeming@lyx.org>
8800 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8801 The body of the code is now in the method that is passed an ostream &
8802 rather than a file name.
8803 Pass an additional only_preamble parameter, useful for the forthcoming
8806 2002-07-03 André Pönitz <poenitz@gmx.net>
8808 * lyxfunc.C: simplify getStatus() a bit for math stuff
8810 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8812 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8814 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8816 * text.C (changeRegionCase): do not change case of all the
8817 document when region ends at paragraph end (bug #461)
8819 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8821 * paragraph.C (startTeXParParams):
8822 (endTeXParParams): add \protect when necessary
8824 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8826 * BufferView_pimpl.C (workAreaExpose): remove warning
8828 2002-06-27 Angus Leeming <leeming@lyx.org>
8830 * Makefile.am: add lyxlayout_ptr_fwd.h.
8832 2002-06-26 André Pönitz <poenitz@gmx.net>
8834 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8836 2002-06-25 Angus Leeming <leeming@lyx.org>
8838 * lyxfunc.C (dispatch): Comment out the call to
8839 grfx::GCache::changeDisplay. The method no longer exists now that the
8840 pixmap generation part of the graphics loader has been moved into
8843 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8845 * text2.C: layout as layout
8847 * text.C: layout as layout
8849 * tabular.C (OldFormatRead): layout as layout
8851 * paragraph_pimpl.C (TeXDeeper): layout as layout
8852 (realizeFont): layout as layout
8854 * paragraph.C (writeFile): layout as layout
8855 (validate): layout as layout
8856 (getFont): layout as layout
8857 (getLabelFont): layout as layout
8858 (getLayoutFont): layout as layout
8859 (breakParagraph): layout as layout
8860 (stripLeadingSpaces): layout as layout
8861 (getEndLabel): layout as layout
8862 (getMaxDepthAfter): layout as layout
8863 (applyLayout): layout as layout
8864 (TeXOnePar): layout as layout
8865 (simpleTeXOnePar): layout as layout
8866 (TeXEnvironment): layout as layout
8867 (layout): layout as layout
8868 (layout): layout as layout
8870 * lyxtextclass.C (compare_name): new functor to work with
8871 shared_ptr, layout as layout
8872 (Read): layout as layout
8873 (hasLayout): layout as layout
8874 (operator): layout as layout
8875 (delete_layout): layout as layout
8876 (defaultLayout): layout as layout
8878 * lyxlayout_ptr_fwd.h: new file
8880 * lyxlayout.C (Read): layout as layout
8882 * lyx_cb.C (MenuInsertLabel): layout as layout
8884 * bufferlist.C (newFile): layout as layout
8886 * buffer.C (readLyXformat2): layout as layout
8887 (parseSingleLyXformat2Token): layout as layout
8888 (insertStringAsLines): layout as layout
8889 (asciiParagraph): layout as layout
8890 (latexParagraphs): layout as layout
8891 (makeLinuxDocFile): layout as layout
8892 (simpleLinuxDocOnePar): layout as layout
8893 (makeDocBookFile): layout as layout
8894 (simpleDocBookOnePar): layout as layout
8895 (getLists): layout as layout
8897 * LaTeXFeatures.C (getTClassPreamble): layout as layout
8899 * CutAndPaste.C (cutSelection): layout as layout
8900 (pasteSelection): layout as layout
8901 (SwitchLayoutsBetweenClasses): layout as layout
8903 * BufferView_pimpl.C (Dispatch): layout as layout
8904 (smartQuote): layout as layout
8906 * BufferView2.C (unlockInset): layout as layout
8908 2002-06-24 André Pönitz <poenitz@gmx.net>
8910 * lyxfunc.C: fix #487
8912 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8916 * lyxfunc.C: remove display_shortcuts, show_banner
8918 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8920 * Buffer_pimpl.C: oops, update on resize
8922 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8929 * BufferView.C: use repaint()
8931 * BufferView_pimpl.h:
8932 * BufferView_pimpl.C: s/updateScreen()/repaint()/
8933 as it's a clearer description. Remove superfluous
8936 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8938 * text.C: fix bug 488. Not ideal, but getting
8939 getWord() to work properly for the insets that
8940 matter is more difficult ...
8942 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8944 * BufferView_pimpl.C:
8947 * lyxfunc.C: remove the six million index lyxfuncs to just
8948 one, and DTRT (bug 458)
8950 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8954 * BufferView_pimpl.h:
8955 * BufferView_pimpl.C: clean up resize() stuff,
8956 and unnecessary updateScreen()s
8958 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8962 * BufferView_pimpl.h:
8963 * BufferView_pimpl.C:
8966 * minibuffer.C: remove focus management of workarea,
8967 not needed. Use screen's greyOut()
8969 2002-06-17 Herbert Voss <voss@lyx.org>
8971 * converter.C: (convert) do not post a message, when converting
8972 fails, let the calling function decide what to do in this case
8974 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
8976 * lyxfunc.C: tidy up a little
8978 2002-06-16 <alstrup@diku.dk>
8980 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8981 Got rid of FORMS_H_LOCATION include. Now we are
8984 2002-06-15 LyX Development team <lyx@rilke>
8986 * buffer.[Ch] (sgmlOpenTag):
8987 (sgmlCloseTag): Added support for avoiding pernicious mixed
8988 content. Return number of lines written.
8991 (makeDocBookFile): Fixed calls to sgml*Tag.
8992 Simple white space clean.
8994 (simpleDocBookOnePar): Simple white space clean.
8996 * tabular.[Ch] (docBook): Renamed to docbook and got another
8997 argument to related with the pernicious mixed content.
8999 (docbookRow): Fixed calls for docbook inset method.
9001 2002-06-15 Lyx Development team <larsbj@birdstep.com>
9003 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9004 so it's X11 independent.
9008 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9010 2002-06-15 Lyx Development team <lyx@electronia>
9012 * intl.h: Renamed getTrans to getTransManager.
9014 2002-06-14 Angus Leeming <leeming@lyx.org>
9016 * Makefile.am: nuke forgotten stl_string_fwd.h.
9018 2002-06-12 Angus Leeming <leeming@lyx.org>
9020 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9022 2002-06-13 Angus Leeming <leeming@lyx.org>
9025 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9027 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
9029 * kbmap.C (getiso): add support for cyrillic and greek
9031 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9035 * BufferView_pimpl.h:
9036 * BufferView_pimpl.C: move bogus scrolling logic
9039 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9042 * BufferView_pimpl.C: view->resize() change
9044 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9046 * BufferView_pimpl.C: topCursorVisible
9049 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9053 * lyx_gui.C: move to frontends/
9057 * lyx_main.C: changes from above
9059 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9066 * lyx_main.C: minor tidy
9068 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9070 * BufferView_pimpl.h:
9071 * BufferView_pimpl.C:
9073 * BufferView.C: make painter() const,
9076 * BufferView2.C: use screen() accessor
9079 * lyx_main.C: some minor cleanup
9081 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9083 * BufferView_pimpl.h:
9084 * BufferView_pimpl.C: remove enter/leaveView,
9087 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9092 * BufferView_pimpl.h:
9093 * BufferView_pimpl.C: only construct screen once,
9096 * lyxrc.C: remove pointless comment
9098 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9101 * BufferView.C: remove active() and belowMouse()
9103 * BufferView_pimpl.h:
9104 * BufferView_pimpl.C: use workarea() not workarea_,
9105 and make it use a scoped_ptr instead
9107 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9109 * lyx_gui.C: add debug message on BadWindow
9111 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9113 * sp_spell.C: fdopen is not part of the C++ standard.
9115 * paragraph.C (InsetIterator): use >= instead of ==
9117 2002-06-07 Angus Leeming <leeming@lyx.org>
9119 Fixes needed to compile with Compaq cxx 6.5.
9120 * BufferView_pimpl.C:
9127 * lyxtextclasslist.C:
9132 all c-library variables have been moved into namespace std. Wrap
9133 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9138 Add a using std::abs declaration.
9140 * kbmap.h (modifier_pair):
9141 * paragraph.h (InsetTable, InsetList):
9142 * lyxfont.h (FontBits):
9143 type definition made public.
9145 * bufferlist.C (emergencyWriteAll): the compiler complains that
9146 there is more than one possible lyx::class_fun template to choose from.
9147 I re-named the void specialisation as lyx::void_class_fun.
9149 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9151 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9152 the compiler is is unable to find tostr in write_attribute.
9154 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9156 * buffer.C (sgmlError): hide #warning
9158 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9160 * xtl/*: get rid of xtl, which is not in use anyway
9162 * LyXAction.C (init):
9163 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9164 were unimplemented xtl experimentation
9166 2002-06-04 André Pönitz <poenitz@gmx.net>
9168 * lyxfunc.C: disable array operation on simple formulae
9170 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
9172 * converter.C: constify a bit
9174 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
9176 * lyx_gui.C: check xforms version correctly
9178 2002-04-30 Herbert Voss <voss@lyx.org>
9180 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9183 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
9185 * lyxvc.C: fix bug 416 (make sure buffer is saved before
9186 attempt to register it with a VCS)
9188 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9190 * lyx_main.C (init): honor variables LYX_DIR_13x and
9193 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9197 * lyx_main.C: fix a crash on bad command line,
9198 and give a useful exit status on error
9200 * lyxfunc.C (doImport): allow -i lyx to work
9202 2002-03-30 André Pönitz <poenitz@gmx.net>
9204 * lyxfunc.C: mathed font changes
9206 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9221 * trans_mgr.h: srcdocs, and some minor cleanups
9223 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9225 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9226 call getFont all the time)
9228 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9230 * switch from SigC signals to boost::signals
9232 2002-05-29 André Pönitz <poenitz@gmx.net>
9234 * paragraph_pimpl.C (getChar): don't call size() too often...
9236 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9238 * paragraph_pimpl.C (insertChar): do not try to update tables when
9239 appending (pos == size())
9241 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9242 in order to reduce drastically the number of comparisons needed to
9243 parse a large document
9245 2002-05-29 André Pönitz <poenitz@gmx.net>
9251 * textclasslist.[Ch]:
9252 * sp_ispell.h: whitespace change
9254 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9256 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9257 lyxaction directly now.
9259 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
9263 * lyxvc.C: remove unused headers
9265 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9272 * undo_funcs.C: some cleanups. Use shared_ptr
9273 and a template for the undo stacks.
9275 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9277 * BufferView_pimpl.h:
9278 * BufferView_pimpl.C:
9285 * text2.C: use key_state/mouse_state
9287 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9289 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9292 * chset.C: change include order
9293 (loadFile): use boost regex and get rid of LRegex and LSubstring
9295 * Makefile.am (BOOST_LIBS): new variable
9298 * LaTeX.C: change include order.
9299 (scanAuxFile): use boost regex and get rid of LRegex and
9303 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9308 * FontInfo.C: moved to frontends/xforms/
9311 * FontLoader.C: moved into frontends for GUIIzation
9316 * lyxfunc.C: changes from above
9318 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9320 * LColor.C: remove spurious X include
9322 * BufferView_pimpl.C:
9327 * text2.C: move font metrics to frontends/
9329 2002-05-24 Juergen Vigna <jug@sad.it>
9331 * undo_funcs.C (textHandleUndo): fix the cursor selection after
9332 setting the undo_cursor.
9334 * ParagraphParameters.h: include local includes first.
9336 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9338 * BufferView_pimpl.C:
9339 * BufferView_pimpl.h:
9343 * screen.C: move WorkArea into frontends/
9349 * BufferView2.C: move LyXScreen into frontends/
9353 * lyx_gui.C: move lyxlookup into frontends/xforms/
9355 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9358 * BufferView_pimpl.C:
9368 * bufferview_funcs.C:
9381 * vc-backend.C: move LyX/XFormsView into frontends/
9383 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9395 * text2.C: move Painter to frontends/
9397 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9399 * buffer.C: comment out some some code that depend upon lyx_format
9402 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9403 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9405 * buffer.h (NO_COMPABILITY): turn off compability
9407 * ColorHandler.C: include scoped_array.hpp
9409 * font.C: Use more specific smart_ptr header.
9412 * ShareContainer.h: ditto
9416 * BufferView_pimpl.h: ditto
9417 * ColorHandler.h: ditto
9419 * kbmap.C (defkey): change call to shared_ptr::reset
9421 2002-05-21 Juergen Vigna <jug@sad.it>
9423 * buffer.C (insertErtContents): fix to insert ert asis if it is
9424 non empty. Skip it completely if it contains only whitespaces.
9426 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
9428 * BufferView_pimpl.C:
9429 * BufferView2.C: clear selection on paste (bug 393)
9431 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9433 * DepTable.C: include ctime
9435 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
9437 * buffer.C (latexParagraphs): Add new argument (moving_arg).
9439 2002-05-14 Juergen Vigna <jug@sad.it>
9441 * text.C (breakParagraph): fixed function to honor the keepempty
9442 layout in the right maner and also to permit the right breaking
9443 algorithm on empty or non empyt keepempty paragraphs.
9445 * paragraph.C (breakParagraph): we have to check also if the par
9446 is really empty (!size()) for isempty otherwise we do the wrong
9449 2002-05-10 Juergen Vigna <jug@sad.it>
9451 * buffer.[Ch] : The following are only changes to the ert
9452 compatibility read reading old LaTeX layout and font stuff and
9453 convert it to ERTInsets.
9455 * buffer.h: added isErtInset().
9457 * buffer.C (struct ErtComp): add a fromlayout bool to check
9458 if we're inside a LaTeX layout.
9459 (isErtInset): new helper function.
9460 (insertErtContents): look for other ert insets before this one
9461 and insert the contents there, so that we don't have subsequent
9462 ERT insets with nothing between them. This way we create only one
9463 inset with multiple paragraphs. Also check if we don't insert only
9464 spaces ' ' as they are ignored anyway afterwards in the .tex file
9465 so if we have only spaces we will ignore this latex part in the
9467 (parseSingleLyXformat2Token \\layout): better compatibility when
9468 reading layout-latex stuff.
9469 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9471 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9472 stuff after reading the inset only get the information back from
9475 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
9477 * buffer.C (makeLaTeXFile): Put language options after loading babel.
9479 * LaTeXFeatures.C (getBabelOptions): New method.
9481 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9483 * BufferView_pimpl.C (Dispatch): work around missing argument for
9486 2002-05-08 Juergen Vigna <jug@sad.it>
9488 * text.C (leftMargin): handle paragraph leftindent.
9490 * paragraph.C (writeFile): write the new \\leftindent tag.
9491 (validate): handle leftindent code.
9492 (TeXEnvironment): handle paragraphleftindent code again.
9494 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9496 * buffer.C (parseSingleLyXformat2Token): added compatibility code
9497 for paragrap_extra indent code and new token \\leftindent.
9498 (latexParagraphs): handle the leftindent as environment.
9500 * ParameterStruct.h: added leftindent support.
9502 * ParagraphParameters.C (leftIndent): added support functions for
9503 the paragraph left indent.
9505 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9508 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
9510 * paragraph.C (isRightToLeftPar): Return false for a paragraph
9513 * text.C (computeBidiTables): No bidi in insetERT.
9515 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9518 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9520 * version.C.in: pre 5
9522 2002-05-02 José Matos <jamatos@fep.up.pt>
9523 * buffer.C (makeDocBookFile): white space changes, add newline to
9525 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9527 * tabular.C (docBook): fix typo.
9529 2002-05-03 Juergen Vigna <jug@sad.it>
9531 * screen.C (drawFromTo): recalculate the rowpointer if we had a
9532 change in LyXText as we can not be sure it was not freed.
9533 (drawOneRow): remove unused code.
9535 * text.C (drawInset): redo the calculation of the need_break_row as
9536 it could have a row which was already freed.
9537 (draw): look at the return value of drawInset and return false if
9538 it also returned false.
9539 (paintRowText): look at the return value of draw and return false if
9540 it also returned false.
9542 * lyxtext.h: added bool return type to drawInset() and draw() so that
9543 if we have a change in the row so that the rowbreak has to be redone
9544 we abort drawing as it will be called again.
9546 2002-05-02 Juergen Vigna <jug@sad.it>
9548 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9549 a change in the maintext also if we're inside an inset.
9550 (Dispatch): set the cursor again after a break line and after the
9551 screen has been updated as it could be we're in a different row.
9553 * text2.C (fixCursorAfterDelete): check to make sure we don't request
9554 to set the cursor behind the pargraph with > size().
9555 (setCursor): check also for the same paragraph when checking where
9556 to put the cursor if we have a NFR inset.
9558 * buffer.C (parseSingleLyXformat2Token): move the compatibility
9559 parts of layout read further up as it still was in the wrong
9562 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9564 * screen.C (drawFromTo): change sine fullRebreak always return
9567 * buffer.C (parseSingleLyXformat2Token): reindent some
9569 * BufferView_pimpl.C (update): change since fullRebreak always
9571 (Dispatch): git rid of the last hardcoded "Standard"s.
9573 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9575 * text2.[Ch] (fullRebreak): make it return void now that we always
9578 2002-04-30 Juergen Vigna <jug@sad.it>
9580 * buffer.C (parseSingleLyXformat2Token): reset the font before the
9581 ert compatibility check for "latex" layout.
9583 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
9585 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9586 minipages: use col% instead of p%, and also use the current font.
9587 (makeLaTeXFile): Fix use babel condition.
9588 (parseSingleLyXformat2Token): Correct font when reading old floats.
9590 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
9592 * BufferView_pimpl.C (Dispatch): Check that float type exists when
9593 inserting list of floats.
9595 2002-04-25 Herbert Voss <voss@lyx.org>
9597 * MenuBackend.C (expand): don't add the graphics extensions to the
9600 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9602 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9603 non-existing layout, do not complain if it was the default layout
9604 of the original class (bug #342)
9606 2002-04-24 Juergen Vigna <jug@sad.it>
9608 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9609 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9611 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
9613 * buffer.C (getBibkeyList): If using \bibliography, return the
9614 option field with the reference itself. Enables us to provide natbib
9615 support when using \bibliography.
9617 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
9619 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9621 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9622 natbib is provided by the LaTeX class.
9624 2002-04-23 Juergen Vigna <jug@sad.it>
9626 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9629 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9631 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9633 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9635 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9636 ensuremath around textordmasculine, textordfeminine and
9639 2002-04-19 Juergen Vigna <jug@sad.it>
9641 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9642 reinitializing the buffer otherwise row-dimensions may be wrong.
9643 (update): reset also the selection cursors if they do exits otherwise
9644 their x/y positions may be wrong.
9646 * text2.C (cursorDown): don't enter the inset if we came from a row
9647 above and are one row over the inset.
9649 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9650 really leaving an inset.
9652 2002-04-18 Juergen Vigna <jug@sad.it>
9654 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9655 of the selected paragraph does not have the selected layout also if
9658 * text2.C (setLayout): fixed bug which did not change last selected
9661 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9662 changed the read and substituted \\end_float with \\end_inset!
9664 * BufferView_pimpl.C (cursorPrevious):
9665 (cursorNext): fixed to make it work with rows heigher than the work
9666 area without moving the cursor only the draw of the row.
9667 (workAreaMotionNotify): fix jumping over high rows.
9669 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9671 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9674 2002-04-16 Juergen Vigna <jug@sad.it>
9676 * text2.C (setCursor): set also the irow().
9677 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9679 (cursorDown): support for locking an inset if the x_fix value goes
9680 inside it. That way I can transverse insets too with cursor up/down.
9682 * lyxrow.h: added irow helper function same as other (i) functions.
9684 * BufferView_pimpl.C (cursorPrevious):
9685 (cursorNext): fixed for insets!
9687 2002-04-15 Juergen Vigna <jug@sad.it>
9689 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9690 position otherwise it is wrong in some cases.
9692 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9693 inside the inset before the call.
9695 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
9697 * buffer.[Ch] (getBibkeyList): make it const.
9699 2002-04-12 Juergen Vigna <jug@sad.it>
9701 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9703 * text2.C (getCursorX): new helper function
9704 (setCursor): compute also ix_
9705 (setCursorFromCoordinates): set also ix.
9707 * lyxcursor.h: added ix_ and helper functions.
9709 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9711 * buffer.C (insertStringAsLines): dont break paragraph if the this
9712 paragraph is inside an inset which does not permit it!
9714 * text.C (breakParagraph): honor keepempty flag and break the paragraph
9715 also with no chars on this paragraph.
9716 (paintRowText): only paint stuff if it's inside the workarea!
9718 * paragraph.C (breakParagraph): honor keepempty flag and break the
9719 paragraph always below not above.
9721 * BufferView2.C (unlockInset): update the paragraph layout on inset
9722 unlock as we changed paragraph in such a case.
9724 * lyxfind.C (LyXFind): clear the former selection if not found!
9726 * text2.C (insertInset): freeze Undo after setUndo so that it is not
9727 again called in insertChar().
9729 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9730 an inset which uses the whole row!
9731 (rightMargin): ditto.
9732 (insertChar): force a rebreak if we inserted an inset!
9734 2002-03-28 Herbert Voss <voss@lyx.org>
9736 * lyxlength.[Ch]: add inBP() to get the right PS-point
9737 units (BigPoint). With inPixels we have rounding errors
9739 2002-04-11 Juergen Vigna <jug@sad.it>
9741 * text2.C (setCursorFromCoordinates): set iy to the right value.
9742 (setCursor): add check if row->previous exists!
9744 * buffer.C (parseSingleLyXformat2Token): reset font after read of
9745 an old float_type as this was the case in the old code!
9747 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9749 * BufferView2.C (showLockedInsetCursor): use iy
9750 (fitLockedInsetCursor): ditto
9752 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9753 locked insets as there we have the right value now.
9755 * lyxcursor.C: added iy_ variable and iy functions to set to the
9756 baseline of cursor-y of the locked inset.
9758 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9759 (setCursor): fixed for insets which need a full row.
9761 * text.C (rowLastPrintable): don't ignore the last space when before
9762 an inset which needs a full row.
9763 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9764 as last character of a row when before a inset which needs a full row.
9766 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9768 * version.C.in: update date
9770 * text2.C (fullRebreak): try to always return true and see what
9773 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9775 * MenuBackend.C (expand): use Floating::listName
9777 * FloatList.C (FloatList): add listName argument to the built-in
9780 * Floating.[Ch]: add listName member, which is the 'List of XXX'
9781 text associated with the float.
9783 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9785 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9787 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9789 * ShareContainer.h: add a couple of missing typenames.
9791 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
9793 * lyxrc.C (getDescription): use _() correctly rather than N_().
9795 2002-03-28 Herbert Voss <voss@lyx.org>
9797 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9798 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9800 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9802 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9803 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9805 2002-03-29 Juergen Vigna <jug@sad.it>
9807 * lyxfunc.C (dispatch): add a missing fitCursor call.
9809 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9810 it was scrolled by a cursor move, so return the bool status.
9812 * BufferView.C (fitCursor): return the bool flag also to the outside
9813 world as this is needed.
9815 * screen.C (toggleToggle): don't subtract the offset if it's positive.
9817 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9818 call the edit() as it is not needed (and wrong) IMO.
9819 (workAreaButtonPress): set the screen_first variable before evt.
9820 unlock the inset as this may change screen_first and then we have
9821 a wrong y position for the click!
9823 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9825 * MenuBackend.C (expand): another translation that I missed
9827 2002-03-28 Juergen Vigna <jug@sad.it>
9829 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9831 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9833 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9835 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9837 * MenuBackend.C (expand): fix export/view/update when there is no
9840 2002-03-27 Herbert Voss <voss@lyx.org>
9842 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9845 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9847 * bufferview_funcs.C (currentState): only show paragraph number
9848 for is DEVEL_VERSION is set.
9850 * lyxfunc.C (dispatch): put warning in INFO channel
9852 * MenuBackend.C (expand): translate the name of floats
9854 * FloatList.C (FloatList): mark the float names for translation
9856 * converter.C (convert): use LibScriptSearch
9858 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9860 * MenuBackend.C (defaults): fix default menu (we might as well get
9863 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9865 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9868 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9870 * lyxvc.C: reorder includes.
9872 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
9874 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9877 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
9879 * CutAndPaste.C: change layouts earlier on paste
9880 to avoid crashing when calling getFont()
9882 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
9884 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9887 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9889 * WorkArea.C: remove 'Pending' debug message.
9891 * most files: ws cleanup
9893 * buffer.[Ch]: ws changes
9895 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9897 2002-03-21 Juergen Vigna <jug@sad.it>
9899 * tabular.C (SetMultiColumn): collapse also the contents of the
9900 cells and set the last border right. Added a Buffer const * param.
9902 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9904 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9907 2002-03-19 Juergen Vigna <jug@sad.it>
9909 * text2.C (clearSelection): reset also xsel_cache.
9911 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9912 where it needs to be called (John tells us to do so too :)
9913 (selectionLost): reset sel_cache.
9915 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9917 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9919 * text2.C (setCursorIntern): put debuging code in INSETS channel
9921 2002-03-19 André Pönitz <poenitz@gmx.net>
9923 * lyxfunc.C: tiny whitespace change
9925 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9927 * ToolbarDefaults.C (init):
9928 * LyXAction.C (init):
9930 * BufferView_pimpl.C (Dispatch):
9931 * lyxfunc.C (dispatch): remove LFUN_DEPTH
9933 2002-03-19 Allan Rae <rae@lyx.org>
9935 * exporter.C (Export): removeAutoInsets before doing anything else.
9936 While I've just introduced a dependency on BufferView this really is
9937 the best place to clean the buffer otherwise you need to cleanup in
9938 a dozen places before calling export or cleanup in a dozen functions
9941 * converter.C (runLaTeX):
9942 (scanLog): Better handling of removeAutoInsets and screen updates.
9944 * lyxfunc.C (dispatch): small whitespace changes
9946 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9948 * WorkArea.C (C_WorkAreaEvent): return a value.
9949 (event_cb): return 1 if we handled the event, 0 otherwise.
9951 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9953 2002-03-18 Juergen Vigna <jug@sad.it>
9955 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9956 (GetAdditionalWidth): ditto.
9960 * BufferView2.C (copy): use getLyXText() so that we do it inside an
9961 inset if we're there actually (probably not used right now but this
9962 is the direction to go for unifying code).
9963 (paste): disable code to clear the selection.
9965 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9966 inside an InsetText and move the check further up as it is in the
9969 * text2.C (pasteSelection): set a selection over the pasted text.
9971 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
9973 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9974 and libgraphics to build on Cygwin.
9976 2002-03-15 Juergen Vigna <jug@sad.it>
9978 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9979 inserting an Inset into the paragraph. I know this is not the best
9980 fix but we already use current_view in CutAndPaste so we will remove
9981 all of it's using at the same time.
9983 * buffer.C (sgmlError): deactivated function till it is rewritten in
9984 the right mode, now it can create problems.
9986 * paragraph.C (isLineSeparator): check if getInset returns != 0,
9987 before accessing it.
9989 2002-03-14 Juergen Vigna <jug@sad.it>
9991 * undo_funcs.C (textHandleUndo): do the right thing when updating
9992 the inset after the undo/redo.
9994 * text2.C (setCursor): just some testcode for #44 not ready yet.
9996 * undo_funcs.C (textHandleUndo): set the next() and previous()
9997 pointers of the paragraph to 0 before deleting otherwise we have
9998 problems with the Paragraph::[destructor].
10000 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10001 on a paragraph insertion.
10003 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10005 * buffer.C (asciiParagraph): use += operator for char append to
10008 * paragraph.C (getFontSettings): compare >= not just >
10009 (highestFontInRange): ditto
10012 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10014 * paragraph.C: change several algorithm to be more appripriate for
10015 the problem domain. This is lookip in FontList and in the InsetList.
10017 2002-03-13 André Pönitz <poenitz@gmx.net>
10020 * LyXAction.C: remove unused LFUN_MATH_MACROARG
10022 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
10027 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10029 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10031 * Painter.C (display): anon helper function, adjust code for this
10033 (pixmap): remove function.
10035 * Painter.h: remove private display variable.
10037 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10039 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
10041 * WorkArea.[Ch]: remove figinset_canvas cruft.
10043 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10045 * lyxtextclass.C (operator): add one item cache optimization.
10047 * bufferlist.h: doxy changes
10049 * bufferlist.C: ws changes
10051 * DepTable.[Ch] (ext_exist): place const in the right spot.
10053 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10055 (workAreaExpose): call resizeInsets when the with BufferView changes.
10056 (Dispatch): adjust for protectedBlank removal
10057 (specialChar): call updateInset if the insert went ok.
10059 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10060 specialChar instead.
10062 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10064 * BufferView.h: doxy change
10066 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10068 * lyxtextclass.C (operator[]): remove non-const version
10069 (defaultLayout): remove non-const version
10071 2002-03-12 Juergen Vigna <jug@sad.it>
10073 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10074 did resize the LyXText too.
10076 * buffer.C (readLyXformat2): set layout information on newly allocated
10079 * tabular.C (OldFormatRead): set layout information on the paragraph.
10081 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10083 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10085 2002-03-11 Juergen Vigna <jug@sad.it>
10087 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10089 (resizeCurrentBuffer): force also the insets to resize themselfes.
10090 (moveCursorUpdate): fixed up for InsetText.
10092 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
10095 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10096 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10097 value of Dialogs::tooltipsEnabled().
10098 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10100 2002-03-08 Juergen Vigna <jug@sad.it>
10102 * BufferView_pimpl.C (updateInset): update inset inside inset also
10103 if it isn't inside theLockingInset().
10105 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10107 * buffer.C (asciiParagraph): redo some of the word and line length
10109 (getLists): look for Caption instead of caption.
10111 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10113 * buffer.C (Buffer): initialize niceFile to true
10115 (makeLinuxDocFile):
10116 (makeDocBookFile): make sure niceFile is true on exit
10118 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10120 * buffer.C (makeLaTeXFile): escape ~ in \input@path
10122 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
10124 * LyXSendto.C: remove.
10125 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10126 * lyx_gui.C: remove now-redundant comment.
10127 * ColorHandler.h: remove forward declaration of class WorkArea.
10128 * lyxfunc.C: remove #include "WorkArea.h".
10130 2002-03-07 Juergen Vigna <jug@sad.it>
10132 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10133 got moved away with the DEPM and also set the inset_owner always
10134 right which before could have been omitted.
10136 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10138 * buffer.C (parseSingleLyXformat2Token): use default layout is the
10139 wanted layout is not found.
10141 2002-03-07 Juergen Vigna <jug@sad.it>
10143 * CutAndPaste.C (cutSelection): another layout settings forgotten.
10145 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10147 * paragraph.C (breakParagraph): use default layout not layout of
10149 (Paragraph): clear ParagraphParameters.
10151 2002-03-06 Juergen Vigna <jug@sad.it>
10153 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10154 otherwise it would not be a valid lenght. Fixed a special case in
10155 the minipage compatibility read where we end the document with a
10158 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10159 was set as it could be 0 for InsetTexts first entry.
10161 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10163 * paragraph.C (writeFile): if layout is empty write out
10164 defaultLayoutName().
10166 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10167 file without named layout we set layout to defaultLayoutName().
10169 2002-03-06 Juergen Vigna <jug@sad.it>
10171 * CutAndPaste.C (copySelection): set layout for new paragraph.
10173 * text.C (prepareToPrint): leave ERT inset left aligned
10174 (leftMargin): don't indent paragraphs inside ERT insets
10176 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10178 * paragraph.C (breakParagraph): dont call clear do the work manually
10180 * paragraph.[Ch] (clear): remove function
10182 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10184 * paragraph.C (Paragraph): dont call clear, the work has already
10187 * lyxtextclass.C (operator): assert if n is empty
10189 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10190 work manually instead.
10192 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10194 * BufferView_pimpl.C: protect selectionLost against text == 0
10196 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10198 * text.C (breakParagraph): fix a setting layout to '0' problem.
10200 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10202 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10203 final location of file, for the included files, and graphics.
10205 2002-03-05 Juergen Vigna <jug@sad.it>
10207 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10209 2002-03-04 Juergen Vigna <jug@sad.it>
10211 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10213 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10214 last column of multicolumn cells.
10215 (SetWidthOfMulticolCell): recalculate NMC and real columns.
10217 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
10219 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10220 file if it doesn't go to a temporary file.
10222 * buffer.C (sgmlOpenTag):
10223 (sgmlCloseTag): remove extra newline insertion.
10225 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10227 * text.C (getRowNearY): comment out debug msg
10229 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10231 * text2.C: first -> first_y
10233 * text.C (getRowNearY): add some attemts at a possible
10234 optimization, not working.
10236 * tabular.[Ch]: add BufferParams to several function so that newly
10237 created paragraph can be initialized to he default layotu for the
10240 * tabular-old.C (ReadOld): add buf->params to call of Init
10242 * screen.C: rename text->first to text->first_y
10244 * paragraph.C (breakParagraph): always set layout in the broken
10247 * lyxtextclass.C (Read): remove lowercase
10250 (delete_layout): ditto
10252 * lyxtext.h: rename first -> first_y
10254 * lyxlayout.C (Read): remove lowercase
10257 (obsoleted_by): ditto
10259 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10261 * buffer.C (insertErtContents): add params are to InsetERT
10262 (parseSingleLyXformat2Token): add code to check if a paragraphs
10263 layout really exist.
10264 (parseSingleLyXformat2Token): add params to several inset
10266 (asciiParagraph): remove lowercase, do the layout comparisons with
10269 * BufferView_pimpl.C (cursorNext): first -> first_y
10270 (resizeCurrentBuffer): first -> first_y
10271 (updateScrollbar): first -> first_y
10272 (scrollCB): first -> first_y
10273 (workAreaMotionNotify): first -> first_y
10274 (workAreaButtonPress): first -> first_y
10275 (checkInsetHit): first -> first_y
10276 (cursorPrevious): first -> first_y
10277 (cursorNext): first -> first_y
10278 (Dispatch): add buffer_->params to severl inset contructors
10280 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10282 * lyxlayout.C (Read): remove some debug info that I forgot.
10284 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10285 clean up the code slightly.
10286 (makeLinuxDocFile): ditto
10287 (makeDocBookFile): ditto
10289 * text2.C: layout as string
10291 * text.C: layout as string
10293 * paragraph_pimpl.C: layout as string
10295 * paragraph.[Ch]: layout as string
10297 * lyxtextclasslist.[Ch]: layout as string
10299 * lyxtextclass.[Ch]: layout as string
10301 * lyxtext.h: layout as string
10303 * lyxlayout.[Ch]: layout as string
10305 * lyx_cb.C: layout as string
10307 * bufferview_funcs.C: layout as string
10309 * bufferparams.C: layout as string
10311 * buffer.C: layout as string
10313 * LyXView.[Ch]: layout as string
10315 * LaTeXFeatures.[Ch]: layout as string
10317 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10319 * BufferView_pimpl.C: change current_layout to string, remove
10324 (workAreaButtonRelease): layout as string
10326 * BufferView2.C (unlockInset): adjust
10328 * vspace.C (asLatexCommand): use an explict temp variable.
10330 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10332 * Makefile.am: use FRONTEND_*
10334 2002-03-01 Juergen Vigna <jug@sad.it>
10336 * tabular.C (SetWidthOfMulticolCell): changed to something better
10337 I hope but still work in progress.
10338 (recalculateMulticolumnsOfColumn): renamed function from
10339 recalculateMulticolCells as it is more appropriate now.
10340 (SetWidthOfCell): calculate multicols better.
10342 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10344 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10346 * lyxfunc.C (processKeySym): print sequence also if it is
10347 `deleted' (complete)
10349 * kbsequence.C (print): print sequence even if it is deleted
10350 (complete would be a better word, actually).
10352 * lyxfunc.C (dispatch): print complete options after a prefix key
10354 * vspace.C (asLatexCommand): rewrite in a slightly different form.
10356 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
10358 * text2.C (setCharFont): eliminate setCharFont code duplication.
10360 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10362 * BufferView_pimpl.C (Dispatch): remove bogus handling of
10363 LFUN_TABULAR_FEATURE (bug #177)
10365 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
10367 * Makefile.am: remove figure.h
10369 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
10371 * Bufferview_pimpl.C:
10383 * text2.C: remove #include "lyx_gui_misc.h".
10385 * LaTeX.C: added #include <cstdio>
10387 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10389 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10390 that the paragraph following this one can have.
10392 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10394 * vspace.C (asLatexCommand): fix bogus gcc warning
10396 * Makefile.am (lyx_SOURCES): remove vms_defines.h
10398 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
10400 * text2.C (setLayout): get rid of redundant code
10402 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
10404 * text2.C (incDepth): make sure depth cannot be increased beyond
10407 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
10409 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10410 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10412 * PainterBase.h (image):
10413 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10414 a LyXImage const *.
10416 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10420 * BufferView_pimpl.C:
10421 * BufferView_pimpl.h:
10441 * sp_spell.C: remove fig inset, and the crap house of
10442 cards that follows it
10444 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10449 * os2_errortable.h:
10450 * nt_defines.h: move .h into support/
10452 * vms_defines.h: remove
10454 * WorkArea.C: add space in debug output
10458 * buffer.C: add WITH_WARNINGS
10462 * bufferlist.C: s/retrive/retrieve/, add docs
10471 * chset.C: add docs
10473 * lyxgui.C: add ID to X error handler
10475 * lyxtestclass.c: fix typo
10477 2002-02-26 Juergen Vigna <jug@sad.it>
10479 * tabular_funcs.C (write_attribute): changed so that some default
10480 attributes are not written at all.
10481 (getTokenValue): set default values before trying to read the
10482 value so we have the return value always set as default if we don't
10483 find the token we search for.
10485 * tabular.C (Write): write bools as bools not as strings!
10487 2002-02-22 Juergen Vigna <jug@sad.it>
10489 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10490 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10492 * text.C (leftMargin): don't add an indent for paragraphs inside
10493 tabular cells (fix #208).
10495 2002-02-21 José Matos <jamatos@fep.up.pt>
10497 * tabular.C (docBook): fixed support for long tables.
10499 2002-02-20 Juergen Vigna <jug@sad.it>
10501 * text2.C (getFont): get the drawing font of the Inset if this
10502 paragraph is inside an inset (only important for InsetERT for now).
10504 * buffer.C (insertErtContents): use new lanugage params in ERT
10507 * CutAndPaste.C: commenting out seemingly uneeded code.
10509 2002-02-19 Allan Rae <rae@lyx.org>
10511 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10512 Iterators might be simple to use but they also get invalidated.
10513 (removeAutoInsets): renamed saved cursor tracking variables and added
10514 some comments to clarify what everything does.
10516 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
10523 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10524 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10527 * vc-backend.h: remove #include "support/syscall.h"
10531 * converter.C: rearrange #includes in Lars' approved fashion.
10533 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10534 forward declare class Timeout in the header file.
10536 * XFormsView.C: changes due to the above.
10538 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10539 similar to LyXView.
10541 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10542 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10544 2002-02-18 José Matos <jamatos@fep.up.pt>
10546 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10549 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10551 * a lot of small ws changes
10552 * add a lot of using std::XXX
10553 * use std construcs some places where approp.
10554 * use some exisint stuff from lyxfunctional where approp.
10555 * Make file changes to use partial linking (lets test this now...)
10557 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10561 remove #include "support/syscontr.h" as it's redundant. Always has been.
10569 change Systemcalls::System to Systemcalls::Wait and
10570 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10571 No change of functionality, just reflects the stripped down Systemcalls
10574 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10576 * debug.[Ch]: add a GRAPHICS type to the enum.
10578 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10580 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10582 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10585 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10587 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10588 match the changes below.
10590 * text2.C (toggleInset): if there is not editable inset at cursor
10591 position, try to see if cursor is _inside_ a collapsable inset
10594 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10596 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10597 document menu has a nice checkbox
10599 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10601 * lyxlength.C (asLatexString): change PW to output as percent of
10604 * lengthcommon.C: change '%' to 't%'
10606 * lyxfunc.C (dispatch): a few comments from Martin
10608 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
10612 * BufferView_pimpl.h:
10613 * BufferView_pimpl.C: clear our selection when X tells us we've lost
10616 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10618 * vspace.C (inPixels): fix compiler warning
10620 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10622 * lyxfunc.C (getStatus): fix status message for disabled commands.
10624 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
10626 * BufferView_pimpl.C: fix crash on close buffer
10627 during selection (#227)
10629 2002-01-27 Herbert Voss <voss@lyx.org>
10631 * buffer.C: link old Figure to new graphic inset
10633 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
10635 * FontLoader.C (getFontinfo): Change the latex font names in order
10636 to match the names of type1inst.
10638 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10640 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10642 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10643 (extchanged): ditto
10645 (remove_files_with_extension): ditto
10646 (remove_file): ditto
10649 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10650 document is smaller than the work area height. Do not initialize
10651 static variables to 0.
10653 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10655 * lyx_gui.C (init): give the toolbar tooltips a normal font.
10657 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10658 LFUN_LAYOUT_PARAGRAPHS.
10660 * tabular.C (GetCellFromInset): new method. Finds an inset in a
10661 tabular. It is possible to provide a possible cell, which will
10662 typically be the actcell from the corresponding insettabular
10664 * lyxfunc.C (getStatus): small cleanup; disable
10665 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10668 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10670 * tabular.C (Validate): remove broken optimization (fixes bug #201)
10672 * paragraph.C (startTeXParParams):
10673 (endTeXParParams): new methods. The LaTeX code to
10674 start/end paragraph formatting
10675 (simpleTeXOnePar): call startTeXParParams also when paragraph is
10676 empty (fixes bug #200)
10678 * vspace.C (inPixels): adapt to the change below
10679 (inPixels): [later] more cleanups (remove unused variables)
10681 * lyxlength.C (inPixels): change to use a width and a height as
10684 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10686 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10687 Replaced with \paperwidth
10689 * DepTable.C (insert): add std:: qualifier
10691 2002-01-18 Allan Rae <rae@lyx.org>
10693 * text2.C (removeRow): add comment. Should other refresh_?? vars be
10696 * text.C (drawInset): Turned out I didn't know enough about how
10697 rebreaking worked. This fixes most of the redraw problems. I see
10698 an occasional cursor trail when a line is broken now and the cursor
10699 placement can seem out by a few pixels also after a rebreak.
10701 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10703 * buffer.C (parseSingleLyXformat2Token): update because minipage
10704 width is now a LyXLength
10706 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10708 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10711 2002-01-17 Juergen Vigna <jug@sad.it>
10713 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10715 * BufferView2.C (lockInset): call edit() so that theLockingInset()
10716 is set correctly and the inset is updated correctly.
10718 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10720 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10721 the beginning of the loop.
10723 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
10725 * lyxrc.C: improve help for use_scalable_fonts
10727 2002-01-17 Allan Rae <rae@lyx.org>
10729 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10731 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10733 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10734 make sure to set their inset_owner to the right value (bug #171)
10736 2001-12-12 Ben Stanley <bds02@uow.edu.au>
10739 * DepTable.C: Implement mtime checking to reduce time spent doing
10742 2002-01-16 Juergen Vigna <jug@sad.it>
10744 * tabular.C (GetAdditionalHeight): one of error fixed.
10746 * lyxrc.C (output): small fix in writing use_pspell.
10748 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
10750 * sp_base.h: #include LString.h
10752 2002-01-16 Allan Rae <rae@lyx.org>
10754 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
10755 Can someone check this please?
10757 * text.C (drawInset): It was possible that p.row would be removed by
10758 breakAgainOneRow upsetting a few other settings. There may be another
10759 small tweak possible by setting need_break_row = 0 when p.row has been
10760 removed but I don't know enough about the logic here.
10762 2002-01-15 Allan Rae <rae@lyx.org>
10764 * text.C (insertChar): removed conditional truism.
10766 * BufferView2.C (removeAutoInsets): More tweaks.
10767 cur_par_prev could be a stray pointer. Check for trailing empty line
10768 in case last line was cur_par and only had an error inset on it.
10770 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10772 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10775 * vc-backend.C (most methods):
10776 * exporter.C (Export):
10777 * converter.C (convert):
10779 * LyXSendto.C (SendtoApplyCB):
10780 * lyxfunc.C (dispatch):
10784 * lyx_cb.C (AutoSave):
10786 * BufferView_pimpl.C (MenuInsertLyXFile):
10787 * buffer.C (runChktex): use Buffer::filePath().
10789 * buffer.h: rename filename to filename_; rename filepath to
10790 filepath_ and make it private
10791 (filePath): new method
10793 * buffer.C (writeFile): use fileName()
10796 * lyx_main.C (init): fix starting of LyX when the binary is a
10797 link from so,ewhere else.
10799 * minibuffer.C: include <cctype> for isprint
10801 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10803 * buffer.C (parseSingleLyXformat2Token): changes associated with the
10804 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10805 name clash with InsetCollapsable's width function.
10807 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10809 * lastfiles.C: include <iterator>
10811 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10813 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10816 * buffer.C (makeLaTeXFile): ditto.
10817 Also make loop operation more transparent.
10819 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10821 * ToolbarDefaults.C: remove trailing comma closing namespace.
10823 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10825 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10828 * trans.C (Load): comment out unused variable, allowed.
10830 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10832 * minibuffer.[Ch] (append_char): new method to recieve input from the
10833 drop-down completion browser. If a key was pressed, then recieve this
10834 char and append it to the existing string.
10835 (peek_event): modify the positioning data passed to the completion
10836 browser so that it can be placed above the minibuffer rather than below.
10837 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10839 * LyXAction.C (init): alloe error-next for readonly documents.
10841 * BufferView2.C (ChangeRefsIfUnique): use standard version of
10844 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10846 * bufferlist.C (readFile): create the buffer _after_ checking that
10849 * lyxfunc.C (verboseDispatch): fix handling of arguments
10851 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10853 * lyxrc.C: use string::erase() instead of initializing to "".
10856 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10858 * BufferView_pimpl.h:
10859 * BufferView_pimpl.C:
10862 * text2.C: tell X when we have made a selection for copying
10864 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10866 * BufferView_pimpl.C (MenuInsertLyXFile):
10867 * lyxfunc.C (menuNew):
10869 (doImport): add shortcuts to directory buttons
10871 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10874 * lyxfunc.C (setStatusMessage):
10875 (getStatusMessage): new methods
10876 (getStatus):use setStatusMessage instead of setErrorMessage
10877 (dispatch): when function is disabled, set error message here
10878 [instead of in getStatus previously]
10880 * BufferView_pimpl.C (workAreaButtonRelease): update
10881 toolbar/menubar here too.
10883 2002-01-13 Allan Rae <rae@lyx.org>
10885 * BufferView2.C (removeAutoInsets): finished off earlier fix.
10886 Now seems indestructible. Remaining task is to audit all other
10887 code affected by deleteEmptyParagraphMechanism. One small quirk
10888 left is that an empty document with an error in the preamble can
10889 be made to report an error but no error box appears. I don't know
10891 (removeAutoInsets): Improved comments.
10893 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
10896 * Thesaurus.C: update for Aiksaurus 0.14
10898 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10900 * text2.C (firstParagraph): removed member function, all uses
10901 replaces with ownerParagraph
10902 (redoParagraphs): here
10903 (updateInset): here
10904 (toggleAppendix): here
10905 * BufferView2.C (insertErrors): here
10906 (setCursorFromRow): here
10908 2002-01-13 Allan Rae <rae@lyx.org>
10910 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10911 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10912 There is still a way to segfault this although you may have to do this
10913 multiple times: Have an InsetERT with an unknown command in it.
10914 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10915 <down-arrow>, <Enter> again, View->DVI, BANG!
10917 * text2.C (setCursor):
10918 (deleteEmptyParagraphMechanism):
10919 * lyxtext.h (setCursor):
10920 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10921 Making use of the return value may help fix other bugs.
10923 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10925 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10927 * LyXView.C (updateMenubar): call MenuBar::update here
10928 (updateToolbar): but not here
10929 (showState): do not update toolbar/menubar
10931 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10932 should need to care about that.
10934 * lyxfunc.C (verboseDispatch): simplify a bit
10935 (getStatus): have a version which takes a pseudoaction, and
10936 another which requires a (kb_action,string).
10938 * LyXAction.C (retrieveActionArg): make it work also when action
10939 is not a pseudo-action.
10940 (getActionName): simplify a bit
10943 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10945 * lyxfunc.C (verboseDispatch): new families of methods with
10946 several ways to specify a command and a bool to indicate whether
10947 the command name and shortcut should be displayed in minibuffer
10948 (eventually, we could extend that to a finer bitmask like
10949 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10950 (dispatch): the pristine dispatch command which just, well,
10951 dispatchs! Note it still sets its result to minibuffer; I'm not
10954 * lyxfunc.h: remove setHintMessage
10956 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10958 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10960 * BufferView_pimpl.C (specialChar): delete new inset if we have
10961 not been able to insert it.
10963 * kbmap.C: revert to using int instead of kb_action, since all we
10964 are dealing with is pseudo-actions.
10966 * LyXAction.C (searchActionArg): change to return int instead of
10967 kb_action, since the result is a pseudoaction.
10969 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
10971 * buffer.C (insertErtContents): Fix (partially) the font bug.
10973 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10975 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10976 as the other one is broken on my machine!
10978 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
10981 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10983 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
10985 * lyxrc.[Ch]: change names and descriptions of popup font variables to
10986 reflect their actual use. Provide compatibility code for older lyxrc
10989 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10991 change names of popup font variables in line with the changes to lyxrc.C
10993 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10995 * buffer.C (asciiParagraph): avoid outputing a word twice after
10998 * lyxrc.C (getDescription): document that document_path and
10999 template_path can be empty.
11001 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11003 * LaTeXFeatures.C (getMacros):
11004 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11006 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11008 * LaTeXFeatures.C (useFloat): require "float" here instead of in
11010 (getPackages): rename feature "floats" to "float". Use an array to
11011 iterate over 'simple' features (i.e. just a \usepackage). Add
11012 handling of "amsmath" (renamed from "amsstyle").
11014 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
11016 * LaTeXFeatures.C (require): Prevent duplicate entries in the
11019 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
11021 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11022 FuncStaus::FuncStatus & FuncStaus::some_method().
11024 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
11026 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11027 of the func_satus stuff. Edited and massaged in various ways by
11030 * lyxfunc.C (getStatus): use FuncStatus
11032 2002-01-08 Juergen Vigna <jug@sad.it>
11034 * text.C (nextBreakPoint): use function Inset::isChar().
11036 * paragraph.C (TeXOnePar): use function
11037 Inset::forceDefaultParagraphs.
11039 * buffer.C (latexParagraphs): use function
11040 Inset::forceDefaultParagraphs.
11042 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11044 * lyx_gui.C (init): set the style of the menu popups to
11045 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11047 2002-01-07 Juergen Vigna <jug@sad.it>
11049 * text.C (setHeightOfRow): small fix
11050 (prepareToPrint): don't look at alignment if we don't have the place
11053 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11055 * box.C: New file. Move the Box methods and functions out of box.h,
11056 following Lars' suggestion.
11058 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11060 * box.h: #include "support/LOstream.h", needed for inlined function.
11063 * lyxtextclasslist.C: added some using std declarations.
11065 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
11067 * box.h: make signed dimensions to allow insets wider than
11068 the screen (bug #162)
11070 * BufferView_pimpl.C: add some insetHit debug
11072 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
11074 * vc-backend.C: add FIXME
11076 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11078 * lyxfunc.C (getStatus): enable code for showing math font status
11081 2002-01-07 Juergen Vigna <jug@sad.it>
11083 * text.C (nextBreakPoint): removed debug output not needed anymore.
11085 2002-01-06 Juergen Vigna <jug@sad.it>
11087 * text.C (nextBreakPoint): fixed up this function we had this bug
11088 since ever but now hopefully we break row better.
11089 (insertChar): we have to check if an inset is the next char as it
11090 could now happen that a large inset is causing a break.
11092 2002-01-05 Juergen Vigna <jug@sad.it>
11094 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11095 if it doesn't like to be drawed.
11097 2002-01-04 Juergen Vigna <jug@sad.it>
11099 * BufferView2.C (lockInset): forgot to set a cursor.
11101 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11103 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
11105 * FormMathsPanel.C:
11108 * form_maths_panel.C:
11109 * form_maths_panel.h:
11110 * form_maths_panel.fd: implemented sub- and super- buttons in math
11113 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11114 (or ^ space) to be used as in TeX (req'd by André).
11116 * lyxfunc.C: Allow ^ and _ again to be used both as
11117 super/subscript (mathed) and as themselves (in text).
11119 2002-01-03 Allan Rae <rae@lyx.org>
11121 * LyXView.C (updateWindowTitle): Setup a short icon title of either
11122 "LyX" or the filename of the current buffer if it has one. This is a
11123 modified form of John Levon's patch.
11125 * XFormsView.C (setWindowTitle): also set icon title.
11127 * LyXView.h (setWindowTitle): signature changed.
11128 * XFormsView.h (setWindowTitle): ditto.
11130 2002-01-02 Juergen Vigna <jug@sad.it>
11132 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11134 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11136 * screen.C (topCursorVisible): introduce a temp var for
11137 text->cursor.row(), handle the case where this row is null. (kindo
11140 * text2.C (setCursor): add a couple of asserts.
11142 * paragraph.h (inset_iterator): add -> operator
11144 * paragraph.[Ch] (autoDeleteInsets): remove member function
11146 * BufferView2.C (removeAutoInsets): rewrite to handle the old
11147 cursor pos correctly and handle inset deletion by itself.
11148 (insertErrors): move iterator declaration out of for expression
11150 * lyxtextclass.C: add <algorithm>
11152 * Makefile.am: added the new files to sources, removed layout.C
11154 * layout.C: removed file
11156 * layout.h: remove LYX_DUMMY_LAYOUT
11158 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11162 * lyxtextclass.[Ch]:
11163 * lyxtextclasslist.[Ch]: new files
11165 * include order changes to a lot of files, also changes because of
11168 2001-12-27 Juergen Vigna <jug@sad.it>
11170 * buffer.C (asciiParagraph): more fixes.
11172 * tabular.C (ascii): make ascii export support export of only the
11173 data separated by a column-delimiter.
11174 (ascii): better support for ascii export.
11176 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11178 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11180 * tabular_funcs.C: use a "using std::getline" instead of the
11181 previous fix from Angus (necessary for cxx + lyxstring)
11183 2001-12-24 Juergen Vigna <jug@sad.it>
11185 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11187 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11188 problems. First check a minipage also if we have some ert-contents
11189 (not only on par->size(), second set the right depth of the paragraph
11190 on the relink to the root-paragraph-list!
11192 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11193 which then did not anymore update the main paragraphs on undo/redo!
11195 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11197 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11198 code. Support all font-changing funcs (even those which are not in
11199 menu currently). Support for reporting font settings in
11200 mathed (disabled until Andre provides a function on mathed's side).
11202 * func_status.h (toggle): small helper function to set toggle
11205 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
11207 * tabular_funcs.C: getline -> std::getline
11209 2001-12-21 Juergen Vigna <jug@sad.it>
11211 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11212 accessed and could be 0 (I couldn't generate this but it seems
11215 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11217 * tabular_funcs.C: add LIstream.h, move write_attribute to..
11218 * tabular_funcs.h: here and include iosfwd
11220 2001-12-20 Juergen Vigna <jug@sad.it>
11222 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11223 inside inset but undo_par was.
11225 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11227 * Thesaurus.C: always include <config.h> in sources.
11231 * box.h: do not include <config.h> in header files
11233 * text.C (paintLastRow): remove unused variable
11235 * text.C (transformChar):
11237 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11239 * Painter.C (text):
11240 * font.C (width): rewrite to use uppercase() instead of
11243 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11245 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
11247 * lyxfind.C: clean up of find failure position change
11249 2001-12-20 Juergen Vigna <jug@sad.it>
11251 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11253 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11254 (TeXRow): added to LaTeX a single tabular row.
11255 (TeXLongtableHeaderFooter): added to output LT-h/f data.
11256 (Latex): simplified and finally good LT-h/f support.
11257 (various_functions): just small adaptions for LT-h/f support.
11259 * tabular_funcs.[hC]: added and moved here all not classfunctions
11262 2001-12-19 Juergen Vigna <jug@sad.it>
11264 * tabular.[Ch]: better support for longtabular options (not finished
11267 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11269 * text.C (paintLastRow): use the label font instead of the font of
11270 the last character to compute the size of *_BOX. This makes more
11271 sense and avoids a crash with empty paragraphs.
11272 Use Painter::rectangle to draw EMPTY_BOX.
11274 2001-12-19 Juergen Vigna <jug@sad.it>
11276 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11277 the paragraphs if the replaced paragraph is not the first one!
11278 Tried to delete not used paragraphs but does not work yet so for
11279 now it's inside #ifdef's and by default off!
11281 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11283 * MenuBackend.C: include "lyx_main.h" instead of declaring
11284 lastfiles (actually was declared as LastFiles* instead of a
11287 2001-12-17 Juergen Vigna <jug@sad.it>
11289 * tabular.C (AppendColumn): applied John's fix
11291 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
11295 * BufferView_pimpl.h:
11296 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11299 * box.h: new start of class for above
11301 * lyxfunc.C: ignore space-only minibuffer dispatches.
11302 Show the command name when it doesn't exist
11304 * minibuffer.C: don't add empty lines to the history
11306 * minibuffer.C: add a space on dropdown completion
11308 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
11310 * text.C: fix line above/below drawing in insets
11312 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11314 * lyxlength.C (LyXLength): Initialize private variables.
11316 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
11318 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11319 when inserting error insets.
11321 2001-12-13 Juergen Vigna <jug@sad.it>
11323 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11324 actually sometimes the before-paragraph.
11325 (setUndo): don't clear the redostack if we're not actually undoing!
11327 2001-12-06 Juergen Vigna <jug@sad.it>
11329 * undo_funcs.C (textHandleUndo): well after John's hint I got here
11330 and fixed redoing of main paragraph, so we can use it now ;)
11332 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11334 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11336 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11339 2001-12-13 André Pönitz <poenitz@gmx.net>
11342 * undo_func.C: minor cleanup
11344 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11346 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11347 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11348 font in urw-fonts package which is marked as -urw-fontspecific and
11349 does not work (incidentally, changing the encoding in the
11350 fonts.dir of this package to -adobe-fontspecific fixes the
11353 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11354 is a crash when undoing first paragraph (Juergen, please take a
11355 look). THis does not mean the undo fix is wrong, just that it
11358 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11359 the (Paragraph*) version when needed instead of duplicating the
11362 * text.C (workWidth): use Inset::parOwner to find out where the
11363 inset has been inserted. This is a huge performance gain for large
11364 documents with lots of insets. If Inset::parOwner is not set, fall
11365 back on the brute force method
11367 * paragraph_pimpl.C (insertInset):
11368 * paragraph.C (Paragraph):
11369 (cutIntoMinibuffer): set parOwner of insets when
11370 inserting/removing them
11372 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11374 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
11380 * mathed/formulabase.C:
11381 * mathed/math_cursor.[Ch]:
11382 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11385 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11387 * lyxlength.[Ch] (operator!=): new function
11389 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11391 * text.C (workWidth): use Inset::parOwner to find out where the
11392 inset has been inserted. This is a huge performance gain for large
11393 documents with lots of insets. If Inset::parOwner is not set, fall
11394 back on the brute force method
11396 * paragraph_pimpl.C (insertInset):
11397 * paragraph.C (Paragraph):
11398 (cutIntoMinibuffer): set parOwner of insets when
11399 inserting/removing them
11401 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11403 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11405 * tabular-old.C (getTokenValue):
11406 * tabular.C (getTokenValue):
11407 (write_attribute): new versions for LyXLength
11408 (everywhere): adjust the use of widths
11410 * tabular.h: change the type of widths from string to LyXLength
11412 2001-12-11 Ben Stanley <bds02@uow.edu.au>
11414 * paragraph.C: fixed missing line number count when exporting
11415 Environments to LaTeX file
11417 * buffer.C: added informational message for checking line numbers.
11419 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11421 * text2.C (deleteEmptyParagraphMechanism): if there is only one
11422 paragraph, do the 'double space' part, but not the 'empty
11425 * text.C (workWidth): small optimization
11426 (getLengthMarkerHeight): use minimal size for negative lengths.
11428 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
11430 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11432 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11434 2001-12-11 André Pönitz <poenitz@gmx.net>
11437 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11439 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11441 * text2.C: keep selection on a setFont()
11443 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11445 * lyx_cb.C: another bv->text misuse, from insert label
11447 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11450 * kbsequence.C: re-instate nmodifier mask
11452 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
11454 * lyx_main.h: make lyxGUI private.
11456 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11458 * lyxfind.C: place the cursor correctly on failed search
11460 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11462 * text.C (getLengthMarkerHeight): for small heights, the arrows
11463 are not always on top/bottom of the text
11464 (drawLengthMarker): smaller arrows; take the left margin in
11465 account; draw also vfills.
11467 (paintLastRow): remove special code for vfill and standard spaces,
11468 since everything is handled in drawLengthMarker now.
11470 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11472 * buffer.C (insertErtContents): try to handle font and language
11473 interaction a bit better.g
11475 * ColorHandler.C (updateColor): change the hash to cover the whole
11476 LColor enum, ws cleanup
11477 (getGCLinepars): ditto
11478 (getGCLinepars): only lookup in the linecache once.
11480 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
11482 * iterators.C (operator++): Make the iterator more robust
11484 * BufferView2.C (removeAutoInsets): Use paragraph iterators
11486 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11488 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11491 * text.C: better added space drawing
11493 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11496 * BufferView2.C: fix layout combo update on inset unlock
11498 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11500 * Makefile.am: don't compile unused files
11502 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11506 * LyXAction.C: remove old LFUN_LAYOUTNO
11508 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11510 * paragraph_pimpl.h:
11511 * paragraph_pimpl.C: isTextAt() doesn't need font param
11513 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11516 * lyxlex.C: little cleanup
11518 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11520 * BufferView_pimpl.C: fix insertAscii for insets
11522 2001-12-05 Juergen Vigna <jug@sad.it>
11524 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11525 set the right font on the "multi" paragraph paste!
11527 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11533 * lyxlength.C: remove out-commented code.
11535 * BufferView_pimpl:
11549 * vc-backend.C: change "while(" to "while ("
11551 * lyxlength.[Ch]: add zero function to check if length is zero or
11553 * lyxgluelength.C: use it
11555 2001-12-05 Allan Rae <rae@lyx.org>
11557 * lyxlength.C: Attempted a fix for the abs(int) header selection.
11558 Works for 2.95.3, from what I understand of Garst's reports this should
11559 work for other g++ versions. We're screwed if the abs(int) definition
11560 changed between bugfix releases of gcc.
11562 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11564 * text.C: fix chapter label offset !
11566 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11569 * text.C: fix hfill at end of line, clean up
11571 2001-12-04 Juergen Vigna <jug@sad.it>
11573 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11574 that we force an update of the inset and it's owners if neccessary.
11576 2001-12-03 Juergen Vigna <jug@sad.it>
11578 * text.C (rowLast): simplified code
11580 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11582 * lyxfunc.C: fix show options on timeout
11584 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11586 * screen.C (topCursorVisible): scroll half a page when the cursor
11587 reached top of bottom of screen
11589 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
11591 * minibuffer.C: deactivate on loss of focus
11593 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11595 * vspace.[Ch] (operator!=): add operator.
11597 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
11599 * BufferView_pimpl.C: refuse to open an inset when
11600 there's a selection.
11602 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
11604 * BufferView_pimpl.C: allow to click on RHS of full row insets
11606 2001-11-30 Juergen Vigna <jug@sad.it>
11608 * tabular.C (LyXTabular): add a same_id to set the same id's in the
11609 insets for undo reasons.
11611 2001-11-28 André Pönitz <poenitz@gmx.net>
11613 * vspace.[Ch]: cosmetical changes
11615 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11625 * kbsequence.C: part re-write of old kb code
11628 * WorkArea.C: remove Lgb_bug_find_hack
11630 2001-11-30 José Matos <jamatos@fep.up.pt>
11632 * buffer.C (makeDocBookFile): add a comment to point a hack.
11633 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11634 Fixed a double write of labels.
11636 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11639 * LaTeX.h Fixed bug in LaTeX class where it would not
11640 re-run latex if no depfiles were changed, but the .dvi was removed.
11642 2001-11-28 André Pönitz <poenitz@gmx.net>
11644 * all the files from the change on 2001/11/26:
11645 use lyx::layout_type instead of LyXTextClass::size_type
11646 use lyx::textclass_type instead of LyXTextClassList::size_type
11648 2001-11-29 Juergen Vigna <jug@sad.it>
11650 * text.C: added support for paragraph::isFreeSpacing()
11652 * buffer.C: same as above
11654 * paragraph.h: inserted isFreeSpacing() function to enable
11655 FreeSpacing inside InsetERT.
11657 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11658 of the paragraph's in the cut/copy buffer to 0!
11660 * text2.C (removeRow): remove the assert as it can!
11662 * lyxtext.h: added helper function firstRow returning firstrow and
11663 made firstrow private again.
11665 * BufferView2.C (lockInset): don't relock if we're already locked!
11667 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11668 the only paragraph.
11669 (removeRow): added Assert::(firstrow)
11671 * debug.C: forgot to add INSETTEXT here.
11673 2001-11-28 Juergen Vigna <jug@sad.it>
11675 * sp_spell.C (initialize): changed error text to more general
11676 spellchecker command use (not only ispell!)
11678 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11680 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11682 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11684 * vspace.C: initialise lyxgluelength on failure
11686 2001-11-28 Allan Rae <rae@lyx.org>
11688 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11689 declaration & definition that looks like a function declaration.
11691 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11693 * BufferView2.C (copy):
11694 (copyEnvironment): do not clear the selection when doing a copy.
11696 * text.C (paintFirstRow): compilation fix
11698 2001-11-27 Ben Stanley <bds02@uow.edu.au>
11700 * tabular.C (Latex): correct line count when writing latex.
11702 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
11704 * paragraph_pimpl.h:
11705 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11708 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11712 * LColor.C: change vfillline->added_space
11714 * text.C: add markers and text for added space
11716 * vspace.C: fix comment
11718 2001-11-28 André Pönitz <poenitz@gmx.net>
11720 * paragraph.C: whitespace changes
11721 * all the other files from the change on 2001/11/26:
11722 change *::pos_type into lyx::pos_type
11724 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
11726 * buffer.C (parseSingleLyXformat2Token): Set the language to the
11727 language of the document when inserting error insets.
11729 2001-11-26 André Pönitz <poenitz@gmx.net>
11731 * BufferView_pimpl.[Ch]:
11739 * paragraph_pimpl.[Ch]:
11742 * text2.C: reduce header dependencies, introduce type for positions
11744 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11746 * <various>: change to use Alert.h
11748 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
11750 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11751 when encountering an unknown token.
11752 (readLyXformat2): Show an error message if there were unknown tokens.
11754 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
11757 * BufferView_pimpl.C:
11761 * text2.C: use par->isInset()
11763 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11765 * paragraph_pimpl.h:
11766 * paragraph_pimpl.C: cleanup
11768 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11770 * text2.C (removeRow):
11771 * text.C (setHeightOfRow): remove useless (and costly) call to
11774 2001-11-20 Allan Rae <rae@lyx.org>
11776 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11777 Now need Inset*::checkInsertChar() to return true for appropriate
11778 cases so that the characters in the minibuffer will actually be
11781 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11783 * text.C: change the order of the includes.
11784 (workWidth): initialize it at once.
11785 (workWidth): make maxw unsigned
11786 (setHeightOfRow): remove unused variable (inset)
11787 (selectSelectedWord): remove unused variable (inset)
11788 (paintRowText): fix drawing of hfill characters, and clean up a bit.
11790 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11792 * lyxserver.C (emergencyCleanup): do not try to close pipes if
11793 server is not running.
11795 (closeConnection): add debug info when server is disabled.
11797 * ColorHandler.C (getGCForeground): send debug message to GUI
11800 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11802 * kbmap.C (bind): modify because return conventions of
11803 kb_sequence::parse have changed.
11805 * kbsequence.C (parse): only ignore spaces and not any stupid
11806 control character. This avoids tests like s[i] <= ' ', which are
11807 guaranteed to fail with 8bit characters and signed chars.
11808 Change return code to string::npos when there have been no error
11809 (0 was a bad idea when error is at first character)
11811 2001-11-14 José Matos <jamatos@fep.up.pt>
11814 * buffer.C (simpleDocBookOnePar): removed unused argument.
11816 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11818 * text.C (selectNextWordToSpellcheck): do not test explicitely for
11819 insets which are part of a word. Paragraph::isLetter takes care of
11820 that now. Use Paragraph::isInset to identify insets.
11821 (selectSelectedWord): do not test for hyphenation break.
11823 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11824 that protected spaces are considered as spaces.
11826 * paragraph.C (isLetter): cleanup the code for ispell extras; use
11829 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
11832 * lyxserver.C: fix it. and small cleanup.
11834 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11836 * BufferView_pimpl.C: use inline helpers
11839 * LaTeXFeatures.C: fix typos
11842 * Spacing.C: move spacing_string into class
11844 * ToolbarDefaults.C: move stuff into namespace anon
11846 * layout.h: update enum
11848 * lyxfunc.C: use better debug
11850 * minibuffer.h: fix typo
11854 * WorkArea.C: add and use Debug::WORKAREA
11858 * text2.C: code re-organisation, inline helpers
11860 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
11862 * Layout.C: replaced a few cases of std::vector.size() == 0 with
11863 std::vector.empty().
11865 2001-11-09 Allan Rae <rae@lyx.org>
11867 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11868 '\n's after tables. Tabular and ERT inset work now makes this no
11871 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11874 * minibuffer.C: fix crash, improve drop-down completion
11876 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
11879 * lyxserver.C: invalidate fd's when doing endPipe()
11881 2001-11-08 José Matos <jamatos@fep.up.pt>
11883 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11884 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11887 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11889 2001-11-07 José Matos <jamatos@fep.up.pt>
11892 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11895 * buffer.C (sgmlOpenTag):
11896 * buffer.C (sgmlCloseTag): removed debug info.
11898 * buffer.h (sgmlOpenTag):
11899 * buffer.h (sgmlCloseTag): made public.
11901 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11903 * buffer.C (saveParamsAsDefaults):
11904 * lyx_cb.C (MenuLayoutSave): remove
11906 * LyXAction.C (init):
11908 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11910 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11912 * buffer.C (setPaperStuff): removed from here...
11914 * bufferparams.C (setPaperStuff): ... and moved there.
11916 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
11920 * XFormsView.C: add support for drop-down completion
11922 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
11924 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11927 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11929 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11932 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
11934 * lyx_main.C: change ref to known bugs
11936 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
11938 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11939 to work around older babel problems.
11941 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11943 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11945 2001-10-24 Juergen Vigna <jug@sad.it>
11947 * tabular-old.C (ReadOld): below variable changes reflected.
11949 * tabular.[Ch]: added ltType struct for longtable header/footer
11950 defines and changed all instances where they are used. Added
11951 future support for double top/bottom rows.
11953 2001-10-24 José Matos <jamatos@fep.up.pt>
11955 * buffer.h (docbookHandleCaption):
11956 * buffer.C (docbookHandleCaption): removed unused function.
11957 (makeDocBookFile): moved docbook supported version to v4.1.
11959 2001-10-24 José Matos <jamatos@fep.up.pt>
11962 * tabular.C (docbookRow): new function to export docbook code of a row.
11963 (DocBook): now honors the longtable flags.
11965 2001-10-23 José Matos <jamatos@fep.up.pt>
11968 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11969 of the lyx defined sgml entities used in a docbook/linuxdoc document.
11971 * buffer.C (makeLinuxDocFile):
11972 (makeDocBookFile): reworked the preamble, more clean, and with
11973 support for lyx defined entities. Changed the document declaration
11974 to be more XML friendly.
11976 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11977 if we need to output XML that should be done with a filter.
11979 2001-10-22 Juergen Vigna <jug@sad.it>
11981 * sp_pspell.h (class PSpell): add alive function needed in the
11982 controller to see if the spellchecker could be started.
11984 2001-10-22 Juergen Vigna <jug@sad.it>
11986 * buffer.C (insertStringAsLines): modify the font for inserting
11987 chars in certain conditions by calling checkInsertChar(font).
11989 2001-10-19 Juergen Vigna <jug@sad.it>
11991 * text.C (workWidth): use getRow instead of wrong algorithm.
11992 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11994 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
11999 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12001 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12003 * text.C (workWidth): do not search for the exact row when
12004 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12005 optimization for big documents.
12007 2001-10-18 Juergen Vigna <jug@sad.it>
12009 * text.C (workWidth): new function with added Inset * parameter.
12011 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12013 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12015 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12016 change return type of getColumnNearX.
12019 * text.C (changeRegionCase): use uppercase/lowercase instead of
12022 (rightMargin): simplify code by factoring out the uses of
12027 (appendParagraph): use Paragraph::size_type
12029 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12031 * vspace.C (asLatexString): add a missing break
12033 2001-10-15 Herbert Voss <voss@perce.de>
12035 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12037 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12039 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12042 2001-10-10 André Pönitz <poenitz@gmx.net>
12044 * lyxfunc.C: removed greek_kb_flag.
12046 2001-10-10 Herbert Voss <voss@perce.de>
12048 * lyx_main.C: delete global string help_lyxdir.
12050 2001-10-09 Herbert Voss <voss@perce.de>
12052 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12054 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12056 * lyx_main.C: added global string help_lyxdir.
12058 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12060 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
12062 * lyxrc.C (set_font_norm_type): support iso8859-4
12064 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
12066 * LaTeX.C (deplog): add another regex for MikTeX
12068 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
12070 * lyxrc.C (set_font_norm_type): support iso8859-3
12072 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12074 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12076 * LaTeXFeatures.C: remove special case of french and index
12078 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12079 before \begin{document}). This solves several incompatibilities.
12081 2001-10-03 Garst Reese <reese@isn.net>
12083 * lyx_cb.C: change CheckTex error msg.
12085 2001-10-03 José Matos <jamatos@fep.up.pt>
12087 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12089 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12091 * .cvsignore: update
12093 * lyx_main.C (commandLineVersionInfo): use new style version info.
12095 * buffer.C (writeFile):
12097 (makeLinuxDocFile):
12098 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12100 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12102 * version.h: update to use stuff in version.C
12104 * version.C.in: new file. Contains version information determined
12105 at compile time. This is a merging of version.h and
12108 2001-10-03 Juergen Vigna <jug@sad.it>
12110 * BufferView_pimpl.C (update): don't change "dirty" status in
12113 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
12115 * WorkArea.C (c-tor): re-position version string slightly.
12117 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
12119 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12120 revert to previous code.
12122 WorkArea.[Ch]: (show, destroySplash): methods removed.
12124 WorkArea.C: rework code so that it's an amalgam of the codes before and
12125 after the splash screen was moved to WorkArea.
12127 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12130 * vspace.C (inPixels):
12133 * buffer.C (insertStringAsLines):
12134 (asciiParagraph): fix types to be large enough
12136 * lyxlex_pimpl.h: change member status from short to int
12138 * layout.h: fix type of endlabeltype
12141 * kbsequence.C (parse): change return type to string::size_type
12143 * LaTeX.C (updateBibtexDependencies): comment out unneeded
12146 * Bullet.C (bulletSize):
12147 (bulletEntry): do not use short ints as parameters
12149 * BufferView2.C (insertLyXFile): change a char to an int.
12151 * WorkArea.C (WorkArea): remove unneeded floats in computation
12153 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
12155 * buffer.C (asciiParagraph): Treat '\\' as other chars.
12157 * paragraph.C (asString): Do not ignore newline/hfill chars when
12158 copying to the clipboard.
12160 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
12162 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12163 after a multi-line inset.
12165 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
12167 * paragraph.C (validate): Set NeedLyXFootnoteCode
12169 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12171 * lyxfont.C (LyXSizeNames): changed increase-error to increase
12172 and decrease-error to decrease.
12174 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12176 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12177 it more readable (should be equivalent)
12179 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
12181 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12183 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12185 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12186 of a cursor (row, etc.) after a character has been deleted
12187 (deleteEmptyParagraphMechanism): call the method above on _all_
12188 cursors held by the LyXText when a double space has been
12191 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12193 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12195 (resizeCurrentBuff): remove code to destroy the old splash dialog.
12197 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12198 background. Use greyOut() and the new show() methods to toggle between
12199 the foreground and background. Add code to remove the splash after
12200 its initial showing.
12202 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12203 (create_forms): no longer call Dialogs::showSplash.
12205 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12207 * .cvsignore: add version_info.h
12209 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12211 * version_info.h.in: new file
12213 * Makefile.am: add version_info.h.in
12215 * lyx_main.C (commandLineVersionInfo): use version_info defined in
12216 version_info.h instead of VERSION_INFO
12218 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
12220 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12221 The ERT inset now returns string().
12223 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
12225 * lyxtext.h, text.C (selectNextWord): renamed as
12226 selectNextWordToSpellcheck.
12228 * text.C (selectNextWordToSpellcheck): Modified to not select
12229 words inside an ERT inset.
12231 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12233 * lyx_cb.C (MenuLayoutSave): change a bit the question
12235 * sp_base.h: include <sys/types.h>
12237 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
12239 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12241 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
12243 * several files: fix typos in user-visible strings
12245 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12247 * text2.C (pasteSelection): do not set the selection, since it
12248 will be cleared later. Actually, the intent was to fix the way the
12249 selection was set, but I figured rmoving the code was just as good.
12251 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
12253 * FontLoader.C (available): Check if font is available without
12256 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
12258 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12260 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
12262 * lyxrc.[Ch]: added display_graphics variable and associated code.
12264 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12266 * bufferparams.C (hasClassDefaults): new method. Returns true if
12267 the buffer parameters correspond to known class defaults
12269 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
12271 * XFormsView.C (show): set minimum size to the main window.
12273 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12275 * text2.C (copySelection):
12277 * lyxfind.C (LyXReplace):
12278 * BufferView_pimpl.C (Dispatch): pass the correct flag to
12279 LyXText::selectionAsString.
12281 * paragraph.C (asString): add "label" argument to the second form
12283 * text2.C (selectionAsString): add "label" argument and pass it to
12284 Paragraph::asString.
12286 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12288 * lyx_main.C (commandLineHelp): remove version information
12290 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
12292 * lyx_main.C: add -version commandline option
12294 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12296 * paragraph.h: make the optional constructor arg required instead.
12297 some modifications to other files because of this.
12299 * minibuffer.C (C_MiniBuffer_peek_event): make it static
12301 * lyxserver.C (C_LyXComm_callback): make it static
12303 * lyx_main.C (error_handler): make it static
12305 * lyx_gui.C (LyX_XErrHandler): make it static
12307 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12309 * WorkArea.C: make the extern "C" methods static.
12311 * Makefile.am (lyx_LDADD): simplify
12313 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12315 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12316 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12318 * LyXAction.C (init):
12319 * lyxfunc.C (dispatch): associated code removal.
12321 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12323 * lyxfont.h (isSymbolFont): shut off warning
12325 * text.C (setHeightOfRow):
12326 (getVisibleRow): fix crash with empty paragraphs which have a
12329 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
12331 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12334 2001-09-04 José Matos <jamatos@fep.up.pt>
12337 * tabular.C (docbook): rename docBook method to docbook.
12339 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12341 * Makefile.am: add dependencies to main.o.
12343 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
12345 * FontLoader.C (available): Return false if !lyxrc.use_gui
12347 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
12349 * FontInfo.C (query):
12350 * converter.C (view):
12351 * importer.C (Import):
12352 * exporter.C (Export): Can not -> cannot.
12354 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
12356 * BufferView_pimpl.C: allow to create index inset even if
12359 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12361 * buffer.C (getLists): replace boost::tie code with an explicit pair
12362 as boost::tie can break some compilers.
12364 * iterators.h: Added a std:: declaration to the return type of
12367 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
12369 * lyxrc.C: add help for view_dvi_paper_option, default to safe
12372 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
12374 * iterators.[Ch]: New files. Provide paragraph iterators.
12376 * buffer.C (changeLanguage): Use paragraph iterators.
12377 (isMultiLingual): ditto
12379 * BufferView2.C (ChangeInsets): Use paragraph iterators.
12381 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
12383 * FontLoader.C: Support for cmr font.
12385 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
12387 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12388 (available): New method.
12390 * FontInfo.C (getFontname): Use scalable fonts even when
12391 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12394 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12396 * converter.C (Formats::view): reverted! Incorrect fix.
12398 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12400 * converter.C (Formats::view): only output the -paper option
12401 if the dvi viewer is xdvi, thereby fixing bug #233429.
12403 2001-08-23 Herbert Voss <voss@perce>
12405 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12407 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
12409 * Spacing.h (Spacing): Set space to Default on in the default
12412 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
12414 * vc-backend.h (RCS::versionString): add RCS to version
12415 (CVS::versionString): add CVS to version
12417 * vc-backend.C (scanMaster): do not add CVS to version.
12418 (scanMaster): do not add RCS to version
12420 * lyxvc.C (versionString): new method
12422 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12424 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12426 * Spacing.C (set): initialize fval
12428 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
12430 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12433 2001-08-16 Juergen Vigna <jug@sad.it>
12435 * lyxfunc.C (dispatch): implemented the new FINISHED states.
12437 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12439 * BufferView_pimpl.C:
12442 * text2.C: setParagraph takes linespacing now
12444 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
12446 * LyxAction.C: add internal LFUN_CITATION_INSERT
12448 * LyXView.C: actually apply fix
12450 * bufferlist.C: fix open non-existent file
12452 * lyxfind.C: fix indentation
12454 * lyxfunc.C: remove unneeded assert, fix typo
12456 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12458 * MenuBackend.C: use "Floatname List"
12460 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
12462 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12463 when converting LaTeX layout to insetERT.
12464 Generate a non-collapsed float when reading old float
12466 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12468 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12471 2001-08-13 Juergen Vigna <jug@sad.it>
12473 * text.C (fill): return 0 instead of 20 as this seems to be the more
12476 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12478 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12481 2001-08-13 Juergen Vigna <jug@sad.it>
12483 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12485 (SearchBackward): comment out the unlocking of the inset_owner this
12486 should not be needed!
12488 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
12490 * Many files: Remove inherit_language, and add latex_language
12492 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12493 collapsible insets.
12495 2001-08-10 Juergen Vigna <jug@sad.it>
12497 * text.C (prepareToPrint): fixed hfill-width in draw!
12499 * BufferView2.C (selectLastWord): save the selection cursor as this
12500 now is cleared in the function LyXText::clearSelection!
12502 2001-08-08 Juergen Vigna <jug@sad.it>
12504 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12505 BACKSPACE type functions.
12507 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12508 is only cutted from the document but not put in the cut-buffer, where
12509 still the old stuff should be.
12511 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12513 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12515 * tabular.C (SetWidthOfCell): fixed special case where the width
12517 (LeftLine): handle '|' in align_special.
12519 (LeftAlreadyDrawed): ditto
12520 (SetWidthOfCell): ditto
12522 2001-08-07 Juergen Vigna <jug@sad.it>
12524 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12526 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12528 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12529 * lyxlex.[hC]: ditto
12531 2001-08-06 Juergen Vigna <jug@sad.it>
12533 * text.C (getVisibleRow): fix up row clearing a bit.
12535 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12537 * minibuffer.C: make sure the X server sees the changes in the input.
12539 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12541 * paragraph.C (getFont): split into...
12542 (getLabelFont): this
12543 (getLayoutFont): and this
12544 * paragraph_pimpl.C (realizeFont): calling this
12546 * text2.C (getFont): split into...
12547 (getLayoutFont): this
12548 (getLabelFont): and this
12549 (realizeFont): all three calling this
12551 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12554 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12556 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12558 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
12560 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12561 layouts from the Quote inset insertion.
12563 2001-08-03 Juergen Vigna <jug@sad.it>
12565 * BufferView_pimpl.C (update): do the fitCursor only at the end!
12567 * screen.C (drawFromTo): don't call fitcursor here and do the loop
12568 only if status not is already CHANGED_IN_DRAW (second level).
12570 * text.C (draw): don't set the need_break_row when inside an
12573 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12575 * buffer.C (parseSingleLyXformat2Token): handle more latex
12578 * bufferview_funcs.[hC]: change function names to
12579 begin with small char, adjust other files.
12581 2001-08-02 André Pönitz <poenitz@gmx.net>
12584 BufferView_pimpl.C: remove broken special code for math-greek
12586 2001-08-02 Juergen Vigna <jug@sad.it>
12588 * BufferView_pimpl.C (update): redone this function so that we
12589 update the text again if there was a CHANGE_IN_DRAW.
12591 * screen.C (cursorToggle): removed LyXText parameter and recoded.
12592 (drawFromTo): added a new internal bool which is used by draw() and
12594 (general): some cursor drawing problems fixed.
12596 2001-08-01 Juergen Vigna <jug@sad.it>
12598 * lyxfind.C (LyXFind): fixed
12599 (SearchForward): ditto
12600 (SearchBackward): ditto
12602 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12603 spurius drawing of the cursor in the main area.
12605 * text2.C (status): small fix which could lead to a segfault!
12606 (clearSelection): remove unneeded BufferView param.
12608 2001-08-01 André Pönitz <poenitz@gmx.net>
12610 * lyxfunc.C: small change due to changed mathed interface
12612 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12614 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12616 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
12618 * lyxfunc.c: fail gracefully if file doesn't exist
12623 * BufferView_pimpl.C: IsDirWriteable() proto changed
12625 * LyXView.C: fix updateWindowTitle() to store the last title
12627 2001-07-31 Juergen Vigna <jug@sad.it>
12629 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12630 the font (wrong since using of Paragraph::highestFontInRange).
12632 * paragraph.C (highestFontInRange): added a default_size parameter.
12634 * text.C (getVisibleRow): minor clear row changes (still not perfect).
12635 (setHeightOfRow): reformat
12637 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12639 * converter.[hC] + affected files: move to (inital-char)lowercase
12642 * ParagraphParameters.C (ParagraphParameters): remove commented code
12644 * PainterBase.[Ch]: remove commented code
12646 * LaTeXFeatures.h: add "bool floats" for float.sty
12648 * LaTeXFeatures.C (LaTeXFeatures): init floats
12649 (require): handle float
12650 (getPackages): do it with floats
12652 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12654 * BufferView_pimpl.C (Dispatch): improve handling of
12655 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12657 * commandtags.h: #include lyxfont.h here temporarily to avoid
12660 * bufferlist.h: include LString.h here.
12662 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12664 * text2.C (getStringToIndex): new method.
12666 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
12668 * *: Reduced header file dependencies all over.
12670 2001-07-30 Baruch Even <baruch@lyx.org>
12672 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12674 2001-07-29 Baruch Even <baruch@lyx.org>
12676 * buffer.C (readInset): Changed GRAPHICS to Graphics.
12678 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12680 * ParameterStruct.h (endif): add a default constructor to make
12681 sure that all variables is initialized.
12683 * ParagraphParameters.C (ParagraphParameters): adjust
12685 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12687 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12688 index; also, check that there is something to index, and that it
12689 does not span over several paragraphs.
12690 (doubleClick): use WHOLE_WORD_STRICT for double click.
12692 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12694 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12697 2001-07-26 Baruch Even <baruch@lyx.org>
12699 * buffer.C (readInset): Changed to call up InsetGraphics when reading
12700 an InsetFig figure, backwards compatible reading of old figure code.
12702 2001-07-27 Juergen Vigna <jug@sad.it>
12704 * text2.C: font.realize function adaption.
12706 * text.C (draw): add a warnings lyxerr text if needed.
12708 * layout.C: font.realize function adaption.
12710 * language.C: add inherit_language and implement it's handlings
12712 * bufferview_funcs.C (StyleReset): remove language parameter from
12713 font creation (should be language_inherit now).
12715 * bufferparams.C (writeFile): handle ignore_language.
12717 * paragraph.C (getFontSettings): the language has to be resolved
12718 otherwise we have problems in LyXFont!
12720 * lyxfont.C (lyxWriteChanges): added document_language parameter
12721 (update): removed unneeded language parameter
12723 * paragraph.C (validate): fixed wrong output of color-package when
12724 using interface colors for certain fonts in certain environments,
12725 which should not seen as that on the final output.
12727 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
12729 * BufferView_pimpl.C:
12734 * LyXAction.C: add thesaurus support
12737 * lyxfind.C: add "once" parameter, for thesaurus, to not
12738 move to the next match
12740 2001-07-26 Juergen Vigna <jug@sad.it>
12742 * lyxfont.C (realize): honor ignore_language too!
12745 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12747 * text.C (draw): one place more for ignore_language to not draw
12750 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
12752 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12754 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12756 * buffer.C (parseSingleLyXformat2Token): a more general fix for
12757 the minipage conversion problem.
12759 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12761 * buffer.C (parseSingleLyXformat2Token): check minipage if we
12764 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12766 * BufferView.h: don't forward declare WorkArea
12768 * BufferView.C: don't include WorkArea.h
12770 2001-07-25 André Pönitz <poenitz@gmx.net>
12774 * lyxfunc.C: new LFUN 'math-space'
12776 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12778 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12780 * text2.C (toggleInset): call open/close
12782 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12784 * lyxfunc.C (dispatch): add debug for the disabled case
12786 * font.C (buttonText): make similar to rectText
12788 * buffer.C (readInset): comment out parsing of insetlist and
12791 * PainterBase.C (rectText): small correction
12793 * BufferView_pimpl.C: comment out insettheorem and insetlist
12794 * LyXAction.C: ditto
12795 * commandtags.h: ditto
12797 2001-07-24 Juergen Vigna <jug@sad.it>
12799 * text.C (draw): honor the ignore_language.
12801 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12803 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12805 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12808 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12810 * lyxtext.h: remove unused (and unimplemented) methods
12812 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12814 * text.C (getVisibleRow): honor background color
12817 * Painter.h: remove default color argument for fillRectangle
12819 * text.C (backgroundColor): new method
12821 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12823 * text.C (getVisibleRow): adjust
12825 * font.[Ch] (rectText): new method, metrics
12826 (buttonText): new method, metrics
12828 * PainterBase.[hC]: make rectText and buttonText always draw and take
12831 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12833 * ToolbarDefaults.C (read):
12834 * MenuBackend.C (read): allow escaping in all strings
12836 * BufferView_pimpl.C (insertAndEditInset): new method.
12837 (Dispatch): use insertAndEditInset whenever appropriate.
12839 * BufferView_pimpl.C (insertNote): removed
12841 * BufferView_pimpl.C (smartQuote): new method, moved from
12842 BufferView; if an insetquote cannot be inserted, insert a '"'
12845 * BufferView2.C: remove insertCorrectQuote();
12847 * lyxfunc.C (getStatus): Add support for all remaingin
12848 inset-insert lfuns.
12850 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12852 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12853 command (necessary to pass " as parameter of self-insert.
12855 * text.C (selectWordWhenUnderCursor):
12856 (selectWord): add word_location parameter
12857 (selectWordWhenUnderCursor): same + remove special code for word
12859 (selectNextWord): use kind() to guess type of insetspecialchar,
12862 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12863 (insertErtContents): create ert insets as collapsed.
12864 (readInset): better compatibility code for Info inset.
12866 2001-07-20 Juergen Vigna <jug@sad.it>
12868 * lyxfunc.C (dispatch): use always LyXFind now!
12870 * text2.C (init): add a reinit flag so that the LyXText can be
12871 reinited instead of deleted and reallocated (used in InsetText).
12873 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12879 2001-07-18 Juergen Vigna <jug@sad.it>
12881 * text.C (selectNextWord): handle insets inside inset by calling
12882 always the bv->text functions so that we can go up the_locking_inset!
12884 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12885 in strange locations when inside an inset!
12887 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12888 handling to include insets.
12890 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12892 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12894 * LyXAction.C (init):
12896 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12897 LIGATURE_BREAK, since the name is so stupid.
12899 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12901 * buffer.C (readInset): enable reading of new InsetNotes as well as old
12904 * FontLoader.C: remove FORMS_H_LOCATION cruft.
12906 * sp_form.[Ch]: remove.
12908 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12910 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12913 * src/buffer.C (readInset): ditto.
12915 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12917 * BufferView_pimpl.C (specialChar): new method. Obsoletes
12918 menuSeparator(), endOfSentenceDot(), ldots() and
12919 hyphenationPoint(), which are therefore removed.
12920 (Dispatch): handle LFUN_HYPHENATION_BREAK.
12922 * LyXAction.C (init):
12923 * commandtags.h: add LFUN_HYPHENATION_BREAK.
12925 * paragraph.C (getWord): removed.
12927 * BufferView_pimpl.C (Dispatch): use last word or selection for
12928 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12930 * lyx_main.C (queryUserLyXDir): do not ask before creating
12931 user_dir, except if it has been named explicitely.
12933 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12935 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12936 a document of zero size.
12938 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
12940 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12941 approriately in the c-tor and in require().
12942 (getPackages): output the appropriate LaTeX for natbib support.
12944 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12945 variables "use_natbib" and "use_numerical_citations" when reading the
12947 (readInset): read the various natbib cite commands.
12948 (validate): white-space change.
12950 * bufferparams.[Ch]: new variables "bool use_natbib" and
12951 "bool use_numerical_citations".
12952 (writeFile): output them in the LyX file.
12954 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12956 * lyxfunc.C (getStatus): add support for all the inset insertion
12959 * text2.C (insertInset):
12960 * paragraph.C (insetAllowed):
12961 * BufferView_pimpl.C (insertInset): update to take in account the
12962 renaming of insertInsetAllowed
12964 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12966 * text2.C (getInset): new method. returns inset at cursor position.
12968 * BufferView_pimpl.C (Dispatch): changes because of this.
12970 * LyXAction.C (init): rename open-stuff to inset-toggle.
12972 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12974 * text2.C (toggleInset): renamed from openStuff; use
12977 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
12979 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12981 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12983 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
12985 * buffer.C (readLyXformat2): Add filename to the error dialog
12987 2001-07-18 Juergen Vigna <jug@sad.it>
12989 * tabular.C (GetCellNumber): put an assert here instead of the check!
12991 2001-07-17 Juergen Vigna <jug@sad.it>
12993 * BufferView_pimpl.C (toggleSelection): adapted too.
12995 * text.C (selectNextWord): adapted for use with insets.
12996 (selectSelectedWord): ditto
12998 2001-07-17 Juergen Vigna <jug@sad.it>
13000 * sp_spell.C (PSpell): fix initialitation order.
13002 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13004 * paragraph.C: spacing
13006 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
13008 * sp_spell.C: repair language selection for pspell
13010 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13012 * lyxfunc.h: change more methods to begin with lower char.
13014 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
13016 * buffer.C (parseSingleLyXformat2Token): Generate error insets
13017 for unknown layouts.
13019 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
13021 * buffer.C (readLyXformat2): Generate an error dialog if there are
13024 2001-07-16 Juergen Vigna <jug@sad.it>
13026 * sp_spell.C: always compile ISpell part.
13028 * lyxrc.C: added use_pspell entry and it's handling.
13030 2001-07-13 Juergen Vigna <jug@sad.it>
13032 * sp_spell.C: removed double includes.
13034 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
13036 Consistent use of Lsstream.h:
13037 * Lsstream.h: added using std::stringstream for consistencies sake.
13039 * buffer.C: removed using std::stringstream
13041 * lyxfont.C (stateText):
13042 * paragraph.C (asString):
13043 * text.C (selectNextWord, selectSelectedWord):
13044 * text2.C (setCounter):
13045 * vspace.C (asString, asLatexString):
13046 std::ostringstream -> ostringstream.
13048 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13050 * LyXAction.C: add LFUN_HELP_ABOUTLYX
13051 * commandtags.h: add LFUN_HELP_ABOUTLYX
13052 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13054 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13056 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13058 * lyx_gui_misc.C: remove spellchecker
13059 * lyxfunc.C: showSpellchecker
13061 * sp_ispell.h: added
13062 * sp_pspell.h: added
13063 * sp_spell.C: added
13064 * sp_form.[Ch]: removed
13065 * spellchecker.[Ch]: removed
13067 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
13069 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13071 (simpleTeXSpecialChars): Simply print the input character without
13072 any special translation if pass_thru is set.
13074 * layout.h: Added bool pass_thru to layout class for being able to
13075 implement pass through of a paragraph for Literate Programming.
13077 * layout.C: add LT_PASS_THRU to LayoutTags enum.
13078 * layout.C (LyXLayout): set pass_thru to flase in constructor.
13079 * layout.C (Read): add "passthru" to list of layout tags and add
13080 code to set the pass_thru boolean when it is read.
13082 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13084 * trans_decl.h: remove allowed from KmodInfo
13086 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13087 remove allowed code
13090 * paragraph_pimpl.C (erase): use boost::prior
13092 * Painter.C (text): use data() instead of c_str() when length is
13094 * WorkArea.C (putClipboard): ditto
13095 * font.h (width): ditto
13097 * BufferView2.C: use it-> instead of (*it). for iterators
13099 * paragraph_pimpl.C: ditto
13100 * paragraph.C: ditto
13101 * minibuffer.C: ditto
13102 * language.C: ditto
13104 * encoding.C: ditto
13105 * counters.C: ditto
13106 * converter.C: ditto
13108 * Variables.C: ditto
13109 * TextCache.C: ditto
13110 * MenuBackend.C: ditto
13111 * LyXAction.C: ditto
13113 * FloatList.C: ditto
13114 * DepTable.C: ditto
13115 * ColorHandler.C (LyXColorHandler): ditto
13117 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13119 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13121 * text2.C (openStuff): reintroduce this method (which had been
13122 nuked in NEW_INSETS frenzy).
13124 * lyxfunc.C (Dispatch): when an action has not been handled, use
13125 its name in the error message, not its number.
13127 * paragraph.C (inInset): change method name to begin with lowercase.
13130 * text2.C: updates because of this.
13132 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13134 * ToolbarDefaults.C (add): add spaces in error message
13136 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13138 * buffer.C (readLyXformat2): initialize the ert comp. variables.
13139 (readLyXformat2): rename return_par to first_par, use lyxlex's
13140 pushToken and remove the manual push handling.
13141 (parseSingleLyXformat2Token): add another ert comp. variable:
13142 in_tabular, rename return_par to first_par. handle newlines better
13144 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13146 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13148 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13150 * text2.C (getParFromID): removed
13152 * buffer.C (getParFromID): new method moved form lyxtext.
13153 * BufferView2.C (insertErrors): adjust
13154 (setCursorFromRow): adjust
13155 * BufferView_pimpl.C (restorePosition): adjust
13156 * lyxfunc.C (Dispatch): adjust
13157 * undo_funcs.C (textUndo): adjust
13159 (textHandleUndo): adjust
13160 (textHandleUndo): adjust
13162 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13164 * buffer.C: up' the LYX_FORMAT
13166 * lyxfont.h: turn NO_LATEX on as default
13168 * buffer.C (insertErtContents): new methods of tex style compability.
13169 (parseSingleLyXformat2Token): use it several places.
13170 * tabular.C (OldFormatRead): and here
13172 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13174 * text2.C: remove some commented code.
13177 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13178 * trans.C: changes because of the above.
13180 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
13182 * text2.C (setCounter): Fix counters bug with bibliography layout.
13184 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13186 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13187 own member functions
13188 (simpleTeXSpecialChars): ditto
13190 2001-07-06 Juergen Vigna <jug@sad.it>
13192 * a lot of files: changed the access to LyXText::status and the
13193 call of undo-functions.
13195 * undo.[Ch]: added a inset_id to the undo informations.
13197 * undo_funcs.[Ch]: added and moved here all undo functions.
13199 * lyxtext.h: give the status enum a weight, made status_ a private
13200 variable and made accessor functions for it, removed the whole bunch
13201 of undo-functions as they are now in their own file, make some
13202 functions publically available. Added function ownerParagraph with
13205 * paragraph.[Ch]: added "bool same_ids" to the constructor,
13206 made InInset() a const function, added getParFromID() function.
13208 * buffer.[Ch]: added const version for inset_iterator functions,
13209 added getInsetFromID() function.
13211 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13212 changed undo functions for new version.
13214 2001-07-05 Juergen Vigna <jug@sad.it>
13216 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13217 unknow mechanism does not call the proper constructor but only this
13218 one also if I request the other!?
13220 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13222 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13224 * text2.C (LyXText): use initialization lists.
13226 * lyxtext.h (Selection): initialize set_ and mark_
13227 (init): remove method
13229 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
13231 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13233 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13235 * screen.[Ch]: change method names to begin with lowercase
13237 * BufferView_pimpl.C (updateScrollbar): simplify further and
13238 hopefully make it a bit faster.
13240 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13242 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13243 calling directly xforms functions.
13245 * Painter.C (Painter):
13246 * lyx_cb.C (MenuWrite):
13247 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13250 * lyx_gui.C: remove bogus guiruntime extern declaration.
13252 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13254 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13256 (redoDrawingOfParagraph): ditto
13257 (redoParagraphs): ditto
13258 (cutSelection): don't create a object for CutAndPaste use the
13259 static method directly
13260 (pasteSelection): ditto
13262 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13265 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13267 * modifications to some other files because of this.
13269 * Makefile.am (lyx_SOURCES): add XFormsView
13271 * XFormsView.[Ch]: new files
13273 * LyXView.[Ch]: make LyXView a base class for the gui handling for
13274 the main window. Move the gui dependent stuff to XFormsView
13276 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13278 * tabular.C (GetCellInset): update cur_cell also in the row/col
13279 version of this function.
13281 * lyxfunc.C: no need to include figure_form.h here.
13287 * lyxvc.C: no need to include forms.h here.
13289 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13291 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13293 * lyxfunc.C (Dispatch):
13295 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13296 constructor argument.
13298 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13300 * paragraph.C (Paragraph): dont't clear, and just set layout.
13301 (makeSameLayout): use params's copy contructor.
13303 * ParagraphParameters.[Ch] (makeSame): delete method
13305 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
13307 * Variables.[Ch]: fix indentation, rename set to isSet
13309 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13311 * lyxfunc.C (Dispatch): fix typo
13313 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13315 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13318 * bufferlist.C: include assert.h for emergencyWrite().
13320 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13322 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13323 give up at last (bug #425202) !
13325 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
13331 * spellchecker.C: strip spellchecker options and bring up
13332 preferences tab instead
13334 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13336 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13337 the istringstream constructor
13339 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13341 * paragraph.C (getLayout): fix return value
13343 * paragraph.h: do not declare getLayout as inline.
13345 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13347 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13349 * lyxcursor.h (operator<): new func
13350 (operator>): new func
13351 (operator>=): new func
13352 (operator<=): new func
13354 * text.C (changeCase): use selection.start and selection.end
13355 (changeRegionCase): require from to be <= to. Require par to be a
13358 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13360 2001-06-27 Juergen Vigna <jug@sad.it>
13362 * text.C (cursorLeftOneWord): changed to return the cursor and added
13363 overlay with BufferView * parameter which calls this one.
13365 (selectWord): use new getWord function.
13366 (changeCase): renamed from changeWordCase as and extended to work
13367 also on selections.
13369 * lyxtext.h: added enum word_location
13371 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13372 changeCase as this operates now also on selections.
13374 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
13376 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13378 * many files: send debug output to Debug::INFO instead of
13381 * converter.C (View):
13383 (Move): send debug output to Debug::FILES instead of console.
13385 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
13387 * lyxfunc.C (getStatus): use func_status
13389 * func_status.h: new header, describing the results of
13390 LyXFunc::getStatus;
13392 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13395 2001-06-25 The LyX Project <jug@sad.it>
13397 * buffer.C (sgmlOpenTag):
13399 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
13401 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13403 * text2.C: remove some dead code
13405 * tabular.C (GetCellInset): store the last cell checked (gotten)
13407 * tabular.h: add the helper for the speedup
13409 * lyxtext.h: remove some dead code
13411 2001-06-26 The LyX Project <Asger>
13413 * paragraph.C: Change export to LaTeX of alignment to
13414 \begin{center} and family for better roundtrip work with reLyX.
13416 * Tune the math drawing a bit.
13418 2001-06-25 The LyX Project <Asger>
13420 * LColor.C (LColor): New color for math background. New color
13423 2001-06-25 The LyX Project <jug@sad.it>
13425 * lyxfunc.C (MenuNew): remove extra check for .lyx file
13427 * lyxfunc.C (Open):
13428 * bufferlist.C (newFile): do not restrict to files ending with
13431 * BufferView_pimpl.C (MenuInsertLyXFile):
13433 2001-06-24 The LyX Project <jug@sad.it>
13435 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13438 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13440 * lyxtext.h: rename most methods to begin with a small char.
13441 Lots of changes because of this.
13443 * paragraph.C (Paragraph): do not call fitToSize
13444 (erase): call Pimpl::erase
13445 (insertChar): call Pimpl::insertChar
13446 (insertInset): call Pipl::insertInset
13447 (breakParagraph): do not call fitToSize
13448 (breakParagraphConservative): do not call fitToSize
13449 (fitToSize): remove method
13451 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13453 2001-06-24 The LyX Project <Asger>
13455 * Fix Qt compilation^2
13457 2001-06-24 The LyX Project <jug@sad.it>
13459 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13460 depthHook(getDepth()-1).
13463 * ParagraphParameters.h:
13464 * ParameterStruct.h: change type of depth to unsigned int ==
13465 depth_type. Many adaptations to other files before of that.
13467 2001-06-24 The LyX Project <Asger>
13469 * Fix Qt compilation.
13471 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13473 * paragraph.h: renamed several methods to begin with small letter.
13474 several changes to many parts of the code because of this.
13476 2001-06-23 The LyX Project <jug@sad.it>
13478 * text2.C (InsertStringAsLines): renamed from InsertStringA;
13479 rewritten to discard all double spaces when KeepEmpty is off
13480 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13481 to only handle newlines but not fiddle with spaces and friends.
13483 * lyxfunc.C (MenuNew): when doing 'new from template', use
13484 template_path as default directory
13486 2001-06-23 The LyX Project <Asger>
13488 * Clean-up of header file includes all over
13489 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13491 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13493 * paragraph.h: renamed from lyxparagraph.h
13495 2001-06-23 Asger <lyx@violet.home.sad.it>
13497 * Buffer.h: Removed Buffer::resize
13498 * BufferList.h: Removed BufferList::resize
13499 * LyXView.h: Added LyXView::resize. This way, we will only reflow
13500 the document lazily when we change the width, or the font settings.
13502 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13504 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13506 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13508 * buffer.h: remove out of date comment
13510 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13513 * screen.C: fix "theoretical" GC leak
13515 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13517 * LaTeX.C (scanAuxFile):
13518 (deplog): remove trailing \r when reading stream (useful under
13521 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
13523 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13524 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13525 and BufferView::theLockingInset(Inset*), so should use them and not
13526 access bv_->text->the_locking_inset directly.
13528 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13530 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13533 * tex-defs.h: remove old unused file
13535 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
13537 * BufferView_pimpl.C: fix typo, remove minibuffer message
13538 when buffer has loaded
13540 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13542 * lyxfunc.C (Dispatch): use stringstream
13543 (MenuNew): use stringstream
13544 (Open): use stringstream
13546 * importer.C (Import): use stringstream
13548 * bufferview_funcs.C (CurrentState): use stringstream
13550 * LaTeX.C (run): use stringstream
13552 * BufferView_pimpl.C (savePosition): use stringstream
13553 (restorePosition): use stringstream
13554 (MenuInsertLyXFile): use stringstream
13556 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
13569 * vspace.C: removed // -*- C++ -*- as first line.
13572 * version.h: added // -*- C++ -*- as first line.
13574 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13576 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13578 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13581 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13583 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13586 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13588 * gettext.C: include LString.h even when --disable-nls is on.
13590 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
13592 * converter.h (Get): changed argument type from int to
13593 FormatList::size_type to avoid unnecessary conversion.
13595 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13598 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13600 * gettext.h: include LString.h even when --disable-nls is on.
13602 2001-06-07 Juergen Vigna <jug@sad.it>
13604 * text.C (BreakAgain): subst spaces with tabs.
13606 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13607 (resizeInsetsLyXText): set force on resizeLyXText.
13609 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13611 * gettext.h (gettext_init):
13612 (locale_init): use a real definition instead of a macro
13614 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13616 * Bufferview_pimpl.C:
13618 * LColor.C: further lcolor tidies
13620 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13622 * BufferView_pimpl.C (updateScrollbar): simplify.
13624 * BufferView2.C: don't include insets/insetinfo.h, change
13625 prototype for insertInset and call the Pimpl version. let
13626 updateInset call Pimpl version.
13628 * BufferView.h: move inset_slept to BufferView::Pimpl, move
13629 gotoInset to BufferView::Pimpl
13631 2001-06-01 Juergen Vigna <jug@sad.it>
13633 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13634 inside a LockingInset (is the update needed at all?).
13636 2001-05-31 Juergen Vigna <jug@sad.it>
13638 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13639 here not the old one otherwise how should we compare it afterwards
13642 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13647 * FontInfo.C: bring C functions into global namespace when
13650 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13652 * LString.h: make sure config.h has been loaded before LString.h.
13654 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13655 (one for each char read by EatLine!).
13657 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13660 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13662 * paragraph.C (BreakParagraph): set the inset_owner in the new par
13663 to the same as the par we break from
13665 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
13667 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13669 * MenuBackend.C (expand): also create menu entries for wide
13670 versions of the floats.
13672 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13674 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13676 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13677 frontends/Makefile.am
13683 * tabular.C (getTokenValue): add std::
13685 * tabular-old.C (getTokenValue): add std::
13686 (getTokenValue): ditto
13687 (getTokenValue): ditto
13689 * screen.C (ToggleSelection): adjust
13691 * lyxtext.h: put selection cursors inside a Selection struct.
13693 * lyxfunc.C (moveCursorUpdate): adjust
13695 * lyxfont.C (latexWriteStartChanges): add std::
13697 * lyxfind.C: adjust
13699 * font.h: delete with(char const *, LyXFont const &)
13701 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13703 * FontInfo.C (getFontname): add std::
13705 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13706 (workAreaButtonPress): adjust
13707 (tripleClick): adjust
13709 (moveCursorUpdate): adjust
13712 * BufferView2.C (gotoInset): adjust
13714 2001-05-30 Juergen Vigna <jug@sad.it>
13716 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13717 to check pspell I add this as default as I now have new pspell
13718 libraries and they seem to use this.
13720 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13722 * text2.C (CutSelection): make the cursor valid before the call to
13725 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13727 * kbsequence.C (parse): de-uglify a bit the parsing code, which
13728 relied on 0 terminated strings and other horrors. Bug found due to
13729 the new assert in lyxstring!
13731 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13734 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13736 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13739 * lyxfunc.C (processKeySym): change method of getting to the
13742 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13743 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13744 * BufferView_pimpl.[Ch]: here as private methods.
13746 2001-05-28 Juergen Vigna <jug@sad.it>
13748 * text.C (SetHeightOfRow): added the update() call again as it is
13749 needed to initialize inset dimensions!
13751 2001-05-16 Juergen Vigna <jug@sad.it>
13753 * text2.C (SetCharFont): Add new function with BufferView * and
13754 bool toggleall parameters for setting insets internal fonts.
13755 (SetFont): Freeze the undo as we may change fonts in Insets and
13756 all this change should be inside only one Undo!
13758 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13759 setting font's in insets as for them we have the SetFont function!
13761 2001-05-15 Juergen Vigna <jug@sad.it>
13763 * text2.C (ClearSelection): to be sure we REALLY don't have any
13766 * tabular.C (TeXCellPreamble): fixed the left border problem for
13769 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
13771 * LaTeX.C (deplog): Make sure that the main .tex file is in the
13774 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13776 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13777 LFUN_BREAKPARAGRAPH.
13779 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13780 help test to "internal only", similar for LFUN_INSERT_URL
13782 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13783 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13784 auto_region_delete and deadkeys.
13786 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
13789 * LColor.C: remove some dead entries, tidy a little
13791 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13793 * lyxfunc.C (processKeySym): comment the Escape handling, remove
13795 (Dispatch): implement LFUN_ESCAPE
13797 * commandtags.h: add LFUN_ESCAPE
13799 * LyXAction.C (init): add entry for LFUN_ESCAPE
13801 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13802 Remove commented code.
13803 (insertNote): moved here
13804 (open_new_inset): moved here
13806 * BufferView[2].[Ch]: move insertNote and open_new_inset to
13809 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13811 * kbmap.C (findbinding): clean it up and make it work correctly.
13813 * lyx_main.C (init): do not pass argc and argv as parameters
13815 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
13817 * buffer.C: fix path for OS/2 & Win32
13821 * lyx_main.C: Added os:: class.
13823 * os2_defines.h: update
13825 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13827 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13828 better by trying again with reduced state.
13830 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13832 * lyxrc.C (read): print error about invalid key sequence only when
13833 debugging (because not all latinX keysyms are known to some X
13836 * kbsequence.C (getiso): add a few std:: qualifiers
13837 (getiso): comment out extra return statement.
13839 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
13841 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13843 (Dispatch): enhance the accent inset a bit. (not perfect)
13845 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13847 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13849 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13851 * bufferlist.C (emergencyWrite): fix assert() call
13853 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
13855 * text.C (InsertChar): Added trivial patch to only send the "you
13856 can not do multiple spaces this way" message once during a
13859 2001-05-08 Baruch Even <baruch@lyx.org>
13861 * Makefile.am: Changed order of libraries to get LyX to link properly
13862 with the gnome frontend.
13864 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13866 * LaTeXFeatures.h: add a std:: qualifier
13868 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13870 * paragraph.C (String): use stringstream
13872 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13874 * paragraph.C (writeFile): remove footflag arg
13876 * buffer.C (makeLaTeXFile): use stringstream
13877 (latexParagraphs): remove footnot gurba
13879 * LaTeXFeatures.C (getPackages): use stringstream
13880 (getMacros): likewise
13881 (getTClassPreamble): likewise
13882 (getFloatDefinitions): new method
13884 * paragraph.C (writeFile): reindent
13887 * WorkArea.h: revert the xpos + etc changes.
13889 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13891 * lyxparagraph.[Ch]: add copy constructor, remove Clone
13893 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13894 (pasteSelection): likewise
13895 * text2.C (CreateUndo): likewise
13897 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13899 * minibuffer.C (peek_event): temporarily reduce the functionality
13900 of the minibuffer (to allow args on lfuns)
13902 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13903 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13905 * buffer.C (readInset): add compability reading of old float
13906 lists, add reading of new style float list.
13907 (readInset): avoid reevaluation of inscmd.getCmdName()
13908 (getLists): reindent
13910 * MenuBackend.C (MenuItem): implement parsing of
13911 md_floatlistinsert and md_floatinsert.
13912 (expand::LastFiles): move initalizaton of iterators out of loop,
13913 avoid reevaluation.
13914 (expand::Documents): introduce typdedef vector<string> Strings,
13916 (expand::ExportFormats): introduce typedef vector<Format const *>
13917 Formats, and use it.
13918 (expand): implement FloatListInsert and FloatInsert.
13920 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13921 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13922 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13924 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13926 (Dispatch::LFUN_FLOAT_LIST): implement
13928 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13930 * LaTeX.C (run): Fix problem with --export code.
13932 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13934 * BufferView.[Ch] (workarea): removed.
13935 (getClipboard) new method; wrapper for workarea()->getClipboard()
13937 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13940 * WorkArea.h (width, height, xpos, ypos): These methods all
13941 returned the dimensions of the work_area sub-area of WorkArea,
13942 resulting in a position error if the WorkArea were resized. Now
13943 return the dimensions of the entire WorkArea.
13945 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13947 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13949 * LaTeX.C (deplog): correct the syntax of regex reg1
13951 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13953 * undo.C: remove !NEW_INSETS cruft
13955 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13957 * text2.C: remove !NEW_INSETS cruft
13959 * text.C: remove !NEW_INSETS cruft
13961 * tabular.C: remove !NEW_INSETS cruft
13963 * spellchecker.C: remove !NEW_INSETS cruft
13965 * lyxtext.h: remove !NEW_INSETS cruft
13967 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13969 * lyxfunc.C: remove !NEW_INSETS cruft
13971 * lyxfind.C: remove !NEW_INSETS cruft
13973 * lyx_cb.C: remove !NEW_INSETS cruft
13975 * figureForm.C: remove !NEW_INSETS cruft
13977 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13979 * buffer.[Ch]: remove !NEW_INSETS cruft
13981 * ToolbarDefaults.C: remove !NEW_INSETS cruft
13983 * CutAndPaste.C: remove !NEW_INSETS cruft
13985 * BufferView_pimpl.C: remove !NEW_INSETS cruft
13987 * BufferView2.C: remove !NEW_INSETS cruft
13989 * BufferView.h: remove !NEW_INSETS cruft
13991 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13993 * Lsstream.h: include LString.h before the sstream headers to
13994 fix problem with gcc 2.95.3 and lyxstring
13996 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13998 * lyx_main.C: add using directives when needed for C functions
13999 declared in std:: namespace.
14001 2001-04-27 Juergen Vigna <jug@sad.it>
14003 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14004 (SetHeightOfRow): comment out the update call should not be needed!
14006 2001-04-13 Juergen Vigna <jug@sad.it>
14008 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14009 (LyXTabular): tried to minimize operator= operations (and realized
14010 hopfully Lars wish).
14012 2001-04-27 Juergen Vigna <jug@sad.it>
14014 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14016 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14018 * lyxfunc.C (Dispatch): hack to make listof algorithm work
14020 * buffer.C (readInset): hack to make listof algorithm work
14022 * BufferView_pimpl.C: hack to make listof algorithm work
14024 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14026 * LyXAction.C: removed all !NEW_INSETS cruft
14027 (init): moved lfun_item in method
14029 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14031 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14033 * BufferView2.C (theLockingInset): white space.
14035 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14037 * minibuffer.C: include <iostream>
14039 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14041 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14043 * commandtags.h: add LFUN_TRANSPOSE_CHARS
14045 * text.[Ch] (TransposeChars): new method
14047 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14049 * call message directly through LyXView instead of through LyXFunc
14050 * BufferView2.C: adjust
14051 * BufferView_pimpl.C: adjust
14052 * FontLoader.C: adjust
14054 * bufferview_funcs.C: adjust
14055 * converter.C: adjust
14056 * figureForm.C: adjust
14057 * importer.C: adjust
14059 * lyx_gui_misc.C: adjust
14060 * lyxfunc.C: adjust
14063 + more files in subdirs
14065 * lyxparagraph.h (size): move up int file
14068 * adjust all uses of Assert to lyx::Assert.
14070 * BufferView2.C (ChangeCitationsIfUnique): adjust for
14071 lyxfunctional in namespace lyx
14072 * layout.C (hasLayout): ditto
14075 (delete_layout): ditto
14076 (NumberOfClass): ditto
14077 * converter.C (GetFormat): ditto
14082 * bufferlist.C (getFileNames): ditto
14083 (emergencyWriteAll): ditto
14086 * MenuBackend.C (hasSubmenu): ditto
14089 * BufferView_pimpl.C (getInsetByCode): ditto
14091 2001-04-18 Juergen Vigna <jug@sad.it>
14093 * vspace.C (asLatexString): fixed the 100% problem.
14095 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14097 * lyxfunc.C (Dispatch):
14099 * minibuffer.h: add a few std:: qualifiers
14101 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14103 * minibuffer.[Ch]: reimplement so that commands is initiated and
14104 run from lyxfunc, simplified som handling, and made the completion
14105 and history code for complete. wip.
14107 * lyxfunc.C (processKeySym): call message
14108 (miniDispatch): new temporary method
14109 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14110 (LFUN_MESSAGE): implement
14111 (LFUN_MESSAGE_PUSH): implement
14112 (LFUN_MESSAGE_POP): implement
14113 (initMiniBuffer): the initial/defualt minibuffer message.
14115 * lyxfont.[Ch]: inline some more getters
14117 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14119 * lyx_gui_misc.[Ch] (WriteStatus): remove method
14121 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14122 (AutoSave): use LFUN_MESSAGE
14123 (Reconfigure): ditto
14125 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14127 * figureForm.C: use LFUN_MESSAGE
14129 * converter.C (runLaTeX): use LFUN_MESSAGE
14131 * bufferview_funcs.C: use LFUN_MESSAGE
14133 (changeDepth): ditto
14135 * bufferparams.h: use boost::
14137 * bufferlist.h: inherit privately from noncopyable
14139 * bufferlist.C (loadLyXFile): remove some commented code.
14141 * buffer.C (runChktex): use LFUN_MESSAGE
14143 * ShareContainer.h: inherit privately from noncopyable
14145 * ParagraphParameters.[hC] (depth): inline it.
14147 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14149 (message): new method
14150 (messagePush): ditto
14151 (messagePop): ditto
14152 (show): init minibuffer
14153 (showState): direct call
14155 * LaTeX.[Ch]: inherit privately from noncopyable
14156 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14157 instead of WriteStatus.
14159 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14161 * BufferView_pimpl.C (buffer): don't init minibuffer
14162 (workAreaButtonPress): use LFUN_MESSAGE
14163 (workAreaButtonRelease): ditto
14164 (savePosition): ditto
14165 (restorePosition): ditto
14166 (MenuInsertLyXFile): ditto
14167 (workAreaExpose): don't init minibuffer
14168 (update): remove commented code, simplify
14170 * BufferView2.C (openStuff): use LFUN_MESSAGE
14171 (toggleFloat): ditto
14174 (copyEnvironment): ditto
14175 (pasteEnvironment): ditto
14180 (updateInset): remove some commented code
14182 * lastfiles.h: inherit privately from noncopyable
14185 * lyx_main.h: ditto
14187 * lyxlex_pimpl.h: ditto
14189 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14190 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14191 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14193 * LyXAction.h: inherit privately from noncopyable, add methods
14194 func_begin, func_end, returning iterators to the func map.
14196 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14197 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14198 (func_begin): new method
14199 (func_end): new method
14201 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14203 (copySelection): ditto
14204 (pasteSelection): ditto
14206 * BufferView.C: whitespace change
14207 * BufferView.h: inherit privately from noncopyable
14209 2001-04-16 Allan Rae <rae@lyx.org>
14211 * tabular-old.C (l_getline):
14212 * spellchecker.C (sc_check_word):
14213 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14214 an unrecognised preprocessor directive. So ensure they're wrapped.
14216 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
14218 * src/exporter.C (Export): Give an error message when path to file
14221 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
14223 * LaTeX.C (deplog): Always check that foundfile exists.
14225 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14228 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14230 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14232 * tabular.[Ch] (getLabelList): implement new method
14234 * minibuffer.h: comment ouf setTiimer
14236 * minibuffer.C (ExecutingCB): constify res
14237 (peek_event): constify s
14238 (Set): constify ntext
14239 (Init): constify nicename
14241 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14243 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14244 (savePosition): use two params to Minibuffer::Set
14245 (restorePosition): ditto
14247 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14249 * lyx_main.C: include language.h
14251 * Makefile.am (lyx_main.o): add language.h
14253 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14259 * CutAndPaste.C: include gettext.h
14261 * lyxfont.h: remove old hack with ON and OFF.
14264 * lyxfont.h: do not include language.h...
14269 * bufferview_funcs.C:
14275 * paragraph.C: ... but do it here instead
14277 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14279 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14281 * tabular.C: small reformat
14283 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14286 (BreakParagraph): ditto
14287 (SetOnlyLayout): ditto
14290 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14293 * lastfiles.C: removed most using decl, add std:: where needed
14295 * buffer.C: ws changes
14297 * MenuBackend.C (class compare_format): put into anon namespace
14298 (expand): constify label, names, action, action2
14301 * text.C (SingleWidth): constify font
14302 (IsBoundary): constify rtl2
14303 (GetVisibleRow): constify ww
14305 * LaTeX.C (deplog): constify logfile
14307 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14309 (workAreaExpose): constify widthChange, heightChange
14311 * lyxrow.C (par): moved
14314 * lyxrow.h: as inlines here
14316 * lyxfont.h (shape): moved from lyxfont.C
14317 (emph): moved from lyxfont.C
14319 * lyxfont.C (LyXFont): use initialization list for all
14321 (shape): move to lyxfont.h as inline
14322 (emph): move to lyxfont.h as inline
14325 2001-04-04 Juergen Vigna <jug@sad.it>
14327 * vspace.C: had to include stdio.h for use of sscanf
14329 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
14332 * BufferView_pimpl.h: remove xforms cruft. Both classes are
14333 independent of xforms.
14335 2001-04-02 Juergen Vigna <jug@sad.it>
14337 * spellchecker.C: fixed namespace placing!
14339 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
14341 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14342 the LyXParagraph * is 0.
14344 2001-03-29 Juergen Vigna <jug@sad.it>
14346 * vspace.C: added support for %, c%, p%, l%.
14347 (stringFromUnit): added helper function.
14348 (asLatexString): changed to give right results for the %-values.
14350 * buffer.C: convert the widthp in a width%.
14352 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
14354 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14357 * figureForm.[Ch]: stripped the FD_from_figure manipulation
14358 code out of lux_cb.[Ch], ready for its (imminent?) removal.
14360 * lyx_cb.[Ch]: see above.
14362 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14366 * lyx.[Ch]: replaced by figure_form.[Ch].
14370 * lyxfunc.C: changed headers associated with above changes.
14372 2001-03-27 Juergen Vigna <jug@sad.it>
14374 * BufferView_pimpl.C: set the temporary cursor right!
14376 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
14378 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14380 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
14382 * LString.h: removed "using std::getline"!
14384 * BufferView_pimpl.C (Dispatch): changes due to changes in
14385 InsetInclude::Params.
14387 * buffer.C (tag_name): removed redundant break statements as they were
14388 producing lots of warnings with my compiler.
14390 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14392 * LString.h: add "using std::getline" when using the real <string>.
14394 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
14396 * buffer.C: removed bitset usage.
14397 PAR_TAG moved to an anonymous name space.
14398 (tag_name): new funtion, also in the anonymous namespace.
14399 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14400 (makeDocBookFile): clean code. Completed transition from string arrays
14402 (SimpleDocBookOnePar): code clean.
14404 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14406 * tabular.C: add some comments.
14408 2001-03-22 Juergen Vigna <jug@sad.it>
14410 * buffer.C (parseSingleLyXformat2Token): redone the minipage
14411 compatibility read a bit and fixed bug with minipage in different
14414 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
14416 * buffer.C (pop_tag): removed.
14417 (push_tag): removed.
14418 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14419 array replaced with vector. Added support for CDATA sections.
14420 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14422 (makeDocBookFile): XML conformant declaration of CDATA section,
14423 fixed bug related to <emphasis> in the first paragraph char.
14424 (sgmlOpenTag): exclude empty tags.
14425 (sgmlCloseTag): ditto.
14427 * buffer.h (pop_tag): removed.
14428 (push_tag): removed.
14430 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
14432 * language.h (Languages): added size_type and size().
14434 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14436 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14437 response on compability reading of minipages. One probliem is that
14438 the old usage of minipages was «flertydig»
14440 * several files here and in subdirs: don't use static at file
14441 scope use anon namespaces instead.
14443 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
14445 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14446 LaTeX output. This is necessary for Literate document
14449 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14451 * buffer.C: insert hfill when needed.
14453 * tabular.C (l_getline): use string::erase, small whitespace change.
14455 * BufferView_pimpl.C: try the anon namespace.
14456 * WorkArea.C: ditto
14458 2001-03-16 Juergen Vigna <jug@sad.it>
14460 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14461 otherwise it won't open options-dialogs.
14463 * buffer.C: honor pextraWidth(p) on converting minipages.
14465 * tabular.C (l_getline): changed the functions to strip trailing \r.
14467 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
14469 * BufferView_pimpl.C:
14470 * minibuffer..C: added "using SigC::slot" declaration.
14472 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14474 * lyxlex_pimpl.h: noncopyable is in namespace boost.
14480 * paragraph.C: ditto
14482 * lyxtext.h: NO_PEXTRA
14484 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14486 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14487 * ParameterStruct.h: ditto
14488 * ParagraphParameters.h: ditto
14489 * lyxparagraph.h: ditto
14491 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14493 * buffer.C: add compability for minipage alignment.
14494 (latexParagraphs): remove unwanted pextra check.
14496 * several files: remove CXX_WORKING_NAMESPACES
14498 * buffer.C (pop_tag): tie is in namespace boost
14500 * BufferView.h: noncopyable is in namespace boost
14502 * lyx_main.h: ditto
14505 * lastfiles.h: ditto
14506 * bufferlist.h: ditto
14507 * ShareContainer.h: ditto
14509 * LyXAction.h: ditto
14512 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14514 * Merging changes from BRANCH_MVC back into HEAD.
14516 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14518 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
14520 * BufferView_pimpl.C: change from intl.C
14524 * Makefile.am: move combox.*
14530 * intl.C: remove dialog (covered by prefs)
14532 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14534 * lyxfunc.C (Dispatch): removed redundant break statement.
14536 2001-03-14 Juergen Vigna <jug@sad.it>
14538 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14540 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14542 * buffer.C: add hack to fix compability reading of minipages.
14544 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
14546 * buffer.C (getLists): Cleanup.
14548 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14550 * lyxfont.C (update): don't honor toggleall on font size.
14552 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
14556 * Makefile.am: moved to frontends/xforms/
14560 * BufferView_pimpl.C: changes for moved mathpanel
14562 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14564 * gettext.h: fix gettext_init() in --disable-nls
14566 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14568 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14570 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
14573 * lyx.h: strip external form
14575 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14577 * BufferView_pimpl.C: add comment, destroySplash()
14579 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14581 * BufferView_pimpl.C:
14585 * lyxfunc.C: use re-worked insetinclude
14587 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14589 * buffer.C: add using std::stringstream.
14591 * lyx_cb.C: readd using std::ios.
14593 * buffer.C: add using std::map.
14595 * BufferView_pimpl.C: add using std::vector.
14597 * ShareContainer.h: add std:: to swap.
14599 * buffer.h: add some typedefs
14600 * buffer.C (getLists): use them
14601 (getLists): renamed from getTocList.
14602 add a counter for the different float types and use it in the
14604 (getLists): use the same counter for the NEW_INSETS and the "non"
14607 * lyx_cb.h: remove unused items, includes, using etc.
14609 * ShareContainer.h: remove some commented code, add more comments
14610 and "documentation".
14612 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14614 * buffer.C (getTocList): make the list also when NEW_INSETS is
14617 * buffer.h: remove TocType
14619 * buffer.C (getTocList): change to return a map<string,
14620 vector<TocItem> >, implement for dynamic number of list.
14622 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14623 * text2.C (PasteSelection): adjust
14624 * CutAndPaste.C (pasteSelection): adjust
14626 * FloatList.C (FloatList): update from the new_insets branch.
14627 * Floating.[Ch]: ditto
14628 * LaTeXFeatures.C: ditto
14630 * lyxlex_pimpl.C: ditto
14632 * paragraph.C (Last): remove when NEW_INSETS is defined.
14634 * other file: changes because of the above.
14636 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14638 * lyxparagraph.h: rename next to next_, previous to previous_,
14639 make them private for NEW_INSETS. Rename Next() to next(),
14640 Previous() to previous().
14642 * other files: changes because of the above.
14644 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
14647 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14650 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14652 * main.C (main): pass lyx_localedir to gettext_init().
14654 * gettext.h: remove locale_init and gettext_init macros
14656 * gettext.C (locale_init): new function
14657 (gettext_init): new function
14659 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14662 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
14664 * Moved credits to frontends:
14665 * credits.[Ch]: removed
14666 * credits_form.[Ch]: removed
14667 * lyx_gui_misc.C: remove credits stuff
14670 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14672 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14674 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14675 unneeded destructor.
14677 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14678 a standalone pointer again.
14680 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14682 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
14688 * ToolbarDefaults.C:
14697 * BufferView_pimpl.C: use new file dialog in GUII
14700 * lyx_cb.C: remove LayoutsCB to Toolbar
14702 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14704 * ShareContainer.h (get): add std:: qualifier
14706 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14708 * ShareContainer.h: define a proper ShareContainer::value_type
14709 type (and use typename to please compaq cxx)
14711 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14713 * lyxparagraph.h: move serveral local vars to
14714 ParameterStruct/ParagraphParameters., use ShareContainer in
14715 FontTable., make vars in FontTable private and add getter and
14718 * paragraph.C: changes because of the above.
14720 * lyxfont.h: remove copy constructor and copy assignment. (the
14721 default ones is ok), move number inside FontBits. move inlines to
14724 * lyxfont.C: add number to initializaton of statics, move several
14725 inlines here. constify several local vars. some whitespace
14726 cleanup. Dont hide outerscope variables.
14728 * Spacing.h: add two new constructors to match the set methods.
14730 * ShareContainer.h: new file, will perhaps be moved to support
14732 * ParameterStruct.h: new file
14734 * ParagraphParameters.h: new file
14736 * ParagraphParameters.C: new file
14738 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14739 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14741 * BufferView_pimpl.C: ParagraphParameter changes.
14742 * buffer.C: Likewise.
14743 * bufferview_funcs.C: Likewise.
14744 * text.C: Likewise.
14745 * text2.C: Likewise.
14747 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14749 * lyxfind.C (LyXReplace): do not redefine default argument in
14751 (IsStringInText): ditto
14752 (SearchForward): ditto
14753 (SearchBackward): ditto
14755 2001-03-06 Juergen Vigna <jug@sad.it>
14757 * lyxfind.C (IsStringInText): put parentes around expressions.
14759 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
14761 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14763 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
14765 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14767 * stl_string_fwd.h: add comment
14769 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14772 * tabular.C: remove unused DocBook methods
14778 killed DO_USE_DEFAULT_LANGUAGE
14780 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14782 * lyx_gui.C: do not include language.h.
14784 * bufferview_funcs.C (ToggleAndShow): do not provide optional
14785 arguments in function implementation.
14787 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14789 * BufferView_pimpl.C: add <ctime>
14791 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14793 * BufferView_pimpl.C: add using std::find_if
14795 2001-02-27 José Matos <jamatos@fep.up.pt>
14797 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14800 2001-02-11 José Matos <jamatos@fep.up.pt>
14802 * buffer.C (makeDocBookFile): command styles now have a parameter as
14803 "title" by default.
14805 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
14807 * layout_forms.[Ch]: removed
14808 * lyx_cb.[Ch]: out character
14809 * lyx_gui.C: out character
14810 * lyx_gui_misc.C: out character
14811 * bufferview_funcs.C: : out character,
14812 added toggleall as parameter in ToggleAndShow
14814 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
14816 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14818 * text2.C (SetCurrentFont): Disable number property at boundary.
14820 2001-02-26 Juergen Vigna <jug@sad.it>
14822 * lyxfunc.C (getStatus): added a string argument override function so
14823 that this is correctly called from LyXFunc::Dispatch if it contains a
14824 do_not_use_argument which is used!
14825 (Dispatch): added check for "custom" export and call appropriate func.
14827 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
14829 * lyxrc.C: Add language_command_local, language_use_babel and
14830 language_global_options.
14832 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14834 * buffer.C (makeLaTeXFile): Use language_use_babel and
14835 language_global_options.
14837 2001-02-23 Juergen Vigna <jug@sad.it>
14839 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14840 which works with LyXText and putted it inside BufferView. Here now we
14841 only call for that part the BufferView::Dispatch() function.
14843 * BufferView.C (Dispatch): added.
14845 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14846 functions which needs to use a LyXText over from LyXFunc.
14847 (MenuInsertLyXFile): added
14848 (getInsetByCode): added
14849 (moveCursorUpdate): added
14850 (static TEXT): added
14852 2001-02-22 Juergen Vigna <jug@sad.it>
14854 * BufferView_pimpl.C (update): call a status update to see if LyXText
14857 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14859 * vc-backend.C (revert): implement for CVS
14860 (getLog): implement for CVS
14862 2001-02-20 Juergen Vigna <jug@sad.it>
14864 * text2.C (ClearSelection): added BufferView param for inset_owner call
14866 * lyxfunc.C (TEXT): added this function and use it instead of
14867 directly owner->view()-text of getLyXText().
14869 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
14871 * src/layout_forms.C: out preamble
14872 * src/layout_forms.h: out preamble
14873 * src/lyx_cb.C: out preamble
14874 * src/lyx_cb.h: out preamble
14875 * src/lyx_gui.C: out preamble
14876 * src/lyx_gui_misc.C: out preamble
14877 * src/lyxfunc.C: connect with guii preamble
14879 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
14881 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14883 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
14885 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14886 whether to run bibtex.
14888 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
14890 * Makefile.am (lyx_SOURCES): Remove BackStack.h
14892 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14894 * Makefile.am (lyx_SOURCES): removed bibforms.h
14896 * vspace.h: doxygen
14898 * text.C (GetVisibleRow): make several local vars const
14900 * tabular.C: small cleanup.
14902 * lyxserver.C (callback): use compare instead of strncmp
14904 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14905 inlines to after class or to paragraph.C
14907 * lyxfont.h: remove friend operator!=
14909 * converter.h: move friend bool operator< to non friend and after
14912 * combox.h: small cleanup
14914 * buffer.h: doxygen, remove unused constructor, move inclas inlies
14915 to inlines after class def.
14917 * buffer.C (pop_tag): use string operations instead of strcmp
14919 * bmtable.c: doxygen, small cleanup
14921 * LaTeX.h: remove friend operator==
14923 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
14935 * BufferView_pimpl.C:
14936 * BufferView.[Ch]: remove cruft
14938 2001-02-14 Juergen Vigna <jug@sad.it>
14940 * lyxfunc.C: removed #if 0 unused code
14942 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14944 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14946 * text2.C (SetSelection): added a BufferView * parameter
14948 2001-02-13 Juergen Vigna <jug@sad.it>
14950 * lyxfunc.C (Dispatch): fixed protected blank problem.
14951 * BufferView2.C (protectedBlank): added LyxText * parameter.
14953 * tabular.C (AppendRow): forgot to set row_info of newly added row.
14954 (AppendColumn): same as above for column_info.
14956 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14957 (moveCursorUpdate): use a LyXText param for support of InsetText.
14959 * BufferView_pimpl.C (doubleClick): added support for InsetText.
14960 (tripleClick): ditto
14962 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14964 * BufferView_pimpl.C (update): added LyXText param to honor insets.
14966 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14968 * text2.C (SetSelection): set correct update status if inset_owner
14969 (ToggleFree): ditto
14971 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
14973 * tabular.C: remove some commented code.
14975 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
14977 * BufferView_pimpl.C: call hideSplash()
14979 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14982 * bibforms.h: remove
14985 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14986 add LFUN_CHILD_CREATE
14988 * counters.h: fix tiny typo
14993 * lyx.C: move splash to frontends/xforms/
14995 * lyx_gui_misc.C: move Include and Bibform to frontends
14997 * lyxvc.h: clarify comment
14999 * vspace.C: tiny housekeeping
15001 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
15003 * text.C (PrepareToPrint): RTL Fix.
15005 * paragraph.C (GetUChar): New method.
15006 (String): Use GetUChar.
15008 * buffer.C (asciiParagraph): Use GetUChar.
15010 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
15012 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15014 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
15017 * buffer.C: rename to getLogName(), handle
15018 build log / latex log nicely
15020 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15023 * MenuBackend.h: remove support for reference menuitem type.
15025 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
15027 * BufferView_pimpl.C: housekeeping
15028 * BufferView_pimpl.h:
15033 * minibuffer.h: move Timeout GUI-I
15035 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
15037 * lyxrc.C (read): Update converters data-structures.
15039 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
15041 * LaTeX.h (operator!=): add operator != for Aux_Info
15043 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
15045 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15047 * LaTeXLog.C: deleted, useful code moved to Buffer
15050 * buffer.C: new function getLatexLogName()
15056 * lyxfunc.C: use frontends for LaTeX and VC logs
15058 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15060 * LaTeX.h: yet another std:: that Allan forgot.
15062 * Variables.C (set): renamed from isset(), because this clashes
15063 with some HP-UX macros (grr).
15065 2001-02-06 Allan Rae <rae@lyx.org>
15067 * LaTeX.h: Another bug fix. Missing std:: this time.
15069 2001-02-04 Allan Rae <rae@lyx.org>
15071 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15072 floats problem. I've left it commented out because it's not quite
15073 correct. It should also test that the current object is a table or
15074 figure inset. But I haven't gotten around to figuring out how to do
15075 that. I *think* it'll be something like: "table" == inset.type()
15077 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15080 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
15082 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15083 all the citation/databases/styles in the auxilary file.
15084 (run): Rerun latex if there was a babel language error.
15086 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
15088 * text.C (Backspace): Preserve the font when changing newline char
15090 (BreakParagraph): If the cursor is before a space, delete the space.
15092 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15094 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
15096 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15097 new argument (code).
15098 (ChangeCitationsIfUnique): New method.
15100 * paragraph.C (GetPositionOfInset): Handle bibkey.
15102 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15104 * BufferView_pimpl.h: change type of Position::par_pos to
15105 LyXParagraph::size_type.
15107 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
15109 * BufferView_pimpl.C (savePosition, restorePosition): Write
15110 messages to minibuffer.
15112 2001-01-28 José Matos <jamatos@fep.up.pt>
15114 * buffer.C (makeDocBookFile): adds support for document language.
15115 A silly restriction on the name of LatexCommand types where removed.
15116 Added support for CDATA sections, allows to chars unescaped, used
15117 among others in code, to avoid escape < and >.
15119 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15121 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15122 saved positions instrad of a stack. Furthermore, a position is
15123 stored using paragraph id/paragraph position.
15125 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15126 Remove LFUN_REF_BACK.
15128 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15130 * converter.C (dvipdfm_options): New method.
15132 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
15134 * vspace.C (isValidLength): Fix for empty input string.
15136 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15138 * LyXAction.C (init): change description of LFUN_FIGURE to
15141 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15143 * LaTeX.C: add using directive
15145 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15147 * MenuBackend.C (expand): Fix the sorting of the formats.
15149 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
15151 * lyx_main.C: tiny error message fix
15153 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15155 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15156 calling fl_initialize(). This fixes the problem with ',' as
15157 decimal separator in text files.
15159 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15161 * trans.C (process): Fix the keymap bug.
15163 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
15165 * LaTeX.C (scanAuxFiles): New method. Provides support for
15166 multiple bibliographies (when using the bibtopic/bibunits pacakges).
15167 (scanLogFile) Scan for "run BibTeX" messages.
15169 * buffer.C (makeLaTeXFile): Do not load the ae package when using
15170 OT1 font encoding. Also, load the aecompl package if the ae
15173 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15175 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15177 * texrow.C (increasePos): turn two error messages into debug
15180 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
15182 * LaTeX.C (scanAux): Handle the \@input macro.
15183 (runBibTeX): Use scanAux().
15185 * language.C (latex_options_): New field.
15187 * LaTeXFeatures.C (getMacros): Add language macros.
15189 * buffer.C (makeLaTeXFile): Small fix.
15191 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15193 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15195 * text2.C: add a using directive.
15197 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
15202 * lyxfunc.C: kill LyXBell.
15204 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
15206 * text.C (IsBoundary): Remove the error message
15208 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15210 * lyxrc.C (setDefaults): Correct initialization value for
15213 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
15215 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15218 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15219 and GotoNextNote().
15221 * src/LyXAction.C: Added reference-next.
15223 * text.C (InsertChar): Use contains instead of strchr.
15225 * lyx_cb.C (MenuInsertLabel): Enable default value code.
15227 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
15229 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15230 alignment commands (when needed).
15232 * text.C (InsertChar): Add ':' to number separator chars.