1 2004-03-30 Angus Leeming <leeming@lyx.org>
4 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
5 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
7 * lyxfunc.C (getStatus, dispatch): define the actions for these
8 lfuns. Little more than a cut and pste job from ControlDocument.C
10 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
12 2004-03-30 Angus Leeming <leeming@lyx.org>
15 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
16 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
18 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
19 open/closed state of ollapsable insets. Usage:
21 all-inset-toggle <state> <name>, where
22 <state> == "open" || "closed" || "toggle" and
23 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
25 * lyxtext.h, text2.C (toggleInset): removed.
27 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
28 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
29 now passes LFUN_INSET_TOGGLE to the found inset.
31 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
32 is now invoked as "all-insets-toggle toggle branch".
34 2004-03-30 Angus Leeming <leeming@lyx.org>
38 * pariterator.[Ch]: added/corrected header blurb.
40 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
42 * dociterator.[Ch]: add an inset_ member
43 (backwardPos): implemented
44 (backwardPos, forwardPos): use inset_ when the stack is empty.
45 (doc_iterator_begin, doc_iterator_end): implemented
46 * pariterator.[Ch]: adjust, add begin, end
47 * insetiterator.[Ch]: adjust, add begin, end
52 * CutAndPaste.C: adjust
54 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
56 * buffer.C: increment file format to 232.
57 * LaTeXFeatures.C: add bibtopic package.
58 * bufferparams.[Ch]: param \use_bibtopic.
60 * lyxrc.[Ch]: add lyxrc bibtex_command
61 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
63 * buffer.C: increment file format to 231.
65 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
67 * dociterator.C: implement forwardPar
68 * iterators.[Ch]: remove, replaced by
69 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
82 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
84 * CutAndPaste.C (pasteSelection): fix 2 crashes
85 (eraseSelection): fix a crash
86 * paragraph_funcs.C: remove a warning
88 2004-03-28 Angus Leeming <leeming@lyx.org>
91 * LyXAction.C (init): new LFUN_PRINT.
93 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
95 2004-03-27 Angus Leeming <leeming@lyx.org>
98 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
100 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
102 2004-03-27 Angus Leeming <leeming@lyx.org>
104 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
105 insetlist always contains non-null pointers to insets.
107 2004-03-26 Angus Leeming <leeming@lyx.org>
109 * src/BufferView_pimpl.C:
113 * src/output_plaintext.C:
114 * src/outputparams.h:
115 * src/paragraph_funcs.C:
119 * src/frontends/controllers/ControlErrorList.C:
120 * src/frontends/gtk/FileDialogPrivate.C:
121 * src/frontends/gtk/GPainter.C:
122 * src/frontends/gtk/GToolbar.C:
123 * src/frontends/qt2/QRef.C:
124 * src/mathed/math_scriptinset.C: squash compiler warnings.
126 2004-03-26 Angus Leeming <leeming@lyx.org>
128 * ispell.C (LaunchIspell::start):
129 * lyx_cb.C (AutoSaveBuffer::start):
130 invoke run(DontWait) rather than runNonBlocking().
132 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
134 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
136 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
138 * kbsequence.C (print): adjust
140 * kbmap.C (printKeySym): rename and change signature
141 (printKey): use LyXKeySym::print()
143 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
145 * undo.C: add using std::advance to compile for stlport
147 2004-03-24 Angus Leeming <leeming@lyx.org>
149 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
150 it leads to a crash when no buffer is present.
152 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
153 Martin Vermeer <martin.vermeer@hut.fi>
155 * lyxfunc.C (dispatch):
156 * bufferparams.C (readToken): use the new LColor::setColor
158 * LColor.[Ch] (setColor): new version that takes two strings as
159 argument and creates a new color entry if necessary
161 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
163 * buffer.C (makeLaTeXFile): if the main latex file that is
164 processed is usually a subdocument of some master, then pretend
165 for a while that it is actually the master
167 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
169 * buffer.C (getLabelList):
170 (getBibkeyList): use getMasterBuffer()
171 (getMasterBuffer): new method. Returns the main document in the
172 case where one is using included documents.
174 2004-03-25 André Pönitz <poenitz@gmx.net>
178 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
180 * ParagraphList_fwd.h: change ParagraphList to a std::vector
182 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
183 text*.C over here. Rename namespace CutAndPaste to lyx::cap
185 * ParameterStruct.h: merge with ParagraphParameters
187 * lyxtext.h: remove LyXText::parOffset() and getPar()
189 * text3.C: Remove all 'manual' update calls. We do now one per user
190 interaction which is completely sufficient.
194 * BufferView_pimpl.C:
197 * ParagraphParameters.[Ch]:
209 * output_docbook.[Ch]:
211 * output_linuxdoc.[Ch]:
212 * output_plaintext.[Ch]:
214 * paragraph_funcs.[Ch]:
215 * paragraph_pimpl.[Ch]:
223 * frontends/controllers/ControlDocument.C:
224 * frontends/controllers/ControlErrorList.C:
225 * frontends/controllers/ControlSpellchecker.C:
228 * insets/insetbase.h:
229 * insets/insetbibitem.C:
231 * insets/insetbranch.C:
232 * insets/insetcaption.C:
233 * insets/insetcharstyle.C:
234 * insets/insetcharstyle.h:
235 * insets/insetcollapsable.C:
236 * insets/insetcollapsable.h:
238 * insets/insetfloat.C:
239 * insets/insetfoot.C:
240 * insets/insetmarginal.C:
241 * insets/insetnote.C:
242 * insets/insetoptarg.C:
243 * insets/insettabular.C:
244 * insets/insettext.C:
245 * insets/insettext.h:
246 * insets/insetwrap.C:
247 * mathed/math_mboxinset.C:
248 * mathed/math_nestinset.C:
249 * mathed/math_scriptinset.C:
250 * mathed/math_scriptinset.h:
253 2004-03-24 Angus Leeming <leeming@lyx.org>
255 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
256 deal with any child processes that have finished but are waiting to
257 communicate this fact to the rest of LyX.
259 2004-03-24 Angus Leeming <leeming@lyx.org>
261 64-bit compile fixes.
263 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
264 (c-tor): pass lyx::pos_types rather than ints.
266 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
269 * text.C (Delete): compile fix.
270 (getPar): ensure that function declaration is the same as that in
273 2004-03-23 Angus Leeming <leeming@lyx.org>
275 * ispell.C (LaunchIspell):
276 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
277 a boost::shred_ptr rather than a std::auto_ptr.
279 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
281 * lyxfunc.C (getStatus): handle read-only buffers correctly;
282 handle LFUN_FILE_INSERT_*
284 * lyxrc.C (setDefaults, getDescription, output, read):
285 * lyxrc.h: remove ps_command
287 2004-03-22 Angus Leeming <leeming@lyx.org>
289 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
290 Ensure that error_handler is processed once only and that all data
291 is saved before attempting to output any warning messages.
293 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
295 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
297 * tabular.C (TeXRow): crash fix (from Kayvan and André)
299 2004-03-19 André Pönitz <poenitz@gmx.net>
301 * cursor.[Ch] (reset): take main text inset as argument
304 * BufferView_pimpl.C: adjust
306 * paragraph.[Ch]: fix completely broken operator=()
308 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
310 * LColor.C (getFromLyXName): make sure that the color name is used
313 2004-03-17 Angus Leeming <leeming@lyx.org>
316 * LyXAction.C (init): remove LFUN_FORKS_KILL.
318 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
319 dialog and to kill a forked process.
321 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
323 * text2.C (setCursorFromCoordinates): fix font problem
325 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
327 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
328 bogus "rebuild cursor" code
330 2004-03-11 André Pönitz <poenitz@gmx.net>
332 * buffer.[Ch]: use InsetText instead of LyXText as container for
335 * dociterator.[Ch]: drop the BufferView * member which is not needed
336 anymore after the change to buffer.C
342 * BufferView_pimpl.[Ch]:
344 * cursor_slice.[Ch]: adjust
346 * text3.C: fix bug in mathDispatch
348 2004-03-08 André Pönitz <poenitz@gmx.net>
350 * undo.[Ch]: use 'StableDocumentIterator' as base for
353 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
356 * bufferparams.[Ch]: add jurabib support and param.
358 * LaTeX.C: add FIXME/comment.
360 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
362 * buffer.C: increment file format to 230.
364 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
366 * cursor.C (dispatch): avoid infinite loops
368 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
370 * rowpainter.C (paintSelection): fix x coordinates
372 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
374 * text.C (rowBreakPoint): fix breaking before displayed insets
376 2004-03-01 André Pönitz <poenitz@gmx.net>
378 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
380 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
384 * BufferView_pimpl.C:
392 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
398 * BufferView_pimpl.C: rename textwidth -> maxwidth,
399 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
401 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
403 * Bidi.[Ch] (computeTables): const correctness
404 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
405 fill_hfill, fill_label_hfill and x from Row
406 * lyxtext.h: prepareToPrint returns a RowMetrics
407 * rowPainter.C: adjust
408 * text.C (prepareToPrint): use width, not textWidth. adjust
409 (redoParagraphInternal, cursorX): adjust
410 * text2.C (getColumnNearX): adjust
411 (init): put a default value to the top LyXText::width
413 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
415 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
417 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
419 * lyxtext.h: add FontIterator class
421 * text.C (FontIterator, operator*, operator->, operator++): add
422 (rowBreakPoint, setRowWidth): adjust (fixing a
425 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
427 * BufferView_pimpl.C (workAreaDispatch): allow also
428 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
430 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
432 * text.C (rowBreakPoint): fix a bug showing with very large insets
434 2004-02-25 André Pönitz <poenitz@gmx.net>
437 * cursor.[Ch]: move some mathed specific code to mathed
439 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
441 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
442 use_tempdir in preferences
443 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
445 * lyx_main.C: ensure that tempdir is valid
446 * lyxlex.h: correct typo
447 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
448 * paragraph.[Ch] (isMultiLingual): make const
449 * cursor.[Ch] (openable): make const
451 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
453 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
455 2004-02-20 André Pönitz <poenitz@gmx.net>
457 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
459 * cursor.[Ch]: prepare for localized getStatus()
465 * text3.C: streamlines the LyXText cursor movement handlers a bit.
467 2004-02-20 André Pönitz <poenitz@gmx.net>
469 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
471 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
473 * text2.C (setCursorFromCoordinates): switch to absolute coords
476 * text3.C (dispatch): adjust
478 2004-02-16 André Pönitz <poenitz@gmx.net>
480 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
483 * cursor_slice.[Ch]: remove unneeded acessor function
485 * lyxtext.h: rename rtl() to isRTL()
493 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
495 * rowpainter.C (paintSelection): coord fix
497 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
499 * Spacing.C: compile fix
501 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
503 * cursor.C (dispatch): restore current_ before returning
505 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
507 * text2.C (cursorUp, cursorDown): fix coords
510 2004-02-12 André Pönitz <poenitz@gmx.net>
515 * text3.C: add LCursor & parameter to most cursor movement functions
516 remove usage of LyXText::cursorRow() and cursorPar()
518 * cursor.[Ch]: add textRow() needed members
521 * BufferView_pimpl.C:
524 * BufferView_pimpl.C: adjust
526 2004-02-11 André Pönitz <poenitz@gmx.net>
530 * BufferView_pimpl.C: shift undo/redo handling
532 * cursor.[Ch]: fix mathed crash
535 * lyxtext.h: move selectionAsText to LCursor
543 * rowpainter.C: fix excessive drawing
545 2004-02-06 André Pönitz <poenitz@gmx.net>
548 * BufferView_pimpl.[Ch]:
549 * text3.C: move some text specific LFUN handling
551 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
553 * text3.C (checkInsetHit): adjust coords
554 * text2.C (getColumnNearX): adjust coords
555 (edit): adjust coords
556 * text.C (getRowNearY): add two asserts
558 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
561 * format.C: add using std::distance to compile on gcc 2.95/stlport
563 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
565 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
567 2004-02-04 André Pönitz <poenitz@gmx.net>
569 * BufferView.[Ch] (insertInset):
570 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
575 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
577 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
578 on the default clause of the switch
579 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
580 wasn't catched by LCursor::dispatch
582 2004-02-03 André Pönitz <poenitz@gmx.net>
585 * cursor.[Ch]: some additional asserts
587 * undo.[Ch]: remove LyXText dependency in interface
591 * lyxtext.h (firstPar, lastPar): remove dead functions
596 * paragraph.[Ch]: adjust
598 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
600 * lyxfind.C (find): fix argument order in call to ::find
602 2004-02-02 André Pönitz <poenitz@gmx.net>
604 * cursor.[Ch]: remove direct access to anchor
606 * text.C: remove findText() hack
608 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
610 * iterators.[Ch] (lockPath): remove in favour of...
611 * BufferView.[Ch] (setCursor): this addition
612 * BufferView.C (putSelectionAt): adjust
613 * undo.C (performUndoOrRedo): adjust
614 * lyxfunc.C (dispatch): adjust
616 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
618 * iterators.C (lockPath): add a missing slice
619 * undo.C (performUndoOrRedo): remove redundant positioning code
621 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
623 * vc-backend.C (scanMaster): ";" -> ';'
625 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
627 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
630 * lyxtextclass.C (compare_name): rename to...
631 (LayoutNamesEqual): ...this
633 * lyxlex_pimpl.C (compare_tags): inherit from
634 std::binary_function, put back into anon namespace
636 * lyxfind.C (MatchString): inherig from std::binary_function
637 (findChange): use empty() istead of !size()
639 * format.C (FormatNamesEqual): new functor
646 * converter.C (compare_Converter): rename to...
647 (ConverterEqual): ...this, and fixup a bit.
648 (getConverter): use it, and make function const
649 (getNumber): use it, and make function const
653 * bufferlist.C: add using boost::bind
655 * MenuBackend.C (MenuNamesEqual): new functor
656 (hasMenu): use it, and make function const
657 (hasSubmenu): use nested bind to get rid of compare_memfun.
659 2004-01-30 André Pönitz <poenitz@gmx.net>
661 * BufferView_pimpl.C:
672 * text3.C: move some of the edit(x,y) handling to the insets
673 some coordinate changes.
675 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
677 * text.C: add using statements for std::advance and std::distance
679 * paragraph.C: add using statement for std::distance
681 * lyxfind.C: add using statement for std::advance
683 * cursor.C (region): remove std:: from swap
684 (openable): use nucleus in stead of operator->
686 * BufferView.C: add using statements for std::distance and std::swap
688 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
690 * iterators.C: Remove the pimple, move the needed structures to
691 the header file. Create accessor for the positions stack.
692 (asPosIterator): remove function
694 * PosIterator.C (PosIterator): move constructors to top of file
695 (PosIterator): reimplement the constructor taking a ParIterator in
697 (setFrom): new function
698 (operator!=): inline it
700 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
702 * lyxfind.C (replaceAll): use std::advance
704 * iterators.h: inherit from std::iterator.
706 * PosIterator.C (advance, distance): remove
707 * PosIterator.h: interit from std::iterator.
709 2004-01-26 André Pönitz <poenitz@gmx.net>
712 * BufferView_pimpl.[Ch]:
716 * bufferview_funcs.C:
727 * output_plaintext.C:
729 * paragraph_funcs.[Ch]:
730 * paragraph_pimpl.[Ch]:
736 * text3.C: more IU: dumps most of the rest of the mathcursor
737 implementation into cursor.[Ch]; "globalize" a bit of it.
739 2004-01-25 Angus Leeming <leeming@lyx.org>
741 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
743 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
745 * LaTeXFeatures.h: add nice_ and nice() const
746 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
748 2004-01-20 André Pönitz <poenitz@gmx.net>
751 * BufferView_pimpl.C:
753 * bufferview_funcs.C:
766 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
767 LCursor and mathcursor parts to LCursor and InsetBase.
769 2004-01-15 André Pönitz <poenitz@gmx.net>
771 * cursor_slice.[Ch]: add a few covienience functions
773 * funcrequest.[Ch]: remove BufferView * member
775 * BufferView_pimpl.C:
782 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
784 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
786 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
787 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
789 2004-01-13 André Pönitz <poenitz@gmx.net>
792 * lyxtext.h: hide cursor and selection anchor behind accessor function
795 * BufferView_pimpl.[Ch]:
797 * bufferview_funcs.C:
807 * cursor_slice.[Ch]: some integer type changes for inset unification
809 * lyxcursor.[hC]: remove, it's CursorSlice now.
812 * BufferView_pimpl.[Ch]:
813 * bufferview_funcs.C:
819 * textcursor.[Ch]: adjust
821 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
823 * text2.C (undoSpan): add and use
824 * text.C (breakParagraph): use undoSpan (fix bug 578)
827 2004-01-08 Angus Leeming <leeming@lyx.org>
829 * BufferView_pimpl.C (MenuInsertLyXFile):
830 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
831 * lyxfunc.C (menuNew, open, doImport):
832 FileFilterList change to the FileDialog open and save functions.
834 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
836 * ShareContainer.h: make isEqual and isUnique adaptable
838 * CutAndPaste.C: make resetOwnerAndChanges adaptable
840 2004-01-07 Angus Leeming <leeming@lyx.org>
843 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
845 * BufferView_pimpl.C (dispatch): act on these LFUNs.
847 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
848 functions replacing find, replace and replaceAll.
850 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
851 LFUN_WORDFIND(FORWARD|BACKWARD).
853 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
855 * text.C (breakParagraph): remove an outdated #warning
857 2004-01-07 André Pönitz <poenitz@gmx.net>
859 * lyxfind.C: somewhat clearer logic
861 * text.C: prevent crash in cursorX on unitialized row cache
863 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
865 * lyxcursor.[Ch] (operator>): add
866 * textcursor.C (selStart, selEnd): use std::min and std::max
868 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
870 * Chktex.C: include boost/format.hpp
872 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
874 * InsetList.C: replace functor MathcIt with adaptable functor
876 (insetIterator): modify accordingly
878 * BranchList.h: move the BranchNamesEqual functor here from...
879 * BranchList.C: ... to here
881 * BranchList.C: new BranchListEqual fuctor, use it. Remove
883 (add): replace a finding loop with std::find_if.
885 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
887 * output_docbook.C: moving LatexParam functionality into
890 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
892 * buffer.C: increment format to 229.
894 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
897 * lyx_sty.[Ch]: remove minipageindent_def
903 * text3.C: remove LFUN_INSET_MINIPAGE
905 2003-12-28 Angus Leeming <leeming@lyx.org>
907 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
909 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
911 * text2.C (setParagraph): fix off-by-one crash
913 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
915 * output_docbook.C: header stuff for AGU
917 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
919 * text2.C (redoCursor): remove
922 * BufferView_pimpl.C: remove calls to redoCursor and
923 setCursor(cursor.par(), cursor.pos()) all around
925 2003-12-15 Angus Leeming <leeming@lyx.org>
927 * buffer.C: up the format to 228.
929 2003-12-15 André Pönitz <poenitz@gmx.net>
931 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
936 * BufferView_pimpl.C:
945 2003-12-15 Angus Leeming <leeming@lyx.org>
947 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
948 than getFromGUIName to manipulate the color.
950 2003-12-14 Angus Leeming <leeming@lyx.org>
952 * BranchList.[Ch]: minimize the API.
953 (Branch::getBranch, getColor): now return a 'const &'.
954 (Branch::setSelected) now returns a bool set to true if the
955 selection status changes.
956 (BranchList::clear, size, getColor, setColor, setSelected,
957 allBranches, allSelected, separator): removed.
958 (BranchList::find): new functions, returning the Branch with
960 (BranchList::add, remove): return a bool indicating that
961 the operation was successful.
963 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
964 new InsetBranch::isBranchSlected member function.
966 * LColor.[Ch]: mimimize the API.
967 (fill): renamed as addColor and made private.
968 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
969 versions of these functions taking a string arg have been removed.
971 * bufferparams.C (readToken):
972 * lyxfunc.C (dispatch):
973 * lyxrc.C (read): changes due to the altered BranchList and
976 * factory.C (createInset, readInset): changes due to altered
979 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
982 * lyxfunc.C: remove insetminipage. "minipage-insert"
983 now produces a frameless minipage box inset.
985 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
987 * textcursor.[Ch] (selStart,selEnd): add new methods
988 remove selection::start, end, use LyXCursor::operator<
989 * lyxcursor.[Ch] (operator<): add
990 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
991 * BufferView.[Ch] (unsetXSel): add
992 * text2.C (clearSelection): use unsetXSel,adjust
995 * rowpainter.C: adjust
996 * bufferview_funcs.C (put_selection_at): adjust
998 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1000 * BufferView_pimpl.C: small coord. correction
1002 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1004 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1005 dragging over the splash screen.
1007 2003-12-11 Angus Leeming <leeming@lyx.org>
1009 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1010 as it is now handled in LyXText::dispatch.
1012 * text3.C (doInsertInset): remove a level of nesting.
1014 2003-12-11 Angus Leeming <leeming@lyx.org>
1016 * factory.C (createInset): changes due to the changed interface to
1017 InsetCommandMailer::string2params.
1019 2003-12-10 Angus Leeming <leeming@lyx.org>
1021 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1022 'dialog-show-new-inset <inset name>'
1024 2003-12-10 Angus Leeming <leeming@lyx.org>
1026 * buffer.C: up the format to 227.
1028 * factory.C: the box inset is now identified simply by 'Box'.
1030 2003-12-10 Angus Leeming <leeming@lyx.org>
1032 * buffer.C: up the format to 226.
1034 * factory.C: the note inset is now identified simply by 'Note'.
1036 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
1038 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1039 when a pit is enough. Standarize a couple of loops.
1041 2003-12-05 Angus Leeming <leeming@lyx.org>
1043 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1044 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1045 data to the re-worked "log" dialog.
1047 2003-12-03 André Pönitz <poenitz@gmx.net>
1053 * paragraph_funcs.C:
1055 * text2.C: use Inset::getText instead of Inset::getParagraph
1057 2003-12-03 André Pönitz <poenitz@gmx.net>
1061 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1062 InsetText::read() as LyXText::read()
1064 2003-12-02 Angus Leeming <leeming@lyx.org>
1066 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1067 type. Add a comment in the implementation that the function uses
1068 the stream's bad() function rather than fail() as the std::streams
1071 2003-12-02 André Pönitz <poenitz@gmx.net>
1073 * lyxlex.[Ch]: make interface more similar to std::stream
1075 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1077 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1079 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1081 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1083 * vspace.[Ch]: remove VSpace::NONE
1085 2003-12-01 André Pönitz <poenitz@gmx.net>
1088 * lyxtext.h: move ParagraphList member to LyXText
1089 rename LyXText::ownerParagraphs to LyXText::paragraph
1092 * bufferview_funcs.C:
1102 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1104 * undo.C: fix cursor positioning
1106 2003-12-01 John Levon <levon@movementarian.org>
1108 * BufferView_pimpl.C: fix a crash on exit with
1111 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
1113 * BranchList.C: fix setSelected() method.
1115 2003-11-28 André Pönitz <poenitz@gmx.net>
1117 * ParagraphParameters.[Ch]:
1118 * ParameterStruct.h: remove space above/below from Paragraph to
1121 * BufferView_pimpl.C:
1127 * paragraph_funcs.C:
1133 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1135 * factory.C: Syntax change for CharStyles
1137 2003-11-28 André Pönitz <poenitz@gmx.net>
1142 * buffer.[Ch]: move LyXText member
1144 2003-11-28 André Pönitz <poenitz@gmx.net>
1146 * BufferView.[Ch]: make LyXText * text a private member
1148 * BufferView_pimpl.C:
1159 * output_plaintext.C: cleanup
1161 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1164 * lyxtextclass.[Ch]: parametrize SGML document header
1166 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1169 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1172 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1174 * text2.C (setFont): rework using PosIterator (no more recursive)
1175 (setCharFont): no more needed
1176 (setLayout): no more selection cursors fiddling (done by redoCursor)
1177 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1178 destroy remaining ones)
1180 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
1182 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1184 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1187 * text3.C: adjust + re-allow multi par depth changes
1188 * textcursor.C: simplify a bit
1190 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
1196 * src/output_docbook.C:
1197 * src/output_latex.C:
1202 * src/text2.C: Introducing a number of tags parametrizing various
1203 XML formats that we may want to support
1205 2003-11-25 André Pönitz <poenitz@gmx.net>
1207 * InsetList.[Ch] (begein, end): inline as suggested by profiler
1209 * lyxtext.h (leftMargin/rightMargin): simplify interface
1216 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1218 * lyxfunc.C (dispatch): propogate the bibtex databases from the
1219 master file to any child files. Fixes bug 546.
1221 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1223 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1225 2003-11-24 André Pönitz <poenitz@gmx.net>
1227 * rowpainter.C: simplification
1229 * text2.C (updateCounters): remove call to redoParagraph on
1230 changed labels as this is far too expensive.
1232 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1234 * converter.C (convert): fix a crash: this function gets
1235 called with buffer == 0 from importer code.
1237 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1239 * text3.C (cursorPrevious): make sure that we do not compare
1240 iterators form different containers.
1243 * rowpainter.C (paintSelection): make sure that we do not compare
1244 iterators from different containers.
1246 * text3.C (dispatch): [PRIOR] make sure that we do not compare
1247 iterators from different ParagraphList containers.
1250 * text2.C (LyXText): change order of initialization slightly
1251 (operator=): new function. copy all variables except cache_par_
1252 (moveUp): make sure that we do not compare iterators from
1253 different ParagraphList constainers.
1256 * text.C (firstPar): new function
1257 (lastPar): new function
1258 (endPar): new function
1260 * lyxtext.h: move things around and group public functions, public
1261 variables, private functions, private variables
1263 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1265 * factory.C: change call to InsetERT constructor to avoid
1266 additional invocation of method status
1267 * text2.C (toggleInset): remove redundant update() call
1268 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1269 instead of a Bufferview pointer
1271 2003-11-21 André Pönitz <poenitz@gmx.net>
1273 * rowpainter.C: simplification
1275 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1277 * text3.C (dispatch): make possible to extend a word/row selection
1280 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1282 * lyxtext.h: x0_,y0_ -> xo_,yo_
1283 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1284 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1285 * rowpainter.C (paintRows): paint full paragraphs
1287 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1289 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1292 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1294 * lyxtext.h: add x0_, y0_
1295 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1296 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1298 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
1300 * text2.C (setCursorIntern): move the x_target update here *
1301 * text3.C: change some bv() to true/false in calls to
1302 cursorUp/Down/Right/Left
1303 * cursor.C: use helper function.
1305 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1307 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1308 * paragraph_funcs.[Ch]: correct comment
1309 * rowpainter.C: do not paint selections away from bv->cursor()
1310 Fix a long standing selection painting bug.
1311 * text3.C: generalize mouse-selection code to LyXTexts other that
1313 * textcursor.C: do not use y coords if we can use par offsets
1315 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1317 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1318 cursor position after e.g. inset insert)
1320 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
1322 * lyxfind.C (replace): adjust to locking removal + some
1325 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
1327 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1330 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
1333 * output_docbook.C: XML sanitation: new layout
1334 parameters InnerTag and CommandDepth
1336 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
1338 * BufferView_pimpl.C:
1340 * text3.C: Fix the insertion and modification of button-style
1343 2003-11-13 André Pönitz <poenitz@gmx.net>
1345 * InsetList.[Ch]: remove deleteLyXText
1347 * paragraph.[Ch]: cache beginOfBody position
1352 * text3.C: remove superfluous update() calls
1356 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1358 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1359 * BufferView.C (fitLockedInsetCursor): remove
1360 * cursor.[Ch] (getDim): add
1361 * text.C (getRowNearY): add faster version
1362 * text3.C: remove some update calls
1364 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1376 * text3.C: The Character Style /XML short element patch.
1378 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
1381 * factory.C: Small step to solving 'unable to insert some insets'
1384 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1386 * cursor.[Ch] (updatePos): new function for updating the y
1387 position of the tip inset
1388 * bufferview_funcs.C (put_selection_at):
1389 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1391 2003-11-11 André Pönitz <poenitz@gmx.net>
1393 * text.C: remove big comment on invalid Paragraph pointers as it is
1396 2003-11-11 André Pönitz <poenitz@gmx.net>
1398 * text_funcs.[Ch]: merge with ...
1406 * Makefile.am: remove text_funcs.[Ch]
1408 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1410 * cursor.C (getPos): return absolute cached y coord
1412 * BufferView_pimpl.C (fitCursor): new simplistic code
1413 (workAreaDispatch): add a fitCursor call
1415 2003-11-10 André Pönitz <poenitz@gmx.net>
1418 * BufferView_pimpl.[Ch]: merge update() and updateInset()
1420 2003-11-10 André Pönitz <poenitz@gmx.net>
1422 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1423 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1424 indicate that the cursor needs to leave an inset
1426 * lyxtext.h: remove inset locking
1428 * cursor.[Ch]: re-implement functionality provided by inset locking
1431 * BufferView_pimpl.[Ch]:
1433 * bufferview_funcs.[Ch]:
1445 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1447 * PosIterator.[Ch]: replace the stack with a vector, add inset
1449 * iterators.[C]: adjust
1451 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1453 * lyxfind.C (replaceAll): mark the buffer dirty if something was
1455 * paragraph_funcs.C (readParToken): put the correct id in the
1456 error item, not the id of the top paragraph
1458 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1460 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1461 * bufferview_funcs.C (put_selection_at): use the above
1463 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1465 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1467 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1469 * output_linuxdoc.h:
1470 * output_plaintext.h:
1472 * output_docbook.h: add #include statements
1474 2003-11-05 José Matos <jamatos@lyx.org>
1476 * output_docbook.[Ch]:
1477 * output_latex.[Ch]:
1478 * output_linuxdoc.[Ch]:
1479 * output_plaintext.[Ch]: New files for output formats.
1480 * output.[Ch]: New file for helper functions.
1483 * paragraph_funcs.[Ch]: output functions moved to new files.
1485 * outputparams.h: rename of latexrunparams.h
1493 * paragraph_funcs.[Ch]:
1494 * paragraph_pimpl.[Ch]:
1495 * tabular.[Ch]: rename ascii to plaintext
1496 and LatexRunParams to OutputParams.
1498 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1500 * iterators.[Ch] (text): require bv argument
1501 * undo.C (recordUndo):
1502 * lyxfunc.C (dispatch):
1503 * bufferview_funcs.C (put_selection_at): adjust
1505 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
1507 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1509 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1511 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1514 2003-11-04 André Pönitz <poenitz@gmx.net>
1516 * cursor.[Ch]: restructure
1519 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1521 * iterators.[Ch] (asCursor): remove
1523 * lfuns.h: remove LFUN_INSET_EDIT
1529 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1531 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1533 * lyxfind.[Ch]: complete overhaul
1534 * BufferView_pimpl.C:
1536 * paragraph.[Ch] (insert): add
1538 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1542 * text.C: remove dead spellcheck code
1544 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1546 * dispatchresult.h: add a val setter
1548 * cursor.C (dispatch): use a tempvar for data_[i]
1550 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1552 * PosIterator.[Ch]: compile fix
1554 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1556 * text.C (cursorPar): deactivate the cursor cache
1558 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1560 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1562 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1564 * text3.C (dispatch): adjust for new DisptchResult semantics.
1566 * lyxfunc.C (dispatch): handle update when return from
1567 Cursor::dispatch, adjust for new DispatchResult semantics.
1569 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1570 DispatchResult(true) mean to not update. Add class functions for
1571 setting dispatched and update, as well as reading.
1573 * cursor.C (dispatch): don't handle update here
1575 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1577 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1578 * trans_mgr.C: adjust
1580 * paragraph_funcs.C (readParToken): exception safety
1582 * lyxvc.h: store the vcs pointer in a scoped_ptr
1585 * lyxsocket.C (serverCallback): exception safety
1587 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1589 * ispell.C (clone): make it return a auto_ptr
1591 * factory.C (createInset): exception safety
1592 (readInset): exception safety
1594 * bufferlist.C (newBuffer): exception safety
1596 * Thesaurus.C (Thesaurus): use initialization for aik_
1598 * MenuBackend.C (expandToc): exception safety.
1600 2003-11-03 André Pönitz <poenitz@gmx.net>
1604 * bufferview_funcs.C: remove getInsetFromId()
1607 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1613 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1615 * PosIterator.C (distance, advance): new
1616 * bufferview_funcs.[Ch] (put_selection_at): new
1617 * iterators.[Ch] (lockPath): new
1619 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
1621 * iterators.[Ch] (asPosIterator): added
1622 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1623 * PosIterator.[Ch]: added
1625 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1629 * cursor.C (dispatch):
1630 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1632 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1633 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1634 contructor, add a class function dispatched. Remove operator>=
1636 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1638 * debug.C: only use the default constructor for debugstream
1641 * main.C (main): include debug.h and setup the lyxerr streambuf
1644 2003-10-31 José Matos <jamatos@lyx.org>
1646 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1648 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1649 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1650 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1651 * paragraph_pimpl.C (simpleTeXSpecialC):
1652 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1653 add LatexRunParams argument.
1655 * exporter.C (Export): change call accordingly.
1657 * latexrunparams.h: add new member to take care of the other backends.
1658 2003-10-30 José Matos <jamatos@lyx.org>
1660 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1661 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1662 factorise code for paragraph output.
1664 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1667 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1669 * text3.C (dispatch):
1670 * lyxfunc.C (dispatch):
1671 * cursor.C (dispatch):
1672 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1674 * dispatchresult.h: make the dispatch_result_t ctor explicit
1676 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1679 * buffer.C: small refactoring of docbook stuff
1681 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1683 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1686 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1688 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1689 operator dispatch_result_t, and operators for == != and >=
1691 * cursor.C (dispatch): adjust for operator dispatch_result_t
1692 removal. comment out call to update
1694 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1696 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1704 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1707 * dispatchresult.h: new file, DispatchResult broken out of
1710 * Makefile.am (lyx_SOURCES): add dispatchresult.h
1712 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1714 * text.C (rowBreakPoint): put a hack inside #if 0
1716 2003-10-28 André Pönitz <poenitz@gmx.net>
1720 * paragraph_funcs.C:
1723 * text2.C: general cleanup (lots of small stuff)
1725 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1727 * text2.C (cursorEnd): simple fix to the "end key goes to one
1728 before the end on last row" bug
1730 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1732 * text.C (backspace): fix the "zombie characters"
1734 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1736 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1738 2003-10-27 André Pönitz <poenitz@gmx.net>
1740 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1742 * factory.C: handle new InsetPagebreak, InsetLine
1744 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1745 and move handling into new InsetPagebreak, InsetLine
1747 * BufferView_pimpl.C:
1749 * ParagraphParameters.C:
1750 * ParameterStruct.h:
1755 * paragraph_funcs.C:
1756 * paragraph_pimpl.C:
1762 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1765 * lyxrow_funcs.[Ch]:
1771 * text3.C: remove lastPos uses in favour of Row::endpos
1773 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1775 * undo.C (performUndoOrRedo): fix two crashes by setting a
1776 cursor by hand and reordering some calls. Use bv->lockInset instead
1777 of inset->edit because the latter loses cursor information
1779 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
1781 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1783 (rowBreakPoint): fix width. change point to point + 1.
1784 Add a missing check.
1786 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
1789 * lyxfunc.C: fix (at least partly) the problems
1790 with the Nav menu and headers inside branch insets
1793 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
1795 * paragraph.C (getChar): add strong asserts
1797 * lyxrow_funcs.C (lastPos): remove hideous hack
1799 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1800 (fill): adjust to that (avoid an infinite loop)
1802 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1804 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1806 2003-10-23 André Pönitz <poenitz@gmx.net>
1808 * RowList_fwd.h: change list<> to vector<> to gain speed
1809 after suggestion from Alfredo
1811 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1813 * lyxtext.h: move the bidi stuff from here...
1816 * Bidi.[Ch]: ... to here
1818 2003-10-23 André Pönitz <poenitz@gmx.net>
1821 * text.C (isLastRow, isFirstRow): new functions
1823 * paragraph.h: new width cache member
1825 * rowpainter.C: replace RowList::iterator with Row & where possible
1827 * lyxfunc.C: replace several view()->text with a single call
1829 * toc.C: fix 'unused' warning
1831 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1833 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1834 when woring with stream::pos_type
1835 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1837 2003-10-22 André Pönitz <poenitz@gmx.net>
1840 * text.C: use Row & instead of RowList::iterator
1842 * lyxrow.h: rename end() to endpos()
1848 2003-10-22 Angus Leeming <leeming@lyx.org>
1850 * buffer.[Ch] (fully_loaded): new member function, returning true
1851 only when the file has been loaded fully.
1852 Used to prevent the premature generation of previews and by the
1853 citation inset to prevent computation of the natbib-style label.
1855 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1856 templates are all set up.
1858 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1860 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
1862 * text.C: fixed an "oops" in the "is a bit silly"
1865 2003-10-21 André Pönitz <poenitz@gmx.net>
1867 * FuncStatus.[Ch]: small stuff, whitespace
1869 * lyxfont.[Ch]: operator<<() for debug reasons
1873 * lyxtext.h: whitespace, spelling
1875 * paragraph.C: naming of variables
1878 * text2.C: small stuff
1881 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1883 * text.C: (1) finish off the inset display() work;
1884 (2) fix the "is a bit silly" bug (accessing char
1887 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1889 * text.C: re-introduce display() for insets, fixing the
1890 various bugs (stretch of line above, math inset
1893 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1895 * text.C (rightMargin): remove spurious semicolon
1897 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1900 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
1902 * text3.C: fix one crash due to wrong cursor def
1904 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1906 * vc-backend.C (scanMaster): make the regex static
1908 * LaTeX.C (scanAuxFile): make the regexs static
1910 * text3.C (doInsertInset, dispatch, dispatch):
1911 * text2.C (cursorUp, cursorDown):
1912 * text.C (selectNextWordToSpellcheck):
1913 * BufferView_pimpl.C (dispatch):
1914 * lyxfunc.C (dispatch): localDispatch -> dispatch
1916 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1918 * lyxsocket.C: include <cerrno>
1920 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1922 * lyxfunc.C (dispatch): remove textcache stuff
1924 * bufferlist.C (release): remove textcache stuff
1927 * TextCache.C: delete file
1928 * TextCache.h: delete file
1930 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1932 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1933 delete of the bv_->text.
1934 (resizeCurrentBuffer): remove texcache stuff
1935 (workAreaResize): ditto
1937 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1939 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1942 2003-10-16 André Pönitz <poenitz@gmx.net>
1949 * text3.C: speed up by storing y positions per paragraph plus per-row
1950 offset instead of having a 'full' y position in the row.
1952 2003-10-15 André Pönitz <poenitz@gmx.net>
1956 * undo.[Ch]: make undo aware of inner insets
1958 2003-10-14 Angus Leeming <leeming@lyx.org>
1960 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1961 static member functions LyX::ref() and LyX::cref.
1962 (lastfiles): new accessor functions for the new lastfiles_ member var.
1963 (addLyXView, views_): add a new LyXView to the list of views_.
1964 (updateInset): loop over all LyXViews to call their own updateInset
1965 member function, returning a pointer to the Buffer owning the inset.
1967 * BufferView_pimpl.C (loadLyXFile):
1968 * MenuBackend.C (expandLastfiles):
1969 * bufferlist.C (MenuWrite, QuitLyX):
1970 lastfiles is no longer a global variable.
1971 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1973 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1974 static function. Access through LyX::cref().emergencyCleanup().
1976 2003-10-14 André Pönitz <poenitz@gmx.net>
1978 * iterators.[Ch]: new direct access to innermost LyXText and Inset
1980 * undo.[Ch]: restoring part of 'undo in insets'
1983 * undo_funcs.[Ch]: merge with undo.[Ch]
1985 * tabular.C: small cleansing stuff
1987 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
1989 * paragraph_funcs.C (readParToken): report unknown insets as error
1990 boxes. Use the outer paragraph as location (also for unknown
1993 * factory.C (readInset): do not abort on reading an unknown inset.
1994 Eat it and return 0.
1996 2003-10-13 Angus Leeming <leeming@lyx.org>
1998 * lyx_main.C (LyX): remove call to setDisplayTranslator().
2000 * lyxrc.C: displayTranslator is now a function,
2001 declared in GraphicsTypes.h.
2003 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2005 * format.C: new placeholder $$a to pass the socket address.
2007 * bufferlist.[Ch]: new function getBufferFromTmp.
2009 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2010 files in the temporary dir.
2012 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2014 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2016 * Makefile.am: add lyxsocket.[Ch].
2018 * lyx_main.C (error_handler): handle SIGPIPE.
2020 2003-10-13 André Pönitz <poenitz@gmx.net>
2022 * BufferView_pimpl.C:
2027 * undo_funcs.[Ch]: use paroffset_type instead of
2028 ParagraphList::iterators to prevent multiple conversion
2029 (and get a more robust interface)
2031 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2033 * lyxfunc.C (dispatch): RESULT -> dispatch_result
2035 * text3.C (dispatch): ditto
2037 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2039 * LaTeX.C (handleFoundFile): move the static to smaller scope,
2040 move the onlyfile, use onlyfile instead of foundfile in a couple
2043 * DepTable.C (update): flush the error stream a bit more
2045 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2047 * lyxserver.C (callback): adjust
2049 * lyxfunc.C (getStatus): add a missing brace in commented code
2050 (ensureBufferClean): reindent
2051 (dispatch): delete version taking a string
2053 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2055 * LaTeX.C (deplog): move found file handlig from here...
2056 (handleFoundFile): .. to new function here.
2057 (deplog): make sure to discover several files mentioned on the
2060 2003-10-10 André Pönitz <poenitz@gmx.net>
2067 * text3.C: fix some of the tabular crashes
2069 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2071 * MenuBackend.C (binding): put debug message into Debug::KBMAP
2073 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2075 2003-10-09 André Pönitz <poenitz@gmx.net>
2077 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2080 * BufferView_pimpl.C:
2081 * bufferview_funcs.C:
2092 * undo_funcs.C: adjust
2094 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2096 * text2.C (incrementItemDepth): new function, use a backtracking
2097 algorithm to discover the correct item depth.
2098 (resetEnumCounterIfNeeded): new function, use a backtracking
2099 algorithm to discover if counter reset is needed.
2100 (setCounter): use them. Simplify a bit. Add different labels for
2101 different item depths for itemize.
2103 * paragraph.C (Paragraph): remove initialization of enumdepth
2106 * paragraph.h: get rid of enumdepth, and use itemdepth both for
2107 enumerate and itemize. Change the type of itemdepth to signed char.
2109 2003-10-08 André Pönitz <poenitz@gmx.net>
2111 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2116 * tabular.[Ch]: fix crash after 'row-insert'
2118 2003-10-08 Angus Leeming <leeming@lyx.org>
2120 Fix doxygen warnings.
2122 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2123 Remove CutAndPaste:: prefix from header file declaration.
2125 * LColor.h (fill): remove LColor:: prefix from declaration.
2127 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2128 use lyx::depth_type rather than Paragraph::depth_type so that
2129 header file and .C file match.
2131 * converter.h (intToFormat): remove Converters:: prefix from declaration.
2133 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2134 * aspell.C: \file aspell_local.C -> \file aspell.C
2135 * gettext.C: \file gettext.C -> \file src/gettext.C
2136 * gettext.h: \file gettext.h -> \file src/gettext.h
2137 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2138 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2139 * text.C: \file text.C -> \file src/text.C
2141 * toc.C: move comment so that doxygen is not confused.
2143 2003-10-07 Angus Leeming <leeming@lyx.org>
2145 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2147 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2150 * aspell_local.h: add forgotten std::string's.
2152 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2159 * text3.C: The Box patch. Fancybox support, minipage, parbox
2161 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2167 * ParagraphParameters.h:
2177 * lyxtextclasslist.h:
2180 * paragraph_pimpl.C:
2181 * textcursor.h: add <string> and other small fixes to make Lars'
2182 std::string patch compile with STLport.
2184 2003-10-06 Angus Leeming <leeming@lyx.org>
2186 * LColor.h: Add missing #include <string>.
2188 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2190 * All most all file in all subdirs: Make <string> be the prefered
2191 way of getting to std::string, add using declarations.
2193 2003-10-06 André Pönitz <poenitz@gmx.net>
2195 * metricsinfo.C: initialize LyXFont before changing attribute.
2196 (fixes the 'math in \emph is upright' bug)
2198 2003-10-06 André Pönitz <poenitz@gmx.net>
2200 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2202 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
2205 * paragraph_pimpl.C: Small fixes to build using STLport
2207 2003-10-02 André Pönitz <poenitz@gmx.net>
2210 * text3.C: move handling of LFUN_DEPTH *; fix #1360
2212 2003-10-01 André Pönitz <poenitz@gmx.net>
2214 * factory.C: assert early
2216 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2218 * lyx_main.C: remove the global debug object
2220 * debug.h: adjust for new debugstream
2222 * debug.C: adjust for new debugstream and keep the global debug
2225 2003-09-22 Angus Leeming <leeming@lyx.org>
2227 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2228 of g++ which otherwise complain that the scoped_ptr destructor can't delete
2229 an incomplete class LyXFont.
2231 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2233 * factory.C: bug fix in branches
2235 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2237 * lyxfunc.C (processKeySym): adjust
2239 (dispatch): change arg name from ev to func, adjust
2240 (sendDispatchMessage): ditto
2242 * lyx_main.C (defaultKeyBindings): adjust keybindings
2243 (deadKeyBindings): ditto
2245 * kbsequence.C (addkey): return a FuncRequest
2247 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2249 * kbmap.C (bind): take a FuncRequest as arg, adjust
2252 (defkey): change to take a FuncRequest as arg, adjust
2253 (findbinding): take a FuncRequest as arg, adjust.
2255 * funcrequest.h (operator=): added
2257 * funcrequest.C (FuncRequest): default kb_action changed from
2258 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2260 * buffer.C (dispatch): simplify
2261 (dispatch): adjust to take a FuncRequest as arg, adjust
2263 * boost.C (assertion_failed): change assertion message slightly
2265 * ToolbarBackend.C (read): simplify
2267 * MenuBackend.C (binding): adjust call to findbinding, add a
2268 message if no binding is found.
2270 (expandToc): correct by adding a empty FuncRequest
2272 * LyXAction.C: include <boost/assert.hpp>
2273 (isPseudoAction): delete function
2274 (LookupFunc): change name to...
2275 (lookupFunc): this. change return type to FuncRequest.
2276 (getActionName): take kb_action as arg, simplify
2277 (funcHasFlag): add an assert, simplify.
2279 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2281 * toc.C (action): return a FuncRequest, simplify
2283 * lyxfunc.C (processKeySym): adjust
2284 (getStatus): delete version that takes an int.
2286 (dispatch): delete version that takes action as int
2288 (sendDispatchMessage): simplify and adjust
2290 * funcrequest.C (getArg): take unsigned int as arg
2292 * ToolbarBackend.C (read): adjust
2293 (add): delete version that takes func as a string.
2294 (getIton): take a FuncRequest as arg
2296 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2299 * MenuBackend.C (MenuItem): add a new construct that only takes a
2300 Kind, simplify the constructor use for submenus.
2302 (expandLastfiles): adjust
2303 (expandDocuments): adjust
2304 (expandFormats): adjust
2305 (expandFloatListInsert): adjust
2306 (expandFloatInsert): adjust
2307 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2309 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2310 Remove class variables lyx_pseudo_map and lyx_arg_map
2312 * LyXAction.C (searchActionArg): delete function
2313 (getPseudoAction): delete function
2314 (retrieveActionArg): delete function
2315 (LookupFunc): make it return kb_action, simplify.
2316 (getActionName): simplify
2318 * factory.C (createInset): fix new bug
2320 2003-09-19 Angus Leeming <leeming@lyx.org>
2322 * CutAndPaste.C (pasteSelection): remove fudge used to set the
2323 masterFilename_ parameter in the include inset.
2325 * factory.C (createInset): changes due to the changes to InsetInclude.
2327 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2329 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2331 2003-09-18 Angus Leeming <leeming@lyx.org>
2334 * BufferView.C: pass the buffer when calling Inset::getLabelList,
2335 Inset::fillWithBibKeys.
2336 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2338 2003-09-18 Angus Leeming <leeming@lyx.org>
2340 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2342 (ctor): pass and store a 'Buffer const &'
2343 (buffer): new member function.
2345 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2346 '*this' to the LaTeXFeatures ctor.
2348 2003-09-18 Angus Leeming <leeming@lyx.org>
2354 * text.C: rename EnumLColor as LColor_color.
2356 2003-09-18 Angus Leeming <leeming@lyx.org>
2358 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2359 remove #include "insets/insetbase.h" from cursor.h.
2361 2003-09-18 Angus Leeming <leeming@lyx.org>
2363 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2364 InsetOld_code to remove #include "inset.h".
2366 * iterators.C: add #include "insets/inset.h"
2368 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
2370 * BufferView.C: remove more locking stuff that apparently doesn't
2371 do anything sensible.
2373 2003-09-16 André Pönitz <poenitz@gmx.net>
2376 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2379 2003-09-16 Angus Leeming <leeming@lyx.org>
2381 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2383 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2386 * paragraph.h: remove #include "lyxfont.h". Forward declare
2389 2003-09-16 Angus Leeming <leeming@lyx.org>
2391 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2392 of support/textutils.h.
2393 (isWord): move the contents of support/textutils.h's IsWordChar here.
2399 * text2.C: add #include "paragraph.h".
2402 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2404 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2410 * LaTeX.C: use namespace alias for lyx::support::os
2412 2003-09-16 Angus Leeming <leeming@lyx.org>
2415 * bufferview_funcs.C:
2418 * paragraph_pimpl.C:
2420 * text.C: add #include "LColor.h".
2422 2003-09-16 Angus Leeming <leeming@lyx.org>
2424 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2425 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2427 Store the FontBits::color variable as an int rather than as an
2428 LColor::colorso that we can move LColor.h out of the lyxfont.h header
2431 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2432 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2433 string calls together.
2435 * lyxrc.C: add #include "LColor.h".
2437 2003-09-15 Angus Leeming <leeming@lyx.org>
2439 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2442 2003-09-15 Angus Leeming <leeming@lyx.org>
2444 * LColor.h: add an EnumLColor wrapper for LColor::color.
2446 * lyxfont.[Ch] (color, setColor, realColor):
2447 * lyxtext.h, text.C (backgroundColor):
2448 pass EnumLColor args to/from the functions, rather than LColor::color
2452 * lyxtext.h: forward declare EnumLColor.
2454 * lyx_main.C: add #include "LColor.h".
2456 2003-09-15 Angus Leeming <leeming@lyx.org>
2458 * .cvsignore: add lyx-gtk.
2460 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2465 * ParagraphParameters.C
2469 * bufferview_funcs.C
2479 * vc-backend.C: remove usage of STRCONV
2481 2003-09-15 Angus Leeming <leeming@lyx.org>
2483 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2484 explicitly define the color passed to the painter.
2486 2003-09-15 Angus Leeming <leeming@lyx.org>
2488 * bufferparams.C (BufferParams): reorder member initializers to avoid
2491 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
2493 * CutAndPaste.C (pasteSelection): remove an outdated #warning
2494 * text.C (updateRowPositions): remove an unusual nop
2496 2003-09-12 André Pönitz <poenitz@gmx.net>
2498 * BufferView_pimpl.C:
2507 * Counters.[Ch]: finish the 'automatic counters' job
2509 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2511 * aspell.C: include <boost/assert.cpp> (compile fix)
2513 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
2515 * boost.C (assertion_failed): use lyx::support::abort instead of
2518 2003-09-10 Angus Leeming <leeming@lyx.org>
2520 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2521 with their _fwd progeny.
2523 2003-09-09 Angus Leeming <leeming@lyx.org>
2525 134 files throughtout the source tree: replace 'using namespace abc;'
2526 directives with the appropriate 'using abc::xyz;' declarations.
2528 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2530 * boost.C (emergencyCleanup): moved here from LAssert.c
2531 (assertion_failed): new function, called by BOOST_ASSERT
2533 * several files: change Assert to BOOST_ASSERT
2535 2003-09-09 Angus Leeming <leeming@lyx.org>
2537 * buffer.[Ch]: Add an Impl class and move Buffer's member
2538 variables into it. As a result move several header files out of
2541 Add header files to lots of .C files all over the tree as a result.
2543 2003-09-09 Angus Leeming <leeming@lyx.org>
2545 * buffer.[Ch]: make Buffer's member variables private. Add
2548 Lots of changes all over the tree as a result.
2550 2003-09-08 Angus Leeming <leeming@lyx.org>
2552 * graph.C: #include <config.h>.
2554 2003-09-08 Angus Leeming <leeming@lyx.org>
2558 * BufferView_pimpl.C:
2587 * toc.C: remove redundant using directives.
2589 2003-09-07 Angus Leeming <leeming@lyx.org>
2591 * LaTeXFeatures.h: remove #include "support/types.h".
2592 * ToolbarBackend.h: remove #include <algorithm>.
2593 * changes.h: remove #include <ctime>.
2594 * debug.h: remove #include <iosfwd>.
2595 * graph.h: remove #include "support/std_string.h".
2596 * lyx_main.h: remove #include <csignal>.
2597 * lyxlex_pimpl.h: remove #include <fstream>.
2598 * sgml.h: remove #include <algorithm>, <utility>.
2599 * toc.h: remove #include "support/std_ostream.h".
2600 Add #include <iosfwd>.
2602 2003-09-07 Angus Leeming <leeming@lyx.org>
2604 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2606 * converter.h: forward declare LatexRunParams.
2607 * encoding.h: remove #include "lyxrc.h".
2608 * lyxtext.h: remove #include "LColor.h".
2609 * lyxtextclass.h: remove #include "support/types.h".
2610 * trans.h: remove #include "tex-accent.h".
2611 * trans_mgr.h: remove #include "tex-accent.h".
2612 * insets/inset.h: remove #include "support/types.h", <vector>.
2613 * insets/insetcollapsable.h: remove #include "LColor.h".
2614 * insets/insetinclude.h: remove #include "dimension.h".
2615 * insets/insetlatexaccent.h: remove #include "dimension.h".
2616 * insets/insetoptarg.h:: remove #include "insettext.h".
2617 * insets/insettext.h: remove #include "dimension.h",
2618 <boost/shared_ptr.hpp>
2620 * insets/renderers.h: add #include "dimension.h".
2621 * insets/updatableinset.h: add #include "support/types.h".
2623 * many .C files: Associated changes.
2625 2003-09-06 Angus Leeming <leeming@lyx.org>
2627 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2628 one, inside testInvariant.
2630 * PrinterParams.C: new file.
2631 * PrinterParams.[Ch]: move the function bodies out of line.
2633 2003-09-06 Angus Leeming <leeming@lyx.org>
2635 * ParagraphParameters.h: forward declare ParameterStruct rather than
2636 including its header file.
2637 (depth): moved out-of-line.
2639 2003-09-06 Angus Leeming <leeming@lyx.org>
2641 * BufferView_pimpl.h:
2644 * lyxfunc.h: forward declare LyXKeySym rather than
2645 #include "frontends/LyXKeySym.h".
2647 * BufferView_pimpl.C:
2650 * lyxfunc.C: associated changes.
2652 2003-09-06 Angus Leeming <leeming@lyx.org>
2654 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2655 As a result, can remove the #include "insets/inset.h" from BufferView.h
2657 2003-09-06 Angus Leeming <leeming@lyx.org>
2659 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2660 As a result, can remove the #include "insets/inset.h" from BufferView.h
2662 2003-09-06 Angus Leeming <leeming@lyx.org>
2668 * bufferview_funcs.C:
2669 * BufferView_pimpl.C:
2674 * ParagraphParameters.C:
2679 * frontends/controllers/ControlDocument.C:
2680 * insets/insetcaption.C: rearrange the #includes into some sort of
2683 * buffer.h: remove #includes ErrorList.h, undo.h
2685 2003-09-06 Angus Leeming <leeming@lyx.org>
2687 * support/types.h: add a 'depth_type' typedef, used to store the
2688 nesting depth of a paragraph.
2691 * ParameterStruct.h: use this lyx::depth_type typedef rather than
2692 defining explicitly.
2695 * paragraph_funcs.h:
2696 * ParagraphParameters.h:
2697 * sgml.h: use lyx::depth_type rather than Paragraph or
2698 ParameterStruct's depth_type.
2701 * paragraph_funcs.h: no need to #include paragraph.h anymore.
2704 * BufferView_pimpl.C:
2706 * ParagraphParameters.C:
2709 * bufferview_funcs.C:
2716 * frontends/LyXView.C:
2717 * frontends/controllers/ControlDocument.C:
2718 * frontends/controllers/ControlErrorList.C:
2719 * insets/insetbibitem.C:
2720 * insets/insetbranch.C:
2721 * insets/insetcaption.C:
2722 * insets/insetcollapsable.C:
2723 * insets/insetenv.C:
2724 * insets/insetert.C:
2725 * insets/insetfloat.C:
2726 * insets/insetfoot.C:
2727 * insets/insetfootlike.C:
2728 * insets/insetnewline.C:
2729 * insets/insetquotes.C:
2730 * insets/insettabular.C:
2731 * insets/insettext.C:
2732 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2734 * frontends/controllers/ControlChanges.C: #include "changes.h".
2736 2003-09-06 Angus Leeming <leeming@lyx.org>
2738 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2739 than #including paragraph.h.
2742 * RowList.h: deleted. Superfluous.
2752 * insets/insettext.h: use ParagraphList_fwd.h rather than
2755 * paragraph.h: don't forward declare ParagraphList.
2758 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2759 rather than ParagraphList.h. paragraph.h is still needed for the
2760 Paragraph::depth_type parameters.
2762 * textcursor.h: enable it to compile stand-alone in light of the
2765 * bufferview_funcs.C:
2777 * frontends/controllers/ControlParagraph.C:
2778 * frontends/controllers/ControlTabular.C:
2779 * insets/insetmarginal.C:
2780 * insets/insetminipage.C:
2781 * insets/insetnote.C:
2782 * insets/insetoptarg.C: add header files needed to compile again.
2784 2003-09-06 Angus Leeming <leeming@lyx.org>
2786 * RowList_fwd.h: new file, forward-declaring Row rather than
2787 #including lyxrow.h.
2792 * insets/insettext.h: use it instead of RowList.h
2794 * bufferview_funcs.C:
2801 * text3.C: #include "RowList.h".
2803 2003-09-05 Angus Leeming <leeming@lyx.org>
2805 * factory.C (createInset):
2806 * vspace.C (c-tor): replace sscanf call with an istringstream.
2807 * ispell.C: re-add missing HP/UX headers.
2808 * lyxserver.C: re-add missing os2 headers.
2810 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
2819 * text3.C: re-add missing system headers, needed for 2.95.2.
2821 2003-09-05 Angus Leeming <leeming@lyx.org>
2823 Changes most place everywhere due to the removal of using directives
2824 from support/std_sstream.h.
2826 2003-09-05 Angus Leeming <leeming@lyx.org>
2828 Replace LString.h with support/std_string.h,
2829 Lsstream.h with support/std_sstream.h,
2830 support/LIstream.h with support/std_istream.h,
2831 support/LOstream.h with support/std_ostream.h.
2833 Changes resulting throughout the tree.
2835 2003-09-05 Angus Leeming <leeming@lyx.org>
2837 * sgml.h: ensure that the header file can be compiled stand-alone.
2838 * *.C: strip out redundant #includes. (320 in total.)
2840 2003-09-04 Angus Leeming <leeming@lyx.org>
2842 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2843 here (from getPackages).
2845 * debug.[Ch]: add a new EXTERNAL tag.
2847 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2849 * text2.C (cursorEnd): simplify
2851 (getColumnNearX): adjust
2853 * text.C (computeBidiTables): adjust
2856 * rowpainter.C (paintChars): adjust
2857 (paintSelection): adjust
2858 (paintChangeBar): adjust
2861 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2863 (numberOfSeparators): adjust
2865 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2871 * text3.C: Restricts the mouse click functionality
2872 of insets like bibtex, include, toc and floatlist to the visible
2873 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2874 up the dialogs. Cursor has to be in front of the inset (i.e.
2875 start of row) for this to function.
2877 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2879 * bufferview_funcs.C (currentState): output row information
2881 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2883 * bufferview_funcs.C (currentState): output paragraph position
2885 2003-09-04 Angus Leeming <leeming@lyx.org>
2887 * FloatList.h: move out #include "Floating.h".
2888 * LaTeX.h: move out #include "DepTable.h".
2889 * LyXAction.h: move out #include "funcrequest.h".
2890 * buffer.h: move out #include "author.h", "iterators.h".
2891 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2892 * lyx_main.h: move out #include "errorlist.h".
2893 * lyxfunc.h: move out #include "FuncStatus.h".
2894 * lyxtext: move out #include "lyxcursor.h".
2895 * paragraph_pimpl.h: move out #include "counters.h".
2897 2003-09-03 Angus Leeming <leeming@lyx.org>
2899 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2900 preamble_snippets list, enabling us to add snippets to the preamble
2901 only if the snippet was not there already.
2903 2003-09-04 Angus Leeming <leeming@lyx.org>
2905 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2907 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2909 * lyxfunc.C (dispatch): if fitCursor did something be sure to
2912 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2914 * BranchList.C: point fix, earlier forgotten
2916 2003-09-02 Angus Leeming <leeming@lyx.org>
2918 * box.C (contains): renamed from 'contained' after a fantastic
2921 2003-09-02 John Levon <levon@movementarian.org>
2927 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2929 2003-09-02 John Levon <levon@movementarian.org>
2931 * text2.C: simplification of cursorEnd(), including partial
2934 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2936 * buffer.C (readFile): add a space
2938 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
2940 * BufferView_pimpl.C (update): remove bogus fitCursor() call
2942 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2944 * buffer.C (readFile): new function, take a filename and a
2945 ParagraphList::iterator
2947 (readFile): adjust, make it private. don't use setStream, make
2948 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2949 always contain the filename.
2951 * BufferView.C (insertLyXFile): simplify and make it work for
2954 2003-08-30 John Levon <levon@movementarian.org>
2956 * Makefile.am: fix dist (from Kayvan)
2958 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2960 * most files: change to use const Buffer refs
2962 2003-08-27 André Pönitz <poenitz@gmx.net>
2964 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2965 on top of ownerPar().
2967 2003-08-27 John Levon <levon@movementarian.org>
2969 * funcrequest.C: properly initialise POD members
2971 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2973 * lyxtext.h (top_y): move top_y from here
2978 * BufferView_pimpl.[Ch]: to here
2979 * frontends/screen.C:
2980 * insets/insettabular.C:
2981 * insets/insettext.C: adjust
2982 * rowpainter.[Ch] (paintRows): remove LyXText & argument
2984 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2987 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2989 2003-08-26 André Pönitz <poenitz@gmx.net>
2991 * paragraph_func.[Ch] (outerPar): new function
2994 * paragraph_funcs.C:
2995 * paragraph_funcs.h:
2996 * paragraph_pimpl.C:
2997 * text2.C: remove Inset::par_owner
2999 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
3004 * text2.C: eliminates the needFullRow/display() stuff
3005 altogether, putting the logic in metrics/draw in the insets.
3007 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
3009 * text2.C (redoParagraphInternal, redoParagraphs):
3010 * text.C (redoParagraph): add a call to updateRowPositions at the
3011 end of each 'metrics-like' call. Remove all others.
3012 (getRow): remove the 'y-computing' version.
3013 (getRowNearY): do not compute nor return the real y. Solve the
3014 'y < 0' problem and simplify.
3016 2003-08-22 Angus Leeming <leeming@lyx.org>
3018 * *.[Ch]: clean-up of licence and author blurbs.
3019 Also move config.h out of a few .h files and into a few .C files.
3021 2003-08-22 André Pönitz <poenitz@gmx.net>
3023 * lyxrow.[Ch]: add x_ and *fill_ members
3028 * text2.C: adjust/remove prepareToPrint() calls
3030 2003-08-22 André Pönitz <poenitz@gmx.net>
3032 * lyxrow.[Ch]: add end_ member
3034 * lyxrow_funcs.C: use LyXRow::end_
3036 * lyxtext.h (singleWidth): add LyXFont parameter
3039 * text2.C: adjust LyXText::singleWidth() calls
3041 * text.C (redoParagraph): simplify row breaking logic
3044 2003-08-19 André Pönitz <poenitz@gmx.net>
3046 * funcrequest.C: initialize button_ member
3049 * rowpainter.[Ch]: interface consolidation
3051 2003-08-18 André Pönitz <poenitz@gmx.net>
3054 * BufferView_pimpl.C:
3056 * paragraph_funcs.C:
3058 * text3.C: remove LyXScreen::draw() and fitCursor calls
3060 * BranchList.h: remove spurious semicolons
3062 * MenuBackend.C: fix branchlist related crash
3064 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
3072 * bufferparams.[Ch]:
3076 * text3.C: implements the 'branch inset'
3077 idea. This allows the output of various versions of a document
3078 from a single source version, selectively outputing or suppressing
3079 output of parts of the text.
3080 This implementation contains a 'branch list editor' in a separate
3081 tab of the document settings dialog. Branches are user definable
3082 and have a "display colour" to distinguish them on-screen.
3084 ColorHandler was somewhat cleaned up.
3085 (1) make possible a dynamically growing LColor list by allowing
3086 the graphic context cache to grow along (vector);
3087 (2) eliminate an IMHO unnecessary step in colour allocation.
3089 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
3091 * BufferView_pimpl.C: compile fix
3093 2003-08-15 André Pönitz <poenitz@gmx.net>
3095 * rowpainter.C: remove extra metrics calls
3097 * lyxtext.h: merge the two constructors into a single one,
3098 pass reference to owner's par list
3100 * BufferView_pimpl.C:
3104 2003-08-15 André Pönitz <poenitz@gmx.net>
3106 * lyxrow_funcs.[Ch]:
3109 * paragraph_funcs.C:
3114 * text_funcs.C: split LyXText::rowlist_ into individual
3115 Paragraph::rows_ chunks
3118 * BufferView_pimpl.[Ch]:
3121 * text3.C: remove toggleSelection()
3123 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
3125 * bufferlist.C: beautify two alerts (shorter text of buttons)
3126 * buffer.C: Remove redundant ' ' from message
3128 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3129 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3130 rename VALIGN_CENTER to VALIGN_MIDDLE
3132 2003-08-11 André Pönitz <poenitz@gmx.net>
3134 * lyxtext.h (getPar):
3135 * text.C: new function
3137 2003-08-11 André Pönitz <poenitz@gmx.net>
3140 * tracer.[Ch]: remove unneeded files
3142 * InsetList.[Ch]: remove resizeInsetsLyXText()
3147 * text3.C: merge insertParagraphs() and appendParagraph()
3148 remove breakAgain(), update()
3150 * BufferView_pimpl.[Ch]:
3151 * bufferview_funcs.[Ch]:
3155 * tabular.C: adjust after text & InsetList changes.
3157 2003-08-08 André Pönitz <poenitz@gmx.net>
3159 * text.C (insertChar, backspace): replace rowlist fiddling
3160 with rebreak of full par
3163 * text.C (breakAgainOneRow, redoHeightOfParagraph,
3164 checkParagraph, updateInset): removed
3166 2003-08-07 André Pönitz <poenitz@gmx.net>
3169 * text3.C: merge some LFUN handlers, remove dead code
3171 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3173 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3175 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
3177 * text2.C (DEPM): fix part of bug 1255 and 1256
3179 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3181 * BufferView_pimpl.C (workAreaDispatch): change to use
3182 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3183 that are no mouse related.
3185 2003-08-05 André Pönitz <poenitz@gmx.net>
3188 * BufferView_pimpl.[Ch]:
3189 * bufferview_funcs.C:
3191 * text3.C: rip out "deep update"
3193 * textcursor.[Ch] (last_sel_cursor): remove unused member
3195 2003-08-04 André Pönitz <poenitz@gmx.net>
3198 * BufferView_pimpl.[Ch]:
3199 * ParagraphParameters.C:
3200 * bufferview_funcs.C:
3206 * text3.C: replace "complicated" BufferView::update(...) calls with
3209 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3211 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
3213 * Makefile.am (lyx_SOURCES): add paper.h
3215 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3217 * Makefile.am: move things around so that both lyx-qt and
3218 lyx-xforms can be built (according to --with-frontend). Then lyx
3219 is a symbolic link to lyx-[firstfrontend]
3221 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
3223 * Always use std::endl with lyxerr
3225 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
3227 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3229 2003-08-01 André Pönitz <poenitz@gmx.net>
3232 * BufferView_pimpl.[Ch]:
3234 * text3.C: merge BufferView::repaint() and BufferView::update()
3236 2003-08-01 José Matos <jamatos@lyx.org>
3238 * buffer.[Ch]: file_format is no longer a buffer data element.
3240 2003-08-01 André Pönitz <poenitz@gmx.net>
3245 * text2.C: make redoParagraph more independent of current cursor
3247 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3249 * text2.C: remove unneeded members
3251 2003-07-30 André Pönitz <poenitz@gmx.net>
3253 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3255 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3256 create a single function...
3258 * paragraph_funcs.C (moveItem): ... here.
3261 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3263 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3265 * LColor.[Ch]: Add comment and greyedout logical colors.
3267 2003-07-30 André Pönitz <poenitz@gmx.net>
3269 * tabular.C: don't use Assert too heavily. This crashes where it
3272 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
3274 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3275 is disabled (bug 1232)
3277 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3279 * factory.C: limited 'arg' scope
3281 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3283 * factory.C: fixed Note submenu issues
3285 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3287 * factory.C: submenu for Note/Comment/Greyedout
3289 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
3292 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3294 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
3297 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3298 greyedout. Patch provided by Jürgen Spitzmüller.
3300 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3302 * kbmap.C (read): fix error message when reading bind files
3304 2003-07-29 Angus Leeming <leeming@lyx.org>
3306 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3307 certainly does not do what it purports to do. I am doing it, and
3308 us, a favour by killing it.
3310 2003-07-28 José Matos <jamatos@lyx.org>
3312 * buffer.C (readBody, do_writeFile):
3313 * paragraph.C(readParagraph): \end_document replaces \the_end.
3315 2003-07-29 André Pönitz <poenitz@gmx.net>
3318 * BufferView_pimpl.[Ch]:
3322 * textcursor.[Ch]: remove toggleToggle & Co
3324 2003-07-28 José Matos <jamatos@fep.up.pt>
3326 * buffer.C (readParagraph):
3327 * params_func (readParToken, readParagraph):
3328 * paragraph.C (write): \layout -> \begin_layout.
3330 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3332 * lyxlex_pimpl.C (setFile): clean up slightly.
3334 * bufferparams.h: add compressed var
3336 * buffer_funcs.C (readFile): adjust for LyXLex change
3337 (newFile): ditto + simplify
3339 * buffer.C (writeFile): handle writing of compressed files
3341 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3342 Check if the file is compressed and set a bufferparm if so.
3344 * Makefile.am (lyx_LDADD): remove explicit -lz
3346 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3348 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3349 makeDocBookFile): put the real LyX version in the first line of
3353 * version.C.in: remove lyx_docversion
3355 * tabular.C (write_attribute): add a template-based version to
3356 write enums properly
3358 2003-07-28 André Pönitz <poenitz@gmx.net>
3363 * text3.C: use doubles again for x-coordinates. They are needed.
3365 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3367 * messages.C (getLocaleDir): use lyx_localedir()
3369 * lyxlex_pimpl.C (setFile): compress stuff
3371 * buffer.C (writeFile): add some compression stuff
3372 (do_writeFile): new func, dont call expliti close... will this
3375 * Makefile.am (lyx_LDADD): add -lz
3377 2003-07-28 José Matos <jamatos@fep.up.pt>
3379 * buffer.C: increment file format.
3380 * paragraph_funcs (readParagraph, readParToken):
3381 * paragraph.C (readParagraph): add \end_layout.
3383 2003-07-27 Angus Leeming <leeming@lyx.org>
3385 * Makefile.am: remove special casing for configure-time setting of
3386 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3388 * lyx_main.C (init): remove all Jean-Marc's magic setting of
3389 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3391 2003-07-26 André Pönitz <poenitz@gmx.net>
3393 * paragraph_func.[Ch]:
3394 * paragraph.C (realizeFont): inline it whereever it is used
3399 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3402 2003-07-26 André Pönitz <poenitz@gmx.net>
3406 * text2.C: get rid of LyXText::need_break_row
3408 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3410 * toc.[Ch]: put namespace toc inside namespace lyx
3412 * MenuBackend.C (expandToc2): adjust for lyx::toc
3415 * lyxfunc.C (dispatch): adjust for lyx::find
3417 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3418 lyx::find instead. Reorganize a bit.
3419 (LyXReplace): rename to replace
3420 (LyXFind): rename to find
3422 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3425 2003-07-26 André Pönitz <poenitz@gmx.net>
3427 * text.C (setHeightOfRow): restrict scope of temporary variable
3429 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
3430 code (never has been used?)
3432 2003-07-27 Asger Alstrup <alstrup@local>
3434 * text.C (fill): Optimise algorithm to exploit that we can reuse
3435 the LyXFont for many characters.
3436 (setHeightOfRow): Same thing.
3437 (rowBreakPoint): Same thing.
3439 2003-07-26 Asger Alstrup <alstrup@local>
3441 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3443 * text.C (singleWidth): Spurious font copying in hot-spot
3444 singleWidth avoided. Reorder tests for arabic for efficiency.
3446 * text.C (fill): handle empty paragraphs better.
3448 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3451 * encoding.h: add includes
3453 * lyxrc.C: remove reading of bind files
3455 * lyx_main.C (init): setup bindings and menus only if we have a
3458 * kbmap.C (read): new method. Do the actual reading of bind
3461 * converter.C (dvipdfm_options):
3464 (output): adapt PAPER_* enums.
3466 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3468 * bufferparams.h: remove paper-related enums from there
3470 * paper.h: New file. A trivial header file to hold paper-related
3471 enums. It should later expand to contain many paper-related
3474 * lyxrc.C: declare extern displayTranslator
3476 2003-07-27 José Matos <jamatos@fep.up.pt>
3478 * tabular.[Ch] (linuxdoc): add support for tables and figures
3481 2003-07-27 José Matos <jamatos@fep.up.pt>
3483 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3484 consistency in both functions.
3485 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3487 2003-07-26 Asger Alstrup <alstrup@local>
3489 * rowpainter.C (paintRows): Change algorithm to work directly on
3490 the insets rather than asking every character in the document
3491 whether its an inset.
3493 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
3495 * buffer.C (openFileWrite): factorize some code
3497 2003-07-26 Angus Leeming <leeming@lyx.org>
3500 * lyx_main.[Ch]: replace occurances of system_tempdir with
3503 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3505 * rename Inset to InsetOld
3507 2003-07-25 Asger Alstrup <alstrup@diku.dk>
3509 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3510 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3511 which I think is a bit clearer. EDIT is gone, since it was
3512 premature optimisation, and broken for mathed anyway.
3513 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3514 with cursor positioning in insets as well (math insets still do not
3515 work, but that's a different story anyway.) It mysteriously
3516 crashes sometimes with undo in the first paragraph, but I'm fairly
3517 confident that this is a compiler bug.
3519 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3521 * paragraph.C (Paragraph): adjust for new clone return type
3523 (copyIntoMinibuffer): ditto
3525 2003-07-25 Asger Alstrup <alstrup@lyx.org>
3527 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3528 by not having a special case, and always doing a full rebreak of
3529 the document after undo.
3531 2003-07-23 Angus Leeming <leeming@lyx.org>
3533 * factory.C (createInset): InsetExternal::setParams now takes a
3536 2003-07-23 Angus Leeming <leeming@lyx.org>
3538 * factory.C (createInset): changed interface to the external and
3539 graphics mailers' string2params functions.
3541 2003-07-23 Angus Leeming <leeming@lyx.org>
3543 * factory.C (createInset): pass a
3544 Buffer const * parameter to InsetExternalMailer's string2params.
3546 2003-07-22 John Levon <levon@movementarian.org>
3548 * Thesaurus.h: include the right aiksaurus header
3550 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3552 * MenuBackend.C (expand): check menu shortcuts unconditionally
3554 2003-07-21 Angus Leeming <leeming@lyx.org>
3556 * factory.C (createInset): pass a
3557 buffer_path parameter to InsetGraphicsMailer's string2params.
3559 2003-07-21 Angus Leeming <leeming@lyx.org>
3561 * BufferView_pimpl.C (buffer):
3564 * lyxfunc.C (dispatch):
3565 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3566 rather than the grfx shortcut.
3568 2003-07-21 André Pönitz <poenitz@gmx.net>
3570 * rowpainter.C: remove unused variables
3573 * tabular_funcs.h: move to tabular.C
3574 * Makefile.am: adjust
3576 * tabular.[Ch]: basic optical cleaning
3578 * author.h: pass references, not values
3580 2003-07-18 André Pönitz <poenitz@gmx.net>
3588 * text3.C: two-phase drawing for InsetText and InsetTabular
3589 some float -> int changes.
3591 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3593 * lyx_main.C: fix the fix
3595 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3597 * lyx_main.C: fix a crash in batch mode if no files specified
3600 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
3602 * format.[Ch] (papersize): moved to BufferParams
3603 * converter.[Ch] (dvips_options): moved to BufferParams
3604 (dvipdfm_options): moved to anon namespace
3605 * bufferparams.[Ch]: added above functions.
3607 2003-07-17 André Pönitz <poenitz@gmx.net>
3611 * text2.C: don't call inset->update() anymore
3613 * metricsinfo.[Ch]: add convenience constructor
3615 2003-07-16 André Pönitz <poenitz@gmx.net>
3620 * text2.C: replace the LyXCursor::irow_ member with
3621 on-demand computation of the value
3623 2003-07-16 John Levon <levon@movementarian.org>
3625 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3627 2003-07-15 André Pönitz <poenitz@gmx.net>
3630 * text2.C: remove no more needed refresh_row
3632 2003-07-15 André Pönitz <poenitz@gmx.net>
3637 * text3.C: refresh_status tristate -> need_update bool
3639 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
3641 * lyxtext.h (init): remove reinit argument (act as if always true)
3642 * text2.C: adjust to that
3644 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3646 * bufferview_funcs.[Ch]: introduce function replaceSelection()
3647 * text3.C: use it to delete selections in some cases
3648 (bugs 441, 673, 702, 954).
3650 2003-07-14 André Pönitz <poenitz@gmx.net>
3652 * rowpainter.[Ch]: reduce interface
3654 2003-07-14 André Pönitz <poenitz@gmx.net>
3656 * BufferView_pimpl.C:
3657 * text2.C: adjust after removing unused BufferView * argument
3659 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
3661 * text2.C (init): fix a crash fired on resize
3663 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
3665 * buffer.[Ch]: added new closing signal
3666 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3667 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3668 BufferView::Pimpl via the closing the signal
3670 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
3672 * buffer.[Ch]: take out all bv-related from buffer
3674 * BufferView_pimpl.[Ch]: connect to new signals
3675 * CutAndPaste.C: removed useless asserts
3676 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3679 * lyxfunc.C: moved view-related funciontality from vc here
3680 * paragraph.C: removed outdated comments
3683 2003-07-10 André Pönitz <poenitz@gmx.net>
3685 * BufferView_pimpl.C:
3689 * text2.C: remove InsetText::InnerCache, clean up consequences
3691 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
3693 * ispell.C: fix two typos in error messages
3695 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
3697 * Extend Note inset to other forms of annotation like Comment
3698 and Greyedout. Right button click gives dialog.
3700 Files modified or added (+):
3704 * ControlNote.[Ch] +
3706 * Makefile.am in frontends/xforms, frontends/xforms/forms,
3707 frontends/controllers
3711 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3713 * aspell.C: add missing namespace lyx::support
3715 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
3717 * BufferView.[Ch] (newFile): Add
3718 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3719 * LaTeX.[Ch] (message): added this signal and use it
3720 * buffer.[Ch] (busy, message): added these signals and use them
3721 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3725 * importer.C: use buffer signals instead of direct bv calling
3726 * lyx_cb.[Ch] (ShowMessage): removed
3729 * paragraph_funcs.C:
3730 * text2.C: use buffer signals
3732 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3734 * introduce namespace lyx::graphics
3736 2003-07-02 André Pönitz <poenitz@gmx.net>
3738 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3740 2003-07-01 André Pönitz <poenitz@gmx.net>
3747 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3748 text*.C to text_func.C
3750 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3752 * introduce namespace lyx::support
3754 2003-06-30 André Pönitz <poenitz@gmx.net>
3759 * text.C: re-enable --with-included-string
3761 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3763 * textcursor.C: add <config.h>
3765 * text.C (getWord): remove const from word_location arg
3767 * lyxvc.C (getLogFile): fix const type order
3769 * lyxtext.h: remove const from word_location arg, add arg name
3771 * lyxlayout.h: currect type on labeltype.
3773 * importer.C: correct \file
3775 * converter.C (intToFormat): use std:: on ret val, ws changes
3777 * bufferlist.h: correct \file
3779 * buffer.C (makeLinuxDocFile): fix const type order
3780 (makeDocBookFile): ditto
3781 (fillWithBibKeys): use std:: on stdlib args.
3783 * CutAndPaste.C: fix authors.
3784 (availableSelections): use std:: on return vector
3786 2003-06-27 André Pönitz <poenitz@gmx.net>
3788 * BufferView_pimpl.C:
3789 * bufferview_funcs.C:
3797 * text3.C: remove LyXCursor::row_ member
3800 * text.C: rename fullRebreak() to partialRebreak() and implement
3801 a fullRebreak() that really bereks fully
3803 * textcursor.h: new struct for cursor-related data
3805 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
3807 * lyx_main.C (LyX): get full path of document loaded on the
3810 2003-06-26 André Pönitz <poenitz@gmx.net>
3812 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3813 remove unused/broken operator>,<,>=.
3815 * text.C: remove only use of broken operator<= in an Assert().
3817 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3819 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3820 moved errorlist_.clear to showErrorList
3822 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3824 * converter.C (scanLog, runLaTeX):
3825 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3826 move the bv->showErrorList call to the callers
3827 * lyxfunc.C: i.e. here...
3829 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3830 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3831 namespace, the second to...
3832 * buffer_funcs (BufferFormat, parseErrors): added
3833 * errorlist.C (ErrorList(TeXErrors const &)): removed
3835 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3837 * ToolbarBackend.C (getIcon): complain when icon cannot be found
3839 2003-06-24 "Garst R. Reese" <reese@isn.net>
3843 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3845 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3847 * version.C.in: change docversion to 1.4
3849 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
3851 * buffer.C: fix a bug just introduced
3853 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3855 * buffer.[Ch]: added the parseError signal and use it, removed
3857 * BufferView.[Ch] (addError): moved to ...
3858 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3859 to the Buffer::parseError signal to catch (guess what) parse errors
3860 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3862 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3864 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3865 ability to create a buffer and to return an existing one from
3866 the list. Moved these functions to...
3867 * buffer_funcs.[Ch]: added
3868 * BufferView.[Ch] (loadLyXFile): added
3869 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3870 job removed from bufferlist::loadLyXFile.
3871 * buffer.C (setReadOnly): make it work without view
3872 (i.e added an if (users))
3874 2003-06-19 Angus Leeming <leeming@lyx.org>
3877 * LyXAction.C (init):
3878 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3879 with LFUN_DIALOG_SHOW <name> <data>.
3881 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3883 * CutAndPaste.C (availableSelections): small compilation fix for
3884 ancient (gcc 2.9x) compilers
3886 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3888 * text3.C (cursorNext): add tmp var
3890 * text2.C (updateCounters): for function calling out of for clause
3891 (replaceSelectionWithString): ditto
3892 (insertStringAsParagraphs): ditto
3893 (getColumnNearX): add tmp var
3894 (setCursorFromCoordinates): add tmp var
3895 (cursorDownParagraph): add tmp var
3896 (deleteEmptyParagraphMechanism): add tmp var
3898 * text.C (insertChar): add tmp var
3900 * rowpainter.C (paintDepthBar): add tmp var
3902 * CutAndPaste.C (availableSelections): potentially check all
3903 paragraphs in a cut to fill the shown strings.
3905 2003-06-18 André Pönitz <poenitz@gmx.net>
3907 * kbmap.[Ch]: use vector<> instead of list<>
3909 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3911 * text3.C (dispatch): handle arg to LFUN_PASTE, call
3912 pasteSelection with index
3914 * text2.C (pasteSelection): modify, call pasteSelection with index
3916 * paragraph.C (asString): reimplement version with no interval to
3917 call the one with interval.
3919 * lyxtext.h: add index arg to pasteSelection
3921 * MenuBackend.C (MenuItem): handle PasteRecent
3922 (Menu::read::Menutags): add md_pasterecent
3924 (expandPasteRecent): new function
3927 * MenuBackend.h: add PasteRecent to MenuItem::Kind
3929 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3931 (availableSelections): new function
3933 2003-06-17 Angus Leeming <leeming@lyx.org>
3935 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3937 2003-06-17 Angus Leeming <leeming@lyx.org>
3940 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3942 * lyxfunc.C (dispatch): invoke it.
3944 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3946 * iterators.C (operator++, ParPosition): reintroduce some
3947 const_cast for the benefit of older compilers.
3949 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3951 * text3.C (dispatch): do not modify clipboard when doing
3952 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3953 LFUN_DELETE_SKIP on a selection selection
3955 2003-06-16 André Pönitz <poenitz@gmx.net>
3961 * tabular.[Ch]: IU of clone() and getLabelList();
3963 2003-06-13 André Pönitz <poenitz@gmx.net>
3965 * tabular.h: compactification
3967 2003-06-12 André Pönitz <poenitz@gmx.net>
3971 * tabular_funcs.h: some renaming plus whitespace
3973 2003-06-12 André Pönitz <poenitz@gmx.net>
3976 * BufferView_pimpl.C:
3982 * toc.C: Return a Paragraph & for ParIterator::operator*()
3984 2003-06-11 John Levon <levon@movementarian.org>
3988 * ToolbarBackend.C: add "Toolbars" section and
3991 2003-06-10 Angus Leeming <leeming@lyx.org>
3994 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3996 * lyxfunc.C (dispatch): invoke it.
3998 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4000 * main.C: protect <ios> with HAVE_IOS
4001 (main): protect sync_with_stdio with HAVE_IOS
4003 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
4005 * text2.C (cutSelection): adjust
4006 (pasteSelection): adjust
4008 * messages.C: handle get of empty string
4010 * main.C (main): use sync_with_stdio(false)
4012 * lyxfunc.C (dispatch): adjust
4014 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4015 (WriteAs): remove unneeded BufferView arg.
4017 * bufferparams.h: use correct types on papersize, papersize2 and
4020 * bufferparams.C (readToken): adjust for type
4021 (writeLaTeX): add missing cases to switch.
4023 * bufferlist.C (quitWriteBuffer): adjust
4026 * buffer.C (asciiParagraph): remove some commented code.
4028 * CutAndPaste.C: remove current_view extern variable.
4029 (cutSelection): add BufferParams arg.
4030 (eraseSelection): add BufferParams arg.
4031 (pasteSelection): add Buffer const & arg
4033 2003-06-07 John Levon <levon@movementarian.org>
4036 * paragraph_funcs.C:
4037 * paragraph_pimpl.C:
4041 * paragraph.C: allow InsetERT to freely space lines,
4042 and some consolidation of code
4044 2003-06-06 José Matos <jamatos@fep.up.pt>
4046 * buffer.C (makeDocBookFile): fix bug #821
4048 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
4050 * BufferView_pimpl.C (dispatch): use Dialogs::visible
4052 2003-06-04 Angus Leeming <leeming@lyx.org>
4054 * buffer.C: bump format to 224.
4056 2003-06-05 André Pönitz <poenitz@gmx.net>
4058 * text2.C (redoParagraphs): remove two const_cast<>
4060 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4062 * ParagraphList.h: remove last remnants of NO_STD_LIST
4064 2003-06-03 Angus Leeming <leeming@lyx.org>
4066 * factory.C (createInset): small change to the way InsetExternal's params
4069 2003-06-04 André Pönitz <poenitz@gmx.net>
4071 * buffer.h: use Undo directly instead of shared_ptr<Undo>
4073 * paragraph_pimpl.h:
4074 * paragraph.[Ch]: some Inset -> UpdatableInset changes
4076 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4078 * undo_funcs.C: make some simple cases of undo work again
4080 2003-06-03 John Levon <levon@movementarian.org>
4082 * ispell.C: HPUX doesn't have sys/select.h
4085 2003-06-03 John Levon <levon@movementarian.org>
4087 * CutAndPaste.C: update tabular and include inset
4092 * paragraph.C: remove owningBuffer(), don't pass Buffer
4095 * factory.C: insetGraphicsParams changed
4097 2003-06-02 John Levon <levon@movementarian.org>
4103 * text3.C: remove insetparent
4105 2003-06-02 John Levon <levon@movementarian.org>
4108 * buffer.C: fix inset_iterator.end(), move out of line
4111 2003-06-01 John Levon <levon@movementarian.org>
4113 * text3.C: use a proper cut/paste when doing inset
4114 insert (from Jürgen Spitzmüller)
4116 2003-06-01 John Levon <levon@movementarian.org>
4118 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4120 2003-05-30 André Pönitz <poenitz@gmx.net>
4122 * rowpainter.C: unify second drawing phase
4124 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4126 * trans_mgr.C: remove one case of current_view
4128 * text2.C (cursorBottom): delete NO_STD_LIST stuff
4130 * paragraph_funcs.h: remove paragraph.h include
4132 * paragraph.h: delete NO_STD_LIST stuff
4134 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4136 * buffer.h: remove paragraph.h include
4138 * ParagraphList.C: delete file
4140 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4142 * toc.C (getTocList): adjust
4144 * paragraph_pimpl.C (validate): adjust
4146 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4148 * paragraph.C (Paragraph): adjust
4149 (getPositionOfInset): use const_iterator, adjust
4150 (bibitem): use const_iterator, adjust
4151 (setInsetOwner): adjust
4153 * iterators.C (operator++): adjust
4155 * InsetList.[Ch]: Replace selfmade iterator with standard
4156 vector::iterator also introduce const_iterator. Remove getPos,
4157 getInset and setInset from InsetTable. Adjust accordingly.
4159 * BufferView.C (lockInset): adjust
4160 (ChangeInsets): adjust
4162 * tabular.[Ch]: delete commented same_id functions
4164 2003-05-28 John Levon <levon@movementarian.org>
4166 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4168 2003-05-28 André Pönitz <poenitz@gmx.net>
4170 * metricsinfo.[Ch]: remove 'fullredraw' member
4172 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
4174 * lyxtextclass.C (operator): remove caching.
4176 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4180 * text2.C (cursorBottom): adjust
4181 (setCounter): use ParagraphList::find, adjust
4183 * text.C (workWidth): use ParagraphList::find, adjust
4185 * lyxcursor.C (LyXCursor): adjust
4187 * buffer.C (inset_iterator): adjust
4189 * ParagraphList.h: make iterator(value_type) private, make
4190 ParagraphList a friend of iterator.
4192 * ParagraphList.C (find): new function
4194 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4196 2003-05-27 André Pönitz <poenitz@gmx.net>
4198 * dimension.[Ch]: a -> asc, d -> des, w -> wid
4200 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4202 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4204 2003-05-26 John Levon <levon@movementarian.org>
4206 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4208 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4210 * remove same_id from function signatures, adjust.
4212 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4214 * undo_funcs.C (createUndo): use the id functions directly, adjust.
4216 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4218 * paragraph.C (Paragraph): get rid of same_ids parameter
4220 * ParagraphList.C (insert): adjust
4223 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4225 * paragraph_funcs.C (breakParagraph): adjust
4226 (breakParagraphConservative): adjust
4228 * buffer.C (readParagraph): adjust
4230 * ParagraphList.C (insert): take a reference instead of a pointer
4233 * paragraph.[Ch] (id): new function
4235 * bufferlist.C (newFile): adjust
4237 * ParagraphList.C (ParagraphList): adjust
4239 (push_back): take a reference instead of a pointer.
4241 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4243 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4246 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4247 set else use old code.
4249 * ParagraphList.C: remove all NO_NEXT code and only compile this
4250 code of NO_STD_LIST is set.
4252 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4254 * BufferView_pimpl.C:
4264 * graphics/GraphicsConverter.C:
4265 * graphics/PreviewLoader.C: header adjustment
4267 2003-05-23 Angus Leeming <leeming@lyx.org>
4269 * LaTeXFeatures.[Ch] (useBabel): new method.
4270 * bufferparams.C (writeLaTeX): use it.
4272 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4274 * ParagraphList.h (set): remove unused function.
4276 2003-05-23 André Pönitz <poenitz@gmx.net>
4279 * BufferView_pimpl.C:
4283 * undo_funcs.C: setUndo reworked
4285 * iterators.[Ch]: add access to topmost ParagraphList
4287 * lyxtext.[Ch] (workWidth): add a const
4289 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4291 * texrow.[Ch] (increasePos): remove function
4292 * exporter.C (export): removed unused var and outdated comment
4294 2003-05-23 Angus Leeming <leeming@lyx.org>
4296 * latexrunparams.h: rename fragile as moving_arg.
4297 * paragraph.C (simpleTeXOnePar): ditto.
4298 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4300 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4302 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4304 (textUndoOrRedo): comment out a currently unused var.
4306 * paragraph.h (NO_NEXT): enable NO_NEXT
4308 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4310 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4312 * exporter.C (Export): adjust for removeAutoInsets removal.
4314 * buffer.C (runChktex): adjust for removeAutoInsets removal.
4316 * LyXAction.C (init): remove LFUN_REMOVEERRORS
4318 * BufferView.[Ch] (removeAutoInsets): delete function
4320 2003-05-22 Angus Leeming <leeming@lyx.org>
4322 * latexrunparams.h: add a free_spacing variable.
4324 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4325 to pass moving_arg, as the data is stored in runparams.fragile.
4327 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4328 to Inset::latexOptional or to simpleTeXOnePar.
4330 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4331 free_spacing arg to Inset::latexOptional.
4333 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4336 2003-05-22 Angus Leeming <leeming@lyx.org>
4338 * latexrunparams.h: add fragile and use_babel variables.
4340 * bufferparams.[Ch] (writeLaTeX): return use_babel.
4341 * buffer.C (makeLaTeXFile): store this returned value in
4342 runparams.use_babel, thus passing it to the inset::latex methods.
4344 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4345 simpleTeXSpecialChars as it is now stored in runparams.fragile.
4347 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4348 longer has a fragile arg, as it is stored in runparams.fragile.
4350 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4351 moving_arg parameter as the data is stored in runparams.fragile.
4353 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4354 a fragile parameter as the data is stored in runparams.fragile.
4356 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4358 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4360 2003-05-22 Angus Leeming <leeming@lyx.org>
4362 * latexrunparams.h: add a 'bool nice' which defaults to false.
4364 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4365 now encapsulated within runparams.
4367 * bufferlist.C (updateIncludedTeXfiles):
4368 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4370 2003-05-22 Angus Leeming <leeming@lyx.org>
4372 * latexrunparams.h: new file containing struct LatexRunParams.
4373 * Makefile.am: add new file.
4375 * LaTeX.[Ch] (c-tor, run):
4376 * buffer.[Ch] (makeLaTeXFile):
4377 * bufferlist.[Ch] (updateIncludedTeXfiles):
4378 * converter.C (convert, scanLog):
4379 * converter.[Ch] (runLaTeX):
4380 * exporter.C (Export):
4381 * paragraph.[Ch] (simpleTeXOnePar):
4382 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4383 * paragraph_funcs.[Ch] (latexParagraphs):
4384 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4385 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4386 pass around a LatexRunParams parameter.
4388 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4390 * paragraph.[Ch]: remove unused constructor
4392 * ParagraphList.C (erase): new function, taking two iterators
4394 2003-05-22 André Pönitz <poenitz@gmx.net>
4396 * undo_funcs.C: remove duplicated code
4398 * iterator.[Ch]: operator=
4400 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4402 * tabular.C (SetMultiColumn): ws changes
4404 * rowpainter.C (paintFirst): get rid of a ->previous
4406 * lyx_cb.C (getPossibleLabel): parlist simplification
4408 * BufferView.C (ChangeInsets): simplify slightly.
4410 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4412 * LyXAction.C: new lfun space-insert, kill protected-space-insert
4413 * lfuns.h: new LFUN_SPACE
4414 * lyxfunc.C: protected space has a new lfun
4415 * paragraph_funcs.C: read new space insets
4417 * factory.C: handle new space insets
4419 2003-05-22 André Pönitz <poenitz@gmx.net>
4422 * BufferView_pimpl.C:
4425 * undo_funcs.C: return a ParIterator from getParFromID.
4427 * iterators.[Ch]: add two const's
4429 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4431 * toc.C (getTocList): adjust
4433 * iterators.[Ch]: rework for parlist
4435 * buffer.C (par_iterator_begin): adjust
4436 (par_iterator_end): adjust
4438 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4440 * BufferView.C (removeAutoInsets): adjust
4441 (ChangeInsets): adjust
4443 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
4445 * text.C (top_y): fix bug 1110
4447 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
4449 * errorlist.[Ch]: added
4452 * BufferView_pimpl.C:
4453 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4456 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4458 * Makefile.am: ensure that lyx is relinked upon changes to the
4459 various "convenience" libs.
4461 2003-05-20 Angus Leeming <leeming@lyx.org>
4463 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4464 files are compiled in alphabetical order again.
4466 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4468 2003-05-19 Angus Leeming <leeming@lyx.org>
4470 * gettext.[Ch]: remove "char const * _(char const *)".
4472 2003-05-19 André Pönitz <poenitz@gmx.net>
4474 * dimension.[Ch]: promote from mathed/dimension.[Ch]
4483 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4485 2003-05-19 André Pönitz <poenitz@gmx.net>
4489 * lyxtextclass.[Ch]:
4491 * paragraph_funcs.[Ch]:
4493 * text3.C: more insetenv work
4495 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
4497 * ParagraphParameters.C (params2string): small bug fixed
4499 2003-05-16 André Pönitz <poenitz@gmx.net>
4502 * bufferview_funcs.C: patch from Kornel Benko to prevent
4503 crash when _(...) is called twice in a statement
4505 2003-05-16 André Pönitz <poenitz@gmx.net>
4512 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4514 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
4516 * lyx_main.C (init): remove spurious static_cast
4518 2003-05-14 André Pönitz <poenitz@gmx.net>
4520 * BufferView.C: fix format string
4522 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
4524 * BufferView.[Ch] (insertErrors): removed
4525 * BufferView.[Ch] (showErrorList): added
4526 * buffer.C (runChkTeX):
4527 * converter.C (scanLog): call showErrorList instead of inserterrors
4529 2003-05-13 André Pönitz <poenitz@gmx.net>
4531 * BufferView_pimpl.C:
4533 * bufferview_func.C:
4540 * tabular_funcs.h: tostr() from its own header
4542 * ParagraphParameters.C:
4547 * text3.C: STRCONV()
4549 2003-05-12 André Pönitz <poenitz@gmx.net>
4552 * BufferView_pimpl.C:
4556 * ParagraphParameters.C:
4560 * bufferview_funcs.C:
4573 * paragraph_funcs.C:
4577 * text3.C: boost::format -> bformat all over the place
4580 2003-05-09 André Pönitz <poenitz@gmx.net>
4582 * LColor.[Ch]: Pimpl the #include <map> away
4584 2003-05-09 John Levon <levon@movementarian.org>
4586 * bufferlist.C: never remove emergency saves
4588 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4590 * Makefile.am: better lib building
4592 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4594 * texrow.[Ch]: remove dependency on Paragraph and just store a id
4596 * paragraph_pimpl.C (simpleTeXBlanks): adjust
4597 (simpleTeXSpecialChars): adjust
4598 (simpleTeXSpecialChars): adjust
4599 * paragraph.C (simpleTeXOnePar): adjust
4600 * buffer.C (makeLaTeXFile): adjust
4602 * Makefile.am (BOOST_LIBS): allow boost as system lib.
4604 * text2.C (changeDepth): parlist cleanup
4605 (getColumnNearX): ditto
4607 * rowpainter.C (getLabelFont): parlist cleanup
4609 * bufferlist.C (newFile): parlist cleanup
4611 * CutAndPaste.C (eraseSelection): parlist cleanup
4613 * BufferView_pimpl.C (trackChanges): parlist cleanup
4616 * BufferView.C (lockInset): parlist cleanup.
4617 (ChangeInsets): ditto
4619 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4621 * CutAndPaste.h: Update file header.
4623 * CutAndPaste.C: Update file header.
4624 Store the parts cut out of the Document in a limited_stack.
4625 (copySelection): adjust
4626 (pasteSelection): new function, takes the index in the limited stack.
4627 (nrOfParagraphs): adjust
4628 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4629 simplify error inset insertion.
4630 (checkPastePossible): adjust
4632 2003-05-06 John Levon <levon@movementarian.org>
4634 * text2.C: don't cast wrap inset to float
4636 2003-05-05 André Pönitz <poenitz@gmx.net>
4639 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4641 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4642 few naked Paragraph *.
4644 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
4646 * bufferparams.C: Output warning if a document with missing
4647 TeX document class is loaded
4648 * exporter.C: Disable TeX exports if the document class is missing
4651 * lyxtextclasslist.C: Handle new textclass.lst format; new method
4652 isTeXClassAvailable()
4654 2003-05-03 John Levon <levon@movementarian.org>
4657 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4658 explicit cursor show/hide
4660 * BufferView_pimpl.h:
4661 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4662 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4664 * lyxfunc.C: hide cursor before dispatching.
4669 * text3.C: remove explicit cursor hides
4671 2003-05-02 André Pönitz <poenitz@gmx.net>
4673 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4676 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4679 * text2.C: tiny whitespace
4681 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4683 * undo_funcs.C: almost only ws changes.
4685 * ParagraphList.C (splice): just return if pl is empty.
4687 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4689 * ParagraphList.C (splice): new function.
4691 * CutAndPaste.C (pasteSelection): use it
4693 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4695 * CutAndPaste.C (pasteSelection): remove the last next and
4696 previous from this file.
4698 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4700 * CutAndPaste.C (pasteSelection): more clean up, user proper
4701 ParagraphList functions for pasteing.
4703 * ParagraphList.C (insert): new function, three arg insert
4705 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4707 * ParagraphList.C (insert): new function, three arg insert
4709 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4712 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4714 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4716 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4718 * CutAndPaste.C (pasteSelection): remove some unneeded code.
4720 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4722 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4723 (copySelection): clean up a bit.
4724 (pasteSelection): use make_pair
4726 * ParagraphList.C (ParagraphList): implement copy constructor
4727 (operator=): implement, base on copy constructor.
4730 * paragraph.C (erase): return a bool
4732 * paragraph_pimpl.C (erasePos): remove function, move contents...
4733 (erase): ... here. Return a bool.
4734 (erase): call erase instead of erasePos.
4736 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
4738 * ParagraphList.h: define PitPosPair
4739 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4740 ParagraphList, fix a bug on pasting multiple pars
4741 * text2.C: change interface to C&P
4743 2003-04-30 André Pönitz <poenitz@gmx.net>
4745 * undo_func.C: revert part of yesterday's patch 2
4747 2003-04-30 John Levon <levon@movementarian.org>
4749 * LColor.C: s/tabular/table/
4751 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4753 * text3.C (dispatch): do not convert iterator -> pointer
4754 * undo_funcs.C (setCursorParUndo): ditto
4755 * text_funcs.C (transposeChars): ditto
4757 * text2.C (setLayout): ws changes only
4759 * text.C (breakParagraph): do not convert iterator -> pointer
4761 (acceptChange): ditto
4762 (rejectChange): ditto
4767 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4770 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4772 * text3.C (gotoInset): YABG (yet another bad getChar)
4774 2003-04-29 André Pönitz <poenitz@gmx.net>
4776 * paragraph.h: make operator= private unimplemented as long as
4779 * ParagraphList.C: whitespace
4782 * paragraph_pimpl.[Ch]:
4783 * paragraph_funcs.C:
4785 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
4788 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4790 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4792 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4793 * paragraph.[Ch] (erase):
4794 * paragraph_pimpl.[Ch] (erase): change return type and value
4795 * text2.C (cutSelection): some rework
4797 2003-04-28 John Levon <levon@movementarian.org>
4799 * bufferlist.C: changes for unsaved changes dialog
4801 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4803 * bufferlist.C (newFile): set language (messages_) for new
4806 * buffer.C (readFile): ws changes only.
4808 2003-04-28 André Pönitz <poenitz@gmx.net>
4813 * BufferView_pimpl.C:
4814 * BufferView.C: getParFromID related ParagraphList::iterator changes
4816 2003-04-28 André Pönitz <poenitz@gmx.net>
4818 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4821 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4823 * messages.C: remove one more localedir class variable.
4825 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4827 * messages.C (getLocaleDir): singleton generation function
4829 (Messages): add a default constructor.
4831 * main.C (main): do not setup localedir here, do not call
4834 * gettext.C (_): use it.
4835 (gettext_init): delete funciton
4837 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4839 * gettext.C (getLyXMessages): new singleton generating function.
4841 * buffer.C (updateDocLang): adjust
4843 * Makefile.am (messages.o): add target
4844 (main.o): remove target
4846 2003-04-27 John Levon <levon@movementarian.org>
4851 * lyxvc.C: specify cancel button in Alert::prompt
4853 2003-04-26 John Levon <levon@movementarian.org>
4858 * LyXAction.C: add LFUN_INSET_SETTINGS
4860 * lyxfunc.C: don't enable tabular-feature when there's
4861 just any locking inset
4863 2003-04-26 John Levon <levon@movementarian.org>
4865 * bufferlist.C: re-add Cancel to buffer close question
4867 * lyxfunc.C: fix import UI a bit
4869 2003-04-25 John Levon <levon@movementarian.org>
4871 * gettext.C: remove the broken asserts for now
4873 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4875 * messages.C: make case where setlocale cannot comply work better.
4877 * buffer.C (updateDocLang): new function
4878 (changeLanguage): use it
4881 * text2.C (setCounter): use B_ a bit.
4883 * lyxlayout.C (Read): be sure to trim the label strings.
4885 * messages.C (Messages): fix typo in comment
4887 * buffer.C (readFile): set message_ after file is loaded.
4888 (makeDocBookFile): remove double return
4889 (changeLanguage): reset message_ upon language change.
4890 (B_): new func, use this to get translated buffer strings.
4892 * main.C: add myself and Jean Marc as authors.
4894 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4896 * messages.[hC]: pimplify Messages, and three different pimpls to be
4897 used in different circumstances.
4899 * gettext.[Ch]: change for use with new message code.
4901 2003-04-24 André Pönitz <poenitz@gmx.net>
4903 * factory.C: support for eqref
4905 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4907 * messages.[Ch]: add missing char
4909 * Makefile.am (lyx_SOURCES): add messages.[Ch]
4911 * messages.[Ch]: New files
4913 2003-04-18 John Levon <levon@movementarian.org>
4917 * BufferView_pimpl.C:
4921 * text2.C: remove layout-copy/paste (bug 778)
4923 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4925 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4927 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4929 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4930 if they succeed. Act accordingly.
4932 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4934 * text2.C (setCharFont): adjust
4935 (setCounter): adjust
4936 (insertStringAsLines): adjust
4938 * text.C (leftMargin): adjust
4939 (setHeightOfRow): adjust
4941 * rowpainter.C (paintFirst): adjust
4944 * paragraph_funcs.C (depthHook): ParagraphList::iterators
4946 (isFirstInSequence): ditto
4947 (getEndLabel): ditto
4950 * paragraph.C (getParLanguage): comment out some hard stuff.
4952 * buffer.C (insertStringAsLines): take a ParagraphList as arg
4954 (simpleDocBookOnePar): ditto
4955 (makeDocBookFile): use ParagraphList::iterator
4957 * CutAndPaste.C (pasteSelection): adjust
4959 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4961 * text2.C (getFont): adjust
4962 (getLayoutFont): adjust
4963 (getLabelFont): adjust
4965 * paragraph_funcs.C (TeXOnePar): adjust
4967 * buffer.C (simpleLinuxDocOnePar): adjust
4968 (simpleDocBookOnePar): adjust
4970 * CutAndPaste.C (pasteSelection): adjust
4972 * BufferView.C (getEncoding): adjust
4974 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4976 2003-04-16 John Levon <levon@movementarian.org>
4978 * lyxfind.C: use parlist stuff for search/changes
4980 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4982 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4984 * text2.C (deleteEmptyParagraphMechanism): adjust
4986 * text2.[Ch] (ownerParagraph): delete func (both of them
4988 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4990 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4992 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4994 * ParagraphList.C: prepare for NO_NEXT
4996 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4998 * text2.C (getFont): adjust
4999 (getLayoutFont): adjust
5000 (getLabelFont): adjust
5002 * paragraph.C (getFont): adjust
5003 (getLabelFont): adjust
5004 (getLayoutFont): adjust
5006 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5008 2003-04-15 John Levon <levon@movementarian.org>
5012 * lyx_main.C: handle Include in .ui files
5014 2003-04-15 John Levon <levon@movementarian.org>
5016 * MenuBackend.C: make the doc files length shorter
5019 * ToolbarBackend.C: handle toolbar placement flags,
5022 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5024 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5027 * paragraph_funcs.C (TeXOnePar): adjust
5029 * paragraph.C (getLabelFont): add outerfont arg, adjust
5030 (getLayoutFont): ditto
5031 (simpleTeXOnePar): adjust
5033 * paragraph_pimpl.C (realizeFont): delete func
5035 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
5037 * text2.C (beforeFullRowInset): added a bad getchar check, removed
5038 row argument, constify cur argument.
5040 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5042 * text2.C (getFont): adjust
5043 (getLayoutFont): adjust
5044 (getLabelFont): adjust
5046 * paragraph_funcs.C (TeXOnePar): adjust
5047 (outerFont): new func...
5048 (realizeFont): ...moved out from here, changed this to facilitate
5051 * paragraph.C (getFont): take outerfont as arg, adjust
5052 (simpleTeXOnePar): add outerfont arg, adjust
5054 * buffer.C (simpleLinuxDocOnePar): adjust
5055 (simpleDocBookOnePar): adjust
5057 * CutAndPaste.C (pasteSelection): adjust
5059 * BufferView.C (getEncoding): adjust
5061 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5063 * text2.C (setCharFont): adjust
5064 (setCounter): adjust
5066 * text.C (leftMargin): adjust
5067 (setHeightOfRow): adjust
5069 * rowpainter.C (paintFirst): adjust
5072 * paragraph_pimpl.C (realizeFont): adjust
5074 * paragraph.C (isFirstInSequence): move from here...
5075 * paragraph_funcs.C (isFirstInSequence): ...to here
5077 * paragraph.C (outerHook): move from here...
5078 * paragraph_funcs.C (outerHook): ...to here
5080 * paragraph.C (depthHook): move from here...
5081 * paragraph_funcs.C (depthHook): ...to here
5083 * paragraph.C (getEndLabel): move from here...
5084 * paragraph_funcs.C (getEndLabel): ...to here
5086 * text2.C (realizeFont): move from here...
5087 * paragraph_funcs.C (realizeFont): ...to here
5089 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5091 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5093 2003-04-14 Angus Leeming <leeming@lyx.org>
5095 * LColor.[Ch]: scrap LColor mathcursor.
5097 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5099 * lyxlex.[Ch] (text): delete function
5100 * trans.C (Load): adjust
5101 * paragraph_funcs.C (readParToken): adjust
5103 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5105 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5106 vector<char> instead of a char[].
5108 * lyxlex_pimpl.C (getString): adjust
5110 (lex): use getString
5114 * lyxlex.C (text): use pimpl_->getString()
5118 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5120 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5121 (makeFontEntriesLayoutSpecific): temp var for par.size()
5122 (setLayout): temp var for ownerParagraphs().end()
5123 (fullRebreak): temp var for rows().end()
5124 (selectionAsString): temp var for boost::next(startpit), realize
5125 that the while really is a regular for loop.
5126 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5127 setCursor in one place.
5128 (setParagraph): temp vr for ownerParagraphs().end()
5129 (updateCounters): make the while loop a for loop
5130 (cutSelection): temp var for ownerParagraphs().end()
5131 (updateInset): make the do {} while() a regular for loop
5132 (getCursorX): use temp vars
5133 (setCurrentFont): use temp vars
5134 (getColumnNearX): use temp vars
5136 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5138 * text.C (transformChar): use temp var for getChar
5139 (computeBidiTables): use temp var for row->par()
5140 (fill): move temp vars for row->par() and pit->layout() earlier in
5142 (labelFill): use temp var for row->par()
5143 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5144 asc and desc, realize that pit never changes and that firstpit is
5145 just a duplicate and not needed. Exchange rit->par() with pit in a
5147 (breakAgain): use a temp var for boost::next(rit)
5148 (breakAgainOneRow): ditto
5149 (breakParagraph): use a temp var for rows().begin()
5150 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5151 (cursorRightOneWord): use temp var for cursor.par() and
5152 cursor.pos(), remove usage of tmpcursor.
5153 (cursorLeftOneWord): use temp var for cursor.par() and
5154 cursor.pos() only set cur at end of function.
5156 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5158 * text.C, text2.C: exchange all usage of Paragraph::next with
5159 boost::next(ParagraphList::iterator)
5161 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5163 * text2.C (cursorTop): simplify implementation
5164 (cursorBottom): ditto
5165 (setParagraph): use ParagraphList::iterator
5166 (setCurrentFont): adjust
5167 (getColumnNearX): adjust
5168 (cursorRight): adjust
5169 (cursorLeft): remove usage of Paragraph::previous
5170 (cursorUpParagraph): ditto
5171 (deleteEmptyParagraphMechanism): slight cleanup
5173 * text.C (isBoundary): take a Paragraph const & instead of a
5175 (addressBreakPoint): ditto
5176 (leftMargin): remove usage of Paragraph::previous.
5177 (setHeightOfRow): ditto
5178 (cursorLeftOneWord): ditto
5179 (selectNextWordToSpellcheck): ditto
5182 (breakParagraph): remove one usage of Paragraph::next
5183 (redoParagraph): ditto
5184 (acceptChange): ditto
5185 (insertChar): adjust
5186 (rowBreakPoint): adjust
5188 * bufferview_funcs.C (toggleAndShow): adjust
5190 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
5192 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5193 methods to access it.
5195 * text.C: Added updateRowPositions to compute all row positions.
5196 Make top_y and getRowNearY() to use the cached y position
5198 2003-04-11 John Levon <levon@movementarian.org>
5200 * text.C (rowBreakPoint): reintroduce the labelEnd
5201 checks, code copied from the row fill stuff. Deep voodoo.
5203 * text.C (fill): add a comment and debugging for the
5206 2003-04-11 John Levon <levon@movementarian.org>
5208 * text.C: make sure fullrow insets get wrapped to the next line,
5209 even when they're in a manual label
5211 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5213 * text2.C (insertParagraph): make it take ParagraphList::iterator
5215 (setLayout): make it return ParagraphList::iterator
5216 (redoParagraphs): ditto
5218 (checkParagraph): ditto
5220 * text.C (getRow): make getrow take ParagraphList::iterator as arg
5222 * text2.C: adjust several funcs.
5223 (realizeFont): take a ParagraphList::iterator as arg.
5224 (getLayoutFont): ditto
5225 (getLabelFont): ditto
5226 (setCharFont): ditto
5228 * text.C: adjust several funcs.
5230 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5232 * text.C (selectNextWordToSpellcheck): don't accidentally
5235 2003-04-10 John Levon <levon@movementarian.org>
5237 * ToolbarBackend.C (getIcon): special handling for
5240 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5242 * text2.C (cursorRight): a getChar assert fixed
5244 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5246 * text2.C (getFont): change to take a ParagraphList::iterator
5247 instead of Paragraph*
5248 Adjust several functions.
5250 * text.C (transformChar): change to take a ParagraphList::iterator
5251 instead of Paragraph*
5252 (singleWidth): ditto
5253 Adjust several functions.
5255 * rowpainter.C: adjust several functions
5256 * rowpainter.h:store a ParagraphList::iterator and not a
5260 2003-04-09 John Levon <levon@movementarian.org>
5265 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5266 and the "help" bits as well
5268 2003-04-09 John Levon <levon@movementarian.org>
5271 * ToolbarBackend.C: allow multiple toolbars
5273 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5275 * undo_funcs.C (setCursorParUndo): adjust
5277 * text_funcs.C (transposeChars): adjust
5279 * text3.C (gotoNextInset): adjust
5282 * text2.C (setLayout): adjust
5283 (changeDepth): adjust
5285 (redoParagraphs): adjust
5286 (selectionAsString): adjust
5287 (setParagraph): adjust
5288 (insertInset): adjust
5289 (cutSelection): adjust
5290 (copySelection): adjust
5291 (pasteSelection): adjust
5292 (insertStringAsLines): adjust
5293 (updateInset): adjust
5294 (setCursor): change to take a ParagraphList::iterator parameter
5295 (setCursorIntern): change to take a ParagraphList::iterator parameter
5296 (setCurrentFont): adjust
5297 (cursorLeft): adjust
5298 (cursorRight): adjust
5299 (deleteEmptyParagraphMechanism): adjust
5301 * text.C (breakParagraph): adjust
5302 (insertChar): adjust
5303 (acceptChange): adjust
5304 (rejectChange): adjust
5305 (selectNextWordToSpellcheck): adjust
5306 (changeCase): adjust
5310 * lyxfind.C (SearchForward): adjust
5311 (SearchBackward): adjust
5312 (nextChange): adjust
5314 * lyxcursor.C (par): adjust
5316 * lyxcursor.h: store a ParagraphList::iterator instead of a
5319 * lyx_cb.C (getPossibleLabel): adjust
5321 * bufferview_funcs.C (toggleAndShow): adjust
5323 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5326 * BufferView.C (removeAutoInsets): adjust
5327 (lockedInsetStoreUndo): adjust
5329 2003-04-09 John Levon <levon@movementarian.org>
5331 * ToolbarBackend.C: try icon without argument
5332 if with argument fails
5334 2003-04-08 John Levon <levon@movementarian.org>
5337 * ToolbarBackend.C: add getIcon(), handle tooltip,
5338 and change from "Icon" to "Item".
5340 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5342 * BufferView.C (lockInset): another bad getchar crunched
5344 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5346 * text2.C (changeDepth): do not setUndo on test_only (make undo work
5349 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
5351 * lyxfind.C (searchForward, searchBackwards): bug 782
5353 2003-04-07 John Levon <levon@movementarian.org>
5355 * paragraph.C: remove dead comment
5357 * text.C: remove troublesome depth-fiddling code
5358 in leftMargin() and rightMargin() (bug 1017)
5360 * text.C: fix breaking of rows in nested lists
5363 * text2.C (updateCounters): fix up depth values
5366 2003-04-07 John Levon <levon@movementarian.org>
5368 * BufferView_pimpl.C: clear message when doc finishes resizing,
5369 and after a mouse event
5371 * lyxfunc.C: clear message after exiting inset
5373 2003-04-07 John Levon <levon@movementarian.org>
5375 * bufferview_funcs.C: show math status not outside
5376 status in the statusbar
5378 2003-04-07 John Levon <levon@movementarian.org>
5380 * lyxfunc.C: note status changed after a depth change
5382 2003-04-04 Angus Leeming <leeming@lyx.org>
5384 * LaTeX.h: move AuxInfo operator==, != out of line.
5385 Remove LaTeX virtual destructor; nothing derives from it.
5386 Move operator()() out of public area and rename it startscript().
5387 Change protected for private.
5389 2003-04-04 Angus Leeming <leeming@lyx.org>
5392 * text2.C: remove unneeded #includes.
5394 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5396 * text2.C (dEPM): fix the heigth of the next row
5398 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5400 * text.C: squashed an invalid getChar requester + some ws changes
5402 2003-04-03 John Levon <levon@movementarian.org>
5404 * bufferview_funcs.h:
5405 * bufferview_funcs.C:
5408 * text2.C: make getStatus work for the env depth lfuns
5410 2003-04-03 John Levon <levon@movementarian.org>
5412 * bufferview_funcs.h:
5413 * bufferview_funcs.C:
5416 * text2.C: parlistize decDepth(), by merging it with incDepth()
5418 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5420 * lyxrow.h: store a ParagraphList::iterator instead of a
5421 Paragraph* and adjust other class functions to suit.
5423 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5426 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5428 * text2.C (setCursor): do not anchor to cursor row for the time being
5430 2003-04-02 John Levon <levon@movementarian.org>
5437 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5439 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5441 * paragraph.h: make ParagraphList and ParagraphList::iterator
5442 friends of Paragraph.
5444 * buffer.C (makeLinuxDocFile): move towards ParagraphList
5446 * ParagraphList.C: Use the private next_ and previous_ from
5449 2003-04-01 John Levon <levon@movementarian.org>
5453 * Makefile.am: rename, remove defaults gunk
5456 * MenuBackend.C: remove defaults gunk
5459 * Languages.C: remove defaults gunk
5462 * lyx_main.C: error out if files couldn't be found.
5464 2003-04-02 John Levon <levon@movementarian.org>
5466 * text2.C: make incDepth() use parlist
5468 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5470 * undo_funcs.C (firstUndoParagraph): adjust
5472 * text3.C (gotoInset): adjust
5473 (dispatch): adjust, and rewrite loop.
5475 * text2.C (init): adjust, and rewrite loop.
5476 (redoParagraphs): adjust
5477 (updateInset): adjust, and rewrite loop.
5478 (deleteEmptyParagraphMechanism): adjust
5480 * tabular.C (LyXTabular): adjust
5481 (SetMultiColumn): adjust
5484 * lyxtext.[Ch] (ownerParagraph): delete function
5485 (ownerParagraphs): new function returns a ParagraphList.
5487 * BufferView.C (removeAutoInsets): adjust
5488 (insertErrors): adjust
5489 (setCursorFromRow): adjust
5491 2003-04-01 Angus Leeming <leeming@lyx.org>
5493 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5496 2003-04-02 John Levon <levon@movementarian.org>
5502 * text_funcs.C: make transposeChars a free function
5504 * lyxrow_funcs.C: remove wrong comment
5506 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5509 * rowpainter.C: adjust
5514 * lyxrow_funcs. [Ch]: new files
5516 * lyxrow.[Ch]: remove next and previous pointers
5517 (next,previous): remove accessor functions
5518 (isParEnd): move to lyxrow_funcs
5519 (lastPos): move to lyxrow_funcs
5520 (nextRowIsAllInset): move to lyxrow_funcs
5521 (lastPrintablePos): move to lyxrow_funcs
5522 (numberOfSeparators): move to lyxrow_funcs
5523 (numberOfHfills): move to lyxrow_funcs
5524 (numberOfLabelHfills): move to lyxrow_funcs
5525 (hfillExpansion): move to lyxrow_funcs
5529 * bufferview_funcs.C (toggleAndShow): adjust
5531 * RowList.h: Remove class RowList from file leave just a
5534 * RowList.C: delete file
5536 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5539 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5541 * text3.C (cursorPrevious): adjust
5542 (cursorNext): adjust
5545 * text2.C (redoHeightOfParagraph): adjust
5546 (redoDrawingOfParagraph): adjust
5549 * text.C (breakParagraph): adjust
5550 (insertChar): adjust
5553 * rowpainter.C (RowPainter): adjust
5554 (leftMargin): simplify and adjust
5555 (most rowpainter functions): adjust.
5557 * rowpainter.h: store the row as RowList::iterator not as Row*
5559 * lyxcursor.C (row): taka RowList::iterator as arg
5562 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5565 2003-04-01 Angus Leeming <leeming@lyx.org>
5567 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5568 stuff like bool Bool.
5570 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5572 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5575 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5577 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5580 * lyxtext.h (rows): drop one version and leve a const variant that
5581 returns a RowList::iterator.
5583 2003-03-31 Angus Leeming <leeming@lyx.org>
5585 * text.C (fill): ensure that the signature is the same as that in the
5588 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
5590 * text2.C (redoParagraphs): adjust
5591 (updateCounters): adjust
5592 (checkParagraph): adjust
5593 (getColumnNearX): adjust and reformat a bit.
5595 * text.C (top_y): adjust
5597 (leftMargin): adjust
5598 (prepareToPrint): adjust
5600 (getRowNearY): adjust
5602 * lyxtext.h: make rowlist_ mutable.
5604 * RowList.h: add const_iterator
5605 * RowList.C: adjust for RowList::const_iterator.
5607 * text2.C (getCursorX): make it take a RowList::iterator as arg,
5610 2003-03-31 John Levon <levon@movementarian.org>
5613 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5615 * lyx_main.C: set default fonts from using lyx_gui funcs
5617 * exporter.C: pdf_mode moved from lyxrc
5620 * lyxfunc.C: changes from above
5622 2003-03-31 John Levon <levon@movementarian.org>
5624 * lyx_main.C: fix to the last fix
5626 2003-03-31 John Levon <levon@movementarian.org>
5628 * bufferlist.C: "Load original" -> "Load Original"
5634 * format.C: more Alert cleanups
5636 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5638 * text2.C (removeParagraph): make it take a RowList::iterator as
5640 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5641 (postRowPaint): make it take a RowList::iterator as arg, adjust.
5643 * text.C (anchor_row): make it take a RowList::iterator as arg,
5645 (computeBidiTables): make it take a const reference to Row instead
5646 of Row pointer, adjust.
5647 (leftMargin): make it take a RowList::iterator as arg, adjust.
5648 (rowBreakPoint): adjust
5649 (breakAgainOneRow): make it take a RowList::iterator as arg,
5651 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5653 * bufferview_funcs.C (toggleAndShow): adjust
5655 2003-03-30 John Levon <levon@movementarian.org>
5659 * boost-inst.C: moved to support
5661 * several files: changes as a result
5663 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5665 * text2.C (LyXText): adjust.
5667 (removeRow): make it take a RowList::iterator as arg, adjust.
5668 (fullRebreak): adjust
5669 (deleteEmptyParagraphMechanism): adjust
5670 (clearPaint): adjust
5673 * text.C (top_y): adjust
5674 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5675 (breakAgain): make it take a RowList::iterator as arg, adjust.
5676 (breakParagraph): adjust
5677 (insertChar): adjust
5680 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5681 need_break_row, and refresh_row.
5683 * text3.C (dispatch): adjust
5685 * text2.C (checkParagraph): adjust
5687 (setCursorFromCoordinates): adjust
5689 * text.C (top_y): adjust
5691 (getRow): make it return a RowList::iterator, adjust
5692 (getRowNearY): make it return a RowList::iterator, adjust
5694 * text2.C (init): adjust
5695 (insertRow): remove function
5696 (insertParagraph): adjust
5697 (redoParagraphs): adjust
5698 (fullRebreak): adjust
5699 (updateCounters): adjust
5701 * text.C (top_y): rewrite to use RowList iterators.
5703 (setHeightOfRow): rewrite to sue RowList iterators.
5704 (appendParagraph): adjust
5705 (breakAgain): adjust
5706 (breakAgainOneRow): adjust
5707 (breakParagraph): adjust
5709 (getRowNearY): adjust, and remove commented code.
5711 * lyxtext.h (firstRow): delete function
5712 (lastRow): delete function
5713 (rows): new function (const and non-const versions.)
5714 (insertRow): delete function
5716 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5718 2003-03-29 John Levon <levon@movementarian.org>
5720 * BufferView_pimpl.C: always update scrollbar top
5721 because pasting text when we're anchored could mean we
5722 miss an update altogether
5724 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5726 * text2.C (init): use rowlist_.end() and not 0.
5727 (insertRow): change to take a RowList::iterator as arg, adjust
5729 (insertParagraph): change to take a RowList::iterator as arg,
5731 (redoParagraphs): remove some debug msgs.
5733 * text.C (appendParagraph): change to take a RowList::iterator
5734 arg, adjust for this.
5735 (breakAgain): add an assert
5736 (breakAgainOneRow): ditto
5738 2003-03-29 John Levon <levon@movementarian.org>
5740 * text2.C: do not clear selection after inc/decDepth
5743 2003-03-29 John Levon <levon@movementarian.org>
5746 * buffer.C: fix broken strerrors according to Lars
5748 2003-03-29 John Levon <levon@movementarian.org>
5750 * converters.C: more Alert cleanups
5752 2003-03-29 John Levon <levon@movementarian.org>
5754 * bufferview_funcs.C: remove pointless Alert
5756 * buffer.C: fix confusing error message when
5757 a template is chmoded 000
5759 2003-03-29 John Levon <levon@movementarian.org>
5763 * BufferView_pimpl.C: Alert fixes
5767 * tabular-old.C: remove unused table compat reading
5769 2003-03-29 John Levon <levon@movementarian.org>
5774 * lyx_cb.C: more Alert cleanups
5776 * lyxfunc.C: don't allow chktex if not latex document
5778 2003-03-29 John Levon <levon@movementarian.org>
5782 * buffer.C: warnings pushed down from support/,
5785 2003-03-29 John Levon <levon@movementarian.org>
5787 * lyxfunc.C: safety check for C-r (revert)
5789 2003-03-29 John Levon <levon@movementarian.org>
5792 * bufferlist.C: several UI fixes using Alert::prompt.
5793 Fix the pointless looping quit code. Fix stupid revert
5798 * lyx_cb.C: use Alert::prompt
5800 * lyx_main.C: remove a silly question
5802 * lyxfunc.C: remove a couple of silly questions,
5805 2003-03-28 John Levon <levon@movementarian.org>
5807 * text2.C: fix bug 974 (End on empty par)
5809 2003-03-28 John Levon <levon@movementarian.org>
5811 * BufferView_pimpl.C:
5813 * lfuns.h: remove do-nothing math greek lfuns
5815 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5817 * lyxgluelength.h (isValidGlueLength): add default arg on
5818 parameter 2. Remove default arg from friend in class.
5820 * lyxlength.h (isValidLength): add default arg on parameter 2.
5821 Remove default arg from friend in class.
5823 * text2.C (LyXText): adjust, initialize refresh_row.
5827 (insertParagraph): adjst
5828 (redoParagraphs): adjust
5829 (fullRebreak): adjust
5830 (updateCounters): adjust
5831 (deleteEmptyParagraphMechanism): first attempt at fixing a
5834 * text.C (top_y): adjust
5835 (setHeightOfRow): adjust
5837 (getRowNearY): adjust
5839 * lyxtext.h: include RowList.h
5840 (~LyXText): not needed anymore, deleted.
5841 (firstRow): modify for RowList
5842 (lastRow): new function
5843 Delete firstrow and lastrow class variables, add a Rowlist
5844 rowlist_ class variable.
5846 * lyxrow.C (lastPos): use empty() and not !size() to check if a
5849 * RowList.C (insert): fix case where it == begin().
5851 2003-03-26 Angus Leeming <leeming@lyx.org>
5853 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5854 the thesaurus dialog.
5856 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5858 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5860 * RowList.[Ch]: new files
5862 * ParagraphList.C (erase): handle the case where it == begin
5865 2003-03-25 John Levon <levon@movementarian.org>
5869 * aspell.C: add new aspell support
5872 * lyxrc.C: Make use_pspell be use_spell_lib. Always
5875 2003-03-25 Angus Leeming <leeming@lyx.org>
5878 * LyXAction.C (init): new LFUN_INSET_INSERT.
5880 * BufferView_pimpl.C (dispatch): split out part of the
5881 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5883 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5886 2003-03-25 Angus Leeming <leeming@lyx.org>
5888 * lyxfunc.C (dispatch): changes to the Dialogs interface.
5890 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
5893 * text3.C: remove useless row->height(0)
5895 2003-03-25 John Levon <levon@movementarian.org>
5899 * text3.C: rename the refreshing stuff to better names
5901 2003-03-24 John Levon <levon@movementarian.org>
5903 * BufferView_pimpl.h:
5904 * BufferView_pimpl.C: update layout choice on a mouse
5907 2003-03-23 John Levon <levon@movementarian.org>
5909 * Makefile.am: fix commandtags.h reference
5911 2003-03-22 John Levon <levon@movementarian.org>
5913 * BufferView_pimpl.C:
5918 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5920 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
5923 * text.C: take the rtl methods out of line
5925 2003-03-21 André Pönitz <poenitz@gmx.net>
5927 * metricsinfo.[Ch]: new files containing structures to be passed around
5928 during the two-phase-drawing...
5930 2003-03-21 André Pönitz <poenitz@gmx.net>
5932 * lyxtextclass.C: read 'environment' tag.
5934 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
5936 * text2.C (removeRow): fix bug 964
5938 2003-03-20 John Levon <levon@movementarian.org>
5942 * text2.C: paint cleanups. Inset::update() dropped font
5945 2003-03-19 John Levon <levon@movementarian.org>
5947 * lyxfunc.C: only fitcursor/markDirty if available()
5949 2003-03-19 John Levon <levon@movementarian.org>
5951 * commandtags.h: rename to ...
5953 * lfuns.h: ... this, and renumber / cleanup
5955 2003-03-19 John Levon <levon@movementarian.org>
5957 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5958 fit the cursor after an lfun
5962 * BufferView_pimpl.h:
5963 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5965 * LyXAction.C: layout-character should have ReadOnly
5967 * ParagraphParameters.C:
5969 * bufferview_funcs.C:
5976 * undo_funcs.C: changes from above
5978 2003-03-18 John Levon <levon@movementarian.org>
5980 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5981 remove it from update()
5983 * lyxfunc.C: update layout choice after an lfun
5985 * text3.C: remove extra updateLayoutChoice()s
5987 2003-03-18 John Levon <levon@movementarian.org>
5989 * text.C: top_y change means full repaint, fix
5990 a drawing bug with cursor movement
5992 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5996 * text2.C: anchor row on setCursor
5998 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6000 * lyxtext.h: remove almost all mutable keywords
6003 * text3.C: remove const keywords accordingly
6005 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6007 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6009 (TeXEnvironment): ditto
6012 2003-03-17 John Levon <levon@movementarian.org>
6014 * text.C (rowBreakPoint): remove attempt to fix displayed
6015 math insets inside a manual label
6017 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6019 * lyxtext.h: remove BufferView* as first arg from almost all class
6021 * other files: adjust.
6023 2003-03-17 John Levon <levon@movementarian.org>
6027 * text2.C: more paint cleanups
6029 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6032 * rowpainter.C: remove "smart" background painting code
6034 2003-03-16 John Levon <levon@movementarian.org>
6039 * text3.C: add helper functions for setting refresh_row/y
6041 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
6043 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6044 newline inset which *can* get inserted in the pass_thru layouts.
6045 This is primarily for literate documents.
6047 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
6049 * buffer.C: increment LYX_FORMAT to 223
6051 2003-03-14 André Pönitz <poenitz@gmx.net>
6053 * textclass.h: prepare for environment handling, ws changes
6054 * lyxlayout.C: read latexheader and latexfooter tags
6056 2003-03-14 John Levon <levon@movementarian.org>
6058 * text2.C: rewrite ::status() a bit
6060 2003-03-13 John Levon <levon@movementarian.org>
6062 * lyxtext.h: add some docs
6064 2003-03-13 John Levon <levon@movementarian.org>
6069 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6071 2003-03-13 John Levon <levon@movementarian.org>
6073 * text3.C: fix appendix redrawing
6075 2003-03-13 John Levon <levon@movementarian.org>
6077 * text.C (setHeightOfRow):
6079 * rowpainter.C: make appendix mark have the text
6080 "Appendix" so the user knows what it is
6083 * LColor.C: s/appendixline/appendix/ from above
6085 2003-03-13 John Levon <levon@movementarian.org>
6087 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6089 * text.C: fix a getChar(pos) bug properly
6091 2003-03-13 Angus Leeming <leeming@lyx.org>
6094 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6095 Probably only temporary. Let's see how things pan out.
6097 * BufferView.C (unlockInset):
6098 * BufferView_pimpl.C (fitCursor):
6099 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6101 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6102 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6104 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6105 new functions that convert ParagraphParameters to and from a string.
6107 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6108 BufferView::Pimpl's dispatch.
6109 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6111 2003-03-13 André Pönitz <poenitz@gmx.net>
6115 * factory.C: make it aware of InsetEnv
6117 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6119 * text2.C (setCursor): never ask for one past last
6120 (setCursor): add some debugging messages.
6122 * text.C (singleWidth): never ask for one past last
6123 (singleWidth): ditto
6125 (rightMargin): ditto
6126 (rowBreakPoint): ditto
6127 (setHeightOfRow): ditto
6128 (prepareToPrint): ditto
6130 * rowpainter.C (paintBackground): never ask for one past last
6131 (paintText): never ask for one past last
6133 * paragraph_pimpl.C (getChar): make the assert stricter, never
6134 allow the one past last pos to be taken
6136 * paragraph.C (getChar): ws changes only
6138 * lyxrow.C (nextRowIsAllInset): never ask for one past last
6139 (numberOfSeparators): ditto
6140 (numberOfHfills): ditto
6142 2003-03-12 John Levon <levon@movementarian.org>
6148 * paragraph_funcs.C: fix per-buffer authorlists
6150 2003-03-12 John Levon <levon@movementarian.org>
6152 * text.C: fix newline in right address
6154 2003-03-12 Angus Leeming <leeming@lyx.org>
6156 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6157 duplicate those in LyXFunc::dispatch.
6161 * ToolbarDefaults.C:
6162 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6163 Add LFUN_FONTFREE_UPDATE.
6165 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6166 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6168 * bufferview_func.[Ch]: several new functions to facilliate
6169 transfer of data to and from the character dialog.
6171 2003-03-12 John Levon <levon@movementarian.org>
6176 * paragraph_funcs.C:
6177 * paragraph_pimpl.C:
6181 * text3.C: remove META_NEWLINE in favour of an inset
6184 * rowpainter.C: remove paintNewline (done by inset)
6186 2003-03-12 John Levon <levon@movementarian.org>
6188 * paragraph_pimpl.C: complain about bad getChar()s
6189 for a while at least
6191 2003-03-12 John Levon <levon@movementarian.org>
6194 * buffer.C: move paragraph read into a separate function,
6195 a little renaming to reflect that.
6198 * bufferparams.C: remove the author_ids map, not necessary now
6201 * factory.C: moved Buffer::readInset to here
6203 * paragraph_funcs.h:
6204 * paragraph_funcs.C: readParagraph free function moved from
6207 * tabular.C: name change
6209 2003-03-12 John Levon <levon@movementarian.org>
6212 * ParagraphParameters.C: move par params input to
6215 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6216 behave like a normal read from the stream wrt reading
6217 a line vs. a \\token
6219 2003-03-12 John Levon <levon@movementarian.org>
6222 * ParagraphParameters.h:
6223 * ParagraphParameters.C: move output code to a
6226 2003-03-12 John Levon <levon@movementarian.org>
6228 * BufferView.C (insertLyXFile):
6231 * tabular.C: use a parlist iterator for creating the
6234 2003-03-12 John Levon <levon@movementarian.org>
6236 * buffer.C: make current_change static local not
6239 2003-03-12 John Levon <levon@movementarian.org>
6241 * buffer.C: fix insertStringAsLines for change tracking
6243 2003-03-12 John Levon <levon@movementarian.org>
6250 * bufferparams.C: move author list into params. Rename some
6251 functions. Move the header reading into a separate token
6252 loop. Move the header token reading into BufferParams.
6254 2003-03-12 John Levon <levon@movementarian.org>
6256 * changes.C: put debug inside lyxerr.debugging() checks
6258 2003-03-11 André Pönitz <poenitz@gmx.net>
6260 * factory.C: make it aware of InsetHFill
6262 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6264 * buffer.C (latexParagraphs): move function from here...
6265 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6268 2003-03-10 Angus Leeming <leeming@lyx.org>
6270 * LyXAction.C (init): fix bug in poplating array with multiple entries
6271 with the same LFUN (spotted by JMarc).
6273 2003-03-10 John Levon <levon@movementarian.org>
6276 * text2.C: move getColumnNearX() near its
6279 2003-03-10 John Levon <levon@movementarian.org>
6281 * text.C: fix break before a minipage
6283 2003-03-10 John Levon <levon@movementarian.org>
6285 * text.C: fix the last commit
6287 2003-03-09 John Levon <levon@movementarian.org>
6291 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6292 bug 365 (don't break before insets unless needed). Don't
6293 return a value > last under any circumstances.
6295 2003-03-09 Angus Leeming <leeming@lyx.org>
6297 * BufferView_pimpl.C (trackChanges, dispatch): call
6298 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6300 2003-03-09 Angus Leeming <leeming@lyx.org>
6302 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6303 than Dialogs::showAboutlyx().
6305 2003-03-09 Angus Leeming <leeming@lyx.org>
6307 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6308 than Dialogs::showTabularCreate().
6310 2003-03-09 John Levon <levon@movementarian.org>
6314 * text2.C: 3rd arg to nextBreakPoint was always the same.
6317 2003-03-08 John Levon <levon@movementarian.org>
6324 * text2.C: Remove the "main" bit from the "main body"
6327 2003-03-08 John Levon <levon@movementarian.org>
6329 * text.C (leftMargin): The left margin of an empty
6330 manual label paragraph should not include the label width
6333 * text.C (prepareToPrint): don't attempt to measure hfills
6334 for empty manual label paragraphs - the answer should be 0
6336 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6338 * CutAndPaste.C: remove commented code and reindent.
6340 2003-03-08 John Levon <levon@movementarian.org>
6343 * lyxfunc.C: move reloadBuffer()
6346 * BufferView.C: to here
6348 * lyxvc.C: add comment
6351 * vc-backend.C: call bv->reload() to avoid
6352 getStatus() check on MENURELOAD
6354 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
6356 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6357 to an old format .dep file.
6359 2003-03-07 Angus Leeming <leeming@lyx.org>
6361 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6362 when the LFUN_MOUSE_RELEASE should have been handled by
6363 inset->localDispatch.
6365 2003-03-07 Angus Leeming <leeming@lyx.org>
6367 * BufferView_pimpl.C (dispatch):
6368 * LyXAction.C (init):
6369 * ToolbarDefaults.C (init):
6371 * lyxfunc.C (getStatus):
6372 remove LFUN_INSET_GRAPHICS.
6374 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6376 2003-03-07 Angus Leeming <leeming@lyx.org>
6379 * LyXAction.C (init):
6380 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6382 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6385 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6387 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6388 localDispatch method LFUN_INSET_DIALOG_UPDATE.
6390 2003-03-07 Angus Leeming <leeming@lyx.org>
6392 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6395 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6397 * ParagraphList.C (front): new function
6400 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
6402 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6403 and top_row_offset_. removed var first_y.
6405 * text2.C (LyXText, removeRow):
6407 * BufferView_pimpl.C:
6408 use these methods instead of using first_y
6410 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6412 * text2.C (pasteSelection): adjust for checkPastePossible
6414 * CutAndPaste.C: remove Paragraph * buf and replace with
6415 ParagraphList paragraphs.
6416 (DeleteBuffer): delete
6417 (cutSelection): change the tc type to textclass_type
6418 (copySelection): change the tc type to textclass_type
6419 (copySelection): adjust for ParagraphList
6420 (pasteSelection): change the tc type to textclass_type
6421 (pasteSelection): adjust for Paragraphlist
6422 (nrOfParagraphs): simplify for ParagraphList
6423 (checkPastePossible): simplify for ParagraphList
6424 (checkPastePossible): remove unused arg
6426 * ParagraphList.C (insert): handle the case where there are no
6429 * CutAndPaste.h: make CutAndPaste a namespace.
6431 * text3.C (dispatch): adjust
6433 * text.C (breakParagraph): add a ParagraphList as arg
6435 * paragraph_funcs.C (breakParagraph): change to take a
6436 BufferParams and a ParagraphList as args.
6437 (breakParagraphConservative): ditto
6438 (mergeParagraph): ditto
6439 (TeXDeeper): add a ParagraphList arg
6440 (TeXEnvironment): ditto
6443 * buffer.C (readLyXformat2): adjust
6444 (insertStringAsLines): adjust
6445 (latexParagraphs): adjust
6447 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6448 (cutSelection): adjust
6449 (pasteSelection): adjust
6451 * BufferView_pimpl.C (insertInset): adjust
6453 2003-03-05 Angus Leeming <leeming@lyx.org>
6456 * LyXAction.C (init):
6457 * BufferView_pimpl.C (dispatch):
6458 * lyxfunc.C (getStatus):
6459 remove LFUN_CHILD_INSERT.
6461 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6463 2003-03-05 Angus Leeming <leeming@lyx.org>
6466 * LyXAction.C (init):
6467 * src/factory.C (createInset):
6468 * lyxfunc.C (getStatus):
6469 * text3.C (dispatch):
6470 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6472 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6474 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6476 * ParagraphList.C (insert): handle insert right before end()
6477 (erase): fix cases where it can be first or last paragraph.
6479 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6481 * paragraph_funcs.C (TeXEnvironment): remove all usage of
6482 Paragraph::next and Paragraph::previous
6485 * text.C (breakParagraph): adjust
6487 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6488 BufferParams& as arg.
6489 (breakParagraph): use ParagraphList::insert
6490 (breakParagraphConservative): take a Buffer* instead of a
6491 BufferParams& as arg.
6492 (breakParagraphConservative): use ParagraphList::insert.
6494 * buffer.C (insertStringAsLines): un-const it
6495 (insertStringAsLines): adjust
6497 * ParagraphList.C (insert): new function
6499 * CutAndPaste.C (pasteSelection): adjust
6501 * text.C (backspace): adjust
6503 * tabular.C (SetMultiColumn): adjust
6505 * CutAndPaste.C (cutSelection): adjust
6506 (pasteSelection): adjust
6508 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6509 Buffer const * as arg
6511 * ParagraphList.C (erase): new function
6512 * paragraph_funcs.C (mergeParagraph): use it
6513 (mergeParagraph): make it take a Buffer* instead of a
6514 BufferParams* as arg
6516 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6518 (breakParagraphConservative): ditto
6520 * paragraph.h: remove the breakParagraph friend
6522 * paragraph.C (eraseIntern): new function
6523 (setChange): new function
6525 * paragraph_funcs.C (mergeParagraph): make it take a
6526 ParagraphList::iterator instead of a Paragraph *, adjust
6529 * paragraph.h: move an #endif so that the change tracking stuff
6530 also works in the NO_NEXT case.
6532 2003-03-04 Angus Leeming <leeming@lyx.org>
6535 * LyXAction.C: new LFUN_INSET_MODIFY.
6537 * BufferView_pimpl.C (dispatch): if an inset is found to be open
6538 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6540 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6542 * several files: ws changes only
6544 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6545 (TeXEnvironment): ditto
6548 * buffer.C (makeLaTeXFile): adjust
6549 (latexParagraphs): make it take ParagraphList::iterator as args
6551 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6553 * buffer.C (latexParagraphs): adjust
6555 * paragraph.C (TeXOnePar): move function...
6556 (optArgInset): move function...
6557 (TeXEnvironment): move function...
6558 * paragraph_pimpl.C (TeXDeeper): move function...
6559 * paragraph_funcs.C: ...here
6561 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6563 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6565 * buffer.C (readInset): remove compability code for old Figure and
6568 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6570 * buffer.C: ws changes
6573 * BufferView_pimpl.C: ditto
6576 * bufferlist.h: ditto
6580 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
6582 * converter.[Ch]: split into itself +
6585 * Makefile.am: += graph.[Ch] + format.[Ch]
6592 * lyxrc.C: added #include "format.h"
6594 2003-02-27 Angus Leeming <leeming@lyx.org>
6596 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6599 * factory.C (createInset): add "label" to the factory.
6601 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6602 string and do no more.
6604 2003-02-27 Angus Leeming <leeming@lyx.org>
6607 * LyXAction.C (init):
6608 * factory.C (createInset):
6609 * BufferView_pimpl.C (dispatch):
6610 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6612 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6614 * lyxfunc.C (dispatch):
6615 * text3.C (dispatch): pass name to params2string.
6617 2003-02-26 Angus Leeming <leeming@lyx.org>
6619 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6621 Rearrange the ~includes. Strip out the unnecessary ones.
6623 * factory.C (createInset): reformat.
6624 create new insets for the various LFUN_XYZ_APPLY lfuns.
6626 2003-02-26 John Levon <levon@movementarian.org>
6629 * lyxrow.C: add isParStart,isParEnd helpers
6631 * paragraph.h: make isInserted/DeletedText take refs
6633 * paragraph_funcs.h:
6634 * paragraph_funcs.C: remove #if 0'd code
6639 * text.C: use lyxrow helpers above.
6640 Move draw and paint routines to RowPainter.
6641 Make several methods use refs not pointers.
6642 Make backgroundColor() const.
6643 Add markChangeInDraw(), isInInset().
6644 Merge changeRegionCase into changeCase.
6645 Make workWidth() shouldn't-happen code into an Assert.
6648 * rowpainter.C: new class for painting a row.
6651 * vspace.C: make inPixels take a ref
6653 2003-02-26 Angus Leeming <leeming@lyx.org>
6655 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6658 2003-02-25 John Levon <levon@movementarian.org>
6660 * ispell.C: give the forked command a more accurate name
6662 2003-02-22 John Levon <levon@movementarian.org>
6665 * toc.C: make TocItem store an id not a Paragraph *
6668 2003-02-21 Angus Leeming <leeming@lyx.org>
6670 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6671 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6672 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6673 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6674 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6675 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6677 * BufferView_pimpl.C (dispatch):
6678 * LyXAction.C (init):
6679 * factory.C (createInset):
6680 * lyxfunc.C (getStatus, dispatch):
6681 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6683 2003-02-21 Angus Leeming <leeming@lyx.org>
6685 * BufferView_pimpl.C (MenuInsertLyXFile):
6686 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6687 * lyxfunc.C (menuNew, open, doImport):
6688 no longer pass a LyXView & to fileDlg.
6690 2003-02-21 Angus Leeming <leeming@lyx.org>
6692 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6693 * LyXAction.C: change, BIBKEY to BIBITEM.
6694 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6695 Change InsetBibKey to InsetBibitem.
6696 Change BIBKEY_CODE to BIBITEM_CODE.
6697 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6698 * factory.C: replace insetbib.h with insetbibitem.h.
6699 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6700 * paragraph.C: replace insetbib.h with insetbibitem.h.
6701 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6702 Change bibkey() to bibitem().
6703 * text.C: remove insetbib.h.
6704 * text2.C: replace insetbib.h with insetbibitem.h.
6705 change bibkey() to bibitem().
6706 * text3.C: remove insetbib.h.
6707 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6709 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6711 * lyxrc.C (output): enclose user email in quotes (in case there are
6714 2003-02-18 John Levon <levon@movementarian.org>
6716 * buffer.h: add std::
6718 2003-02-17 John Levon <levon@movementarian.org>
6724 * pspell.C: reworking. Especially in ispell, a large
6725 number of clean ups and bug fixes.
6727 * lyxfunc.C: fix revert to behave sensibly
6729 2003-02-17 André Pönitz <poenitz@gmx.net>
6732 * commandtags.h: new LFUN_INSERT_BIBKEY
6742 * paragraph_func.C: remove special bibkey handling
6744 2003-02-17 John Levon <levon@movementarian.org>
6746 * text.C (Delete): fix case where delete at the end of
6747 the very first paragraph would not merge the pars
6749 2003-02-17 John Levon <levon@movementarian.org>
6751 * lyxrow.C: fix lastPrintablePos()
6753 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6755 * bufferparams.C (writeLaTeX): add a std:here
6757 * buffer.C: and remove a using directive there
6759 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6761 * buffer.C (makeLaTeXFile): move the code that generates the
6764 * bufferparams.C (writeLaTeX): ... in this new method
6766 * LaTeXFeatures.C (getEncodingSet): make const
6767 (getLanguages): make const
6769 * MenuBackend.C (binding): returns the binding associated to this
6771 (add): sets the status of each item by calling getStatus. Adds
6773 (read): add support for OptSubMenu
6774 (expand): remove extra separator at the end of expanded menu
6776 2003-02-15 John Levon <levon@movementarian.org>
6779 * BufferView_pimpl.C:
6781 * bufferlist.C: remove pointless BufferStorage bloat. Remove
6782 inset code that had no actual effect. Remove unneeded status
6785 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6787 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6790 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
6792 * text.C (drawLengthMarker): also draw an arrow marker for
6793 symbolic lengths (medskip...)
6795 2003-02-14 John Levon <levon@movementarian.org>
6798 * tabular.C: better method names
6800 2003-02-14 John Levon <levon@movementarian.org>
6802 * BufferView_pimpl.C:
6807 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6808 it's a more accurate name. Remove some pointless uses.
6810 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6812 * text2.C (LyXText): change order of initilizers to shut off
6815 2003-02-14 John Levon <levon@movementarian.org>
6817 * buffer.C: use ParIterator for getParFromID()
6821 * paragraph_pimpl.h:
6822 * paragraph_pimpl.C: remove unused getParFromID()
6824 2003-02-14 John Levon <levon@movementarian.org>
6826 * buffer.C: remove some very old #if 0'd parse code
6828 2003-02-13 John Levon <levon@movementarian.org>
6832 * text2.C: move hfillExpansion(), numberOfSeparators(),
6833 rowLast(), rowLastPrintable(), numberofHfills(),
6834 numberOfLabelHfills() ...
6837 * lyxrow.C: ... to member functions here.
6842 * text.C: remove LyXText::beginningOfMainBody(), and call
6843 p->beginningOfMainBody() directly. Move the check for
6844 LABEL_MANUAL into the latter.
6851 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6857 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6858 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6860 2003-02-13 John Levon <levon@movementarian.org>
6862 * CutAndPaste.C: remove debug
6864 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6866 * paragraph.C (asString): remove two unused variables
6868 * lyxtextclass.C (readTitleType):
6870 (LyXTextClass): handle new members titletype_ and titlename_
6872 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6874 2003-02-09 John Levon <levon@movementarian.org>
6877 * buffer.C: replace hand-coded list with a map for the dep clean
6879 2003-02-08 John Levon <levon@movementarian.org>
6881 * LaTeX.C: consolidate code into showRunMessage() helper
6883 2003-02-08 John Levon <levon@movementarian.org>
6888 * BufferView.C: change setSelectionOverString() to setSelectionRange()
6889 and pass the size in explicitly
6891 * BufferView_pimpl.h:
6892 * BufferView_pimpl.C:
6894 * BufferView.C: add getCurrentChange()
6896 * BufferView_pimpl.h:
6897 * BufferView_pimpl.C: handle change lfuns
6899 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6900 for changes. Mark pasted paragraphs as new.
6902 * support/lyxtime.h:
6903 * support/lyxtime.C:
6904 * DepTable.C: abstract time_t as lyx::time_type
6907 * LColor.C: add colours for new text, deleted text, changebars
6909 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6910 package use "usenames" option.
6914 * LyXAction.C: add change lfuns
6918 * author.C: author handling
6921 * buffer.C: add a per-buffer author list, with first entry as
6922 current author. Handle new .lyx tokens for change tracking. Output
6923 author list to .lyx file. Output dvipost stuff to .tex preamble.
6924 Bump lyx format to 222.
6927 * bufferlist.C: add setCurrentAuthor() to reset current author details
6931 * bufferparams.C: add param for tracking
6933 * bufferview_funcs.C: output change info in minibuffer
6937 * changes.C: add change-tracking structure
6940 * debug.C: add CHANGES debug flag
6943 * lyxfind.C: add code for finding the next change piece
6946 * lyxrc.C: add user_name and user_email
6949 * lyxrow.C: add a metric for the top of the text line
6952 * text.C: implement accept/rejectChange()
6955 * text.C: paint changebars. Paint new/deleted text in the chosen
6956 colours. Strike through deleted text.
6960 * paragraph_pimpl.h:
6961 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6962 in the current change to the insert functions. Rework erase to
6963 mark text as deleted, adding an eraseIntern() and a range-based
6964 erase(). Implement per-paragraph change lookup and
6967 * paragraph_funcs.C: Fixup paste for change tracking.
6969 * tabular.C: mark added row/columns as new.
6971 * text.C: fix rowLast() to never return -1. Don't allow
6972 spellchecking of deleted text. Track transpose changes. Don't
6973 allow paragraph break or merge where appropriate.
6975 * text2.C: leave cursor at end of selection after a cut.
6977 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6979 * text.C (getLengthMarkerHeight):
6980 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6981 visible on screen too.
6983 2003-02-07 John Levon <levon@movementarian.org>
6985 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6987 2003-02-05 Angus Leeming <leeming@lyx.org>
6989 * lyxserver.C (read_ready): revert my patch of 11 September last year
6990 as it sends PC cpu through the roof. Presumably this means that
6991 the lyxserver will no longer run on an Alpha...
6993 2003-01-30 Angus Leeming <leeming@lyx.org>
6995 * factory.C (createInset): create an InsetCommandParam of type "index"
6996 and use it to 'do the right thing'.
6998 * text2.C (getStringToIndex): ensure that cursor position is always
6999 reset to the reset_cursor position.
7001 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7003 * lyxfunc.C (getStatus): "buffer-export custom" should never be
7006 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
7010 * lyxfunc.C: Output messages with identical spelling, punctuation,
7013 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
7015 * MenuBackend.C (expandFormats): List only viewable export formats
7018 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7021 * lyxfunc.C (getStatus): Make sure that formats other than
7022 "fax" can also be disabled
7024 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7026 * text3.C (dispatch): put the lfuns that insert insets in 3
7027 groups, and call doInsertInset with appropriate arguments.
7028 (doInsertInset): new function, that creates an inset and inserts
7029 it according to some boolean parameters.
7031 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7033 * buffer.C (readFile): remember to pass on 'par' when calling
7034 readFile recursively.
7036 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7038 * MenuBackend.C (expandFormats): add "..." to import formats.
7040 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
7042 * paragraph.C (asString): Remove XForms RTL hacks.
7044 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
7045 * buffer.C: fix typo
7047 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7049 * Makefile.am (LIBS): delete var
7050 (lyx_LDADD): add @LIBS@ here instead.
7052 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
7054 * Clarify the meaning of "wheel mouse jump"
7056 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7058 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7061 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7063 * importer.C (Loaders): do not preallocate 3 elements in the
7064 vector, since one ends up with 6 elements otherwise
7066 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7068 * DepTable.C (write): write the file name as last element of the
7069 .dep file (because it may contain spaces)
7070 (read): read info in the right order
7072 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7074 * paragraph_pimpl.C (simpleTeXBlanks):
7075 (simpleTeXSpecialChars):
7076 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7078 * tabular.C (latex): add some missing case statements. Reindent.
7080 * MenuBackend.C (expandToc): remove unused variable.
7082 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
7091 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7094 2003-01-05 John Levon <levon@movementarian.org>
7097 * BufferView.C: add getEncoding()
7100 * kbsequence.C: do not store last keypress
7103 * lyxfunc.C: store last keypress here instead. Pass encoding
7106 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7108 * lyx_main.C (init): remove annoying error message when following
7109 symbolic links (bug #780)
7111 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7113 * text.C (insertChar):
7114 * lyxrc.C (getDescription): remove extra spaces
7116 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7118 * lyxrc.C (getDescription): remove extra spaces
7120 2002-12-20 John Levon <levon@movementarian.org>
7122 * text3.C: hack fix for page up/down across tall rows
7124 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7126 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7129 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7131 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7132 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7133 thesaurus is not compiled in
7135 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
7137 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
7139 2002-12-16 Angus Leeming <leeming@lyx.org>
7142 * lyx_main.C (init): remove override_x_deadkeys stuff.
7144 2002-12-12 John Levon <levon@movementarian.org>
7146 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7147 insert. Only remove shift modifier under strict
7150 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7152 * MenuBackend.C (expandToc): fix crash.
7154 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7156 * MenuBackend.C (expandToc): gettext on float names.
7158 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7160 * lyxlength.[Ch]: set default unit to UNIT_NONE,
7161 implement bool empty() [bug 490]
7163 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7165 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7167 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7169 * several files: ws changes
7171 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7173 * text2.C (setCounter): clean up a bit, use boost.format.
7174 (updateCounters): initialize par upon declaration.
7176 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7177 if the layout exists. We do not just store the layout any more.
7178 (SwitchLayoutsBetweenClasses): use boost.format
7180 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7182 * converter.C (convert): if from and to files are the same, use a
7183 temporary files as intermediary
7185 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7188 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7190 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
7192 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7194 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7196 * tabular.C (asciiPrintCell): use string(size, char) instead of
7199 * sgml.C (openTag): fix order of arguments to string constructor
7202 * lyxfunc.C (dispatch): use boost.format
7204 * lots of files: change "c" -> 'c'
7206 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
7208 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7210 2002-11-25 Angus Leeming <leeming@lyx.org>
7212 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7214 * lyx_main.C (init): compile fix.
7216 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7218 * lyx_cb.C (start): boost.formatify
7219 do not include <iostream>
7221 * lengthcommon.C: ws only
7223 * boost-inst.C,BoostFormat.h: add more explict instantations
7225 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7227 * lots of files: handle USE_BOOST_FORMAT
7229 2002-11-21 John Levon <levon@movementarian.org>
7231 * pspell.C: fix compile
7233 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7235 * lyxfunc.C (dispatch): use boost::format
7239 * lyxfont.C (stateText): use boost::format
7241 * lyx_main.C (LyX): use boost::format
7243 (queryUserLyXDir): ditto
7246 (typedef boost::function): use the recommened syntax.
7248 * importer.C (Import): use boost::format
7250 * debug.C (showLevel): use boost::format
7252 * converter.C (view): use boost::format
7257 * bufferview_funcs.C (currentState): use boost::format
7259 * bufferlist.C (emergencyWrite): use boost::format
7261 * buffer.C (readLyXformat2): use boost::format
7262 (parseSingleLyXformat2Token): ditto
7264 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7266 * LaTeX.C (run): use boost::format
7268 * Chktex.C (scanLogFile): use boost::format
7270 * BufferView_pimpl.C (savePosition): use boost::format
7271 (restorePosition): ditto
7272 (MenuInsertLyXFile): ditto
7274 * BoostFormat.h: help file for explicit instation.
7276 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
7278 * tabular.C (latex): Support for block alignment in fixed width
7281 2002-11-17 John Levon <levon@movementarian.org>
7283 * BufferView_pimpl.C:
7285 * lyxfunc.C: split filedialog into open/save
7287 2002-11-08 Juergen Vigna <jug@sad.it>
7289 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7290 by my last patch (hopefully).
7292 2002-11-08 John Levon <levon@movementarian.org>
7301 * toc.C: ParConstIterator, and use it (from Lars)
7303 2002-11-07 Ben Stanley <bds02@uow.edu.au>
7305 * lyxtextclass.[Ch]: revise and add doxygen comments
7307 2002-11-07 John Levon <levon@movementarian.org>
7309 * text.C: fix progress value for spellchecker
7311 * toc.C: fix navigate menu for insetwrap inside minipage
7313 * paragraph_funcs.C: added FIXME for suspect code
7315 2002-11-07 John Levon <levon@movementarian.org>
7317 * BufferView_pimpl.C: fix redrawing of insets
7320 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7322 * text2.C (updateCounters): fix bug 668
7324 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
7326 * text3.C (dispatch): Do not make the buffer dirty when moving the
7329 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7331 * vc-backend.C: STRCONV
7334 * text2.C (setCounter): STRCONV
7336 * paragraph.C (asString): STRCONV
7338 * lyxlength.C (asString): STRCONV
7339 (asLatexString): ditto
7341 * lyxgluelength.C (asString): STRCONV
7342 (asLatexString): ditto
7344 * lyxfunc.C (dispatch): STRCONV
7347 * lyxfont.C (stateText): STRCONV
7349 * importer.C (Import): STRCONV
7351 * counters.C (labelItem): STRCONV
7352 (numberLabel): ditto
7353 (numberLabel): remove unused ostringstream o
7358 * bufferview_funcs.C (currentState): STRCONV
7360 * buffer.C (readFile): STRCONV
7361 (asciiParagraph): ditto
7362 (makeLaTeXFile): ditto
7364 * Spacing.C (writeEnvirBegin): STRCONV
7366 * LaTeXFeatures.C (getLanguages): STRCONV
7367 (getPackages): ditto
7369 (getBabelOptions): ditto
7370 (getTClassPreamble): ditto
7371 (getLyXSGMLEntities): ditto
7372 (getIncludedFiles): ditto
7376 (scanAuxFile): ditto
7379 * LString.h: add the STRCONV macros
7381 * BufferView_pimpl.C (savePosition): STRCONV
7382 (restorePosition): ditto
7383 (MenuInsertLyXFile): ditto
7385 * vc-backend.C (scanMaster): change from submatch[...] to
7388 * funcrequest.C: include config.h
7390 * factory.C: include config.h
7392 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7394 * box.C: include config.h
7396 * LaTeX.C (scanAuxFile): change from submatch[...] to
7400 2002-10-25 Angus Leeming <leeming@lyx.org>
7402 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7404 * ispell.[Ch] (setError): new method.
7405 * ispell.C (c-tor): move out child process into new class LaunchIspell.
7406 Use setError() insetead of goto END.
7408 * lyx_cb.C (AutoSave): move out child process into new class
7411 2002-10-30 John Levon <levon@movementarian.org>
7413 * text3.C: make start appendix undoable
7415 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
7417 * lyxlength.C (inPixels): Fix returned value.
7419 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7422 2002-10-24 Angus Leeming <leeming@lyx.org>
7424 * lyxgluelength.h: no need to forward declare BufferParams
7425 or BufferView, so don't.
7427 2002-10-21 John Levon <levon@movementarian.org>
7429 * BufferView.C: menuUndo ->undo, redo
7431 * BufferView.h: document, remove dead, make some methods private
7433 * paragraph_funcs.h:
7434 * paragraph_funcs.C:
7435 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7440 * sgml.C: move sgml open/close tag into sgml.C
7442 * bufferview_funcs.h: unused prototype
7445 * lyxfunc.C: remove unused
7448 * text.C: remove unused
7450 2002-10-21 John Levon <levon@movementarian.org>
7454 * BufferView_pimpl.h:
7455 * BufferView_pimpl.C: fix mouse wheel handling based on
7456 patch from Darren Freeman
7458 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
7460 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7462 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
7464 * lyxlength.C (inPixels): Fix hanfling of negative length.
7465 Fix LyXLength::MU case.
7467 2002-10-16 John Levon <levon@movementarian.org>
7469 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7471 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7473 * converter.C (view): add support for $$i (file name) and $$p
7474 (file path) for the viewer command. If $$i is not specified, then
7475 it is appended to the command (for compatibility with old syntax)
7477 2002-10-14 Juergen Vigna <jug@sad.it>
7479 * undo_funcs.C (textHandleUndo): alter the order in which the
7480 new undopar is added to the LyXText, as we have to set first
7481 the right prev/next and then add it as otherwise the rebuild of
7482 LyXText is not correct. Also reset the cursor to the right paragraph,
7483 with this IMO we could remove the hack in "redoParagraphs()".
7485 2002-10-09 Angus Leeming <leeming@lyx.org>
7487 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7488 to turn off an optimisation if a new inset is to be inserted.
7490 2002-10-11 André Pönitz <poenitz@gmx.net>
7492 * lyxtext.h: make some functions public to allow access
7493 from inset/lyxtext for handling LFUN_PRIOR/NEXT
7495 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7497 * text3.C (dispatch): when changing layout, avoid an infinite loop
7500 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7502 * lyxrc.C (read): treat a viewer or converter command of "none" as
7505 * MenuBackend.C (expandFormats): for an update, also allow the
7506 formats that are not viewable
7508 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7509 script if it is newer than the lyxrc.defaults in user directory
7511 2002-10-07 André Pönitz <poenitz@gmx.net>
7513 * text.C: Vitaly Lipatov's small i18n fix
7515 2002-09-25 Angus Leeming <leeming@lyx.org>
7517 * ispell.h: doxygen fix.
7519 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
7521 * buffer.h (readFile): Add a new argument to the method, to allow
7522 reading of old-format templates.
7524 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
7526 * toc.C (getTocList): Get TOC from InsetWrap.
7528 2002-09-16 John Levon <levon@movementarian.org>
7530 * lyxfunc.C: check tabular for cut/copy too
7532 2002-09-12 John Levon <levon@movementarian.org>
7537 * factory.C: add header
7539 * paragraph_funcs.h:
7540 * paragraph_funcs.C: cleanup
7542 2002-09-11 John Levon <levon@movementarian.org>
7544 * PrinterParams.h: odd/even default to true
7546 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
7548 * PrinterParams.h: update printer parameters for new xforms dialog
7550 2002-09-11 Angus Leeming <leeming@lyx.org>
7552 * lyxserver.C (read_ready): re-write to make it more transparent
7553 and to make it work in coherent fashion under Tru64 Unix.
7555 2002-09-11 André Pönitz <poenitz@gmx.net>
7559 * text3.C: implement LFUN_WORDSEL
7561 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7563 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7564 make floatlist_ a boost::shared_ptr<FloatList>
7566 * lyxtextclass.C: include FloatList.h
7567 (LyXTextClass): initialize floatlist_
7568 (TextClassTags): add TC_NOFLOAT
7569 (Read): match "nofloat" to TC_NOFLOAT and use it.
7570 (readFloat): modify call to floatlist_
7574 * FloatList.[Ch] (FloatList): remove commented out float
7576 (erase): new function
7578 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7580 * MenuBackend.C (expandToc): fix crash when there is no document
7583 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
7585 * many files: Add insetwrap.
7587 2002-09-09 John Levon <levon@movementarian.org>
7589 * text2.C: remove confusing and awkward depth wraparound
7591 2002-09-09 John Levon <levon@movementarian.org>
7593 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7596 * buffer.C: remove getIncludeonlyList()
7599 * lyxfunc.C: remove headers
7601 2002-09-09 Juergen Vigna <jug@sad.it>
7603 * text.C (getColumnNearX): fix form Michael this is most
7604 probably a cut&paste bug.
7606 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7608 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7610 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7611 references, ws changes.
7613 * text2.C (init): update counters after init
7614 (insertParagraph): no need to set counter on idividual paragraphs.
7615 (setCounter): access the counters object in the textclass object
7616 on in the buffer object.
7617 (updateCounters): ditto
7619 * lyxtextclass.C: include counters.h, add variable ctrs_ as
7620 shared_ptr<Counters> to avoid loading counters.h in all
7622 (LyXTextClass): initialize ctrs_
7623 (TextClassTags): add TC_COUNTER, and ...
7624 (Read): use it here.
7625 (CounterTags): new tags
7626 (readCounter): new function
7627 (counters): new funtion
7628 (defaultLayoutName): return a const reference
7630 * counters.C (Counters): remove contructor
7631 (newCounter): remove a couple of unneeded statements.
7632 (newCounter): simplify a bit.
7633 (numberLabel): some small formatting changes.
7635 * buffer.[Ch]: remove all traces of counters, move the Counters
7636 object to the LyXTextClass.
7638 2002-09-06 Alain Castera <castera@in2p3.fr>
7640 * tabular.C: uses \tabularnewline; uses >{...} construct from array
7641 package to set the horizontal alignment on fixed width columns.
7644 * lyx_sty.h: added tabularnewline macro def.
7646 * LaTeXFeatures.C: added NeedTabularnewline macro feature
7648 2002-09-06 John Levon <levon@movementarian.org>
7650 * LyXAction.C: tooltips for sub/superscript
7652 * MenuBackend.C: a bit more verbose
7654 * lyxfunc.C: tiny clean
7656 * undo_funcs.C: document undo_frozen
7658 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7660 * counters.C (Counters): add missing algorithm counter.
7662 * text2.C (setCounter): lookup the counter with layouts latexname
7663 instead of by section number.
7664 (setCounter): use a hackish way to lookup the correct enum
7666 a float name->type change
7667 reset enum couners with counter name directly instead of depth value.
7669 * counters.C (Counters): remove the push_backs, change to use the
7670 float type not the float name.
7671 (labelItem): remove unused string, float name->type change
7673 * counters.h: don't include vector, loose the enums and sects vectors
7675 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7677 * lyxtextclass.C (TextClassTags): add TC_FLOAT
7678 (Read): add float->TC_FLOAT to textclassTags
7679 (Read): and handle it in the switch
7680 (readFloat): new function
7682 * FloatList.C (FloatList): comment out the hardcoded float
7685 * lyxlayout.h: ws change.
7687 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
7689 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7691 2002-09-03 Angus Leeming <leeming@lyx.org>
7693 * BufferView_pimpl.h: qualified name is not allowed in member
7694 declaration: WorkArea & Pimpl::workarea() const;
7696 * factory.C: added using std::endl directive.
7698 * text3.C: added using std::find and std::vector directives.
7700 2002-08-29 André Pönitz <poenitz@gmx.net>
7703 * text2.C: remove unused member number_of_rows
7706 * BufferView2.C: remove file, move contents to...
7707 * BufferView.C: ... here
7709 * BufferView_pimpl.C:
7710 * factory.C: move more inset creation to factory
7712 * vspace.C: avoid direct usage of LyXText, ws changes
7715 don't provide direct access to WorkArea, use two simple
7716 acessors haveSelction() and workHeight() instead
7719 2002-08-29 John Levon <levon@movementarian.org>
7721 * BufferView_pimpl.C (dispatch): do not continue when
7724 2002-08-28 André Pönitz <poenitz@gmx.net>
7726 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7729 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7731 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
7733 * buffer.C: increment LYX_FORMAT to 221
7735 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7736 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7738 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7740 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7742 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7744 * factory.C (createInset): use LyXTextClass::floats
7746 * MenuBackend.C (expandFloatListInsert):
7747 (expandFloatInsert):
7750 * text2.C (setCounter):
7752 * LaTeXFeatures.C (useFloat):
7753 (getFloatDefinitions):
7755 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7757 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7758 floatlist_, with accessor floats().
7760 * FloatList.h: remove global FloatList
7762 2002-08-26 André Pönitz <poenitz@gmx.net>
7764 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7768 * BufferView_pimpl.C:
7769 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7771 2002-08-25 John Levon <levon@movementarian.org>
7773 * LyXAction.C: fix margin note description
7775 2002-08-24 John Levon <levon@movementarian.org>
7779 * bufferview_funcs.C:
7781 * undo_funcs.C: cleanups
7783 * lyxfunc.C: disable CUT/COPY when no selection
7785 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
7787 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7788 in "enum UNIT"; e.g. PTW for Percent of TextWidth
7790 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7791 Add backward compatibility to "mono", "gray" and "no".
7793 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
7795 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7796 (and file_format >= 200).
7798 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7800 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7802 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7804 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7806 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
7808 * BufferView_pimpl.C:
7815 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7816 inset and code to make it work with the paragraph code. The inset
7817 can be anywhere in the paragraph, but will only do the expected
7818 thing in LaTeX if the layout file contains the parameter line
7820 (or more generally, a nonzero value) for that layout.
7822 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7824 * paragraph.h: remove the declaration of undefined counters class
7827 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
7829 * text2.C (setCounter): fixed enumeration mis-count as reported by
7830 Dr. Richard Hawkins.
7832 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7834 * paragraph_funcs.h: remove some unneeded includes
7836 * text.C (backspace): pasteParagraph now in global scipe
7838 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7839 (pasteSelection): ditto
7841 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7842 * paragraph_funcs.C (pasteParagraph): ... here
7844 2002-08-20 André Pönitz <poenitz@gmx.net>
7846 * commandtags.h: new LFUNs for swapping/copying table row/colums
7849 * lyxfunc.C: support for new lfuns
7851 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7854 * buffer.[Ch]: remove NO_COMPABILITY stuff
7856 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
7858 * boost.C (throw_exception): new file, with helper function for
7859 boost compiled without exceptions.
7864 * ParameterStruct.h:
7865 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7867 * bufferlist.C (emergencyWriteAll): use boost bind
7869 * BufferView_pimpl.C (moveCursorUpdate): remove inline
7871 * text.C: include paragraph_funcs.h
7872 (breakParagraph): breakParagraph is now in global scope
7874 * paragraph_funcs.[Ch]: new files
7876 * paragraph.C (breakParagraph,breakParagraphConservative): move to
7879 * buffer.C: include paragraph_funcs.h
7880 (insertStringAsLines): breakParagraph is now in global scope
7882 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7885 * CutAndPaste.C: include paragraph_funcs.h
7886 (cutSelection): breakParagraphConservative is now in global scope
7887 (pasteSelection): ditto
7889 * buffer.h: declare oprator== and operator!= for
7890 Buffer::inset_iterator
7892 * bufferlist.C (emergencyWrite): don't use fmt(...)
7894 * text3.C: add using std::endl
7896 * BufferView.C (moveCursorUpdate): remove default arg
7898 2002-08-20 André Pönitz <poenitz@gmx.net>
7900 * buffer.[Ch]: move inline functions to .C
7903 * BufferView_pimpl.C:
7905 * buffer.[Ch]: use improved inset_iterator
7908 * paragraph.[Ch]: write one paragraph at a time
7910 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
7912 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7913 style if style is not specified.
7915 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7917 * text2.C (setCounter): when searching for right label for a
7918 caption, make sure to recurse to parent insets (so that a caption
7919 in a minipage in a figure float works) (bug #568)
7921 2002-08-20 André Pönitz <poenitz@gmx.net>
7923 * text3.C: new file for LyXText::dispatch() and helpers
7925 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7927 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7929 2002-08-19 André Pönitz <poenitz@gmx.net>
7932 * text.C: new LyXText::dispatch()
7934 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7936 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
7938 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7940 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7943 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7945 * Makefile.am: use $(variables) instead of @substitutions@
7947 2002-08-15 André Pönitz <poenitz@gmx.net>
7950 * BufferView_pimpl.C: streamlining mathed <-> outer world
7954 * LyXAction.C: remove unused LFUN_MATH
7956 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7958 * paragraph.[Ch]: add some NO_NEXT ifdefs.
7960 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7962 * paragraph.C (Paragraph): reformat a bit
7963 (cutIntoMinibuffer): use builtin InsetList function instad of
7967 * buffer.C: include boost/bind.hpp, add using std::for_each
7968 (writeFileAscii): use ParagraphList iterators
7969 (validate): use for_each for validate traversal of paragraphs
7970 (getBibkeyList): use ParagraphList iterators
7971 (resizeInsets): use for_each to resizeInsetsLyXText for all
7973 (getParFromID): use ParagraphList iterators
7975 * BufferView2.C (lockInset): use paragraph list and iterators
7977 2002-08-14 John Levon <levon@movementarian.org>
7979 * lyxserver.C: remove spurious xforms include
7981 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7983 * lyxfunc.C (getStatus): disable math-extern outside of math mode
7985 2002-08-13 André Pönitz <poenitz@gmx.net>
7988 * lyxfunc.C: further cleaning
7990 2002-08-13 André Pönitz <poenitz@gmx.net>
7992 * funcrequest.h: new constructor
7994 * funcrequest.C: move stuff here from .h
7997 * BufferView_pimpl.C:
8000 * lyxfunc.C: subsequent changes
8002 * lyxfunc.h: new view() member function
8004 * lyxfunc.C: subsequent changes
8006 2002-08-13 Angus Leeming <leeming@lyx.org>
8009 * BufferView_pimpl.C:
8017 changes due to the changed LyXView interface that now returns references
8018 to member variables not pointers.
8020 2002-08-13 Angus Leeming <leeming@lyx.org>
8022 * WordLangTuple (word, lang_code): return references to strings,
8027 * lyxtext.h: forward-declare WordLangTuple.
8032 * text.C: #include "WordLangTuple.h".
8035 * text.C: (selectNextWordToSpellcheck): constify return type.
8037 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
8043 * paragraph_pimpl.h:
8046 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8048 Made updateCounter always count from start of buffer, and removed
8049 second argument (par).
8050 Reverted floats number display to '#'. Perhaps I'll try again when the
8051 code base is sanitized a bit.
8053 2002-08-12 Angus Leeming <leeming@lyx.org>
8055 * buffer.[Ch] (getLabelList): constify.
8057 2002-08-07 André Pönitz <poenitz@gmx.net>
8059 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8061 * funcrequest.h: extension to keep mouse (x,y) position
8063 2002-08-12 Juergen Vigna <jug@sad.it>
8065 * BufferView2.C (insertErrors): forbid undo when inserting error
8068 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8070 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8072 * ParagraphList.[Ch]: new files
8074 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8076 * BufferView2.C (lockInset): ParagraphList changes
8079 * bufferlist.C: ditto
8083 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8085 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8086 unused class variable counter_,
8088 * paragraph.[Ch] (getFirstCounter): delete unused function
8090 * counters.C: include LAssert.h
8091 (reset): add a new function with no arg, change other version to
8092 not have def. arg and to not allow empty arg.
8094 * text2.C (setCounter): remove empty arg from call to Counters::reset
8096 2002-08-11 John Levon <levon@movementarian.org>
8098 * Makefile.am: add WordLangTuple.h
8100 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8102 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8103 lyxfunc.C lyxlex_pimpl.C: ws changes only.
8105 * insets/insettext.C: InsetList changes
8107 * graphics/GraphicsSupport.C (operator()): InsetList changes
8109 * toc.C (getTocList): InsetList changes
8111 * paragraph_pimpl.[Ch]: InsetList changes
8113 * paragraph.[Ch]: InsetList changes
8115 * buffer.C (inset_iterator): InsetList changes
8116 (setParagraph): ditto
8117 * buffer.h (inset_iterator): ditto
8118 * iterators.C (operator++): ditto
8119 * iterators.h: ditto
8121 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8123 * InsetList.[Ch]: new files, most InsetList handling moved out of
8126 * BufferView2.C (removeAutoInsets): InsetList changes
8128 (ChangeInsets): ditto
8130 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8132 * paragraph_pimpl.h (empty): new function
8134 * paragraph.[Ch] (empty): new function
8136 * other files: use the new Paragraph::empty function
8138 2002-08-09 John Levon <levon@movementarian.org>
8140 * lyxtext.h: remove unused refresh_height
8142 2002-08-09 John Levon <levon@movementarian.org>
8149 * paragraph.C: move sgml char escaping out of paragraph
8152 * paragraph.C: remove id setter
8156 * paragraph_pimpl.C: remove dead tex_code_break_column
8158 * bufferview_funcs.C: small cleanup
8160 * lyxfunc.C: remove dead proto
8162 * lyxtext.h: make some stuff private. Remove some dead stuff.
8164 * lyxgluelength.C: make as[LyX]String() readable
8166 2002-08-08 John Levon <levon@movementarian.org>
8171 * ToolbarDefaults.C:
8174 * toc.C: lyxaction cleanup
8176 2002-08-08 John Levon <levon@movementarian.org>
8178 * BufferView2.C: small cleanup
8181 * lyxfind.C: move unnecessary header into the .C
8183 2002-08-08 John Levon <levon@movementarian.org>
8185 * funcrequest.h: just tedious nonsense
8188 * lyx_main.C: cleanups
8191 * vspace.C: remove dead header lyx_main.h
8193 2002-08-07 Angus Leeming <leeming@lyx.org>
8196 * paragraph_pimpl.h:
8197 Forward declare class Counters in paragraph.h by moving the ctrs member
8198 variable into Paragraph::Pimpl.
8199 (counters): new method, returning a reference to pimpl_->ctrs.
8201 * text2.C: ensuing changes.
8203 2002-08-07 John Levon <levon@movementarian.org>
8205 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8207 * BufferView_pimpl.C: announce X selection on double/triple
8210 * lyx_main.C: use correct bool in batch dispatch
8212 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8214 2002-08-07 André Pönitz <poenitz@gmx.net>
8216 * funcrequest.h: new class to wrap a kb_action and its argument
8219 * BufferView_pimpl[Ch]:
8223 * lyxrc.C: subsequent changes
8226 2002-08-07 John Levon <levon@movementarian.org>
8228 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8229 document options change.
8231 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8236 * makefile.am: move counters functionality over from
8237 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8239 2002-08-06 John Levon <levon@movementarian.org>
8241 * WordLangTuple.h: new file for word + language code tuple
8252 * BufferView2.C: use WordLangTuple
8255 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8257 2002-08-06 John Levon <levon@movementarian.org>
8259 * lyx_main.C: fix cmdline batch handling
8261 2002-08-06 André Pönitz <poenitz@gmx.net>
8263 * lyxrc.C: set default for show_banner to true
8265 2002-08-06 John Levon <levon@movementarian.org>
8267 * pspell.C: fix a crash, and allow new aspell to work
8269 2002-08-06 John Levon <levon@movementarian.org>
8272 * kbmap.C: small cleanup
8275 * vspace.C: add const
8277 2002-08-05 John Levon <levon@movementarian.org>
8279 * LyXAction.C: back to tabular-insert
8281 2002-08-04 John Levon <levon@movementarian.org>
8284 * BufferView.C: cosmetic change
8286 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8296 * BufferView2.C: purge all "Lyx" not "LyX" strings
8299 * lyxcursor.C: attempt to add some documentation
8304 * ToolbarDefaults.C:
8305 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8306 merge with LFUN_TABULAR_INSERT
8313 * pspell.C: split up i/pspell implementations into separate
8314 files, many cleanups
8316 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8318 * text2.C: some cleanup
8320 * lyxfunc.C: don't check for isp_command == "none" any more, it
8321 didn't make any sense
8323 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8328 * makefile.am: move counters functionality over
8329 from text2.C/paragraph.[Ch] to counters.[Ch], and
8331 2002-08-02 John Levon <levon@movementarian.org>
8333 * buffer.C: s/lyxconvert/lyx2lyx/
8335 2002-08-02 Angus Leeming <leeming@lyx.org>
8337 * lyxlex.C: revert John's change as it breaks reading of the user
8340 2002-08-02 Angus Leeming <leeming@lyx.org>
8342 * importer.C (Import):
8343 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8344 changes due to LyXView::view() now returning a boost::shared_ptr.
8346 2002-08-02 John Levon <levon@movementarian.org>
8348 * lyxlex.C: small cleanup
8350 2002-08-02 John Levon <levon@movementarian.org>
8352 * text2.C (status): small cleanup, no logic change
8354 2002-08-01 John Levon <levon@movementarian.org>
8357 * buffer.C (writeFile): don't output alerts, caller
8361 * lyx_cb.C: from above
8363 * lyxfunc.C: allow to open non-existent files
8365 2002-07-31 John Levon <levon@movementarian.org>
8367 * lyxserver.C: don't let incidental errors get
8370 2002-07-30 John Levon <levon@movementarian.org>
8372 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8374 2002-07-30 John Levon <levon@movementarian.org>
8377 * lyxserver.C: remove I/O callback too
8379 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8381 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8384 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8386 * many files: strip,frontStrip -> trim,ltrim,rtrim
8388 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8390 * PrinterParams.h: remove extern containsOnly, and include
8391 support/lstrings.h instead.
8393 * LaTeX.C (scanAuxFile): modify because of strip changes
8395 * buffer.C (makeLaTeXFile): ditto
8396 * bufferparams.C (writeFile): ditt
8397 * lyxfont.C (stateText): ditto
8398 * lyxserver.C (read_ready): ditto
8399 * vc-backend.C (scanMaster): ditto
8401 * BufferView_pimpl.h: ws changes
8403 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8405 2002-07-26 André Pönitz <poenitz@gmx.net>
8407 * kb_sequence.C: remove unnedred usings
8409 2002-07-26 Juergen Vigna <jug@sad.it>
8411 * lyxfind.C (LyXReplace): we have to check better if the returned
8412 text is not of theLockingInset()->getLockingInset().
8414 2002-07-25 Juergen Vigna <jug@sad.it>
8416 * lyxfind.C (LyXReplace): don't replace if we don't get the
8419 * undo_funcs.C (createUndo): remove debugging code.
8421 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
8423 * buffer.C (parseSingleLyXformat2Token): Use default placement
8424 when reading old floats.
8426 * FloatList.C (FloatList): Change the default placement of figure
8427 and tables to "tbp".
8429 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
8431 * MenuBackend.C: using std::max
8433 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8435 * MenuBackend.C (expandToc):
8436 (expandToc2): code moved from xforms menu frontend. It is now
8437 generic and TOCs are transparent to menu frontends.
8439 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8441 * toc.C (getTocList): protect against buf=0
8443 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8444 Menu as first parameter. Now, this calls itself recursively to
8445 expand a whole tree (this will be useful for TOC handling)
8446 (expandFloatInsert): remove 'wide' version of floats
8448 * MenuBackend.h (submenuname): returns the name of the submenu.
8449 (submenu): returns the submenu itself, provided it has been
8450 created by MenuBackend::expand
8452 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8454 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8455 insets which have noFontChange == true. (bug #172)
8457 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8459 * BufferView_pimpl.C: add connection objects and use them...
8462 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8464 * MenuBackend.C (expandLastfiles):
8467 (expandFloatListInsert):
8468 (expandFloatInsert):
8469 (expand): split expand in parts
8471 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8473 * lyx_gui.C: use lyx_gui::exit()
8475 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8477 * LyXAction.C: show the failing pseudo action
8479 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
8481 * buffer.C (readFile): Run the lyxconvert script in order to read
8484 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8488 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8490 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8494 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8496 2002-07-22 Herbert Voss <voss@lyx.org>
8499 * lyxlength.[Ch]: add support for the vertical lengths
8501 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
8503 * toc.[Ch]: std:: fixes
8505 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8507 * lyxrc.C: do not include lyx_main.h
8509 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8515 * BufferView2.C: include "lyxlex.h"
8518 * bufferparams.h: do not #include "lyxlex.h"
8520 * lyxtextclasslist.C (Add): remove method
8521 (classlist): renamed to classlist_
8523 * paragraph_pimpl.C:
8527 * bufferview_funcs.C:
8532 * toc.C (getTocList): use BufferParams::getLyXTextClass
8534 * toc.C (getTocList): use InsetFloat::addToToc
8536 * toc.[Ch]: new files, containing helper functions to handle table
8539 * lyxfunc.C (dispatch): no need to remove spaces around command
8541 (getStatus): handle LFUN_SEQUENCE by returning the status of the
8542 first command of the sequence; it is not very clever, but I do not
8543 have a better idea, actually
8545 * LyXAction.C (LookupFunc): make sure to remove space at the
8546 beginning and end of the command
8548 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8550 * MenuBackend.C (getMenubar): new method: return the menubar of
8552 (read): treat differently reading of menu and menubar (in
8553 particular, the menubar has no name now)
8554 (Menu::menubar): remove
8556 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8559 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8561 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8562 a bibitem inset in a RTL paragraph.
8564 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
8566 * paragraph_pimpl.C: constify
8568 * BufferView_pimpl.C:
8570 * lyxfunc.C: fix dispatch in a nicer way
8572 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8574 * lyxfunc.C (dispatch):
8575 * BufferView_pimpl.C:
8576 * BufferView_pimpl.h:
8578 * BufferView.h: rename Dispatch() to dispatch()
8580 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8582 * lyxlayout.C (Read): honor DependsOn tag
8584 * lyxlayout.[Ch] (depends_on): new method
8586 * version.C.in: update lyx_docversion
8588 * LaTeXFeatures.C (getMacros): only define \LyX when needed
8590 * paragraph.C (validate): remove from here...
8591 * paragraph_pimpl.C (validate): ... and move here
8592 (isTextAt): make it const
8594 * buffer.C (getLists): ws cleanup
8596 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8598 * language.C (read): Use iso8859-1 encoding in latex_lang
8599 (this prevents LyX from crashing when using iso10646-1 encoding).
8601 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8603 * text2.C (toggleInset): if cursor is inside an inset, close the
8604 inset and leave cursor _after_ it
8606 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8608 * lyxfunc.C: move minibuffer completion handling out of here
8610 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8612 * BufferView_pimpl.C:
8613 * LaTeX.C: fix dispatch calls
8615 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
8617 * text.C (drawChars): Fix Arabic text rendering.
8619 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
8623 * lyxfunc.C: remove message-push/pop
8627 * lyxfunc.C: rationalise some code by removing verboseDispatch
8628 in favour of a bool argument to dispatch()
8630 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8632 * lyx_main.C (init): make sure to read symlinks as absolute paths
8634 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8637 * lyxfunc.C: no need for commandshortcut to be a member
8639 2002-07-15 André Pönitz <poenitz@gmx.net>
8641 * converter.C: add support for $$s (scripts from lib/scripts dir)
8642 * lyx_main.C: white space
8644 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8648 * lyxrc.C: remove second exit confirmation
8650 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8655 * BufferView_pimpl.h:
8656 * BufferView_pimpl.C:
8657 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8659 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8661 * MenuBackend.C (expand): add numeric shortcuts to document menu
8663 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8665 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8667 * lyxfont.C (setLyXFamily):
8674 * buffer.C (asciiParagraph): use ascii_lowercase
8676 2002-07-15 Mike Fabian <mfabian@suse.de>
8678 * lyxlex_pimpl.C (search_kw):
8679 * lyxlex.C (getLongString):
8680 * converter.h (operator<):
8681 * converter.C (operator<):
8682 * buffer.C (parseSingleLyXformat2Token):
8684 * ToolbarDefaults.C (read):
8685 * MenuBackend.C (checkShortcuts):
8687 * LColor.C (getFromGUIName):
8688 (getFromLyXName): use the compare_ascii_no_case instead of
8689 compare_no_case, because in turkish, 'i' is not the lowercase
8690 version of 'I', and thus turkish locale breaks parsing of tags.
8692 2002-07-16 Angus Leeming <leeming@lyx.org>
8694 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8695 now takes a Buffer const & argument.
8697 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
8699 * BufferView.C (resize): check there's a buffer to resize
8701 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
8703 * lyxfunc.C: remove dead code
8706 * lyxserver.C: use lyx_guii::set_read_callback
8708 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
8710 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8711 an inset in a RTL paragraph.
8713 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8715 * lyxfunc.C: repaint after a font size update
8717 2002-07-15 André Pönitz <poenitz@gmx.net>
8719 * lyxlength.C: inBP should be able to return negative values
8721 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8723 * lyxfunc.C: use lyx_gui::update_fonts()
8725 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8727 * lyxfunc.C: use lyx_gui::update_color()
8729 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8735 * lyxrc.C: remove file->new asks for name option, and let
8736 buffer-new take an argument
8738 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8740 * BufferView_pimpl.C: remove unneeded extra repaint()
8742 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
8744 * LyXAction.C: allow command-sequence with NoBuffer
8746 * lyxfunc.C: don't insist on trailing ';' for command-sequence
8748 2002-07-10 Angus Leeming <leeming@lyx.org>
8750 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8752 2002-07-09 Angus Leeming <leeming@lyx.org>
8754 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8756 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8758 * lengthcommon.h: whitespace
8760 * lyxfunc.C: update scrollbar after goto paragraph
8762 * lyxtext.h: factor out page break drawing, and fix it so
8763 page break/added space paints as selected nicely
8765 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8767 * BufferView_pimpl.C: add FIXMEs, clean up a little
8769 2002-07-09 André Pönitz <poenitz@gmx.net>
8771 * lyxfont.[Ch]: support for wasy symbols
8773 2002-07-08 André Pönitz <poenitz@gmx.net>
8775 * BufferView_pimpl.C: apply John's patch for #93.
8777 2002-07-05 Angus Leeming <leeming@lyx.org>
8779 * BufferView_pimpl.C (buffer): generate previews if desired.
8781 * LColor.h: add "preview" to the color enum.
8783 * LColor.C (LColor): add a corresponding entry to the items array.
8785 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8788 2002-07-05 Angus Leeming <leeming@lyx.org>
8790 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8791 The body of the code is now in the method that is passed an ostream &
8792 rather than a file name.
8793 Pass an additional only_preamble parameter, useful for the forthcoming
8796 2002-07-03 André Pönitz <poenitz@gmx.net>
8798 * lyxfunc.C: simplify getStatus() a bit for math stuff
8800 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8802 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8804 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8806 * text.C (changeRegionCase): do not change case of all the
8807 document when region ends at paragraph end (bug #461)
8809 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8811 * paragraph.C (startTeXParParams):
8812 (endTeXParParams): add \protect when necessary
8814 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8816 * BufferView_pimpl.C (workAreaExpose): remove warning
8818 2002-06-27 Angus Leeming <leeming@lyx.org>
8820 * Makefile.am: add lyxlayout_ptr_fwd.h.
8822 2002-06-26 André Pönitz <poenitz@gmx.net>
8824 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8826 2002-06-25 Angus Leeming <leeming@lyx.org>
8828 * lyxfunc.C (dispatch): Comment out the call to
8829 grfx::GCache::changeDisplay. The method no longer exists now that the
8830 pixmap generation part of the graphics loader has been moved into
8833 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8835 * text2.C: layout as layout
8837 * text.C: layout as layout
8839 * tabular.C (OldFormatRead): layout as layout
8841 * paragraph_pimpl.C (TeXDeeper): layout as layout
8842 (realizeFont): layout as layout
8844 * paragraph.C (writeFile): layout as layout
8845 (validate): layout as layout
8846 (getFont): layout as layout
8847 (getLabelFont): layout as layout
8848 (getLayoutFont): layout as layout
8849 (breakParagraph): layout as layout
8850 (stripLeadingSpaces): layout as layout
8851 (getEndLabel): layout as layout
8852 (getMaxDepthAfter): layout as layout
8853 (applyLayout): layout as layout
8854 (TeXOnePar): layout as layout
8855 (simpleTeXOnePar): layout as layout
8856 (TeXEnvironment): layout as layout
8857 (layout): layout as layout
8858 (layout): layout as layout
8860 * lyxtextclass.C (compare_name): new functor to work with
8861 shared_ptr, layout as layout
8862 (Read): layout as layout
8863 (hasLayout): layout as layout
8864 (operator): layout as layout
8865 (delete_layout): layout as layout
8866 (defaultLayout): layout as layout
8868 * lyxlayout_ptr_fwd.h: new file
8870 * lyxlayout.C (Read): layout as layout
8872 * lyx_cb.C (MenuInsertLabel): layout as layout
8874 * bufferlist.C (newFile): layout as layout
8876 * buffer.C (readLyXformat2): layout as layout
8877 (parseSingleLyXformat2Token): layout as layout
8878 (insertStringAsLines): layout as layout
8879 (asciiParagraph): layout as layout
8880 (latexParagraphs): layout as layout
8881 (makeLinuxDocFile): layout as layout
8882 (simpleLinuxDocOnePar): layout as layout
8883 (makeDocBookFile): layout as layout
8884 (simpleDocBookOnePar): layout as layout
8885 (getLists): layout as layout
8887 * LaTeXFeatures.C (getTClassPreamble): layout as layout
8889 * CutAndPaste.C (cutSelection): layout as layout
8890 (pasteSelection): layout as layout
8891 (SwitchLayoutsBetweenClasses): layout as layout
8893 * BufferView_pimpl.C (Dispatch): layout as layout
8894 (smartQuote): layout as layout
8896 * BufferView2.C (unlockInset): layout as layout
8898 2002-06-24 André Pönitz <poenitz@gmx.net>
8900 * lyxfunc.C: fix #487
8902 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8906 * lyxfunc.C: remove display_shortcuts, show_banner
8908 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8910 * Buffer_pimpl.C: oops, update on resize
8912 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8919 * BufferView.C: use repaint()
8921 * BufferView_pimpl.h:
8922 * BufferView_pimpl.C: s/updateScreen()/repaint()/
8923 as it's a clearer description. Remove superfluous
8926 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8928 * text.C: fix bug 488. Not ideal, but getting
8929 getWord() to work properly for the insets that
8930 matter is more difficult ...
8932 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8934 * BufferView_pimpl.C:
8937 * lyxfunc.C: remove the six million index lyxfuncs to just
8938 one, and DTRT (bug 458)
8940 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8944 * BufferView_pimpl.h:
8945 * BufferView_pimpl.C: clean up resize() stuff,
8946 and unnecessary updateScreen()s
8948 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8952 * BufferView_pimpl.h:
8953 * BufferView_pimpl.C:
8956 * minibuffer.C: remove focus management of workarea,
8957 not needed. Use screen's greyOut()
8959 2002-06-17 Herbert Voss <voss@lyx.org>
8961 * converter.C: (convert) do not post a message, when converting
8962 fails, let the calling function decide what to do in this case
8964 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
8966 * lyxfunc.C: tidy up a little
8968 2002-06-16 <alstrup@diku.dk>
8970 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8971 Got rid of FORMS_H_LOCATION include. Now we are
8974 2002-06-15 LyX Development team <lyx@rilke>
8976 * buffer.[Ch] (sgmlOpenTag):
8977 (sgmlCloseTag): Added support for avoiding pernicious mixed
8978 content. Return number of lines written.
8981 (makeDocBookFile): Fixed calls to sgml*Tag.
8982 Simple white space clean.
8984 (simpleDocBookOnePar): Simple white space clean.
8986 * tabular.[Ch] (docBook): Renamed to docbook and got another
8987 argument to related with the pernicious mixed content.
8989 (docbookRow): Fixed calls for docbook inset method.
8991 2002-06-15 Lyx Development team <larsbj@birdstep.com>
8993 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8994 so it's X11 independent.
8998 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9000 2002-06-15 Lyx Development team <lyx@electronia>
9002 * intl.h: Renamed getTrans to getTransManager.
9004 2002-06-14 Angus Leeming <leeming@lyx.org>
9006 * Makefile.am: nuke forgotten stl_string_fwd.h.
9008 2002-06-12 Angus Leeming <leeming@lyx.org>
9010 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9012 2002-06-13 Angus Leeming <leeming@lyx.org>
9015 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9017 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
9019 * kbmap.C (getiso): add support for cyrillic and greek
9021 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9025 * BufferView_pimpl.h:
9026 * BufferView_pimpl.C: move bogus scrolling logic
9029 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9032 * BufferView_pimpl.C: view->resize() change
9034 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9036 * BufferView_pimpl.C: topCursorVisible
9039 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9043 * lyx_gui.C: move to frontends/
9047 * lyx_main.C: changes from above
9049 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9056 * lyx_main.C: minor tidy
9058 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9060 * BufferView_pimpl.h:
9061 * BufferView_pimpl.C:
9063 * BufferView.C: make painter() const,
9066 * BufferView2.C: use screen() accessor
9069 * lyx_main.C: some minor cleanup
9071 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9073 * BufferView_pimpl.h:
9074 * BufferView_pimpl.C: remove enter/leaveView,
9077 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9082 * BufferView_pimpl.h:
9083 * BufferView_pimpl.C: only construct screen once,
9086 * lyxrc.C: remove pointless comment
9088 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9091 * BufferView.C: remove active() and belowMouse()
9093 * BufferView_pimpl.h:
9094 * BufferView_pimpl.C: use workarea() not workarea_,
9095 and make it use a scoped_ptr instead
9097 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9099 * lyx_gui.C: add debug message on BadWindow
9101 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9103 * sp_spell.C: fdopen is not part of the C++ standard.
9105 * paragraph.C (InsetIterator): use >= instead of ==
9107 2002-06-07 Angus Leeming <leeming@lyx.org>
9109 Fixes needed to compile with Compaq cxx 6.5.
9110 * BufferView_pimpl.C:
9117 * lyxtextclasslist.C:
9122 all c-library variables have been moved into namespace std. Wrap
9123 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9128 Add a using std::abs declaration.
9130 * kbmap.h (modifier_pair):
9131 * paragraph.h (InsetTable, InsetList):
9132 * lyxfont.h (FontBits):
9133 type definition made public.
9135 * bufferlist.C (emergencyWriteAll): the compiler complains that
9136 there is more than one possible lyx::class_fun template to choose from.
9137 I re-named the void specialisation as lyx::void_class_fun.
9139 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9141 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9142 the compiler is is unable to find tostr in write_attribute.
9144 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9146 * buffer.C (sgmlError): hide #warning
9148 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9150 * xtl/*: get rid of xtl, which is not in use anyway
9152 * LyXAction.C (init):
9153 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9154 were unimplemented xtl experimentation
9156 2002-06-04 André Pönitz <poenitz@gmx.net>
9158 * lyxfunc.C: disable array operation on simple formulae
9160 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
9162 * converter.C: constify a bit
9164 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
9166 * lyx_gui.C: check xforms version correctly
9168 2002-04-30 Herbert Voss <voss@lyx.org>
9170 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9173 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
9175 * lyxvc.C: fix bug 416 (make sure buffer is saved before
9176 attempt to register it with a VCS)
9178 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9180 * lyx_main.C (init): honor variables LYX_DIR_13x and
9183 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9187 * lyx_main.C: fix a crash on bad command line,
9188 and give a useful exit status on error
9190 * lyxfunc.C (doImport): allow -i lyx to work
9192 2002-03-30 André Pönitz <poenitz@gmx.net>
9194 * lyxfunc.C: mathed font changes
9196 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9211 * trans_mgr.h: srcdocs, and some minor cleanups
9213 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9215 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9216 call getFont all the time)
9218 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9220 * switch from SigC signals to boost::signals
9222 2002-05-29 André Pönitz <poenitz@gmx.net>
9224 * paragraph_pimpl.C (getChar): don't call size() too often...
9226 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9228 * paragraph_pimpl.C (insertChar): do not try to update tables when
9229 appending (pos == size())
9231 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9232 in order to reduce drastically the number of comparisons needed to
9233 parse a large document
9235 2002-05-29 André Pönitz <poenitz@gmx.net>
9241 * textclasslist.[Ch]:
9242 * sp_ispell.h: whitespace change
9244 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9246 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9247 lyxaction directly now.
9249 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
9253 * lyxvc.C: remove unused headers
9255 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9262 * undo_funcs.C: some cleanups. Use shared_ptr
9263 and a template for the undo stacks.
9265 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9267 * BufferView_pimpl.h:
9268 * BufferView_pimpl.C:
9275 * text2.C: use key_state/mouse_state
9277 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9279 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9282 * chset.C: change include order
9283 (loadFile): use boost regex and get rid of LRegex and LSubstring
9285 * Makefile.am (BOOST_LIBS): new variable
9288 * LaTeX.C: change include order.
9289 (scanAuxFile): use boost regex and get rid of LRegex and
9293 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9298 * FontInfo.C: moved to frontends/xforms/
9301 * FontLoader.C: moved into frontends for GUIIzation
9306 * lyxfunc.C: changes from above
9308 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9310 * LColor.C: remove spurious X include
9312 * BufferView_pimpl.C:
9317 * text2.C: move font metrics to frontends/
9319 2002-05-24 Juergen Vigna <jug@sad.it>
9321 * undo_funcs.C (textHandleUndo): fix the cursor selection after
9322 setting the undo_cursor.
9324 * ParagraphParameters.h: include local includes first.
9326 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9328 * BufferView_pimpl.C:
9329 * BufferView_pimpl.h:
9333 * screen.C: move WorkArea into frontends/
9339 * BufferView2.C: move LyXScreen into frontends/
9343 * lyx_gui.C: move lyxlookup into frontends/xforms/
9345 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9348 * BufferView_pimpl.C:
9358 * bufferview_funcs.C:
9371 * vc-backend.C: move LyX/XFormsView into frontends/
9373 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9385 * text2.C: move Painter to frontends/
9387 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9389 * buffer.C: comment out some some code that depend upon lyx_format
9392 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9393 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9395 * buffer.h (NO_COMPABILITY): turn off compability
9397 * ColorHandler.C: include scoped_array.hpp
9399 * font.C: Use more specific smart_ptr header.
9402 * ShareContainer.h: ditto
9406 * BufferView_pimpl.h: ditto
9407 * ColorHandler.h: ditto
9409 * kbmap.C (defkey): change call to shared_ptr::reset
9411 2002-05-21 Juergen Vigna <jug@sad.it>
9413 * buffer.C (insertErtContents): fix to insert ert asis if it is
9414 non empty. Skip it completely if it contains only whitespaces.
9416 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
9418 * BufferView_pimpl.C:
9419 * BufferView2.C: clear selection on paste (bug 393)
9421 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9423 * DepTable.C: include ctime
9425 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
9427 * buffer.C (latexParagraphs): Add new argument (moving_arg).
9429 2002-05-14 Juergen Vigna <jug@sad.it>
9431 * text.C (breakParagraph): fixed function to honor the keepempty
9432 layout in the right maner and also to permit the right breaking
9433 algorithm on empty or non empyt keepempty paragraphs.
9435 * paragraph.C (breakParagraph): we have to check also if the par
9436 is really empty (!size()) for isempty otherwise we do the wrong
9439 2002-05-10 Juergen Vigna <jug@sad.it>
9441 * buffer.[Ch] : The following are only changes to the ert
9442 compatibility read reading old LaTeX layout and font stuff and
9443 convert it to ERTInsets.
9445 * buffer.h: added isErtInset().
9447 * buffer.C (struct ErtComp): add a fromlayout bool to check
9448 if we're inside a LaTeX layout.
9449 (isErtInset): new helper function.
9450 (insertErtContents): look for other ert insets before this one
9451 and insert the contents there, so that we don't have subsequent
9452 ERT insets with nothing between them. This way we create only one
9453 inset with multiple paragraphs. Also check if we don't insert only
9454 spaces ' ' as they are ignored anyway afterwards in the .tex file
9455 so if we have only spaces we will ignore this latex part in the
9457 (parseSingleLyXformat2Token \\layout): better compatibility when
9458 reading layout-latex stuff.
9459 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9461 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9462 stuff after reading the inset only get the information back from
9465 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
9467 * buffer.C (makeLaTeXFile): Put language options after loading babel.
9469 * LaTeXFeatures.C (getBabelOptions): New method.
9471 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9473 * BufferView_pimpl.C (Dispatch): work around missing argument for
9476 2002-05-08 Juergen Vigna <jug@sad.it>
9478 * text.C (leftMargin): handle paragraph leftindent.
9480 * paragraph.C (writeFile): write the new \\leftindent tag.
9481 (validate): handle leftindent code.
9482 (TeXEnvironment): handle paragraphleftindent code again.
9484 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9486 * buffer.C (parseSingleLyXformat2Token): added compatibility code
9487 for paragrap_extra indent code and new token \\leftindent.
9488 (latexParagraphs): handle the leftindent as environment.
9490 * ParameterStruct.h: added leftindent support.
9492 * ParagraphParameters.C (leftIndent): added support functions for
9493 the paragraph left indent.
9495 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9498 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
9500 * paragraph.C (isRightToLeftPar): Return false for a paragraph
9503 * text.C (computeBidiTables): No bidi in insetERT.
9505 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9508 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9510 * version.C.in: pre 5
9512 2002-05-02 José Matos <jamatos@fep.up.pt>
9513 * buffer.C (makeDocBookFile): white space changes, add newline to
9515 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9517 * tabular.C (docBook): fix typo.
9519 2002-05-03 Juergen Vigna <jug@sad.it>
9521 * screen.C (drawFromTo): recalculate the rowpointer if we had a
9522 change in LyXText as we can not be sure it was not freed.
9523 (drawOneRow): remove unused code.
9525 * text.C (drawInset): redo the calculation of the need_break_row as
9526 it could have a row which was already freed.
9527 (draw): look at the return value of drawInset and return false if
9528 it also returned false.
9529 (paintRowText): look at the return value of draw and return false if
9530 it also returned false.
9532 * lyxtext.h: added bool return type to drawInset() and draw() so that
9533 if we have a change in the row so that the rowbreak has to be redone
9534 we abort drawing as it will be called again.
9536 2002-05-02 Juergen Vigna <jug@sad.it>
9538 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9539 a change in the maintext also if we're inside an inset.
9540 (Dispatch): set the cursor again after a break line and after the
9541 screen has been updated as it could be we're in a different row.
9543 * text2.C (fixCursorAfterDelete): check to make sure we don't request
9544 to set the cursor behind the pargraph with > size().
9545 (setCursor): check also for the same paragraph when checking where
9546 to put the cursor if we have a NFR inset.
9548 * buffer.C (parseSingleLyXformat2Token): move the compatibility
9549 parts of layout read further up as it still was in the wrong
9552 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9554 * screen.C (drawFromTo): change sine fullRebreak always return
9557 * buffer.C (parseSingleLyXformat2Token): reindent some
9559 * BufferView_pimpl.C (update): change since fullRebreak always
9561 (Dispatch): git rid of the last hardcoded "Standard"s.
9563 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9565 * text2.[Ch] (fullRebreak): make it return void now that we always
9568 2002-04-30 Juergen Vigna <jug@sad.it>
9570 * buffer.C (parseSingleLyXformat2Token): reset the font before the
9571 ert compatibility check for "latex" layout.
9573 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
9575 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9576 minipages: use col% instead of p%, and also use the current font.
9577 (makeLaTeXFile): Fix use babel condition.
9578 (parseSingleLyXformat2Token): Correct font when reading old floats.
9580 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
9582 * BufferView_pimpl.C (Dispatch): Check that float type exists when
9583 inserting list of floats.
9585 2002-04-25 Herbert Voss <voss@lyx.org>
9587 * MenuBackend.C (expand): don't add the graphics extensions to the
9590 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9592 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9593 non-existing layout, do not complain if it was the default layout
9594 of the original class (bug #342)
9596 2002-04-24 Juergen Vigna <jug@sad.it>
9598 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9599 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9601 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
9603 * buffer.C (getBibkeyList): If using \bibliography, return the
9604 option field with the reference itself. Enables us to provide natbib
9605 support when using \bibliography.
9607 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
9609 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9611 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9612 natbib is provided by the LaTeX class.
9614 2002-04-23 Juergen Vigna <jug@sad.it>
9616 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9619 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9621 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9623 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9625 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9626 ensuremath around textordmasculine, textordfeminine and
9629 2002-04-19 Juergen Vigna <jug@sad.it>
9631 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9632 reinitializing the buffer otherwise row-dimensions may be wrong.
9633 (update): reset also the selection cursors if they do exits otherwise
9634 their x/y positions may be wrong.
9636 * text2.C (cursorDown): don't enter the inset if we came from a row
9637 above and are one row over the inset.
9639 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9640 really leaving an inset.
9642 2002-04-18 Juergen Vigna <jug@sad.it>
9644 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9645 of the selected paragraph does not have the selected layout also if
9648 * text2.C (setLayout): fixed bug which did not change last selected
9651 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9652 changed the read and substituted \\end_float with \\end_inset!
9654 * BufferView_pimpl.C (cursorPrevious):
9655 (cursorNext): fixed to make it work with rows heigher than the work
9656 area without moving the cursor only the draw of the row.
9657 (workAreaMotionNotify): fix jumping over high rows.
9659 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9661 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9664 2002-04-16 Juergen Vigna <jug@sad.it>
9666 * text2.C (setCursor): set also the irow().
9667 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9669 (cursorDown): support for locking an inset if the x_fix value goes
9670 inside it. That way I can transverse insets too with cursor up/down.
9672 * lyxrow.h: added irow helper function same as other (i) functions.
9674 * BufferView_pimpl.C (cursorPrevious):
9675 (cursorNext): fixed for insets!
9677 2002-04-15 Juergen Vigna <jug@sad.it>
9679 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9680 position otherwise it is wrong in some cases.
9682 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9683 inside the inset before the call.
9685 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
9687 * buffer.[Ch] (getBibkeyList): make it const.
9689 2002-04-12 Juergen Vigna <jug@sad.it>
9691 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9693 * text2.C (getCursorX): new helper function
9694 (setCursor): compute also ix_
9695 (setCursorFromCoordinates): set also ix.
9697 * lyxcursor.h: added ix_ and helper functions.
9699 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9701 * buffer.C (insertStringAsLines): dont break paragraph if the this
9702 paragraph is inside an inset which does not permit it!
9704 * text.C (breakParagraph): honor keepempty flag and break the paragraph
9705 also with no chars on this paragraph.
9706 (paintRowText): only paint stuff if it's inside the workarea!
9708 * paragraph.C (breakParagraph): honor keepempty flag and break the
9709 paragraph always below not above.
9711 * BufferView2.C (unlockInset): update the paragraph layout on inset
9712 unlock as we changed paragraph in such a case.
9714 * lyxfind.C (LyXFind): clear the former selection if not found!
9716 * text2.C (insertInset): freeze Undo after setUndo so that it is not
9717 again called in insertChar().
9719 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9720 an inset which uses the whole row!
9721 (rightMargin): ditto.
9722 (insertChar): force a rebreak if we inserted an inset!
9724 2002-03-28 Herbert Voss <voss@lyx.org>
9726 * lyxlength.[Ch]: add inBP() to get the right PS-point
9727 units (BigPoint). With inPixels we have rounding errors
9729 2002-04-11 Juergen Vigna <jug@sad.it>
9731 * text2.C (setCursorFromCoordinates): set iy to the right value.
9732 (setCursor): add check if row->previous exists!
9734 * buffer.C (parseSingleLyXformat2Token): reset font after read of
9735 an old float_type as this was the case in the old code!
9737 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9739 * BufferView2.C (showLockedInsetCursor): use iy
9740 (fitLockedInsetCursor): ditto
9742 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9743 locked insets as there we have the right value now.
9745 * lyxcursor.C: added iy_ variable and iy functions to set to the
9746 baseline of cursor-y of the locked inset.
9748 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9749 (setCursor): fixed for insets which need a full row.
9751 * text.C (rowLastPrintable): don't ignore the last space when before
9752 an inset which needs a full row.
9753 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9754 as last character of a row when before a inset which needs a full row.
9756 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9758 * version.C.in: update date
9760 * text2.C (fullRebreak): try to always return true and see what
9763 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9765 * MenuBackend.C (expand): use Floating::listName
9767 * FloatList.C (FloatList): add listName argument to the built-in
9770 * Floating.[Ch]: add listName member, which is the 'List of XXX'
9771 text associated with the float.
9773 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9775 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9777 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9779 * ShareContainer.h: add a couple of missing typenames.
9781 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
9783 * lyxrc.C (getDescription): use _() correctly rather than N_().
9785 2002-03-28 Herbert Voss <voss@lyx.org>
9787 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9788 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9790 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9792 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9793 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9795 2002-03-29 Juergen Vigna <jug@sad.it>
9797 * lyxfunc.C (dispatch): add a missing fitCursor call.
9799 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9800 it was scrolled by a cursor move, so return the bool status.
9802 * BufferView.C (fitCursor): return the bool flag also to the outside
9803 world as this is needed.
9805 * screen.C (toggleToggle): don't subtract the offset if it's positive.
9807 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9808 call the edit() as it is not needed (and wrong) IMO.
9809 (workAreaButtonPress): set the screen_first variable before evt.
9810 unlock the inset as this may change screen_first and then we have
9811 a wrong y position for the click!
9813 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9815 * MenuBackend.C (expand): another translation that I missed
9817 2002-03-28 Juergen Vigna <jug@sad.it>
9819 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9821 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9823 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9825 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9827 * MenuBackend.C (expand): fix export/view/update when there is no
9830 2002-03-27 Herbert Voss <voss@lyx.org>
9832 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9835 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9837 * bufferview_funcs.C (currentState): only show paragraph number
9838 for is DEVEL_VERSION is set.
9840 * lyxfunc.C (dispatch): put warning in INFO channel
9842 * MenuBackend.C (expand): translate the name of floats
9844 * FloatList.C (FloatList): mark the float names for translation
9846 * converter.C (convert): use LibScriptSearch
9848 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9850 * MenuBackend.C (defaults): fix default menu (we might as well get
9853 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9855 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9858 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9860 * lyxvc.C: reorder includes.
9862 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
9864 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9867 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
9869 * CutAndPaste.C: change layouts earlier on paste
9870 to avoid crashing when calling getFont()
9872 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
9874 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9877 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9879 * WorkArea.C: remove 'Pending' debug message.
9881 * most files: ws cleanup
9883 * buffer.[Ch]: ws changes
9885 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9887 2002-03-21 Juergen Vigna <jug@sad.it>
9889 * tabular.C (SetMultiColumn): collapse also the contents of the
9890 cells and set the last border right. Added a Buffer const * param.
9892 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9894 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9897 2002-03-19 Juergen Vigna <jug@sad.it>
9899 * text2.C (clearSelection): reset also xsel_cache.
9901 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9902 where it needs to be called (John tells us to do so too :)
9903 (selectionLost): reset sel_cache.
9905 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9907 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9909 * text2.C (setCursorIntern): put debuging code in INSETS channel
9911 2002-03-19 André Pönitz <poenitz@gmx.net>
9913 * lyxfunc.C: tiny whitespace change
9915 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9917 * ToolbarDefaults.C (init):
9918 * LyXAction.C (init):
9920 * BufferView_pimpl.C (Dispatch):
9921 * lyxfunc.C (dispatch): remove LFUN_DEPTH
9923 2002-03-19 Allan Rae <rae@lyx.org>
9925 * exporter.C (Export): removeAutoInsets before doing anything else.
9926 While I've just introduced a dependency on BufferView this really is
9927 the best place to clean the buffer otherwise you need to cleanup in
9928 a dozen places before calling export or cleanup in a dozen functions
9931 * converter.C (runLaTeX):
9932 (scanLog): Better handling of removeAutoInsets and screen updates.
9934 * lyxfunc.C (dispatch): small whitespace changes
9936 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9938 * WorkArea.C (C_WorkAreaEvent): return a value.
9939 (event_cb): return 1 if we handled the event, 0 otherwise.
9941 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9943 2002-03-18 Juergen Vigna <jug@sad.it>
9945 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9946 (GetAdditionalWidth): ditto.
9950 * BufferView2.C (copy): use getLyXText() so that we do it inside an
9951 inset if we're there actually (probably not used right now but this
9952 is the direction to go for unifying code).
9953 (paste): disable code to clear the selection.
9955 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9956 inside an InsetText and move the check further up as it is in the
9959 * text2.C (pasteSelection): set a selection over the pasted text.
9961 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
9963 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9964 and libgraphics to build on Cygwin.
9966 2002-03-15 Juergen Vigna <jug@sad.it>
9968 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9969 inserting an Inset into the paragraph. I know this is not the best
9970 fix but we already use current_view in CutAndPaste so we will remove
9971 all of it's using at the same time.
9973 * buffer.C (sgmlError): deactivated function till it is rewritten in
9974 the right mode, now it can create problems.
9976 * paragraph.C (isLineSeparator): check if getInset returns != 0,
9977 before accessing it.
9979 2002-03-14 Juergen Vigna <jug@sad.it>
9981 * undo_funcs.C (textHandleUndo): do the right thing when updating
9982 the inset after the undo/redo.
9984 * text2.C (setCursor): just some testcode for #44 not ready yet.
9986 * undo_funcs.C (textHandleUndo): set the next() and previous()
9987 pointers of the paragraph to 0 before deleting otherwise we have
9988 problems with the Paragraph::[destructor].
9990 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9991 on a paragraph insertion.
9993 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9995 * buffer.C (asciiParagraph): use += operator for char append to
9998 * paragraph.C (getFontSettings): compare >= not just >
9999 (highestFontInRange): ditto
10002 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10004 * paragraph.C: change several algorithm to be more appripriate for
10005 the problem domain. This is lookip in FontList and in the InsetList.
10007 2002-03-13 André Pönitz <poenitz@gmx.net>
10010 * LyXAction.C: remove unused LFUN_MATH_MACROARG
10012 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
10017 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10019 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10021 * Painter.C (display): anon helper function, adjust code for this
10023 (pixmap): remove function.
10025 * Painter.h: remove private display variable.
10027 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10029 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
10031 * WorkArea.[Ch]: remove figinset_canvas cruft.
10033 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10035 * lyxtextclass.C (operator): add one item cache optimization.
10037 * bufferlist.h: doxy changes
10039 * bufferlist.C: ws changes
10041 * DepTable.[Ch] (ext_exist): place const in the right spot.
10043 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10045 (workAreaExpose): call resizeInsets when the with BufferView changes.
10046 (Dispatch): adjust for protectedBlank removal
10047 (specialChar): call updateInset if the insert went ok.
10049 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10050 specialChar instead.
10052 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10054 * BufferView.h: doxy change
10056 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10058 * lyxtextclass.C (operator[]): remove non-const version
10059 (defaultLayout): remove non-const version
10061 2002-03-12 Juergen Vigna <jug@sad.it>
10063 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10064 did resize the LyXText too.
10066 * buffer.C (readLyXformat2): set layout information on newly allocated
10069 * tabular.C (OldFormatRead): set layout information on the paragraph.
10071 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10073 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10075 2002-03-11 Juergen Vigna <jug@sad.it>
10077 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10079 (resizeCurrentBuffer): force also the insets to resize themselfes.
10080 (moveCursorUpdate): fixed up for InsetText.
10082 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
10085 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10086 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10087 value of Dialogs::tooltipsEnabled().
10088 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10090 2002-03-08 Juergen Vigna <jug@sad.it>
10092 * BufferView_pimpl.C (updateInset): update inset inside inset also
10093 if it isn't inside theLockingInset().
10095 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10097 * buffer.C (asciiParagraph): redo some of the word and line length
10099 (getLists): look for Caption instead of caption.
10101 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10103 * buffer.C (Buffer): initialize niceFile to true
10105 (makeLinuxDocFile):
10106 (makeDocBookFile): make sure niceFile is true on exit
10108 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10110 * buffer.C (makeLaTeXFile): escape ~ in \input@path
10112 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
10114 * LyXSendto.C: remove.
10115 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10116 * lyx_gui.C: remove now-redundant comment.
10117 * ColorHandler.h: remove forward declaration of class WorkArea.
10118 * lyxfunc.C: remove #include "WorkArea.h".
10120 2002-03-07 Juergen Vigna <jug@sad.it>
10122 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10123 got moved away with the DEPM and also set the inset_owner always
10124 right which before could have been omitted.
10126 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10128 * buffer.C (parseSingleLyXformat2Token): use default layout is the
10129 wanted layout is not found.
10131 2002-03-07 Juergen Vigna <jug@sad.it>
10133 * CutAndPaste.C (cutSelection): another layout settings forgotten.
10135 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10137 * paragraph.C (breakParagraph): use default layout not layout of
10139 (Paragraph): clear ParagraphParameters.
10141 2002-03-06 Juergen Vigna <jug@sad.it>
10143 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10144 otherwise it would not be a valid lenght. Fixed a special case in
10145 the minipage compatibility read where we end the document with a
10148 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10149 was set as it could be 0 for InsetTexts first entry.
10151 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10153 * paragraph.C (writeFile): if layout is empty write out
10154 defaultLayoutName().
10156 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10157 file without named layout we set layout to defaultLayoutName().
10159 2002-03-06 Juergen Vigna <jug@sad.it>
10161 * CutAndPaste.C (copySelection): set layout for new paragraph.
10163 * text.C (prepareToPrint): leave ERT inset left aligned
10164 (leftMargin): don't indent paragraphs inside ERT insets
10166 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10168 * paragraph.C (breakParagraph): dont call clear do the work manually
10170 * paragraph.[Ch] (clear): remove function
10172 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10174 * paragraph.C (Paragraph): dont call clear, the work has already
10177 * lyxtextclass.C (operator): assert if n is empty
10179 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10180 work manually instead.
10182 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10184 * BufferView_pimpl.C: protect selectionLost against text == 0
10186 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10188 * text.C (breakParagraph): fix a setting layout to '0' problem.
10190 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10192 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10193 final location of file, for the included files, and graphics.
10195 2002-03-05 Juergen Vigna <jug@sad.it>
10197 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10199 2002-03-04 Juergen Vigna <jug@sad.it>
10201 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10203 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10204 last column of multicolumn cells.
10205 (SetWidthOfMulticolCell): recalculate NMC and real columns.
10207 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
10209 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10210 file if it doesn't go to a temporary file.
10212 * buffer.C (sgmlOpenTag):
10213 (sgmlCloseTag): remove extra newline insertion.
10215 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10217 * text.C (getRowNearY): comment out debug msg
10219 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10221 * text2.C: first -> first_y
10223 * text.C (getRowNearY): add some attemts at a possible
10224 optimization, not working.
10226 * tabular.[Ch]: add BufferParams to several function so that newly
10227 created paragraph can be initialized to he default layotu for the
10230 * tabular-old.C (ReadOld): add buf->params to call of Init
10232 * screen.C: rename text->first to text->first_y
10234 * paragraph.C (breakParagraph): always set layout in the broken
10237 * lyxtextclass.C (Read): remove lowercase
10240 (delete_layout): ditto
10242 * lyxtext.h: rename first -> first_y
10244 * lyxlayout.C (Read): remove lowercase
10247 (obsoleted_by): ditto
10249 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10251 * buffer.C (insertErtContents): add params are to InsetERT
10252 (parseSingleLyXformat2Token): add code to check if a paragraphs
10253 layout really exist.
10254 (parseSingleLyXformat2Token): add params to several inset
10256 (asciiParagraph): remove lowercase, do the layout comparisons with
10259 * BufferView_pimpl.C (cursorNext): first -> first_y
10260 (resizeCurrentBuffer): first -> first_y
10261 (updateScrollbar): first -> first_y
10262 (scrollCB): first -> first_y
10263 (workAreaMotionNotify): first -> first_y
10264 (workAreaButtonPress): first -> first_y
10265 (checkInsetHit): first -> first_y
10266 (cursorPrevious): first -> first_y
10267 (cursorNext): first -> first_y
10268 (Dispatch): add buffer_->params to severl inset contructors
10270 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10272 * lyxlayout.C (Read): remove some debug info that I forgot.
10274 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10275 clean up the code slightly.
10276 (makeLinuxDocFile): ditto
10277 (makeDocBookFile): ditto
10279 * text2.C: layout as string
10281 * text.C: layout as string
10283 * paragraph_pimpl.C: layout as string
10285 * paragraph.[Ch]: layout as string
10287 * lyxtextclasslist.[Ch]: layout as string
10289 * lyxtextclass.[Ch]: layout as string
10291 * lyxtext.h: layout as string
10293 * lyxlayout.[Ch]: layout as string
10295 * lyx_cb.C: layout as string
10297 * bufferview_funcs.C: layout as string
10299 * bufferparams.C: layout as string
10301 * buffer.C: layout as string
10303 * LyXView.[Ch]: layout as string
10305 * LaTeXFeatures.[Ch]: layout as string
10307 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10309 * BufferView_pimpl.C: change current_layout to string, remove
10314 (workAreaButtonRelease): layout as string
10316 * BufferView2.C (unlockInset): adjust
10318 * vspace.C (asLatexCommand): use an explict temp variable.
10320 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10322 * Makefile.am: use FRONTEND_*
10324 2002-03-01 Juergen Vigna <jug@sad.it>
10326 * tabular.C (SetWidthOfMulticolCell): changed to something better
10327 I hope but still work in progress.
10328 (recalculateMulticolumnsOfColumn): renamed function from
10329 recalculateMulticolCells as it is more appropriate now.
10330 (SetWidthOfCell): calculate multicols better.
10332 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10334 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10336 * lyxfunc.C (processKeySym): print sequence also if it is
10337 `deleted' (complete)
10339 * kbsequence.C (print): print sequence even if it is deleted
10340 (complete would be a better word, actually).
10342 * lyxfunc.C (dispatch): print complete options after a prefix key
10344 * vspace.C (asLatexCommand): rewrite in a slightly different form.
10346 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
10348 * text2.C (setCharFont): eliminate setCharFont code duplication.
10350 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10352 * BufferView_pimpl.C (Dispatch): remove bogus handling of
10353 LFUN_TABULAR_FEATURE (bug #177)
10355 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
10357 * Makefile.am: remove figure.h
10359 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
10361 * Bufferview_pimpl.C:
10373 * text2.C: remove #include "lyx_gui_misc.h".
10375 * LaTeX.C: added #include <cstdio>
10377 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10379 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10380 that the paragraph following this one can have.
10382 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10384 * vspace.C (asLatexCommand): fix bogus gcc warning
10386 * Makefile.am (lyx_SOURCES): remove vms_defines.h
10388 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
10390 * text2.C (setLayout): get rid of redundant code
10392 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
10394 * text2.C (incDepth): make sure depth cannot be increased beyond
10397 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
10399 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10400 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10402 * PainterBase.h (image):
10403 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10404 a LyXImage const *.
10406 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10410 * BufferView_pimpl.C:
10411 * BufferView_pimpl.h:
10431 * sp_spell.C: remove fig inset, and the crap house of
10432 cards that follows it
10434 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10439 * os2_errortable.h:
10440 * nt_defines.h: move .h into support/
10442 * vms_defines.h: remove
10444 * WorkArea.C: add space in debug output
10448 * buffer.C: add WITH_WARNINGS
10452 * bufferlist.C: s/retrive/retrieve/, add docs
10461 * chset.C: add docs
10463 * lyxgui.C: add ID to X error handler
10465 * lyxtestclass.c: fix typo
10467 2002-02-26 Juergen Vigna <jug@sad.it>
10469 * tabular_funcs.C (write_attribute): changed so that some default
10470 attributes are not written at all.
10471 (getTokenValue): set default values before trying to read the
10472 value so we have the return value always set as default if we don't
10473 find the token we search for.
10475 * tabular.C (Write): write bools as bools not as strings!
10477 2002-02-22 Juergen Vigna <jug@sad.it>
10479 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10480 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10482 * text.C (leftMargin): don't add an indent for paragraphs inside
10483 tabular cells (fix #208).
10485 2002-02-21 José Matos <jamatos@fep.up.pt>
10487 * tabular.C (docBook): fixed support for long tables.
10489 2002-02-20 Juergen Vigna <jug@sad.it>
10491 * text2.C (getFont): get the drawing font of the Inset if this
10492 paragraph is inside an inset (only important for InsetERT for now).
10494 * buffer.C (insertErtContents): use new lanugage params in ERT
10497 * CutAndPaste.C: commenting out seemingly uneeded code.
10499 2002-02-19 Allan Rae <rae@lyx.org>
10501 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10502 Iterators might be simple to use but they also get invalidated.
10503 (removeAutoInsets): renamed saved cursor tracking variables and added
10504 some comments to clarify what everything does.
10506 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
10513 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10514 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10517 * vc-backend.h: remove #include "support/syscall.h"
10521 * converter.C: rearrange #includes in Lars' approved fashion.
10523 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10524 forward declare class Timeout in the header file.
10526 * XFormsView.C: changes due to the above.
10528 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10529 similar to LyXView.
10531 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10532 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10534 2002-02-18 José Matos <jamatos@fep.up.pt>
10536 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10539 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10541 * a lot of small ws changes
10542 * add a lot of using std::XXX
10543 * use std construcs some places where approp.
10544 * use some exisint stuff from lyxfunctional where approp.
10545 * Make file changes to use partial linking (lets test this now...)
10547 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10551 remove #include "support/syscontr.h" as it's redundant. Always has been.
10559 change Systemcalls::System to Systemcalls::Wait and
10560 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10561 No change of functionality, just reflects the stripped down Systemcalls
10564 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10566 * debug.[Ch]: add a GRAPHICS type to the enum.
10568 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10570 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10572 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10575 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10577 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10578 match the changes below.
10580 * text2.C (toggleInset): if there is not editable inset at cursor
10581 position, try to see if cursor is _inside_ a collapsable inset
10584 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10586 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10587 document menu has a nice checkbox
10589 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10591 * lyxlength.C (asLatexString): change PW to output as percent of
10594 * lengthcommon.C: change '%' to 't%'
10596 * lyxfunc.C (dispatch): a few comments from Martin
10598 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
10602 * BufferView_pimpl.h:
10603 * BufferView_pimpl.C: clear our selection when X tells us we've lost
10606 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10608 * vspace.C (inPixels): fix compiler warning
10610 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10612 * lyxfunc.C (getStatus): fix status message for disabled commands.
10614 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
10616 * BufferView_pimpl.C: fix crash on close buffer
10617 during selection (#227)
10619 2002-01-27 Herbert Voss <voss@lyx.org>
10621 * buffer.C: link old Figure to new graphic inset
10623 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
10625 * FontLoader.C (getFontinfo): Change the latex font names in order
10626 to match the names of type1inst.
10628 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10630 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10632 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10633 (extchanged): ditto
10635 (remove_files_with_extension): ditto
10636 (remove_file): ditto
10639 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10640 document is smaller than the work area height. Do not initialize
10641 static variables to 0.
10643 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10645 * lyx_gui.C (init): give the toolbar tooltips a normal font.
10647 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10648 LFUN_LAYOUT_PARAGRAPHS.
10650 * tabular.C (GetCellFromInset): new method. Finds an inset in a
10651 tabular. It is possible to provide a possible cell, which will
10652 typically be the actcell from the corresponding insettabular
10654 * lyxfunc.C (getStatus): small cleanup; disable
10655 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10658 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10660 * tabular.C (Validate): remove broken optimization (fixes bug #201)
10662 * paragraph.C (startTeXParParams):
10663 (endTeXParParams): new methods. The LaTeX code to
10664 start/end paragraph formatting
10665 (simpleTeXOnePar): call startTeXParParams also when paragraph is
10666 empty (fixes bug #200)
10668 * vspace.C (inPixels): adapt to the change below
10669 (inPixels): [later] more cleanups (remove unused variables)
10671 * lyxlength.C (inPixels): change to use a width and a height as
10674 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10676 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10677 Replaced with \paperwidth
10679 * DepTable.C (insert): add std:: qualifier
10681 2002-01-18 Allan Rae <rae@lyx.org>
10683 * text2.C (removeRow): add comment. Should other refresh_?? vars be
10686 * text.C (drawInset): Turned out I didn't know enough about how
10687 rebreaking worked. This fixes most of the redraw problems. I see
10688 an occasional cursor trail when a line is broken now and the cursor
10689 placement can seem out by a few pixels also after a rebreak.
10691 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10693 * buffer.C (parseSingleLyXformat2Token): update because minipage
10694 width is now a LyXLength
10696 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10698 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10701 2002-01-17 Juergen Vigna <jug@sad.it>
10703 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10705 * BufferView2.C (lockInset): call edit() so that theLockingInset()
10706 is set correctly and the inset is updated correctly.
10708 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10710 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10711 the beginning of the loop.
10713 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
10715 * lyxrc.C: improve help for use_scalable_fonts
10717 2002-01-17 Allan Rae <rae@lyx.org>
10719 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10721 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10723 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10724 make sure to set their inset_owner to the right value (bug #171)
10726 2001-12-12 Ben Stanley <bds02@uow.edu.au>
10729 * DepTable.C: Implement mtime checking to reduce time spent doing
10732 2002-01-16 Juergen Vigna <jug@sad.it>
10734 * tabular.C (GetAdditionalHeight): one of error fixed.
10736 * lyxrc.C (output): small fix in writing use_pspell.
10738 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
10740 * sp_base.h: #include LString.h
10742 2002-01-16 Allan Rae <rae@lyx.org>
10744 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
10745 Can someone check this please?
10747 * text.C (drawInset): It was possible that p.row would be removed by
10748 breakAgainOneRow upsetting a few other settings. There may be another
10749 small tweak possible by setting need_break_row = 0 when p.row has been
10750 removed but I don't know enough about the logic here.
10752 2002-01-15 Allan Rae <rae@lyx.org>
10754 * text.C (insertChar): removed conditional truism.
10756 * BufferView2.C (removeAutoInsets): More tweaks.
10757 cur_par_prev could be a stray pointer. Check for trailing empty line
10758 in case last line was cur_par and only had an error inset on it.
10760 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10762 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10765 * vc-backend.C (most methods):
10766 * exporter.C (Export):
10767 * converter.C (convert):
10769 * LyXSendto.C (SendtoApplyCB):
10770 * lyxfunc.C (dispatch):
10774 * lyx_cb.C (AutoSave):
10776 * BufferView_pimpl.C (MenuInsertLyXFile):
10777 * buffer.C (runChktex): use Buffer::filePath().
10779 * buffer.h: rename filename to filename_; rename filepath to
10780 filepath_ and make it private
10781 (filePath): new method
10783 * buffer.C (writeFile): use fileName()
10786 * lyx_main.C (init): fix starting of LyX when the binary is a
10787 link from so,ewhere else.
10789 * minibuffer.C: include <cctype> for isprint
10791 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10793 * buffer.C (parseSingleLyXformat2Token): changes associated with the
10794 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10795 name clash with InsetCollapsable's width function.
10797 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10799 * lastfiles.C: include <iterator>
10801 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10803 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10806 * buffer.C (makeLaTeXFile): ditto.
10807 Also make loop operation more transparent.
10809 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10811 * ToolbarDefaults.C: remove trailing comma closing namespace.
10813 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10815 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10818 * trans.C (Load): comment out unused variable, allowed.
10820 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10822 * minibuffer.[Ch] (append_char): new method to recieve input from the
10823 drop-down completion browser. If a key was pressed, then recieve this
10824 char and append it to the existing string.
10825 (peek_event): modify the positioning data passed to the completion
10826 browser so that it can be placed above the minibuffer rather than below.
10827 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10829 * LyXAction.C (init): alloe error-next for readonly documents.
10831 * BufferView2.C (ChangeRefsIfUnique): use standard version of
10834 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10836 * bufferlist.C (readFile): create the buffer _after_ checking that
10839 * lyxfunc.C (verboseDispatch): fix handling of arguments
10841 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10843 * lyxrc.C: use string::erase() instead of initializing to "".
10846 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10848 * BufferView_pimpl.h:
10849 * BufferView_pimpl.C:
10852 * text2.C: tell X when we have made a selection for copying
10854 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10856 * BufferView_pimpl.C (MenuInsertLyXFile):
10857 * lyxfunc.C (menuNew):
10859 (doImport): add shortcuts to directory buttons
10861 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10864 * lyxfunc.C (setStatusMessage):
10865 (getStatusMessage): new methods
10866 (getStatus):use setStatusMessage instead of setErrorMessage
10867 (dispatch): when function is disabled, set error message here
10868 [instead of in getStatus previously]
10870 * BufferView_pimpl.C (workAreaButtonRelease): update
10871 toolbar/menubar here too.
10873 2002-01-13 Allan Rae <rae@lyx.org>
10875 * BufferView2.C (removeAutoInsets): finished off earlier fix.
10876 Now seems indestructible. Remaining task is to audit all other
10877 code affected by deleteEmptyParagraphMechanism. One small quirk
10878 left is that an empty document with an error in the preamble can
10879 be made to report an error but no error box appears. I don't know
10881 (removeAutoInsets): Improved comments.
10883 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
10886 * Thesaurus.C: update for Aiksaurus 0.14
10888 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10890 * text2.C (firstParagraph): removed member function, all uses
10891 replaces with ownerParagraph
10892 (redoParagraphs): here
10893 (updateInset): here
10894 (toggleAppendix): here
10895 * BufferView2.C (insertErrors): here
10896 (setCursorFromRow): here
10898 2002-01-13 Allan Rae <rae@lyx.org>
10900 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10901 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10902 There is still a way to segfault this although you may have to do this
10903 multiple times: Have an InsetERT with an unknown command in it.
10904 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10905 <down-arrow>, <Enter> again, View->DVI, BANG!
10907 * text2.C (setCursor):
10908 (deleteEmptyParagraphMechanism):
10909 * lyxtext.h (setCursor):
10910 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10911 Making use of the return value may help fix other bugs.
10913 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10915 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10917 * LyXView.C (updateMenubar): call MenuBar::update here
10918 (updateToolbar): but not here
10919 (showState): do not update toolbar/menubar
10921 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10922 should need to care about that.
10924 * lyxfunc.C (verboseDispatch): simplify a bit
10925 (getStatus): have a version which takes a pseudoaction, and
10926 another which requires a (kb_action,string).
10928 * LyXAction.C (retrieveActionArg): make it work also when action
10929 is not a pseudo-action.
10930 (getActionName): simplify a bit
10933 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10935 * lyxfunc.C (verboseDispatch): new families of methods with
10936 several ways to specify a command and a bool to indicate whether
10937 the command name and shortcut should be displayed in minibuffer
10938 (eventually, we could extend that to a finer bitmask like
10939 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10940 (dispatch): the pristine dispatch command which just, well,
10941 dispatchs! Note it still sets its result to minibuffer; I'm not
10944 * lyxfunc.h: remove setHintMessage
10946 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10948 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10950 * BufferView_pimpl.C (specialChar): delete new inset if we have
10951 not been able to insert it.
10953 * kbmap.C: revert to using int instead of kb_action, since all we
10954 are dealing with is pseudo-actions.
10956 * LyXAction.C (searchActionArg): change to return int instead of
10957 kb_action, since the result is a pseudoaction.
10959 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
10961 * buffer.C (insertErtContents): Fix (partially) the font bug.
10963 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10965 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10966 as the other one is broken on my machine!
10968 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
10971 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10973 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
10975 * lyxrc.[Ch]: change names and descriptions of popup font variables to
10976 reflect their actual use. Provide compatibility code for older lyxrc
10979 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10981 change names of popup font variables in line with the changes to lyxrc.C
10983 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10985 * buffer.C (asciiParagraph): avoid outputing a word twice after
10988 * lyxrc.C (getDescription): document that document_path and
10989 template_path can be empty.
10991 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10993 * LaTeXFeatures.C (getMacros):
10994 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10996 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10998 * LaTeXFeatures.C (useFloat): require "float" here instead of in
11000 (getPackages): rename feature "floats" to "float". Use an array to
11001 iterate over 'simple' features (i.e. just a \usepackage). Add
11002 handling of "amsmath" (renamed from "amsstyle").
11004 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
11006 * LaTeXFeatures.C (require): Prevent duplicate entries in the
11009 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
11011 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11012 FuncStaus::FuncStatus & FuncStaus::some_method().
11014 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
11016 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11017 of the func_satus stuff. Edited and massaged in various ways by
11020 * lyxfunc.C (getStatus): use FuncStatus
11022 2002-01-08 Juergen Vigna <jug@sad.it>
11024 * text.C (nextBreakPoint): use function Inset::isChar().
11026 * paragraph.C (TeXOnePar): use function
11027 Inset::forceDefaultParagraphs.
11029 * buffer.C (latexParagraphs): use function
11030 Inset::forceDefaultParagraphs.
11032 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11034 * lyx_gui.C (init): set the style of the menu popups to
11035 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11037 2002-01-07 Juergen Vigna <jug@sad.it>
11039 * text.C (setHeightOfRow): small fix
11040 (prepareToPrint): don't look at alignment if we don't have the place
11043 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11045 * box.C: New file. Move the Box methods and functions out of box.h,
11046 following Lars' suggestion.
11048 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11050 * box.h: #include "support/LOstream.h", needed for inlined function.
11053 * lyxtextclasslist.C: added some using std declarations.
11055 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
11057 * box.h: make signed dimensions to allow insets wider than
11058 the screen (bug #162)
11060 * BufferView_pimpl.C: add some insetHit debug
11062 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
11064 * vc-backend.C: add FIXME
11066 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11068 * lyxfunc.C (getStatus): enable code for showing math font status
11071 2002-01-07 Juergen Vigna <jug@sad.it>
11073 * text.C (nextBreakPoint): removed debug output not needed anymore.
11075 2002-01-06 Juergen Vigna <jug@sad.it>
11077 * text.C (nextBreakPoint): fixed up this function we had this bug
11078 since ever but now hopefully we break row better.
11079 (insertChar): we have to check if an inset is the next char as it
11080 could now happen that a large inset is causing a break.
11082 2002-01-05 Juergen Vigna <jug@sad.it>
11084 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11085 if it doesn't like to be drawed.
11087 2002-01-04 Juergen Vigna <jug@sad.it>
11089 * BufferView2.C (lockInset): forgot to set a cursor.
11091 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11093 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
11095 * FormMathsPanel.C:
11098 * form_maths_panel.C:
11099 * form_maths_panel.h:
11100 * form_maths_panel.fd: implemented sub- and super- buttons in math
11103 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11104 (or ^ space) to be used as in TeX (req'd by André).
11106 * lyxfunc.C: Allow ^ and _ again to be used both as
11107 super/subscript (mathed) and as themselves (in text).
11109 2002-01-03 Allan Rae <rae@lyx.org>
11111 * LyXView.C (updateWindowTitle): Setup a short icon title of either
11112 "LyX" or the filename of the current buffer if it has one. This is a
11113 modified form of John Levon's patch.
11115 * XFormsView.C (setWindowTitle): also set icon title.
11117 * LyXView.h (setWindowTitle): signature changed.
11118 * XFormsView.h (setWindowTitle): ditto.
11120 2002-01-02 Juergen Vigna <jug@sad.it>
11122 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11124 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11126 * screen.C (topCursorVisible): introduce a temp var for
11127 text->cursor.row(), handle the case where this row is null. (kindo
11130 * text2.C (setCursor): add a couple of asserts.
11132 * paragraph.h (inset_iterator): add -> operator
11134 * paragraph.[Ch] (autoDeleteInsets): remove member function
11136 * BufferView2.C (removeAutoInsets): rewrite to handle the old
11137 cursor pos correctly and handle inset deletion by itself.
11138 (insertErrors): move iterator declaration out of for expression
11140 * lyxtextclass.C: add <algorithm>
11142 * Makefile.am: added the new files to sources, removed layout.C
11144 * layout.C: removed file
11146 * layout.h: remove LYX_DUMMY_LAYOUT
11148 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11152 * lyxtextclass.[Ch]:
11153 * lyxtextclasslist.[Ch]: new files
11155 * include order changes to a lot of files, also changes because of
11158 2001-12-27 Juergen Vigna <jug@sad.it>
11160 * buffer.C (asciiParagraph): more fixes.
11162 * tabular.C (ascii): make ascii export support export of only the
11163 data separated by a column-delimiter.
11164 (ascii): better support for ascii export.
11166 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11168 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11170 * tabular_funcs.C: use a "using std::getline" instead of the
11171 previous fix from Angus (necessary for cxx + lyxstring)
11173 2001-12-24 Juergen Vigna <jug@sad.it>
11175 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11177 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11178 problems. First check a minipage also if we have some ert-contents
11179 (not only on par->size(), second set the right depth of the paragraph
11180 on the relink to the root-paragraph-list!
11182 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11183 which then did not anymore update the main paragraphs on undo/redo!
11185 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11187 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11188 code. Support all font-changing funcs (even those which are not in
11189 menu currently). Support for reporting font settings in
11190 mathed (disabled until Andre provides a function on mathed's side).
11192 * func_status.h (toggle): small helper function to set toggle
11195 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
11197 * tabular_funcs.C: getline -> std::getline
11199 2001-12-21 Juergen Vigna <jug@sad.it>
11201 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11202 accessed and could be 0 (I couldn't generate this but it seems
11205 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11207 * tabular_funcs.C: add LIstream.h, move write_attribute to..
11208 * tabular_funcs.h: here and include iosfwd
11210 2001-12-20 Juergen Vigna <jug@sad.it>
11212 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11213 inside inset but undo_par was.
11215 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11217 * Thesaurus.C: always include <config.h> in sources.
11221 * box.h: do not include <config.h> in header files
11223 * text.C (paintLastRow): remove unused variable
11225 * text.C (transformChar):
11227 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11229 * Painter.C (text):
11230 * font.C (width): rewrite to use uppercase() instead of
11233 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11235 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
11237 * lyxfind.C: clean up of find failure position change
11239 2001-12-20 Juergen Vigna <jug@sad.it>
11241 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11243 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11244 (TeXRow): added to LaTeX a single tabular row.
11245 (TeXLongtableHeaderFooter): added to output LT-h/f data.
11246 (Latex): simplified and finally good LT-h/f support.
11247 (various_functions): just small adaptions for LT-h/f support.
11249 * tabular_funcs.[hC]: added and moved here all not classfunctions
11252 2001-12-19 Juergen Vigna <jug@sad.it>
11254 * tabular.[Ch]: better support for longtabular options (not finished
11257 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11259 * text.C (paintLastRow): use the label font instead of the font of
11260 the last character to compute the size of *_BOX. This makes more
11261 sense and avoids a crash with empty paragraphs.
11262 Use Painter::rectangle to draw EMPTY_BOX.
11264 2001-12-19 Juergen Vigna <jug@sad.it>
11266 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11267 the paragraphs if the replaced paragraph is not the first one!
11268 Tried to delete not used paragraphs but does not work yet so for
11269 now it's inside #ifdef's and by default off!
11271 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11273 * MenuBackend.C: include "lyx_main.h" instead of declaring
11274 lastfiles (actually was declared as LastFiles* instead of a
11277 2001-12-17 Juergen Vigna <jug@sad.it>
11279 * tabular.C (AppendColumn): applied John's fix
11281 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
11285 * BufferView_pimpl.h:
11286 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11289 * box.h: new start of class for above
11291 * lyxfunc.C: ignore space-only minibuffer dispatches.
11292 Show the command name when it doesn't exist
11294 * minibuffer.C: don't add empty lines to the history
11296 * minibuffer.C: add a space on dropdown completion
11298 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
11300 * text.C: fix line above/below drawing in insets
11302 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11304 * lyxlength.C (LyXLength): Initialize private variables.
11306 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
11308 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11309 when inserting error insets.
11311 2001-12-13 Juergen Vigna <jug@sad.it>
11313 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11314 actually sometimes the before-paragraph.
11315 (setUndo): don't clear the redostack if we're not actually undoing!
11317 2001-12-06 Juergen Vigna <jug@sad.it>
11319 * undo_funcs.C (textHandleUndo): well after John's hint I got here
11320 and fixed redoing of main paragraph, so we can use it now ;)
11322 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11324 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11326 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11329 2001-12-13 André Pönitz <poenitz@gmx.net>
11332 * undo_func.C: minor cleanup
11334 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11336 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11337 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11338 font in urw-fonts package which is marked as -urw-fontspecific and
11339 does not work (incidentally, changing the encoding in the
11340 fonts.dir of this package to -adobe-fontspecific fixes the
11343 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11344 is a crash when undoing first paragraph (Juergen, please take a
11345 look). THis does not mean the undo fix is wrong, just that it
11348 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11349 the (Paragraph*) version when needed instead of duplicating the
11352 * text.C (workWidth): use Inset::parOwner to find out where the
11353 inset has been inserted. This is a huge performance gain for large
11354 documents with lots of insets. If Inset::parOwner is not set, fall
11355 back on the brute force method
11357 * paragraph_pimpl.C (insertInset):
11358 * paragraph.C (Paragraph):
11359 (cutIntoMinibuffer): set parOwner of insets when
11360 inserting/removing them
11362 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11364 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
11370 * mathed/formulabase.C:
11371 * mathed/math_cursor.[Ch]:
11372 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11375 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11377 * lyxlength.[Ch] (operator!=): new function
11379 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11381 * text.C (workWidth): use Inset::parOwner to find out where the
11382 inset has been inserted. This is a huge performance gain for large
11383 documents with lots of insets. If Inset::parOwner is not set, fall
11384 back on the brute force method
11386 * paragraph_pimpl.C (insertInset):
11387 * paragraph.C (Paragraph):
11388 (cutIntoMinibuffer): set parOwner of insets when
11389 inserting/removing them
11391 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11393 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11395 * tabular-old.C (getTokenValue):
11396 * tabular.C (getTokenValue):
11397 (write_attribute): new versions for LyXLength
11398 (everywhere): adjust the use of widths
11400 * tabular.h: change the type of widths from string to LyXLength
11402 2001-12-11 Ben Stanley <bds02@uow.edu.au>
11404 * paragraph.C: fixed missing line number count when exporting
11405 Environments to LaTeX file
11407 * buffer.C: added informational message for checking line numbers.
11409 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11411 * text2.C (deleteEmptyParagraphMechanism): if there is only one
11412 paragraph, do the 'double space' part, but not the 'empty
11415 * text.C (workWidth): small optimization
11416 (getLengthMarkerHeight): use minimal size for negative lengths.
11418 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
11420 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11422 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11424 2001-12-11 André Pönitz <poenitz@gmx.net>
11427 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11429 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11431 * text2.C: keep selection on a setFont()
11433 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11435 * lyx_cb.C: another bv->text misuse, from insert label
11437 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11440 * kbsequence.C: re-instate nmodifier mask
11442 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
11444 * lyx_main.h: make lyxGUI private.
11446 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11448 * lyxfind.C: place the cursor correctly on failed search
11450 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11452 * text.C (getLengthMarkerHeight): for small heights, the arrows
11453 are not always on top/bottom of the text
11454 (drawLengthMarker): smaller arrows; take the left margin in
11455 account; draw also vfills.
11457 (paintLastRow): remove special code for vfill and standard spaces,
11458 since everything is handled in drawLengthMarker now.
11460 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11462 * buffer.C (insertErtContents): try to handle font and language
11463 interaction a bit better.g
11465 * ColorHandler.C (updateColor): change the hash to cover the whole
11466 LColor enum, ws cleanup
11467 (getGCLinepars): ditto
11468 (getGCLinepars): only lookup in the linecache once.
11470 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
11472 * iterators.C (operator++): Make the iterator more robust
11474 * BufferView2.C (removeAutoInsets): Use paragraph iterators
11476 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11478 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11481 * text.C: better added space drawing
11483 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11486 * BufferView2.C: fix layout combo update on inset unlock
11488 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11490 * Makefile.am: don't compile unused files
11492 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11496 * LyXAction.C: remove old LFUN_LAYOUTNO
11498 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11500 * paragraph_pimpl.h:
11501 * paragraph_pimpl.C: isTextAt() doesn't need font param
11503 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11506 * lyxlex.C: little cleanup
11508 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11510 * BufferView_pimpl.C: fix insertAscii for insets
11512 2001-12-05 Juergen Vigna <jug@sad.it>
11514 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11515 set the right font on the "multi" paragraph paste!
11517 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11523 * lyxlength.C: remove out-commented code.
11525 * BufferView_pimpl:
11539 * vc-backend.C: change "while(" to "while ("
11541 * lyxlength.[Ch]: add zero function to check if length is zero or
11543 * lyxgluelength.C: use it
11545 2001-12-05 Allan Rae <rae@lyx.org>
11547 * lyxlength.C: Attempted a fix for the abs(int) header selection.
11548 Works for 2.95.3, from what I understand of Garst's reports this should
11549 work for other g++ versions. We're screwed if the abs(int) definition
11550 changed between bugfix releases of gcc.
11552 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11554 * text.C: fix chapter label offset !
11556 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11559 * text.C: fix hfill at end of line, clean up
11561 2001-12-04 Juergen Vigna <jug@sad.it>
11563 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11564 that we force an update of the inset and it's owners if neccessary.
11566 2001-12-03 Juergen Vigna <jug@sad.it>
11568 * text.C (rowLast): simplified code
11570 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11572 * lyxfunc.C: fix show options on timeout
11574 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11576 * screen.C (topCursorVisible): scroll half a page when the cursor
11577 reached top of bottom of screen
11579 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
11581 * minibuffer.C: deactivate on loss of focus
11583 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11585 * vspace.[Ch] (operator!=): add operator.
11587 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
11589 * BufferView_pimpl.C: refuse to open an inset when
11590 there's a selection.
11592 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
11594 * BufferView_pimpl.C: allow to click on RHS of full row insets
11596 2001-11-30 Juergen Vigna <jug@sad.it>
11598 * tabular.C (LyXTabular): add a same_id to set the same id's in the
11599 insets for undo reasons.
11601 2001-11-28 André Pönitz <poenitz@gmx.net>
11603 * vspace.[Ch]: cosmetical changes
11605 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11615 * kbsequence.C: part re-write of old kb code
11618 * WorkArea.C: remove Lgb_bug_find_hack
11620 2001-11-30 José Matos <jamatos@fep.up.pt>
11622 * buffer.C (makeDocBookFile): add a comment to point a hack.
11623 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11624 Fixed a double write of labels.
11626 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11629 * LaTeX.h Fixed bug in LaTeX class where it would not
11630 re-run latex if no depfiles were changed, but the .dvi was removed.
11632 2001-11-28 André Pönitz <poenitz@gmx.net>
11634 * all the files from the change on 2001/11/26:
11635 use lyx::layout_type instead of LyXTextClass::size_type
11636 use lyx::textclass_type instead of LyXTextClassList::size_type
11638 2001-11-29 Juergen Vigna <jug@sad.it>
11640 * text.C: added support for paragraph::isFreeSpacing()
11642 * buffer.C: same as above
11644 * paragraph.h: inserted isFreeSpacing() function to enable
11645 FreeSpacing inside InsetERT.
11647 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11648 of the paragraph's in the cut/copy buffer to 0!
11650 * text2.C (removeRow): remove the assert as it can!
11652 * lyxtext.h: added helper function firstRow returning firstrow and
11653 made firstrow private again.
11655 * BufferView2.C (lockInset): don't relock if we're already locked!
11657 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11658 the only paragraph.
11659 (removeRow): added Assert::(firstrow)
11661 * debug.C: forgot to add INSETTEXT here.
11663 2001-11-28 Juergen Vigna <jug@sad.it>
11665 * sp_spell.C (initialize): changed error text to more general
11666 spellchecker command use (not only ispell!)
11668 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11670 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11672 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11674 * vspace.C: initialise lyxgluelength on failure
11676 2001-11-28 Allan Rae <rae@lyx.org>
11678 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11679 declaration & definition that looks like a function declaration.
11681 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11683 * BufferView2.C (copy):
11684 (copyEnvironment): do not clear the selection when doing a copy.
11686 * text.C (paintFirstRow): compilation fix
11688 2001-11-27 Ben Stanley <bds02@uow.edu.au>
11690 * tabular.C (Latex): correct line count when writing latex.
11692 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
11694 * paragraph_pimpl.h:
11695 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11698 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11702 * LColor.C: change vfillline->added_space
11704 * text.C: add markers and text for added space
11706 * vspace.C: fix comment
11708 2001-11-28 André Pönitz <poenitz@gmx.net>
11710 * paragraph.C: whitespace changes
11711 * all the other files from the change on 2001/11/26:
11712 change *::pos_type into lyx::pos_type
11714 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
11716 * buffer.C (parseSingleLyXformat2Token): Set the language to the
11717 language of the document when inserting error insets.
11719 2001-11-26 André Pönitz <poenitz@gmx.net>
11721 * BufferView_pimpl.[Ch]:
11729 * paragraph_pimpl.[Ch]:
11732 * text2.C: reduce header dependencies, introduce type for positions
11734 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11736 * <various>: change to use Alert.h
11738 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
11740 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11741 when encountering an unknown token.
11742 (readLyXformat2): Show an error message if there were unknown tokens.
11744 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
11747 * BufferView_pimpl.C:
11751 * text2.C: use par->isInset()
11753 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11755 * paragraph_pimpl.h:
11756 * paragraph_pimpl.C: cleanup
11758 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11760 * text2.C (removeRow):
11761 * text.C (setHeightOfRow): remove useless (and costly) call to
11764 2001-11-20 Allan Rae <rae@lyx.org>
11766 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11767 Now need Inset*::checkInsertChar() to return true for appropriate
11768 cases so that the characters in the minibuffer will actually be
11771 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11773 * text.C: change the order of the includes.
11774 (workWidth): initialize it at once.
11775 (workWidth): make maxw unsigned
11776 (setHeightOfRow): remove unused variable (inset)
11777 (selectSelectedWord): remove unused variable (inset)
11778 (paintRowText): fix drawing of hfill characters, and clean up a bit.
11780 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11782 * lyxserver.C (emergencyCleanup): do not try to close pipes if
11783 server is not running.
11785 (closeConnection): add debug info when server is disabled.
11787 * ColorHandler.C (getGCForeground): send debug message to GUI
11790 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11792 * kbmap.C (bind): modify because return conventions of
11793 kb_sequence::parse have changed.
11795 * kbsequence.C (parse): only ignore spaces and not any stupid
11796 control character. This avoids tests like s[i] <= ' ', which are
11797 guaranteed to fail with 8bit characters and signed chars.
11798 Change return code to string::npos when there have been no error
11799 (0 was a bad idea when error is at first character)
11801 2001-11-14 José Matos <jamatos@fep.up.pt>
11804 * buffer.C (simpleDocBookOnePar): removed unused argument.
11806 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11808 * text.C (selectNextWordToSpellcheck): do not test explicitely for
11809 insets which are part of a word. Paragraph::isLetter takes care of
11810 that now. Use Paragraph::isInset to identify insets.
11811 (selectSelectedWord): do not test for hyphenation break.
11813 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11814 that protected spaces are considered as spaces.
11816 * paragraph.C (isLetter): cleanup the code for ispell extras; use
11819 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
11822 * lyxserver.C: fix it. and small cleanup.
11824 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11826 * BufferView_pimpl.C: use inline helpers
11829 * LaTeXFeatures.C: fix typos
11832 * Spacing.C: move spacing_string into class
11834 * ToolbarDefaults.C: move stuff into namespace anon
11836 * layout.h: update enum
11838 * lyxfunc.C: use better debug
11840 * minibuffer.h: fix typo
11844 * WorkArea.C: add and use Debug::WORKAREA
11848 * text2.C: code re-organisation, inline helpers
11850 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
11852 * Layout.C: replaced a few cases of std::vector.size() == 0 with
11853 std::vector.empty().
11855 2001-11-09 Allan Rae <rae@lyx.org>
11857 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11858 '\n's after tables. Tabular and ERT inset work now makes this no
11861 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11864 * minibuffer.C: fix crash, improve drop-down completion
11866 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
11869 * lyxserver.C: invalidate fd's when doing endPipe()
11871 2001-11-08 José Matos <jamatos@fep.up.pt>
11873 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11874 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11877 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11879 2001-11-07 José Matos <jamatos@fep.up.pt>
11882 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11885 * buffer.C (sgmlOpenTag):
11886 * buffer.C (sgmlCloseTag): removed debug info.
11888 * buffer.h (sgmlOpenTag):
11889 * buffer.h (sgmlCloseTag): made public.
11891 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11893 * buffer.C (saveParamsAsDefaults):
11894 * lyx_cb.C (MenuLayoutSave): remove
11896 * LyXAction.C (init):
11898 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11900 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11902 * buffer.C (setPaperStuff): removed from here...
11904 * bufferparams.C (setPaperStuff): ... and moved there.
11906 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
11910 * XFormsView.C: add support for drop-down completion
11912 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
11914 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11917 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11919 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11922 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
11924 * lyx_main.C: change ref to known bugs
11926 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
11928 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11929 to work around older babel problems.
11931 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11933 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11935 2001-10-24 Juergen Vigna <jug@sad.it>
11937 * tabular-old.C (ReadOld): below variable changes reflected.
11939 * tabular.[Ch]: added ltType struct for longtable header/footer
11940 defines and changed all instances where they are used. Added
11941 future support for double top/bottom rows.
11943 2001-10-24 José Matos <jamatos@fep.up.pt>
11945 * buffer.h (docbookHandleCaption):
11946 * buffer.C (docbookHandleCaption): removed unused function.
11947 (makeDocBookFile): moved docbook supported version to v4.1.
11949 2001-10-24 José Matos <jamatos@fep.up.pt>
11952 * tabular.C (docbookRow): new function to export docbook code of a row.
11953 (DocBook): now honors the longtable flags.
11955 2001-10-23 José Matos <jamatos@fep.up.pt>
11958 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11959 of the lyx defined sgml entities used in a docbook/linuxdoc document.
11961 * buffer.C (makeLinuxDocFile):
11962 (makeDocBookFile): reworked the preamble, more clean, and with
11963 support for lyx defined entities. Changed the document declaration
11964 to be more XML friendly.
11966 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11967 if we need to output XML that should be done with a filter.
11969 2001-10-22 Juergen Vigna <jug@sad.it>
11971 * sp_pspell.h (class PSpell): add alive function needed in the
11972 controller to see if the spellchecker could be started.
11974 2001-10-22 Juergen Vigna <jug@sad.it>
11976 * buffer.C (insertStringAsLines): modify the font for inserting
11977 chars in certain conditions by calling checkInsertChar(font).
11979 2001-10-19 Juergen Vigna <jug@sad.it>
11981 * text.C (workWidth): use getRow instead of wrong algorithm.
11982 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11984 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
11989 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11991 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11993 * text.C (workWidth): do not search for the exact row when
11994 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11995 optimization for big documents.
11997 2001-10-18 Juergen Vigna <jug@sad.it>
11999 * text.C (workWidth): new function with added Inset * parameter.
12001 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12003 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12005 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12006 change return type of getColumnNearX.
12009 * text.C (changeRegionCase): use uppercase/lowercase instead of
12012 (rightMargin): simplify code by factoring out the uses of
12017 (appendParagraph): use Paragraph::size_type
12019 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12021 * vspace.C (asLatexString): add a missing break
12023 2001-10-15 Herbert Voss <voss@perce.de>
12025 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12027 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12029 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12032 2001-10-10 André Pönitz <poenitz@gmx.net>
12034 * lyxfunc.C: removed greek_kb_flag.
12036 2001-10-10 Herbert Voss <voss@perce.de>
12038 * lyx_main.C: delete global string help_lyxdir.
12040 2001-10-09 Herbert Voss <voss@perce.de>
12042 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12044 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12046 * lyx_main.C: added global string help_lyxdir.
12048 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12050 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
12052 * lyxrc.C (set_font_norm_type): support iso8859-4
12054 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
12056 * LaTeX.C (deplog): add another regex for MikTeX
12058 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
12060 * lyxrc.C (set_font_norm_type): support iso8859-3
12062 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12064 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12066 * LaTeXFeatures.C: remove special case of french and index
12068 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12069 before \begin{document}). This solves several incompatibilities.
12071 2001-10-03 Garst Reese <reese@isn.net>
12073 * lyx_cb.C: change CheckTex error msg.
12075 2001-10-03 José Matos <jamatos@fep.up.pt>
12077 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12079 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12081 * .cvsignore: update
12083 * lyx_main.C (commandLineVersionInfo): use new style version info.
12085 * buffer.C (writeFile):
12087 (makeLinuxDocFile):
12088 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12090 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12092 * version.h: update to use stuff in version.C
12094 * version.C.in: new file. Contains version information determined
12095 at compile time. This is a merging of version.h and
12098 2001-10-03 Juergen Vigna <jug@sad.it>
12100 * BufferView_pimpl.C (update): don't change "dirty" status in
12103 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
12105 * WorkArea.C (c-tor): re-position version string slightly.
12107 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
12109 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12110 revert to previous code.
12112 WorkArea.[Ch]: (show, destroySplash): methods removed.
12114 WorkArea.C: rework code so that it's an amalgam of the codes before and
12115 after the splash screen was moved to WorkArea.
12117 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12120 * vspace.C (inPixels):
12123 * buffer.C (insertStringAsLines):
12124 (asciiParagraph): fix types to be large enough
12126 * lyxlex_pimpl.h: change member status from short to int
12128 * layout.h: fix type of endlabeltype
12131 * kbsequence.C (parse): change return type to string::size_type
12133 * LaTeX.C (updateBibtexDependencies): comment out unneeded
12136 * Bullet.C (bulletSize):
12137 (bulletEntry): do not use short ints as parameters
12139 * BufferView2.C (insertLyXFile): change a char to an int.
12141 * WorkArea.C (WorkArea): remove unneeded floats in computation
12143 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
12145 * buffer.C (asciiParagraph): Treat '\\' as other chars.
12147 * paragraph.C (asString): Do not ignore newline/hfill chars when
12148 copying to the clipboard.
12150 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
12152 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12153 after a multi-line inset.
12155 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
12157 * paragraph.C (validate): Set NeedLyXFootnoteCode
12159 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12161 * lyxfont.C (LyXSizeNames): changed increase-error to increase
12162 and decrease-error to decrease.
12164 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12166 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12167 it more readable (should be equivalent)
12169 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
12171 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12173 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12175 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12176 of a cursor (row, etc.) after a character has been deleted
12177 (deleteEmptyParagraphMechanism): call the method above on _all_
12178 cursors held by the LyXText when a double space has been
12181 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12183 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12185 (resizeCurrentBuff): remove code to destroy the old splash dialog.
12187 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12188 background. Use greyOut() and the new show() methods to toggle between
12189 the foreground and background. Add code to remove the splash after
12190 its initial showing.
12192 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12193 (create_forms): no longer call Dialogs::showSplash.
12195 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12197 * .cvsignore: add version_info.h
12199 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12201 * version_info.h.in: new file
12203 * Makefile.am: add version_info.h.in
12205 * lyx_main.C (commandLineVersionInfo): use version_info defined in
12206 version_info.h instead of VERSION_INFO
12208 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
12210 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12211 The ERT inset now returns string().
12213 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
12215 * lyxtext.h, text.C (selectNextWord): renamed as
12216 selectNextWordToSpellcheck.
12218 * text.C (selectNextWordToSpellcheck): Modified to not select
12219 words inside an ERT inset.
12221 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12223 * lyx_cb.C (MenuLayoutSave): change a bit the question
12225 * sp_base.h: include <sys/types.h>
12227 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
12229 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12231 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
12233 * several files: fix typos in user-visible strings
12235 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12237 * text2.C (pasteSelection): do not set the selection, since it
12238 will be cleared later. Actually, the intent was to fix the way the
12239 selection was set, but I figured rmoving the code was just as good.
12241 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
12243 * FontLoader.C (available): Check if font is available without
12246 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
12248 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12250 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
12252 * lyxrc.[Ch]: added display_graphics variable and associated code.
12254 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12256 * bufferparams.C (hasClassDefaults): new method. Returns true if
12257 the buffer parameters correspond to known class defaults
12259 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
12261 * XFormsView.C (show): set minimum size to the main window.
12263 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12265 * text2.C (copySelection):
12267 * lyxfind.C (LyXReplace):
12268 * BufferView_pimpl.C (Dispatch): pass the correct flag to
12269 LyXText::selectionAsString.
12271 * paragraph.C (asString): add "label" argument to the second form
12273 * text2.C (selectionAsString): add "label" argument and pass it to
12274 Paragraph::asString.
12276 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12278 * lyx_main.C (commandLineHelp): remove version information
12280 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
12282 * lyx_main.C: add -version commandline option
12284 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12286 * paragraph.h: make the optional constructor arg required instead.
12287 some modifications to other files because of this.
12289 * minibuffer.C (C_MiniBuffer_peek_event): make it static
12291 * lyxserver.C (C_LyXComm_callback): make it static
12293 * lyx_main.C (error_handler): make it static
12295 * lyx_gui.C (LyX_XErrHandler): make it static
12297 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12299 * WorkArea.C: make the extern "C" methods static.
12301 * Makefile.am (lyx_LDADD): simplify
12303 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12305 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12306 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12308 * LyXAction.C (init):
12309 * lyxfunc.C (dispatch): associated code removal.
12311 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12313 * lyxfont.h (isSymbolFont): shut off warning
12315 * text.C (setHeightOfRow):
12316 (getVisibleRow): fix crash with empty paragraphs which have a
12319 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
12321 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12324 2001-09-04 José Matos <jamatos@fep.up.pt>
12327 * tabular.C (docbook): rename docBook method to docbook.
12329 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12331 * Makefile.am: add dependencies to main.o.
12333 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
12335 * FontLoader.C (available): Return false if !lyxrc.use_gui
12337 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
12339 * FontInfo.C (query):
12340 * converter.C (view):
12341 * importer.C (Import):
12342 * exporter.C (Export): Can not -> cannot.
12344 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
12346 * BufferView_pimpl.C: allow to create index inset even if
12349 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12351 * buffer.C (getLists): replace boost::tie code with an explicit pair
12352 as boost::tie can break some compilers.
12354 * iterators.h: Added a std:: declaration to the return type of
12357 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
12359 * lyxrc.C: add help for view_dvi_paper_option, default to safe
12362 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
12364 * iterators.[Ch]: New files. Provide paragraph iterators.
12366 * buffer.C (changeLanguage): Use paragraph iterators.
12367 (isMultiLingual): ditto
12369 * BufferView2.C (ChangeInsets): Use paragraph iterators.
12371 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
12373 * FontLoader.C: Support for cmr font.
12375 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
12377 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12378 (available): New method.
12380 * FontInfo.C (getFontname): Use scalable fonts even when
12381 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12384 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12386 * converter.C (Formats::view): reverted! Incorrect fix.
12388 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12390 * converter.C (Formats::view): only output the -paper option
12391 if the dvi viewer is xdvi, thereby fixing bug #233429.
12393 2001-08-23 Herbert Voss <voss@perce>
12395 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12397 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
12399 * Spacing.h (Spacing): Set space to Default on in the default
12402 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
12404 * vc-backend.h (RCS::versionString): add RCS to version
12405 (CVS::versionString): add CVS to version
12407 * vc-backend.C (scanMaster): do not add CVS to version.
12408 (scanMaster): do not add RCS to version
12410 * lyxvc.C (versionString): new method
12412 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12414 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12416 * Spacing.C (set): initialize fval
12418 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
12420 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12423 2001-08-16 Juergen Vigna <jug@sad.it>
12425 * lyxfunc.C (dispatch): implemented the new FINISHED states.
12427 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12429 * BufferView_pimpl.C:
12432 * text2.C: setParagraph takes linespacing now
12434 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
12436 * LyxAction.C: add internal LFUN_CITATION_INSERT
12438 * LyXView.C: actually apply fix
12440 * bufferlist.C: fix open non-existent file
12442 * lyxfind.C: fix indentation
12444 * lyxfunc.C: remove unneeded assert, fix typo
12446 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12448 * MenuBackend.C: use "Floatname List"
12450 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
12452 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12453 when converting LaTeX layout to insetERT.
12454 Generate a non-collapsed float when reading old float
12456 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12458 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12461 2001-08-13 Juergen Vigna <jug@sad.it>
12463 * text.C (fill): return 0 instead of 20 as this seems to be the more
12466 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12468 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12471 2001-08-13 Juergen Vigna <jug@sad.it>
12473 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12475 (SearchBackward): comment out the unlocking of the inset_owner this
12476 should not be needed!
12478 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
12480 * Many files: Remove inherit_language, and add latex_language
12482 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12483 collapsible insets.
12485 2001-08-10 Juergen Vigna <jug@sad.it>
12487 * text.C (prepareToPrint): fixed hfill-width in draw!
12489 * BufferView2.C (selectLastWord): save the selection cursor as this
12490 now is cleared in the function LyXText::clearSelection!
12492 2001-08-08 Juergen Vigna <jug@sad.it>
12494 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12495 BACKSPACE type functions.
12497 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12498 is only cutted from the document but not put in the cut-buffer, where
12499 still the old stuff should be.
12501 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12503 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12505 * tabular.C (SetWidthOfCell): fixed special case where the width
12507 (LeftLine): handle '|' in align_special.
12509 (LeftAlreadyDrawed): ditto
12510 (SetWidthOfCell): ditto
12512 2001-08-07 Juergen Vigna <jug@sad.it>
12514 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12516 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12518 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12519 * lyxlex.[hC]: ditto
12521 2001-08-06 Juergen Vigna <jug@sad.it>
12523 * text.C (getVisibleRow): fix up row clearing a bit.
12525 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12527 * minibuffer.C: make sure the X server sees the changes in the input.
12529 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12531 * paragraph.C (getFont): split into...
12532 (getLabelFont): this
12533 (getLayoutFont): and this
12534 * paragraph_pimpl.C (realizeFont): calling this
12536 * text2.C (getFont): split into...
12537 (getLayoutFont): this
12538 (getLabelFont): and this
12539 (realizeFont): all three calling this
12541 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12544 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12546 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12548 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
12550 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12551 layouts from the Quote inset insertion.
12553 2001-08-03 Juergen Vigna <jug@sad.it>
12555 * BufferView_pimpl.C (update): do the fitCursor only at the end!
12557 * screen.C (drawFromTo): don't call fitcursor here and do the loop
12558 only if status not is already CHANGED_IN_DRAW (second level).
12560 * text.C (draw): don't set the need_break_row when inside an
12563 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12565 * buffer.C (parseSingleLyXformat2Token): handle more latex
12568 * bufferview_funcs.[hC]: change function names to
12569 begin with small char, adjust other files.
12571 2001-08-02 André Pönitz <poenitz@gmx.net>
12574 BufferView_pimpl.C: remove broken special code for math-greek
12576 2001-08-02 Juergen Vigna <jug@sad.it>
12578 * BufferView_pimpl.C (update): redone this function so that we
12579 update the text again if there was a CHANGE_IN_DRAW.
12581 * screen.C (cursorToggle): removed LyXText parameter and recoded.
12582 (drawFromTo): added a new internal bool which is used by draw() and
12584 (general): some cursor drawing problems fixed.
12586 2001-08-01 Juergen Vigna <jug@sad.it>
12588 * lyxfind.C (LyXFind): fixed
12589 (SearchForward): ditto
12590 (SearchBackward): ditto
12592 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12593 spurius drawing of the cursor in the main area.
12595 * text2.C (status): small fix which could lead to a segfault!
12596 (clearSelection): remove unneeded BufferView param.
12598 2001-08-01 André Pönitz <poenitz@gmx.net>
12600 * lyxfunc.C: small change due to changed mathed interface
12602 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12604 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12606 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
12608 * lyxfunc.c: fail gracefully if file doesn't exist
12613 * BufferView_pimpl.C: IsDirWriteable() proto changed
12615 * LyXView.C: fix updateWindowTitle() to store the last title
12617 2001-07-31 Juergen Vigna <jug@sad.it>
12619 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12620 the font (wrong since using of Paragraph::highestFontInRange).
12622 * paragraph.C (highestFontInRange): added a default_size parameter.
12624 * text.C (getVisibleRow): minor clear row changes (still not perfect).
12625 (setHeightOfRow): reformat
12627 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12629 * converter.[hC] + affected files: move to (inital-char)lowercase
12632 * ParagraphParameters.C (ParagraphParameters): remove commented code
12634 * PainterBase.[Ch]: remove commented code
12636 * LaTeXFeatures.h: add "bool floats" for float.sty
12638 * LaTeXFeatures.C (LaTeXFeatures): init floats
12639 (require): handle float
12640 (getPackages): do it with floats
12642 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12644 * BufferView_pimpl.C (Dispatch): improve handling of
12645 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12647 * commandtags.h: #include lyxfont.h here temporarily to avoid
12650 * bufferlist.h: include LString.h here.
12652 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12654 * text2.C (getStringToIndex): new method.
12656 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
12658 * *: Reduced header file dependencies all over.
12660 2001-07-30 Baruch Even <baruch@lyx.org>
12662 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12664 2001-07-29 Baruch Even <baruch@lyx.org>
12666 * buffer.C (readInset): Changed GRAPHICS to Graphics.
12668 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12670 * ParameterStruct.h (endif): add a default constructor to make
12671 sure that all variables is initialized.
12673 * ParagraphParameters.C (ParagraphParameters): adjust
12675 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12677 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12678 index; also, check that there is something to index, and that it
12679 does not span over several paragraphs.
12680 (doubleClick): use WHOLE_WORD_STRICT for double click.
12682 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12684 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12687 2001-07-26 Baruch Even <baruch@lyx.org>
12689 * buffer.C (readInset): Changed to call up InsetGraphics when reading
12690 an InsetFig figure, backwards compatible reading of old figure code.
12692 2001-07-27 Juergen Vigna <jug@sad.it>
12694 * text2.C: font.realize function adaption.
12696 * text.C (draw): add a warnings lyxerr text if needed.
12698 * layout.C: font.realize function adaption.
12700 * language.C: add inherit_language and implement it's handlings
12702 * bufferview_funcs.C (StyleReset): remove language parameter from
12703 font creation (should be language_inherit now).
12705 * bufferparams.C (writeFile): handle ignore_language.
12707 * paragraph.C (getFontSettings): the language has to be resolved
12708 otherwise we have problems in LyXFont!
12710 * lyxfont.C (lyxWriteChanges): added document_language parameter
12711 (update): removed unneeded language parameter
12713 * paragraph.C (validate): fixed wrong output of color-package when
12714 using interface colors for certain fonts in certain environments,
12715 which should not seen as that on the final output.
12717 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
12719 * BufferView_pimpl.C:
12724 * LyXAction.C: add thesaurus support
12727 * lyxfind.C: add "once" parameter, for thesaurus, to not
12728 move to the next match
12730 2001-07-26 Juergen Vigna <jug@sad.it>
12732 * lyxfont.C (realize): honor ignore_language too!
12735 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12737 * text.C (draw): one place more for ignore_language to not draw
12740 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
12742 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12744 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12746 * buffer.C (parseSingleLyXformat2Token): a more general fix for
12747 the minipage conversion problem.
12749 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12751 * buffer.C (parseSingleLyXformat2Token): check minipage if we
12754 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12756 * BufferView.h: don't forward declare WorkArea
12758 * BufferView.C: don't include WorkArea.h
12760 2001-07-25 André Pönitz <poenitz@gmx.net>
12764 * lyxfunc.C: new LFUN 'math-space'
12766 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12768 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12770 * text2.C (toggleInset): call open/close
12772 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12774 * lyxfunc.C (dispatch): add debug for the disabled case
12776 * font.C (buttonText): make similar to rectText
12778 * buffer.C (readInset): comment out parsing of insetlist and
12781 * PainterBase.C (rectText): small correction
12783 * BufferView_pimpl.C: comment out insettheorem and insetlist
12784 * LyXAction.C: ditto
12785 * commandtags.h: ditto
12787 2001-07-24 Juergen Vigna <jug@sad.it>
12789 * text.C (draw): honor the ignore_language.
12791 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12793 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12795 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12798 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12800 * lyxtext.h: remove unused (and unimplemented) methods
12802 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12804 * text.C (getVisibleRow): honor background color
12807 * Painter.h: remove default color argument for fillRectangle
12809 * text.C (backgroundColor): new method
12811 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12813 * text.C (getVisibleRow): adjust
12815 * font.[Ch] (rectText): new method, metrics
12816 (buttonText): new method, metrics
12818 * PainterBase.[hC]: make rectText and buttonText always draw and take
12821 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12823 * ToolbarDefaults.C (read):
12824 * MenuBackend.C (read): allow escaping in all strings
12826 * BufferView_pimpl.C (insertAndEditInset): new method.
12827 (Dispatch): use insertAndEditInset whenever appropriate.
12829 * BufferView_pimpl.C (insertNote): removed
12831 * BufferView_pimpl.C (smartQuote): new method, moved from
12832 BufferView; if an insetquote cannot be inserted, insert a '"'
12835 * BufferView2.C: remove insertCorrectQuote();
12837 * lyxfunc.C (getStatus): Add support for all remaingin
12838 inset-insert lfuns.
12840 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12842 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12843 command (necessary to pass " as parameter of self-insert.
12845 * text.C (selectWordWhenUnderCursor):
12846 (selectWord): add word_location parameter
12847 (selectWordWhenUnderCursor): same + remove special code for word
12849 (selectNextWord): use kind() to guess type of insetspecialchar,
12852 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12853 (insertErtContents): create ert insets as collapsed.
12854 (readInset): better compatibility code for Info inset.
12856 2001-07-20 Juergen Vigna <jug@sad.it>
12858 * lyxfunc.C (dispatch): use always LyXFind now!
12860 * text2.C (init): add a reinit flag so that the LyXText can be
12861 reinited instead of deleted and reallocated (used in InsetText).
12863 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12869 2001-07-18 Juergen Vigna <jug@sad.it>
12871 * text.C (selectNextWord): handle insets inside inset by calling
12872 always the bv->text functions so that we can go up the_locking_inset!
12874 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12875 in strange locations when inside an inset!
12877 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12878 handling to include insets.
12880 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12882 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12884 * LyXAction.C (init):
12886 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12887 LIGATURE_BREAK, since the name is so stupid.
12889 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12891 * buffer.C (readInset): enable reading of new InsetNotes as well as old
12894 * FontLoader.C: remove FORMS_H_LOCATION cruft.
12896 * sp_form.[Ch]: remove.
12898 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12900 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12903 * src/buffer.C (readInset): ditto.
12905 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12907 * BufferView_pimpl.C (specialChar): new method. Obsoletes
12908 menuSeparator(), endOfSentenceDot(), ldots() and
12909 hyphenationPoint(), which are therefore removed.
12910 (Dispatch): handle LFUN_HYPHENATION_BREAK.
12912 * LyXAction.C (init):
12913 * commandtags.h: add LFUN_HYPHENATION_BREAK.
12915 * paragraph.C (getWord): removed.
12917 * BufferView_pimpl.C (Dispatch): use last word or selection for
12918 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12920 * lyx_main.C (queryUserLyXDir): do not ask before creating
12921 user_dir, except if it has been named explicitely.
12923 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12925 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12926 a document of zero size.
12928 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
12930 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12931 approriately in the c-tor and in require().
12932 (getPackages): output the appropriate LaTeX for natbib support.
12934 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12935 variables "use_natbib" and "use_numerical_citations" when reading the
12937 (readInset): read the various natbib cite commands.
12938 (validate): white-space change.
12940 * bufferparams.[Ch]: new variables "bool use_natbib" and
12941 "bool use_numerical_citations".
12942 (writeFile): output them in the LyX file.
12944 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12946 * lyxfunc.C (getStatus): add support for all the inset insertion
12949 * text2.C (insertInset):
12950 * paragraph.C (insetAllowed):
12951 * BufferView_pimpl.C (insertInset): update to take in account the
12952 renaming of insertInsetAllowed
12954 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12956 * text2.C (getInset): new method. returns inset at cursor position.
12958 * BufferView_pimpl.C (Dispatch): changes because of this.
12960 * LyXAction.C (init): rename open-stuff to inset-toggle.
12962 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12964 * text2.C (toggleInset): renamed from openStuff; use
12967 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
12969 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12971 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12973 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
12975 * buffer.C (readLyXformat2): Add filename to the error dialog
12977 2001-07-18 Juergen Vigna <jug@sad.it>
12979 * tabular.C (GetCellNumber): put an assert here instead of the check!
12981 2001-07-17 Juergen Vigna <jug@sad.it>
12983 * BufferView_pimpl.C (toggleSelection): adapted too.
12985 * text.C (selectNextWord): adapted for use with insets.
12986 (selectSelectedWord): ditto
12988 2001-07-17 Juergen Vigna <jug@sad.it>
12990 * sp_spell.C (PSpell): fix initialitation order.
12992 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12994 * paragraph.C: spacing
12996 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
12998 * sp_spell.C: repair language selection for pspell
13000 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13002 * lyxfunc.h: change more methods to begin with lower char.
13004 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
13006 * buffer.C (parseSingleLyXformat2Token): Generate error insets
13007 for unknown layouts.
13009 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
13011 * buffer.C (readLyXformat2): Generate an error dialog if there are
13014 2001-07-16 Juergen Vigna <jug@sad.it>
13016 * sp_spell.C: always compile ISpell part.
13018 * lyxrc.C: added use_pspell entry and it's handling.
13020 2001-07-13 Juergen Vigna <jug@sad.it>
13022 * sp_spell.C: removed double includes.
13024 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
13026 Consistent use of Lsstream.h:
13027 * Lsstream.h: added using std::stringstream for consistencies sake.
13029 * buffer.C: removed using std::stringstream
13031 * lyxfont.C (stateText):
13032 * paragraph.C (asString):
13033 * text.C (selectNextWord, selectSelectedWord):
13034 * text2.C (setCounter):
13035 * vspace.C (asString, asLatexString):
13036 std::ostringstream -> ostringstream.
13038 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13040 * LyXAction.C: add LFUN_HELP_ABOUTLYX
13041 * commandtags.h: add LFUN_HELP_ABOUTLYX
13042 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13044 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13046 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13048 * lyx_gui_misc.C: remove spellchecker
13049 * lyxfunc.C: showSpellchecker
13051 * sp_ispell.h: added
13052 * sp_pspell.h: added
13053 * sp_spell.C: added
13054 * sp_form.[Ch]: removed
13055 * spellchecker.[Ch]: removed
13057 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
13059 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13061 (simpleTeXSpecialChars): Simply print the input character without
13062 any special translation if pass_thru is set.
13064 * layout.h: Added bool pass_thru to layout class for being able to
13065 implement pass through of a paragraph for Literate Programming.
13067 * layout.C: add LT_PASS_THRU to LayoutTags enum.
13068 * layout.C (LyXLayout): set pass_thru to flase in constructor.
13069 * layout.C (Read): add "passthru" to list of layout tags and add
13070 code to set the pass_thru boolean when it is read.
13072 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13074 * trans_decl.h: remove allowed from KmodInfo
13076 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13077 remove allowed code
13080 * paragraph_pimpl.C (erase): use boost::prior
13082 * Painter.C (text): use data() instead of c_str() when length is
13084 * WorkArea.C (putClipboard): ditto
13085 * font.h (width): ditto
13087 * BufferView2.C: use it-> instead of (*it). for iterators
13089 * paragraph_pimpl.C: ditto
13090 * paragraph.C: ditto
13091 * minibuffer.C: ditto
13092 * language.C: ditto
13094 * encoding.C: ditto
13095 * counters.C: ditto
13096 * converter.C: ditto
13098 * Variables.C: ditto
13099 * TextCache.C: ditto
13100 * MenuBackend.C: ditto
13101 * LyXAction.C: ditto
13103 * FloatList.C: ditto
13104 * DepTable.C: ditto
13105 * ColorHandler.C (LyXColorHandler): ditto
13107 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13109 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13111 * text2.C (openStuff): reintroduce this method (which had been
13112 nuked in NEW_INSETS frenzy).
13114 * lyxfunc.C (Dispatch): when an action has not been handled, use
13115 its name in the error message, not its number.
13117 * paragraph.C (inInset): change method name to begin with lowercase.
13120 * text2.C: updates because of this.
13122 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13124 * ToolbarDefaults.C (add): add spaces in error message
13126 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13128 * buffer.C (readLyXformat2): initialize the ert comp. variables.
13129 (readLyXformat2): rename return_par to first_par, use lyxlex's
13130 pushToken and remove the manual push handling.
13131 (parseSingleLyXformat2Token): add another ert comp. variable:
13132 in_tabular, rename return_par to first_par. handle newlines better
13134 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13136 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13138 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13140 * text2.C (getParFromID): removed
13142 * buffer.C (getParFromID): new method moved form lyxtext.
13143 * BufferView2.C (insertErrors): adjust
13144 (setCursorFromRow): adjust
13145 * BufferView_pimpl.C (restorePosition): adjust
13146 * lyxfunc.C (Dispatch): adjust
13147 * undo_funcs.C (textUndo): adjust
13149 (textHandleUndo): adjust
13150 (textHandleUndo): adjust
13152 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13154 * buffer.C: up' the LYX_FORMAT
13156 * lyxfont.h: turn NO_LATEX on as default
13158 * buffer.C (insertErtContents): new methods of tex style compability.
13159 (parseSingleLyXformat2Token): use it several places.
13160 * tabular.C (OldFormatRead): and here
13162 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13164 * text2.C: remove some commented code.
13167 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13168 * trans.C: changes because of the above.
13170 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
13172 * text2.C (setCounter): Fix counters bug with bibliography layout.
13174 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13176 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13177 own member functions
13178 (simpleTeXSpecialChars): ditto
13180 2001-07-06 Juergen Vigna <jug@sad.it>
13182 * a lot of files: changed the access to LyXText::status and the
13183 call of undo-functions.
13185 * undo.[Ch]: added a inset_id to the undo informations.
13187 * undo_funcs.[Ch]: added and moved here all undo functions.
13189 * lyxtext.h: give the status enum a weight, made status_ a private
13190 variable and made accessor functions for it, removed the whole bunch
13191 of undo-functions as they are now in their own file, make some
13192 functions publically available. Added function ownerParagraph with
13195 * paragraph.[Ch]: added "bool same_ids" to the constructor,
13196 made InInset() a const function, added getParFromID() function.
13198 * buffer.[Ch]: added const version for inset_iterator functions,
13199 added getInsetFromID() function.
13201 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13202 changed undo functions for new version.
13204 2001-07-05 Juergen Vigna <jug@sad.it>
13206 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13207 unknow mechanism does not call the proper constructor but only this
13208 one also if I request the other!?
13210 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13212 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13214 * text2.C (LyXText): use initialization lists.
13216 * lyxtext.h (Selection): initialize set_ and mark_
13217 (init): remove method
13219 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
13221 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13223 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13225 * screen.[Ch]: change method names to begin with lowercase
13227 * BufferView_pimpl.C (updateScrollbar): simplify further and
13228 hopefully make it a bit faster.
13230 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13232 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13233 calling directly xforms functions.
13235 * Painter.C (Painter):
13236 * lyx_cb.C (MenuWrite):
13237 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13240 * lyx_gui.C: remove bogus guiruntime extern declaration.
13242 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13244 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13246 (redoDrawingOfParagraph): ditto
13247 (redoParagraphs): ditto
13248 (cutSelection): don't create a object for CutAndPaste use the
13249 static method directly
13250 (pasteSelection): ditto
13252 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13255 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13257 * modifications to some other files because of this.
13259 * Makefile.am (lyx_SOURCES): add XFormsView
13261 * XFormsView.[Ch]: new files
13263 * LyXView.[Ch]: make LyXView a base class for the gui handling for
13264 the main window. Move the gui dependent stuff to XFormsView
13266 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13268 * tabular.C (GetCellInset): update cur_cell also in the row/col
13269 version of this function.
13271 * lyxfunc.C: no need to include figure_form.h here.
13277 * lyxvc.C: no need to include forms.h here.
13279 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13281 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13283 * lyxfunc.C (Dispatch):
13285 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13286 constructor argument.
13288 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13290 * paragraph.C (Paragraph): dont't clear, and just set layout.
13291 (makeSameLayout): use params's copy contructor.
13293 * ParagraphParameters.[Ch] (makeSame): delete method
13295 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
13297 * Variables.[Ch]: fix indentation, rename set to isSet
13299 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13301 * lyxfunc.C (Dispatch): fix typo
13303 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13305 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13308 * bufferlist.C: include assert.h for emergencyWrite().
13310 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13312 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13313 give up at last (bug #425202) !
13315 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
13321 * spellchecker.C: strip spellchecker options and bring up
13322 preferences tab instead
13324 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13326 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13327 the istringstream constructor
13329 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13331 * paragraph.C (getLayout): fix return value
13333 * paragraph.h: do not declare getLayout as inline.
13335 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13337 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13339 * lyxcursor.h (operator<): new func
13340 (operator>): new func
13341 (operator>=): new func
13342 (operator<=): new func
13344 * text.C (changeCase): use selection.start and selection.end
13345 (changeRegionCase): require from to be <= to. Require par to be a
13348 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13350 2001-06-27 Juergen Vigna <jug@sad.it>
13352 * text.C (cursorLeftOneWord): changed to return the cursor and added
13353 overlay with BufferView * parameter which calls this one.
13355 (selectWord): use new getWord function.
13356 (changeCase): renamed from changeWordCase as and extended to work
13357 also on selections.
13359 * lyxtext.h: added enum word_location
13361 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13362 changeCase as this operates now also on selections.
13364 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
13366 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13368 * many files: send debug output to Debug::INFO instead of
13371 * converter.C (View):
13373 (Move): send debug output to Debug::FILES instead of console.
13375 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
13377 * lyxfunc.C (getStatus): use func_status
13379 * func_status.h: new header, describing the results of
13380 LyXFunc::getStatus;
13382 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13385 2001-06-25 The LyX Project <jug@sad.it>
13387 * buffer.C (sgmlOpenTag):
13389 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
13391 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13393 * text2.C: remove some dead code
13395 * tabular.C (GetCellInset): store the last cell checked (gotten)
13397 * tabular.h: add the helper for the speedup
13399 * lyxtext.h: remove some dead code
13401 2001-06-26 The LyX Project <Asger>
13403 * paragraph.C: Change export to LaTeX of alignment to
13404 \begin{center} and family for better roundtrip work with reLyX.
13406 * Tune the math drawing a bit.
13408 2001-06-25 The LyX Project <Asger>
13410 * LColor.C (LColor): New color for math background. New color
13413 2001-06-25 The LyX Project <jug@sad.it>
13415 * lyxfunc.C (MenuNew): remove extra check for .lyx file
13417 * lyxfunc.C (Open):
13418 * bufferlist.C (newFile): do not restrict to files ending with
13421 * BufferView_pimpl.C (MenuInsertLyXFile):
13423 2001-06-24 The LyX Project <jug@sad.it>
13425 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13428 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13430 * lyxtext.h: rename most methods to begin with a small char.
13431 Lots of changes because of this.
13433 * paragraph.C (Paragraph): do not call fitToSize
13434 (erase): call Pimpl::erase
13435 (insertChar): call Pimpl::insertChar
13436 (insertInset): call Pipl::insertInset
13437 (breakParagraph): do not call fitToSize
13438 (breakParagraphConservative): do not call fitToSize
13439 (fitToSize): remove method
13441 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13443 2001-06-24 The LyX Project <Asger>
13445 * Fix Qt compilation^2
13447 2001-06-24 The LyX Project <jug@sad.it>
13449 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13450 depthHook(getDepth()-1).
13453 * ParagraphParameters.h:
13454 * ParameterStruct.h: change type of depth to unsigned int ==
13455 depth_type. Many adaptations to other files before of that.
13457 2001-06-24 The LyX Project <Asger>
13459 * Fix Qt compilation.
13461 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13463 * paragraph.h: renamed several methods to begin with small letter.
13464 several changes to many parts of the code because of this.
13466 2001-06-23 The LyX Project <jug@sad.it>
13468 * text2.C (InsertStringAsLines): renamed from InsertStringA;
13469 rewritten to discard all double spaces when KeepEmpty is off
13470 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13471 to only handle newlines but not fiddle with spaces and friends.
13473 * lyxfunc.C (MenuNew): when doing 'new from template', use
13474 template_path as default directory
13476 2001-06-23 The LyX Project <Asger>
13478 * Clean-up of header file includes all over
13479 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13481 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13483 * paragraph.h: renamed from lyxparagraph.h
13485 2001-06-23 Asger <lyx@violet.home.sad.it>
13487 * Buffer.h: Removed Buffer::resize
13488 * BufferList.h: Removed BufferList::resize
13489 * LyXView.h: Added LyXView::resize. This way, we will only reflow
13490 the document lazily when we change the width, or the font settings.
13492 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13494 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13496 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13498 * buffer.h: remove out of date comment
13500 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13503 * screen.C: fix "theoretical" GC leak
13505 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13507 * LaTeX.C (scanAuxFile):
13508 (deplog): remove trailing \r when reading stream (useful under
13511 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
13513 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13514 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13515 and BufferView::theLockingInset(Inset*), so should use them and not
13516 access bv_->text->the_locking_inset directly.
13518 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13520 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13523 * tex-defs.h: remove old unused file
13525 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
13527 * BufferView_pimpl.C: fix typo, remove minibuffer message
13528 when buffer has loaded
13530 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13532 * lyxfunc.C (Dispatch): use stringstream
13533 (MenuNew): use stringstream
13534 (Open): use stringstream
13536 * importer.C (Import): use stringstream
13538 * bufferview_funcs.C (CurrentState): use stringstream
13540 * LaTeX.C (run): use stringstream
13542 * BufferView_pimpl.C (savePosition): use stringstream
13543 (restorePosition): use stringstream
13544 (MenuInsertLyXFile): use stringstream
13546 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
13559 * vspace.C: removed // -*- C++ -*- as first line.
13562 * version.h: added // -*- C++ -*- as first line.
13564 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13566 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13568 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13571 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13573 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13576 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13578 * gettext.C: include LString.h even when --disable-nls is on.
13580 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
13582 * converter.h (Get): changed argument type from int to
13583 FormatList::size_type to avoid unnecessary conversion.
13585 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13588 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13590 * gettext.h: include LString.h even when --disable-nls is on.
13592 2001-06-07 Juergen Vigna <jug@sad.it>
13594 * text.C (BreakAgain): subst spaces with tabs.
13596 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13597 (resizeInsetsLyXText): set force on resizeLyXText.
13599 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13601 * gettext.h (gettext_init):
13602 (locale_init): use a real definition instead of a macro
13604 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13606 * Bufferview_pimpl.C:
13608 * LColor.C: further lcolor tidies
13610 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13612 * BufferView_pimpl.C (updateScrollbar): simplify.
13614 * BufferView2.C: don't include insets/insetinfo.h, change
13615 prototype for insertInset and call the Pimpl version. let
13616 updateInset call Pimpl version.
13618 * BufferView.h: move inset_slept to BufferView::Pimpl, move
13619 gotoInset to BufferView::Pimpl
13621 2001-06-01 Juergen Vigna <jug@sad.it>
13623 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13624 inside a LockingInset (is the update needed at all?).
13626 2001-05-31 Juergen Vigna <jug@sad.it>
13628 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13629 here not the old one otherwise how should we compare it afterwards
13632 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13637 * FontInfo.C: bring C functions into global namespace when
13640 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13642 * LString.h: make sure config.h has been loaded before LString.h.
13644 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13645 (one for each char read by EatLine!).
13647 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13650 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13652 * paragraph.C (BreakParagraph): set the inset_owner in the new par
13653 to the same as the par we break from
13655 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
13657 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13659 * MenuBackend.C (expand): also create menu entries for wide
13660 versions of the floats.
13662 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13664 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13666 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13667 frontends/Makefile.am
13673 * tabular.C (getTokenValue): add std::
13675 * tabular-old.C (getTokenValue): add std::
13676 (getTokenValue): ditto
13677 (getTokenValue): ditto
13679 * screen.C (ToggleSelection): adjust
13681 * lyxtext.h: put selection cursors inside a Selection struct.
13683 * lyxfunc.C (moveCursorUpdate): adjust
13685 * lyxfont.C (latexWriteStartChanges): add std::
13687 * lyxfind.C: adjust
13689 * font.h: delete with(char const *, LyXFont const &)
13691 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13693 * FontInfo.C (getFontname): add std::
13695 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13696 (workAreaButtonPress): adjust
13697 (tripleClick): adjust
13699 (moveCursorUpdate): adjust
13702 * BufferView2.C (gotoInset): adjust
13704 2001-05-30 Juergen Vigna <jug@sad.it>
13706 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13707 to check pspell I add this as default as I now have new pspell
13708 libraries and they seem to use this.
13710 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13712 * text2.C (CutSelection): make the cursor valid before the call to
13715 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13717 * kbsequence.C (parse): de-uglify a bit the parsing code, which
13718 relied on 0 terminated strings and other horrors. Bug found due to
13719 the new assert in lyxstring!
13721 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13724 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13726 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13729 * lyxfunc.C (processKeySym): change method of getting to the
13732 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13733 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13734 * BufferView_pimpl.[Ch]: here as private methods.
13736 2001-05-28 Juergen Vigna <jug@sad.it>
13738 * text.C (SetHeightOfRow): added the update() call again as it is
13739 needed to initialize inset dimensions!
13741 2001-05-16 Juergen Vigna <jug@sad.it>
13743 * text2.C (SetCharFont): Add new function with BufferView * and
13744 bool toggleall parameters for setting insets internal fonts.
13745 (SetFont): Freeze the undo as we may change fonts in Insets and
13746 all this change should be inside only one Undo!
13748 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13749 setting font's in insets as for them we have the SetFont function!
13751 2001-05-15 Juergen Vigna <jug@sad.it>
13753 * text2.C (ClearSelection): to be sure we REALLY don't have any
13756 * tabular.C (TeXCellPreamble): fixed the left border problem for
13759 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
13761 * LaTeX.C (deplog): Make sure that the main .tex file is in the
13764 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13766 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13767 LFUN_BREAKPARAGRAPH.
13769 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13770 help test to "internal only", similar for LFUN_INSERT_URL
13772 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13773 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13774 auto_region_delete and deadkeys.
13776 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
13779 * LColor.C: remove some dead entries, tidy a little
13781 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13783 * lyxfunc.C (processKeySym): comment the Escape handling, remove
13785 (Dispatch): implement LFUN_ESCAPE
13787 * commandtags.h: add LFUN_ESCAPE
13789 * LyXAction.C (init): add entry for LFUN_ESCAPE
13791 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13792 Remove commented code.
13793 (insertNote): moved here
13794 (open_new_inset): moved here
13796 * BufferView[2].[Ch]: move insertNote and open_new_inset to
13799 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13801 * kbmap.C (findbinding): clean it up and make it work correctly.
13803 * lyx_main.C (init): do not pass argc and argv as parameters
13805 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
13807 * buffer.C: fix path for OS/2 & Win32
13811 * lyx_main.C: Added os:: class.
13813 * os2_defines.h: update
13815 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13817 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13818 better by trying again with reduced state.
13820 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13822 * lyxrc.C (read): print error about invalid key sequence only when
13823 debugging (because not all latinX keysyms are known to some X
13826 * kbsequence.C (getiso): add a few std:: qualifiers
13827 (getiso): comment out extra return statement.
13829 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
13831 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13833 (Dispatch): enhance the accent inset a bit. (not perfect)
13835 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13837 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13839 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13841 * bufferlist.C (emergencyWrite): fix assert() call
13843 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
13845 * text.C (InsertChar): Added trivial patch to only send the "you
13846 can not do multiple spaces this way" message once during a
13849 2001-05-08 Baruch Even <baruch@lyx.org>
13851 * Makefile.am: Changed order of libraries to get LyX to link properly
13852 with the gnome frontend.
13854 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13856 * LaTeXFeatures.h: add a std:: qualifier
13858 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13860 * paragraph.C (String): use stringstream
13862 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13864 * paragraph.C (writeFile): remove footflag arg
13866 * buffer.C (makeLaTeXFile): use stringstream
13867 (latexParagraphs): remove footnot gurba
13869 * LaTeXFeatures.C (getPackages): use stringstream
13870 (getMacros): likewise
13871 (getTClassPreamble): likewise
13872 (getFloatDefinitions): new method
13874 * paragraph.C (writeFile): reindent
13877 * WorkArea.h: revert the xpos + etc changes.
13879 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13881 * lyxparagraph.[Ch]: add copy constructor, remove Clone
13883 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13884 (pasteSelection): likewise
13885 * text2.C (CreateUndo): likewise
13887 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13889 * minibuffer.C (peek_event): temporarily reduce the functionality
13890 of the minibuffer (to allow args on lfuns)
13892 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13893 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13895 * buffer.C (readInset): add compability reading of old float
13896 lists, add reading of new style float list.
13897 (readInset): avoid reevaluation of inscmd.getCmdName()
13898 (getLists): reindent
13900 * MenuBackend.C (MenuItem): implement parsing of
13901 md_floatlistinsert and md_floatinsert.
13902 (expand::LastFiles): move initalizaton of iterators out of loop,
13903 avoid reevaluation.
13904 (expand::Documents): introduce typdedef vector<string> Strings,
13906 (expand::ExportFormats): introduce typedef vector<Format const *>
13907 Formats, and use it.
13908 (expand): implement FloatListInsert and FloatInsert.
13910 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13911 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13912 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13914 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13916 (Dispatch::LFUN_FLOAT_LIST): implement
13918 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13920 * LaTeX.C (run): Fix problem with --export code.
13922 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13924 * BufferView.[Ch] (workarea): removed.
13925 (getClipboard) new method; wrapper for workarea()->getClipboard()
13927 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13930 * WorkArea.h (width, height, xpos, ypos): These methods all
13931 returned the dimensions of the work_area sub-area of WorkArea,
13932 resulting in a position error if the WorkArea were resized. Now
13933 return the dimensions of the entire WorkArea.
13935 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13937 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13939 * LaTeX.C (deplog): correct the syntax of regex reg1
13941 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13943 * undo.C: remove !NEW_INSETS cruft
13945 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13947 * text2.C: remove !NEW_INSETS cruft
13949 * text.C: remove !NEW_INSETS cruft
13951 * tabular.C: remove !NEW_INSETS cruft
13953 * spellchecker.C: remove !NEW_INSETS cruft
13955 * lyxtext.h: remove !NEW_INSETS cruft
13957 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13959 * lyxfunc.C: remove !NEW_INSETS cruft
13961 * lyxfind.C: remove !NEW_INSETS cruft
13963 * lyx_cb.C: remove !NEW_INSETS cruft
13965 * figureForm.C: remove !NEW_INSETS cruft
13967 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13969 * buffer.[Ch]: remove !NEW_INSETS cruft
13971 * ToolbarDefaults.C: remove !NEW_INSETS cruft
13973 * CutAndPaste.C: remove !NEW_INSETS cruft
13975 * BufferView_pimpl.C: remove !NEW_INSETS cruft
13977 * BufferView2.C: remove !NEW_INSETS cruft
13979 * BufferView.h: remove !NEW_INSETS cruft
13981 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13983 * Lsstream.h: include LString.h before the sstream headers to
13984 fix problem with gcc 2.95.3 and lyxstring
13986 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13988 * lyx_main.C: add using directives when needed for C functions
13989 declared in std:: namespace.
13991 2001-04-27 Juergen Vigna <jug@sad.it>
13993 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13994 (SetHeightOfRow): comment out the update call should not be needed!
13996 2001-04-13 Juergen Vigna <jug@sad.it>
13998 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13999 (LyXTabular): tried to minimize operator= operations (and realized
14000 hopfully Lars wish).
14002 2001-04-27 Juergen Vigna <jug@sad.it>
14004 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14006 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14008 * lyxfunc.C (Dispatch): hack to make listof algorithm work
14010 * buffer.C (readInset): hack to make listof algorithm work
14012 * BufferView_pimpl.C: hack to make listof algorithm work
14014 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14016 * LyXAction.C: removed all !NEW_INSETS cruft
14017 (init): moved lfun_item in method
14019 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14021 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14023 * BufferView2.C (theLockingInset): white space.
14025 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14027 * minibuffer.C: include <iostream>
14029 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14031 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14033 * commandtags.h: add LFUN_TRANSPOSE_CHARS
14035 * text.[Ch] (TransposeChars): new method
14037 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14039 * call message directly through LyXView instead of through LyXFunc
14040 * BufferView2.C: adjust
14041 * BufferView_pimpl.C: adjust
14042 * FontLoader.C: adjust
14044 * bufferview_funcs.C: adjust
14045 * converter.C: adjust
14046 * figureForm.C: adjust
14047 * importer.C: adjust
14049 * lyx_gui_misc.C: adjust
14050 * lyxfunc.C: adjust
14053 + more files in subdirs
14055 * lyxparagraph.h (size): move up int file
14058 * adjust all uses of Assert to lyx::Assert.
14060 * BufferView2.C (ChangeCitationsIfUnique): adjust for
14061 lyxfunctional in namespace lyx
14062 * layout.C (hasLayout): ditto
14065 (delete_layout): ditto
14066 (NumberOfClass): ditto
14067 * converter.C (GetFormat): ditto
14072 * bufferlist.C (getFileNames): ditto
14073 (emergencyWriteAll): ditto
14076 * MenuBackend.C (hasSubmenu): ditto
14079 * BufferView_pimpl.C (getInsetByCode): ditto
14081 2001-04-18 Juergen Vigna <jug@sad.it>
14083 * vspace.C (asLatexString): fixed the 100% problem.
14085 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14087 * lyxfunc.C (Dispatch):
14089 * minibuffer.h: add a few std:: qualifiers
14091 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14093 * minibuffer.[Ch]: reimplement so that commands is initiated and
14094 run from lyxfunc, simplified som handling, and made the completion
14095 and history code for complete. wip.
14097 * lyxfunc.C (processKeySym): call message
14098 (miniDispatch): new temporary method
14099 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14100 (LFUN_MESSAGE): implement
14101 (LFUN_MESSAGE_PUSH): implement
14102 (LFUN_MESSAGE_POP): implement
14103 (initMiniBuffer): the initial/defualt minibuffer message.
14105 * lyxfont.[Ch]: inline some more getters
14107 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14109 * lyx_gui_misc.[Ch] (WriteStatus): remove method
14111 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14112 (AutoSave): use LFUN_MESSAGE
14113 (Reconfigure): ditto
14115 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14117 * figureForm.C: use LFUN_MESSAGE
14119 * converter.C (runLaTeX): use LFUN_MESSAGE
14121 * bufferview_funcs.C: use LFUN_MESSAGE
14123 (changeDepth): ditto
14125 * bufferparams.h: use boost::
14127 * bufferlist.h: inherit privately from noncopyable
14129 * bufferlist.C (loadLyXFile): remove some commented code.
14131 * buffer.C (runChktex): use LFUN_MESSAGE
14133 * ShareContainer.h: inherit privately from noncopyable
14135 * ParagraphParameters.[hC] (depth): inline it.
14137 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14139 (message): new method
14140 (messagePush): ditto
14141 (messagePop): ditto
14142 (show): init minibuffer
14143 (showState): direct call
14145 * LaTeX.[Ch]: inherit privately from noncopyable
14146 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14147 instead of WriteStatus.
14149 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14151 * BufferView_pimpl.C (buffer): don't init minibuffer
14152 (workAreaButtonPress): use LFUN_MESSAGE
14153 (workAreaButtonRelease): ditto
14154 (savePosition): ditto
14155 (restorePosition): ditto
14156 (MenuInsertLyXFile): ditto
14157 (workAreaExpose): don't init minibuffer
14158 (update): remove commented code, simplify
14160 * BufferView2.C (openStuff): use LFUN_MESSAGE
14161 (toggleFloat): ditto
14164 (copyEnvironment): ditto
14165 (pasteEnvironment): ditto
14170 (updateInset): remove some commented code
14172 * lastfiles.h: inherit privately from noncopyable
14175 * lyx_main.h: ditto
14177 * lyxlex_pimpl.h: ditto
14179 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14180 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14181 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14183 * LyXAction.h: inherit privately from noncopyable, add methods
14184 func_begin, func_end, returning iterators to the func map.
14186 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14187 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14188 (func_begin): new method
14189 (func_end): new method
14191 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14193 (copySelection): ditto
14194 (pasteSelection): ditto
14196 * BufferView.C: whitespace change
14197 * BufferView.h: inherit privately from noncopyable
14199 2001-04-16 Allan Rae <rae@lyx.org>
14201 * tabular-old.C (l_getline):
14202 * spellchecker.C (sc_check_word):
14203 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14204 an unrecognised preprocessor directive. So ensure they're wrapped.
14206 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
14208 * src/exporter.C (Export): Give an error message when path to file
14211 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
14213 * LaTeX.C (deplog): Always check that foundfile exists.
14215 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14218 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14220 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14222 * tabular.[Ch] (getLabelList): implement new method
14224 * minibuffer.h: comment ouf setTiimer
14226 * minibuffer.C (ExecutingCB): constify res
14227 (peek_event): constify s
14228 (Set): constify ntext
14229 (Init): constify nicename
14231 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14233 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14234 (savePosition): use two params to Minibuffer::Set
14235 (restorePosition): ditto
14237 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14239 * lyx_main.C: include language.h
14241 * Makefile.am (lyx_main.o): add language.h
14243 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14249 * CutAndPaste.C: include gettext.h
14251 * lyxfont.h: remove old hack with ON and OFF.
14254 * lyxfont.h: do not include language.h...
14259 * bufferview_funcs.C:
14265 * paragraph.C: ... but do it here instead
14267 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14269 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14271 * tabular.C: small reformat
14273 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14276 (BreakParagraph): ditto
14277 (SetOnlyLayout): ditto
14280 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14283 * lastfiles.C: removed most using decl, add std:: where needed
14285 * buffer.C: ws changes
14287 * MenuBackend.C (class compare_format): put into anon namespace
14288 (expand): constify label, names, action, action2
14291 * text.C (SingleWidth): constify font
14292 (IsBoundary): constify rtl2
14293 (GetVisibleRow): constify ww
14295 * LaTeX.C (deplog): constify logfile
14297 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14299 (workAreaExpose): constify widthChange, heightChange
14301 * lyxrow.C (par): moved
14304 * lyxrow.h: as inlines here
14306 * lyxfont.h (shape): moved from lyxfont.C
14307 (emph): moved from lyxfont.C
14309 * lyxfont.C (LyXFont): use initialization list for all
14311 (shape): move to lyxfont.h as inline
14312 (emph): move to lyxfont.h as inline
14315 2001-04-04 Juergen Vigna <jug@sad.it>
14317 * vspace.C: had to include stdio.h for use of sscanf
14319 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
14322 * BufferView_pimpl.h: remove xforms cruft. Both classes are
14323 independent of xforms.
14325 2001-04-02 Juergen Vigna <jug@sad.it>
14327 * spellchecker.C: fixed namespace placing!
14329 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
14331 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14332 the LyXParagraph * is 0.
14334 2001-03-29 Juergen Vigna <jug@sad.it>
14336 * vspace.C: added support for %, c%, p%, l%.
14337 (stringFromUnit): added helper function.
14338 (asLatexString): changed to give right results for the %-values.
14340 * buffer.C: convert the widthp in a width%.
14342 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
14344 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14347 * figureForm.[Ch]: stripped the FD_from_figure manipulation
14348 code out of lux_cb.[Ch], ready for its (imminent?) removal.
14350 * lyx_cb.[Ch]: see above.
14352 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14356 * lyx.[Ch]: replaced by figure_form.[Ch].
14360 * lyxfunc.C: changed headers associated with above changes.
14362 2001-03-27 Juergen Vigna <jug@sad.it>
14364 * BufferView_pimpl.C: set the temporary cursor right!
14366 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
14368 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14370 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
14372 * LString.h: removed "using std::getline"!
14374 * BufferView_pimpl.C (Dispatch): changes due to changes in
14375 InsetInclude::Params.
14377 * buffer.C (tag_name): removed redundant break statements as they were
14378 producing lots of warnings with my compiler.
14380 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14382 * LString.h: add "using std::getline" when using the real <string>.
14384 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
14386 * buffer.C: removed bitset usage.
14387 PAR_TAG moved to an anonymous name space.
14388 (tag_name): new funtion, also in the anonymous namespace.
14389 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14390 (makeDocBookFile): clean code. Completed transition from string arrays
14392 (SimpleDocBookOnePar): code clean.
14394 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14396 * tabular.C: add some comments.
14398 2001-03-22 Juergen Vigna <jug@sad.it>
14400 * buffer.C (parseSingleLyXformat2Token): redone the minipage
14401 compatibility read a bit and fixed bug with minipage in different
14404 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
14406 * buffer.C (pop_tag): removed.
14407 (push_tag): removed.
14408 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14409 array replaced with vector. Added support for CDATA sections.
14410 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14412 (makeDocBookFile): XML conformant declaration of CDATA section,
14413 fixed bug related to <emphasis> in the first paragraph char.
14414 (sgmlOpenTag): exclude empty tags.
14415 (sgmlCloseTag): ditto.
14417 * buffer.h (pop_tag): removed.
14418 (push_tag): removed.
14420 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
14422 * language.h (Languages): added size_type and size().
14424 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14426 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14427 response on compability reading of minipages. One probliem is that
14428 the old usage of minipages was «flertydig»
14430 * several files here and in subdirs: don't use static at file
14431 scope use anon namespaces instead.
14433 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
14435 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14436 LaTeX output. This is necessary for Literate document
14439 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14441 * buffer.C: insert hfill when needed.
14443 * tabular.C (l_getline): use string::erase, small whitespace change.
14445 * BufferView_pimpl.C: try the anon namespace.
14446 * WorkArea.C: ditto
14448 2001-03-16 Juergen Vigna <jug@sad.it>
14450 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14451 otherwise it won't open options-dialogs.
14453 * buffer.C: honor pextraWidth(p) on converting minipages.
14455 * tabular.C (l_getline): changed the functions to strip trailing \r.
14457 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
14459 * BufferView_pimpl.C:
14460 * minibuffer..C: added "using SigC::slot" declaration.
14462 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14464 * lyxlex_pimpl.h: noncopyable is in namespace boost.
14470 * paragraph.C: ditto
14472 * lyxtext.h: NO_PEXTRA
14474 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14476 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14477 * ParameterStruct.h: ditto
14478 * ParagraphParameters.h: ditto
14479 * lyxparagraph.h: ditto
14481 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14483 * buffer.C: add compability for minipage alignment.
14484 (latexParagraphs): remove unwanted pextra check.
14486 * several files: remove CXX_WORKING_NAMESPACES
14488 * buffer.C (pop_tag): tie is in namespace boost
14490 * BufferView.h: noncopyable is in namespace boost
14492 * lyx_main.h: ditto
14495 * lastfiles.h: ditto
14496 * bufferlist.h: ditto
14497 * ShareContainer.h: ditto
14499 * LyXAction.h: ditto
14502 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14504 * Merging changes from BRANCH_MVC back into HEAD.
14506 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14508 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
14510 * BufferView_pimpl.C: change from intl.C
14514 * Makefile.am: move combox.*
14520 * intl.C: remove dialog (covered by prefs)
14522 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14524 * lyxfunc.C (Dispatch): removed redundant break statement.
14526 2001-03-14 Juergen Vigna <jug@sad.it>
14528 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14530 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14532 * buffer.C: add hack to fix compability reading of minipages.
14534 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
14536 * buffer.C (getLists): Cleanup.
14538 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14540 * lyxfont.C (update): don't honor toggleall on font size.
14542 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
14546 * Makefile.am: moved to frontends/xforms/
14550 * BufferView_pimpl.C: changes for moved mathpanel
14552 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14554 * gettext.h: fix gettext_init() in --disable-nls
14556 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14558 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14560 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
14563 * lyx.h: strip external form
14565 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14567 * BufferView_pimpl.C: add comment, destroySplash()
14569 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14571 * BufferView_pimpl.C:
14575 * lyxfunc.C: use re-worked insetinclude
14577 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14579 * buffer.C: add using std::stringstream.
14581 * lyx_cb.C: readd using std::ios.
14583 * buffer.C: add using std::map.
14585 * BufferView_pimpl.C: add using std::vector.
14587 * ShareContainer.h: add std:: to swap.
14589 * buffer.h: add some typedefs
14590 * buffer.C (getLists): use them
14591 (getLists): renamed from getTocList.
14592 add a counter for the different float types and use it in the
14594 (getLists): use the same counter for the NEW_INSETS and the "non"
14597 * lyx_cb.h: remove unused items, includes, using etc.
14599 * ShareContainer.h: remove some commented code, add more comments
14600 and "documentation".
14602 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14604 * buffer.C (getTocList): make the list also when NEW_INSETS is
14607 * buffer.h: remove TocType
14609 * buffer.C (getTocList): change to return a map<string,
14610 vector<TocItem> >, implement for dynamic number of list.
14612 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14613 * text2.C (PasteSelection): adjust
14614 * CutAndPaste.C (pasteSelection): adjust
14616 * FloatList.C (FloatList): update from the new_insets branch.
14617 * Floating.[Ch]: ditto
14618 * LaTeXFeatures.C: ditto
14620 * lyxlex_pimpl.C: ditto
14622 * paragraph.C (Last): remove when NEW_INSETS is defined.
14624 * other file: changes because of the above.
14626 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14628 * lyxparagraph.h: rename next to next_, previous to previous_,
14629 make them private for NEW_INSETS. Rename Next() to next(),
14630 Previous() to previous().
14632 * other files: changes because of the above.
14634 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
14637 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14640 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14642 * main.C (main): pass lyx_localedir to gettext_init().
14644 * gettext.h: remove locale_init and gettext_init macros
14646 * gettext.C (locale_init): new function
14647 (gettext_init): new function
14649 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14652 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
14654 * Moved credits to frontends:
14655 * credits.[Ch]: removed
14656 * credits_form.[Ch]: removed
14657 * lyx_gui_misc.C: remove credits stuff
14660 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14662 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14664 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14665 unneeded destructor.
14667 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14668 a standalone pointer again.
14670 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14672 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
14678 * ToolbarDefaults.C:
14687 * BufferView_pimpl.C: use new file dialog in GUII
14690 * lyx_cb.C: remove LayoutsCB to Toolbar
14692 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14694 * ShareContainer.h (get): add std:: qualifier
14696 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14698 * ShareContainer.h: define a proper ShareContainer::value_type
14699 type (and use typename to please compaq cxx)
14701 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14703 * lyxparagraph.h: move serveral local vars to
14704 ParameterStruct/ParagraphParameters., use ShareContainer in
14705 FontTable., make vars in FontTable private and add getter and
14708 * paragraph.C: changes because of the above.
14710 * lyxfont.h: remove copy constructor and copy assignment. (the
14711 default ones is ok), move number inside FontBits. move inlines to
14714 * lyxfont.C: add number to initializaton of statics, move several
14715 inlines here. constify several local vars. some whitespace
14716 cleanup. Dont hide outerscope variables.
14718 * Spacing.h: add two new constructors to match the set methods.
14720 * ShareContainer.h: new file, will perhaps be moved to support
14722 * ParameterStruct.h: new file
14724 * ParagraphParameters.h: new file
14726 * ParagraphParameters.C: new file
14728 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14729 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14731 * BufferView_pimpl.C: ParagraphParameter changes.
14732 * buffer.C: Likewise.
14733 * bufferview_funcs.C: Likewise.
14734 * text.C: Likewise.
14735 * text2.C: Likewise.
14737 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14739 * lyxfind.C (LyXReplace): do not redefine default argument in
14741 (IsStringInText): ditto
14742 (SearchForward): ditto
14743 (SearchBackward): ditto
14745 2001-03-06 Juergen Vigna <jug@sad.it>
14747 * lyxfind.C (IsStringInText): put parentes around expressions.
14749 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
14751 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14753 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
14755 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14757 * stl_string_fwd.h: add comment
14759 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14762 * tabular.C: remove unused DocBook methods
14768 killed DO_USE_DEFAULT_LANGUAGE
14770 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14772 * lyx_gui.C: do not include language.h.
14774 * bufferview_funcs.C (ToggleAndShow): do not provide optional
14775 arguments in function implementation.
14777 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14779 * BufferView_pimpl.C: add <ctime>
14781 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14783 * BufferView_pimpl.C: add using std::find_if
14785 2001-02-27 José Matos <jamatos@fep.up.pt>
14787 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14790 2001-02-11 José Matos <jamatos@fep.up.pt>
14792 * buffer.C (makeDocBookFile): command styles now have a parameter as
14793 "title" by default.
14795 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
14797 * layout_forms.[Ch]: removed
14798 * lyx_cb.[Ch]: out character
14799 * lyx_gui.C: out character
14800 * lyx_gui_misc.C: out character
14801 * bufferview_funcs.C: : out character,
14802 added toggleall as parameter in ToggleAndShow
14804 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
14806 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14808 * text2.C (SetCurrentFont): Disable number property at boundary.
14810 2001-02-26 Juergen Vigna <jug@sad.it>
14812 * lyxfunc.C (getStatus): added a string argument override function so
14813 that this is correctly called from LyXFunc::Dispatch if it contains a
14814 do_not_use_argument which is used!
14815 (Dispatch): added check for "custom" export and call appropriate func.
14817 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
14819 * lyxrc.C: Add language_command_local, language_use_babel and
14820 language_global_options.
14822 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14824 * buffer.C (makeLaTeXFile): Use language_use_babel and
14825 language_global_options.
14827 2001-02-23 Juergen Vigna <jug@sad.it>
14829 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14830 which works with LyXText and putted it inside BufferView. Here now we
14831 only call for that part the BufferView::Dispatch() function.
14833 * BufferView.C (Dispatch): added.
14835 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14836 functions which needs to use a LyXText over from LyXFunc.
14837 (MenuInsertLyXFile): added
14838 (getInsetByCode): added
14839 (moveCursorUpdate): added
14840 (static TEXT): added
14842 2001-02-22 Juergen Vigna <jug@sad.it>
14844 * BufferView_pimpl.C (update): call a status update to see if LyXText
14847 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14849 * vc-backend.C (revert): implement for CVS
14850 (getLog): implement for CVS
14852 2001-02-20 Juergen Vigna <jug@sad.it>
14854 * text2.C (ClearSelection): added BufferView param for inset_owner call
14856 * lyxfunc.C (TEXT): added this function and use it instead of
14857 directly owner->view()-text of getLyXText().
14859 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
14861 * src/layout_forms.C: out preamble
14862 * src/layout_forms.h: out preamble
14863 * src/lyx_cb.C: out preamble
14864 * src/lyx_cb.h: out preamble
14865 * src/lyx_gui.C: out preamble
14866 * src/lyx_gui_misc.C: out preamble
14867 * src/lyxfunc.C: connect with guii preamble
14869 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
14871 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14873 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
14875 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14876 whether to run bibtex.
14878 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
14880 * Makefile.am (lyx_SOURCES): Remove BackStack.h
14882 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14884 * Makefile.am (lyx_SOURCES): removed bibforms.h
14886 * vspace.h: doxygen
14888 * text.C (GetVisibleRow): make several local vars const
14890 * tabular.C: small cleanup.
14892 * lyxserver.C (callback): use compare instead of strncmp
14894 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14895 inlines to after class or to paragraph.C
14897 * lyxfont.h: remove friend operator!=
14899 * converter.h: move friend bool operator< to non friend and after
14902 * combox.h: small cleanup
14904 * buffer.h: doxygen, remove unused constructor, move inclas inlies
14905 to inlines after class def.
14907 * buffer.C (pop_tag): use string operations instead of strcmp
14909 * bmtable.c: doxygen, small cleanup
14911 * LaTeX.h: remove friend operator==
14913 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
14925 * BufferView_pimpl.C:
14926 * BufferView.[Ch]: remove cruft
14928 2001-02-14 Juergen Vigna <jug@sad.it>
14930 * lyxfunc.C: removed #if 0 unused code
14932 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14934 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14936 * text2.C (SetSelection): added a BufferView * parameter
14938 2001-02-13 Juergen Vigna <jug@sad.it>
14940 * lyxfunc.C (Dispatch): fixed protected blank problem.
14941 * BufferView2.C (protectedBlank): added LyxText * parameter.
14943 * tabular.C (AppendRow): forgot to set row_info of newly added row.
14944 (AppendColumn): same as above for column_info.
14946 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14947 (moveCursorUpdate): use a LyXText param for support of InsetText.
14949 * BufferView_pimpl.C (doubleClick): added support for InsetText.
14950 (tripleClick): ditto
14952 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14954 * BufferView_pimpl.C (update): added LyXText param to honor insets.
14956 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14958 * text2.C (SetSelection): set correct update status if inset_owner
14959 (ToggleFree): ditto
14961 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
14963 * tabular.C: remove some commented code.
14965 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
14967 * BufferView_pimpl.C: call hideSplash()
14969 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14972 * bibforms.h: remove
14975 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14976 add LFUN_CHILD_CREATE
14978 * counters.h: fix tiny typo
14983 * lyx.C: move splash to frontends/xforms/
14985 * lyx_gui_misc.C: move Include and Bibform to frontends
14987 * lyxvc.h: clarify comment
14989 * vspace.C: tiny housekeeping
14991 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
14993 * text.C (PrepareToPrint): RTL Fix.
14995 * paragraph.C (GetUChar): New method.
14996 (String): Use GetUChar.
14998 * buffer.C (asciiParagraph): Use GetUChar.
15000 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
15002 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15004 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
15007 * buffer.C: rename to getLogName(), handle
15008 build log / latex log nicely
15010 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15013 * MenuBackend.h: remove support for reference menuitem type.
15015 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
15017 * BufferView_pimpl.C: housekeeping
15018 * BufferView_pimpl.h:
15023 * minibuffer.h: move Timeout GUI-I
15025 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
15027 * lyxrc.C (read): Update converters data-structures.
15029 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
15031 * LaTeX.h (operator!=): add operator != for Aux_Info
15033 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
15035 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15037 * LaTeXLog.C: deleted, useful code moved to Buffer
15040 * buffer.C: new function getLatexLogName()
15046 * lyxfunc.C: use frontends for LaTeX and VC logs
15048 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15050 * LaTeX.h: yet another std:: that Allan forgot.
15052 * Variables.C (set): renamed from isset(), because this clashes
15053 with some HP-UX macros (grr).
15055 2001-02-06 Allan Rae <rae@lyx.org>
15057 * LaTeX.h: Another bug fix. Missing std:: this time.
15059 2001-02-04 Allan Rae <rae@lyx.org>
15061 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15062 floats problem. I've left it commented out because it's not quite
15063 correct. It should also test that the current object is a table or
15064 figure inset. But I haven't gotten around to figuring out how to do
15065 that. I *think* it'll be something like: "table" == inset.type()
15067 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15070 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
15072 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15073 all the citation/databases/styles in the auxilary file.
15074 (run): Rerun latex if there was a babel language error.
15076 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
15078 * text.C (Backspace): Preserve the font when changing newline char
15080 (BreakParagraph): If the cursor is before a space, delete the space.
15082 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15084 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
15086 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15087 new argument (code).
15088 (ChangeCitationsIfUnique): New method.
15090 * paragraph.C (GetPositionOfInset): Handle bibkey.
15092 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15094 * BufferView_pimpl.h: change type of Position::par_pos to
15095 LyXParagraph::size_type.
15097 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
15099 * BufferView_pimpl.C (savePosition, restorePosition): Write
15100 messages to minibuffer.
15102 2001-01-28 José Matos <jamatos@fep.up.pt>
15104 * buffer.C (makeDocBookFile): adds support for document language.
15105 A silly restriction on the name of LatexCommand types where removed.
15106 Added support for CDATA sections, allows to chars unescaped, used
15107 among others in code, to avoid escape < and >.
15109 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15111 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15112 saved positions instrad of a stack. Furthermore, a position is
15113 stored using paragraph id/paragraph position.
15115 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15116 Remove LFUN_REF_BACK.
15118 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15120 * converter.C (dvipdfm_options): New method.
15122 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
15124 * vspace.C (isValidLength): Fix for empty input string.
15126 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15128 * LyXAction.C (init): change description of LFUN_FIGURE to
15131 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15133 * LaTeX.C: add using directive
15135 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15137 * MenuBackend.C (expand): Fix the sorting of the formats.
15139 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
15141 * lyx_main.C: tiny error message fix
15143 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15145 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15146 calling fl_initialize(). This fixes the problem with ',' as
15147 decimal separator in text files.
15149 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15151 * trans.C (process): Fix the keymap bug.
15153 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
15155 * LaTeX.C (scanAuxFiles): New method. Provides support for
15156 multiple bibliographies (when using the bibtopic/bibunits pacakges).
15157 (scanLogFile) Scan for "run BibTeX" messages.
15159 * buffer.C (makeLaTeXFile): Do not load the ae package when using
15160 OT1 font encoding. Also, load the aecompl package if the ae
15163 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15165 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15167 * texrow.C (increasePos): turn two error messages into debug
15170 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
15172 * LaTeX.C (scanAux): Handle the \@input macro.
15173 (runBibTeX): Use scanAux().
15175 * language.C (latex_options_): New field.
15177 * LaTeXFeatures.C (getMacros): Add language macros.
15179 * buffer.C (makeLaTeXFile): Small fix.
15181 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15183 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15185 * text2.C: add a using directive.
15187 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
15192 * lyxfunc.C: kill LyXBell.
15194 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
15196 * text.C (IsBoundary): Remove the error message
15198 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15200 * lyxrc.C (setDefaults): Correct initialization value for
15203 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
15205 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15208 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15209 and GotoNextNote().
15211 * src/LyXAction.C: Added reference-next.
15213 * text.C (InsertChar): Use contains instead of strchr.
15215 * lyx_cb.C (MenuInsertLabel): Enable default value code.
15217 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
15219 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15220 alignment commands (when needed).
15222 * text.C (InsertChar): Add ':' to number separator chars.