1 2004-03-31 Angus Leeming <leeming@lyx.org>
4 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
6 * lyxrc.[Ch] (read, write): overloaded member functions taking
7 a std::[io]stream arguments.
9 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
11 2004-03-31 Angus Leeming <leeming@lyx.org>
13 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
14 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
16 * lyxtextclass.C (load): if the text class couldn't be loaded, then
17 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
19 2004-03-31 Angus Leeming <leeming@lyx.org>
21 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
22 the LFUN_ALL_INSETS_TOGGLE code.
24 2004-03-30 Angus Leeming <leeming@lyx.org>
26 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
27 has died. Fall through to the generic Dialogs::show("document").
29 2004-03-30 Angus Leeming <leeming@lyx.org>
32 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
33 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
35 * lyxfunc.C (getStatus, dispatch): define the actions for these
36 lfuns. Little more than a cut and pste job from ControlDocument.C
38 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
40 2004-03-30 Angus Leeming <leeming@lyx.org>
43 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
44 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
46 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
47 open/closed state of ollapsable insets. Usage:
49 all-inset-toggle <state> <name>, where
50 <state> == "open" || "closed" || "toggle" and
51 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
53 * lyxtext.h, text2.C (toggleInset): removed.
55 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
56 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
57 now passes LFUN_INSET_TOGGLE to the found inset.
59 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
60 is now invoked as "all-insets-toggle toggle branch".
62 2004-03-30 Angus Leeming <leeming@lyx.org>
66 * pariterator.[Ch]: added/corrected header blurb.
68 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
70 * dociterator.[Ch]: add an inset_ member
71 (backwardPos): implemented
72 (backwardPos, forwardPos): use inset_ when the stack is empty.
73 (doc_iterator_begin, doc_iterator_end): implemented
74 * pariterator.[Ch]: adjust, add begin, end
75 * insetiterator.[Ch]: adjust, add begin, end
80 * CutAndPaste.C: adjust
82 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
84 * buffer.C: increment file format to 232.
85 * LaTeXFeatures.C: add bibtopic package.
86 * bufferparams.[Ch]: param \use_bibtopic.
88 * lyxrc.[Ch]: add lyxrc bibtex_command
89 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
91 * buffer.C: increment file format to 231.
93 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
95 * dociterator.C: implement forwardPar
96 * iterators.[Ch]: remove, replaced by
97 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
102 * bufferview_funcs.C:
108 * Makefile.am: adjust
110 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
112 * CutAndPaste.C (pasteSelection): fix 2 crashes
113 (eraseSelection): fix a crash
114 * paragraph_funcs.C: remove a warning
116 2004-03-28 Angus Leeming <leeming@lyx.org>
119 * LyXAction.C (init): new LFUN_PRINT.
121 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
123 2004-03-27 Angus Leeming <leeming@lyx.org>
126 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
128 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
130 2004-03-27 Angus Leeming <leeming@lyx.org>
132 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
133 insetlist always contains non-null pointers to insets.
135 2004-03-26 Angus Leeming <leeming@lyx.org>
137 * src/BufferView_pimpl.C:
141 * src/output_plaintext.C:
142 * src/outputparams.h:
143 * src/paragraph_funcs.C:
147 * src/frontends/controllers/ControlErrorList.C:
148 * src/frontends/gtk/FileDialogPrivate.C:
149 * src/frontends/gtk/GPainter.C:
150 * src/frontends/gtk/GToolbar.C:
151 * src/frontends/qt2/QRef.C:
152 * src/mathed/math_scriptinset.C: squash compiler warnings.
154 2004-03-26 Angus Leeming <leeming@lyx.org>
156 * ispell.C (LaunchIspell::start):
157 * lyx_cb.C (AutoSaveBuffer::start):
158 invoke run(DontWait) rather than runNonBlocking().
160 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
162 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
164 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
166 * kbsequence.C (print): adjust
168 * kbmap.C (printKeySym): rename and change signature
169 (printKey): use LyXKeySym::print()
171 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
173 * undo.C: add using std::advance to compile for stlport
175 2004-03-24 Angus Leeming <leeming@lyx.org>
177 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
178 it leads to a crash when no buffer is present.
180 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
181 Martin Vermeer <martin.vermeer@hut.fi>
183 * lyxfunc.C (dispatch):
184 * bufferparams.C (readToken): use the new LColor::setColor
186 * LColor.[Ch] (setColor): new version that takes two strings as
187 argument and creates a new color entry if necessary
189 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
191 * buffer.C (makeLaTeXFile): if the main latex file that is
192 processed is usually a subdocument of some master, then pretend
193 for a while that it is actually the master
195 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
197 * buffer.C (getLabelList):
198 (getBibkeyList): use getMasterBuffer()
199 (getMasterBuffer): new method. Returns the main document in the
200 case where one is using included documents.
202 2004-03-25 André Pönitz <poenitz@gmx.net>
206 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
208 * ParagraphList_fwd.h: change ParagraphList to a std::vector
210 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
211 text*.C over here. Rename namespace CutAndPaste to lyx::cap
213 * ParameterStruct.h: merge with ParagraphParameters
215 * lyxtext.h: remove LyXText::parOffset() and getPar()
217 * text3.C: Remove all 'manual' update calls. We do now one per user
218 interaction which is completely sufficient.
222 * BufferView_pimpl.C:
225 * ParagraphParameters.[Ch]:
237 * output_docbook.[Ch]:
239 * output_linuxdoc.[Ch]:
240 * output_plaintext.[Ch]:
242 * paragraph_funcs.[Ch]:
243 * paragraph_pimpl.[Ch]:
251 * frontends/controllers/ControlDocument.C:
252 * frontends/controllers/ControlErrorList.C:
253 * frontends/controllers/ControlSpellchecker.C:
256 * insets/insetbase.h:
257 * insets/insetbibitem.C:
259 * insets/insetbranch.C:
260 * insets/insetcaption.C:
261 * insets/insetcharstyle.C:
262 * insets/insetcharstyle.h:
263 * insets/insetcollapsable.C:
264 * insets/insetcollapsable.h:
266 * insets/insetfloat.C:
267 * insets/insetfoot.C:
268 * insets/insetmarginal.C:
269 * insets/insetnote.C:
270 * insets/insetoptarg.C:
271 * insets/insettabular.C:
272 * insets/insettext.C:
273 * insets/insettext.h:
274 * insets/insetwrap.C:
275 * mathed/math_mboxinset.C:
276 * mathed/math_nestinset.C:
277 * mathed/math_scriptinset.C:
278 * mathed/math_scriptinset.h:
281 2004-03-24 Angus Leeming <leeming@lyx.org>
283 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
284 deal with any child processes that have finished but are waiting to
285 communicate this fact to the rest of LyX.
287 2004-03-24 Angus Leeming <leeming@lyx.org>
289 64-bit compile fixes.
291 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
292 (c-tor): pass lyx::pos_types rather than ints.
294 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
297 * text.C (Delete): compile fix.
298 (getPar): ensure that function declaration is the same as that in
301 2004-03-23 Angus Leeming <leeming@lyx.org>
303 * ispell.C (LaunchIspell):
304 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
305 a boost::shred_ptr rather than a std::auto_ptr.
307 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
309 * lyxfunc.C (getStatus): handle read-only buffers correctly;
310 handle LFUN_FILE_INSERT_*
312 * lyxrc.C (setDefaults, getDescription, output, read):
313 * lyxrc.h: remove ps_command
315 2004-03-22 Angus Leeming <leeming@lyx.org>
317 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
318 Ensure that error_handler is processed once only and that all data
319 is saved before attempting to output any warning messages.
321 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
323 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
325 * tabular.C (TeXRow): crash fix (from Kayvan and André)
327 2004-03-19 André Pönitz <poenitz@gmx.net>
329 * cursor.[Ch] (reset): take main text inset as argument
332 * BufferView_pimpl.C: adjust
334 * paragraph.[Ch]: fix completely broken operator=()
336 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
338 * LColor.C (getFromLyXName): make sure that the color name is used
341 2004-03-17 Angus Leeming <leeming@lyx.org>
344 * LyXAction.C (init): remove LFUN_FORKS_KILL.
346 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
347 dialog and to kill a forked process.
349 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
351 * text2.C (setCursorFromCoordinates): fix font problem
353 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
355 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
356 bogus "rebuild cursor" code
358 2004-03-11 André Pönitz <poenitz@gmx.net>
360 * buffer.[Ch]: use InsetText instead of LyXText as container for
363 * dociterator.[Ch]: drop the BufferView * member which is not needed
364 anymore after the change to buffer.C
370 * BufferView_pimpl.[Ch]:
372 * cursor_slice.[Ch]: adjust
374 * text3.C: fix bug in mathDispatch
376 2004-03-08 André Pönitz <poenitz@gmx.net>
378 * undo.[Ch]: use 'StableDocumentIterator' as base for
381 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
384 * bufferparams.[Ch]: add jurabib support and param.
386 * LaTeX.C: add FIXME/comment.
388 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
390 * buffer.C: increment file format to 230.
392 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
394 * cursor.C (dispatch): avoid infinite loops
396 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
398 * rowpainter.C (paintSelection): fix x coordinates
400 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
402 * text.C (rowBreakPoint): fix breaking before displayed insets
404 2004-03-01 André Pönitz <poenitz@gmx.net>
406 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
408 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
412 * BufferView_pimpl.C:
420 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
426 * BufferView_pimpl.C: rename textwidth -> maxwidth,
427 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
429 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
431 * Bidi.[Ch] (computeTables): const correctness
432 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
433 fill_hfill, fill_label_hfill and x from Row
434 * lyxtext.h: prepareToPrint returns a RowMetrics
435 * rowPainter.C: adjust
436 * text.C (prepareToPrint): use width, not textWidth. adjust
437 (redoParagraphInternal, cursorX): adjust
438 * text2.C (getColumnNearX): adjust
439 (init): put a default value to the top LyXText::width
441 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
443 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
445 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
447 * lyxtext.h: add FontIterator class
449 * text.C (FontIterator, operator*, operator->, operator++): add
450 (rowBreakPoint, setRowWidth): adjust (fixing a
453 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
455 * BufferView_pimpl.C (workAreaDispatch): allow also
456 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
458 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
460 * text.C (rowBreakPoint): fix a bug showing with very large insets
462 2004-02-25 André Pönitz <poenitz@gmx.net>
465 * cursor.[Ch]: move some mathed specific code to mathed
467 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
469 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
470 use_tempdir in preferences
471 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
473 * lyx_main.C: ensure that tempdir is valid
474 * lyxlex.h: correct typo
475 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
476 * paragraph.[Ch] (isMultiLingual): make const
477 * cursor.[Ch] (openable): make const
479 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
481 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
483 2004-02-20 André Pönitz <poenitz@gmx.net>
485 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
487 * cursor.[Ch]: prepare for localized getStatus()
493 * text3.C: streamlines the LyXText cursor movement handlers a bit.
495 2004-02-20 André Pönitz <poenitz@gmx.net>
497 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
499 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
501 * text2.C (setCursorFromCoordinates): switch to absolute coords
504 * text3.C (dispatch): adjust
506 2004-02-16 André Pönitz <poenitz@gmx.net>
508 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
511 * cursor_slice.[Ch]: remove unneeded acessor function
513 * lyxtext.h: rename rtl() to isRTL()
521 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
523 * rowpainter.C (paintSelection): coord fix
525 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
527 * Spacing.C: compile fix
529 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
531 * cursor.C (dispatch): restore current_ before returning
533 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
535 * text2.C (cursorUp, cursorDown): fix coords
538 2004-02-12 André Pönitz <poenitz@gmx.net>
543 * text3.C: add LCursor & parameter to most cursor movement functions
544 remove usage of LyXText::cursorRow() and cursorPar()
546 * cursor.[Ch]: add textRow() needed members
549 * BufferView_pimpl.C:
552 * BufferView_pimpl.C: adjust
554 2004-02-11 André Pönitz <poenitz@gmx.net>
558 * BufferView_pimpl.C: shift undo/redo handling
560 * cursor.[Ch]: fix mathed crash
563 * lyxtext.h: move selectionAsText to LCursor
571 * rowpainter.C: fix excessive drawing
573 2004-02-06 André Pönitz <poenitz@gmx.net>
576 * BufferView_pimpl.[Ch]:
577 * text3.C: move some text specific LFUN handling
579 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
581 * text3.C (checkInsetHit): adjust coords
582 * text2.C (getColumnNearX): adjust coords
583 (edit): adjust coords
584 * text.C (getRowNearY): add two asserts
586 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
589 * format.C: add using std::distance to compile on gcc 2.95/stlport
591 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
593 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
595 2004-02-04 André Pönitz <poenitz@gmx.net>
597 * BufferView.[Ch] (insertInset):
598 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
603 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
605 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
606 on the default clause of the switch
607 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
608 wasn't catched by LCursor::dispatch
610 2004-02-03 André Pönitz <poenitz@gmx.net>
613 * cursor.[Ch]: some additional asserts
615 * undo.[Ch]: remove LyXText dependency in interface
619 * lyxtext.h (firstPar, lastPar): remove dead functions
624 * paragraph.[Ch]: adjust
626 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
628 * lyxfind.C (find): fix argument order in call to ::find
630 2004-02-02 André Pönitz <poenitz@gmx.net>
632 * cursor.[Ch]: remove direct access to anchor
634 * text.C: remove findText() hack
636 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
638 * iterators.[Ch] (lockPath): remove in favour of...
639 * BufferView.[Ch] (setCursor): this addition
640 * BufferView.C (putSelectionAt): adjust
641 * undo.C (performUndoOrRedo): adjust
642 * lyxfunc.C (dispatch): adjust
644 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
646 * iterators.C (lockPath): add a missing slice
647 * undo.C (performUndoOrRedo): remove redundant positioning code
649 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
651 * vc-backend.C (scanMaster): ";" -> ';'
653 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
655 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
658 * lyxtextclass.C (compare_name): rename to...
659 (LayoutNamesEqual): ...this
661 * lyxlex_pimpl.C (compare_tags): inherit from
662 std::binary_function, put back into anon namespace
664 * lyxfind.C (MatchString): inherig from std::binary_function
665 (findChange): use empty() istead of !size()
667 * format.C (FormatNamesEqual): new functor
674 * converter.C (compare_Converter): rename to...
675 (ConverterEqual): ...this, and fixup a bit.
676 (getConverter): use it, and make function const
677 (getNumber): use it, and make function const
681 * bufferlist.C: add using boost::bind
683 * MenuBackend.C (MenuNamesEqual): new functor
684 (hasMenu): use it, and make function const
685 (hasSubmenu): use nested bind to get rid of compare_memfun.
687 2004-01-30 André Pönitz <poenitz@gmx.net>
689 * BufferView_pimpl.C:
700 * text3.C: move some of the edit(x,y) handling to the insets
701 some coordinate changes.
703 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
705 * text.C: add using statements for std::advance and std::distance
707 * paragraph.C: add using statement for std::distance
709 * lyxfind.C: add using statement for std::advance
711 * cursor.C (region): remove std:: from swap
712 (openable): use nucleus in stead of operator->
714 * BufferView.C: add using statements for std::distance and std::swap
716 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
718 * iterators.C: Remove the pimple, move the needed structures to
719 the header file. Create accessor for the positions stack.
720 (asPosIterator): remove function
722 * PosIterator.C (PosIterator): move constructors to top of file
723 (PosIterator): reimplement the constructor taking a ParIterator in
725 (setFrom): new function
726 (operator!=): inline it
728 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
730 * lyxfind.C (replaceAll): use std::advance
732 * iterators.h: inherit from std::iterator.
734 * PosIterator.C (advance, distance): remove
735 * PosIterator.h: interit from std::iterator.
737 2004-01-26 André Pönitz <poenitz@gmx.net>
740 * BufferView_pimpl.[Ch]:
744 * bufferview_funcs.C:
755 * output_plaintext.C:
757 * paragraph_funcs.[Ch]:
758 * paragraph_pimpl.[Ch]:
764 * text3.C: more IU: dumps most of the rest of the mathcursor
765 implementation into cursor.[Ch]; "globalize" a bit of it.
767 2004-01-25 Angus Leeming <leeming@lyx.org>
769 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
771 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
773 * LaTeXFeatures.h: add nice_ and nice() const
774 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
776 2004-01-20 André Pönitz <poenitz@gmx.net>
779 * BufferView_pimpl.C:
781 * bufferview_funcs.C:
794 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
795 LCursor and mathcursor parts to LCursor and InsetBase.
797 2004-01-15 André Pönitz <poenitz@gmx.net>
799 * cursor_slice.[Ch]: add a few covienience functions
801 * funcrequest.[Ch]: remove BufferView * member
803 * BufferView_pimpl.C:
810 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
812 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
814 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
815 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
817 2004-01-13 André Pönitz <poenitz@gmx.net>
820 * lyxtext.h: hide cursor and selection anchor behind accessor function
823 * BufferView_pimpl.[Ch]:
825 * bufferview_funcs.C:
835 * cursor_slice.[Ch]: some integer type changes for inset unification
837 * lyxcursor.[hC]: remove, it's CursorSlice now.
840 * BufferView_pimpl.[Ch]:
841 * bufferview_funcs.C:
847 * textcursor.[Ch]: adjust
849 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
851 * text2.C (undoSpan): add and use
852 * text.C (breakParagraph): use undoSpan (fix bug 578)
855 2004-01-08 Angus Leeming <leeming@lyx.org>
857 * BufferView_pimpl.C (MenuInsertLyXFile):
858 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
859 * lyxfunc.C (menuNew, open, doImport):
860 FileFilterList change to the FileDialog open and save functions.
862 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
864 * ShareContainer.h: make isEqual and isUnique adaptable
866 * CutAndPaste.C: make resetOwnerAndChanges adaptable
868 2004-01-07 Angus Leeming <leeming@lyx.org>
871 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
873 * BufferView_pimpl.C (dispatch): act on these LFUNs.
875 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
876 functions replacing find, replace and replaceAll.
878 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
879 LFUN_WORDFIND(FORWARD|BACKWARD).
881 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
883 * text.C (breakParagraph): remove an outdated #warning
885 2004-01-07 André Pönitz <poenitz@gmx.net>
887 * lyxfind.C: somewhat clearer logic
889 * text.C: prevent crash in cursorX on unitialized row cache
891 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
893 * lyxcursor.[Ch] (operator>): add
894 * textcursor.C (selStart, selEnd): use std::min and std::max
896 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
898 * Chktex.C: include boost/format.hpp
900 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
902 * InsetList.C: replace functor MathcIt with adaptable functor
904 (insetIterator): modify accordingly
906 * BranchList.h: move the BranchNamesEqual functor here from...
907 * BranchList.C: ... to here
909 * BranchList.C: new BranchListEqual fuctor, use it. Remove
911 (add): replace a finding loop with std::find_if.
913 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
915 * output_docbook.C: moving LatexParam functionality into
918 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
920 * buffer.C: increment format to 229.
922 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
925 * lyx_sty.[Ch]: remove minipageindent_def
931 * text3.C: remove LFUN_INSET_MINIPAGE
933 2003-12-28 Angus Leeming <leeming@lyx.org>
935 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
937 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
939 * text2.C (setParagraph): fix off-by-one crash
941 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
943 * output_docbook.C: header stuff for AGU
945 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
947 * text2.C (redoCursor): remove
950 * BufferView_pimpl.C: remove calls to redoCursor and
951 setCursor(cursor.par(), cursor.pos()) all around
953 2003-12-15 Angus Leeming <leeming@lyx.org>
955 * buffer.C: up the format to 228.
957 2003-12-15 André Pönitz <poenitz@gmx.net>
959 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
964 * BufferView_pimpl.C:
973 2003-12-15 Angus Leeming <leeming@lyx.org>
975 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
976 than getFromGUIName to manipulate the color.
978 2003-12-14 Angus Leeming <leeming@lyx.org>
980 * BranchList.[Ch]: minimize the API.
981 (Branch::getBranch, getColor): now return a 'const &'.
982 (Branch::setSelected) now returns a bool set to true if the
983 selection status changes.
984 (BranchList::clear, size, getColor, setColor, setSelected,
985 allBranches, allSelected, separator): removed.
986 (BranchList::find): new functions, returning the Branch with
988 (BranchList::add, remove): return a bool indicating that
989 the operation was successful.
991 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
992 new InsetBranch::isBranchSlected member function.
994 * LColor.[Ch]: mimimize the API.
995 (fill): renamed as addColor and made private.
996 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
997 versions of these functions taking a string arg have been removed.
999 * bufferparams.C (readToken):
1000 * lyxfunc.C (dispatch):
1001 * lyxrc.C (read): changes due to the altered BranchList and
1004 * factory.C (createInset, readInset): changes due to altered
1007 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1010 * lyxfunc.C: remove insetminipage. "minipage-insert"
1011 now produces a frameless minipage box inset.
1013 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1015 * textcursor.[Ch] (selStart,selEnd): add new methods
1016 remove selection::start, end, use LyXCursor::operator<
1017 * lyxcursor.[Ch] (operator<): add
1018 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1019 * BufferView.[Ch] (unsetXSel): add
1020 * text2.C (clearSelection): use unsetXSel,adjust
1023 * rowpainter.C: adjust
1024 * bufferview_funcs.C (put_selection_at): adjust
1026 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1028 * BufferView_pimpl.C: small coord. correction
1030 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1032 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1033 dragging over the splash screen.
1035 2003-12-11 Angus Leeming <leeming@lyx.org>
1037 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1038 as it is now handled in LyXText::dispatch.
1040 * text3.C (doInsertInset): remove a level of nesting.
1042 2003-12-11 Angus Leeming <leeming@lyx.org>
1044 * factory.C (createInset): changes due to the changed interface to
1045 InsetCommandMailer::string2params.
1047 2003-12-10 Angus Leeming <leeming@lyx.org>
1049 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1050 'dialog-show-new-inset <inset name>'
1052 2003-12-10 Angus Leeming <leeming@lyx.org>
1054 * buffer.C: up the format to 227.
1056 * factory.C: the box inset is now identified simply by 'Box'.
1058 2003-12-10 Angus Leeming <leeming@lyx.org>
1060 * buffer.C: up the format to 226.
1062 * factory.C: the note inset is now identified simply by 'Note'.
1064 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
1066 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1067 when a pit is enough. Standarize a couple of loops.
1069 2003-12-05 Angus Leeming <leeming@lyx.org>
1071 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1072 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1073 data to the re-worked "log" dialog.
1075 2003-12-03 André Pönitz <poenitz@gmx.net>
1081 * paragraph_funcs.C:
1083 * text2.C: use Inset::getText instead of Inset::getParagraph
1085 2003-12-03 André Pönitz <poenitz@gmx.net>
1089 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1090 InsetText::read() as LyXText::read()
1092 2003-12-02 Angus Leeming <leeming@lyx.org>
1094 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1095 type. Add a comment in the implementation that the function uses
1096 the stream's bad() function rather than fail() as the std::streams
1099 2003-12-02 André Pönitz <poenitz@gmx.net>
1101 * lyxlex.[Ch]: make interface more similar to std::stream
1103 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1105 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1107 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1109 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1111 * vspace.[Ch]: remove VSpace::NONE
1113 2003-12-01 André Pönitz <poenitz@gmx.net>
1116 * lyxtext.h: move ParagraphList member to LyXText
1117 rename LyXText::ownerParagraphs to LyXText::paragraph
1120 * bufferview_funcs.C:
1130 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1132 * undo.C: fix cursor positioning
1134 2003-12-01 John Levon <levon@movementarian.org>
1136 * BufferView_pimpl.C: fix a crash on exit with
1139 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
1141 * BranchList.C: fix setSelected() method.
1143 2003-11-28 André Pönitz <poenitz@gmx.net>
1145 * ParagraphParameters.[Ch]:
1146 * ParameterStruct.h: remove space above/below from Paragraph to
1149 * BufferView_pimpl.C:
1155 * paragraph_funcs.C:
1161 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1163 * factory.C: Syntax change for CharStyles
1165 2003-11-28 André Pönitz <poenitz@gmx.net>
1170 * buffer.[Ch]: move LyXText member
1172 2003-11-28 André Pönitz <poenitz@gmx.net>
1174 * BufferView.[Ch]: make LyXText * text a private member
1176 * BufferView_pimpl.C:
1187 * output_plaintext.C: cleanup
1189 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1192 * lyxtextclass.[Ch]: parametrize SGML document header
1194 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1197 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1200 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1202 * text2.C (setFont): rework using PosIterator (no more recursive)
1203 (setCharFont): no more needed
1204 (setLayout): no more selection cursors fiddling (done by redoCursor)
1205 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1206 destroy remaining ones)
1208 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
1210 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1212 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1215 * text3.C: adjust + re-allow multi par depth changes
1216 * textcursor.C: simplify a bit
1218 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
1224 * src/output_docbook.C:
1225 * src/output_latex.C:
1230 * src/text2.C: Introducing a number of tags parametrizing various
1231 XML formats that we may want to support
1233 2003-11-25 André Pönitz <poenitz@gmx.net>
1235 * InsetList.[Ch] (begein, end): inline as suggested by profiler
1237 * lyxtext.h (leftMargin/rightMargin): simplify interface
1244 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1246 * lyxfunc.C (dispatch): propogate the bibtex databases from the
1247 master file to any child files. Fixes bug 546.
1249 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1251 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1253 2003-11-24 André Pönitz <poenitz@gmx.net>
1255 * rowpainter.C: simplification
1257 * text2.C (updateCounters): remove call to redoParagraph on
1258 changed labels as this is far too expensive.
1260 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1262 * converter.C (convert): fix a crash: this function gets
1263 called with buffer == 0 from importer code.
1265 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1267 * text3.C (cursorPrevious): make sure that we do not compare
1268 iterators form different containers.
1271 * rowpainter.C (paintSelection): make sure that we do not compare
1272 iterators from different containers.
1274 * text3.C (dispatch): [PRIOR] make sure that we do not compare
1275 iterators from different ParagraphList containers.
1278 * text2.C (LyXText): change order of initialization slightly
1279 (operator=): new function. copy all variables except cache_par_
1280 (moveUp): make sure that we do not compare iterators from
1281 different ParagraphList constainers.
1284 * text.C (firstPar): new function
1285 (lastPar): new function
1286 (endPar): new function
1288 * lyxtext.h: move things around and group public functions, public
1289 variables, private functions, private variables
1291 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1293 * factory.C: change call to InsetERT constructor to avoid
1294 additional invocation of method status
1295 * text2.C (toggleInset): remove redundant update() call
1296 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1297 instead of a Bufferview pointer
1299 2003-11-21 André Pönitz <poenitz@gmx.net>
1301 * rowpainter.C: simplification
1303 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1305 * text3.C (dispatch): make possible to extend a word/row selection
1308 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1310 * lyxtext.h: x0_,y0_ -> xo_,yo_
1311 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1312 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1313 * rowpainter.C (paintRows): paint full paragraphs
1315 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1317 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1320 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1322 * lyxtext.h: add x0_, y0_
1323 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1324 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1326 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
1328 * text2.C (setCursorIntern): move the x_target update here *
1329 * text3.C: change some bv() to true/false in calls to
1330 cursorUp/Down/Right/Left
1331 * cursor.C: use helper function.
1333 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1335 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1336 * paragraph_funcs.[Ch]: correct comment
1337 * rowpainter.C: do not paint selections away from bv->cursor()
1338 Fix a long standing selection painting bug.
1339 * text3.C: generalize mouse-selection code to LyXTexts other that
1341 * textcursor.C: do not use y coords if we can use par offsets
1343 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1345 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1346 cursor position after e.g. inset insert)
1348 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
1350 * lyxfind.C (replace): adjust to locking removal + some
1353 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
1355 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1358 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
1361 * output_docbook.C: XML sanitation: new layout
1362 parameters InnerTag and CommandDepth
1364 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
1366 * BufferView_pimpl.C:
1368 * text3.C: Fix the insertion and modification of button-style
1371 2003-11-13 André Pönitz <poenitz@gmx.net>
1373 * InsetList.[Ch]: remove deleteLyXText
1375 * paragraph.[Ch]: cache beginOfBody position
1380 * text3.C: remove superfluous update() calls
1384 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1386 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1387 * BufferView.C (fitLockedInsetCursor): remove
1388 * cursor.[Ch] (getDim): add
1389 * text.C (getRowNearY): add faster version
1390 * text3.C: remove some update calls
1392 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1404 * text3.C: The Character Style /XML short element patch.
1406 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
1409 * factory.C: Small step to solving 'unable to insert some insets'
1412 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1414 * cursor.[Ch] (updatePos): new function for updating the y
1415 position of the tip inset
1416 * bufferview_funcs.C (put_selection_at):
1417 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1419 2003-11-11 André Pönitz <poenitz@gmx.net>
1421 * text.C: remove big comment on invalid Paragraph pointers as it is
1424 2003-11-11 André Pönitz <poenitz@gmx.net>
1426 * text_funcs.[Ch]: merge with ...
1434 * Makefile.am: remove text_funcs.[Ch]
1436 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1438 * cursor.C (getPos): return absolute cached y coord
1440 * BufferView_pimpl.C (fitCursor): new simplistic code
1441 (workAreaDispatch): add a fitCursor call
1443 2003-11-10 André Pönitz <poenitz@gmx.net>
1446 * BufferView_pimpl.[Ch]: merge update() and updateInset()
1448 2003-11-10 André Pönitz <poenitz@gmx.net>
1450 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1451 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1452 indicate that the cursor needs to leave an inset
1454 * lyxtext.h: remove inset locking
1456 * cursor.[Ch]: re-implement functionality provided by inset locking
1459 * BufferView_pimpl.[Ch]:
1461 * bufferview_funcs.[Ch]:
1473 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1475 * PosIterator.[Ch]: replace the stack with a vector, add inset
1477 * iterators.[C]: adjust
1479 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1481 * lyxfind.C (replaceAll): mark the buffer dirty if something was
1483 * paragraph_funcs.C (readParToken): put the correct id in the
1484 error item, not the id of the top paragraph
1486 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1488 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1489 * bufferview_funcs.C (put_selection_at): use the above
1491 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1493 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1495 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1497 * output_linuxdoc.h:
1498 * output_plaintext.h:
1500 * output_docbook.h: add #include statements
1502 2003-11-05 José Matos <jamatos@lyx.org>
1504 * output_docbook.[Ch]:
1505 * output_latex.[Ch]:
1506 * output_linuxdoc.[Ch]:
1507 * output_plaintext.[Ch]: New files for output formats.
1508 * output.[Ch]: New file for helper functions.
1511 * paragraph_funcs.[Ch]: output functions moved to new files.
1513 * outputparams.h: rename of latexrunparams.h
1521 * paragraph_funcs.[Ch]:
1522 * paragraph_pimpl.[Ch]:
1523 * tabular.[Ch]: rename ascii to plaintext
1524 and LatexRunParams to OutputParams.
1526 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1528 * iterators.[Ch] (text): require bv argument
1529 * undo.C (recordUndo):
1530 * lyxfunc.C (dispatch):
1531 * bufferview_funcs.C (put_selection_at): adjust
1533 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
1535 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1537 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1539 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1542 2003-11-04 André Pönitz <poenitz@gmx.net>
1544 * cursor.[Ch]: restructure
1547 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1549 * iterators.[Ch] (asCursor): remove
1551 * lfuns.h: remove LFUN_INSET_EDIT
1557 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1559 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1561 * lyxfind.[Ch]: complete overhaul
1562 * BufferView_pimpl.C:
1564 * paragraph.[Ch] (insert): add
1566 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1570 * text.C: remove dead spellcheck code
1572 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1574 * dispatchresult.h: add a val setter
1576 * cursor.C (dispatch): use a tempvar for data_[i]
1578 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1580 * PosIterator.[Ch]: compile fix
1582 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1584 * text.C (cursorPar): deactivate the cursor cache
1586 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1588 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1590 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1592 * text3.C (dispatch): adjust for new DisptchResult semantics.
1594 * lyxfunc.C (dispatch): handle update when return from
1595 Cursor::dispatch, adjust for new DispatchResult semantics.
1597 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1598 DispatchResult(true) mean to not update. Add class functions for
1599 setting dispatched and update, as well as reading.
1601 * cursor.C (dispatch): don't handle update here
1603 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1605 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1606 * trans_mgr.C: adjust
1608 * paragraph_funcs.C (readParToken): exception safety
1610 * lyxvc.h: store the vcs pointer in a scoped_ptr
1613 * lyxsocket.C (serverCallback): exception safety
1615 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1617 * ispell.C (clone): make it return a auto_ptr
1619 * factory.C (createInset): exception safety
1620 (readInset): exception safety
1622 * bufferlist.C (newBuffer): exception safety
1624 * Thesaurus.C (Thesaurus): use initialization for aik_
1626 * MenuBackend.C (expandToc): exception safety.
1628 2003-11-03 André Pönitz <poenitz@gmx.net>
1632 * bufferview_funcs.C: remove getInsetFromId()
1635 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1641 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1643 * PosIterator.C (distance, advance): new
1644 * bufferview_funcs.[Ch] (put_selection_at): new
1645 * iterators.[Ch] (lockPath): new
1647 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
1649 * iterators.[Ch] (asPosIterator): added
1650 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1651 * PosIterator.[Ch]: added
1653 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1657 * cursor.C (dispatch):
1658 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1660 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1661 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1662 contructor, add a class function dispatched. Remove operator>=
1664 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1666 * debug.C: only use the default constructor for debugstream
1669 * main.C (main): include debug.h and setup the lyxerr streambuf
1672 2003-10-31 José Matos <jamatos@lyx.org>
1674 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1676 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1677 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1678 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1679 * paragraph_pimpl.C (simpleTeXSpecialC):
1680 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1681 add LatexRunParams argument.
1683 * exporter.C (Export): change call accordingly.
1685 * latexrunparams.h: add new member to take care of the other backends.
1686 2003-10-30 José Matos <jamatos@lyx.org>
1688 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1689 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1690 factorise code for paragraph output.
1692 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1695 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1697 * text3.C (dispatch):
1698 * lyxfunc.C (dispatch):
1699 * cursor.C (dispatch):
1700 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1702 * dispatchresult.h: make the dispatch_result_t ctor explicit
1704 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1707 * buffer.C: small refactoring of docbook stuff
1709 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1711 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1714 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1716 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1717 operator dispatch_result_t, and operators for == != and >=
1719 * cursor.C (dispatch): adjust for operator dispatch_result_t
1720 removal. comment out call to update
1722 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1724 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1732 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1735 * dispatchresult.h: new file, DispatchResult broken out of
1738 * Makefile.am (lyx_SOURCES): add dispatchresult.h
1740 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1742 * text.C (rowBreakPoint): put a hack inside #if 0
1744 2003-10-28 André Pönitz <poenitz@gmx.net>
1748 * paragraph_funcs.C:
1751 * text2.C: general cleanup (lots of small stuff)
1753 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1755 * text2.C (cursorEnd): simple fix to the "end key goes to one
1756 before the end on last row" bug
1758 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1760 * text.C (backspace): fix the "zombie characters"
1762 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1764 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1766 2003-10-27 André Pönitz <poenitz@gmx.net>
1768 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1770 * factory.C: handle new InsetPagebreak, InsetLine
1772 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1773 and move handling into new InsetPagebreak, InsetLine
1775 * BufferView_pimpl.C:
1777 * ParagraphParameters.C:
1778 * ParameterStruct.h:
1783 * paragraph_funcs.C:
1784 * paragraph_pimpl.C:
1790 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1793 * lyxrow_funcs.[Ch]:
1799 * text3.C: remove lastPos uses in favour of Row::endpos
1801 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1803 * undo.C (performUndoOrRedo): fix two crashes by setting a
1804 cursor by hand and reordering some calls. Use bv->lockInset instead
1805 of inset->edit because the latter loses cursor information
1807 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
1809 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1811 (rowBreakPoint): fix width. change point to point + 1.
1812 Add a missing check.
1814 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
1817 * lyxfunc.C: fix (at least partly) the problems
1818 with the Nav menu and headers inside branch insets
1821 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
1823 * paragraph.C (getChar): add strong asserts
1825 * lyxrow_funcs.C (lastPos): remove hideous hack
1827 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1828 (fill): adjust to that (avoid an infinite loop)
1830 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1832 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1834 2003-10-23 André Pönitz <poenitz@gmx.net>
1836 * RowList_fwd.h: change list<> to vector<> to gain speed
1837 after suggestion from Alfredo
1839 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1841 * lyxtext.h: move the bidi stuff from here...
1844 * Bidi.[Ch]: ... to here
1846 2003-10-23 André Pönitz <poenitz@gmx.net>
1849 * text.C (isLastRow, isFirstRow): new functions
1851 * paragraph.h: new width cache member
1853 * rowpainter.C: replace RowList::iterator with Row & where possible
1855 * lyxfunc.C: replace several view()->text with a single call
1857 * toc.C: fix 'unused' warning
1859 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1861 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1862 when woring with stream::pos_type
1863 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1865 2003-10-22 André Pönitz <poenitz@gmx.net>
1868 * text.C: use Row & instead of RowList::iterator
1870 * lyxrow.h: rename end() to endpos()
1876 2003-10-22 Angus Leeming <leeming@lyx.org>
1878 * buffer.[Ch] (fully_loaded): new member function, returning true
1879 only when the file has been loaded fully.
1880 Used to prevent the premature generation of previews and by the
1881 citation inset to prevent computation of the natbib-style label.
1883 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1884 templates are all set up.
1886 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1888 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
1890 * text.C: fixed an "oops" in the "is a bit silly"
1893 2003-10-21 André Pönitz <poenitz@gmx.net>
1895 * FuncStatus.[Ch]: small stuff, whitespace
1897 * lyxfont.[Ch]: operator<<() for debug reasons
1901 * lyxtext.h: whitespace, spelling
1903 * paragraph.C: naming of variables
1906 * text2.C: small stuff
1909 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1911 * text.C: (1) finish off the inset display() work;
1912 (2) fix the "is a bit silly" bug (accessing char
1915 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1917 * text.C: re-introduce display() for insets, fixing the
1918 various bugs (stretch of line above, math inset
1921 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1923 * text.C (rightMargin): remove spurious semicolon
1925 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1928 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
1930 * text3.C: fix one crash due to wrong cursor def
1932 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1934 * vc-backend.C (scanMaster): make the regex static
1936 * LaTeX.C (scanAuxFile): make the regexs static
1938 * text3.C (doInsertInset, dispatch, dispatch):
1939 * text2.C (cursorUp, cursorDown):
1940 * text.C (selectNextWordToSpellcheck):
1941 * BufferView_pimpl.C (dispatch):
1942 * lyxfunc.C (dispatch): localDispatch -> dispatch
1944 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1946 * lyxsocket.C: include <cerrno>
1948 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1950 * lyxfunc.C (dispatch): remove textcache stuff
1952 * bufferlist.C (release): remove textcache stuff
1955 * TextCache.C: delete file
1956 * TextCache.h: delete file
1958 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1960 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1961 delete of the bv_->text.
1962 (resizeCurrentBuffer): remove texcache stuff
1963 (workAreaResize): ditto
1965 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1967 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1970 2003-10-16 André Pönitz <poenitz@gmx.net>
1977 * text3.C: speed up by storing y positions per paragraph plus per-row
1978 offset instead of having a 'full' y position in the row.
1980 2003-10-15 André Pönitz <poenitz@gmx.net>
1984 * undo.[Ch]: make undo aware of inner insets
1986 2003-10-14 Angus Leeming <leeming@lyx.org>
1988 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1989 static member functions LyX::ref() and LyX::cref.
1990 (lastfiles): new accessor functions for the new lastfiles_ member var.
1991 (addLyXView, views_): add a new LyXView to the list of views_.
1992 (updateInset): loop over all LyXViews to call their own updateInset
1993 member function, returning a pointer to the Buffer owning the inset.
1995 * BufferView_pimpl.C (loadLyXFile):
1996 * MenuBackend.C (expandLastfiles):
1997 * bufferlist.C (MenuWrite, QuitLyX):
1998 lastfiles is no longer a global variable.
1999 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2001 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2002 static function. Access through LyX::cref().emergencyCleanup().
2004 2003-10-14 André Pönitz <poenitz@gmx.net>
2006 * iterators.[Ch]: new direct access to innermost LyXText and Inset
2008 * undo.[Ch]: restoring part of 'undo in insets'
2011 * undo_funcs.[Ch]: merge with undo.[Ch]
2013 * tabular.C: small cleansing stuff
2015 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
2017 * paragraph_funcs.C (readParToken): report unknown insets as error
2018 boxes. Use the outer paragraph as location (also for unknown
2021 * factory.C (readInset): do not abort on reading an unknown inset.
2022 Eat it and return 0.
2024 2003-10-13 Angus Leeming <leeming@lyx.org>
2026 * lyx_main.C (LyX): remove call to setDisplayTranslator().
2028 * lyxrc.C: displayTranslator is now a function,
2029 declared in GraphicsTypes.h.
2031 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2033 * format.C: new placeholder $$a to pass the socket address.
2035 * bufferlist.[Ch]: new function getBufferFromTmp.
2037 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2038 files in the temporary dir.
2040 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2042 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2044 * Makefile.am: add lyxsocket.[Ch].
2046 * lyx_main.C (error_handler): handle SIGPIPE.
2048 2003-10-13 André Pönitz <poenitz@gmx.net>
2050 * BufferView_pimpl.C:
2055 * undo_funcs.[Ch]: use paroffset_type instead of
2056 ParagraphList::iterators to prevent multiple conversion
2057 (and get a more robust interface)
2059 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2061 * lyxfunc.C (dispatch): RESULT -> dispatch_result
2063 * text3.C (dispatch): ditto
2065 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2067 * LaTeX.C (handleFoundFile): move the static to smaller scope,
2068 move the onlyfile, use onlyfile instead of foundfile in a couple
2071 * DepTable.C (update): flush the error stream a bit more
2073 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2075 * lyxserver.C (callback): adjust
2077 * lyxfunc.C (getStatus): add a missing brace in commented code
2078 (ensureBufferClean): reindent
2079 (dispatch): delete version taking a string
2081 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2083 * LaTeX.C (deplog): move found file handlig from here...
2084 (handleFoundFile): .. to new function here.
2085 (deplog): make sure to discover several files mentioned on the
2088 2003-10-10 André Pönitz <poenitz@gmx.net>
2095 * text3.C: fix some of the tabular crashes
2097 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2099 * MenuBackend.C (binding): put debug message into Debug::KBMAP
2101 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2103 2003-10-09 André Pönitz <poenitz@gmx.net>
2105 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2108 * BufferView_pimpl.C:
2109 * bufferview_funcs.C:
2120 * undo_funcs.C: adjust
2122 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2124 * text2.C (incrementItemDepth): new function, use a backtracking
2125 algorithm to discover the correct item depth.
2126 (resetEnumCounterIfNeeded): new function, use a backtracking
2127 algorithm to discover if counter reset is needed.
2128 (setCounter): use them. Simplify a bit. Add different labels for
2129 different item depths for itemize.
2131 * paragraph.C (Paragraph): remove initialization of enumdepth
2134 * paragraph.h: get rid of enumdepth, and use itemdepth both for
2135 enumerate and itemize. Change the type of itemdepth to signed char.
2137 2003-10-08 André Pönitz <poenitz@gmx.net>
2139 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2144 * tabular.[Ch]: fix crash after 'row-insert'
2146 2003-10-08 Angus Leeming <leeming@lyx.org>
2148 Fix doxygen warnings.
2150 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2151 Remove CutAndPaste:: prefix from header file declaration.
2153 * LColor.h (fill): remove LColor:: prefix from declaration.
2155 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2156 use lyx::depth_type rather than Paragraph::depth_type so that
2157 header file and .C file match.
2159 * converter.h (intToFormat): remove Converters:: prefix from declaration.
2161 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2162 * aspell.C: \file aspell_local.C -> \file aspell.C
2163 * gettext.C: \file gettext.C -> \file src/gettext.C
2164 * gettext.h: \file gettext.h -> \file src/gettext.h
2165 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2166 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2167 * text.C: \file text.C -> \file src/text.C
2169 * toc.C: move comment so that doxygen is not confused.
2171 2003-10-07 Angus Leeming <leeming@lyx.org>
2173 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2175 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2178 * aspell_local.h: add forgotten std::string's.
2180 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2187 * text3.C: The Box patch. Fancybox support, minipage, parbox
2189 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2195 * ParagraphParameters.h:
2205 * lyxtextclasslist.h:
2208 * paragraph_pimpl.C:
2209 * textcursor.h: add <string> and other small fixes to make Lars'
2210 std::string patch compile with STLport.
2212 2003-10-06 Angus Leeming <leeming@lyx.org>
2214 * LColor.h: Add missing #include <string>.
2216 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2218 * All most all file in all subdirs: Make <string> be the prefered
2219 way of getting to std::string, add using declarations.
2221 2003-10-06 André Pönitz <poenitz@gmx.net>
2223 * metricsinfo.C: initialize LyXFont before changing attribute.
2224 (fixes the 'math in \emph is upright' bug)
2226 2003-10-06 André Pönitz <poenitz@gmx.net>
2228 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2230 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
2233 * paragraph_pimpl.C: Small fixes to build using STLport
2235 2003-10-02 André Pönitz <poenitz@gmx.net>
2238 * text3.C: move handling of LFUN_DEPTH *; fix #1360
2240 2003-10-01 André Pönitz <poenitz@gmx.net>
2242 * factory.C: assert early
2244 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2246 * lyx_main.C: remove the global debug object
2248 * debug.h: adjust for new debugstream
2250 * debug.C: adjust for new debugstream and keep the global debug
2253 2003-09-22 Angus Leeming <leeming@lyx.org>
2255 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2256 of g++ which otherwise complain that the scoped_ptr destructor can't delete
2257 an incomplete class LyXFont.
2259 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2261 * factory.C: bug fix in branches
2263 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2265 * lyxfunc.C (processKeySym): adjust
2267 (dispatch): change arg name from ev to func, adjust
2268 (sendDispatchMessage): ditto
2270 * lyx_main.C (defaultKeyBindings): adjust keybindings
2271 (deadKeyBindings): ditto
2273 * kbsequence.C (addkey): return a FuncRequest
2275 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2277 * kbmap.C (bind): take a FuncRequest as arg, adjust
2280 (defkey): change to take a FuncRequest as arg, adjust
2281 (findbinding): take a FuncRequest as arg, adjust.
2283 * funcrequest.h (operator=): added
2285 * funcrequest.C (FuncRequest): default kb_action changed from
2286 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2288 * buffer.C (dispatch): simplify
2289 (dispatch): adjust to take a FuncRequest as arg, adjust
2291 * boost.C (assertion_failed): change assertion message slightly
2293 * ToolbarBackend.C (read): simplify
2295 * MenuBackend.C (binding): adjust call to findbinding, add a
2296 message if no binding is found.
2298 (expandToc): correct by adding a empty FuncRequest
2300 * LyXAction.C: include <boost/assert.hpp>
2301 (isPseudoAction): delete function
2302 (LookupFunc): change name to...
2303 (lookupFunc): this. change return type to FuncRequest.
2304 (getActionName): take kb_action as arg, simplify
2305 (funcHasFlag): add an assert, simplify.
2307 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2309 * toc.C (action): return a FuncRequest, simplify
2311 * lyxfunc.C (processKeySym): adjust
2312 (getStatus): delete version that takes an int.
2314 (dispatch): delete version that takes action as int
2316 (sendDispatchMessage): simplify and adjust
2318 * funcrequest.C (getArg): take unsigned int as arg
2320 * ToolbarBackend.C (read): adjust
2321 (add): delete version that takes func as a string.
2322 (getIton): take a FuncRequest as arg
2324 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2327 * MenuBackend.C (MenuItem): add a new construct that only takes a
2328 Kind, simplify the constructor use for submenus.
2330 (expandLastfiles): adjust
2331 (expandDocuments): adjust
2332 (expandFormats): adjust
2333 (expandFloatListInsert): adjust
2334 (expandFloatInsert): adjust
2335 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2337 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2338 Remove class variables lyx_pseudo_map and lyx_arg_map
2340 * LyXAction.C (searchActionArg): delete function
2341 (getPseudoAction): delete function
2342 (retrieveActionArg): delete function
2343 (LookupFunc): make it return kb_action, simplify.
2344 (getActionName): simplify
2346 * factory.C (createInset): fix new bug
2348 2003-09-19 Angus Leeming <leeming@lyx.org>
2350 * CutAndPaste.C (pasteSelection): remove fudge used to set the
2351 masterFilename_ parameter in the include inset.
2353 * factory.C (createInset): changes due to the changes to InsetInclude.
2355 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2357 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2359 2003-09-18 Angus Leeming <leeming@lyx.org>
2362 * BufferView.C: pass the buffer when calling Inset::getLabelList,
2363 Inset::fillWithBibKeys.
2364 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2366 2003-09-18 Angus Leeming <leeming@lyx.org>
2368 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2370 (ctor): pass and store a 'Buffer const &'
2371 (buffer): new member function.
2373 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2374 '*this' to the LaTeXFeatures ctor.
2376 2003-09-18 Angus Leeming <leeming@lyx.org>
2382 * text.C: rename EnumLColor as LColor_color.
2384 2003-09-18 Angus Leeming <leeming@lyx.org>
2386 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2387 remove #include "insets/insetbase.h" from cursor.h.
2389 2003-09-18 Angus Leeming <leeming@lyx.org>
2391 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2392 InsetOld_code to remove #include "inset.h".
2394 * iterators.C: add #include "insets/inset.h"
2396 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
2398 * BufferView.C: remove more locking stuff that apparently doesn't
2399 do anything sensible.
2401 2003-09-16 André Pönitz <poenitz@gmx.net>
2404 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2407 2003-09-16 Angus Leeming <leeming@lyx.org>
2409 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2411 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2414 * paragraph.h: remove #include "lyxfont.h". Forward declare
2417 2003-09-16 Angus Leeming <leeming@lyx.org>
2419 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2420 of support/textutils.h.
2421 (isWord): move the contents of support/textutils.h's IsWordChar here.
2427 * text2.C: add #include "paragraph.h".
2430 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2432 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2438 * LaTeX.C: use namespace alias for lyx::support::os
2440 2003-09-16 Angus Leeming <leeming@lyx.org>
2443 * bufferview_funcs.C:
2446 * paragraph_pimpl.C:
2448 * text.C: add #include "LColor.h".
2450 2003-09-16 Angus Leeming <leeming@lyx.org>
2452 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2453 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2455 Store the FontBits::color variable as an int rather than as an
2456 LColor::colorso that we can move LColor.h out of the lyxfont.h header
2459 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2460 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2461 string calls together.
2463 * lyxrc.C: add #include "LColor.h".
2465 2003-09-15 Angus Leeming <leeming@lyx.org>
2467 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2470 2003-09-15 Angus Leeming <leeming@lyx.org>
2472 * LColor.h: add an EnumLColor wrapper for LColor::color.
2474 * lyxfont.[Ch] (color, setColor, realColor):
2475 * lyxtext.h, text.C (backgroundColor):
2476 pass EnumLColor args to/from the functions, rather than LColor::color
2480 * lyxtext.h: forward declare EnumLColor.
2482 * lyx_main.C: add #include "LColor.h".
2484 2003-09-15 Angus Leeming <leeming@lyx.org>
2486 * .cvsignore: add lyx-gtk.
2488 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2493 * ParagraphParameters.C
2497 * bufferview_funcs.C
2507 * vc-backend.C: remove usage of STRCONV
2509 2003-09-15 Angus Leeming <leeming@lyx.org>
2511 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2512 explicitly define the color passed to the painter.
2514 2003-09-15 Angus Leeming <leeming@lyx.org>
2516 * bufferparams.C (BufferParams): reorder member initializers to avoid
2519 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
2521 * CutAndPaste.C (pasteSelection): remove an outdated #warning
2522 * text.C (updateRowPositions): remove an unusual nop
2524 2003-09-12 André Pönitz <poenitz@gmx.net>
2526 * BufferView_pimpl.C:
2535 * Counters.[Ch]: finish the 'automatic counters' job
2537 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2539 * aspell.C: include <boost/assert.cpp> (compile fix)
2541 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
2543 * boost.C (assertion_failed): use lyx::support::abort instead of
2546 2003-09-10 Angus Leeming <leeming@lyx.org>
2548 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2549 with their _fwd progeny.
2551 2003-09-09 Angus Leeming <leeming@lyx.org>
2553 134 files throughtout the source tree: replace 'using namespace abc;'
2554 directives with the appropriate 'using abc::xyz;' declarations.
2556 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2558 * boost.C (emergencyCleanup): moved here from LAssert.c
2559 (assertion_failed): new function, called by BOOST_ASSERT
2561 * several files: change Assert to BOOST_ASSERT
2563 2003-09-09 Angus Leeming <leeming@lyx.org>
2565 * buffer.[Ch]: Add an Impl class and move Buffer's member
2566 variables into it. As a result move several header files out of
2569 Add header files to lots of .C files all over the tree as a result.
2571 2003-09-09 Angus Leeming <leeming@lyx.org>
2573 * buffer.[Ch]: make Buffer's member variables private. Add
2576 Lots of changes all over the tree as a result.
2578 2003-09-08 Angus Leeming <leeming@lyx.org>
2580 * graph.C: #include <config.h>.
2582 2003-09-08 Angus Leeming <leeming@lyx.org>
2586 * BufferView_pimpl.C:
2615 * toc.C: remove redundant using directives.
2617 2003-09-07 Angus Leeming <leeming@lyx.org>
2619 * LaTeXFeatures.h: remove #include "support/types.h".
2620 * ToolbarBackend.h: remove #include <algorithm>.
2621 * changes.h: remove #include <ctime>.
2622 * debug.h: remove #include <iosfwd>.
2623 * graph.h: remove #include "support/std_string.h".
2624 * lyx_main.h: remove #include <csignal>.
2625 * lyxlex_pimpl.h: remove #include <fstream>.
2626 * sgml.h: remove #include <algorithm>, <utility>.
2627 * toc.h: remove #include "support/std_ostream.h".
2628 Add #include <iosfwd>.
2630 2003-09-07 Angus Leeming <leeming@lyx.org>
2632 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2634 * converter.h: forward declare LatexRunParams.
2635 * encoding.h: remove #include "lyxrc.h".
2636 * lyxtext.h: remove #include "LColor.h".
2637 * lyxtextclass.h: remove #include "support/types.h".
2638 * trans.h: remove #include "tex-accent.h".
2639 * trans_mgr.h: remove #include "tex-accent.h".
2640 * insets/inset.h: remove #include "support/types.h", <vector>.
2641 * insets/insetcollapsable.h: remove #include "LColor.h".
2642 * insets/insetinclude.h: remove #include "dimension.h".
2643 * insets/insetlatexaccent.h: remove #include "dimension.h".
2644 * insets/insetoptarg.h:: remove #include "insettext.h".
2645 * insets/insettext.h: remove #include "dimension.h",
2646 <boost/shared_ptr.hpp>
2648 * insets/renderers.h: add #include "dimension.h".
2649 * insets/updatableinset.h: add #include "support/types.h".
2651 * many .C files: Associated changes.
2653 2003-09-06 Angus Leeming <leeming@lyx.org>
2655 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2656 one, inside testInvariant.
2658 * PrinterParams.C: new file.
2659 * PrinterParams.[Ch]: move the function bodies out of line.
2661 2003-09-06 Angus Leeming <leeming@lyx.org>
2663 * ParagraphParameters.h: forward declare ParameterStruct rather than
2664 including its header file.
2665 (depth): moved out-of-line.
2667 2003-09-06 Angus Leeming <leeming@lyx.org>
2669 * BufferView_pimpl.h:
2672 * lyxfunc.h: forward declare LyXKeySym rather than
2673 #include "frontends/LyXKeySym.h".
2675 * BufferView_pimpl.C:
2678 * lyxfunc.C: associated changes.
2680 2003-09-06 Angus Leeming <leeming@lyx.org>
2682 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2683 As a result, can remove the #include "insets/inset.h" from BufferView.h
2685 2003-09-06 Angus Leeming <leeming@lyx.org>
2687 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2688 As a result, can remove the #include "insets/inset.h" from BufferView.h
2690 2003-09-06 Angus Leeming <leeming@lyx.org>
2696 * bufferview_funcs.C:
2697 * BufferView_pimpl.C:
2702 * ParagraphParameters.C:
2707 * frontends/controllers/ControlDocument.C:
2708 * insets/insetcaption.C: rearrange the #includes into some sort of
2711 * buffer.h: remove #includes ErrorList.h, undo.h
2713 2003-09-06 Angus Leeming <leeming@lyx.org>
2715 * support/types.h: add a 'depth_type' typedef, used to store the
2716 nesting depth of a paragraph.
2719 * ParameterStruct.h: use this lyx::depth_type typedef rather than
2720 defining explicitly.
2723 * paragraph_funcs.h:
2724 * ParagraphParameters.h:
2725 * sgml.h: use lyx::depth_type rather than Paragraph or
2726 ParameterStruct's depth_type.
2729 * paragraph_funcs.h: no need to #include paragraph.h anymore.
2732 * BufferView_pimpl.C:
2734 * ParagraphParameters.C:
2737 * bufferview_funcs.C:
2744 * frontends/LyXView.C:
2745 * frontends/controllers/ControlDocument.C:
2746 * frontends/controllers/ControlErrorList.C:
2747 * insets/insetbibitem.C:
2748 * insets/insetbranch.C:
2749 * insets/insetcaption.C:
2750 * insets/insetcollapsable.C:
2751 * insets/insetenv.C:
2752 * insets/insetert.C:
2753 * insets/insetfloat.C:
2754 * insets/insetfoot.C:
2755 * insets/insetfootlike.C:
2756 * insets/insetnewline.C:
2757 * insets/insetquotes.C:
2758 * insets/insettabular.C:
2759 * insets/insettext.C:
2760 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2762 * frontends/controllers/ControlChanges.C: #include "changes.h".
2764 2003-09-06 Angus Leeming <leeming@lyx.org>
2766 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2767 than #including paragraph.h.
2770 * RowList.h: deleted. Superfluous.
2780 * insets/insettext.h: use ParagraphList_fwd.h rather than
2783 * paragraph.h: don't forward declare ParagraphList.
2786 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2787 rather than ParagraphList.h. paragraph.h is still needed for the
2788 Paragraph::depth_type parameters.
2790 * textcursor.h: enable it to compile stand-alone in light of the
2793 * bufferview_funcs.C:
2805 * frontends/controllers/ControlParagraph.C:
2806 * frontends/controllers/ControlTabular.C:
2807 * insets/insetmarginal.C:
2808 * insets/insetminipage.C:
2809 * insets/insetnote.C:
2810 * insets/insetoptarg.C: add header files needed to compile again.
2812 2003-09-06 Angus Leeming <leeming@lyx.org>
2814 * RowList_fwd.h: new file, forward-declaring Row rather than
2815 #including lyxrow.h.
2820 * insets/insettext.h: use it instead of RowList.h
2822 * bufferview_funcs.C:
2829 * text3.C: #include "RowList.h".
2831 2003-09-05 Angus Leeming <leeming@lyx.org>
2833 * factory.C (createInset):
2834 * vspace.C (c-tor): replace sscanf call with an istringstream.
2835 * ispell.C: re-add missing HP/UX headers.
2836 * lyxserver.C: re-add missing os2 headers.
2838 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
2847 * text3.C: re-add missing system headers, needed for 2.95.2.
2849 2003-09-05 Angus Leeming <leeming@lyx.org>
2851 Changes most place everywhere due to the removal of using directives
2852 from support/std_sstream.h.
2854 2003-09-05 Angus Leeming <leeming@lyx.org>
2856 Replace LString.h with support/std_string.h,
2857 Lsstream.h with support/std_sstream.h,
2858 support/LIstream.h with support/std_istream.h,
2859 support/LOstream.h with support/std_ostream.h.
2861 Changes resulting throughout the tree.
2863 2003-09-05 Angus Leeming <leeming@lyx.org>
2865 * sgml.h: ensure that the header file can be compiled stand-alone.
2866 * *.C: strip out redundant #includes. (320 in total.)
2868 2003-09-04 Angus Leeming <leeming@lyx.org>
2870 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2871 here (from getPackages).
2873 * debug.[Ch]: add a new EXTERNAL tag.
2875 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2877 * text2.C (cursorEnd): simplify
2879 (getColumnNearX): adjust
2881 * text.C (computeBidiTables): adjust
2884 * rowpainter.C (paintChars): adjust
2885 (paintSelection): adjust
2886 (paintChangeBar): adjust
2889 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2891 (numberOfSeparators): adjust
2893 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2899 * text3.C: Restricts the mouse click functionality
2900 of insets like bibtex, include, toc and floatlist to the visible
2901 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2902 up the dialogs. Cursor has to be in front of the inset (i.e.
2903 start of row) for this to function.
2905 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2907 * bufferview_funcs.C (currentState): output row information
2909 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2911 * bufferview_funcs.C (currentState): output paragraph position
2913 2003-09-04 Angus Leeming <leeming@lyx.org>
2915 * FloatList.h: move out #include "Floating.h".
2916 * LaTeX.h: move out #include "DepTable.h".
2917 * LyXAction.h: move out #include "funcrequest.h".
2918 * buffer.h: move out #include "author.h", "iterators.h".
2919 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2920 * lyx_main.h: move out #include "errorlist.h".
2921 * lyxfunc.h: move out #include "FuncStatus.h".
2922 * lyxtext: move out #include "lyxcursor.h".
2923 * paragraph_pimpl.h: move out #include "counters.h".
2925 2003-09-03 Angus Leeming <leeming@lyx.org>
2927 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2928 preamble_snippets list, enabling us to add snippets to the preamble
2929 only if the snippet was not there already.
2931 2003-09-04 Angus Leeming <leeming@lyx.org>
2933 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2935 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2937 * lyxfunc.C (dispatch): if fitCursor did something be sure to
2940 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2942 * BranchList.C: point fix, earlier forgotten
2944 2003-09-02 Angus Leeming <leeming@lyx.org>
2946 * box.C (contains): renamed from 'contained' after a fantastic
2949 2003-09-02 John Levon <levon@movementarian.org>
2955 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2957 2003-09-02 John Levon <levon@movementarian.org>
2959 * text2.C: simplification of cursorEnd(), including partial
2962 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2964 * buffer.C (readFile): add a space
2966 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
2968 * BufferView_pimpl.C (update): remove bogus fitCursor() call
2970 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2972 * buffer.C (readFile): new function, take a filename and a
2973 ParagraphList::iterator
2975 (readFile): adjust, make it private. don't use setStream, make
2976 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2977 always contain the filename.
2979 * BufferView.C (insertLyXFile): simplify and make it work for
2982 2003-08-30 John Levon <levon@movementarian.org>
2984 * Makefile.am: fix dist (from Kayvan)
2986 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2988 * most files: change to use const Buffer refs
2990 2003-08-27 André Pönitz <poenitz@gmx.net>
2992 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2993 on top of ownerPar().
2995 2003-08-27 John Levon <levon@movementarian.org>
2997 * funcrequest.C: properly initialise POD members
2999 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3001 * lyxtext.h (top_y): move top_y from here
3006 * BufferView_pimpl.[Ch]: to here
3007 * frontends/screen.C:
3008 * insets/insettabular.C:
3009 * insets/insettext.C: adjust
3010 * rowpainter.[Ch] (paintRows): remove LyXText & argument
3012 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3015 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3017 2003-08-26 André Pönitz <poenitz@gmx.net>
3019 * paragraph_func.[Ch] (outerPar): new function
3022 * paragraph_funcs.C:
3023 * paragraph_funcs.h:
3024 * paragraph_pimpl.C:
3025 * text2.C: remove Inset::par_owner
3027 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
3032 * text2.C: eliminates the needFullRow/display() stuff
3033 altogether, putting the logic in metrics/draw in the insets.
3035 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
3037 * text2.C (redoParagraphInternal, redoParagraphs):
3038 * text.C (redoParagraph): add a call to updateRowPositions at the
3039 end of each 'metrics-like' call. Remove all others.
3040 (getRow): remove the 'y-computing' version.
3041 (getRowNearY): do not compute nor return the real y. Solve the
3042 'y < 0' problem and simplify.
3044 2003-08-22 Angus Leeming <leeming@lyx.org>
3046 * *.[Ch]: clean-up of licence and author blurbs.
3047 Also move config.h out of a few .h files and into a few .C files.
3049 2003-08-22 André Pönitz <poenitz@gmx.net>
3051 * lyxrow.[Ch]: add x_ and *fill_ members
3056 * text2.C: adjust/remove prepareToPrint() calls
3058 2003-08-22 André Pönitz <poenitz@gmx.net>
3060 * lyxrow.[Ch]: add end_ member
3062 * lyxrow_funcs.C: use LyXRow::end_
3064 * lyxtext.h (singleWidth): add LyXFont parameter
3067 * text2.C: adjust LyXText::singleWidth() calls
3069 * text.C (redoParagraph): simplify row breaking logic
3072 2003-08-19 André Pönitz <poenitz@gmx.net>
3074 * funcrequest.C: initialize button_ member
3077 * rowpainter.[Ch]: interface consolidation
3079 2003-08-18 André Pönitz <poenitz@gmx.net>
3082 * BufferView_pimpl.C:
3084 * paragraph_funcs.C:
3086 * text3.C: remove LyXScreen::draw() and fitCursor calls
3088 * BranchList.h: remove spurious semicolons
3090 * MenuBackend.C: fix branchlist related crash
3092 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
3100 * bufferparams.[Ch]:
3104 * text3.C: implements the 'branch inset'
3105 idea. This allows the output of various versions of a document
3106 from a single source version, selectively outputing or suppressing
3107 output of parts of the text.
3108 This implementation contains a 'branch list editor' in a separate
3109 tab of the document settings dialog. Branches are user definable
3110 and have a "display colour" to distinguish them on-screen.
3112 ColorHandler was somewhat cleaned up.
3113 (1) make possible a dynamically growing LColor list by allowing
3114 the graphic context cache to grow along (vector);
3115 (2) eliminate an IMHO unnecessary step in colour allocation.
3117 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
3119 * BufferView_pimpl.C: compile fix
3121 2003-08-15 André Pönitz <poenitz@gmx.net>
3123 * rowpainter.C: remove extra metrics calls
3125 * lyxtext.h: merge the two constructors into a single one,
3126 pass reference to owner's par list
3128 * BufferView_pimpl.C:
3132 2003-08-15 André Pönitz <poenitz@gmx.net>
3134 * lyxrow_funcs.[Ch]:
3137 * paragraph_funcs.C:
3142 * text_funcs.C: split LyXText::rowlist_ into individual
3143 Paragraph::rows_ chunks
3146 * BufferView_pimpl.[Ch]:
3149 * text3.C: remove toggleSelection()
3151 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
3153 * bufferlist.C: beautify two alerts (shorter text of buttons)
3154 * buffer.C: Remove redundant ' ' from message
3156 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3157 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3158 rename VALIGN_CENTER to VALIGN_MIDDLE
3160 2003-08-11 André Pönitz <poenitz@gmx.net>
3162 * lyxtext.h (getPar):
3163 * text.C: new function
3165 2003-08-11 André Pönitz <poenitz@gmx.net>
3168 * tracer.[Ch]: remove unneeded files
3170 * InsetList.[Ch]: remove resizeInsetsLyXText()
3175 * text3.C: merge insertParagraphs() and appendParagraph()
3176 remove breakAgain(), update()
3178 * BufferView_pimpl.[Ch]:
3179 * bufferview_funcs.[Ch]:
3183 * tabular.C: adjust after text & InsetList changes.
3185 2003-08-08 André Pönitz <poenitz@gmx.net>
3187 * text.C (insertChar, backspace): replace rowlist fiddling
3188 with rebreak of full par
3191 * text.C (breakAgainOneRow, redoHeightOfParagraph,
3192 checkParagraph, updateInset): removed
3194 2003-08-07 André Pönitz <poenitz@gmx.net>
3197 * text3.C: merge some LFUN handlers, remove dead code
3199 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3201 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3203 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
3205 * text2.C (DEPM): fix part of bug 1255 and 1256
3207 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3209 * BufferView_pimpl.C (workAreaDispatch): change to use
3210 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3211 that are no mouse related.
3213 2003-08-05 André Pönitz <poenitz@gmx.net>
3216 * BufferView_pimpl.[Ch]:
3217 * bufferview_funcs.C:
3219 * text3.C: rip out "deep update"
3221 * textcursor.[Ch] (last_sel_cursor): remove unused member
3223 2003-08-04 André Pönitz <poenitz@gmx.net>
3226 * BufferView_pimpl.[Ch]:
3227 * ParagraphParameters.C:
3228 * bufferview_funcs.C:
3234 * text3.C: replace "complicated" BufferView::update(...) calls with
3237 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3239 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
3241 * Makefile.am (lyx_SOURCES): add paper.h
3243 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3245 * Makefile.am: move things around so that both lyx-qt and
3246 lyx-xforms can be built (according to --with-frontend). Then lyx
3247 is a symbolic link to lyx-[firstfrontend]
3249 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
3251 * Always use std::endl with lyxerr
3253 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
3255 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3257 2003-08-01 André Pönitz <poenitz@gmx.net>
3260 * BufferView_pimpl.[Ch]:
3262 * text3.C: merge BufferView::repaint() and BufferView::update()
3264 2003-08-01 José Matos <jamatos@lyx.org>
3266 * buffer.[Ch]: file_format is no longer a buffer data element.
3268 2003-08-01 André Pönitz <poenitz@gmx.net>
3273 * text2.C: make redoParagraph more independent of current cursor
3275 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3277 * text2.C: remove unneeded members
3279 2003-07-30 André Pönitz <poenitz@gmx.net>
3281 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3283 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3284 create a single function...
3286 * paragraph_funcs.C (moveItem): ... here.
3289 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3291 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3293 * LColor.[Ch]: Add comment and greyedout logical colors.
3295 2003-07-30 André Pönitz <poenitz@gmx.net>
3297 * tabular.C: don't use Assert too heavily. This crashes where it
3300 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
3302 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3303 is disabled (bug 1232)
3305 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3307 * factory.C: limited 'arg' scope
3309 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3311 * factory.C: fixed Note submenu issues
3313 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3315 * factory.C: submenu for Note/Comment/Greyedout
3317 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
3320 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3322 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
3325 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3326 greyedout. Patch provided by Jürgen Spitzmüller.
3328 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3330 * kbmap.C (read): fix error message when reading bind files
3332 2003-07-29 Angus Leeming <leeming@lyx.org>
3334 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3335 certainly does not do what it purports to do. I am doing it, and
3336 us, a favour by killing it.
3338 2003-07-28 José Matos <jamatos@lyx.org>
3340 * buffer.C (readBody, do_writeFile):
3341 * paragraph.C(readParagraph): \end_document replaces \the_end.
3343 2003-07-29 André Pönitz <poenitz@gmx.net>
3346 * BufferView_pimpl.[Ch]:
3350 * textcursor.[Ch]: remove toggleToggle & Co
3352 2003-07-28 José Matos <jamatos@fep.up.pt>
3354 * buffer.C (readParagraph):
3355 * params_func (readParToken, readParagraph):
3356 * paragraph.C (write): \layout -> \begin_layout.
3358 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3360 * lyxlex_pimpl.C (setFile): clean up slightly.
3362 * bufferparams.h: add compressed var
3364 * buffer_funcs.C (readFile): adjust for LyXLex change
3365 (newFile): ditto + simplify
3367 * buffer.C (writeFile): handle writing of compressed files
3369 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3370 Check if the file is compressed and set a bufferparm if so.
3372 * Makefile.am (lyx_LDADD): remove explicit -lz
3374 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3376 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3377 makeDocBookFile): put the real LyX version in the first line of
3381 * version.C.in: remove lyx_docversion
3383 * tabular.C (write_attribute): add a template-based version to
3384 write enums properly
3386 2003-07-28 André Pönitz <poenitz@gmx.net>
3391 * text3.C: use doubles again for x-coordinates. They are needed.
3393 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3395 * messages.C (getLocaleDir): use lyx_localedir()
3397 * lyxlex_pimpl.C (setFile): compress stuff
3399 * buffer.C (writeFile): add some compression stuff
3400 (do_writeFile): new func, dont call expliti close... will this
3403 * Makefile.am (lyx_LDADD): add -lz
3405 2003-07-28 José Matos <jamatos@fep.up.pt>
3407 * buffer.C: increment file format.
3408 * paragraph_funcs (readParagraph, readParToken):
3409 * paragraph.C (readParagraph): add \end_layout.
3411 2003-07-27 Angus Leeming <leeming@lyx.org>
3413 * Makefile.am: remove special casing for configure-time setting of
3414 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3416 * lyx_main.C (init): remove all Jean-Marc's magic setting of
3417 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3419 2003-07-26 André Pönitz <poenitz@gmx.net>
3421 * paragraph_func.[Ch]:
3422 * paragraph.C (realizeFont): inline it whereever it is used
3427 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3430 2003-07-26 André Pönitz <poenitz@gmx.net>
3434 * text2.C: get rid of LyXText::need_break_row
3436 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3438 * toc.[Ch]: put namespace toc inside namespace lyx
3440 * MenuBackend.C (expandToc2): adjust for lyx::toc
3443 * lyxfunc.C (dispatch): adjust for lyx::find
3445 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3446 lyx::find instead. Reorganize a bit.
3447 (LyXReplace): rename to replace
3448 (LyXFind): rename to find
3450 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3453 2003-07-26 André Pönitz <poenitz@gmx.net>
3455 * text.C (setHeightOfRow): restrict scope of temporary variable
3457 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
3458 code (never has been used?)
3460 2003-07-27 Asger Alstrup <alstrup@local>
3462 * text.C (fill): Optimise algorithm to exploit that we can reuse
3463 the LyXFont for many characters.
3464 (setHeightOfRow): Same thing.
3465 (rowBreakPoint): Same thing.
3467 2003-07-26 Asger Alstrup <alstrup@local>
3469 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3471 * text.C (singleWidth): Spurious font copying in hot-spot
3472 singleWidth avoided. Reorder tests for arabic for efficiency.
3474 * text.C (fill): handle empty paragraphs better.
3476 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3479 * encoding.h: add includes
3481 * lyxrc.C: remove reading of bind files
3483 * lyx_main.C (init): setup bindings and menus only if we have a
3486 * kbmap.C (read): new method. Do the actual reading of bind
3489 * converter.C (dvipdfm_options):
3492 (output): adapt PAPER_* enums.
3494 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3496 * bufferparams.h: remove paper-related enums from there
3498 * paper.h: New file. A trivial header file to hold paper-related
3499 enums. It should later expand to contain many paper-related
3502 * lyxrc.C: declare extern displayTranslator
3504 2003-07-27 José Matos <jamatos@fep.up.pt>
3506 * tabular.[Ch] (linuxdoc): add support for tables and figures
3509 2003-07-27 José Matos <jamatos@fep.up.pt>
3511 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3512 consistency in both functions.
3513 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3515 2003-07-26 Asger Alstrup <alstrup@local>
3517 * rowpainter.C (paintRows): Change algorithm to work directly on
3518 the insets rather than asking every character in the document
3519 whether its an inset.
3521 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
3523 * buffer.C (openFileWrite): factorize some code
3525 2003-07-26 Angus Leeming <leeming@lyx.org>
3528 * lyx_main.[Ch]: replace occurances of system_tempdir with
3531 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3533 * rename Inset to InsetOld
3535 2003-07-25 Asger Alstrup <alstrup@diku.dk>
3537 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3538 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3539 which I think is a bit clearer. EDIT is gone, since it was
3540 premature optimisation, and broken for mathed anyway.
3541 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3542 with cursor positioning in insets as well (math insets still do not
3543 work, but that's a different story anyway.) It mysteriously
3544 crashes sometimes with undo in the first paragraph, but I'm fairly
3545 confident that this is a compiler bug.
3547 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3549 * paragraph.C (Paragraph): adjust for new clone return type
3551 (copyIntoMinibuffer): ditto
3553 2003-07-25 Asger Alstrup <alstrup@lyx.org>
3555 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3556 by not having a special case, and always doing a full rebreak of
3557 the document after undo.
3559 2003-07-23 Angus Leeming <leeming@lyx.org>
3561 * factory.C (createInset): InsetExternal::setParams now takes a
3564 2003-07-23 Angus Leeming <leeming@lyx.org>
3566 * factory.C (createInset): changed interface to the external and
3567 graphics mailers' string2params functions.
3569 2003-07-23 Angus Leeming <leeming@lyx.org>
3571 * factory.C (createInset): pass a
3572 Buffer const * parameter to InsetExternalMailer's string2params.
3574 2003-07-22 John Levon <levon@movementarian.org>
3576 * Thesaurus.h: include the right aiksaurus header
3578 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3580 * MenuBackend.C (expand): check menu shortcuts unconditionally
3582 2003-07-21 Angus Leeming <leeming@lyx.org>
3584 * factory.C (createInset): pass a
3585 buffer_path parameter to InsetGraphicsMailer's string2params.
3587 2003-07-21 Angus Leeming <leeming@lyx.org>
3589 * BufferView_pimpl.C (buffer):
3592 * lyxfunc.C (dispatch):
3593 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3594 rather than the grfx shortcut.
3596 2003-07-21 André Pönitz <poenitz@gmx.net>
3598 * rowpainter.C: remove unused variables
3601 * tabular_funcs.h: move to tabular.C
3602 * Makefile.am: adjust
3604 * tabular.[Ch]: basic optical cleaning
3606 * author.h: pass references, not values
3608 2003-07-18 André Pönitz <poenitz@gmx.net>
3616 * text3.C: two-phase drawing for InsetText and InsetTabular
3617 some float -> int changes.
3619 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3621 * lyx_main.C: fix the fix
3623 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3625 * lyx_main.C: fix a crash in batch mode if no files specified
3628 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
3630 * format.[Ch] (papersize): moved to BufferParams
3631 * converter.[Ch] (dvips_options): moved to BufferParams
3632 (dvipdfm_options): moved to anon namespace
3633 * bufferparams.[Ch]: added above functions.
3635 2003-07-17 André Pönitz <poenitz@gmx.net>
3639 * text2.C: don't call inset->update() anymore
3641 * metricsinfo.[Ch]: add convenience constructor
3643 2003-07-16 André Pönitz <poenitz@gmx.net>
3648 * text2.C: replace the LyXCursor::irow_ member with
3649 on-demand computation of the value
3651 2003-07-16 John Levon <levon@movementarian.org>
3653 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3655 2003-07-15 André Pönitz <poenitz@gmx.net>
3658 * text2.C: remove no more needed refresh_row
3660 2003-07-15 André Pönitz <poenitz@gmx.net>
3665 * text3.C: refresh_status tristate -> need_update bool
3667 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
3669 * lyxtext.h (init): remove reinit argument (act as if always true)
3670 * text2.C: adjust to that
3672 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3674 * bufferview_funcs.[Ch]: introduce function replaceSelection()
3675 * text3.C: use it to delete selections in some cases
3676 (bugs 441, 673, 702, 954).
3678 2003-07-14 André Pönitz <poenitz@gmx.net>
3680 * rowpainter.[Ch]: reduce interface
3682 2003-07-14 André Pönitz <poenitz@gmx.net>
3684 * BufferView_pimpl.C:
3685 * text2.C: adjust after removing unused BufferView * argument
3687 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
3689 * text2.C (init): fix a crash fired on resize
3691 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
3693 * buffer.[Ch]: added new closing signal
3694 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3695 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3696 BufferView::Pimpl via the closing the signal
3698 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
3700 * buffer.[Ch]: take out all bv-related from buffer
3702 * BufferView_pimpl.[Ch]: connect to new signals
3703 * CutAndPaste.C: removed useless asserts
3704 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3707 * lyxfunc.C: moved view-related funciontality from vc here
3708 * paragraph.C: removed outdated comments
3711 2003-07-10 André Pönitz <poenitz@gmx.net>
3713 * BufferView_pimpl.C:
3717 * text2.C: remove InsetText::InnerCache, clean up consequences
3719 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
3721 * ispell.C: fix two typos in error messages
3723 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
3725 * Extend Note inset to other forms of annotation like Comment
3726 and Greyedout. Right button click gives dialog.
3728 Files modified or added (+):
3732 * ControlNote.[Ch] +
3734 * Makefile.am in frontends/xforms, frontends/xforms/forms,
3735 frontends/controllers
3739 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3741 * aspell.C: add missing namespace lyx::support
3743 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
3745 * BufferView.[Ch] (newFile): Add
3746 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3747 * LaTeX.[Ch] (message): added this signal and use it
3748 * buffer.[Ch] (busy, message): added these signals and use them
3749 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3753 * importer.C: use buffer signals instead of direct bv calling
3754 * lyx_cb.[Ch] (ShowMessage): removed
3757 * paragraph_funcs.C:
3758 * text2.C: use buffer signals
3760 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3762 * introduce namespace lyx::graphics
3764 2003-07-02 André Pönitz <poenitz@gmx.net>
3766 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3768 2003-07-01 André Pönitz <poenitz@gmx.net>
3775 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3776 text*.C to text_func.C
3778 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3780 * introduce namespace lyx::support
3782 2003-06-30 André Pönitz <poenitz@gmx.net>
3787 * text.C: re-enable --with-included-string
3789 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3791 * textcursor.C: add <config.h>
3793 * text.C (getWord): remove const from word_location arg
3795 * lyxvc.C (getLogFile): fix const type order
3797 * lyxtext.h: remove const from word_location arg, add arg name
3799 * lyxlayout.h: currect type on labeltype.
3801 * importer.C: correct \file
3803 * converter.C (intToFormat): use std:: on ret val, ws changes
3805 * bufferlist.h: correct \file
3807 * buffer.C (makeLinuxDocFile): fix const type order
3808 (makeDocBookFile): ditto
3809 (fillWithBibKeys): use std:: on stdlib args.
3811 * CutAndPaste.C: fix authors.
3812 (availableSelections): use std:: on return vector
3814 2003-06-27 André Pönitz <poenitz@gmx.net>
3816 * BufferView_pimpl.C:
3817 * bufferview_funcs.C:
3825 * text3.C: remove LyXCursor::row_ member
3828 * text.C: rename fullRebreak() to partialRebreak() and implement
3829 a fullRebreak() that really bereks fully
3831 * textcursor.h: new struct for cursor-related data
3833 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
3835 * lyx_main.C (LyX): get full path of document loaded on the
3838 2003-06-26 André Pönitz <poenitz@gmx.net>
3840 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3841 remove unused/broken operator>,<,>=.
3843 * text.C: remove only use of broken operator<= in an Assert().
3845 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3847 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3848 moved errorlist_.clear to showErrorList
3850 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3852 * converter.C (scanLog, runLaTeX):
3853 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3854 move the bv->showErrorList call to the callers
3855 * lyxfunc.C: i.e. here...
3857 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3858 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3859 namespace, the second to...
3860 * buffer_funcs (BufferFormat, parseErrors): added
3861 * errorlist.C (ErrorList(TeXErrors const &)): removed
3863 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3865 * ToolbarBackend.C (getIcon): complain when icon cannot be found
3867 2003-06-24 "Garst R. Reese" <reese@isn.net>
3871 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3873 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3875 * version.C.in: change docversion to 1.4
3877 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
3879 * buffer.C: fix a bug just introduced
3881 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3883 * buffer.[Ch]: added the parseError signal and use it, removed
3885 * BufferView.[Ch] (addError): moved to ...
3886 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3887 to the Buffer::parseError signal to catch (guess what) parse errors
3888 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3890 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3892 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3893 ability to create a buffer and to return an existing one from
3894 the list. Moved these functions to...
3895 * buffer_funcs.[Ch]: added
3896 * BufferView.[Ch] (loadLyXFile): added
3897 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3898 job removed from bufferlist::loadLyXFile.
3899 * buffer.C (setReadOnly): make it work without view
3900 (i.e added an if (users))
3902 2003-06-19 Angus Leeming <leeming@lyx.org>
3905 * LyXAction.C (init):
3906 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3907 with LFUN_DIALOG_SHOW <name> <data>.
3909 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3911 * CutAndPaste.C (availableSelections): small compilation fix for
3912 ancient (gcc 2.9x) compilers
3914 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3916 * text3.C (cursorNext): add tmp var
3918 * text2.C (updateCounters): for function calling out of for clause
3919 (replaceSelectionWithString): ditto
3920 (insertStringAsParagraphs): ditto
3921 (getColumnNearX): add tmp var
3922 (setCursorFromCoordinates): add tmp var
3923 (cursorDownParagraph): add tmp var
3924 (deleteEmptyParagraphMechanism): add tmp var
3926 * text.C (insertChar): add tmp var
3928 * rowpainter.C (paintDepthBar): add tmp var
3930 * CutAndPaste.C (availableSelections): potentially check all
3931 paragraphs in a cut to fill the shown strings.
3933 2003-06-18 André Pönitz <poenitz@gmx.net>
3935 * kbmap.[Ch]: use vector<> instead of list<>
3937 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3939 * text3.C (dispatch): handle arg to LFUN_PASTE, call
3940 pasteSelection with index
3942 * text2.C (pasteSelection): modify, call pasteSelection with index
3944 * paragraph.C (asString): reimplement version with no interval to
3945 call the one with interval.
3947 * lyxtext.h: add index arg to pasteSelection
3949 * MenuBackend.C (MenuItem): handle PasteRecent
3950 (Menu::read::Menutags): add md_pasterecent
3952 (expandPasteRecent): new function
3955 * MenuBackend.h: add PasteRecent to MenuItem::Kind
3957 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3959 (availableSelections): new function
3961 2003-06-17 Angus Leeming <leeming@lyx.org>
3963 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3965 2003-06-17 Angus Leeming <leeming@lyx.org>
3968 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3970 * lyxfunc.C (dispatch): invoke it.
3972 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3974 * iterators.C (operator++, ParPosition): reintroduce some
3975 const_cast for the benefit of older compilers.
3977 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3979 * text3.C (dispatch): do not modify clipboard when doing
3980 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3981 LFUN_DELETE_SKIP on a selection selection
3983 2003-06-16 André Pönitz <poenitz@gmx.net>
3989 * tabular.[Ch]: IU of clone() and getLabelList();
3991 2003-06-13 André Pönitz <poenitz@gmx.net>
3993 * tabular.h: compactification
3995 2003-06-12 André Pönitz <poenitz@gmx.net>
3999 * tabular_funcs.h: some renaming plus whitespace
4001 2003-06-12 André Pönitz <poenitz@gmx.net>
4004 * BufferView_pimpl.C:
4010 * toc.C: Return a Paragraph & for ParIterator::operator*()
4012 2003-06-11 John Levon <levon@movementarian.org>
4016 * ToolbarBackend.C: add "Toolbars" section and
4019 2003-06-10 Angus Leeming <leeming@lyx.org>
4022 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4024 * lyxfunc.C (dispatch): invoke it.
4026 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4028 * main.C: protect <ios> with HAVE_IOS
4029 (main): protect sync_with_stdio with HAVE_IOS
4031 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
4033 * text2.C (cutSelection): adjust
4034 (pasteSelection): adjust
4036 * messages.C: handle get of empty string
4038 * main.C (main): use sync_with_stdio(false)
4040 * lyxfunc.C (dispatch): adjust
4042 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4043 (WriteAs): remove unneeded BufferView arg.
4045 * bufferparams.h: use correct types on papersize, papersize2 and
4048 * bufferparams.C (readToken): adjust for type
4049 (writeLaTeX): add missing cases to switch.
4051 * bufferlist.C (quitWriteBuffer): adjust
4054 * buffer.C (asciiParagraph): remove some commented code.
4056 * CutAndPaste.C: remove current_view extern variable.
4057 (cutSelection): add BufferParams arg.
4058 (eraseSelection): add BufferParams arg.
4059 (pasteSelection): add Buffer const & arg
4061 2003-06-07 John Levon <levon@movementarian.org>
4064 * paragraph_funcs.C:
4065 * paragraph_pimpl.C:
4069 * paragraph.C: allow InsetERT to freely space lines,
4070 and some consolidation of code
4072 2003-06-06 José Matos <jamatos@fep.up.pt>
4074 * buffer.C (makeDocBookFile): fix bug #821
4076 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
4078 * BufferView_pimpl.C (dispatch): use Dialogs::visible
4080 2003-06-04 Angus Leeming <leeming@lyx.org>
4082 * buffer.C: bump format to 224.
4084 2003-06-05 André Pönitz <poenitz@gmx.net>
4086 * text2.C (redoParagraphs): remove two const_cast<>
4088 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4090 * ParagraphList.h: remove last remnants of NO_STD_LIST
4092 2003-06-03 Angus Leeming <leeming@lyx.org>
4094 * factory.C (createInset): small change to the way InsetExternal's params
4097 2003-06-04 André Pönitz <poenitz@gmx.net>
4099 * buffer.h: use Undo directly instead of shared_ptr<Undo>
4101 * paragraph_pimpl.h:
4102 * paragraph.[Ch]: some Inset -> UpdatableInset changes
4104 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4106 * undo_funcs.C: make some simple cases of undo work again
4108 2003-06-03 John Levon <levon@movementarian.org>
4110 * ispell.C: HPUX doesn't have sys/select.h
4113 2003-06-03 John Levon <levon@movementarian.org>
4115 * CutAndPaste.C: update tabular and include inset
4120 * paragraph.C: remove owningBuffer(), don't pass Buffer
4123 * factory.C: insetGraphicsParams changed
4125 2003-06-02 John Levon <levon@movementarian.org>
4131 * text3.C: remove insetparent
4133 2003-06-02 John Levon <levon@movementarian.org>
4136 * buffer.C: fix inset_iterator.end(), move out of line
4139 2003-06-01 John Levon <levon@movementarian.org>
4141 * text3.C: use a proper cut/paste when doing inset
4142 insert (from Jürgen Spitzmüller)
4144 2003-06-01 John Levon <levon@movementarian.org>
4146 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4148 2003-05-30 André Pönitz <poenitz@gmx.net>
4150 * rowpainter.C: unify second drawing phase
4152 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4154 * trans_mgr.C: remove one case of current_view
4156 * text2.C (cursorBottom): delete NO_STD_LIST stuff
4158 * paragraph_funcs.h: remove paragraph.h include
4160 * paragraph.h: delete NO_STD_LIST stuff
4162 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4164 * buffer.h: remove paragraph.h include
4166 * ParagraphList.C: delete file
4168 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4170 * toc.C (getTocList): adjust
4172 * paragraph_pimpl.C (validate): adjust
4174 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4176 * paragraph.C (Paragraph): adjust
4177 (getPositionOfInset): use const_iterator, adjust
4178 (bibitem): use const_iterator, adjust
4179 (setInsetOwner): adjust
4181 * iterators.C (operator++): adjust
4183 * InsetList.[Ch]: Replace selfmade iterator with standard
4184 vector::iterator also introduce const_iterator. Remove getPos,
4185 getInset and setInset from InsetTable. Adjust accordingly.
4187 * BufferView.C (lockInset): adjust
4188 (ChangeInsets): adjust
4190 * tabular.[Ch]: delete commented same_id functions
4192 2003-05-28 John Levon <levon@movementarian.org>
4194 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4196 2003-05-28 André Pönitz <poenitz@gmx.net>
4198 * metricsinfo.[Ch]: remove 'fullredraw' member
4200 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
4202 * lyxtextclass.C (operator): remove caching.
4204 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4208 * text2.C (cursorBottom): adjust
4209 (setCounter): use ParagraphList::find, adjust
4211 * text.C (workWidth): use ParagraphList::find, adjust
4213 * lyxcursor.C (LyXCursor): adjust
4215 * buffer.C (inset_iterator): adjust
4217 * ParagraphList.h: make iterator(value_type) private, make
4218 ParagraphList a friend of iterator.
4220 * ParagraphList.C (find): new function
4222 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4224 2003-05-27 André Pönitz <poenitz@gmx.net>
4226 * dimension.[Ch]: a -> asc, d -> des, w -> wid
4228 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4230 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4232 2003-05-26 John Levon <levon@movementarian.org>
4234 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4236 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4238 * remove same_id from function signatures, adjust.
4240 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4242 * undo_funcs.C (createUndo): use the id functions directly, adjust.
4244 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4246 * paragraph.C (Paragraph): get rid of same_ids parameter
4248 * ParagraphList.C (insert): adjust
4251 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4253 * paragraph_funcs.C (breakParagraph): adjust
4254 (breakParagraphConservative): adjust
4256 * buffer.C (readParagraph): adjust
4258 * ParagraphList.C (insert): take a reference instead of a pointer
4261 * paragraph.[Ch] (id): new function
4263 * bufferlist.C (newFile): adjust
4265 * ParagraphList.C (ParagraphList): adjust
4267 (push_back): take a reference instead of a pointer.
4269 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4271 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4274 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4275 set else use old code.
4277 * ParagraphList.C: remove all NO_NEXT code and only compile this
4278 code of NO_STD_LIST is set.
4280 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4282 * BufferView_pimpl.C:
4292 * graphics/GraphicsConverter.C:
4293 * graphics/PreviewLoader.C: header adjustment
4295 2003-05-23 Angus Leeming <leeming@lyx.org>
4297 * LaTeXFeatures.[Ch] (useBabel): new method.
4298 * bufferparams.C (writeLaTeX): use it.
4300 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4302 * ParagraphList.h (set): remove unused function.
4304 2003-05-23 André Pönitz <poenitz@gmx.net>
4307 * BufferView_pimpl.C:
4311 * undo_funcs.C: setUndo reworked
4313 * iterators.[Ch]: add access to topmost ParagraphList
4315 * lyxtext.[Ch] (workWidth): add a const
4317 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4319 * texrow.[Ch] (increasePos): remove function
4320 * exporter.C (export): removed unused var and outdated comment
4322 2003-05-23 Angus Leeming <leeming@lyx.org>
4324 * latexrunparams.h: rename fragile as moving_arg.
4325 * paragraph.C (simpleTeXOnePar): ditto.
4326 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4328 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4330 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4332 (textUndoOrRedo): comment out a currently unused var.
4334 * paragraph.h (NO_NEXT): enable NO_NEXT
4336 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4338 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4340 * exporter.C (Export): adjust for removeAutoInsets removal.
4342 * buffer.C (runChktex): adjust for removeAutoInsets removal.
4344 * LyXAction.C (init): remove LFUN_REMOVEERRORS
4346 * BufferView.[Ch] (removeAutoInsets): delete function
4348 2003-05-22 Angus Leeming <leeming@lyx.org>
4350 * latexrunparams.h: add a free_spacing variable.
4352 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4353 to pass moving_arg, as the data is stored in runparams.fragile.
4355 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4356 to Inset::latexOptional or to simpleTeXOnePar.
4358 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4359 free_spacing arg to Inset::latexOptional.
4361 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4364 2003-05-22 Angus Leeming <leeming@lyx.org>
4366 * latexrunparams.h: add fragile and use_babel variables.
4368 * bufferparams.[Ch] (writeLaTeX): return use_babel.
4369 * buffer.C (makeLaTeXFile): store this returned value in
4370 runparams.use_babel, thus passing it to the inset::latex methods.
4372 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4373 simpleTeXSpecialChars as it is now stored in runparams.fragile.
4375 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4376 longer has a fragile arg, as it is stored in runparams.fragile.
4378 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4379 moving_arg parameter as the data is stored in runparams.fragile.
4381 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4382 a fragile parameter as the data is stored in runparams.fragile.
4384 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4386 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4388 2003-05-22 Angus Leeming <leeming@lyx.org>
4390 * latexrunparams.h: add a 'bool nice' which defaults to false.
4392 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4393 now encapsulated within runparams.
4395 * bufferlist.C (updateIncludedTeXfiles):
4396 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4398 2003-05-22 Angus Leeming <leeming@lyx.org>
4400 * latexrunparams.h: new file containing struct LatexRunParams.
4401 * Makefile.am: add new file.
4403 * LaTeX.[Ch] (c-tor, run):
4404 * buffer.[Ch] (makeLaTeXFile):
4405 * bufferlist.[Ch] (updateIncludedTeXfiles):
4406 * converter.C (convert, scanLog):
4407 * converter.[Ch] (runLaTeX):
4408 * exporter.C (Export):
4409 * paragraph.[Ch] (simpleTeXOnePar):
4410 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4411 * paragraph_funcs.[Ch] (latexParagraphs):
4412 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4413 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4414 pass around a LatexRunParams parameter.
4416 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4418 * paragraph.[Ch]: remove unused constructor
4420 * ParagraphList.C (erase): new function, taking two iterators
4422 2003-05-22 André Pönitz <poenitz@gmx.net>
4424 * undo_funcs.C: remove duplicated code
4426 * iterator.[Ch]: operator=
4428 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4430 * tabular.C (SetMultiColumn): ws changes
4432 * rowpainter.C (paintFirst): get rid of a ->previous
4434 * lyx_cb.C (getPossibleLabel): parlist simplification
4436 * BufferView.C (ChangeInsets): simplify slightly.
4438 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4440 * LyXAction.C: new lfun space-insert, kill protected-space-insert
4441 * lfuns.h: new LFUN_SPACE
4442 * lyxfunc.C: protected space has a new lfun
4443 * paragraph_funcs.C: read new space insets
4445 * factory.C: handle new space insets
4447 2003-05-22 André Pönitz <poenitz@gmx.net>
4450 * BufferView_pimpl.C:
4453 * undo_funcs.C: return a ParIterator from getParFromID.
4455 * iterators.[Ch]: add two const's
4457 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4459 * toc.C (getTocList): adjust
4461 * iterators.[Ch]: rework for parlist
4463 * buffer.C (par_iterator_begin): adjust
4464 (par_iterator_end): adjust
4466 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4468 * BufferView.C (removeAutoInsets): adjust
4469 (ChangeInsets): adjust
4471 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
4473 * text.C (top_y): fix bug 1110
4475 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
4477 * errorlist.[Ch]: added
4480 * BufferView_pimpl.C:
4481 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4484 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4486 * Makefile.am: ensure that lyx is relinked upon changes to the
4487 various "convenience" libs.
4489 2003-05-20 Angus Leeming <leeming@lyx.org>
4491 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4492 files are compiled in alphabetical order again.
4494 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4496 2003-05-19 Angus Leeming <leeming@lyx.org>
4498 * gettext.[Ch]: remove "char const * _(char const *)".
4500 2003-05-19 André Pönitz <poenitz@gmx.net>
4502 * dimension.[Ch]: promote from mathed/dimension.[Ch]
4511 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4513 2003-05-19 André Pönitz <poenitz@gmx.net>
4517 * lyxtextclass.[Ch]:
4519 * paragraph_funcs.[Ch]:
4521 * text3.C: more insetenv work
4523 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
4525 * ParagraphParameters.C (params2string): small bug fixed
4527 2003-05-16 André Pönitz <poenitz@gmx.net>
4530 * bufferview_funcs.C: patch from Kornel Benko to prevent
4531 crash when _(...) is called twice in a statement
4533 2003-05-16 André Pönitz <poenitz@gmx.net>
4540 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4542 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
4544 * lyx_main.C (init): remove spurious static_cast
4546 2003-05-14 André Pönitz <poenitz@gmx.net>
4548 * BufferView.C: fix format string
4550 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
4552 * BufferView.[Ch] (insertErrors): removed
4553 * BufferView.[Ch] (showErrorList): added
4554 * buffer.C (runChkTeX):
4555 * converter.C (scanLog): call showErrorList instead of inserterrors
4557 2003-05-13 André Pönitz <poenitz@gmx.net>
4559 * BufferView_pimpl.C:
4561 * bufferview_func.C:
4568 * tabular_funcs.h: tostr() from its own header
4570 * ParagraphParameters.C:
4575 * text3.C: STRCONV()
4577 2003-05-12 André Pönitz <poenitz@gmx.net>
4580 * BufferView_pimpl.C:
4584 * ParagraphParameters.C:
4588 * bufferview_funcs.C:
4601 * paragraph_funcs.C:
4605 * text3.C: boost::format -> bformat all over the place
4608 2003-05-09 André Pönitz <poenitz@gmx.net>
4610 * LColor.[Ch]: Pimpl the #include <map> away
4612 2003-05-09 John Levon <levon@movementarian.org>
4614 * bufferlist.C: never remove emergency saves
4616 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4618 * Makefile.am: better lib building
4620 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4622 * texrow.[Ch]: remove dependency on Paragraph and just store a id
4624 * paragraph_pimpl.C (simpleTeXBlanks): adjust
4625 (simpleTeXSpecialChars): adjust
4626 (simpleTeXSpecialChars): adjust
4627 * paragraph.C (simpleTeXOnePar): adjust
4628 * buffer.C (makeLaTeXFile): adjust
4630 * Makefile.am (BOOST_LIBS): allow boost as system lib.
4632 * text2.C (changeDepth): parlist cleanup
4633 (getColumnNearX): ditto
4635 * rowpainter.C (getLabelFont): parlist cleanup
4637 * bufferlist.C (newFile): parlist cleanup
4639 * CutAndPaste.C (eraseSelection): parlist cleanup
4641 * BufferView_pimpl.C (trackChanges): parlist cleanup
4644 * BufferView.C (lockInset): parlist cleanup.
4645 (ChangeInsets): ditto
4647 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4649 * CutAndPaste.h: Update file header.
4651 * CutAndPaste.C: Update file header.
4652 Store the parts cut out of the Document in a limited_stack.
4653 (copySelection): adjust
4654 (pasteSelection): new function, takes the index in the limited stack.
4655 (nrOfParagraphs): adjust
4656 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4657 simplify error inset insertion.
4658 (checkPastePossible): adjust
4660 2003-05-06 John Levon <levon@movementarian.org>
4662 * text2.C: don't cast wrap inset to float
4664 2003-05-05 André Pönitz <poenitz@gmx.net>
4667 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4669 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4670 few naked Paragraph *.
4672 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
4674 * bufferparams.C: Output warning if a document with missing
4675 TeX document class is loaded
4676 * exporter.C: Disable TeX exports if the document class is missing
4679 * lyxtextclasslist.C: Handle new textclass.lst format; new method
4680 isTeXClassAvailable()
4682 2003-05-03 John Levon <levon@movementarian.org>
4685 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4686 explicit cursor show/hide
4688 * BufferView_pimpl.h:
4689 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4690 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4692 * lyxfunc.C: hide cursor before dispatching.
4697 * text3.C: remove explicit cursor hides
4699 2003-05-02 André Pönitz <poenitz@gmx.net>
4701 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4704 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4707 * text2.C: tiny whitespace
4709 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4711 * undo_funcs.C: almost only ws changes.
4713 * ParagraphList.C (splice): just return if pl is empty.
4715 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4717 * ParagraphList.C (splice): new function.
4719 * CutAndPaste.C (pasteSelection): use it
4721 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4723 * CutAndPaste.C (pasteSelection): remove the last next and
4724 previous from this file.
4726 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4728 * CutAndPaste.C (pasteSelection): more clean up, user proper
4729 ParagraphList functions for pasteing.
4731 * ParagraphList.C (insert): new function, three arg insert
4733 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4735 * ParagraphList.C (insert): new function, three arg insert
4737 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4740 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4742 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4744 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4746 * CutAndPaste.C (pasteSelection): remove some unneeded code.
4748 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4750 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4751 (copySelection): clean up a bit.
4752 (pasteSelection): use make_pair
4754 * ParagraphList.C (ParagraphList): implement copy constructor
4755 (operator=): implement, base on copy constructor.
4758 * paragraph.C (erase): return a bool
4760 * paragraph_pimpl.C (erasePos): remove function, move contents...
4761 (erase): ... here. Return a bool.
4762 (erase): call erase instead of erasePos.
4764 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
4766 * ParagraphList.h: define PitPosPair
4767 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4768 ParagraphList, fix a bug on pasting multiple pars
4769 * text2.C: change interface to C&P
4771 2003-04-30 André Pönitz <poenitz@gmx.net>
4773 * undo_func.C: revert part of yesterday's patch 2
4775 2003-04-30 John Levon <levon@movementarian.org>
4777 * LColor.C: s/tabular/table/
4779 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4781 * text3.C (dispatch): do not convert iterator -> pointer
4782 * undo_funcs.C (setCursorParUndo): ditto
4783 * text_funcs.C (transposeChars): ditto
4785 * text2.C (setLayout): ws changes only
4787 * text.C (breakParagraph): do not convert iterator -> pointer
4789 (acceptChange): ditto
4790 (rejectChange): ditto
4795 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4798 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4800 * text3.C (gotoInset): YABG (yet another bad getChar)
4802 2003-04-29 André Pönitz <poenitz@gmx.net>
4804 * paragraph.h: make operator= private unimplemented as long as
4807 * ParagraphList.C: whitespace
4810 * paragraph_pimpl.[Ch]:
4811 * paragraph_funcs.C:
4813 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
4816 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4818 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4820 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4821 * paragraph.[Ch] (erase):
4822 * paragraph_pimpl.[Ch] (erase): change return type and value
4823 * text2.C (cutSelection): some rework
4825 2003-04-28 John Levon <levon@movementarian.org>
4827 * bufferlist.C: changes for unsaved changes dialog
4829 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4831 * bufferlist.C (newFile): set language (messages_) for new
4834 * buffer.C (readFile): ws changes only.
4836 2003-04-28 André Pönitz <poenitz@gmx.net>
4841 * BufferView_pimpl.C:
4842 * BufferView.C: getParFromID related ParagraphList::iterator changes
4844 2003-04-28 André Pönitz <poenitz@gmx.net>
4846 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4849 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4851 * messages.C: remove one more localedir class variable.
4853 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4855 * messages.C (getLocaleDir): singleton generation function
4857 (Messages): add a default constructor.
4859 * main.C (main): do not setup localedir here, do not call
4862 * gettext.C (_): use it.
4863 (gettext_init): delete funciton
4865 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4867 * gettext.C (getLyXMessages): new singleton generating function.
4869 * buffer.C (updateDocLang): adjust
4871 * Makefile.am (messages.o): add target
4872 (main.o): remove target
4874 2003-04-27 John Levon <levon@movementarian.org>
4879 * lyxvc.C: specify cancel button in Alert::prompt
4881 2003-04-26 John Levon <levon@movementarian.org>
4886 * LyXAction.C: add LFUN_INSET_SETTINGS
4888 * lyxfunc.C: don't enable tabular-feature when there's
4889 just any locking inset
4891 2003-04-26 John Levon <levon@movementarian.org>
4893 * bufferlist.C: re-add Cancel to buffer close question
4895 * lyxfunc.C: fix import UI a bit
4897 2003-04-25 John Levon <levon@movementarian.org>
4899 * gettext.C: remove the broken asserts for now
4901 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4903 * messages.C: make case where setlocale cannot comply work better.
4905 * buffer.C (updateDocLang): new function
4906 (changeLanguage): use it
4909 * text2.C (setCounter): use B_ a bit.
4911 * lyxlayout.C (Read): be sure to trim the label strings.
4913 * messages.C (Messages): fix typo in comment
4915 * buffer.C (readFile): set message_ after file is loaded.
4916 (makeDocBookFile): remove double return
4917 (changeLanguage): reset message_ upon language change.
4918 (B_): new func, use this to get translated buffer strings.
4920 * main.C: add myself and Jean Marc as authors.
4922 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4924 * messages.[hC]: pimplify Messages, and three different pimpls to be
4925 used in different circumstances.
4927 * gettext.[Ch]: change for use with new message code.
4929 2003-04-24 André Pönitz <poenitz@gmx.net>
4931 * factory.C: support for eqref
4933 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4935 * messages.[Ch]: add missing char
4937 * Makefile.am (lyx_SOURCES): add messages.[Ch]
4939 * messages.[Ch]: New files
4941 2003-04-18 John Levon <levon@movementarian.org>
4945 * BufferView_pimpl.C:
4949 * text2.C: remove layout-copy/paste (bug 778)
4951 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4953 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4955 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4957 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4958 if they succeed. Act accordingly.
4960 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4962 * text2.C (setCharFont): adjust
4963 (setCounter): adjust
4964 (insertStringAsLines): adjust
4966 * text.C (leftMargin): adjust
4967 (setHeightOfRow): adjust
4969 * rowpainter.C (paintFirst): adjust
4972 * paragraph_funcs.C (depthHook): ParagraphList::iterators
4974 (isFirstInSequence): ditto
4975 (getEndLabel): ditto
4978 * paragraph.C (getParLanguage): comment out some hard stuff.
4980 * buffer.C (insertStringAsLines): take a ParagraphList as arg
4982 (simpleDocBookOnePar): ditto
4983 (makeDocBookFile): use ParagraphList::iterator
4985 * CutAndPaste.C (pasteSelection): adjust
4987 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4989 * text2.C (getFont): adjust
4990 (getLayoutFont): adjust
4991 (getLabelFont): adjust
4993 * paragraph_funcs.C (TeXOnePar): adjust
4995 * buffer.C (simpleLinuxDocOnePar): adjust
4996 (simpleDocBookOnePar): adjust
4998 * CutAndPaste.C (pasteSelection): adjust
5000 * BufferView.C (getEncoding): adjust
5002 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5004 2003-04-16 John Levon <levon@movementarian.org>
5006 * lyxfind.C: use parlist stuff for search/changes
5008 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5010 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5012 * text2.C (deleteEmptyParagraphMechanism): adjust
5014 * text2.[Ch] (ownerParagraph): delete func (both of them
5016 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5018 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5020 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5022 * ParagraphList.C: prepare for NO_NEXT
5024 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5026 * text2.C (getFont): adjust
5027 (getLayoutFont): adjust
5028 (getLabelFont): adjust
5030 * paragraph.C (getFont): adjust
5031 (getLabelFont): adjust
5032 (getLayoutFont): adjust
5034 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5036 2003-04-15 John Levon <levon@movementarian.org>
5040 * lyx_main.C: handle Include in .ui files
5042 2003-04-15 John Levon <levon@movementarian.org>
5044 * MenuBackend.C: make the doc files length shorter
5047 * ToolbarBackend.C: handle toolbar placement flags,
5050 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5052 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5055 * paragraph_funcs.C (TeXOnePar): adjust
5057 * paragraph.C (getLabelFont): add outerfont arg, adjust
5058 (getLayoutFont): ditto
5059 (simpleTeXOnePar): adjust
5061 * paragraph_pimpl.C (realizeFont): delete func
5063 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
5065 * text2.C (beforeFullRowInset): added a bad getchar check, removed
5066 row argument, constify cur argument.
5068 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5070 * text2.C (getFont): adjust
5071 (getLayoutFont): adjust
5072 (getLabelFont): adjust
5074 * paragraph_funcs.C (TeXOnePar): adjust
5075 (outerFont): new func...
5076 (realizeFont): ...moved out from here, changed this to facilitate
5079 * paragraph.C (getFont): take outerfont as arg, adjust
5080 (simpleTeXOnePar): add outerfont arg, adjust
5082 * buffer.C (simpleLinuxDocOnePar): adjust
5083 (simpleDocBookOnePar): adjust
5085 * CutAndPaste.C (pasteSelection): adjust
5087 * BufferView.C (getEncoding): adjust
5089 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5091 * text2.C (setCharFont): adjust
5092 (setCounter): adjust
5094 * text.C (leftMargin): adjust
5095 (setHeightOfRow): adjust
5097 * rowpainter.C (paintFirst): adjust
5100 * paragraph_pimpl.C (realizeFont): adjust
5102 * paragraph.C (isFirstInSequence): move from here...
5103 * paragraph_funcs.C (isFirstInSequence): ...to here
5105 * paragraph.C (outerHook): move from here...
5106 * paragraph_funcs.C (outerHook): ...to here
5108 * paragraph.C (depthHook): move from here...
5109 * paragraph_funcs.C (depthHook): ...to here
5111 * paragraph.C (getEndLabel): move from here...
5112 * paragraph_funcs.C (getEndLabel): ...to here
5114 * text2.C (realizeFont): move from here...
5115 * paragraph_funcs.C (realizeFont): ...to here
5117 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5119 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5121 2003-04-14 Angus Leeming <leeming@lyx.org>
5123 * LColor.[Ch]: scrap LColor mathcursor.
5125 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5127 * lyxlex.[Ch] (text): delete function
5128 * trans.C (Load): adjust
5129 * paragraph_funcs.C (readParToken): adjust
5131 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5133 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5134 vector<char> instead of a char[].
5136 * lyxlex_pimpl.C (getString): adjust
5138 (lex): use getString
5142 * lyxlex.C (text): use pimpl_->getString()
5146 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5148 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5149 (makeFontEntriesLayoutSpecific): temp var for par.size()
5150 (setLayout): temp var for ownerParagraphs().end()
5151 (fullRebreak): temp var for rows().end()
5152 (selectionAsString): temp var for boost::next(startpit), realize
5153 that the while really is a regular for loop.
5154 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5155 setCursor in one place.
5156 (setParagraph): temp vr for ownerParagraphs().end()
5157 (updateCounters): make the while loop a for loop
5158 (cutSelection): temp var for ownerParagraphs().end()
5159 (updateInset): make the do {} while() a regular for loop
5160 (getCursorX): use temp vars
5161 (setCurrentFont): use temp vars
5162 (getColumnNearX): use temp vars
5164 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5166 * text.C (transformChar): use temp var for getChar
5167 (computeBidiTables): use temp var for row->par()
5168 (fill): move temp vars for row->par() and pit->layout() earlier in
5170 (labelFill): use temp var for row->par()
5171 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5172 asc and desc, realize that pit never changes and that firstpit is
5173 just a duplicate and not needed. Exchange rit->par() with pit in a
5175 (breakAgain): use a temp var for boost::next(rit)
5176 (breakAgainOneRow): ditto
5177 (breakParagraph): use a temp var for rows().begin()
5178 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5179 (cursorRightOneWord): use temp var for cursor.par() and
5180 cursor.pos(), remove usage of tmpcursor.
5181 (cursorLeftOneWord): use temp var for cursor.par() and
5182 cursor.pos() only set cur at end of function.
5184 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5186 * text.C, text2.C: exchange all usage of Paragraph::next with
5187 boost::next(ParagraphList::iterator)
5189 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5191 * text2.C (cursorTop): simplify implementation
5192 (cursorBottom): ditto
5193 (setParagraph): use ParagraphList::iterator
5194 (setCurrentFont): adjust
5195 (getColumnNearX): adjust
5196 (cursorRight): adjust
5197 (cursorLeft): remove usage of Paragraph::previous
5198 (cursorUpParagraph): ditto
5199 (deleteEmptyParagraphMechanism): slight cleanup
5201 * text.C (isBoundary): take a Paragraph const & instead of a
5203 (addressBreakPoint): ditto
5204 (leftMargin): remove usage of Paragraph::previous.
5205 (setHeightOfRow): ditto
5206 (cursorLeftOneWord): ditto
5207 (selectNextWordToSpellcheck): ditto
5210 (breakParagraph): remove one usage of Paragraph::next
5211 (redoParagraph): ditto
5212 (acceptChange): ditto
5213 (insertChar): adjust
5214 (rowBreakPoint): adjust
5216 * bufferview_funcs.C (toggleAndShow): adjust
5218 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
5220 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5221 methods to access it.
5223 * text.C: Added updateRowPositions to compute all row positions.
5224 Make top_y and getRowNearY() to use the cached y position
5226 2003-04-11 John Levon <levon@movementarian.org>
5228 * text.C (rowBreakPoint): reintroduce the labelEnd
5229 checks, code copied from the row fill stuff. Deep voodoo.
5231 * text.C (fill): add a comment and debugging for the
5234 2003-04-11 John Levon <levon@movementarian.org>
5236 * text.C: make sure fullrow insets get wrapped to the next line,
5237 even when they're in a manual label
5239 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5241 * text2.C (insertParagraph): make it take ParagraphList::iterator
5243 (setLayout): make it return ParagraphList::iterator
5244 (redoParagraphs): ditto
5246 (checkParagraph): ditto
5248 * text.C (getRow): make getrow take ParagraphList::iterator as arg
5250 * text2.C: adjust several funcs.
5251 (realizeFont): take a ParagraphList::iterator as arg.
5252 (getLayoutFont): ditto
5253 (getLabelFont): ditto
5254 (setCharFont): ditto
5256 * text.C: adjust several funcs.
5258 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5260 * text.C (selectNextWordToSpellcheck): don't accidentally
5263 2003-04-10 John Levon <levon@movementarian.org>
5265 * ToolbarBackend.C (getIcon): special handling for
5268 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5270 * text2.C (cursorRight): a getChar assert fixed
5272 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5274 * text2.C (getFont): change to take a ParagraphList::iterator
5275 instead of Paragraph*
5276 Adjust several functions.
5278 * text.C (transformChar): change to take a ParagraphList::iterator
5279 instead of Paragraph*
5280 (singleWidth): ditto
5281 Adjust several functions.
5283 * rowpainter.C: adjust several functions
5284 * rowpainter.h:store a ParagraphList::iterator and not a
5288 2003-04-09 John Levon <levon@movementarian.org>
5293 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5294 and the "help" bits as well
5296 2003-04-09 John Levon <levon@movementarian.org>
5299 * ToolbarBackend.C: allow multiple toolbars
5301 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5303 * undo_funcs.C (setCursorParUndo): adjust
5305 * text_funcs.C (transposeChars): adjust
5307 * text3.C (gotoNextInset): adjust
5310 * text2.C (setLayout): adjust
5311 (changeDepth): adjust
5313 (redoParagraphs): adjust
5314 (selectionAsString): adjust
5315 (setParagraph): adjust
5316 (insertInset): adjust
5317 (cutSelection): adjust
5318 (copySelection): adjust
5319 (pasteSelection): adjust
5320 (insertStringAsLines): adjust
5321 (updateInset): adjust
5322 (setCursor): change to take a ParagraphList::iterator parameter
5323 (setCursorIntern): change to take a ParagraphList::iterator parameter
5324 (setCurrentFont): adjust
5325 (cursorLeft): adjust
5326 (cursorRight): adjust
5327 (deleteEmptyParagraphMechanism): adjust
5329 * text.C (breakParagraph): adjust
5330 (insertChar): adjust
5331 (acceptChange): adjust
5332 (rejectChange): adjust
5333 (selectNextWordToSpellcheck): adjust
5334 (changeCase): adjust
5338 * lyxfind.C (SearchForward): adjust
5339 (SearchBackward): adjust
5340 (nextChange): adjust
5342 * lyxcursor.C (par): adjust
5344 * lyxcursor.h: store a ParagraphList::iterator instead of a
5347 * lyx_cb.C (getPossibleLabel): adjust
5349 * bufferview_funcs.C (toggleAndShow): adjust
5351 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5354 * BufferView.C (removeAutoInsets): adjust
5355 (lockedInsetStoreUndo): adjust
5357 2003-04-09 John Levon <levon@movementarian.org>
5359 * ToolbarBackend.C: try icon without argument
5360 if with argument fails
5362 2003-04-08 John Levon <levon@movementarian.org>
5365 * ToolbarBackend.C: add getIcon(), handle tooltip,
5366 and change from "Icon" to "Item".
5368 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5370 * BufferView.C (lockInset): another bad getchar crunched
5372 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5374 * text2.C (changeDepth): do not setUndo on test_only (make undo work
5377 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
5379 * lyxfind.C (searchForward, searchBackwards): bug 782
5381 2003-04-07 John Levon <levon@movementarian.org>
5383 * paragraph.C: remove dead comment
5385 * text.C: remove troublesome depth-fiddling code
5386 in leftMargin() and rightMargin() (bug 1017)
5388 * text.C: fix breaking of rows in nested lists
5391 * text2.C (updateCounters): fix up depth values
5394 2003-04-07 John Levon <levon@movementarian.org>
5396 * BufferView_pimpl.C: clear message when doc finishes resizing,
5397 and after a mouse event
5399 * lyxfunc.C: clear message after exiting inset
5401 2003-04-07 John Levon <levon@movementarian.org>
5403 * bufferview_funcs.C: show math status not outside
5404 status in the statusbar
5406 2003-04-07 John Levon <levon@movementarian.org>
5408 * lyxfunc.C: note status changed after a depth change
5410 2003-04-04 Angus Leeming <leeming@lyx.org>
5412 * LaTeX.h: move AuxInfo operator==, != out of line.
5413 Remove LaTeX virtual destructor; nothing derives from it.
5414 Move operator()() out of public area and rename it startscript().
5415 Change protected for private.
5417 2003-04-04 Angus Leeming <leeming@lyx.org>
5420 * text2.C: remove unneeded #includes.
5422 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5424 * text2.C (dEPM): fix the heigth of the next row
5426 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5428 * text.C: squashed an invalid getChar requester + some ws changes
5430 2003-04-03 John Levon <levon@movementarian.org>
5432 * bufferview_funcs.h:
5433 * bufferview_funcs.C:
5436 * text2.C: make getStatus work for the env depth lfuns
5438 2003-04-03 John Levon <levon@movementarian.org>
5440 * bufferview_funcs.h:
5441 * bufferview_funcs.C:
5444 * text2.C: parlistize decDepth(), by merging it with incDepth()
5446 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5448 * lyxrow.h: store a ParagraphList::iterator instead of a
5449 Paragraph* and adjust other class functions to suit.
5451 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5454 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5456 * text2.C (setCursor): do not anchor to cursor row for the time being
5458 2003-04-02 John Levon <levon@movementarian.org>
5465 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5467 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5469 * paragraph.h: make ParagraphList and ParagraphList::iterator
5470 friends of Paragraph.
5472 * buffer.C (makeLinuxDocFile): move towards ParagraphList
5474 * ParagraphList.C: Use the private next_ and previous_ from
5477 2003-04-01 John Levon <levon@movementarian.org>
5481 * Makefile.am: rename, remove defaults gunk
5484 * MenuBackend.C: remove defaults gunk
5487 * Languages.C: remove defaults gunk
5490 * lyx_main.C: error out if files couldn't be found.
5492 2003-04-02 John Levon <levon@movementarian.org>
5494 * text2.C: make incDepth() use parlist
5496 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5498 * undo_funcs.C (firstUndoParagraph): adjust
5500 * text3.C (gotoInset): adjust
5501 (dispatch): adjust, and rewrite loop.
5503 * text2.C (init): adjust, and rewrite loop.
5504 (redoParagraphs): adjust
5505 (updateInset): adjust, and rewrite loop.
5506 (deleteEmptyParagraphMechanism): adjust
5508 * tabular.C (LyXTabular): adjust
5509 (SetMultiColumn): adjust
5512 * lyxtext.[Ch] (ownerParagraph): delete function
5513 (ownerParagraphs): new function returns a ParagraphList.
5515 * BufferView.C (removeAutoInsets): adjust
5516 (insertErrors): adjust
5517 (setCursorFromRow): adjust
5519 2003-04-01 Angus Leeming <leeming@lyx.org>
5521 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5524 2003-04-02 John Levon <levon@movementarian.org>
5530 * text_funcs.C: make transposeChars a free function
5532 * lyxrow_funcs.C: remove wrong comment
5534 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5537 * rowpainter.C: adjust
5542 * lyxrow_funcs. [Ch]: new files
5544 * lyxrow.[Ch]: remove next and previous pointers
5545 (next,previous): remove accessor functions
5546 (isParEnd): move to lyxrow_funcs
5547 (lastPos): move to lyxrow_funcs
5548 (nextRowIsAllInset): move to lyxrow_funcs
5549 (lastPrintablePos): move to lyxrow_funcs
5550 (numberOfSeparators): move to lyxrow_funcs
5551 (numberOfHfills): move to lyxrow_funcs
5552 (numberOfLabelHfills): move to lyxrow_funcs
5553 (hfillExpansion): move to lyxrow_funcs
5557 * bufferview_funcs.C (toggleAndShow): adjust
5559 * RowList.h: Remove class RowList from file leave just a
5562 * RowList.C: delete file
5564 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5567 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5569 * text3.C (cursorPrevious): adjust
5570 (cursorNext): adjust
5573 * text2.C (redoHeightOfParagraph): adjust
5574 (redoDrawingOfParagraph): adjust
5577 * text.C (breakParagraph): adjust
5578 (insertChar): adjust
5581 * rowpainter.C (RowPainter): adjust
5582 (leftMargin): simplify and adjust
5583 (most rowpainter functions): adjust.
5585 * rowpainter.h: store the row as RowList::iterator not as Row*
5587 * lyxcursor.C (row): taka RowList::iterator as arg
5590 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5593 2003-04-01 Angus Leeming <leeming@lyx.org>
5595 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5596 stuff like bool Bool.
5598 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5600 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5603 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5605 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5608 * lyxtext.h (rows): drop one version and leve a const variant that
5609 returns a RowList::iterator.
5611 2003-03-31 Angus Leeming <leeming@lyx.org>
5613 * text.C (fill): ensure that the signature is the same as that in the
5616 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
5618 * text2.C (redoParagraphs): adjust
5619 (updateCounters): adjust
5620 (checkParagraph): adjust
5621 (getColumnNearX): adjust and reformat a bit.
5623 * text.C (top_y): adjust
5625 (leftMargin): adjust
5626 (prepareToPrint): adjust
5628 (getRowNearY): adjust
5630 * lyxtext.h: make rowlist_ mutable.
5632 * RowList.h: add const_iterator
5633 * RowList.C: adjust for RowList::const_iterator.
5635 * text2.C (getCursorX): make it take a RowList::iterator as arg,
5638 2003-03-31 John Levon <levon@movementarian.org>
5641 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5643 * lyx_main.C: set default fonts from using lyx_gui funcs
5645 * exporter.C: pdf_mode moved from lyxrc
5648 * lyxfunc.C: changes from above
5650 2003-03-31 John Levon <levon@movementarian.org>
5652 * lyx_main.C: fix to the last fix
5654 2003-03-31 John Levon <levon@movementarian.org>
5656 * bufferlist.C: "Load original" -> "Load Original"
5662 * format.C: more Alert cleanups
5664 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5666 * text2.C (removeParagraph): make it take a RowList::iterator as
5668 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5669 (postRowPaint): make it take a RowList::iterator as arg, adjust.
5671 * text.C (anchor_row): make it take a RowList::iterator as arg,
5673 (computeBidiTables): make it take a const reference to Row instead
5674 of Row pointer, adjust.
5675 (leftMargin): make it take a RowList::iterator as arg, adjust.
5676 (rowBreakPoint): adjust
5677 (breakAgainOneRow): make it take a RowList::iterator as arg,
5679 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5681 * bufferview_funcs.C (toggleAndShow): adjust
5683 2003-03-30 John Levon <levon@movementarian.org>
5687 * boost-inst.C: moved to support
5689 * several files: changes as a result
5691 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5693 * text2.C (LyXText): adjust.
5695 (removeRow): make it take a RowList::iterator as arg, adjust.
5696 (fullRebreak): adjust
5697 (deleteEmptyParagraphMechanism): adjust
5698 (clearPaint): adjust
5701 * text.C (top_y): adjust
5702 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5703 (breakAgain): make it take a RowList::iterator as arg, adjust.
5704 (breakParagraph): adjust
5705 (insertChar): adjust
5708 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5709 need_break_row, and refresh_row.
5711 * text3.C (dispatch): adjust
5713 * text2.C (checkParagraph): adjust
5715 (setCursorFromCoordinates): adjust
5717 * text.C (top_y): adjust
5719 (getRow): make it return a RowList::iterator, adjust
5720 (getRowNearY): make it return a RowList::iterator, adjust
5722 * text2.C (init): adjust
5723 (insertRow): remove function
5724 (insertParagraph): adjust
5725 (redoParagraphs): adjust
5726 (fullRebreak): adjust
5727 (updateCounters): adjust
5729 * text.C (top_y): rewrite to use RowList iterators.
5731 (setHeightOfRow): rewrite to sue RowList iterators.
5732 (appendParagraph): adjust
5733 (breakAgain): adjust
5734 (breakAgainOneRow): adjust
5735 (breakParagraph): adjust
5737 (getRowNearY): adjust, and remove commented code.
5739 * lyxtext.h (firstRow): delete function
5740 (lastRow): delete function
5741 (rows): new function (const and non-const versions.)
5742 (insertRow): delete function
5744 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5746 2003-03-29 John Levon <levon@movementarian.org>
5748 * BufferView_pimpl.C: always update scrollbar top
5749 because pasting text when we're anchored could mean we
5750 miss an update altogether
5752 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5754 * text2.C (init): use rowlist_.end() and not 0.
5755 (insertRow): change to take a RowList::iterator as arg, adjust
5757 (insertParagraph): change to take a RowList::iterator as arg,
5759 (redoParagraphs): remove some debug msgs.
5761 * text.C (appendParagraph): change to take a RowList::iterator
5762 arg, adjust for this.
5763 (breakAgain): add an assert
5764 (breakAgainOneRow): ditto
5766 2003-03-29 John Levon <levon@movementarian.org>
5768 * text2.C: do not clear selection after inc/decDepth
5771 2003-03-29 John Levon <levon@movementarian.org>
5774 * buffer.C: fix broken strerrors according to Lars
5776 2003-03-29 John Levon <levon@movementarian.org>
5778 * converters.C: more Alert cleanups
5780 2003-03-29 John Levon <levon@movementarian.org>
5782 * bufferview_funcs.C: remove pointless Alert
5784 * buffer.C: fix confusing error message when
5785 a template is chmoded 000
5787 2003-03-29 John Levon <levon@movementarian.org>
5791 * BufferView_pimpl.C: Alert fixes
5795 * tabular-old.C: remove unused table compat reading
5797 2003-03-29 John Levon <levon@movementarian.org>
5802 * lyx_cb.C: more Alert cleanups
5804 * lyxfunc.C: don't allow chktex if not latex document
5806 2003-03-29 John Levon <levon@movementarian.org>
5810 * buffer.C: warnings pushed down from support/,
5813 2003-03-29 John Levon <levon@movementarian.org>
5815 * lyxfunc.C: safety check for C-r (revert)
5817 2003-03-29 John Levon <levon@movementarian.org>
5820 * bufferlist.C: several UI fixes using Alert::prompt.
5821 Fix the pointless looping quit code. Fix stupid revert
5826 * lyx_cb.C: use Alert::prompt
5828 * lyx_main.C: remove a silly question
5830 * lyxfunc.C: remove a couple of silly questions,
5833 2003-03-28 John Levon <levon@movementarian.org>
5835 * text2.C: fix bug 974 (End on empty par)
5837 2003-03-28 John Levon <levon@movementarian.org>
5839 * BufferView_pimpl.C:
5841 * lfuns.h: remove do-nothing math greek lfuns
5843 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5845 * lyxgluelength.h (isValidGlueLength): add default arg on
5846 parameter 2. Remove default arg from friend in class.
5848 * lyxlength.h (isValidLength): add default arg on parameter 2.
5849 Remove default arg from friend in class.
5851 * text2.C (LyXText): adjust, initialize refresh_row.
5855 (insertParagraph): adjst
5856 (redoParagraphs): adjust
5857 (fullRebreak): adjust
5858 (updateCounters): adjust
5859 (deleteEmptyParagraphMechanism): first attempt at fixing a
5862 * text.C (top_y): adjust
5863 (setHeightOfRow): adjust
5865 (getRowNearY): adjust
5867 * lyxtext.h: include RowList.h
5868 (~LyXText): not needed anymore, deleted.
5869 (firstRow): modify for RowList
5870 (lastRow): new function
5871 Delete firstrow and lastrow class variables, add a Rowlist
5872 rowlist_ class variable.
5874 * lyxrow.C (lastPos): use empty() and not !size() to check if a
5877 * RowList.C (insert): fix case where it == begin().
5879 2003-03-26 Angus Leeming <leeming@lyx.org>
5881 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5882 the thesaurus dialog.
5884 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5886 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5888 * RowList.[Ch]: new files
5890 * ParagraphList.C (erase): handle the case where it == begin
5893 2003-03-25 John Levon <levon@movementarian.org>
5897 * aspell.C: add new aspell support
5900 * lyxrc.C: Make use_pspell be use_spell_lib. Always
5903 2003-03-25 Angus Leeming <leeming@lyx.org>
5906 * LyXAction.C (init): new LFUN_INSET_INSERT.
5908 * BufferView_pimpl.C (dispatch): split out part of the
5909 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5911 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5914 2003-03-25 Angus Leeming <leeming@lyx.org>
5916 * lyxfunc.C (dispatch): changes to the Dialogs interface.
5918 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
5921 * text3.C: remove useless row->height(0)
5923 2003-03-25 John Levon <levon@movementarian.org>
5927 * text3.C: rename the refreshing stuff to better names
5929 2003-03-24 John Levon <levon@movementarian.org>
5931 * BufferView_pimpl.h:
5932 * BufferView_pimpl.C: update layout choice on a mouse
5935 2003-03-23 John Levon <levon@movementarian.org>
5937 * Makefile.am: fix commandtags.h reference
5939 2003-03-22 John Levon <levon@movementarian.org>
5941 * BufferView_pimpl.C:
5946 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5948 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
5951 * text.C: take the rtl methods out of line
5953 2003-03-21 André Pönitz <poenitz@gmx.net>
5955 * metricsinfo.[Ch]: new files containing structures to be passed around
5956 during the two-phase-drawing...
5958 2003-03-21 André Pönitz <poenitz@gmx.net>
5960 * lyxtextclass.C: read 'environment' tag.
5962 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
5964 * text2.C (removeRow): fix bug 964
5966 2003-03-20 John Levon <levon@movementarian.org>
5970 * text2.C: paint cleanups. Inset::update() dropped font
5973 2003-03-19 John Levon <levon@movementarian.org>
5975 * lyxfunc.C: only fitcursor/markDirty if available()
5977 2003-03-19 John Levon <levon@movementarian.org>
5979 * commandtags.h: rename to ...
5981 * lfuns.h: ... this, and renumber / cleanup
5983 2003-03-19 John Levon <levon@movementarian.org>
5985 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5986 fit the cursor after an lfun
5990 * BufferView_pimpl.h:
5991 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5993 * LyXAction.C: layout-character should have ReadOnly
5995 * ParagraphParameters.C:
5997 * bufferview_funcs.C:
6004 * undo_funcs.C: changes from above
6006 2003-03-18 John Levon <levon@movementarian.org>
6008 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6009 remove it from update()
6011 * lyxfunc.C: update layout choice after an lfun
6013 * text3.C: remove extra updateLayoutChoice()s
6015 2003-03-18 John Levon <levon@movementarian.org>
6017 * text.C: top_y change means full repaint, fix
6018 a drawing bug with cursor movement
6020 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6024 * text2.C: anchor row on setCursor
6026 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6028 * lyxtext.h: remove almost all mutable keywords
6031 * text3.C: remove const keywords accordingly
6033 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6035 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6037 (TeXEnvironment): ditto
6040 2003-03-17 John Levon <levon@movementarian.org>
6042 * text.C (rowBreakPoint): remove attempt to fix displayed
6043 math insets inside a manual label
6045 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6047 * lyxtext.h: remove BufferView* as first arg from almost all class
6049 * other files: adjust.
6051 2003-03-17 John Levon <levon@movementarian.org>
6055 * text2.C: more paint cleanups
6057 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6060 * rowpainter.C: remove "smart" background painting code
6062 2003-03-16 John Levon <levon@movementarian.org>
6067 * text3.C: add helper functions for setting refresh_row/y
6069 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
6071 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6072 newline inset which *can* get inserted in the pass_thru layouts.
6073 This is primarily for literate documents.
6075 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
6077 * buffer.C: increment LYX_FORMAT to 223
6079 2003-03-14 André Pönitz <poenitz@gmx.net>
6081 * textclass.h: prepare for environment handling, ws changes
6082 * lyxlayout.C: read latexheader and latexfooter tags
6084 2003-03-14 John Levon <levon@movementarian.org>
6086 * text2.C: rewrite ::status() a bit
6088 2003-03-13 John Levon <levon@movementarian.org>
6090 * lyxtext.h: add some docs
6092 2003-03-13 John Levon <levon@movementarian.org>
6097 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6099 2003-03-13 John Levon <levon@movementarian.org>
6101 * text3.C: fix appendix redrawing
6103 2003-03-13 John Levon <levon@movementarian.org>
6105 * text.C (setHeightOfRow):
6107 * rowpainter.C: make appendix mark have the text
6108 "Appendix" so the user knows what it is
6111 * LColor.C: s/appendixline/appendix/ from above
6113 2003-03-13 John Levon <levon@movementarian.org>
6115 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6117 * text.C: fix a getChar(pos) bug properly
6119 2003-03-13 Angus Leeming <leeming@lyx.org>
6122 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6123 Probably only temporary. Let's see how things pan out.
6125 * BufferView.C (unlockInset):
6126 * BufferView_pimpl.C (fitCursor):
6127 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6129 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6130 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6132 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6133 new functions that convert ParagraphParameters to and from a string.
6135 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6136 BufferView::Pimpl's dispatch.
6137 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6139 2003-03-13 André Pönitz <poenitz@gmx.net>
6143 * factory.C: make it aware of InsetEnv
6145 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6147 * text2.C (setCursor): never ask for one past last
6148 (setCursor): add some debugging messages.
6150 * text.C (singleWidth): never ask for one past last
6151 (singleWidth): ditto
6153 (rightMargin): ditto
6154 (rowBreakPoint): ditto
6155 (setHeightOfRow): ditto
6156 (prepareToPrint): ditto
6158 * rowpainter.C (paintBackground): never ask for one past last
6159 (paintText): never ask for one past last
6161 * paragraph_pimpl.C (getChar): make the assert stricter, never
6162 allow the one past last pos to be taken
6164 * paragraph.C (getChar): ws changes only
6166 * lyxrow.C (nextRowIsAllInset): never ask for one past last
6167 (numberOfSeparators): ditto
6168 (numberOfHfills): ditto
6170 2003-03-12 John Levon <levon@movementarian.org>
6176 * paragraph_funcs.C: fix per-buffer authorlists
6178 2003-03-12 John Levon <levon@movementarian.org>
6180 * text.C: fix newline in right address
6182 2003-03-12 Angus Leeming <leeming@lyx.org>
6184 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6185 duplicate those in LyXFunc::dispatch.
6189 * ToolbarDefaults.C:
6190 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6191 Add LFUN_FONTFREE_UPDATE.
6193 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6194 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6196 * bufferview_func.[Ch]: several new functions to facilliate
6197 transfer of data to and from the character dialog.
6199 2003-03-12 John Levon <levon@movementarian.org>
6204 * paragraph_funcs.C:
6205 * paragraph_pimpl.C:
6209 * text3.C: remove META_NEWLINE in favour of an inset
6212 * rowpainter.C: remove paintNewline (done by inset)
6214 2003-03-12 John Levon <levon@movementarian.org>
6216 * paragraph_pimpl.C: complain about bad getChar()s
6217 for a while at least
6219 2003-03-12 John Levon <levon@movementarian.org>
6222 * buffer.C: move paragraph read into a separate function,
6223 a little renaming to reflect that.
6226 * bufferparams.C: remove the author_ids map, not necessary now
6229 * factory.C: moved Buffer::readInset to here
6231 * paragraph_funcs.h:
6232 * paragraph_funcs.C: readParagraph free function moved from
6235 * tabular.C: name change
6237 2003-03-12 John Levon <levon@movementarian.org>
6240 * ParagraphParameters.C: move par params input to
6243 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6244 behave like a normal read from the stream wrt reading
6245 a line vs. a \\token
6247 2003-03-12 John Levon <levon@movementarian.org>
6250 * ParagraphParameters.h:
6251 * ParagraphParameters.C: move output code to a
6254 2003-03-12 John Levon <levon@movementarian.org>
6256 * BufferView.C (insertLyXFile):
6259 * tabular.C: use a parlist iterator for creating the
6262 2003-03-12 John Levon <levon@movementarian.org>
6264 * buffer.C: make current_change static local not
6267 2003-03-12 John Levon <levon@movementarian.org>
6269 * buffer.C: fix insertStringAsLines for change tracking
6271 2003-03-12 John Levon <levon@movementarian.org>
6278 * bufferparams.C: move author list into params. Rename some
6279 functions. Move the header reading into a separate token
6280 loop. Move the header token reading into BufferParams.
6282 2003-03-12 John Levon <levon@movementarian.org>
6284 * changes.C: put debug inside lyxerr.debugging() checks
6286 2003-03-11 André Pönitz <poenitz@gmx.net>
6288 * factory.C: make it aware of InsetHFill
6290 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6292 * buffer.C (latexParagraphs): move function from here...
6293 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6296 2003-03-10 Angus Leeming <leeming@lyx.org>
6298 * LyXAction.C (init): fix bug in poplating array with multiple entries
6299 with the same LFUN (spotted by JMarc).
6301 2003-03-10 John Levon <levon@movementarian.org>
6304 * text2.C: move getColumnNearX() near its
6307 2003-03-10 John Levon <levon@movementarian.org>
6309 * text.C: fix break before a minipage
6311 2003-03-10 John Levon <levon@movementarian.org>
6313 * text.C: fix the last commit
6315 2003-03-09 John Levon <levon@movementarian.org>
6319 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6320 bug 365 (don't break before insets unless needed). Don't
6321 return a value > last under any circumstances.
6323 2003-03-09 Angus Leeming <leeming@lyx.org>
6325 * BufferView_pimpl.C (trackChanges, dispatch): call
6326 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6328 2003-03-09 Angus Leeming <leeming@lyx.org>
6330 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6331 than Dialogs::showAboutlyx().
6333 2003-03-09 Angus Leeming <leeming@lyx.org>
6335 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6336 than Dialogs::showTabularCreate().
6338 2003-03-09 John Levon <levon@movementarian.org>
6342 * text2.C: 3rd arg to nextBreakPoint was always the same.
6345 2003-03-08 John Levon <levon@movementarian.org>
6352 * text2.C: Remove the "main" bit from the "main body"
6355 2003-03-08 John Levon <levon@movementarian.org>
6357 * text.C (leftMargin): The left margin of an empty
6358 manual label paragraph should not include the label width
6361 * text.C (prepareToPrint): don't attempt to measure hfills
6362 for empty manual label paragraphs - the answer should be 0
6364 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6366 * CutAndPaste.C: remove commented code and reindent.
6368 2003-03-08 John Levon <levon@movementarian.org>
6371 * lyxfunc.C: move reloadBuffer()
6374 * BufferView.C: to here
6376 * lyxvc.C: add comment
6379 * vc-backend.C: call bv->reload() to avoid
6380 getStatus() check on MENURELOAD
6382 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
6384 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6385 to an old format .dep file.
6387 2003-03-07 Angus Leeming <leeming@lyx.org>
6389 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6390 when the LFUN_MOUSE_RELEASE should have been handled by
6391 inset->localDispatch.
6393 2003-03-07 Angus Leeming <leeming@lyx.org>
6395 * BufferView_pimpl.C (dispatch):
6396 * LyXAction.C (init):
6397 * ToolbarDefaults.C (init):
6399 * lyxfunc.C (getStatus):
6400 remove LFUN_INSET_GRAPHICS.
6402 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6404 2003-03-07 Angus Leeming <leeming@lyx.org>
6407 * LyXAction.C (init):
6408 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6410 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6413 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6415 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6416 localDispatch method LFUN_INSET_DIALOG_UPDATE.
6418 2003-03-07 Angus Leeming <leeming@lyx.org>
6420 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6423 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6425 * ParagraphList.C (front): new function
6428 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
6430 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6431 and top_row_offset_. removed var first_y.
6433 * text2.C (LyXText, removeRow):
6435 * BufferView_pimpl.C:
6436 use these methods instead of using first_y
6438 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6440 * text2.C (pasteSelection): adjust for checkPastePossible
6442 * CutAndPaste.C: remove Paragraph * buf and replace with
6443 ParagraphList paragraphs.
6444 (DeleteBuffer): delete
6445 (cutSelection): change the tc type to textclass_type
6446 (copySelection): change the tc type to textclass_type
6447 (copySelection): adjust for ParagraphList
6448 (pasteSelection): change the tc type to textclass_type
6449 (pasteSelection): adjust for Paragraphlist
6450 (nrOfParagraphs): simplify for ParagraphList
6451 (checkPastePossible): simplify for ParagraphList
6452 (checkPastePossible): remove unused arg
6454 * ParagraphList.C (insert): handle the case where there are no
6457 * CutAndPaste.h: make CutAndPaste a namespace.
6459 * text3.C (dispatch): adjust
6461 * text.C (breakParagraph): add a ParagraphList as arg
6463 * paragraph_funcs.C (breakParagraph): change to take a
6464 BufferParams and a ParagraphList as args.
6465 (breakParagraphConservative): ditto
6466 (mergeParagraph): ditto
6467 (TeXDeeper): add a ParagraphList arg
6468 (TeXEnvironment): ditto
6471 * buffer.C (readLyXformat2): adjust
6472 (insertStringAsLines): adjust
6473 (latexParagraphs): adjust
6475 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6476 (cutSelection): adjust
6477 (pasteSelection): adjust
6479 * BufferView_pimpl.C (insertInset): adjust
6481 2003-03-05 Angus Leeming <leeming@lyx.org>
6484 * LyXAction.C (init):
6485 * BufferView_pimpl.C (dispatch):
6486 * lyxfunc.C (getStatus):
6487 remove LFUN_CHILD_INSERT.
6489 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6491 2003-03-05 Angus Leeming <leeming@lyx.org>
6494 * LyXAction.C (init):
6495 * src/factory.C (createInset):
6496 * lyxfunc.C (getStatus):
6497 * text3.C (dispatch):
6498 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6500 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6502 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6504 * ParagraphList.C (insert): handle insert right before end()
6505 (erase): fix cases where it can be first or last paragraph.
6507 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6509 * paragraph_funcs.C (TeXEnvironment): remove all usage of
6510 Paragraph::next and Paragraph::previous
6513 * text.C (breakParagraph): adjust
6515 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6516 BufferParams& as arg.
6517 (breakParagraph): use ParagraphList::insert
6518 (breakParagraphConservative): take a Buffer* instead of a
6519 BufferParams& as arg.
6520 (breakParagraphConservative): use ParagraphList::insert.
6522 * buffer.C (insertStringAsLines): un-const it
6523 (insertStringAsLines): adjust
6525 * ParagraphList.C (insert): new function
6527 * CutAndPaste.C (pasteSelection): adjust
6529 * text.C (backspace): adjust
6531 * tabular.C (SetMultiColumn): adjust
6533 * CutAndPaste.C (cutSelection): adjust
6534 (pasteSelection): adjust
6536 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6537 Buffer const * as arg
6539 * ParagraphList.C (erase): new function
6540 * paragraph_funcs.C (mergeParagraph): use it
6541 (mergeParagraph): make it take a Buffer* instead of a
6542 BufferParams* as arg
6544 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6546 (breakParagraphConservative): ditto
6548 * paragraph.h: remove the breakParagraph friend
6550 * paragraph.C (eraseIntern): new function
6551 (setChange): new function
6553 * paragraph_funcs.C (mergeParagraph): make it take a
6554 ParagraphList::iterator instead of a Paragraph *, adjust
6557 * paragraph.h: move an #endif so that the change tracking stuff
6558 also works in the NO_NEXT case.
6560 2003-03-04 Angus Leeming <leeming@lyx.org>
6563 * LyXAction.C: new LFUN_INSET_MODIFY.
6565 * BufferView_pimpl.C (dispatch): if an inset is found to be open
6566 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6568 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6570 * several files: ws changes only
6572 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6573 (TeXEnvironment): ditto
6576 * buffer.C (makeLaTeXFile): adjust
6577 (latexParagraphs): make it take ParagraphList::iterator as args
6579 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6581 * buffer.C (latexParagraphs): adjust
6583 * paragraph.C (TeXOnePar): move function...
6584 (optArgInset): move function...
6585 (TeXEnvironment): move function...
6586 * paragraph_pimpl.C (TeXDeeper): move function...
6587 * paragraph_funcs.C: ...here
6589 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6591 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6593 * buffer.C (readInset): remove compability code for old Figure and
6596 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6598 * buffer.C: ws changes
6601 * BufferView_pimpl.C: ditto
6604 * bufferlist.h: ditto
6608 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
6610 * converter.[Ch]: split into itself +
6613 * Makefile.am: += graph.[Ch] + format.[Ch]
6620 * lyxrc.C: added #include "format.h"
6622 2003-02-27 Angus Leeming <leeming@lyx.org>
6624 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6627 * factory.C (createInset): add "label" to the factory.
6629 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6630 string and do no more.
6632 2003-02-27 Angus Leeming <leeming@lyx.org>
6635 * LyXAction.C (init):
6636 * factory.C (createInset):
6637 * BufferView_pimpl.C (dispatch):
6638 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6640 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6642 * lyxfunc.C (dispatch):
6643 * text3.C (dispatch): pass name to params2string.
6645 2003-02-26 Angus Leeming <leeming@lyx.org>
6647 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6649 Rearrange the ~includes. Strip out the unnecessary ones.
6651 * factory.C (createInset): reformat.
6652 create new insets for the various LFUN_XYZ_APPLY lfuns.
6654 2003-02-26 John Levon <levon@movementarian.org>
6657 * lyxrow.C: add isParStart,isParEnd helpers
6659 * paragraph.h: make isInserted/DeletedText take refs
6661 * paragraph_funcs.h:
6662 * paragraph_funcs.C: remove #if 0'd code
6667 * text.C: use lyxrow helpers above.
6668 Move draw and paint routines to RowPainter.
6669 Make several methods use refs not pointers.
6670 Make backgroundColor() const.
6671 Add markChangeInDraw(), isInInset().
6672 Merge changeRegionCase into changeCase.
6673 Make workWidth() shouldn't-happen code into an Assert.
6676 * rowpainter.C: new class for painting a row.
6679 * vspace.C: make inPixels take a ref
6681 2003-02-26 Angus Leeming <leeming@lyx.org>
6683 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6686 2003-02-25 John Levon <levon@movementarian.org>
6688 * ispell.C: give the forked command a more accurate name
6690 2003-02-22 John Levon <levon@movementarian.org>
6693 * toc.C: make TocItem store an id not a Paragraph *
6696 2003-02-21 Angus Leeming <leeming@lyx.org>
6698 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6699 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6700 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6701 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6702 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6703 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6705 * BufferView_pimpl.C (dispatch):
6706 * LyXAction.C (init):
6707 * factory.C (createInset):
6708 * lyxfunc.C (getStatus, dispatch):
6709 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6711 2003-02-21 Angus Leeming <leeming@lyx.org>
6713 * BufferView_pimpl.C (MenuInsertLyXFile):
6714 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6715 * lyxfunc.C (menuNew, open, doImport):
6716 no longer pass a LyXView & to fileDlg.
6718 2003-02-21 Angus Leeming <leeming@lyx.org>
6720 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6721 * LyXAction.C: change, BIBKEY to BIBITEM.
6722 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6723 Change InsetBibKey to InsetBibitem.
6724 Change BIBKEY_CODE to BIBITEM_CODE.
6725 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6726 * factory.C: replace insetbib.h with insetbibitem.h.
6727 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6728 * paragraph.C: replace insetbib.h with insetbibitem.h.
6729 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6730 Change bibkey() to bibitem().
6731 * text.C: remove insetbib.h.
6732 * text2.C: replace insetbib.h with insetbibitem.h.
6733 change bibkey() to bibitem().
6734 * text3.C: remove insetbib.h.
6735 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6737 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6739 * lyxrc.C (output): enclose user email in quotes (in case there are
6742 2003-02-18 John Levon <levon@movementarian.org>
6744 * buffer.h: add std::
6746 2003-02-17 John Levon <levon@movementarian.org>
6752 * pspell.C: reworking. Especially in ispell, a large
6753 number of clean ups and bug fixes.
6755 * lyxfunc.C: fix revert to behave sensibly
6757 2003-02-17 André Pönitz <poenitz@gmx.net>
6760 * commandtags.h: new LFUN_INSERT_BIBKEY
6770 * paragraph_func.C: remove special bibkey handling
6772 2003-02-17 John Levon <levon@movementarian.org>
6774 * text.C (Delete): fix case where delete at the end of
6775 the very first paragraph would not merge the pars
6777 2003-02-17 John Levon <levon@movementarian.org>
6779 * lyxrow.C: fix lastPrintablePos()
6781 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6783 * bufferparams.C (writeLaTeX): add a std:here
6785 * buffer.C: and remove a using directive there
6787 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6789 * buffer.C (makeLaTeXFile): move the code that generates the
6792 * bufferparams.C (writeLaTeX): ... in this new method
6794 * LaTeXFeatures.C (getEncodingSet): make const
6795 (getLanguages): make const
6797 * MenuBackend.C (binding): returns the binding associated to this
6799 (add): sets the status of each item by calling getStatus. Adds
6801 (read): add support for OptSubMenu
6802 (expand): remove extra separator at the end of expanded menu
6804 2003-02-15 John Levon <levon@movementarian.org>
6807 * BufferView_pimpl.C:
6809 * bufferlist.C: remove pointless BufferStorage bloat. Remove
6810 inset code that had no actual effect. Remove unneeded status
6813 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6815 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6818 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
6820 * text.C (drawLengthMarker): also draw an arrow marker for
6821 symbolic lengths (medskip...)
6823 2003-02-14 John Levon <levon@movementarian.org>
6826 * tabular.C: better method names
6828 2003-02-14 John Levon <levon@movementarian.org>
6830 * BufferView_pimpl.C:
6835 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6836 it's a more accurate name. Remove some pointless uses.
6838 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6840 * text2.C (LyXText): change order of initilizers to shut off
6843 2003-02-14 John Levon <levon@movementarian.org>
6845 * buffer.C: use ParIterator for getParFromID()
6849 * paragraph_pimpl.h:
6850 * paragraph_pimpl.C: remove unused getParFromID()
6852 2003-02-14 John Levon <levon@movementarian.org>
6854 * buffer.C: remove some very old #if 0'd parse code
6856 2003-02-13 John Levon <levon@movementarian.org>
6860 * text2.C: move hfillExpansion(), numberOfSeparators(),
6861 rowLast(), rowLastPrintable(), numberofHfills(),
6862 numberOfLabelHfills() ...
6865 * lyxrow.C: ... to member functions here.
6870 * text.C: remove LyXText::beginningOfMainBody(), and call
6871 p->beginningOfMainBody() directly. Move the check for
6872 LABEL_MANUAL into the latter.
6879 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6885 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6886 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6888 2003-02-13 John Levon <levon@movementarian.org>
6890 * CutAndPaste.C: remove debug
6892 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6894 * paragraph.C (asString): remove two unused variables
6896 * lyxtextclass.C (readTitleType):
6898 (LyXTextClass): handle new members titletype_ and titlename_
6900 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6902 2003-02-09 John Levon <levon@movementarian.org>
6905 * buffer.C: replace hand-coded list with a map for the dep clean
6907 2003-02-08 John Levon <levon@movementarian.org>
6909 * LaTeX.C: consolidate code into showRunMessage() helper
6911 2003-02-08 John Levon <levon@movementarian.org>
6916 * BufferView.C: change setSelectionOverString() to setSelectionRange()
6917 and pass the size in explicitly
6919 * BufferView_pimpl.h:
6920 * BufferView_pimpl.C:
6922 * BufferView.C: add getCurrentChange()
6924 * BufferView_pimpl.h:
6925 * BufferView_pimpl.C: handle change lfuns
6927 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6928 for changes. Mark pasted paragraphs as new.
6930 * support/lyxtime.h:
6931 * support/lyxtime.C:
6932 * DepTable.C: abstract time_t as lyx::time_type
6935 * LColor.C: add colours for new text, deleted text, changebars
6937 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6938 package use "usenames" option.
6942 * LyXAction.C: add change lfuns
6946 * author.C: author handling
6949 * buffer.C: add a per-buffer author list, with first entry as
6950 current author. Handle new .lyx tokens for change tracking. Output
6951 author list to .lyx file. Output dvipost stuff to .tex preamble.
6952 Bump lyx format to 222.
6955 * bufferlist.C: add setCurrentAuthor() to reset current author details
6959 * bufferparams.C: add param for tracking
6961 * bufferview_funcs.C: output change info in minibuffer
6965 * changes.C: add change-tracking structure
6968 * debug.C: add CHANGES debug flag
6971 * lyxfind.C: add code for finding the next change piece
6974 * lyxrc.C: add user_name and user_email
6977 * lyxrow.C: add a metric for the top of the text line
6980 * text.C: implement accept/rejectChange()
6983 * text.C: paint changebars. Paint new/deleted text in the chosen
6984 colours. Strike through deleted text.
6988 * paragraph_pimpl.h:
6989 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6990 in the current change to the insert functions. Rework erase to
6991 mark text as deleted, adding an eraseIntern() and a range-based
6992 erase(). Implement per-paragraph change lookup and
6995 * paragraph_funcs.C: Fixup paste for change tracking.
6997 * tabular.C: mark added row/columns as new.
6999 * text.C: fix rowLast() to never return -1. Don't allow
7000 spellchecking of deleted text. Track transpose changes. Don't
7001 allow paragraph break or merge where appropriate.
7003 * text2.C: leave cursor at end of selection after a cut.
7005 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7007 * text.C (getLengthMarkerHeight):
7008 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7009 visible on screen too.
7011 2003-02-07 John Levon <levon@movementarian.org>
7013 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7015 2003-02-05 Angus Leeming <leeming@lyx.org>
7017 * lyxserver.C (read_ready): revert my patch of 11 September last year
7018 as it sends PC cpu through the roof. Presumably this means that
7019 the lyxserver will no longer run on an Alpha...
7021 2003-01-30 Angus Leeming <leeming@lyx.org>
7023 * factory.C (createInset): create an InsetCommandParam of type "index"
7024 and use it to 'do the right thing'.
7026 * text2.C (getStringToIndex): ensure that cursor position is always
7027 reset to the reset_cursor position.
7029 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7031 * lyxfunc.C (getStatus): "buffer-export custom" should never be
7034 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
7038 * lyxfunc.C: Output messages with identical spelling, punctuation,
7041 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
7043 * MenuBackend.C (expandFormats): List only viewable export formats
7046 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7049 * lyxfunc.C (getStatus): Make sure that formats other than
7050 "fax" can also be disabled
7052 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7054 * text3.C (dispatch): put the lfuns that insert insets in 3
7055 groups, and call doInsertInset with appropriate arguments.
7056 (doInsertInset): new function, that creates an inset and inserts
7057 it according to some boolean parameters.
7059 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7061 * buffer.C (readFile): remember to pass on 'par' when calling
7062 readFile recursively.
7064 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7066 * MenuBackend.C (expandFormats): add "..." to import formats.
7068 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
7070 * paragraph.C (asString): Remove XForms RTL hacks.
7072 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
7073 * buffer.C: fix typo
7075 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7077 * Makefile.am (LIBS): delete var
7078 (lyx_LDADD): add @LIBS@ here instead.
7080 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
7082 * Clarify the meaning of "wheel mouse jump"
7084 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7086 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7089 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7091 * importer.C (Loaders): do not preallocate 3 elements in the
7092 vector, since one ends up with 6 elements otherwise
7094 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7096 * DepTable.C (write): write the file name as last element of the
7097 .dep file (because it may contain spaces)
7098 (read): read info in the right order
7100 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7102 * paragraph_pimpl.C (simpleTeXBlanks):
7103 (simpleTeXSpecialChars):
7104 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7106 * tabular.C (latex): add some missing case statements. Reindent.
7108 * MenuBackend.C (expandToc): remove unused variable.
7110 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
7119 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7122 2003-01-05 John Levon <levon@movementarian.org>
7125 * BufferView.C: add getEncoding()
7128 * kbsequence.C: do not store last keypress
7131 * lyxfunc.C: store last keypress here instead. Pass encoding
7134 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7136 * lyx_main.C (init): remove annoying error message when following
7137 symbolic links (bug #780)
7139 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7141 * text.C (insertChar):
7142 * lyxrc.C (getDescription): remove extra spaces
7144 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7146 * lyxrc.C (getDescription): remove extra spaces
7148 2002-12-20 John Levon <levon@movementarian.org>
7150 * text3.C: hack fix for page up/down across tall rows
7152 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7154 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7157 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7159 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7160 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7161 thesaurus is not compiled in
7163 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
7165 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
7167 2002-12-16 Angus Leeming <leeming@lyx.org>
7170 * lyx_main.C (init): remove override_x_deadkeys stuff.
7172 2002-12-12 John Levon <levon@movementarian.org>
7174 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7175 insert. Only remove shift modifier under strict
7178 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7180 * MenuBackend.C (expandToc): fix crash.
7182 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7184 * MenuBackend.C (expandToc): gettext on float names.
7186 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7188 * lyxlength.[Ch]: set default unit to UNIT_NONE,
7189 implement bool empty() [bug 490]
7191 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7193 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7195 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7197 * several files: ws changes
7199 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7201 * text2.C (setCounter): clean up a bit, use boost.format.
7202 (updateCounters): initialize par upon declaration.
7204 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7205 if the layout exists. We do not just store the layout any more.
7206 (SwitchLayoutsBetweenClasses): use boost.format
7208 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7210 * converter.C (convert): if from and to files are the same, use a
7211 temporary files as intermediary
7213 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7216 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7218 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
7220 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7222 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7224 * tabular.C (asciiPrintCell): use string(size, char) instead of
7227 * sgml.C (openTag): fix order of arguments to string constructor
7230 * lyxfunc.C (dispatch): use boost.format
7232 * lots of files: change "c" -> 'c'
7234 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
7236 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7238 2002-11-25 Angus Leeming <leeming@lyx.org>
7240 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7242 * lyx_main.C (init): compile fix.
7244 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7246 * lyx_cb.C (start): boost.formatify
7247 do not include <iostream>
7249 * lengthcommon.C: ws only
7251 * boost-inst.C,BoostFormat.h: add more explict instantations
7253 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7255 * lots of files: handle USE_BOOST_FORMAT
7257 2002-11-21 John Levon <levon@movementarian.org>
7259 * pspell.C: fix compile
7261 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7263 * lyxfunc.C (dispatch): use boost::format
7267 * lyxfont.C (stateText): use boost::format
7269 * lyx_main.C (LyX): use boost::format
7271 (queryUserLyXDir): ditto
7274 (typedef boost::function): use the recommened syntax.
7276 * importer.C (Import): use boost::format
7278 * debug.C (showLevel): use boost::format
7280 * converter.C (view): use boost::format
7285 * bufferview_funcs.C (currentState): use boost::format
7287 * bufferlist.C (emergencyWrite): use boost::format
7289 * buffer.C (readLyXformat2): use boost::format
7290 (parseSingleLyXformat2Token): ditto
7292 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7294 * LaTeX.C (run): use boost::format
7296 * Chktex.C (scanLogFile): use boost::format
7298 * BufferView_pimpl.C (savePosition): use boost::format
7299 (restorePosition): ditto
7300 (MenuInsertLyXFile): ditto
7302 * BoostFormat.h: help file for explicit instation.
7304 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
7306 * tabular.C (latex): Support for block alignment in fixed width
7309 2002-11-17 John Levon <levon@movementarian.org>
7311 * BufferView_pimpl.C:
7313 * lyxfunc.C: split filedialog into open/save
7315 2002-11-08 Juergen Vigna <jug@sad.it>
7317 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7318 by my last patch (hopefully).
7320 2002-11-08 John Levon <levon@movementarian.org>
7329 * toc.C: ParConstIterator, and use it (from Lars)
7331 2002-11-07 Ben Stanley <bds02@uow.edu.au>
7333 * lyxtextclass.[Ch]: revise and add doxygen comments
7335 2002-11-07 John Levon <levon@movementarian.org>
7337 * text.C: fix progress value for spellchecker
7339 * toc.C: fix navigate menu for insetwrap inside minipage
7341 * paragraph_funcs.C: added FIXME for suspect code
7343 2002-11-07 John Levon <levon@movementarian.org>
7345 * BufferView_pimpl.C: fix redrawing of insets
7348 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7350 * text2.C (updateCounters): fix bug 668
7352 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
7354 * text3.C (dispatch): Do not make the buffer dirty when moving the
7357 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7359 * vc-backend.C: STRCONV
7362 * text2.C (setCounter): STRCONV
7364 * paragraph.C (asString): STRCONV
7366 * lyxlength.C (asString): STRCONV
7367 (asLatexString): ditto
7369 * lyxgluelength.C (asString): STRCONV
7370 (asLatexString): ditto
7372 * lyxfunc.C (dispatch): STRCONV
7375 * lyxfont.C (stateText): STRCONV
7377 * importer.C (Import): STRCONV
7379 * counters.C (labelItem): STRCONV
7380 (numberLabel): ditto
7381 (numberLabel): remove unused ostringstream o
7386 * bufferview_funcs.C (currentState): STRCONV
7388 * buffer.C (readFile): STRCONV
7389 (asciiParagraph): ditto
7390 (makeLaTeXFile): ditto
7392 * Spacing.C (writeEnvirBegin): STRCONV
7394 * LaTeXFeatures.C (getLanguages): STRCONV
7395 (getPackages): ditto
7397 (getBabelOptions): ditto
7398 (getTClassPreamble): ditto
7399 (getLyXSGMLEntities): ditto
7400 (getIncludedFiles): ditto
7404 (scanAuxFile): ditto
7407 * LString.h: add the STRCONV macros
7409 * BufferView_pimpl.C (savePosition): STRCONV
7410 (restorePosition): ditto
7411 (MenuInsertLyXFile): ditto
7413 * vc-backend.C (scanMaster): change from submatch[...] to
7416 * funcrequest.C: include config.h
7418 * factory.C: include config.h
7420 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7422 * box.C: include config.h
7424 * LaTeX.C (scanAuxFile): change from submatch[...] to
7428 2002-10-25 Angus Leeming <leeming@lyx.org>
7430 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7432 * ispell.[Ch] (setError): new method.
7433 * ispell.C (c-tor): move out child process into new class LaunchIspell.
7434 Use setError() insetead of goto END.
7436 * lyx_cb.C (AutoSave): move out child process into new class
7439 2002-10-30 John Levon <levon@movementarian.org>
7441 * text3.C: make start appendix undoable
7443 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
7445 * lyxlength.C (inPixels): Fix returned value.
7447 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7450 2002-10-24 Angus Leeming <leeming@lyx.org>
7452 * lyxgluelength.h: no need to forward declare BufferParams
7453 or BufferView, so don't.
7455 2002-10-21 John Levon <levon@movementarian.org>
7457 * BufferView.C: menuUndo ->undo, redo
7459 * BufferView.h: document, remove dead, make some methods private
7461 * paragraph_funcs.h:
7462 * paragraph_funcs.C:
7463 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7468 * sgml.C: move sgml open/close tag into sgml.C
7470 * bufferview_funcs.h: unused prototype
7473 * lyxfunc.C: remove unused
7476 * text.C: remove unused
7478 2002-10-21 John Levon <levon@movementarian.org>
7482 * BufferView_pimpl.h:
7483 * BufferView_pimpl.C: fix mouse wheel handling based on
7484 patch from Darren Freeman
7486 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
7488 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7490 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
7492 * lyxlength.C (inPixels): Fix hanfling of negative length.
7493 Fix LyXLength::MU case.
7495 2002-10-16 John Levon <levon@movementarian.org>
7497 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7499 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7501 * converter.C (view): add support for $$i (file name) and $$p
7502 (file path) for the viewer command. If $$i is not specified, then
7503 it is appended to the command (for compatibility with old syntax)
7505 2002-10-14 Juergen Vigna <jug@sad.it>
7507 * undo_funcs.C (textHandleUndo): alter the order in which the
7508 new undopar is added to the LyXText, as we have to set first
7509 the right prev/next and then add it as otherwise the rebuild of
7510 LyXText is not correct. Also reset the cursor to the right paragraph,
7511 with this IMO we could remove the hack in "redoParagraphs()".
7513 2002-10-09 Angus Leeming <leeming@lyx.org>
7515 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7516 to turn off an optimisation if a new inset is to be inserted.
7518 2002-10-11 André Pönitz <poenitz@gmx.net>
7520 * lyxtext.h: make some functions public to allow access
7521 from inset/lyxtext for handling LFUN_PRIOR/NEXT
7523 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7525 * text3.C (dispatch): when changing layout, avoid an infinite loop
7528 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7530 * lyxrc.C (read): treat a viewer or converter command of "none" as
7533 * MenuBackend.C (expandFormats): for an update, also allow the
7534 formats that are not viewable
7536 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7537 script if it is newer than the lyxrc.defaults in user directory
7539 2002-10-07 André Pönitz <poenitz@gmx.net>
7541 * text.C: Vitaly Lipatov's small i18n fix
7543 2002-09-25 Angus Leeming <leeming@lyx.org>
7545 * ispell.h: doxygen fix.
7547 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
7549 * buffer.h (readFile): Add a new argument to the method, to allow
7550 reading of old-format templates.
7552 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
7554 * toc.C (getTocList): Get TOC from InsetWrap.
7556 2002-09-16 John Levon <levon@movementarian.org>
7558 * lyxfunc.C: check tabular for cut/copy too
7560 2002-09-12 John Levon <levon@movementarian.org>
7565 * factory.C: add header
7567 * paragraph_funcs.h:
7568 * paragraph_funcs.C: cleanup
7570 2002-09-11 John Levon <levon@movementarian.org>
7572 * PrinterParams.h: odd/even default to true
7574 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
7576 * PrinterParams.h: update printer parameters for new xforms dialog
7578 2002-09-11 Angus Leeming <leeming@lyx.org>
7580 * lyxserver.C (read_ready): re-write to make it more transparent
7581 and to make it work in coherent fashion under Tru64 Unix.
7583 2002-09-11 André Pönitz <poenitz@gmx.net>
7587 * text3.C: implement LFUN_WORDSEL
7589 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7591 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7592 make floatlist_ a boost::shared_ptr<FloatList>
7594 * lyxtextclass.C: include FloatList.h
7595 (LyXTextClass): initialize floatlist_
7596 (TextClassTags): add TC_NOFLOAT
7597 (Read): match "nofloat" to TC_NOFLOAT and use it.
7598 (readFloat): modify call to floatlist_
7602 * FloatList.[Ch] (FloatList): remove commented out float
7604 (erase): new function
7606 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7608 * MenuBackend.C (expandToc): fix crash when there is no document
7611 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
7613 * many files: Add insetwrap.
7615 2002-09-09 John Levon <levon@movementarian.org>
7617 * text2.C: remove confusing and awkward depth wraparound
7619 2002-09-09 John Levon <levon@movementarian.org>
7621 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7624 * buffer.C: remove getIncludeonlyList()
7627 * lyxfunc.C: remove headers
7629 2002-09-09 Juergen Vigna <jug@sad.it>
7631 * text.C (getColumnNearX): fix form Michael this is most
7632 probably a cut&paste bug.
7634 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7636 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7638 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7639 references, ws changes.
7641 * text2.C (init): update counters after init
7642 (insertParagraph): no need to set counter on idividual paragraphs.
7643 (setCounter): access the counters object in the textclass object
7644 on in the buffer object.
7645 (updateCounters): ditto
7647 * lyxtextclass.C: include counters.h, add variable ctrs_ as
7648 shared_ptr<Counters> to avoid loading counters.h in all
7650 (LyXTextClass): initialize ctrs_
7651 (TextClassTags): add TC_COUNTER, and ...
7652 (Read): use it here.
7653 (CounterTags): new tags
7654 (readCounter): new function
7655 (counters): new funtion
7656 (defaultLayoutName): return a const reference
7658 * counters.C (Counters): remove contructor
7659 (newCounter): remove a couple of unneeded statements.
7660 (newCounter): simplify a bit.
7661 (numberLabel): some small formatting changes.
7663 * buffer.[Ch]: remove all traces of counters, move the Counters
7664 object to the LyXTextClass.
7666 2002-09-06 Alain Castera <castera@in2p3.fr>
7668 * tabular.C: uses \tabularnewline; uses >{...} construct from array
7669 package to set the horizontal alignment on fixed width columns.
7672 * lyx_sty.h: added tabularnewline macro def.
7674 * LaTeXFeatures.C: added NeedTabularnewline macro feature
7676 2002-09-06 John Levon <levon@movementarian.org>
7678 * LyXAction.C: tooltips for sub/superscript
7680 * MenuBackend.C: a bit more verbose
7682 * lyxfunc.C: tiny clean
7684 * undo_funcs.C: document undo_frozen
7686 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7688 * counters.C (Counters): add missing algorithm counter.
7690 * text2.C (setCounter): lookup the counter with layouts latexname
7691 instead of by section number.
7692 (setCounter): use a hackish way to lookup the correct enum
7694 a float name->type change
7695 reset enum couners with counter name directly instead of depth value.
7697 * counters.C (Counters): remove the push_backs, change to use the
7698 float type not the float name.
7699 (labelItem): remove unused string, float name->type change
7701 * counters.h: don't include vector, loose the enums and sects vectors
7703 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7705 * lyxtextclass.C (TextClassTags): add TC_FLOAT
7706 (Read): add float->TC_FLOAT to textclassTags
7707 (Read): and handle it in the switch
7708 (readFloat): new function
7710 * FloatList.C (FloatList): comment out the hardcoded float
7713 * lyxlayout.h: ws change.
7715 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
7717 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7719 2002-09-03 Angus Leeming <leeming@lyx.org>
7721 * BufferView_pimpl.h: qualified name is not allowed in member
7722 declaration: WorkArea & Pimpl::workarea() const;
7724 * factory.C: added using std::endl directive.
7726 * text3.C: added using std::find and std::vector directives.
7728 2002-08-29 André Pönitz <poenitz@gmx.net>
7731 * text2.C: remove unused member number_of_rows
7734 * BufferView2.C: remove file, move contents to...
7735 * BufferView.C: ... here
7737 * BufferView_pimpl.C:
7738 * factory.C: move more inset creation to factory
7740 * vspace.C: avoid direct usage of LyXText, ws changes
7743 don't provide direct access to WorkArea, use two simple
7744 acessors haveSelction() and workHeight() instead
7747 2002-08-29 John Levon <levon@movementarian.org>
7749 * BufferView_pimpl.C (dispatch): do not continue when
7752 2002-08-28 André Pönitz <poenitz@gmx.net>
7754 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7757 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7759 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
7761 * buffer.C: increment LYX_FORMAT to 221
7763 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7764 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7766 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7768 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7770 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7772 * factory.C (createInset): use LyXTextClass::floats
7774 * MenuBackend.C (expandFloatListInsert):
7775 (expandFloatInsert):
7778 * text2.C (setCounter):
7780 * LaTeXFeatures.C (useFloat):
7781 (getFloatDefinitions):
7783 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7785 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7786 floatlist_, with accessor floats().
7788 * FloatList.h: remove global FloatList
7790 2002-08-26 André Pönitz <poenitz@gmx.net>
7792 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7796 * BufferView_pimpl.C:
7797 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7799 2002-08-25 John Levon <levon@movementarian.org>
7801 * LyXAction.C: fix margin note description
7803 2002-08-24 John Levon <levon@movementarian.org>
7807 * bufferview_funcs.C:
7809 * undo_funcs.C: cleanups
7811 * lyxfunc.C: disable CUT/COPY when no selection
7813 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
7815 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7816 in "enum UNIT"; e.g. PTW for Percent of TextWidth
7818 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7819 Add backward compatibility to "mono", "gray" and "no".
7821 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
7823 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7824 (and file_format >= 200).
7826 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7828 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7830 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7832 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7834 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
7836 * BufferView_pimpl.C:
7843 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7844 inset and code to make it work with the paragraph code. The inset
7845 can be anywhere in the paragraph, but will only do the expected
7846 thing in LaTeX if the layout file contains the parameter line
7848 (or more generally, a nonzero value) for that layout.
7850 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7852 * paragraph.h: remove the declaration of undefined counters class
7855 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
7857 * text2.C (setCounter): fixed enumeration mis-count as reported by
7858 Dr. Richard Hawkins.
7860 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7862 * paragraph_funcs.h: remove some unneeded includes
7864 * text.C (backspace): pasteParagraph now in global scipe
7866 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7867 (pasteSelection): ditto
7869 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7870 * paragraph_funcs.C (pasteParagraph): ... here
7872 2002-08-20 André Pönitz <poenitz@gmx.net>
7874 * commandtags.h: new LFUNs for swapping/copying table row/colums
7877 * lyxfunc.C: support for new lfuns
7879 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7882 * buffer.[Ch]: remove NO_COMPABILITY stuff
7884 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
7886 * boost.C (throw_exception): new file, with helper function for
7887 boost compiled without exceptions.
7892 * ParameterStruct.h:
7893 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7895 * bufferlist.C (emergencyWriteAll): use boost bind
7897 * BufferView_pimpl.C (moveCursorUpdate): remove inline
7899 * text.C: include paragraph_funcs.h
7900 (breakParagraph): breakParagraph is now in global scope
7902 * paragraph_funcs.[Ch]: new files
7904 * paragraph.C (breakParagraph,breakParagraphConservative): move to
7907 * buffer.C: include paragraph_funcs.h
7908 (insertStringAsLines): breakParagraph is now in global scope
7910 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7913 * CutAndPaste.C: include paragraph_funcs.h
7914 (cutSelection): breakParagraphConservative is now in global scope
7915 (pasteSelection): ditto
7917 * buffer.h: declare oprator== and operator!= for
7918 Buffer::inset_iterator
7920 * bufferlist.C (emergencyWrite): don't use fmt(...)
7922 * text3.C: add using std::endl
7924 * BufferView.C (moveCursorUpdate): remove default arg
7926 2002-08-20 André Pönitz <poenitz@gmx.net>
7928 * buffer.[Ch]: move inline functions to .C
7931 * BufferView_pimpl.C:
7933 * buffer.[Ch]: use improved inset_iterator
7936 * paragraph.[Ch]: write one paragraph at a time
7938 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
7940 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7941 style if style is not specified.
7943 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7945 * text2.C (setCounter): when searching for right label for a
7946 caption, make sure to recurse to parent insets (so that a caption
7947 in a minipage in a figure float works) (bug #568)
7949 2002-08-20 André Pönitz <poenitz@gmx.net>
7951 * text3.C: new file for LyXText::dispatch() and helpers
7953 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7955 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7957 2002-08-19 André Pönitz <poenitz@gmx.net>
7960 * text.C: new LyXText::dispatch()
7962 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7964 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
7966 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7968 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7971 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7973 * Makefile.am: use $(variables) instead of @substitutions@
7975 2002-08-15 André Pönitz <poenitz@gmx.net>
7978 * BufferView_pimpl.C: streamlining mathed <-> outer world
7982 * LyXAction.C: remove unused LFUN_MATH
7984 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7986 * paragraph.[Ch]: add some NO_NEXT ifdefs.
7988 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7990 * paragraph.C (Paragraph): reformat a bit
7991 (cutIntoMinibuffer): use builtin InsetList function instad of
7995 * buffer.C: include boost/bind.hpp, add using std::for_each
7996 (writeFileAscii): use ParagraphList iterators
7997 (validate): use for_each for validate traversal of paragraphs
7998 (getBibkeyList): use ParagraphList iterators
7999 (resizeInsets): use for_each to resizeInsetsLyXText for all
8001 (getParFromID): use ParagraphList iterators
8003 * BufferView2.C (lockInset): use paragraph list and iterators
8005 2002-08-14 John Levon <levon@movementarian.org>
8007 * lyxserver.C: remove spurious xforms include
8009 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8011 * lyxfunc.C (getStatus): disable math-extern outside of math mode
8013 2002-08-13 André Pönitz <poenitz@gmx.net>
8016 * lyxfunc.C: further cleaning
8018 2002-08-13 André Pönitz <poenitz@gmx.net>
8020 * funcrequest.h: new constructor
8022 * funcrequest.C: move stuff here from .h
8025 * BufferView_pimpl.C:
8028 * lyxfunc.C: subsequent changes
8030 * lyxfunc.h: new view() member function
8032 * lyxfunc.C: subsequent changes
8034 2002-08-13 Angus Leeming <leeming@lyx.org>
8037 * BufferView_pimpl.C:
8045 changes due to the changed LyXView interface that now returns references
8046 to member variables not pointers.
8048 2002-08-13 Angus Leeming <leeming@lyx.org>
8050 * WordLangTuple (word, lang_code): return references to strings,
8055 * lyxtext.h: forward-declare WordLangTuple.
8060 * text.C: #include "WordLangTuple.h".
8063 * text.C: (selectNextWordToSpellcheck): constify return type.
8065 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
8071 * paragraph_pimpl.h:
8074 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8076 Made updateCounter always count from start of buffer, and removed
8077 second argument (par).
8078 Reverted floats number display to '#'. Perhaps I'll try again when the
8079 code base is sanitized a bit.
8081 2002-08-12 Angus Leeming <leeming@lyx.org>
8083 * buffer.[Ch] (getLabelList): constify.
8085 2002-08-07 André Pönitz <poenitz@gmx.net>
8087 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8089 * funcrequest.h: extension to keep mouse (x,y) position
8091 2002-08-12 Juergen Vigna <jug@sad.it>
8093 * BufferView2.C (insertErrors): forbid undo when inserting error
8096 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8098 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8100 * ParagraphList.[Ch]: new files
8102 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8104 * BufferView2.C (lockInset): ParagraphList changes
8107 * bufferlist.C: ditto
8111 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8113 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8114 unused class variable counter_,
8116 * paragraph.[Ch] (getFirstCounter): delete unused function
8118 * counters.C: include LAssert.h
8119 (reset): add a new function with no arg, change other version to
8120 not have def. arg and to not allow empty arg.
8122 * text2.C (setCounter): remove empty arg from call to Counters::reset
8124 2002-08-11 John Levon <levon@movementarian.org>
8126 * Makefile.am: add WordLangTuple.h
8128 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8130 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8131 lyxfunc.C lyxlex_pimpl.C: ws changes only.
8133 * insets/insettext.C: InsetList changes
8135 * graphics/GraphicsSupport.C (operator()): InsetList changes
8137 * toc.C (getTocList): InsetList changes
8139 * paragraph_pimpl.[Ch]: InsetList changes
8141 * paragraph.[Ch]: InsetList changes
8143 * buffer.C (inset_iterator): InsetList changes
8144 (setParagraph): ditto
8145 * buffer.h (inset_iterator): ditto
8146 * iterators.C (operator++): ditto
8147 * iterators.h: ditto
8149 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8151 * InsetList.[Ch]: new files, most InsetList handling moved out of
8154 * BufferView2.C (removeAutoInsets): InsetList changes
8156 (ChangeInsets): ditto
8158 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8160 * paragraph_pimpl.h (empty): new function
8162 * paragraph.[Ch] (empty): new function
8164 * other files: use the new Paragraph::empty function
8166 2002-08-09 John Levon <levon@movementarian.org>
8168 * lyxtext.h: remove unused refresh_height
8170 2002-08-09 John Levon <levon@movementarian.org>
8177 * paragraph.C: move sgml char escaping out of paragraph
8180 * paragraph.C: remove id setter
8184 * paragraph_pimpl.C: remove dead tex_code_break_column
8186 * bufferview_funcs.C: small cleanup
8188 * lyxfunc.C: remove dead proto
8190 * lyxtext.h: make some stuff private. Remove some dead stuff.
8192 * lyxgluelength.C: make as[LyX]String() readable
8194 2002-08-08 John Levon <levon@movementarian.org>
8199 * ToolbarDefaults.C:
8202 * toc.C: lyxaction cleanup
8204 2002-08-08 John Levon <levon@movementarian.org>
8206 * BufferView2.C: small cleanup
8209 * lyxfind.C: move unnecessary header into the .C
8211 2002-08-08 John Levon <levon@movementarian.org>
8213 * funcrequest.h: just tedious nonsense
8216 * lyx_main.C: cleanups
8219 * vspace.C: remove dead header lyx_main.h
8221 2002-08-07 Angus Leeming <leeming@lyx.org>
8224 * paragraph_pimpl.h:
8225 Forward declare class Counters in paragraph.h by moving the ctrs member
8226 variable into Paragraph::Pimpl.
8227 (counters): new method, returning a reference to pimpl_->ctrs.
8229 * text2.C: ensuing changes.
8231 2002-08-07 John Levon <levon@movementarian.org>
8233 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8235 * BufferView_pimpl.C: announce X selection on double/triple
8238 * lyx_main.C: use correct bool in batch dispatch
8240 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8242 2002-08-07 André Pönitz <poenitz@gmx.net>
8244 * funcrequest.h: new class to wrap a kb_action and its argument
8247 * BufferView_pimpl[Ch]:
8251 * lyxrc.C: subsequent changes
8254 2002-08-07 John Levon <levon@movementarian.org>
8256 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8257 document options change.
8259 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8264 * makefile.am: move counters functionality over from
8265 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8267 2002-08-06 John Levon <levon@movementarian.org>
8269 * WordLangTuple.h: new file for word + language code tuple
8280 * BufferView2.C: use WordLangTuple
8283 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8285 2002-08-06 John Levon <levon@movementarian.org>
8287 * lyx_main.C: fix cmdline batch handling
8289 2002-08-06 André Pönitz <poenitz@gmx.net>
8291 * lyxrc.C: set default for show_banner to true
8293 2002-08-06 John Levon <levon@movementarian.org>
8295 * pspell.C: fix a crash, and allow new aspell to work
8297 2002-08-06 John Levon <levon@movementarian.org>
8300 * kbmap.C: small cleanup
8303 * vspace.C: add const
8305 2002-08-05 John Levon <levon@movementarian.org>
8307 * LyXAction.C: back to tabular-insert
8309 2002-08-04 John Levon <levon@movementarian.org>
8312 * BufferView.C: cosmetic change
8314 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8324 * BufferView2.C: purge all "Lyx" not "LyX" strings
8327 * lyxcursor.C: attempt to add some documentation
8332 * ToolbarDefaults.C:
8333 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8334 merge with LFUN_TABULAR_INSERT
8341 * pspell.C: split up i/pspell implementations into separate
8342 files, many cleanups
8344 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8346 * text2.C: some cleanup
8348 * lyxfunc.C: don't check for isp_command == "none" any more, it
8349 didn't make any sense
8351 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8356 * makefile.am: move counters functionality over
8357 from text2.C/paragraph.[Ch] to counters.[Ch], and
8359 2002-08-02 John Levon <levon@movementarian.org>
8361 * buffer.C: s/lyxconvert/lyx2lyx/
8363 2002-08-02 Angus Leeming <leeming@lyx.org>
8365 * lyxlex.C: revert John's change as it breaks reading of the user
8368 2002-08-02 Angus Leeming <leeming@lyx.org>
8370 * importer.C (Import):
8371 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8372 changes due to LyXView::view() now returning a boost::shared_ptr.
8374 2002-08-02 John Levon <levon@movementarian.org>
8376 * lyxlex.C: small cleanup
8378 2002-08-02 John Levon <levon@movementarian.org>
8380 * text2.C (status): small cleanup, no logic change
8382 2002-08-01 John Levon <levon@movementarian.org>
8385 * buffer.C (writeFile): don't output alerts, caller
8389 * lyx_cb.C: from above
8391 * lyxfunc.C: allow to open non-existent files
8393 2002-07-31 John Levon <levon@movementarian.org>
8395 * lyxserver.C: don't let incidental errors get
8398 2002-07-30 John Levon <levon@movementarian.org>
8400 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8402 2002-07-30 John Levon <levon@movementarian.org>
8405 * lyxserver.C: remove I/O callback too
8407 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8409 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8412 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8414 * many files: strip,frontStrip -> trim,ltrim,rtrim
8416 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8418 * PrinterParams.h: remove extern containsOnly, and include
8419 support/lstrings.h instead.
8421 * LaTeX.C (scanAuxFile): modify because of strip changes
8423 * buffer.C (makeLaTeXFile): ditto
8424 * bufferparams.C (writeFile): ditt
8425 * lyxfont.C (stateText): ditto
8426 * lyxserver.C (read_ready): ditto
8427 * vc-backend.C (scanMaster): ditto
8429 * BufferView_pimpl.h: ws changes
8431 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8433 2002-07-26 André Pönitz <poenitz@gmx.net>
8435 * kb_sequence.C: remove unnedred usings
8437 2002-07-26 Juergen Vigna <jug@sad.it>
8439 * lyxfind.C (LyXReplace): we have to check better if the returned
8440 text is not of theLockingInset()->getLockingInset().
8442 2002-07-25 Juergen Vigna <jug@sad.it>
8444 * lyxfind.C (LyXReplace): don't replace if we don't get the
8447 * undo_funcs.C (createUndo): remove debugging code.
8449 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
8451 * buffer.C (parseSingleLyXformat2Token): Use default placement
8452 when reading old floats.
8454 * FloatList.C (FloatList): Change the default placement of figure
8455 and tables to "tbp".
8457 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
8459 * MenuBackend.C: using std::max
8461 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8463 * MenuBackend.C (expandToc):
8464 (expandToc2): code moved from xforms menu frontend. It is now
8465 generic and TOCs are transparent to menu frontends.
8467 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8469 * toc.C (getTocList): protect against buf=0
8471 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8472 Menu as first parameter. Now, this calls itself recursively to
8473 expand a whole tree (this will be useful for TOC handling)
8474 (expandFloatInsert): remove 'wide' version of floats
8476 * MenuBackend.h (submenuname): returns the name of the submenu.
8477 (submenu): returns the submenu itself, provided it has been
8478 created by MenuBackend::expand
8480 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8482 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8483 insets which have noFontChange == true. (bug #172)
8485 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8487 * BufferView_pimpl.C: add connection objects and use them...
8490 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8492 * MenuBackend.C (expandLastfiles):
8495 (expandFloatListInsert):
8496 (expandFloatInsert):
8497 (expand): split expand in parts
8499 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8501 * lyx_gui.C: use lyx_gui::exit()
8503 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8505 * LyXAction.C: show the failing pseudo action
8507 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
8509 * buffer.C (readFile): Run the lyxconvert script in order to read
8512 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8516 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8518 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8522 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8524 2002-07-22 Herbert Voss <voss@lyx.org>
8527 * lyxlength.[Ch]: add support for the vertical lengths
8529 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
8531 * toc.[Ch]: std:: fixes
8533 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8535 * lyxrc.C: do not include lyx_main.h
8537 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8543 * BufferView2.C: include "lyxlex.h"
8546 * bufferparams.h: do not #include "lyxlex.h"
8548 * lyxtextclasslist.C (Add): remove method
8549 (classlist): renamed to classlist_
8551 * paragraph_pimpl.C:
8555 * bufferview_funcs.C:
8560 * toc.C (getTocList): use BufferParams::getLyXTextClass
8562 * toc.C (getTocList): use InsetFloat::addToToc
8564 * toc.[Ch]: new files, containing helper functions to handle table
8567 * lyxfunc.C (dispatch): no need to remove spaces around command
8569 (getStatus): handle LFUN_SEQUENCE by returning the status of the
8570 first command of the sequence; it is not very clever, but I do not
8571 have a better idea, actually
8573 * LyXAction.C (LookupFunc): make sure to remove space at the
8574 beginning and end of the command
8576 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8578 * MenuBackend.C (getMenubar): new method: return the menubar of
8580 (read): treat differently reading of menu and menubar (in
8581 particular, the menubar has no name now)
8582 (Menu::menubar): remove
8584 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8587 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8589 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8590 a bibitem inset in a RTL paragraph.
8592 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
8594 * paragraph_pimpl.C: constify
8596 * BufferView_pimpl.C:
8598 * lyxfunc.C: fix dispatch in a nicer way
8600 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8602 * lyxfunc.C (dispatch):
8603 * BufferView_pimpl.C:
8604 * BufferView_pimpl.h:
8606 * BufferView.h: rename Dispatch() to dispatch()
8608 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8610 * lyxlayout.C (Read): honor DependsOn tag
8612 * lyxlayout.[Ch] (depends_on): new method
8614 * version.C.in: update lyx_docversion
8616 * LaTeXFeatures.C (getMacros): only define \LyX when needed
8618 * paragraph.C (validate): remove from here...
8619 * paragraph_pimpl.C (validate): ... and move here
8620 (isTextAt): make it const
8622 * buffer.C (getLists): ws cleanup
8624 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8626 * language.C (read): Use iso8859-1 encoding in latex_lang
8627 (this prevents LyX from crashing when using iso10646-1 encoding).
8629 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8631 * text2.C (toggleInset): if cursor is inside an inset, close the
8632 inset and leave cursor _after_ it
8634 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8636 * lyxfunc.C: move minibuffer completion handling out of here
8638 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8640 * BufferView_pimpl.C:
8641 * LaTeX.C: fix dispatch calls
8643 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
8645 * text.C (drawChars): Fix Arabic text rendering.
8647 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
8651 * lyxfunc.C: remove message-push/pop
8655 * lyxfunc.C: rationalise some code by removing verboseDispatch
8656 in favour of a bool argument to dispatch()
8658 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8660 * lyx_main.C (init): make sure to read symlinks as absolute paths
8662 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8665 * lyxfunc.C: no need for commandshortcut to be a member
8667 2002-07-15 André Pönitz <poenitz@gmx.net>
8669 * converter.C: add support for $$s (scripts from lib/scripts dir)
8670 * lyx_main.C: white space
8672 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8676 * lyxrc.C: remove second exit confirmation
8678 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8683 * BufferView_pimpl.h:
8684 * BufferView_pimpl.C:
8685 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8687 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8689 * MenuBackend.C (expand): add numeric shortcuts to document menu
8691 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8693 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8695 * lyxfont.C (setLyXFamily):
8702 * buffer.C (asciiParagraph): use ascii_lowercase
8704 2002-07-15 Mike Fabian <mfabian@suse.de>
8706 * lyxlex_pimpl.C (search_kw):
8707 * lyxlex.C (getLongString):
8708 * converter.h (operator<):
8709 * converter.C (operator<):
8710 * buffer.C (parseSingleLyXformat2Token):
8712 * ToolbarDefaults.C (read):
8713 * MenuBackend.C (checkShortcuts):
8715 * LColor.C (getFromGUIName):
8716 (getFromLyXName): use the compare_ascii_no_case instead of
8717 compare_no_case, because in turkish, 'i' is not the lowercase
8718 version of 'I', and thus turkish locale breaks parsing of tags.
8720 2002-07-16 Angus Leeming <leeming@lyx.org>
8722 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8723 now takes a Buffer const & argument.
8725 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
8727 * BufferView.C (resize): check there's a buffer to resize
8729 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
8731 * lyxfunc.C: remove dead code
8734 * lyxserver.C: use lyx_guii::set_read_callback
8736 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
8738 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8739 an inset in a RTL paragraph.
8741 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8743 * lyxfunc.C: repaint after a font size update
8745 2002-07-15 André Pönitz <poenitz@gmx.net>
8747 * lyxlength.C: inBP should be able to return negative values
8749 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8751 * lyxfunc.C: use lyx_gui::update_fonts()
8753 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8755 * lyxfunc.C: use lyx_gui::update_color()
8757 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8763 * lyxrc.C: remove file->new asks for name option, and let
8764 buffer-new take an argument
8766 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8768 * BufferView_pimpl.C: remove unneeded extra repaint()
8770 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
8772 * LyXAction.C: allow command-sequence with NoBuffer
8774 * lyxfunc.C: don't insist on trailing ';' for command-sequence
8776 2002-07-10 Angus Leeming <leeming@lyx.org>
8778 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8780 2002-07-09 Angus Leeming <leeming@lyx.org>
8782 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8784 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8786 * lengthcommon.h: whitespace
8788 * lyxfunc.C: update scrollbar after goto paragraph
8790 * lyxtext.h: factor out page break drawing, and fix it so
8791 page break/added space paints as selected nicely
8793 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8795 * BufferView_pimpl.C: add FIXMEs, clean up a little
8797 2002-07-09 André Pönitz <poenitz@gmx.net>
8799 * lyxfont.[Ch]: support for wasy symbols
8801 2002-07-08 André Pönitz <poenitz@gmx.net>
8803 * BufferView_pimpl.C: apply John's patch for #93.
8805 2002-07-05 Angus Leeming <leeming@lyx.org>
8807 * BufferView_pimpl.C (buffer): generate previews if desired.
8809 * LColor.h: add "preview" to the color enum.
8811 * LColor.C (LColor): add a corresponding entry to the items array.
8813 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8816 2002-07-05 Angus Leeming <leeming@lyx.org>
8818 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8819 The body of the code is now in the method that is passed an ostream &
8820 rather than a file name.
8821 Pass an additional only_preamble parameter, useful for the forthcoming
8824 2002-07-03 André Pönitz <poenitz@gmx.net>
8826 * lyxfunc.C: simplify getStatus() a bit for math stuff
8828 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8830 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8832 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8834 * text.C (changeRegionCase): do not change case of all the
8835 document when region ends at paragraph end (bug #461)
8837 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8839 * paragraph.C (startTeXParParams):
8840 (endTeXParParams): add \protect when necessary
8842 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8844 * BufferView_pimpl.C (workAreaExpose): remove warning
8846 2002-06-27 Angus Leeming <leeming@lyx.org>
8848 * Makefile.am: add lyxlayout_ptr_fwd.h.
8850 2002-06-26 André Pönitz <poenitz@gmx.net>
8852 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8854 2002-06-25 Angus Leeming <leeming@lyx.org>
8856 * lyxfunc.C (dispatch): Comment out the call to
8857 grfx::GCache::changeDisplay. The method no longer exists now that the
8858 pixmap generation part of the graphics loader has been moved into
8861 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8863 * text2.C: layout as layout
8865 * text.C: layout as layout
8867 * tabular.C (OldFormatRead): layout as layout
8869 * paragraph_pimpl.C (TeXDeeper): layout as layout
8870 (realizeFont): layout as layout
8872 * paragraph.C (writeFile): layout as layout
8873 (validate): layout as layout
8874 (getFont): layout as layout
8875 (getLabelFont): layout as layout
8876 (getLayoutFont): layout as layout
8877 (breakParagraph): layout as layout
8878 (stripLeadingSpaces): layout as layout
8879 (getEndLabel): layout as layout
8880 (getMaxDepthAfter): layout as layout
8881 (applyLayout): layout as layout
8882 (TeXOnePar): layout as layout
8883 (simpleTeXOnePar): layout as layout
8884 (TeXEnvironment): layout as layout
8885 (layout): layout as layout
8886 (layout): layout as layout
8888 * lyxtextclass.C (compare_name): new functor to work with
8889 shared_ptr, layout as layout
8890 (Read): layout as layout
8891 (hasLayout): layout as layout
8892 (operator): layout as layout
8893 (delete_layout): layout as layout
8894 (defaultLayout): layout as layout
8896 * lyxlayout_ptr_fwd.h: new file
8898 * lyxlayout.C (Read): layout as layout
8900 * lyx_cb.C (MenuInsertLabel): layout as layout
8902 * bufferlist.C (newFile): layout as layout
8904 * buffer.C (readLyXformat2): layout as layout
8905 (parseSingleLyXformat2Token): layout as layout
8906 (insertStringAsLines): layout as layout
8907 (asciiParagraph): layout as layout
8908 (latexParagraphs): layout as layout
8909 (makeLinuxDocFile): layout as layout
8910 (simpleLinuxDocOnePar): layout as layout
8911 (makeDocBookFile): layout as layout
8912 (simpleDocBookOnePar): layout as layout
8913 (getLists): layout as layout
8915 * LaTeXFeatures.C (getTClassPreamble): layout as layout
8917 * CutAndPaste.C (cutSelection): layout as layout
8918 (pasteSelection): layout as layout
8919 (SwitchLayoutsBetweenClasses): layout as layout
8921 * BufferView_pimpl.C (Dispatch): layout as layout
8922 (smartQuote): layout as layout
8924 * BufferView2.C (unlockInset): layout as layout
8926 2002-06-24 André Pönitz <poenitz@gmx.net>
8928 * lyxfunc.C: fix #487
8930 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8934 * lyxfunc.C: remove display_shortcuts, show_banner
8936 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8938 * Buffer_pimpl.C: oops, update on resize
8940 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8947 * BufferView.C: use repaint()
8949 * BufferView_pimpl.h:
8950 * BufferView_pimpl.C: s/updateScreen()/repaint()/
8951 as it's a clearer description. Remove superfluous
8954 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8956 * text.C: fix bug 488. Not ideal, but getting
8957 getWord() to work properly for the insets that
8958 matter is more difficult ...
8960 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8962 * BufferView_pimpl.C:
8965 * lyxfunc.C: remove the six million index lyxfuncs to just
8966 one, and DTRT (bug 458)
8968 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8972 * BufferView_pimpl.h:
8973 * BufferView_pimpl.C: clean up resize() stuff,
8974 and unnecessary updateScreen()s
8976 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8980 * BufferView_pimpl.h:
8981 * BufferView_pimpl.C:
8984 * minibuffer.C: remove focus management of workarea,
8985 not needed. Use screen's greyOut()
8987 2002-06-17 Herbert Voss <voss@lyx.org>
8989 * converter.C: (convert) do not post a message, when converting
8990 fails, let the calling function decide what to do in this case
8992 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
8994 * lyxfunc.C: tidy up a little
8996 2002-06-16 <alstrup@diku.dk>
8998 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8999 Got rid of FORMS_H_LOCATION include. Now we are
9002 2002-06-15 LyX Development team <lyx@rilke>
9004 * buffer.[Ch] (sgmlOpenTag):
9005 (sgmlCloseTag): Added support for avoiding pernicious mixed
9006 content. Return number of lines written.
9009 (makeDocBookFile): Fixed calls to sgml*Tag.
9010 Simple white space clean.
9012 (simpleDocBookOnePar): Simple white space clean.
9014 * tabular.[Ch] (docBook): Renamed to docbook and got another
9015 argument to related with the pernicious mixed content.
9017 (docbookRow): Fixed calls for docbook inset method.
9019 2002-06-15 Lyx Development team <larsbj@birdstep.com>
9021 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9022 so it's X11 independent.
9026 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9028 2002-06-15 Lyx Development team <lyx@electronia>
9030 * intl.h: Renamed getTrans to getTransManager.
9032 2002-06-14 Angus Leeming <leeming@lyx.org>
9034 * Makefile.am: nuke forgotten stl_string_fwd.h.
9036 2002-06-12 Angus Leeming <leeming@lyx.org>
9038 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9040 2002-06-13 Angus Leeming <leeming@lyx.org>
9043 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9045 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
9047 * kbmap.C (getiso): add support for cyrillic and greek
9049 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9053 * BufferView_pimpl.h:
9054 * BufferView_pimpl.C: move bogus scrolling logic
9057 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9060 * BufferView_pimpl.C: view->resize() change
9062 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9064 * BufferView_pimpl.C: topCursorVisible
9067 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9071 * lyx_gui.C: move to frontends/
9075 * lyx_main.C: changes from above
9077 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9084 * lyx_main.C: minor tidy
9086 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9088 * BufferView_pimpl.h:
9089 * BufferView_pimpl.C:
9091 * BufferView.C: make painter() const,
9094 * BufferView2.C: use screen() accessor
9097 * lyx_main.C: some minor cleanup
9099 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9101 * BufferView_pimpl.h:
9102 * BufferView_pimpl.C: remove enter/leaveView,
9105 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9110 * BufferView_pimpl.h:
9111 * BufferView_pimpl.C: only construct screen once,
9114 * lyxrc.C: remove pointless comment
9116 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9119 * BufferView.C: remove active() and belowMouse()
9121 * BufferView_pimpl.h:
9122 * BufferView_pimpl.C: use workarea() not workarea_,
9123 and make it use a scoped_ptr instead
9125 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9127 * lyx_gui.C: add debug message on BadWindow
9129 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9131 * sp_spell.C: fdopen is not part of the C++ standard.
9133 * paragraph.C (InsetIterator): use >= instead of ==
9135 2002-06-07 Angus Leeming <leeming@lyx.org>
9137 Fixes needed to compile with Compaq cxx 6.5.
9138 * BufferView_pimpl.C:
9145 * lyxtextclasslist.C:
9150 all c-library variables have been moved into namespace std. Wrap
9151 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9156 Add a using std::abs declaration.
9158 * kbmap.h (modifier_pair):
9159 * paragraph.h (InsetTable, InsetList):
9160 * lyxfont.h (FontBits):
9161 type definition made public.
9163 * bufferlist.C (emergencyWriteAll): the compiler complains that
9164 there is more than one possible lyx::class_fun template to choose from.
9165 I re-named the void specialisation as lyx::void_class_fun.
9167 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9169 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9170 the compiler is is unable to find tostr in write_attribute.
9172 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9174 * buffer.C (sgmlError): hide #warning
9176 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9178 * xtl/*: get rid of xtl, which is not in use anyway
9180 * LyXAction.C (init):
9181 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9182 were unimplemented xtl experimentation
9184 2002-06-04 André Pönitz <poenitz@gmx.net>
9186 * lyxfunc.C: disable array operation on simple formulae
9188 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
9190 * converter.C: constify a bit
9192 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
9194 * lyx_gui.C: check xforms version correctly
9196 2002-04-30 Herbert Voss <voss@lyx.org>
9198 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9201 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
9203 * lyxvc.C: fix bug 416 (make sure buffer is saved before
9204 attempt to register it with a VCS)
9206 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9208 * lyx_main.C (init): honor variables LYX_DIR_13x and
9211 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9215 * lyx_main.C: fix a crash on bad command line,
9216 and give a useful exit status on error
9218 * lyxfunc.C (doImport): allow -i lyx to work
9220 2002-03-30 André Pönitz <poenitz@gmx.net>
9222 * lyxfunc.C: mathed font changes
9224 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9239 * trans_mgr.h: srcdocs, and some minor cleanups
9241 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9243 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9244 call getFont all the time)
9246 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9248 * switch from SigC signals to boost::signals
9250 2002-05-29 André Pönitz <poenitz@gmx.net>
9252 * paragraph_pimpl.C (getChar): don't call size() too often...
9254 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9256 * paragraph_pimpl.C (insertChar): do not try to update tables when
9257 appending (pos == size())
9259 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9260 in order to reduce drastically the number of comparisons needed to
9261 parse a large document
9263 2002-05-29 André Pönitz <poenitz@gmx.net>
9269 * textclasslist.[Ch]:
9270 * sp_ispell.h: whitespace change
9272 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9274 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9275 lyxaction directly now.
9277 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
9281 * lyxvc.C: remove unused headers
9283 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9290 * undo_funcs.C: some cleanups. Use shared_ptr
9291 and a template for the undo stacks.
9293 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9295 * BufferView_pimpl.h:
9296 * BufferView_pimpl.C:
9303 * text2.C: use key_state/mouse_state
9305 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9307 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9310 * chset.C: change include order
9311 (loadFile): use boost regex and get rid of LRegex and LSubstring
9313 * Makefile.am (BOOST_LIBS): new variable
9316 * LaTeX.C: change include order.
9317 (scanAuxFile): use boost regex and get rid of LRegex and
9321 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9326 * FontInfo.C: moved to frontends/xforms/
9329 * FontLoader.C: moved into frontends for GUIIzation
9334 * lyxfunc.C: changes from above
9336 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9338 * LColor.C: remove spurious X include
9340 * BufferView_pimpl.C:
9345 * text2.C: move font metrics to frontends/
9347 2002-05-24 Juergen Vigna <jug@sad.it>
9349 * undo_funcs.C (textHandleUndo): fix the cursor selection after
9350 setting the undo_cursor.
9352 * ParagraphParameters.h: include local includes first.
9354 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9356 * BufferView_pimpl.C:
9357 * BufferView_pimpl.h:
9361 * screen.C: move WorkArea into frontends/
9367 * BufferView2.C: move LyXScreen into frontends/
9371 * lyx_gui.C: move lyxlookup into frontends/xforms/
9373 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9376 * BufferView_pimpl.C:
9386 * bufferview_funcs.C:
9399 * vc-backend.C: move LyX/XFormsView into frontends/
9401 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9413 * text2.C: move Painter to frontends/
9415 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9417 * buffer.C: comment out some some code that depend upon lyx_format
9420 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9421 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9423 * buffer.h (NO_COMPABILITY): turn off compability
9425 * ColorHandler.C: include scoped_array.hpp
9427 * font.C: Use more specific smart_ptr header.
9430 * ShareContainer.h: ditto
9434 * BufferView_pimpl.h: ditto
9435 * ColorHandler.h: ditto
9437 * kbmap.C (defkey): change call to shared_ptr::reset
9439 2002-05-21 Juergen Vigna <jug@sad.it>
9441 * buffer.C (insertErtContents): fix to insert ert asis if it is
9442 non empty. Skip it completely if it contains only whitespaces.
9444 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
9446 * BufferView_pimpl.C:
9447 * BufferView2.C: clear selection on paste (bug 393)
9449 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9451 * DepTable.C: include ctime
9453 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
9455 * buffer.C (latexParagraphs): Add new argument (moving_arg).
9457 2002-05-14 Juergen Vigna <jug@sad.it>
9459 * text.C (breakParagraph): fixed function to honor the keepempty
9460 layout in the right maner and also to permit the right breaking
9461 algorithm on empty or non empyt keepempty paragraphs.
9463 * paragraph.C (breakParagraph): we have to check also if the par
9464 is really empty (!size()) for isempty otherwise we do the wrong
9467 2002-05-10 Juergen Vigna <jug@sad.it>
9469 * buffer.[Ch] : The following are only changes to the ert
9470 compatibility read reading old LaTeX layout and font stuff and
9471 convert it to ERTInsets.
9473 * buffer.h: added isErtInset().
9475 * buffer.C (struct ErtComp): add a fromlayout bool to check
9476 if we're inside a LaTeX layout.
9477 (isErtInset): new helper function.
9478 (insertErtContents): look for other ert insets before this one
9479 and insert the contents there, so that we don't have subsequent
9480 ERT insets with nothing between them. This way we create only one
9481 inset with multiple paragraphs. Also check if we don't insert only
9482 spaces ' ' as they are ignored anyway afterwards in the .tex file
9483 so if we have only spaces we will ignore this latex part in the
9485 (parseSingleLyXformat2Token \\layout): better compatibility when
9486 reading layout-latex stuff.
9487 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9489 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9490 stuff after reading the inset only get the information back from
9493 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
9495 * buffer.C (makeLaTeXFile): Put language options after loading babel.
9497 * LaTeXFeatures.C (getBabelOptions): New method.
9499 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9501 * BufferView_pimpl.C (Dispatch): work around missing argument for
9504 2002-05-08 Juergen Vigna <jug@sad.it>
9506 * text.C (leftMargin): handle paragraph leftindent.
9508 * paragraph.C (writeFile): write the new \\leftindent tag.
9509 (validate): handle leftindent code.
9510 (TeXEnvironment): handle paragraphleftindent code again.
9512 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9514 * buffer.C (parseSingleLyXformat2Token): added compatibility code
9515 for paragrap_extra indent code and new token \\leftindent.
9516 (latexParagraphs): handle the leftindent as environment.
9518 * ParameterStruct.h: added leftindent support.
9520 * ParagraphParameters.C (leftIndent): added support functions for
9521 the paragraph left indent.
9523 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9526 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
9528 * paragraph.C (isRightToLeftPar): Return false for a paragraph
9531 * text.C (computeBidiTables): No bidi in insetERT.
9533 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9536 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9538 * version.C.in: pre 5
9540 2002-05-02 José Matos <jamatos@fep.up.pt>
9541 * buffer.C (makeDocBookFile): white space changes, add newline to
9543 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9545 * tabular.C (docBook): fix typo.
9547 2002-05-03 Juergen Vigna <jug@sad.it>
9549 * screen.C (drawFromTo): recalculate the rowpointer if we had a
9550 change in LyXText as we can not be sure it was not freed.
9551 (drawOneRow): remove unused code.
9553 * text.C (drawInset): redo the calculation of the need_break_row as
9554 it could have a row which was already freed.
9555 (draw): look at the return value of drawInset and return false if
9556 it also returned false.
9557 (paintRowText): look at the return value of draw and return false if
9558 it also returned false.
9560 * lyxtext.h: added bool return type to drawInset() and draw() so that
9561 if we have a change in the row so that the rowbreak has to be redone
9562 we abort drawing as it will be called again.
9564 2002-05-02 Juergen Vigna <jug@sad.it>
9566 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9567 a change in the maintext also if we're inside an inset.
9568 (Dispatch): set the cursor again after a break line and after the
9569 screen has been updated as it could be we're in a different row.
9571 * text2.C (fixCursorAfterDelete): check to make sure we don't request
9572 to set the cursor behind the pargraph with > size().
9573 (setCursor): check also for the same paragraph when checking where
9574 to put the cursor if we have a NFR inset.
9576 * buffer.C (parseSingleLyXformat2Token): move the compatibility
9577 parts of layout read further up as it still was in the wrong
9580 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9582 * screen.C (drawFromTo): change sine fullRebreak always return
9585 * buffer.C (parseSingleLyXformat2Token): reindent some
9587 * BufferView_pimpl.C (update): change since fullRebreak always
9589 (Dispatch): git rid of the last hardcoded "Standard"s.
9591 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9593 * text2.[Ch] (fullRebreak): make it return void now that we always
9596 2002-04-30 Juergen Vigna <jug@sad.it>
9598 * buffer.C (parseSingleLyXformat2Token): reset the font before the
9599 ert compatibility check for "latex" layout.
9601 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
9603 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9604 minipages: use col% instead of p%, and also use the current font.
9605 (makeLaTeXFile): Fix use babel condition.
9606 (parseSingleLyXformat2Token): Correct font when reading old floats.
9608 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
9610 * BufferView_pimpl.C (Dispatch): Check that float type exists when
9611 inserting list of floats.
9613 2002-04-25 Herbert Voss <voss@lyx.org>
9615 * MenuBackend.C (expand): don't add the graphics extensions to the
9618 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9620 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9621 non-existing layout, do not complain if it was the default layout
9622 of the original class (bug #342)
9624 2002-04-24 Juergen Vigna <jug@sad.it>
9626 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9627 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9629 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
9631 * buffer.C (getBibkeyList): If using \bibliography, return the
9632 option field with the reference itself. Enables us to provide natbib
9633 support when using \bibliography.
9635 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
9637 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9639 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9640 natbib is provided by the LaTeX class.
9642 2002-04-23 Juergen Vigna <jug@sad.it>
9644 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9647 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9649 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9651 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9653 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9654 ensuremath around textordmasculine, textordfeminine and
9657 2002-04-19 Juergen Vigna <jug@sad.it>
9659 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9660 reinitializing the buffer otherwise row-dimensions may be wrong.
9661 (update): reset also the selection cursors if they do exits otherwise
9662 their x/y positions may be wrong.
9664 * text2.C (cursorDown): don't enter the inset if we came from a row
9665 above and are one row over the inset.
9667 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9668 really leaving an inset.
9670 2002-04-18 Juergen Vigna <jug@sad.it>
9672 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9673 of the selected paragraph does not have the selected layout also if
9676 * text2.C (setLayout): fixed bug which did not change last selected
9679 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9680 changed the read and substituted \\end_float with \\end_inset!
9682 * BufferView_pimpl.C (cursorPrevious):
9683 (cursorNext): fixed to make it work with rows heigher than the work
9684 area without moving the cursor only the draw of the row.
9685 (workAreaMotionNotify): fix jumping over high rows.
9687 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9689 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9692 2002-04-16 Juergen Vigna <jug@sad.it>
9694 * text2.C (setCursor): set also the irow().
9695 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9697 (cursorDown): support for locking an inset if the x_fix value goes
9698 inside it. That way I can transverse insets too with cursor up/down.
9700 * lyxrow.h: added irow helper function same as other (i) functions.
9702 * BufferView_pimpl.C (cursorPrevious):
9703 (cursorNext): fixed for insets!
9705 2002-04-15 Juergen Vigna <jug@sad.it>
9707 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9708 position otherwise it is wrong in some cases.
9710 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9711 inside the inset before the call.
9713 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
9715 * buffer.[Ch] (getBibkeyList): make it const.
9717 2002-04-12 Juergen Vigna <jug@sad.it>
9719 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9721 * text2.C (getCursorX): new helper function
9722 (setCursor): compute also ix_
9723 (setCursorFromCoordinates): set also ix.
9725 * lyxcursor.h: added ix_ and helper functions.
9727 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9729 * buffer.C (insertStringAsLines): dont break paragraph if the this
9730 paragraph is inside an inset which does not permit it!
9732 * text.C (breakParagraph): honor keepempty flag and break the paragraph
9733 also with no chars on this paragraph.
9734 (paintRowText): only paint stuff if it's inside the workarea!
9736 * paragraph.C (breakParagraph): honor keepempty flag and break the
9737 paragraph always below not above.
9739 * BufferView2.C (unlockInset): update the paragraph layout on inset
9740 unlock as we changed paragraph in such a case.
9742 * lyxfind.C (LyXFind): clear the former selection if not found!
9744 * text2.C (insertInset): freeze Undo after setUndo so that it is not
9745 again called in insertChar().
9747 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9748 an inset which uses the whole row!
9749 (rightMargin): ditto.
9750 (insertChar): force a rebreak if we inserted an inset!
9752 2002-03-28 Herbert Voss <voss@lyx.org>
9754 * lyxlength.[Ch]: add inBP() to get the right PS-point
9755 units (BigPoint). With inPixels we have rounding errors
9757 2002-04-11 Juergen Vigna <jug@sad.it>
9759 * text2.C (setCursorFromCoordinates): set iy to the right value.
9760 (setCursor): add check if row->previous exists!
9762 * buffer.C (parseSingleLyXformat2Token): reset font after read of
9763 an old float_type as this was the case in the old code!
9765 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9767 * BufferView2.C (showLockedInsetCursor): use iy
9768 (fitLockedInsetCursor): ditto
9770 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9771 locked insets as there we have the right value now.
9773 * lyxcursor.C: added iy_ variable and iy functions to set to the
9774 baseline of cursor-y of the locked inset.
9776 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9777 (setCursor): fixed for insets which need a full row.
9779 * text.C (rowLastPrintable): don't ignore the last space when before
9780 an inset which needs a full row.
9781 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9782 as last character of a row when before a inset which needs a full row.
9784 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9786 * version.C.in: update date
9788 * text2.C (fullRebreak): try to always return true and see what
9791 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9793 * MenuBackend.C (expand): use Floating::listName
9795 * FloatList.C (FloatList): add listName argument to the built-in
9798 * Floating.[Ch]: add listName member, which is the 'List of XXX'
9799 text associated with the float.
9801 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9803 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9805 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9807 * ShareContainer.h: add a couple of missing typenames.
9809 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
9811 * lyxrc.C (getDescription): use _() correctly rather than N_().
9813 2002-03-28 Herbert Voss <voss@lyx.org>
9815 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9816 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9818 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9820 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9821 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9823 2002-03-29 Juergen Vigna <jug@sad.it>
9825 * lyxfunc.C (dispatch): add a missing fitCursor call.
9827 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9828 it was scrolled by a cursor move, so return the bool status.
9830 * BufferView.C (fitCursor): return the bool flag also to the outside
9831 world as this is needed.
9833 * screen.C (toggleToggle): don't subtract the offset if it's positive.
9835 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9836 call the edit() as it is not needed (and wrong) IMO.
9837 (workAreaButtonPress): set the screen_first variable before evt.
9838 unlock the inset as this may change screen_first and then we have
9839 a wrong y position for the click!
9841 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9843 * MenuBackend.C (expand): another translation that I missed
9845 2002-03-28 Juergen Vigna <jug@sad.it>
9847 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9849 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9851 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9853 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9855 * MenuBackend.C (expand): fix export/view/update when there is no
9858 2002-03-27 Herbert Voss <voss@lyx.org>
9860 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9863 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9865 * bufferview_funcs.C (currentState): only show paragraph number
9866 for is DEVEL_VERSION is set.
9868 * lyxfunc.C (dispatch): put warning in INFO channel
9870 * MenuBackend.C (expand): translate the name of floats
9872 * FloatList.C (FloatList): mark the float names for translation
9874 * converter.C (convert): use LibScriptSearch
9876 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9878 * MenuBackend.C (defaults): fix default menu (we might as well get
9881 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9883 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9886 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9888 * lyxvc.C: reorder includes.
9890 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
9892 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9895 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
9897 * CutAndPaste.C: change layouts earlier on paste
9898 to avoid crashing when calling getFont()
9900 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
9902 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9905 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9907 * WorkArea.C: remove 'Pending' debug message.
9909 * most files: ws cleanup
9911 * buffer.[Ch]: ws changes
9913 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9915 2002-03-21 Juergen Vigna <jug@sad.it>
9917 * tabular.C (SetMultiColumn): collapse also the contents of the
9918 cells and set the last border right. Added a Buffer const * param.
9920 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9922 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9925 2002-03-19 Juergen Vigna <jug@sad.it>
9927 * text2.C (clearSelection): reset also xsel_cache.
9929 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9930 where it needs to be called (John tells us to do so too :)
9931 (selectionLost): reset sel_cache.
9933 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9935 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9937 * text2.C (setCursorIntern): put debuging code in INSETS channel
9939 2002-03-19 André Pönitz <poenitz@gmx.net>
9941 * lyxfunc.C: tiny whitespace change
9943 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9945 * ToolbarDefaults.C (init):
9946 * LyXAction.C (init):
9948 * BufferView_pimpl.C (Dispatch):
9949 * lyxfunc.C (dispatch): remove LFUN_DEPTH
9951 2002-03-19 Allan Rae <rae@lyx.org>
9953 * exporter.C (Export): removeAutoInsets before doing anything else.
9954 While I've just introduced a dependency on BufferView this really is
9955 the best place to clean the buffer otherwise you need to cleanup in
9956 a dozen places before calling export or cleanup in a dozen functions
9959 * converter.C (runLaTeX):
9960 (scanLog): Better handling of removeAutoInsets and screen updates.
9962 * lyxfunc.C (dispatch): small whitespace changes
9964 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9966 * WorkArea.C (C_WorkAreaEvent): return a value.
9967 (event_cb): return 1 if we handled the event, 0 otherwise.
9969 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9971 2002-03-18 Juergen Vigna <jug@sad.it>
9973 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9974 (GetAdditionalWidth): ditto.
9978 * BufferView2.C (copy): use getLyXText() so that we do it inside an
9979 inset if we're there actually (probably not used right now but this
9980 is the direction to go for unifying code).
9981 (paste): disable code to clear the selection.
9983 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9984 inside an InsetText and move the check further up as it is in the
9987 * text2.C (pasteSelection): set a selection over the pasted text.
9989 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
9991 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9992 and libgraphics to build on Cygwin.
9994 2002-03-15 Juergen Vigna <jug@sad.it>
9996 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9997 inserting an Inset into the paragraph. I know this is not the best
9998 fix but we already use current_view in CutAndPaste so we will remove
9999 all of it's using at the same time.
10001 * buffer.C (sgmlError): deactivated function till it is rewritten in
10002 the right mode, now it can create problems.
10004 * paragraph.C (isLineSeparator): check if getInset returns != 0,
10005 before accessing it.
10007 2002-03-14 Juergen Vigna <jug@sad.it>
10009 * undo_funcs.C (textHandleUndo): do the right thing when updating
10010 the inset after the undo/redo.
10012 * text2.C (setCursor): just some testcode for #44 not ready yet.
10014 * undo_funcs.C (textHandleUndo): set the next() and previous()
10015 pointers of the paragraph to 0 before deleting otherwise we have
10016 problems with the Paragraph::[destructor].
10018 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10019 on a paragraph insertion.
10021 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10023 * buffer.C (asciiParagraph): use += operator for char append to
10026 * paragraph.C (getFontSettings): compare >= not just >
10027 (highestFontInRange): ditto
10030 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10032 * paragraph.C: change several algorithm to be more appripriate for
10033 the problem domain. This is lookip in FontList and in the InsetList.
10035 2002-03-13 André Pönitz <poenitz@gmx.net>
10038 * LyXAction.C: remove unused LFUN_MATH_MACROARG
10040 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
10045 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10047 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10049 * Painter.C (display): anon helper function, adjust code for this
10051 (pixmap): remove function.
10053 * Painter.h: remove private display variable.
10055 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10057 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
10059 * WorkArea.[Ch]: remove figinset_canvas cruft.
10061 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10063 * lyxtextclass.C (operator): add one item cache optimization.
10065 * bufferlist.h: doxy changes
10067 * bufferlist.C: ws changes
10069 * DepTable.[Ch] (ext_exist): place const in the right spot.
10071 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10073 (workAreaExpose): call resizeInsets when the with BufferView changes.
10074 (Dispatch): adjust for protectedBlank removal
10075 (specialChar): call updateInset if the insert went ok.
10077 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10078 specialChar instead.
10080 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10082 * BufferView.h: doxy change
10084 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10086 * lyxtextclass.C (operator[]): remove non-const version
10087 (defaultLayout): remove non-const version
10089 2002-03-12 Juergen Vigna <jug@sad.it>
10091 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10092 did resize the LyXText too.
10094 * buffer.C (readLyXformat2): set layout information on newly allocated
10097 * tabular.C (OldFormatRead): set layout information on the paragraph.
10099 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10101 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10103 2002-03-11 Juergen Vigna <jug@sad.it>
10105 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10107 (resizeCurrentBuffer): force also the insets to resize themselfes.
10108 (moveCursorUpdate): fixed up for InsetText.
10110 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
10113 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10114 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10115 value of Dialogs::tooltipsEnabled().
10116 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10118 2002-03-08 Juergen Vigna <jug@sad.it>
10120 * BufferView_pimpl.C (updateInset): update inset inside inset also
10121 if it isn't inside theLockingInset().
10123 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10125 * buffer.C (asciiParagraph): redo some of the word and line length
10127 (getLists): look for Caption instead of caption.
10129 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10131 * buffer.C (Buffer): initialize niceFile to true
10133 (makeLinuxDocFile):
10134 (makeDocBookFile): make sure niceFile is true on exit
10136 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10138 * buffer.C (makeLaTeXFile): escape ~ in \input@path
10140 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
10142 * LyXSendto.C: remove.
10143 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10144 * lyx_gui.C: remove now-redundant comment.
10145 * ColorHandler.h: remove forward declaration of class WorkArea.
10146 * lyxfunc.C: remove #include "WorkArea.h".
10148 2002-03-07 Juergen Vigna <jug@sad.it>
10150 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10151 got moved away with the DEPM and also set the inset_owner always
10152 right which before could have been omitted.
10154 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10156 * buffer.C (parseSingleLyXformat2Token): use default layout is the
10157 wanted layout is not found.
10159 2002-03-07 Juergen Vigna <jug@sad.it>
10161 * CutAndPaste.C (cutSelection): another layout settings forgotten.
10163 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10165 * paragraph.C (breakParagraph): use default layout not layout of
10167 (Paragraph): clear ParagraphParameters.
10169 2002-03-06 Juergen Vigna <jug@sad.it>
10171 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10172 otherwise it would not be a valid lenght. Fixed a special case in
10173 the minipage compatibility read where we end the document with a
10176 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10177 was set as it could be 0 for InsetTexts first entry.
10179 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10181 * paragraph.C (writeFile): if layout is empty write out
10182 defaultLayoutName().
10184 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10185 file without named layout we set layout to defaultLayoutName().
10187 2002-03-06 Juergen Vigna <jug@sad.it>
10189 * CutAndPaste.C (copySelection): set layout for new paragraph.
10191 * text.C (prepareToPrint): leave ERT inset left aligned
10192 (leftMargin): don't indent paragraphs inside ERT insets
10194 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10196 * paragraph.C (breakParagraph): dont call clear do the work manually
10198 * paragraph.[Ch] (clear): remove function
10200 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10202 * paragraph.C (Paragraph): dont call clear, the work has already
10205 * lyxtextclass.C (operator): assert if n is empty
10207 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10208 work manually instead.
10210 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10212 * BufferView_pimpl.C: protect selectionLost against text == 0
10214 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10216 * text.C (breakParagraph): fix a setting layout to '0' problem.
10218 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10220 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10221 final location of file, for the included files, and graphics.
10223 2002-03-05 Juergen Vigna <jug@sad.it>
10225 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10227 2002-03-04 Juergen Vigna <jug@sad.it>
10229 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10231 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10232 last column of multicolumn cells.
10233 (SetWidthOfMulticolCell): recalculate NMC and real columns.
10235 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
10237 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10238 file if it doesn't go to a temporary file.
10240 * buffer.C (sgmlOpenTag):
10241 (sgmlCloseTag): remove extra newline insertion.
10243 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10245 * text.C (getRowNearY): comment out debug msg
10247 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10249 * text2.C: first -> first_y
10251 * text.C (getRowNearY): add some attemts at a possible
10252 optimization, not working.
10254 * tabular.[Ch]: add BufferParams to several function so that newly
10255 created paragraph can be initialized to he default layotu for the
10258 * tabular-old.C (ReadOld): add buf->params to call of Init
10260 * screen.C: rename text->first to text->first_y
10262 * paragraph.C (breakParagraph): always set layout in the broken
10265 * lyxtextclass.C (Read): remove lowercase
10268 (delete_layout): ditto
10270 * lyxtext.h: rename first -> first_y
10272 * lyxlayout.C (Read): remove lowercase
10275 (obsoleted_by): ditto
10277 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10279 * buffer.C (insertErtContents): add params are to InsetERT
10280 (parseSingleLyXformat2Token): add code to check if a paragraphs
10281 layout really exist.
10282 (parseSingleLyXformat2Token): add params to several inset
10284 (asciiParagraph): remove lowercase, do the layout comparisons with
10287 * BufferView_pimpl.C (cursorNext): first -> first_y
10288 (resizeCurrentBuffer): first -> first_y
10289 (updateScrollbar): first -> first_y
10290 (scrollCB): first -> first_y
10291 (workAreaMotionNotify): first -> first_y
10292 (workAreaButtonPress): first -> first_y
10293 (checkInsetHit): first -> first_y
10294 (cursorPrevious): first -> first_y
10295 (cursorNext): first -> first_y
10296 (Dispatch): add buffer_->params to severl inset contructors
10298 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10300 * lyxlayout.C (Read): remove some debug info that I forgot.
10302 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10303 clean up the code slightly.
10304 (makeLinuxDocFile): ditto
10305 (makeDocBookFile): ditto
10307 * text2.C: layout as string
10309 * text.C: layout as string
10311 * paragraph_pimpl.C: layout as string
10313 * paragraph.[Ch]: layout as string
10315 * lyxtextclasslist.[Ch]: layout as string
10317 * lyxtextclass.[Ch]: layout as string
10319 * lyxtext.h: layout as string
10321 * lyxlayout.[Ch]: layout as string
10323 * lyx_cb.C: layout as string
10325 * bufferview_funcs.C: layout as string
10327 * bufferparams.C: layout as string
10329 * buffer.C: layout as string
10331 * LyXView.[Ch]: layout as string
10333 * LaTeXFeatures.[Ch]: layout as string
10335 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10337 * BufferView_pimpl.C: change current_layout to string, remove
10342 (workAreaButtonRelease): layout as string
10344 * BufferView2.C (unlockInset): adjust
10346 * vspace.C (asLatexCommand): use an explict temp variable.
10348 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10350 * Makefile.am: use FRONTEND_*
10352 2002-03-01 Juergen Vigna <jug@sad.it>
10354 * tabular.C (SetWidthOfMulticolCell): changed to something better
10355 I hope but still work in progress.
10356 (recalculateMulticolumnsOfColumn): renamed function from
10357 recalculateMulticolCells as it is more appropriate now.
10358 (SetWidthOfCell): calculate multicols better.
10360 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10362 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10364 * lyxfunc.C (processKeySym): print sequence also if it is
10365 `deleted' (complete)
10367 * kbsequence.C (print): print sequence even if it is deleted
10368 (complete would be a better word, actually).
10370 * lyxfunc.C (dispatch): print complete options after a prefix key
10372 * vspace.C (asLatexCommand): rewrite in a slightly different form.
10374 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
10376 * text2.C (setCharFont): eliminate setCharFont code duplication.
10378 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10380 * BufferView_pimpl.C (Dispatch): remove bogus handling of
10381 LFUN_TABULAR_FEATURE (bug #177)
10383 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
10385 * Makefile.am: remove figure.h
10387 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
10389 * Bufferview_pimpl.C:
10401 * text2.C: remove #include "lyx_gui_misc.h".
10403 * LaTeX.C: added #include <cstdio>
10405 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10407 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10408 that the paragraph following this one can have.
10410 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10412 * vspace.C (asLatexCommand): fix bogus gcc warning
10414 * Makefile.am (lyx_SOURCES): remove vms_defines.h
10416 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
10418 * text2.C (setLayout): get rid of redundant code
10420 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
10422 * text2.C (incDepth): make sure depth cannot be increased beyond
10425 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
10427 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10428 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10430 * PainterBase.h (image):
10431 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10432 a LyXImage const *.
10434 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10438 * BufferView_pimpl.C:
10439 * BufferView_pimpl.h:
10459 * sp_spell.C: remove fig inset, and the crap house of
10460 cards that follows it
10462 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10467 * os2_errortable.h:
10468 * nt_defines.h: move .h into support/
10470 * vms_defines.h: remove
10472 * WorkArea.C: add space in debug output
10476 * buffer.C: add WITH_WARNINGS
10480 * bufferlist.C: s/retrive/retrieve/, add docs
10489 * chset.C: add docs
10491 * lyxgui.C: add ID to X error handler
10493 * lyxtestclass.c: fix typo
10495 2002-02-26 Juergen Vigna <jug@sad.it>
10497 * tabular_funcs.C (write_attribute): changed so that some default
10498 attributes are not written at all.
10499 (getTokenValue): set default values before trying to read the
10500 value so we have the return value always set as default if we don't
10501 find the token we search for.
10503 * tabular.C (Write): write bools as bools not as strings!
10505 2002-02-22 Juergen Vigna <jug@sad.it>
10507 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10508 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10510 * text.C (leftMargin): don't add an indent for paragraphs inside
10511 tabular cells (fix #208).
10513 2002-02-21 José Matos <jamatos@fep.up.pt>
10515 * tabular.C (docBook): fixed support for long tables.
10517 2002-02-20 Juergen Vigna <jug@sad.it>
10519 * text2.C (getFont): get the drawing font of the Inset if this
10520 paragraph is inside an inset (only important for InsetERT for now).
10522 * buffer.C (insertErtContents): use new lanugage params in ERT
10525 * CutAndPaste.C: commenting out seemingly uneeded code.
10527 2002-02-19 Allan Rae <rae@lyx.org>
10529 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10530 Iterators might be simple to use but they also get invalidated.
10531 (removeAutoInsets): renamed saved cursor tracking variables and added
10532 some comments to clarify what everything does.
10534 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
10541 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10542 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10545 * vc-backend.h: remove #include "support/syscall.h"
10549 * converter.C: rearrange #includes in Lars' approved fashion.
10551 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10552 forward declare class Timeout in the header file.
10554 * XFormsView.C: changes due to the above.
10556 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10557 similar to LyXView.
10559 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10560 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10562 2002-02-18 José Matos <jamatos@fep.up.pt>
10564 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10567 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10569 * a lot of small ws changes
10570 * add a lot of using std::XXX
10571 * use std construcs some places where approp.
10572 * use some exisint stuff from lyxfunctional where approp.
10573 * Make file changes to use partial linking (lets test this now...)
10575 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10579 remove #include "support/syscontr.h" as it's redundant. Always has been.
10587 change Systemcalls::System to Systemcalls::Wait and
10588 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10589 No change of functionality, just reflects the stripped down Systemcalls
10592 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10594 * debug.[Ch]: add a GRAPHICS type to the enum.
10596 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10598 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10600 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10603 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10605 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10606 match the changes below.
10608 * text2.C (toggleInset): if there is not editable inset at cursor
10609 position, try to see if cursor is _inside_ a collapsable inset
10612 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10614 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10615 document menu has a nice checkbox
10617 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10619 * lyxlength.C (asLatexString): change PW to output as percent of
10622 * lengthcommon.C: change '%' to 't%'
10624 * lyxfunc.C (dispatch): a few comments from Martin
10626 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
10630 * BufferView_pimpl.h:
10631 * BufferView_pimpl.C: clear our selection when X tells us we've lost
10634 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10636 * vspace.C (inPixels): fix compiler warning
10638 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10640 * lyxfunc.C (getStatus): fix status message for disabled commands.
10642 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
10644 * BufferView_pimpl.C: fix crash on close buffer
10645 during selection (#227)
10647 2002-01-27 Herbert Voss <voss@lyx.org>
10649 * buffer.C: link old Figure to new graphic inset
10651 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
10653 * FontLoader.C (getFontinfo): Change the latex font names in order
10654 to match the names of type1inst.
10656 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10658 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10660 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10661 (extchanged): ditto
10663 (remove_files_with_extension): ditto
10664 (remove_file): ditto
10667 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10668 document is smaller than the work area height. Do not initialize
10669 static variables to 0.
10671 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10673 * lyx_gui.C (init): give the toolbar tooltips a normal font.
10675 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10676 LFUN_LAYOUT_PARAGRAPHS.
10678 * tabular.C (GetCellFromInset): new method. Finds an inset in a
10679 tabular. It is possible to provide a possible cell, which will
10680 typically be the actcell from the corresponding insettabular
10682 * lyxfunc.C (getStatus): small cleanup; disable
10683 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10686 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10688 * tabular.C (Validate): remove broken optimization (fixes bug #201)
10690 * paragraph.C (startTeXParParams):
10691 (endTeXParParams): new methods. The LaTeX code to
10692 start/end paragraph formatting
10693 (simpleTeXOnePar): call startTeXParParams also when paragraph is
10694 empty (fixes bug #200)
10696 * vspace.C (inPixels): adapt to the change below
10697 (inPixels): [later] more cleanups (remove unused variables)
10699 * lyxlength.C (inPixels): change to use a width and a height as
10702 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10704 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10705 Replaced with \paperwidth
10707 * DepTable.C (insert): add std:: qualifier
10709 2002-01-18 Allan Rae <rae@lyx.org>
10711 * text2.C (removeRow): add comment. Should other refresh_?? vars be
10714 * text.C (drawInset): Turned out I didn't know enough about how
10715 rebreaking worked. This fixes most of the redraw problems. I see
10716 an occasional cursor trail when a line is broken now and the cursor
10717 placement can seem out by a few pixels also after a rebreak.
10719 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10721 * buffer.C (parseSingleLyXformat2Token): update because minipage
10722 width is now a LyXLength
10724 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10726 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10729 2002-01-17 Juergen Vigna <jug@sad.it>
10731 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10733 * BufferView2.C (lockInset): call edit() so that theLockingInset()
10734 is set correctly and the inset is updated correctly.
10736 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10738 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10739 the beginning of the loop.
10741 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
10743 * lyxrc.C: improve help for use_scalable_fonts
10745 2002-01-17 Allan Rae <rae@lyx.org>
10747 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10749 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10751 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10752 make sure to set their inset_owner to the right value (bug #171)
10754 2001-12-12 Ben Stanley <bds02@uow.edu.au>
10757 * DepTable.C: Implement mtime checking to reduce time spent doing
10760 2002-01-16 Juergen Vigna <jug@sad.it>
10762 * tabular.C (GetAdditionalHeight): one of error fixed.
10764 * lyxrc.C (output): small fix in writing use_pspell.
10766 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
10768 * sp_base.h: #include LString.h
10770 2002-01-16 Allan Rae <rae@lyx.org>
10772 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
10773 Can someone check this please?
10775 * text.C (drawInset): It was possible that p.row would be removed by
10776 breakAgainOneRow upsetting a few other settings. There may be another
10777 small tweak possible by setting need_break_row = 0 when p.row has been
10778 removed but I don't know enough about the logic here.
10780 2002-01-15 Allan Rae <rae@lyx.org>
10782 * text.C (insertChar): removed conditional truism.
10784 * BufferView2.C (removeAutoInsets): More tweaks.
10785 cur_par_prev could be a stray pointer. Check for trailing empty line
10786 in case last line was cur_par and only had an error inset on it.
10788 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10790 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10793 * vc-backend.C (most methods):
10794 * exporter.C (Export):
10795 * converter.C (convert):
10797 * LyXSendto.C (SendtoApplyCB):
10798 * lyxfunc.C (dispatch):
10802 * lyx_cb.C (AutoSave):
10804 * BufferView_pimpl.C (MenuInsertLyXFile):
10805 * buffer.C (runChktex): use Buffer::filePath().
10807 * buffer.h: rename filename to filename_; rename filepath to
10808 filepath_ and make it private
10809 (filePath): new method
10811 * buffer.C (writeFile): use fileName()
10814 * lyx_main.C (init): fix starting of LyX when the binary is a
10815 link from so,ewhere else.
10817 * minibuffer.C: include <cctype> for isprint
10819 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10821 * buffer.C (parseSingleLyXformat2Token): changes associated with the
10822 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10823 name clash with InsetCollapsable's width function.
10825 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10827 * lastfiles.C: include <iterator>
10829 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10831 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10834 * buffer.C (makeLaTeXFile): ditto.
10835 Also make loop operation more transparent.
10837 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10839 * ToolbarDefaults.C: remove trailing comma closing namespace.
10841 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10843 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10846 * trans.C (Load): comment out unused variable, allowed.
10848 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10850 * minibuffer.[Ch] (append_char): new method to recieve input from the
10851 drop-down completion browser. If a key was pressed, then recieve this
10852 char and append it to the existing string.
10853 (peek_event): modify the positioning data passed to the completion
10854 browser so that it can be placed above the minibuffer rather than below.
10855 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10857 * LyXAction.C (init): alloe error-next for readonly documents.
10859 * BufferView2.C (ChangeRefsIfUnique): use standard version of
10862 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10864 * bufferlist.C (readFile): create the buffer _after_ checking that
10867 * lyxfunc.C (verboseDispatch): fix handling of arguments
10869 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10871 * lyxrc.C: use string::erase() instead of initializing to "".
10874 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10876 * BufferView_pimpl.h:
10877 * BufferView_pimpl.C:
10880 * text2.C: tell X when we have made a selection for copying
10882 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10884 * BufferView_pimpl.C (MenuInsertLyXFile):
10885 * lyxfunc.C (menuNew):
10887 (doImport): add shortcuts to directory buttons
10889 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10892 * lyxfunc.C (setStatusMessage):
10893 (getStatusMessage): new methods
10894 (getStatus):use setStatusMessage instead of setErrorMessage
10895 (dispatch): when function is disabled, set error message here
10896 [instead of in getStatus previously]
10898 * BufferView_pimpl.C (workAreaButtonRelease): update
10899 toolbar/menubar here too.
10901 2002-01-13 Allan Rae <rae@lyx.org>
10903 * BufferView2.C (removeAutoInsets): finished off earlier fix.
10904 Now seems indestructible. Remaining task is to audit all other
10905 code affected by deleteEmptyParagraphMechanism. One small quirk
10906 left is that an empty document with an error in the preamble can
10907 be made to report an error but no error box appears. I don't know
10909 (removeAutoInsets): Improved comments.
10911 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
10914 * Thesaurus.C: update for Aiksaurus 0.14
10916 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10918 * text2.C (firstParagraph): removed member function, all uses
10919 replaces with ownerParagraph
10920 (redoParagraphs): here
10921 (updateInset): here
10922 (toggleAppendix): here
10923 * BufferView2.C (insertErrors): here
10924 (setCursorFromRow): here
10926 2002-01-13 Allan Rae <rae@lyx.org>
10928 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10929 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10930 There is still a way to segfault this although you may have to do this
10931 multiple times: Have an InsetERT with an unknown command in it.
10932 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10933 <down-arrow>, <Enter> again, View->DVI, BANG!
10935 * text2.C (setCursor):
10936 (deleteEmptyParagraphMechanism):
10937 * lyxtext.h (setCursor):
10938 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10939 Making use of the return value may help fix other bugs.
10941 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10943 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10945 * LyXView.C (updateMenubar): call MenuBar::update here
10946 (updateToolbar): but not here
10947 (showState): do not update toolbar/menubar
10949 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10950 should need to care about that.
10952 * lyxfunc.C (verboseDispatch): simplify a bit
10953 (getStatus): have a version which takes a pseudoaction, and
10954 another which requires a (kb_action,string).
10956 * LyXAction.C (retrieveActionArg): make it work also when action
10957 is not a pseudo-action.
10958 (getActionName): simplify a bit
10961 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10963 * lyxfunc.C (verboseDispatch): new families of methods with
10964 several ways to specify a command and a bool to indicate whether
10965 the command name and shortcut should be displayed in minibuffer
10966 (eventually, we could extend that to a finer bitmask like
10967 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10968 (dispatch): the pristine dispatch command which just, well,
10969 dispatchs! Note it still sets its result to minibuffer; I'm not
10972 * lyxfunc.h: remove setHintMessage
10974 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10976 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10978 * BufferView_pimpl.C (specialChar): delete new inset if we have
10979 not been able to insert it.
10981 * kbmap.C: revert to using int instead of kb_action, since all we
10982 are dealing with is pseudo-actions.
10984 * LyXAction.C (searchActionArg): change to return int instead of
10985 kb_action, since the result is a pseudoaction.
10987 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
10989 * buffer.C (insertErtContents): Fix (partially) the font bug.
10991 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10993 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10994 as the other one is broken on my machine!
10996 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
10999 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11001 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
11003 * lyxrc.[Ch]: change names and descriptions of popup font variables to
11004 reflect their actual use. Provide compatibility code for older lyxrc
11007 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11009 change names of popup font variables in line with the changes to lyxrc.C
11011 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11013 * buffer.C (asciiParagraph): avoid outputing a word twice after
11016 * lyxrc.C (getDescription): document that document_path and
11017 template_path can be empty.
11019 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11021 * LaTeXFeatures.C (getMacros):
11022 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11024 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11026 * LaTeXFeatures.C (useFloat): require "float" here instead of in
11028 (getPackages): rename feature "floats" to "float". Use an array to
11029 iterate over 'simple' features (i.e. just a \usepackage). Add
11030 handling of "amsmath" (renamed from "amsstyle").
11032 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
11034 * LaTeXFeatures.C (require): Prevent duplicate entries in the
11037 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
11039 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11040 FuncStaus::FuncStatus & FuncStaus::some_method().
11042 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
11044 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11045 of the func_satus stuff. Edited and massaged in various ways by
11048 * lyxfunc.C (getStatus): use FuncStatus
11050 2002-01-08 Juergen Vigna <jug@sad.it>
11052 * text.C (nextBreakPoint): use function Inset::isChar().
11054 * paragraph.C (TeXOnePar): use function
11055 Inset::forceDefaultParagraphs.
11057 * buffer.C (latexParagraphs): use function
11058 Inset::forceDefaultParagraphs.
11060 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11062 * lyx_gui.C (init): set the style of the menu popups to
11063 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11065 2002-01-07 Juergen Vigna <jug@sad.it>
11067 * text.C (setHeightOfRow): small fix
11068 (prepareToPrint): don't look at alignment if we don't have the place
11071 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11073 * box.C: New file. Move the Box methods and functions out of box.h,
11074 following Lars' suggestion.
11076 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11078 * box.h: #include "support/LOstream.h", needed for inlined function.
11081 * lyxtextclasslist.C: added some using std declarations.
11083 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
11085 * box.h: make signed dimensions to allow insets wider than
11086 the screen (bug #162)
11088 * BufferView_pimpl.C: add some insetHit debug
11090 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
11092 * vc-backend.C: add FIXME
11094 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11096 * lyxfunc.C (getStatus): enable code for showing math font status
11099 2002-01-07 Juergen Vigna <jug@sad.it>
11101 * text.C (nextBreakPoint): removed debug output not needed anymore.
11103 2002-01-06 Juergen Vigna <jug@sad.it>
11105 * text.C (nextBreakPoint): fixed up this function we had this bug
11106 since ever but now hopefully we break row better.
11107 (insertChar): we have to check if an inset is the next char as it
11108 could now happen that a large inset is causing a break.
11110 2002-01-05 Juergen Vigna <jug@sad.it>
11112 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11113 if it doesn't like to be drawed.
11115 2002-01-04 Juergen Vigna <jug@sad.it>
11117 * BufferView2.C (lockInset): forgot to set a cursor.
11119 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11121 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
11123 * FormMathsPanel.C:
11126 * form_maths_panel.C:
11127 * form_maths_panel.h:
11128 * form_maths_panel.fd: implemented sub- and super- buttons in math
11131 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11132 (or ^ space) to be used as in TeX (req'd by André).
11134 * lyxfunc.C: Allow ^ and _ again to be used both as
11135 super/subscript (mathed) and as themselves (in text).
11137 2002-01-03 Allan Rae <rae@lyx.org>
11139 * LyXView.C (updateWindowTitle): Setup a short icon title of either
11140 "LyX" or the filename of the current buffer if it has one. This is a
11141 modified form of John Levon's patch.
11143 * XFormsView.C (setWindowTitle): also set icon title.
11145 * LyXView.h (setWindowTitle): signature changed.
11146 * XFormsView.h (setWindowTitle): ditto.
11148 2002-01-02 Juergen Vigna <jug@sad.it>
11150 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11152 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11154 * screen.C (topCursorVisible): introduce a temp var for
11155 text->cursor.row(), handle the case where this row is null. (kindo
11158 * text2.C (setCursor): add a couple of asserts.
11160 * paragraph.h (inset_iterator): add -> operator
11162 * paragraph.[Ch] (autoDeleteInsets): remove member function
11164 * BufferView2.C (removeAutoInsets): rewrite to handle the old
11165 cursor pos correctly and handle inset deletion by itself.
11166 (insertErrors): move iterator declaration out of for expression
11168 * lyxtextclass.C: add <algorithm>
11170 * Makefile.am: added the new files to sources, removed layout.C
11172 * layout.C: removed file
11174 * layout.h: remove LYX_DUMMY_LAYOUT
11176 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11180 * lyxtextclass.[Ch]:
11181 * lyxtextclasslist.[Ch]: new files
11183 * include order changes to a lot of files, also changes because of
11186 2001-12-27 Juergen Vigna <jug@sad.it>
11188 * buffer.C (asciiParagraph): more fixes.
11190 * tabular.C (ascii): make ascii export support export of only the
11191 data separated by a column-delimiter.
11192 (ascii): better support for ascii export.
11194 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11196 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11198 * tabular_funcs.C: use a "using std::getline" instead of the
11199 previous fix from Angus (necessary for cxx + lyxstring)
11201 2001-12-24 Juergen Vigna <jug@sad.it>
11203 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11205 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11206 problems. First check a minipage also if we have some ert-contents
11207 (not only on par->size(), second set the right depth of the paragraph
11208 on the relink to the root-paragraph-list!
11210 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11211 which then did not anymore update the main paragraphs on undo/redo!
11213 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11215 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11216 code. Support all font-changing funcs (even those which are not in
11217 menu currently). Support for reporting font settings in
11218 mathed (disabled until Andre provides a function on mathed's side).
11220 * func_status.h (toggle): small helper function to set toggle
11223 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
11225 * tabular_funcs.C: getline -> std::getline
11227 2001-12-21 Juergen Vigna <jug@sad.it>
11229 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11230 accessed and could be 0 (I couldn't generate this but it seems
11233 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11235 * tabular_funcs.C: add LIstream.h, move write_attribute to..
11236 * tabular_funcs.h: here and include iosfwd
11238 2001-12-20 Juergen Vigna <jug@sad.it>
11240 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11241 inside inset but undo_par was.
11243 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11245 * Thesaurus.C: always include <config.h> in sources.
11249 * box.h: do not include <config.h> in header files
11251 * text.C (paintLastRow): remove unused variable
11253 * text.C (transformChar):
11255 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11257 * Painter.C (text):
11258 * font.C (width): rewrite to use uppercase() instead of
11261 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11263 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
11265 * lyxfind.C: clean up of find failure position change
11267 2001-12-20 Juergen Vigna <jug@sad.it>
11269 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11271 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11272 (TeXRow): added to LaTeX a single tabular row.
11273 (TeXLongtableHeaderFooter): added to output LT-h/f data.
11274 (Latex): simplified and finally good LT-h/f support.
11275 (various_functions): just small adaptions for LT-h/f support.
11277 * tabular_funcs.[hC]: added and moved here all not classfunctions
11280 2001-12-19 Juergen Vigna <jug@sad.it>
11282 * tabular.[Ch]: better support for longtabular options (not finished
11285 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11287 * text.C (paintLastRow): use the label font instead of the font of
11288 the last character to compute the size of *_BOX. This makes more
11289 sense and avoids a crash with empty paragraphs.
11290 Use Painter::rectangle to draw EMPTY_BOX.
11292 2001-12-19 Juergen Vigna <jug@sad.it>
11294 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11295 the paragraphs if the replaced paragraph is not the first one!
11296 Tried to delete not used paragraphs but does not work yet so for
11297 now it's inside #ifdef's and by default off!
11299 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11301 * MenuBackend.C: include "lyx_main.h" instead of declaring
11302 lastfiles (actually was declared as LastFiles* instead of a
11305 2001-12-17 Juergen Vigna <jug@sad.it>
11307 * tabular.C (AppendColumn): applied John's fix
11309 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
11313 * BufferView_pimpl.h:
11314 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11317 * box.h: new start of class for above
11319 * lyxfunc.C: ignore space-only minibuffer dispatches.
11320 Show the command name when it doesn't exist
11322 * minibuffer.C: don't add empty lines to the history
11324 * minibuffer.C: add a space on dropdown completion
11326 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
11328 * text.C: fix line above/below drawing in insets
11330 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11332 * lyxlength.C (LyXLength): Initialize private variables.
11334 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
11336 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11337 when inserting error insets.
11339 2001-12-13 Juergen Vigna <jug@sad.it>
11341 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11342 actually sometimes the before-paragraph.
11343 (setUndo): don't clear the redostack if we're not actually undoing!
11345 2001-12-06 Juergen Vigna <jug@sad.it>
11347 * undo_funcs.C (textHandleUndo): well after John's hint I got here
11348 and fixed redoing of main paragraph, so we can use it now ;)
11350 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11352 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11354 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11357 2001-12-13 André Pönitz <poenitz@gmx.net>
11360 * undo_func.C: minor cleanup
11362 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11364 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11365 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11366 font in urw-fonts package which is marked as -urw-fontspecific and
11367 does not work (incidentally, changing the encoding in the
11368 fonts.dir of this package to -adobe-fontspecific fixes the
11371 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11372 is a crash when undoing first paragraph (Juergen, please take a
11373 look). THis does not mean the undo fix is wrong, just that it
11376 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11377 the (Paragraph*) version when needed instead of duplicating the
11380 * text.C (workWidth): use Inset::parOwner to find out where the
11381 inset has been inserted. This is a huge performance gain for large
11382 documents with lots of insets. If Inset::parOwner is not set, fall
11383 back on the brute force method
11385 * paragraph_pimpl.C (insertInset):
11386 * paragraph.C (Paragraph):
11387 (cutIntoMinibuffer): set parOwner of insets when
11388 inserting/removing them
11390 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11392 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
11398 * mathed/formulabase.C:
11399 * mathed/math_cursor.[Ch]:
11400 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11403 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11405 * lyxlength.[Ch] (operator!=): new function
11407 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11409 * text.C (workWidth): use Inset::parOwner to find out where the
11410 inset has been inserted. This is a huge performance gain for large
11411 documents with lots of insets. If Inset::parOwner is not set, fall
11412 back on the brute force method
11414 * paragraph_pimpl.C (insertInset):
11415 * paragraph.C (Paragraph):
11416 (cutIntoMinibuffer): set parOwner of insets when
11417 inserting/removing them
11419 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11421 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11423 * tabular-old.C (getTokenValue):
11424 * tabular.C (getTokenValue):
11425 (write_attribute): new versions for LyXLength
11426 (everywhere): adjust the use of widths
11428 * tabular.h: change the type of widths from string to LyXLength
11430 2001-12-11 Ben Stanley <bds02@uow.edu.au>
11432 * paragraph.C: fixed missing line number count when exporting
11433 Environments to LaTeX file
11435 * buffer.C: added informational message for checking line numbers.
11437 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11439 * text2.C (deleteEmptyParagraphMechanism): if there is only one
11440 paragraph, do the 'double space' part, but not the 'empty
11443 * text.C (workWidth): small optimization
11444 (getLengthMarkerHeight): use minimal size for negative lengths.
11446 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
11448 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11450 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11452 2001-12-11 André Pönitz <poenitz@gmx.net>
11455 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11457 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11459 * text2.C: keep selection on a setFont()
11461 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11463 * lyx_cb.C: another bv->text misuse, from insert label
11465 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11468 * kbsequence.C: re-instate nmodifier mask
11470 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
11472 * lyx_main.h: make lyxGUI private.
11474 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11476 * lyxfind.C: place the cursor correctly on failed search
11478 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11480 * text.C (getLengthMarkerHeight): for small heights, the arrows
11481 are not always on top/bottom of the text
11482 (drawLengthMarker): smaller arrows; take the left margin in
11483 account; draw also vfills.
11485 (paintLastRow): remove special code for vfill and standard spaces,
11486 since everything is handled in drawLengthMarker now.
11488 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11490 * buffer.C (insertErtContents): try to handle font and language
11491 interaction a bit better.g
11493 * ColorHandler.C (updateColor): change the hash to cover the whole
11494 LColor enum, ws cleanup
11495 (getGCLinepars): ditto
11496 (getGCLinepars): only lookup in the linecache once.
11498 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
11500 * iterators.C (operator++): Make the iterator more robust
11502 * BufferView2.C (removeAutoInsets): Use paragraph iterators
11504 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11506 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11509 * text.C: better added space drawing
11511 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11514 * BufferView2.C: fix layout combo update on inset unlock
11516 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11518 * Makefile.am: don't compile unused files
11520 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11524 * LyXAction.C: remove old LFUN_LAYOUTNO
11526 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11528 * paragraph_pimpl.h:
11529 * paragraph_pimpl.C: isTextAt() doesn't need font param
11531 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11534 * lyxlex.C: little cleanup
11536 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11538 * BufferView_pimpl.C: fix insertAscii for insets
11540 2001-12-05 Juergen Vigna <jug@sad.it>
11542 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11543 set the right font on the "multi" paragraph paste!
11545 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11551 * lyxlength.C: remove out-commented code.
11553 * BufferView_pimpl:
11567 * vc-backend.C: change "while(" to "while ("
11569 * lyxlength.[Ch]: add zero function to check if length is zero or
11571 * lyxgluelength.C: use it
11573 2001-12-05 Allan Rae <rae@lyx.org>
11575 * lyxlength.C: Attempted a fix for the abs(int) header selection.
11576 Works for 2.95.3, from what I understand of Garst's reports this should
11577 work for other g++ versions. We're screwed if the abs(int) definition
11578 changed between bugfix releases of gcc.
11580 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11582 * text.C: fix chapter label offset !
11584 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11587 * text.C: fix hfill at end of line, clean up
11589 2001-12-04 Juergen Vigna <jug@sad.it>
11591 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11592 that we force an update of the inset and it's owners if neccessary.
11594 2001-12-03 Juergen Vigna <jug@sad.it>
11596 * text.C (rowLast): simplified code
11598 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11600 * lyxfunc.C: fix show options on timeout
11602 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11604 * screen.C (topCursorVisible): scroll half a page when the cursor
11605 reached top of bottom of screen
11607 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
11609 * minibuffer.C: deactivate on loss of focus
11611 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11613 * vspace.[Ch] (operator!=): add operator.
11615 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
11617 * BufferView_pimpl.C: refuse to open an inset when
11618 there's a selection.
11620 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
11622 * BufferView_pimpl.C: allow to click on RHS of full row insets
11624 2001-11-30 Juergen Vigna <jug@sad.it>
11626 * tabular.C (LyXTabular): add a same_id to set the same id's in the
11627 insets for undo reasons.
11629 2001-11-28 André Pönitz <poenitz@gmx.net>
11631 * vspace.[Ch]: cosmetical changes
11633 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11643 * kbsequence.C: part re-write of old kb code
11646 * WorkArea.C: remove Lgb_bug_find_hack
11648 2001-11-30 José Matos <jamatos@fep.up.pt>
11650 * buffer.C (makeDocBookFile): add a comment to point a hack.
11651 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11652 Fixed a double write of labels.
11654 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11657 * LaTeX.h Fixed bug in LaTeX class where it would not
11658 re-run latex if no depfiles were changed, but the .dvi was removed.
11660 2001-11-28 André Pönitz <poenitz@gmx.net>
11662 * all the files from the change on 2001/11/26:
11663 use lyx::layout_type instead of LyXTextClass::size_type
11664 use lyx::textclass_type instead of LyXTextClassList::size_type
11666 2001-11-29 Juergen Vigna <jug@sad.it>
11668 * text.C: added support for paragraph::isFreeSpacing()
11670 * buffer.C: same as above
11672 * paragraph.h: inserted isFreeSpacing() function to enable
11673 FreeSpacing inside InsetERT.
11675 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11676 of the paragraph's in the cut/copy buffer to 0!
11678 * text2.C (removeRow): remove the assert as it can!
11680 * lyxtext.h: added helper function firstRow returning firstrow and
11681 made firstrow private again.
11683 * BufferView2.C (lockInset): don't relock if we're already locked!
11685 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11686 the only paragraph.
11687 (removeRow): added Assert::(firstrow)
11689 * debug.C: forgot to add INSETTEXT here.
11691 2001-11-28 Juergen Vigna <jug@sad.it>
11693 * sp_spell.C (initialize): changed error text to more general
11694 spellchecker command use (not only ispell!)
11696 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11698 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11700 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11702 * vspace.C: initialise lyxgluelength on failure
11704 2001-11-28 Allan Rae <rae@lyx.org>
11706 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11707 declaration & definition that looks like a function declaration.
11709 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11711 * BufferView2.C (copy):
11712 (copyEnvironment): do not clear the selection when doing a copy.
11714 * text.C (paintFirstRow): compilation fix
11716 2001-11-27 Ben Stanley <bds02@uow.edu.au>
11718 * tabular.C (Latex): correct line count when writing latex.
11720 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
11722 * paragraph_pimpl.h:
11723 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11726 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11730 * LColor.C: change vfillline->added_space
11732 * text.C: add markers and text for added space
11734 * vspace.C: fix comment
11736 2001-11-28 André Pönitz <poenitz@gmx.net>
11738 * paragraph.C: whitespace changes
11739 * all the other files from the change on 2001/11/26:
11740 change *::pos_type into lyx::pos_type
11742 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
11744 * buffer.C (parseSingleLyXformat2Token): Set the language to the
11745 language of the document when inserting error insets.
11747 2001-11-26 André Pönitz <poenitz@gmx.net>
11749 * BufferView_pimpl.[Ch]:
11757 * paragraph_pimpl.[Ch]:
11760 * text2.C: reduce header dependencies, introduce type for positions
11762 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11764 * <various>: change to use Alert.h
11766 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
11768 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11769 when encountering an unknown token.
11770 (readLyXformat2): Show an error message if there were unknown tokens.
11772 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
11775 * BufferView_pimpl.C:
11779 * text2.C: use par->isInset()
11781 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11783 * paragraph_pimpl.h:
11784 * paragraph_pimpl.C: cleanup
11786 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11788 * text2.C (removeRow):
11789 * text.C (setHeightOfRow): remove useless (and costly) call to
11792 2001-11-20 Allan Rae <rae@lyx.org>
11794 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11795 Now need Inset*::checkInsertChar() to return true for appropriate
11796 cases so that the characters in the minibuffer will actually be
11799 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11801 * text.C: change the order of the includes.
11802 (workWidth): initialize it at once.
11803 (workWidth): make maxw unsigned
11804 (setHeightOfRow): remove unused variable (inset)
11805 (selectSelectedWord): remove unused variable (inset)
11806 (paintRowText): fix drawing of hfill characters, and clean up a bit.
11808 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11810 * lyxserver.C (emergencyCleanup): do not try to close pipes if
11811 server is not running.
11813 (closeConnection): add debug info when server is disabled.
11815 * ColorHandler.C (getGCForeground): send debug message to GUI
11818 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11820 * kbmap.C (bind): modify because return conventions of
11821 kb_sequence::parse have changed.
11823 * kbsequence.C (parse): only ignore spaces and not any stupid
11824 control character. This avoids tests like s[i] <= ' ', which are
11825 guaranteed to fail with 8bit characters and signed chars.
11826 Change return code to string::npos when there have been no error
11827 (0 was a bad idea when error is at first character)
11829 2001-11-14 José Matos <jamatos@fep.up.pt>
11832 * buffer.C (simpleDocBookOnePar): removed unused argument.
11834 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11836 * text.C (selectNextWordToSpellcheck): do not test explicitely for
11837 insets which are part of a word. Paragraph::isLetter takes care of
11838 that now. Use Paragraph::isInset to identify insets.
11839 (selectSelectedWord): do not test for hyphenation break.
11841 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11842 that protected spaces are considered as spaces.
11844 * paragraph.C (isLetter): cleanup the code for ispell extras; use
11847 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
11850 * lyxserver.C: fix it. and small cleanup.
11852 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11854 * BufferView_pimpl.C: use inline helpers
11857 * LaTeXFeatures.C: fix typos
11860 * Spacing.C: move spacing_string into class
11862 * ToolbarDefaults.C: move stuff into namespace anon
11864 * layout.h: update enum
11866 * lyxfunc.C: use better debug
11868 * minibuffer.h: fix typo
11872 * WorkArea.C: add and use Debug::WORKAREA
11876 * text2.C: code re-organisation, inline helpers
11878 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
11880 * Layout.C: replaced a few cases of std::vector.size() == 0 with
11881 std::vector.empty().
11883 2001-11-09 Allan Rae <rae@lyx.org>
11885 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11886 '\n's after tables. Tabular and ERT inset work now makes this no
11889 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11892 * minibuffer.C: fix crash, improve drop-down completion
11894 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
11897 * lyxserver.C: invalidate fd's when doing endPipe()
11899 2001-11-08 José Matos <jamatos@fep.up.pt>
11901 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11902 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11905 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11907 2001-11-07 José Matos <jamatos@fep.up.pt>
11910 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11913 * buffer.C (sgmlOpenTag):
11914 * buffer.C (sgmlCloseTag): removed debug info.
11916 * buffer.h (sgmlOpenTag):
11917 * buffer.h (sgmlCloseTag): made public.
11919 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11921 * buffer.C (saveParamsAsDefaults):
11922 * lyx_cb.C (MenuLayoutSave): remove
11924 * LyXAction.C (init):
11926 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11928 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11930 * buffer.C (setPaperStuff): removed from here...
11932 * bufferparams.C (setPaperStuff): ... and moved there.
11934 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
11938 * XFormsView.C: add support for drop-down completion
11940 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
11942 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11945 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11947 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11950 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
11952 * lyx_main.C: change ref to known bugs
11954 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
11956 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11957 to work around older babel problems.
11959 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11961 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11963 2001-10-24 Juergen Vigna <jug@sad.it>
11965 * tabular-old.C (ReadOld): below variable changes reflected.
11967 * tabular.[Ch]: added ltType struct for longtable header/footer
11968 defines and changed all instances where they are used. Added
11969 future support for double top/bottom rows.
11971 2001-10-24 José Matos <jamatos@fep.up.pt>
11973 * buffer.h (docbookHandleCaption):
11974 * buffer.C (docbookHandleCaption): removed unused function.
11975 (makeDocBookFile): moved docbook supported version to v4.1.
11977 2001-10-24 José Matos <jamatos@fep.up.pt>
11980 * tabular.C (docbookRow): new function to export docbook code of a row.
11981 (DocBook): now honors the longtable flags.
11983 2001-10-23 José Matos <jamatos@fep.up.pt>
11986 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11987 of the lyx defined sgml entities used in a docbook/linuxdoc document.
11989 * buffer.C (makeLinuxDocFile):
11990 (makeDocBookFile): reworked the preamble, more clean, and with
11991 support for lyx defined entities. Changed the document declaration
11992 to be more XML friendly.
11994 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11995 if we need to output XML that should be done with a filter.
11997 2001-10-22 Juergen Vigna <jug@sad.it>
11999 * sp_pspell.h (class PSpell): add alive function needed in the
12000 controller to see if the spellchecker could be started.
12002 2001-10-22 Juergen Vigna <jug@sad.it>
12004 * buffer.C (insertStringAsLines): modify the font for inserting
12005 chars in certain conditions by calling checkInsertChar(font).
12007 2001-10-19 Juergen Vigna <jug@sad.it>
12009 * text.C (workWidth): use getRow instead of wrong algorithm.
12010 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12012 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
12017 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12019 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12021 * text.C (workWidth): do not search for the exact row when
12022 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12023 optimization for big documents.
12025 2001-10-18 Juergen Vigna <jug@sad.it>
12027 * text.C (workWidth): new function with added Inset * parameter.
12029 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12031 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12033 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12034 change return type of getColumnNearX.
12037 * text.C (changeRegionCase): use uppercase/lowercase instead of
12040 (rightMargin): simplify code by factoring out the uses of
12045 (appendParagraph): use Paragraph::size_type
12047 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12049 * vspace.C (asLatexString): add a missing break
12051 2001-10-15 Herbert Voss <voss@perce.de>
12053 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12055 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12057 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12060 2001-10-10 André Pönitz <poenitz@gmx.net>
12062 * lyxfunc.C: removed greek_kb_flag.
12064 2001-10-10 Herbert Voss <voss@perce.de>
12066 * lyx_main.C: delete global string help_lyxdir.
12068 2001-10-09 Herbert Voss <voss@perce.de>
12070 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12072 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12074 * lyx_main.C: added global string help_lyxdir.
12076 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12078 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
12080 * lyxrc.C (set_font_norm_type): support iso8859-4
12082 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
12084 * LaTeX.C (deplog): add another regex for MikTeX
12086 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
12088 * lyxrc.C (set_font_norm_type): support iso8859-3
12090 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12092 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12094 * LaTeXFeatures.C: remove special case of french and index
12096 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12097 before \begin{document}). This solves several incompatibilities.
12099 2001-10-03 Garst Reese <reese@isn.net>
12101 * lyx_cb.C: change CheckTex error msg.
12103 2001-10-03 José Matos <jamatos@fep.up.pt>
12105 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12107 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12109 * .cvsignore: update
12111 * lyx_main.C (commandLineVersionInfo): use new style version info.
12113 * buffer.C (writeFile):
12115 (makeLinuxDocFile):
12116 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12118 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12120 * version.h: update to use stuff in version.C
12122 * version.C.in: new file. Contains version information determined
12123 at compile time. This is a merging of version.h and
12126 2001-10-03 Juergen Vigna <jug@sad.it>
12128 * BufferView_pimpl.C (update): don't change "dirty" status in
12131 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
12133 * WorkArea.C (c-tor): re-position version string slightly.
12135 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
12137 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12138 revert to previous code.
12140 WorkArea.[Ch]: (show, destroySplash): methods removed.
12142 WorkArea.C: rework code so that it's an amalgam of the codes before and
12143 after the splash screen was moved to WorkArea.
12145 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12148 * vspace.C (inPixels):
12151 * buffer.C (insertStringAsLines):
12152 (asciiParagraph): fix types to be large enough
12154 * lyxlex_pimpl.h: change member status from short to int
12156 * layout.h: fix type of endlabeltype
12159 * kbsequence.C (parse): change return type to string::size_type
12161 * LaTeX.C (updateBibtexDependencies): comment out unneeded
12164 * Bullet.C (bulletSize):
12165 (bulletEntry): do not use short ints as parameters
12167 * BufferView2.C (insertLyXFile): change a char to an int.
12169 * WorkArea.C (WorkArea): remove unneeded floats in computation
12171 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
12173 * buffer.C (asciiParagraph): Treat '\\' as other chars.
12175 * paragraph.C (asString): Do not ignore newline/hfill chars when
12176 copying to the clipboard.
12178 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
12180 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12181 after a multi-line inset.
12183 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
12185 * paragraph.C (validate): Set NeedLyXFootnoteCode
12187 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12189 * lyxfont.C (LyXSizeNames): changed increase-error to increase
12190 and decrease-error to decrease.
12192 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12194 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12195 it more readable (should be equivalent)
12197 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
12199 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12201 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12203 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12204 of a cursor (row, etc.) after a character has been deleted
12205 (deleteEmptyParagraphMechanism): call the method above on _all_
12206 cursors held by the LyXText when a double space has been
12209 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12211 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12213 (resizeCurrentBuff): remove code to destroy the old splash dialog.
12215 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12216 background. Use greyOut() and the new show() methods to toggle between
12217 the foreground and background. Add code to remove the splash after
12218 its initial showing.
12220 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12221 (create_forms): no longer call Dialogs::showSplash.
12223 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12225 * .cvsignore: add version_info.h
12227 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12229 * version_info.h.in: new file
12231 * Makefile.am: add version_info.h.in
12233 * lyx_main.C (commandLineVersionInfo): use version_info defined in
12234 version_info.h instead of VERSION_INFO
12236 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
12238 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12239 The ERT inset now returns string().
12241 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
12243 * lyxtext.h, text.C (selectNextWord): renamed as
12244 selectNextWordToSpellcheck.
12246 * text.C (selectNextWordToSpellcheck): Modified to not select
12247 words inside an ERT inset.
12249 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12251 * lyx_cb.C (MenuLayoutSave): change a bit the question
12253 * sp_base.h: include <sys/types.h>
12255 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
12257 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12259 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
12261 * several files: fix typos in user-visible strings
12263 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12265 * text2.C (pasteSelection): do not set the selection, since it
12266 will be cleared later. Actually, the intent was to fix the way the
12267 selection was set, but I figured rmoving the code was just as good.
12269 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
12271 * FontLoader.C (available): Check if font is available without
12274 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
12276 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12278 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
12280 * lyxrc.[Ch]: added display_graphics variable and associated code.
12282 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12284 * bufferparams.C (hasClassDefaults): new method. Returns true if
12285 the buffer parameters correspond to known class defaults
12287 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
12289 * XFormsView.C (show): set minimum size to the main window.
12291 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12293 * text2.C (copySelection):
12295 * lyxfind.C (LyXReplace):
12296 * BufferView_pimpl.C (Dispatch): pass the correct flag to
12297 LyXText::selectionAsString.
12299 * paragraph.C (asString): add "label" argument to the second form
12301 * text2.C (selectionAsString): add "label" argument and pass it to
12302 Paragraph::asString.
12304 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12306 * lyx_main.C (commandLineHelp): remove version information
12308 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
12310 * lyx_main.C: add -version commandline option
12312 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12314 * paragraph.h: make the optional constructor arg required instead.
12315 some modifications to other files because of this.
12317 * minibuffer.C (C_MiniBuffer_peek_event): make it static
12319 * lyxserver.C (C_LyXComm_callback): make it static
12321 * lyx_main.C (error_handler): make it static
12323 * lyx_gui.C (LyX_XErrHandler): make it static
12325 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12327 * WorkArea.C: make the extern "C" methods static.
12329 * Makefile.am (lyx_LDADD): simplify
12331 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12333 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12334 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12336 * LyXAction.C (init):
12337 * lyxfunc.C (dispatch): associated code removal.
12339 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12341 * lyxfont.h (isSymbolFont): shut off warning
12343 * text.C (setHeightOfRow):
12344 (getVisibleRow): fix crash with empty paragraphs which have a
12347 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
12349 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12352 2001-09-04 José Matos <jamatos@fep.up.pt>
12355 * tabular.C (docbook): rename docBook method to docbook.
12357 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12359 * Makefile.am: add dependencies to main.o.
12361 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
12363 * FontLoader.C (available): Return false if !lyxrc.use_gui
12365 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
12367 * FontInfo.C (query):
12368 * converter.C (view):
12369 * importer.C (Import):
12370 * exporter.C (Export): Can not -> cannot.
12372 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
12374 * BufferView_pimpl.C: allow to create index inset even if
12377 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12379 * buffer.C (getLists): replace boost::tie code with an explicit pair
12380 as boost::tie can break some compilers.
12382 * iterators.h: Added a std:: declaration to the return type of
12385 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
12387 * lyxrc.C: add help for view_dvi_paper_option, default to safe
12390 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
12392 * iterators.[Ch]: New files. Provide paragraph iterators.
12394 * buffer.C (changeLanguage): Use paragraph iterators.
12395 (isMultiLingual): ditto
12397 * BufferView2.C (ChangeInsets): Use paragraph iterators.
12399 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
12401 * FontLoader.C: Support for cmr font.
12403 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
12405 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12406 (available): New method.
12408 * FontInfo.C (getFontname): Use scalable fonts even when
12409 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12412 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12414 * converter.C (Formats::view): reverted! Incorrect fix.
12416 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12418 * converter.C (Formats::view): only output the -paper option
12419 if the dvi viewer is xdvi, thereby fixing bug #233429.
12421 2001-08-23 Herbert Voss <voss@perce>
12423 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12425 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
12427 * Spacing.h (Spacing): Set space to Default on in the default
12430 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
12432 * vc-backend.h (RCS::versionString): add RCS to version
12433 (CVS::versionString): add CVS to version
12435 * vc-backend.C (scanMaster): do not add CVS to version.
12436 (scanMaster): do not add RCS to version
12438 * lyxvc.C (versionString): new method
12440 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12442 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12444 * Spacing.C (set): initialize fval
12446 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
12448 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12451 2001-08-16 Juergen Vigna <jug@sad.it>
12453 * lyxfunc.C (dispatch): implemented the new FINISHED states.
12455 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12457 * BufferView_pimpl.C:
12460 * text2.C: setParagraph takes linespacing now
12462 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
12464 * LyxAction.C: add internal LFUN_CITATION_INSERT
12466 * LyXView.C: actually apply fix
12468 * bufferlist.C: fix open non-existent file
12470 * lyxfind.C: fix indentation
12472 * lyxfunc.C: remove unneeded assert, fix typo
12474 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12476 * MenuBackend.C: use "Floatname List"
12478 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
12480 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12481 when converting LaTeX layout to insetERT.
12482 Generate a non-collapsed float when reading old float
12484 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12486 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12489 2001-08-13 Juergen Vigna <jug@sad.it>
12491 * text.C (fill): return 0 instead of 20 as this seems to be the more
12494 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12496 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12499 2001-08-13 Juergen Vigna <jug@sad.it>
12501 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12503 (SearchBackward): comment out the unlocking of the inset_owner this
12504 should not be needed!
12506 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
12508 * Many files: Remove inherit_language, and add latex_language
12510 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12511 collapsible insets.
12513 2001-08-10 Juergen Vigna <jug@sad.it>
12515 * text.C (prepareToPrint): fixed hfill-width in draw!
12517 * BufferView2.C (selectLastWord): save the selection cursor as this
12518 now is cleared in the function LyXText::clearSelection!
12520 2001-08-08 Juergen Vigna <jug@sad.it>
12522 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12523 BACKSPACE type functions.
12525 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12526 is only cutted from the document but not put in the cut-buffer, where
12527 still the old stuff should be.
12529 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12531 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12533 * tabular.C (SetWidthOfCell): fixed special case where the width
12535 (LeftLine): handle '|' in align_special.
12537 (LeftAlreadyDrawed): ditto
12538 (SetWidthOfCell): ditto
12540 2001-08-07 Juergen Vigna <jug@sad.it>
12542 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12544 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12546 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12547 * lyxlex.[hC]: ditto
12549 2001-08-06 Juergen Vigna <jug@sad.it>
12551 * text.C (getVisibleRow): fix up row clearing a bit.
12553 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12555 * minibuffer.C: make sure the X server sees the changes in the input.
12557 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12559 * paragraph.C (getFont): split into...
12560 (getLabelFont): this
12561 (getLayoutFont): and this
12562 * paragraph_pimpl.C (realizeFont): calling this
12564 * text2.C (getFont): split into...
12565 (getLayoutFont): this
12566 (getLabelFont): and this
12567 (realizeFont): all three calling this
12569 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12572 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12574 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12576 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
12578 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12579 layouts from the Quote inset insertion.
12581 2001-08-03 Juergen Vigna <jug@sad.it>
12583 * BufferView_pimpl.C (update): do the fitCursor only at the end!
12585 * screen.C (drawFromTo): don't call fitcursor here and do the loop
12586 only if status not is already CHANGED_IN_DRAW (second level).
12588 * text.C (draw): don't set the need_break_row when inside an
12591 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12593 * buffer.C (parseSingleLyXformat2Token): handle more latex
12596 * bufferview_funcs.[hC]: change function names to
12597 begin with small char, adjust other files.
12599 2001-08-02 André Pönitz <poenitz@gmx.net>
12602 BufferView_pimpl.C: remove broken special code for math-greek
12604 2001-08-02 Juergen Vigna <jug@sad.it>
12606 * BufferView_pimpl.C (update): redone this function so that we
12607 update the text again if there was a CHANGE_IN_DRAW.
12609 * screen.C (cursorToggle): removed LyXText parameter and recoded.
12610 (drawFromTo): added a new internal bool which is used by draw() and
12612 (general): some cursor drawing problems fixed.
12614 2001-08-01 Juergen Vigna <jug@sad.it>
12616 * lyxfind.C (LyXFind): fixed
12617 (SearchForward): ditto
12618 (SearchBackward): ditto
12620 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12621 spurius drawing of the cursor in the main area.
12623 * text2.C (status): small fix which could lead to a segfault!
12624 (clearSelection): remove unneeded BufferView param.
12626 2001-08-01 André Pönitz <poenitz@gmx.net>
12628 * lyxfunc.C: small change due to changed mathed interface
12630 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12632 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12634 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
12636 * lyxfunc.c: fail gracefully if file doesn't exist
12641 * BufferView_pimpl.C: IsDirWriteable() proto changed
12643 * LyXView.C: fix updateWindowTitle() to store the last title
12645 2001-07-31 Juergen Vigna <jug@sad.it>
12647 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12648 the font (wrong since using of Paragraph::highestFontInRange).
12650 * paragraph.C (highestFontInRange): added a default_size parameter.
12652 * text.C (getVisibleRow): minor clear row changes (still not perfect).
12653 (setHeightOfRow): reformat
12655 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12657 * converter.[hC] + affected files: move to (inital-char)lowercase
12660 * ParagraphParameters.C (ParagraphParameters): remove commented code
12662 * PainterBase.[Ch]: remove commented code
12664 * LaTeXFeatures.h: add "bool floats" for float.sty
12666 * LaTeXFeatures.C (LaTeXFeatures): init floats
12667 (require): handle float
12668 (getPackages): do it with floats
12670 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12672 * BufferView_pimpl.C (Dispatch): improve handling of
12673 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12675 * commandtags.h: #include lyxfont.h here temporarily to avoid
12678 * bufferlist.h: include LString.h here.
12680 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12682 * text2.C (getStringToIndex): new method.
12684 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
12686 * *: Reduced header file dependencies all over.
12688 2001-07-30 Baruch Even <baruch@lyx.org>
12690 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12692 2001-07-29 Baruch Even <baruch@lyx.org>
12694 * buffer.C (readInset): Changed GRAPHICS to Graphics.
12696 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12698 * ParameterStruct.h (endif): add a default constructor to make
12699 sure that all variables is initialized.
12701 * ParagraphParameters.C (ParagraphParameters): adjust
12703 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12705 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12706 index; also, check that there is something to index, and that it
12707 does not span over several paragraphs.
12708 (doubleClick): use WHOLE_WORD_STRICT for double click.
12710 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12712 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12715 2001-07-26 Baruch Even <baruch@lyx.org>
12717 * buffer.C (readInset): Changed to call up InsetGraphics when reading
12718 an InsetFig figure, backwards compatible reading of old figure code.
12720 2001-07-27 Juergen Vigna <jug@sad.it>
12722 * text2.C: font.realize function adaption.
12724 * text.C (draw): add a warnings lyxerr text if needed.
12726 * layout.C: font.realize function adaption.
12728 * language.C: add inherit_language and implement it's handlings
12730 * bufferview_funcs.C (StyleReset): remove language parameter from
12731 font creation (should be language_inherit now).
12733 * bufferparams.C (writeFile): handle ignore_language.
12735 * paragraph.C (getFontSettings): the language has to be resolved
12736 otherwise we have problems in LyXFont!
12738 * lyxfont.C (lyxWriteChanges): added document_language parameter
12739 (update): removed unneeded language parameter
12741 * paragraph.C (validate): fixed wrong output of color-package when
12742 using interface colors for certain fonts in certain environments,
12743 which should not seen as that on the final output.
12745 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
12747 * BufferView_pimpl.C:
12752 * LyXAction.C: add thesaurus support
12755 * lyxfind.C: add "once" parameter, for thesaurus, to not
12756 move to the next match
12758 2001-07-26 Juergen Vigna <jug@sad.it>
12760 * lyxfont.C (realize): honor ignore_language too!
12763 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12765 * text.C (draw): one place more for ignore_language to not draw
12768 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
12770 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12772 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12774 * buffer.C (parseSingleLyXformat2Token): a more general fix for
12775 the minipage conversion problem.
12777 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12779 * buffer.C (parseSingleLyXformat2Token): check minipage if we
12782 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12784 * BufferView.h: don't forward declare WorkArea
12786 * BufferView.C: don't include WorkArea.h
12788 2001-07-25 André Pönitz <poenitz@gmx.net>
12792 * lyxfunc.C: new LFUN 'math-space'
12794 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12796 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12798 * text2.C (toggleInset): call open/close
12800 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12802 * lyxfunc.C (dispatch): add debug for the disabled case
12804 * font.C (buttonText): make similar to rectText
12806 * buffer.C (readInset): comment out parsing of insetlist and
12809 * PainterBase.C (rectText): small correction
12811 * BufferView_pimpl.C: comment out insettheorem and insetlist
12812 * LyXAction.C: ditto
12813 * commandtags.h: ditto
12815 2001-07-24 Juergen Vigna <jug@sad.it>
12817 * text.C (draw): honor the ignore_language.
12819 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12821 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12823 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12826 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12828 * lyxtext.h: remove unused (and unimplemented) methods
12830 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12832 * text.C (getVisibleRow): honor background color
12835 * Painter.h: remove default color argument for fillRectangle
12837 * text.C (backgroundColor): new method
12839 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12841 * text.C (getVisibleRow): adjust
12843 * font.[Ch] (rectText): new method, metrics
12844 (buttonText): new method, metrics
12846 * PainterBase.[hC]: make rectText and buttonText always draw and take
12849 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12851 * ToolbarDefaults.C (read):
12852 * MenuBackend.C (read): allow escaping in all strings
12854 * BufferView_pimpl.C (insertAndEditInset): new method.
12855 (Dispatch): use insertAndEditInset whenever appropriate.
12857 * BufferView_pimpl.C (insertNote): removed
12859 * BufferView_pimpl.C (smartQuote): new method, moved from
12860 BufferView; if an insetquote cannot be inserted, insert a '"'
12863 * BufferView2.C: remove insertCorrectQuote();
12865 * lyxfunc.C (getStatus): Add support for all remaingin
12866 inset-insert lfuns.
12868 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12870 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12871 command (necessary to pass " as parameter of self-insert.
12873 * text.C (selectWordWhenUnderCursor):
12874 (selectWord): add word_location parameter
12875 (selectWordWhenUnderCursor): same + remove special code for word
12877 (selectNextWord): use kind() to guess type of insetspecialchar,
12880 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12881 (insertErtContents): create ert insets as collapsed.
12882 (readInset): better compatibility code for Info inset.
12884 2001-07-20 Juergen Vigna <jug@sad.it>
12886 * lyxfunc.C (dispatch): use always LyXFind now!
12888 * text2.C (init): add a reinit flag so that the LyXText can be
12889 reinited instead of deleted and reallocated (used in InsetText).
12891 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12897 2001-07-18 Juergen Vigna <jug@sad.it>
12899 * text.C (selectNextWord): handle insets inside inset by calling
12900 always the bv->text functions so that we can go up the_locking_inset!
12902 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12903 in strange locations when inside an inset!
12905 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12906 handling to include insets.
12908 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12910 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12912 * LyXAction.C (init):
12914 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12915 LIGATURE_BREAK, since the name is so stupid.
12917 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12919 * buffer.C (readInset): enable reading of new InsetNotes as well as old
12922 * FontLoader.C: remove FORMS_H_LOCATION cruft.
12924 * sp_form.[Ch]: remove.
12926 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12928 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12931 * src/buffer.C (readInset): ditto.
12933 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12935 * BufferView_pimpl.C (specialChar): new method. Obsoletes
12936 menuSeparator(), endOfSentenceDot(), ldots() and
12937 hyphenationPoint(), which are therefore removed.
12938 (Dispatch): handle LFUN_HYPHENATION_BREAK.
12940 * LyXAction.C (init):
12941 * commandtags.h: add LFUN_HYPHENATION_BREAK.
12943 * paragraph.C (getWord): removed.
12945 * BufferView_pimpl.C (Dispatch): use last word or selection for
12946 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12948 * lyx_main.C (queryUserLyXDir): do not ask before creating
12949 user_dir, except if it has been named explicitely.
12951 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12953 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12954 a document of zero size.
12956 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
12958 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12959 approriately in the c-tor and in require().
12960 (getPackages): output the appropriate LaTeX for natbib support.
12962 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12963 variables "use_natbib" and "use_numerical_citations" when reading the
12965 (readInset): read the various natbib cite commands.
12966 (validate): white-space change.
12968 * bufferparams.[Ch]: new variables "bool use_natbib" and
12969 "bool use_numerical_citations".
12970 (writeFile): output them in the LyX file.
12972 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12974 * lyxfunc.C (getStatus): add support for all the inset insertion
12977 * text2.C (insertInset):
12978 * paragraph.C (insetAllowed):
12979 * BufferView_pimpl.C (insertInset): update to take in account the
12980 renaming of insertInsetAllowed
12982 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12984 * text2.C (getInset): new method. returns inset at cursor position.
12986 * BufferView_pimpl.C (Dispatch): changes because of this.
12988 * LyXAction.C (init): rename open-stuff to inset-toggle.
12990 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12992 * text2.C (toggleInset): renamed from openStuff; use
12995 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
12997 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12999 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13001 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
13003 * buffer.C (readLyXformat2): Add filename to the error dialog
13005 2001-07-18 Juergen Vigna <jug@sad.it>
13007 * tabular.C (GetCellNumber): put an assert here instead of the check!
13009 2001-07-17 Juergen Vigna <jug@sad.it>
13011 * BufferView_pimpl.C (toggleSelection): adapted too.
13013 * text.C (selectNextWord): adapted for use with insets.
13014 (selectSelectedWord): ditto
13016 2001-07-17 Juergen Vigna <jug@sad.it>
13018 * sp_spell.C (PSpell): fix initialitation order.
13020 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13022 * paragraph.C: spacing
13024 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
13026 * sp_spell.C: repair language selection for pspell
13028 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13030 * lyxfunc.h: change more methods to begin with lower char.
13032 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
13034 * buffer.C (parseSingleLyXformat2Token): Generate error insets
13035 for unknown layouts.
13037 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
13039 * buffer.C (readLyXformat2): Generate an error dialog if there are
13042 2001-07-16 Juergen Vigna <jug@sad.it>
13044 * sp_spell.C: always compile ISpell part.
13046 * lyxrc.C: added use_pspell entry and it's handling.
13048 2001-07-13 Juergen Vigna <jug@sad.it>
13050 * sp_spell.C: removed double includes.
13052 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
13054 Consistent use of Lsstream.h:
13055 * Lsstream.h: added using std::stringstream for consistencies sake.
13057 * buffer.C: removed using std::stringstream
13059 * lyxfont.C (stateText):
13060 * paragraph.C (asString):
13061 * text.C (selectNextWord, selectSelectedWord):
13062 * text2.C (setCounter):
13063 * vspace.C (asString, asLatexString):
13064 std::ostringstream -> ostringstream.
13066 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13068 * LyXAction.C: add LFUN_HELP_ABOUTLYX
13069 * commandtags.h: add LFUN_HELP_ABOUTLYX
13070 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13072 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13074 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13076 * lyx_gui_misc.C: remove spellchecker
13077 * lyxfunc.C: showSpellchecker
13079 * sp_ispell.h: added
13080 * sp_pspell.h: added
13081 * sp_spell.C: added
13082 * sp_form.[Ch]: removed
13083 * spellchecker.[Ch]: removed
13085 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
13087 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13089 (simpleTeXSpecialChars): Simply print the input character without
13090 any special translation if pass_thru is set.
13092 * layout.h: Added bool pass_thru to layout class for being able to
13093 implement pass through of a paragraph for Literate Programming.
13095 * layout.C: add LT_PASS_THRU to LayoutTags enum.
13096 * layout.C (LyXLayout): set pass_thru to flase in constructor.
13097 * layout.C (Read): add "passthru" to list of layout tags and add
13098 code to set the pass_thru boolean when it is read.
13100 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13102 * trans_decl.h: remove allowed from KmodInfo
13104 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13105 remove allowed code
13108 * paragraph_pimpl.C (erase): use boost::prior
13110 * Painter.C (text): use data() instead of c_str() when length is
13112 * WorkArea.C (putClipboard): ditto
13113 * font.h (width): ditto
13115 * BufferView2.C: use it-> instead of (*it). for iterators
13117 * paragraph_pimpl.C: ditto
13118 * paragraph.C: ditto
13119 * minibuffer.C: ditto
13120 * language.C: ditto
13122 * encoding.C: ditto
13123 * counters.C: ditto
13124 * converter.C: ditto
13126 * Variables.C: ditto
13127 * TextCache.C: ditto
13128 * MenuBackend.C: ditto
13129 * LyXAction.C: ditto
13131 * FloatList.C: ditto
13132 * DepTable.C: ditto
13133 * ColorHandler.C (LyXColorHandler): ditto
13135 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13137 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13139 * text2.C (openStuff): reintroduce this method (which had been
13140 nuked in NEW_INSETS frenzy).
13142 * lyxfunc.C (Dispatch): when an action has not been handled, use
13143 its name in the error message, not its number.
13145 * paragraph.C (inInset): change method name to begin with lowercase.
13148 * text2.C: updates because of this.
13150 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13152 * ToolbarDefaults.C (add): add spaces in error message
13154 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13156 * buffer.C (readLyXformat2): initialize the ert comp. variables.
13157 (readLyXformat2): rename return_par to first_par, use lyxlex's
13158 pushToken and remove the manual push handling.
13159 (parseSingleLyXformat2Token): add another ert comp. variable:
13160 in_tabular, rename return_par to first_par. handle newlines better
13162 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13164 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13166 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13168 * text2.C (getParFromID): removed
13170 * buffer.C (getParFromID): new method moved form lyxtext.
13171 * BufferView2.C (insertErrors): adjust
13172 (setCursorFromRow): adjust
13173 * BufferView_pimpl.C (restorePosition): adjust
13174 * lyxfunc.C (Dispatch): adjust
13175 * undo_funcs.C (textUndo): adjust
13177 (textHandleUndo): adjust
13178 (textHandleUndo): adjust
13180 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13182 * buffer.C: up' the LYX_FORMAT
13184 * lyxfont.h: turn NO_LATEX on as default
13186 * buffer.C (insertErtContents): new methods of tex style compability.
13187 (parseSingleLyXformat2Token): use it several places.
13188 * tabular.C (OldFormatRead): and here
13190 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13192 * text2.C: remove some commented code.
13195 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13196 * trans.C: changes because of the above.
13198 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
13200 * text2.C (setCounter): Fix counters bug with bibliography layout.
13202 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13204 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13205 own member functions
13206 (simpleTeXSpecialChars): ditto
13208 2001-07-06 Juergen Vigna <jug@sad.it>
13210 * a lot of files: changed the access to LyXText::status and the
13211 call of undo-functions.
13213 * undo.[Ch]: added a inset_id to the undo informations.
13215 * undo_funcs.[Ch]: added and moved here all undo functions.
13217 * lyxtext.h: give the status enum a weight, made status_ a private
13218 variable and made accessor functions for it, removed the whole bunch
13219 of undo-functions as they are now in their own file, make some
13220 functions publically available. Added function ownerParagraph with
13223 * paragraph.[Ch]: added "bool same_ids" to the constructor,
13224 made InInset() a const function, added getParFromID() function.
13226 * buffer.[Ch]: added const version for inset_iterator functions,
13227 added getInsetFromID() function.
13229 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13230 changed undo functions for new version.
13232 2001-07-05 Juergen Vigna <jug@sad.it>
13234 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13235 unknow mechanism does not call the proper constructor but only this
13236 one also if I request the other!?
13238 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13240 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13242 * text2.C (LyXText): use initialization lists.
13244 * lyxtext.h (Selection): initialize set_ and mark_
13245 (init): remove method
13247 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
13249 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13251 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13253 * screen.[Ch]: change method names to begin with lowercase
13255 * BufferView_pimpl.C (updateScrollbar): simplify further and
13256 hopefully make it a bit faster.
13258 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13260 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13261 calling directly xforms functions.
13263 * Painter.C (Painter):
13264 * lyx_cb.C (MenuWrite):
13265 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13268 * lyx_gui.C: remove bogus guiruntime extern declaration.
13270 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13272 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13274 (redoDrawingOfParagraph): ditto
13275 (redoParagraphs): ditto
13276 (cutSelection): don't create a object for CutAndPaste use the
13277 static method directly
13278 (pasteSelection): ditto
13280 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13283 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13285 * modifications to some other files because of this.
13287 * Makefile.am (lyx_SOURCES): add XFormsView
13289 * XFormsView.[Ch]: new files
13291 * LyXView.[Ch]: make LyXView a base class for the gui handling for
13292 the main window. Move the gui dependent stuff to XFormsView
13294 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13296 * tabular.C (GetCellInset): update cur_cell also in the row/col
13297 version of this function.
13299 * lyxfunc.C: no need to include figure_form.h here.
13305 * lyxvc.C: no need to include forms.h here.
13307 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13309 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13311 * lyxfunc.C (Dispatch):
13313 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13314 constructor argument.
13316 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13318 * paragraph.C (Paragraph): dont't clear, and just set layout.
13319 (makeSameLayout): use params's copy contructor.
13321 * ParagraphParameters.[Ch] (makeSame): delete method
13323 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
13325 * Variables.[Ch]: fix indentation, rename set to isSet
13327 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13329 * lyxfunc.C (Dispatch): fix typo
13331 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13333 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13336 * bufferlist.C: include assert.h for emergencyWrite().
13338 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13340 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13341 give up at last (bug #425202) !
13343 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
13349 * spellchecker.C: strip spellchecker options and bring up
13350 preferences tab instead
13352 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13354 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13355 the istringstream constructor
13357 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13359 * paragraph.C (getLayout): fix return value
13361 * paragraph.h: do not declare getLayout as inline.
13363 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13365 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13367 * lyxcursor.h (operator<): new func
13368 (operator>): new func
13369 (operator>=): new func
13370 (operator<=): new func
13372 * text.C (changeCase): use selection.start and selection.end
13373 (changeRegionCase): require from to be <= to. Require par to be a
13376 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13378 2001-06-27 Juergen Vigna <jug@sad.it>
13380 * text.C (cursorLeftOneWord): changed to return the cursor and added
13381 overlay with BufferView * parameter which calls this one.
13383 (selectWord): use new getWord function.
13384 (changeCase): renamed from changeWordCase as and extended to work
13385 also on selections.
13387 * lyxtext.h: added enum word_location
13389 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13390 changeCase as this operates now also on selections.
13392 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
13394 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13396 * many files: send debug output to Debug::INFO instead of
13399 * converter.C (View):
13401 (Move): send debug output to Debug::FILES instead of console.
13403 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
13405 * lyxfunc.C (getStatus): use func_status
13407 * func_status.h: new header, describing the results of
13408 LyXFunc::getStatus;
13410 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13413 2001-06-25 The LyX Project <jug@sad.it>
13415 * buffer.C (sgmlOpenTag):
13417 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
13419 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13421 * text2.C: remove some dead code
13423 * tabular.C (GetCellInset): store the last cell checked (gotten)
13425 * tabular.h: add the helper for the speedup
13427 * lyxtext.h: remove some dead code
13429 2001-06-26 The LyX Project <Asger>
13431 * paragraph.C: Change export to LaTeX of alignment to
13432 \begin{center} and family for better roundtrip work with reLyX.
13434 * Tune the math drawing a bit.
13436 2001-06-25 The LyX Project <Asger>
13438 * LColor.C (LColor): New color for math background. New color
13441 2001-06-25 The LyX Project <jug@sad.it>
13443 * lyxfunc.C (MenuNew): remove extra check for .lyx file
13445 * lyxfunc.C (Open):
13446 * bufferlist.C (newFile): do not restrict to files ending with
13449 * BufferView_pimpl.C (MenuInsertLyXFile):
13451 2001-06-24 The LyX Project <jug@sad.it>
13453 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13456 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13458 * lyxtext.h: rename most methods to begin with a small char.
13459 Lots of changes because of this.
13461 * paragraph.C (Paragraph): do not call fitToSize
13462 (erase): call Pimpl::erase
13463 (insertChar): call Pimpl::insertChar
13464 (insertInset): call Pipl::insertInset
13465 (breakParagraph): do not call fitToSize
13466 (breakParagraphConservative): do not call fitToSize
13467 (fitToSize): remove method
13469 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13471 2001-06-24 The LyX Project <Asger>
13473 * Fix Qt compilation^2
13475 2001-06-24 The LyX Project <jug@sad.it>
13477 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13478 depthHook(getDepth()-1).
13481 * ParagraphParameters.h:
13482 * ParameterStruct.h: change type of depth to unsigned int ==
13483 depth_type. Many adaptations to other files before of that.
13485 2001-06-24 The LyX Project <Asger>
13487 * Fix Qt compilation.
13489 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13491 * paragraph.h: renamed several methods to begin with small letter.
13492 several changes to many parts of the code because of this.
13494 2001-06-23 The LyX Project <jug@sad.it>
13496 * text2.C (InsertStringAsLines): renamed from InsertStringA;
13497 rewritten to discard all double spaces when KeepEmpty is off
13498 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13499 to only handle newlines but not fiddle with spaces and friends.
13501 * lyxfunc.C (MenuNew): when doing 'new from template', use
13502 template_path as default directory
13504 2001-06-23 The LyX Project <Asger>
13506 * Clean-up of header file includes all over
13507 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13509 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13511 * paragraph.h: renamed from lyxparagraph.h
13513 2001-06-23 Asger <lyx@violet.home.sad.it>
13515 * Buffer.h: Removed Buffer::resize
13516 * BufferList.h: Removed BufferList::resize
13517 * LyXView.h: Added LyXView::resize. This way, we will only reflow
13518 the document lazily when we change the width, or the font settings.
13520 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13522 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13524 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13526 * buffer.h: remove out of date comment
13528 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13531 * screen.C: fix "theoretical" GC leak
13533 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13535 * LaTeX.C (scanAuxFile):
13536 (deplog): remove trailing \r when reading stream (useful under
13539 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
13541 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13542 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13543 and BufferView::theLockingInset(Inset*), so should use them and not
13544 access bv_->text->the_locking_inset directly.
13546 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13548 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13551 * tex-defs.h: remove old unused file
13553 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
13555 * BufferView_pimpl.C: fix typo, remove minibuffer message
13556 when buffer has loaded
13558 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13560 * lyxfunc.C (Dispatch): use stringstream
13561 (MenuNew): use stringstream
13562 (Open): use stringstream
13564 * importer.C (Import): use stringstream
13566 * bufferview_funcs.C (CurrentState): use stringstream
13568 * LaTeX.C (run): use stringstream
13570 * BufferView_pimpl.C (savePosition): use stringstream
13571 (restorePosition): use stringstream
13572 (MenuInsertLyXFile): use stringstream
13574 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
13587 * vspace.C: removed // -*- C++ -*- as first line.
13590 * version.h: added // -*- C++ -*- as first line.
13592 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13594 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13596 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13599 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13601 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13604 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13606 * gettext.C: include LString.h even when --disable-nls is on.
13608 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
13610 * converter.h (Get): changed argument type from int to
13611 FormatList::size_type to avoid unnecessary conversion.
13613 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13616 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13618 * gettext.h: include LString.h even when --disable-nls is on.
13620 2001-06-07 Juergen Vigna <jug@sad.it>
13622 * text.C (BreakAgain): subst spaces with tabs.
13624 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13625 (resizeInsetsLyXText): set force on resizeLyXText.
13627 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13629 * gettext.h (gettext_init):
13630 (locale_init): use a real definition instead of a macro
13632 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13634 * Bufferview_pimpl.C:
13636 * LColor.C: further lcolor tidies
13638 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13640 * BufferView_pimpl.C (updateScrollbar): simplify.
13642 * BufferView2.C: don't include insets/insetinfo.h, change
13643 prototype for insertInset and call the Pimpl version. let
13644 updateInset call Pimpl version.
13646 * BufferView.h: move inset_slept to BufferView::Pimpl, move
13647 gotoInset to BufferView::Pimpl
13649 2001-06-01 Juergen Vigna <jug@sad.it>
13651 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13652 inside a LockingInset (is the update needed at all?).
13654 2001-05-31 Juergen Vigna <jug@sad.it>
13656 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13657 here not the old one otherwise how should we compare it afterwards
13660 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13665 * FontInfo.C: bring C functions into global namespace when
13668 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13670 * LString.h: make sure config.h has been loaded before LString.h.
13672 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13673 (one for each char read by EatLine!).
13675 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13678 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13680 * paragraph.C (BreakParagraph): set the inset_owner in the new par
13681 to the same as the par we break from
13683 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
13685 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13687 * MenuBackend.C (expand): also create menu entries for wide
13688 versions of the floats.
13690 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13692 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13694 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13695 frontends/Makefile.am
13701 * tabular.C (getTokenValue): add std::
13703 * tabular-old.C (getTokenValue): add std::
13704 (getTokenValue): ditto
13705 (getTokenValue): ditto
13707 * screen.C (ToggleSelection): adjust
13709 * lyxtext.h: put selection cursors inside a Selection struct.
13711 * lyxfunc.C (moveCursorUpdate): adjust
13713 * lyxfont.C (latexWriteStartChanges): add std::
13715 * lyxfind.C: adjust
13717 * font.h: delete with(char const *, LyXFont const &)
13719 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13721 * FontInfo.C (getFontname): add std::
13723 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13724 (workAreaButtonPress): adjust
13725 (tripleClick): adjust
13727 (moveCursorUpdate): adjust
13730 * BufferView2.C (gotoInset): adjust
13732 2001-05-30 Juergen Vigna <jug@sad.it>
13734 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13735 to check pspell I add this as default as I now have new pspell
13736 libraries and they seem to use this.
13738 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13740 * text2.C (CutSelection): make the cursor valid before the call to
13743 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13745 * kbsequence.C (parse): de-uglify a bit the parsing code, which
13746 relied on 0 terminated strings and other horrors. Bug found due to
13747 the new assert in lyxstring!
13749 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13752 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13754 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13757 * lyxfunc.C (processKeySym): change method of getting to the
13760 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13761 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13762 * BufferView_pimpl.[Ch]: here as private methods.
13764 2001-05-28 Juergen Vigna <jug@sad.it>
13766 * text.C (SetHeightOfRow): added the update() call again as it is
13767 needed to initialize inset dimensions!
13769 2001-05-16 Juergen Vigna <jug@sad.it>
13771 * text2.C (SetCharFont): Add new function with BufferView * and
13772 bool toggleall parameters for setting insets internal fonts.
13773 (SetFont): Freeze the undo as we may change fonts in Insets and
13774 all this change should be inside only one Undo!
13776 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13777 setting font's in insets as for them we have the SetFont function!
13779 2001-05-15 Juergen Vigna <jug@sad.it>
13781 * text2.C (ClearSelection): to be sure we REALLY don't have any
13784 * tabular.C (TeXCellPreamble): fixed the left border problem for
13787 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
13789 * LaTeX.C (deplog): Make sure that the main .tex file is in the
13792 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13794 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13795 LFUN_BREAKPARAGRAPH.
13797 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13798 help test to "internal only", similar for LFUN_INSERT_URL
13800 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13801 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13802 auto_region_delete and deadkeys.
13804 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
13807 * LColor.C: remove some dead entries, tidy a little
13809 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13811 * lyxfunc.C (processKeySym): comment the Escape handling, remove
13813 (Dispatch): implement LFUN_ESCAPE
13815 * commandtags.h: add LFUN_ESCAPE
13817 * LyXAction.C (init): add entry for LFUN_ESCAPE
13819 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13820 Remove commented code.
13821 (insertNote): moved here
13822 (open_new_inset): moved here
13824 * BufferView[2].[Ch]: move insertNote and open_new_inset to
13827 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13829 * kbmap.C (findbinding): clean it up and make it work correctly.
13831 * lyx_main.C (init): do not pass argc and argv as parameters
13833 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
13835 * buffer.C: fix path for OS/2 & Win32
13839 * lyx_main.C: Added os:: class.
13841 * os2_defines.h: update
13843 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13845 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13846 better by trying again with reduced state.
13848 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13850 * lyxrc.C (read): print error about invalid key sequence only when
13851 debugging (because not all latinX keysyms are known to some X
13854 * kbsequence.C (getiso): add a few std:: qualifiers
13855 (getiso): comment out extra return statement.
13857 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
13859 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13861 (Dispatch): enhance the accent inset a bit. (not perfect)
13863 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13865 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13867 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13869 * bufferlist.C (emergencyWrite): fix assert() call
13871 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
13873 * text.C (InsertChar): Added trivial patch to only send the "you
13874 can not do multiple spaces this way" message once during a
13877 2001-05-08 Baruch Even <baruch@lyx.org>
13879 * Makefile.am: Changed order of libraries to get LyX to link properly
13880 with the gnome frontend.
13882 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13884 * LaTeXFeatures.h: add a std:: qualifier
13886 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13888 * paragraph.C (String): use stringstream
13890 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13892 * paragraph.C (writeFile): remove footflag arg
13894 * buffer.C (makeLaTeXFile): use stringstream
13895 (latexParagraphs): remove footnot gurba
13897 * LaTeXFeatures.C (getPackages): use stringstream
13898 (getMacros): likewise
13899 (getTClassPreamble): likewise
13900 (getFloatDefinitions): new method
13902 * paragraph.C (writeFile): reindent
13905 * WorkArea.h: revert the xpos + etc changes.
13907 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13909 * lyxparagraph.[Ch]: add copy constructor, remove Clone
13911 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13912 (pasteSelection): likewise
13913 * text2.C (CreateUndo): likewise
13915 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13917 * minibuffer.C (peek_event): temporarily reduce the functionality
13918 of the minibuffer (to allow args on lfuns)
13920 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13921 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13923 * buffer.C (readInset): add compability reading of old float
13924 lists, add reading of new style float list.
13925 (readInset): avoid reevaluation of inscmd.getCmdName()
13926 (getLists): reindent
13928 * MenuBackend.C (MenuItem): implement parsing of
13929 md_floatlistinsert and md_floatinsert.
13930 (expand::LastFiles): move initalizaton of iterators out of loop,
13931 avoid reevaluation.
13932 (expand::Documents): introduce typdedef vector<string> Strings,
13934 (expand::ExportFormats): introduce typedef vector<Format const *>
13935 Formats, and use it.
13936 (expand): implement FloatListInsert and FloatInsert.
13938 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13939 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13940 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13942 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13944 (Dispatch::LFUN_FLOAT_LIST): implement
13946 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13948 * LaTeX.C (run): Fix problem with --export code.
13950 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13952 * BufferView.[Ch] (workarea): removed.
13953 (getClipboard) new method; wrapper for workarea()->getClipboard()
13955 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13958 * WorkArea.h (width, height, xpos, ypos): These methods all
13959 returned the dimensions of the work_area sub-area of WorkArea,
13960 resulting in a position error if the WorkArea were resized. Now
13961 return the dimensions of the entire WorkArea.
13963 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13965 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13967 * LaTeX.C (deplog): correct the syntax of regex reg1
13969 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13971 * undo.C: remove !NEW_INSETS cruft
13973 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13975 * text2.C: remove !NEW_INSETS cruft
13977 * text.C: remove !NEW_INSETS cruft
13979 * tabular.C: remove !NEW_INSETS cruft
13981 * spellchecker.C: remove !NEW_INSETS cruft
13983 * lyxtext.h: remove !NEW_INSETS cruft
13985 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13987 * lyxfunc.C: remove !NEW_INSETS cruft
13989 * lyxfind.C: remove !NEW_INSETS cruft
13991 * lyx_cb.C: remove !NEW_INSETS cruft
13993 * figureForm.C: remove !NEW_INSETS cruft
13995 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13997 * buffer.[Ch]: remove !NEW_INSETS cruft
13999 * ToolbarDefaults.C: remove !NEW_INSETS cruft
14001 * CutAndPaste.C: remove !NEW_INSETS cruft
14003 * BufferView_pimpl.C: remove !NEW_INSETS cruft
14005 * BufferView2.C: remove !NEW_INSETS cruft
14007 * BufferView.h: remove !NEW_INSETS cruft
14009 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14011 * Lsstream.h: include LString.h before the sstream headers to
14012 fix problem with gcc 2.95.3 and lyxstring
14014 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14016 * lyx_main.C: add using directives when needed for C functions
14017 declared in std:: namespace.
14019 2001-04-27 Juergen Vigna <jug@sad.it>
14021 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14022 (SetHeightOfRow): comment out the update call should not be needed!
14024 2001-04-13 Juergen Vigna <jug@sad.it>
14026 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14027 (LyXTabular): tried to minimize operator= operations (and realized
14028 hopfully Lars wish).
14030 2001-04-27 Juergen Vigna <jug@sad.it>
14032 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14034 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14036 * lyxfunc.C (Dispatch): hack to make listof algorithm work
14038 * buffer.C (readInset): hack to make listof algorithm work
14040 * BufferView_pimpl.C: hack to make listof algorithm work
14042 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14044 * LyXAction.C: removed all !NEW_INSETS cruft
14045 (init): moved lfun_item in method
14047 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14049 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14051 * BufferView2.C (theLockingInset): white space.
14053 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14055 * minibuffer.C: include <iostream>
14057 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14059 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14061 * commandtags.h: add LFUN_TRANSPOSE_CHARS
14063 * text.[Ch] (TransposeChars): new method
14065 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14067 * call message directly through LyXView instead of through LyXFunc
14068 * BufferView2.C: adjust
14069 * BufferView_pimpl.C: adjust
14070 * FontLoader.C: adjust
14072 * bufferview_funcs.C: adjust
14073 * converter.C: adjust
14074 * figureForm.C: adjust
14075 * importer.C: adjust
14077 * lyx_gui_misc.C: adjust
14078 * lyxfunc.C: adjust
14081 + more files in subdirs
14083 * lyxparagraph.h (size): move up int file
14086 * adjust all uses of Assert to lyx::Assert.
14088 * BufferView2.C (ChangeCitationsIfUnique): adjust for
14089 lyxfunctional in namespace lyx
14090 * layout.C (hasLayout): ditto
14093 (delete_layout): ditto
14094 (NumberOfClass): ditto
14095 * converter.C (GetFormat): ditto
14100 * bufferlist.C (getFileNames): ditto
14101 (emergencyWriteAll): ditto
14104 * MenuBackend.C (hasSubmenu): ditto
14107 * BufferView_pimpl.C (getInsetByCode): ditto
14109 2001-04-18 Juergen Vigna <jug@sad.it>
14111 * vspace.C (asLatexString): fixed the 100% problem.
14113 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14115 * lyxfunc.C (Dispatch):
14117 * minibuffer.h: add a few std:: qualifiers
14119 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14121 * minibuffer.[Ch]: reimplement so that commands is initiated and
14122 run from lyxfunc, simplified som handling, and made the completion
14123 and history code for complete. wip.
14125 * lyxfunc.C (processKeySym): call message
14126 (miniDispatch): new temporary method
14127 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14128 (LFUN_MESSAGE): implement
14129 (LFUN_MESSAGE_PUSH): implement
14130 (LFUN_MESSAGE_POP): implement
14131 (initMiniBuffer): the initial/defualt minibuffer message.
14133 * lyxfont.[Ch]: inline some more getters
14135 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14137 * lyx_gui_misc.[Ch] (WriteStatus): remove method
14139 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14140 (AutoSave): use LFUN_MESSAGE
14141 (Reconfigure): ditto
14143 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14145 * figureForm.C: use LFUN_MESSAGE
14147 * converter.C (runLaTeX): use LFUN_MESSAGE
14149 * bufferview_funcs.C: use LFUN_MESSAGE
14151 (changeDepth): ditto
14153 * bufferparams.h: use boost::
14155 * bufferlist.h: inherit privately from noncopyable
14157 * bufferlist.C (loadLyXFile): remove some commented code.
14159 * buffer.C (runChktex): use LFUN_MESSAGE
14161 * ShareContainer.h: inherit privately from noncopyable
14163 * ParagraphParameters.[hC] (depth): inline it.
14165 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14167 (message): new method
14168 (messagePush): ditto
14169 (messagePop): ditto
14170 (show): init minibuffer
14171 (showState): direct call
14173 * LaTeX.[Ch]: inherit privately from noncopyable
14174 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14175 instead of WriteStatus.
14177 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14179 * BufferView_pimpl.C (buffer): don't init minibuffer
14180 (workAreaButtonPress): use LFUN_MESSAGE
14181 (workAreaButtonRelease): ditto
14182 (savePosition): ditto
14183 (restorePosition): ditto
14184 (MenuInsertLyXFile): ditto
14185 (workAreaExpose): don't init minibuffer
14186 (update): remove commented code, simplify
14188 * BufferView2.C (openStuff): use LFUN_MESSAGE
14189 (toggleFloat): ditto
14192 (copyEnvironment): ditto
14193 (pasteEnvironment): ditto
14198 (updateInset): remove some commented code
14200 * lastfiles.h: inherit privately from noncopyable
14203 * lyx_main.h: ditto
14205 * lyxlex_pimpl.h: ditto
14207 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14208 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14209 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14211 * LyXAction.h: inherit privately from noncopyable, add methods
14212 func_begin, func_end, returning iterators to the func map.
14214 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14215 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14216 (func_begin): new method
14217 (func_end): new method
14219 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14221 (copySelection): ditto
14222 (pasteSelection): ditto
14224 * BufferView.C: whitespace change
14225 * BufferView.h: inherit privately from noncopyable
14227 2001-04-16 Allan Rae <rae@lyx.org>
14229 * tabular-old.C (l_getline):
14230 * spellchecker.C (sc_check_word):
14231 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14232 an unrecognised preprocessor directive. So ensure they're wrapped.
14234 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
14236 * src/exporter.C (Export): Give an error message when path to file
14239 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
14241 * LaTeX.C (deplog): Always check that foundfile exists.
14243 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14246 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14248 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14250 * tabular.[Ch] (getLabelList): implement new method
14252 * minibuffer.h: comment ouf setTiimer
14254 * minibuffer.C (ExecutingCB): constify res
14255 (peek_event): constify s
14256 (Set): constify ntext
14257 (Init): constify nicename
14259 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14261 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14262 (savePosition): use two params to Minibuffer::Set
14263 (restorePosition): ditto
14265 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14267 * lyx_main.C: include language.h
14269 * Makefile.am (lyx_main.o): add language.h
14271 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14277 * CutAndPaste.C: include gettext.h
14279 * lyxfont.h: remove old hack with ON and OFF.
14282 * lyxfont.h: do not include language.h...
14287 * bufferview_funcs.C:
14293 * paragraph.C: ... but do it here instead
14295 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14297 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14299 * tabular.C: small reformat
14301 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14304 (BreakParagraph): ditto
14305 (SetOnlyLayout): ditto
14308 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14311 * lastfiles.C: removed most using decl, add std:: where needed
14313 * buffer.C: ws changes
14315 * MenuBackend.C (class compare_format): put into anon namespace
14316 (expand): constify label, names, action, action2
14319 * text.C (SingleWidth): constify font
14320 (IsBoundary): constify rtl2
14321 (GetVisibleRow): constify ww
14323 * LaTeX.C (deplog): constify logfile
14325 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14327 (workAreaExpose): constify widthChange, heightChange
14329 * lyxrow.C (par): moved
14332 * lyxrow.h: as inlines here
14334 * lyxfont.h (shape): moved from lyxfont.C
14335 (emph): moved from lyxfont.C
14337 * lyxfont.C (LyXFont): use initialization list for all
14339 (shape): move to lyxfont.h as inline
14340 (emph): move to lyxfont.h as inline
14343 2001-04-04 Juergen Vigna <jug@sad.it>
14345 * vspace.C: had to include stdio.h for use of sscanf
14347 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
14350 * BufferView_pimpl.h: remove xforms cruft. Both classes are
14351 independent of xforms.
14353 2001-04-02 Juergen Vigna <jug@sad.it>
14355 * spellchecker.C: fixed namespace placing!
14357 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
14359 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14360 the LyXParagraph * is 0.
14362 2001-03-29 Juergen Vigna <jug@sad.it>
14364 * vspace.C: added support for %, c%, p%, l%.
14365 (stringFromUnit): added helper function.
14366 (asLatexString): changed to give right results for the %-values.
14368 * buffer.C: convert the widthp in a width%.
14370 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
14372 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14375 * figureForm.[Ch]: stripped the FD_from_figure manipulation
14376 code out of lux_cb.[Ch], ready for its (imminent?) removal.
14378 * lyx_cb.[Ch]: see above.
14380 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14384 * lyx.[Ch]: replaced by figure_form.[Ch].
14388 * lyxfunc.C: changed headers associated with above changes.
14390 2001-03-27 Juergen Vigna <jug@sad.it>
14392 * BufferView_pimpl.C: set the temporary cursor right!
14394 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
14396 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14398 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
14400 * LString.h: removed "using std::getline"!
14402 * BufferView_pimpl.C (Dispatch): changes due to changes in
14403 InsetInclude::Params.
14405 * buffer.C (tag_name): removed redundant break statements as they were
14406 producing lots of warnings with my compiler.
14408 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14410 * LString.h: add "using std::getline" when using the real <string>.
14412 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
14414 * buffer.C: removed bitset usage.
14415 PAR_TAG moved to an anonymous name space.
14416 (tag_name): new funtion, also in the anonymous namespace.
14417 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14418 (makeDocBookFile): clean code. Completed transition from string arrays
14420 (SimpleDocBookOnePar): code clean.
14422 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14424 * tabular.C: add some comments.
14426 2001-03-22 Juergen Vigna <jug@sad.it>
14428 * buffer.C (parseSingleLyXformat2Token): redone the minipage
14429 compatibility read a bit and fixed bug with minipage in different
14432 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
14434 * buffer.C (pop_tag): removed.
14435 (push_tag): removed.
14436 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14437 array replaced with vector. Added support for CDATA sections.
14438 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14440 (makeDocBookFile): XML conformant declaration of CDATA section,
14441 fixed bug related to <emphasis> in the first paragraph char.
14442 (sgmlOpenTag): exclude empty tags.
14443 (sgmlCloseTag): ditto.
14445 * buffer.h (pop_tag): removed.
14446 (push_tag): removed.
14448 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
14450 * language.h (Languages): added size_type and size().
14452 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14454 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14455 response on compability reading of minipages. One probliem is that
14456 the old usage of minipages was «flertydig»
14458 * several files here and in subdirs: don't use static at file
14459 scope use anon namespaces instead.
14461 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
14463 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14464 LaTeX output. This is necessary for Literate document
14467 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14469 * buffer.C: insert hfill when needed.
14471 * tabular.C (l_getline): use string::erase, small whitespace change.
14473 * BufferView_pimpl.C: try the anon namespace.
14474 * WorkArea.C: ditto
14476 2001-03-16 Juergen Vigna <jug@sad.it>
14478 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14479 otherwise it won't open options-dialogs.
14481 * buffer.C: honor pextraWidth(p) on converting minipages.
14483 * tabular.C (l_getline): changed the functions to strip trailing \r.
14485 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
14487 * BufferView_pimpl.C:
14488 * minibuffer..C: added "using SigC::slot" declaration.
14490 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14492 * lyxlex_pimpl.h: noncopyable is in namespace boost.
14498 * paragraph.C: ditto
14500 * lyxtext.h: NO_PEXTRA
14502 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14504 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14505 * ParameterStruct.h: ditto
14506 * ParagraphParameters.h: ditto
14507 * lyxparagraph.h: ditto
14509 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14511 * buffer.C: add compability for minipage alignment.
14512 (latexParagraphs): remove unwanted pextra check.
14514 * several files: remove CXX_WORKING_NAMESPACES
14516 * buffer.C (pop_tag): tie is in namespace boost
14518 * BufferView.h: noncopyable is in namespace boost
14520 * lyx_main.h: ditto
14523 * lastfiles.h: ditto
14524 * bufferlist.h: ditto
14525 * ShareContainer.h: ditto
14527 * LyXAction.h: ditto
14530 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14532 * Merging changes from BRANCH_MVC back into HEAD.
14534 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14536 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
14538 * BufferView_pimpl.C: change from intl.C
14542 * Makefile.am: move combox.*
14548 * intl.C: remove dialog (covered by prefs)
14550 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14552 * lyxfunc.C (Dispatch): removed redundant break statement.
14554 2001-03-14 Juergen Vigna <jug@sad.it>
14556 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14558 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14560 * buffer.C: add hack to fix compability reading of minipages.
14562 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
14564 * buffer.C (getLists): Cleanup.
14566 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14568 * lyxfont.C (update): don't honor toggleall on font size.
14570 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
14574 * Makefile.am: moved to frontends/xforms/
14578 * BufferView_pimpl.C: changes for moved mathpanel
14580 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14582 * gettext.h: fix gettext_init() in --disable-nls
14584 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14586 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14588 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
14591 * lyx.h: strip external form
14593 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14595 * BufferView_pimpl.C: add comment, destroySplash()
14597 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14599 * BufferView_pimpl.C:
14603 * lyxfunc.C: use re-worked insetinclude
14605 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14607 * buffer.C: add using std::stringstream.
14609 * lyx_cb.C: readd using std::ios.
14611 * buffer.C: add using std::map.
14613 * BufferView_pimpl.C: add using std::vector.
14615 * ShareContainer.h: add std:: to swap.
14617 * buffer.h: add some typedefs
14618 * buffer.C (getLists): use them
14619 (getLists): renamed from getTocList.
14620 add a counter for the different float types and use it in the
14622 (getLists): use the same counter for the NEW_INSETS and the "non"
14625 * lyx_cb.h: remove unused items, includes, using etc.
14627 * ShareContainer.h: remove some commented code, add more comments
14628 and "documentation".
14630 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14632 * buffer.C (getTocList): make the list also when NEW_INSETS is
14635 * buffer.h: remove TocType
14637 * buffer.C (getTocList): change to return a map<string,
14638 vector<TocItem> >, implement for dynamic number of list.
14640 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14641 * text2.C (PasteSelection): adjust
14642 * CutAndPaste.C (pasteSelection): adjust
14644 * FloatList.C (FloatList): update from the new_insets branch.
14645 * Floating.[Ch]: ditto
14646 * LaTeXFeatures.C: ditto
14648 * lyxlex_pimpl.C: ditto
14650 * paragraph.C (Last): remove when NEW_INSETS is defined.
14652 * other file: changes because of the above.
14654 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14656 * lyxparagraph.h: rename next to next_, previous to previous_,
14657 make them private for NEW_INSETS. Rename Next() to next(),
14658 Previous() to previous().
14660 * other files: changes because of the above.
14662 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
14665 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14668 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14670 * main.C (main): pass lyx_localedir to gettext_init().
14672 * gettext.h: remove locale_init and gettext_init macros
14674 * gettext.C (locale_init): new function
14675 (gettext_init): new function
14677 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14680 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
14682 * Moved credits to frontends:
14683 * credits.[Ch]: removed
14684 * credits_form.[Ch]: removed
14685 * lyx_gui_misc.C: remove credits stuff
14688 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14690 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14692 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14693 unneeded destructor.
14695 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14696 a standalone pointer again.
14698 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14700 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
14706 * ToolbarDefaults.C:
14715 * BufferView_pimpl.C: use new file dialog in GUII
14718 * lyx_cb.C: remove LayoutsCB to Toolbar
14720 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14722 * ShareContainer.h (get): add std:: qualifier
14724 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14726 * ShareContainer.h: define a proper ShareContainer::value_type
14727 type (and use typename to please compaq cxx)
14729 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14731 * lyxparagraph.h: move serveral local vars to
14732 ParameterStruct/ParagraphParameters., use ShareContainer in
14733 FontTable., make vars in FontTable private and add getter and
14736 * paragraph.C: changes because of the above.
14738 * lyxfont.h: remove copy constructor and copy assignment. (the
14739 default ones is ok), move number inside FontBits. move inlines to
14742 * lyxfont.C: add number to initializaton of statics, move several
14743 inlines here. constify several local vars. some whitespace
14744 cleanup. Dont hide outerscope variables.
14746 * Spacing.h: add two new constructors to match the set methods.
14748 * ShareContainer.h: new file, will perhaps be moved to support
14750 * ParameterStruct.h: new file
14752 * ParagraphParameters.h: new file
14754 * ParagraphParameters.C: new file
14756 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14757 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14759 * BufferView_pimpl.C: ParagraphParameter changes.
14760 * buffer.C: Likewise.
14761 * bufferview_funcs.C: Likewise.
14762 * text.C: Likewise.
14763 * text2.C: Likewise.
14765 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14767 * lyxfind.C (LyXReplace): do not redefine default argument in
14769 (IsStringInText): ditto
14770 (SearchForward): ditto
14771 (SearchBackward): ditto
14773 2001-03-06 Juergen Vigna <jug@sad.it>
14775 * lyxfind.C (IsStringInText): put parentes around expressions.
14777 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
14779 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14781 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
14783 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14785 * stl_string_fwd.h: add comment
14787 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14790 * tabular.C: remove unused DocBook methods
14796 killed DO_USE_DEFAULT_LANGUAGE
14798 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14800 * lyx_gui.C: do not include language.h.
14802 * bufferview_funcs.C (ToggleAndShow): do not provide optional
14803 arguments in function implementation.
14805 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14807 * BufferView_pimpl.C: add <ctime>
14809 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14811 * BufferView_pimpl.C: add using std::find_if
14813 2001-02-27 José Matos <jamatos@fep.up.pt>
14815 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14818 2001-02-11 José Matos <jamatos@fep.up.pt>
14820 * buffer.C (makeDocBookFile): command styles now have a parameter as
14821 "title" by default.
14823 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
14825 * layout_forms.[Ch]: removed
14826 * lyx_cb.[Ch]: out character
14827 * lyx_gui.C: out character
14828 * lyx_gui_misc.C: out character
14829 * bufferview_funcs.C: : out character,
14830 added toggleall as parameter in ToggleAndShow
14832 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
14834 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14836 * text2.C (SetCurrentFont): Disable number property at boundary.
14838 2001-02-26 Juergen Vigna <jug@sad.it>
14840 * lyxfunc.C (getStatus): added a string argument override function so
14841 that this is correctly called from LyXFunc::Dispatch if it contains a
14842 do_not_use_argument which is used!
14843 (Dispatch): added check for "custom" export and call appropriate func.
14845 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
14847 * lyxrc.C: Add language_command_local, language_use_babel and
14848 language_global_options.
14850 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14852 * buffer.C (makeLaTeXFile): Use language_use_babel and
14853 language_global_options.
14855 2001-02-23 Juergen Vigna <jug@sad.it>
14857 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14858 which works with LyXText and putted it inside BufferView. Here now we
14859 only call for that part the BufferView::Dispatch() function.
14861 * BufferView.C (Dispatch): added.
14863 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14864 functions which needs to use a LyXText over from LyXFunc.
14865 (MenuInsertLyXFile): added
14866 (getInsetByCode): added
14867 (moveCursorUpdate): added
14868 (static TEXT): added
14870 2001-02-22 Juergen Vigna <jug@sad.it>
14872 * BufferView_pimpl.C (update): call a status update to see if LyXText
14875 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14877 * vc-backend.C (revert): implement for CVS
14878 (getLog): implement for CVS
14880 2001-02-20 Juergen Vigna <jug@sad.it>
14882 * text2.C (ClearSelection): added BufferView param for inset_owner call
14884 * lyxfunc.C (TEXT): added this function and use it instead of
14885 directly owner->view()-text of getLyXText().
14887 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
14889 * src/layout_forms.C: out preamble
14890 * src/layout_forms.h: out preamble
14891 * src/lyx_cb.C: out preamble
14892 * src/lyx_cb.h: out preamble
14893 * src/lyx_gui.C: out preamble
14894 * src/lyx_gui_misc.C: out preamble
14895 * src/lyxfunc.C: connect with guii preamble
14897 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
14899 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14901 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
14903 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14904 whether to run bibtex.
14906 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
14908 * Makefile.am (lyx_SOURCES): Remove BackStack.h
14910 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14912 * Makefile.am (lyx_SOURCES): removed bibforms.h
14914 * vspace.h: doxygen
14916 * text.C (GetVisibleRow): make several local vars const
14918 * tabular.C: small cleanup.
14920 * lyxserver.C (callback): use compare instead of strncmp
14922 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14923 inlines to after class or to paragraph.C
14925 * lyxfont.h: remove friend operator!=
14927 * converter.h: move friend bool operator< to non friend and after
14930 * combox.h: small cleanup
14932 * buffer.h: doxygen, remove unused constructor, move inclas inlies
14933 to inlines after class def.
14935 * buffer.C (pop_tag): use string operations instead of strcmp
14937 * bmtable.c: doxygen, small cleanup
14939 * LaTeX.h: remove friend operator==
14941 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
14953 * BufferView_pimpl.C:
14954 * BufferView.[Ch]: remove cruft
14956 2001-02-14 Juergen Vigna <jug@sad.it>
14958 * lyxfunc.C: removed #if 0 unused code
14960 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14962 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14964 * text2.C (SetSelection): added a BufferView * parameter
14966 2001-02-13 Juergen Vigna <jug@sad.it>
14968 * lyxfunc.C (Dispatch): fixed protected blank problem.
14969 * BufferView2.C (protectedBlank): added LyxText * parameter.
14971 * tabular.C (AppendRow): forgot to set row_info of newly added row.
14972 (AppendColumn): same as above for column_info.
14974 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14975 (moveCursorUpdate): use a LyXText param for support of InsetText.
14977 * BufferView_pimpl.C (doubleClick): added support for InsetText.
14978 (tripleClick): ditto
14980 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14982 * BufferView_pimpl.C (update): added LyXText param to honor insets.
14984 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14986 * text2.C (SetSelection): set correct update status if inset_owner
14987 (ToggleFree): ditto
14989 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
14991 * tabular.C: remove some commented code.
14993 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
14995 * BufferView_pimpl.C: call hideSplash()
14997 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15000 * bibforms.h: remove
15003 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15004 add LFUN_CHILD_CREATE
15006 * counters.h: fix tiny typo
15011 * lyx.C: move splash to frontends/xforms/
15013 * lyx_gui_misc.C: move Include and Bibform to frontends
15015 * lyxvc.h: clarify comment
15017 * vspace.C: tiny housekeeping
15019 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
15021 * text.C (PrepareToPrint): RTL Fix.
15023 * paragraph.C (GetUChar): New method.
15024 (String): Use GetUChar.
15026 * buffer.C (asciiParagraph): Use GetUChar.
15028 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
15030 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15032 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
15035 * buffer.C: rename to getLogName(), handle
15036 build log / latex log nicely
15038 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15041 * MenuBackend.h: remove support for reference menuitem type.
15043 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
15045 * BufferView_pimpl.C: housekeeping
15046 * BufferView_pimpl.h:
15051 * minibuffer.h: move Timeout GUI-I
15053 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
15055 * lyxrc.C (read): Update converters data-structures.
15057 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
15059 * LaTeX.h (operator!=): add operator != for Aux_Info
15061 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
15063 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15065 * LaTeXLog.C: deleted, useful code moved to Buffer
15068 * buffer.C: new function getLatexLogName()
15074 * lyxfunc.C: use frontends for LaTeX and VC logs
15076 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15078 * LaTeX.h: yet another std:: that Allan forgot.
15080 * Variables.C (set): renamed from isset(), because this clashes
15081 with some HP-UX macros (grr).
15083 2001-02-06 Allan Rae <rae@lyx.org>
15085 * LaTeX.h: Another bug fix. Missing std:: this time.
15087 2001-02-04 Allan Rae <rae@lyx.org>
15089 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15090 floats problem. I've left it commented out because it's not quite
15091 correct. It should also test that the current object is a table or
15092 figure inset. But I haven't gotten around to figuring out how to do
15093 that. I *think* it'll be something like: "table" == inset.type()
15095 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15098 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
15100 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15101 all the citation/databases/styles in the auxilary file.
15102 (run): Rerun latex if there was a babel language error.
15104 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
15106 * text.C (Backspace): Preserve the font when changing newline char
15108 (BreakParagraph): If the cursor is before a space, delete the space.
15110 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15112 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
15114 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15115 new argument (code).
15116 (ChangeCitationsIfUnique): New method.
15118 * paragraph.C (GetPositionOfInset): Handle bibkey.
15120 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15122 * BufferView_pimpl.h: change type of Position::par_pos to
15123 LyXParagraph::size_type.
15125 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
15127 * BufferView_pimpl.C (savePosition, restorePosition): Write
15128 messages to minibuffer.
15130 2001-01-28 José Matos <jamatos@fep.up.pt>
15132 * buffer.C (makeDocBookFile): adds support for document language.
15133 A silly restriction on the name of LatexCommand types where removed.
15134 Added support for CDATA sections, allows to chars unescaped, used
15135 among others in code, to avoid escape < and >.
15137 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15139 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15140 saved positions instrad of a stack. Furthermore, a position is
15141 stored using paragraph id/paragraph position.
15143 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15144 Remove LFUN_REF_BACK.
15146 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15148 * converter.C (dvipdfm_options): New method.
15150 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
15152 * vspace.C (isValidLength): Fix for empty input string.
15154 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15156 * LyXAction.C (init): change description of LFUN_FIGURE to
15159 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15161 * LaTeX.C: add using directive
15163 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15165 * MenuBackend.C (expand): Fix the sorting of the formats.
15167 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
15169 * lyx_main.C: tiny error message fix
15171 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15173 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15174 calling fl_initialize(). This fixes the problem with ',' as
15175 decimal separator in text files.
15177 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15179 * trans.C (process): Fix the keymap bug.
15181 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
15183 * LaTeX.C (scanAuxFiles): New method. Provides support for
15184 multiple bibliographies (when using the bibtopic/bibunits pacakges).
15185 (scanLogFile) Scan for "run BibTeX" messages.
15187 * buffer.C (makeLaTeXFile): Do not load the ae package when using
15188 OT1 font encoding. Also, load the aecompl package if the ae
15191 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15193 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15195 * texrow.C (increasePos): turn two error messages into debug
15198 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
15200 * LaTeX.C (scanAux): Handle the \@input macro.
15201 (runBibTeX): Use scanAux().
15203 * language.C (latex_options_): New field.
15205 * LaTeXFeatures.C (getMacros): Add language macros.
15207 * buffer.C (makeLaTeXFile): Small fix.
15209 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15211 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15213 * text2.C: add a using directive.
15215 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
15220 * lyxfunc.C: kill LyXBell.
15222 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
15224 * text.C (IsBoundary): Remove the error message
15226 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15228 * lyxrc.C (setDefaults): Correct initialization value for
15231 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
15233 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15236 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15237 and GotoNextNote().
15239 * src/LyXAction.C: Added reference-next.
15241 * text.C (InsertChar): Use contains instead of strchr.
15243 * lyx_cb.C (MenuInsertLabel): Enable default value code.
15245 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
15247 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15248 alignment commands (when needed).
15250 * text.C (InsertChar): Add ':' to number separator chars.