1 2004-03-31 Angus Leeming <leeming@lyx.org>
3 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
4 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
6 * lyxtextclass.C (load): if the text class couldn't be loaded, then
7 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
9 2004-03-31 Angus Leeming <leeming@lyx.org>
11 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
12 the LFUN_ALL_INSETS_TOGGLE code.
14 2004-03-30 Angus Leeming <leeming@lyx.org>
16 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
17 has died. Fall through to the generic Dialogs::show("document").
19 2004-03-30 Angus Leeming <leeming@lyx.org>
22 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
23 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
25 * lyxfunc.C (getStatus, dispatch): define the actions for these
26 lfuns. Little more than a cut and pste job from ControlDocument.C
28 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
30 2004-03-30 Angus Leeming <leeming@lyx.org>
33 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
34 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
36 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
37 open/closed state of ollapsable insets. Usage:
39 all-inset-toggle <state> <name>, where
40 <state> == "open" || "closed" || "toggle" and
41 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
43 * lyxtext.h, text2.C (toggleInset): removed.
45 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
46 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
47 now passes LFUN_INSET_TOGGLE to the found inset.
49 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
50 is now invoked as "all-insets-toggle toggle branch".
52 2004-03-30 Angus Leeming <leeming@lyx.org>
56 * pariterator.[Ch]: added/corrected header blurb.
58 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
60 * dociterator.[Ch]: add an inset_ member
61 (backwardPos): implemented
62 (backwardPos, forwardPos): use inset_ when the stack is empty.
63 (doc_iterator_begin, doc_iterator_end): implemented
64 * pariterator.[Ch]: adjust, add begin, end
65 * insetiterator.[Ch]: adjust, add begin, end
70 * CutAndPaste.C: adjust
72 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
74 * buffer.C: increment file format to 232.
75 * LaTeXFeatures.C: add bibtopic package.
76 * bufferparams.[Ch]: param \use_bibtopic.
78 * lyxrc.[Ch]: add lyxrc bibtex_command
79 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
81 * buffer.C: increment file format to 231.
83 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
85 * dociterator.C: implement forwardPar
86 * iterators.[Ch]: remove, replaced by
87 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
100 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
102 * CutAndPaste.C (pasteSelection): fix 2 crashes
103 (eraseSelection): fix a crash
104 * paragraph_funcs.C: remove a warning
106 2004-03-28 Angus Leeming <leeming@lyx.org>
109 * LyXAction.C (init): new LFUN_PRINT.
111 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
113 2004-03-27 Angus Leeming <leeming@lyx.org>
116 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
118 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
120 2004-03-27 Angus Leeming <leeming@lyx.org>
122 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
123 insetlist always contains non-null pointers to insets.
125 2004-03-26 Angus Leeming <leeming@lyx.org>
127 * src/BufferView_pimpl.C:
131 * src/output_plaintext.C:
132 * src/outputparams.h:
133 * src/paragraph_funcs.C:
137 * src/frontends/controllers/ControlErrorList.C:
138 * src/frontends/gtk/FileDialogPrivate.C:
139 * src/frontends/gtk/GPainter.C:
140 * src/frontends/gtk/GToolbar.C:
141 * src/frontends/qt2/QRef.C:
142 * src/mathed/math_scriptinset.C: squash compiler warnings.
144 2004-03-26 Angus Leeming <leeming@lyx.org>
146 * ispell.C (LaunchIspell::start):
147 * lyx_cb.C (AutoSaveBuffer::start):
148 invoke run(DontWait) rather than runNonBlocking().
150 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
152 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
154 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
156 * kbsequence.C (print): adjust
158 * kbmap.C (printKeySym): rename and change signature
159 (printKey): use LyXKeySym::print()
161 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
163 * undo.C: add using std::advance to compile for stlport
165 2004-03-24 Angus Leeming <leeming@lyx.org>
167 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
168 it leads to a crash when no buffer is present.
170 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
171 Martin Vermeer <martin.vermeer@hut.fi>
173 * lyxfunc.C (dispatch):
174 * bufferparams.C (readToken): use the new LColor::setColor
176 * LColor.[Ch] (setColor): new version that takes two strings as
177 argument and creates a new color entry if necessary
179 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
181 * buffer.C (makeLaTeXFile): if the main latex file that is
182 processed is usually a subdocument of some master, then pretend
183 for a while that it is actually the master
185 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
187 * buffer.C (getLabelList):
188 (getBibkeyList): use getMasterBuffer()
189 (getMasterBuffer): new method. Returns the main document in the
190 case where one is using included documents.
192 2004-03-25 André Pönitz <poenitz@gmx.net>
196 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
198 * ParagraphList_fwd.h: change ParagraphList to a std::vector
200 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
201 text*.C over here. Rename namespace CutAndPaste to lyx::cap
203 * ParameterStruct.h: merge with ParagraphParameters
205 * lyxtext.h: remove LyXText::parOffset() and getPar()
207 * text3.C: Remove all 'manual' update calls. We do now one per user
208 interaction which is completely sufficient.
212 * BufferView_pimpl.C:
215 * ParagraphParameters.[Ch]:
227 * output_docbook.[Ch]:
229 * output_linuxdoc.[Ch]:
230 * output_plaintext.[Ch]:
232 * paragraph_funcs.[Ch]:
233 * paragraph_pimpl.[Ch]:
241 * frontends/controllers/ControlDocument.C:
242 * frontends/controllers/ControlErrorList.C:
243 * frontends/controllers/ControlSpellchecker.C:
246 * insets/insetbase.h:
247 * insets/insetbibitem.C:
249 * insets/insetbranch.C:
250 * insets/insetcaption.C:
251 * insets/insetcharstyle.C:
252 * insets/insetcharstyle.h:
253 * insets/insetcollapsable.C:
254 * insets/insetcollapsable.h:
256 * insets/insetfloat.C:
257 * insets/insetfoot.C:
258 * insets/insetmarginal.C:
259 * insets/insetnote.C:
260 * insets/insetoptarg.C:
261 * insets/insettabular.C:
262 * insets/insettext.C:
263 * insets/insettext.h:
264 * insets/insetwrap.C:
265 * mathed/math_mboxinset.C:
266 * mathed/math_nestinset.C:
267 * mathed/math_scriptinset.C:
268 * mathed/math_scriptinset.h:
271 2004-03-24 Angus Leeming <leeming@lyx.org>
273 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
274 deal with any child processes that have finished but are waiting to
275 communicate this fact to the rest of LyX.
277 2004-03-24 Angus Leeming <leeming@lyx.org>
279 64-bit compile fixes.
281 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
282 (c-tor): pass lyx::pos_types rather than ints.
284 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
287 * text.C (Delete): compile fix.
288 (getPar): ensure that function declaration is the same as that in
291 2004-03-23 Angus Leeming <leeming@lyx.org>
293 * ispell.C (LaunchIspell):
294 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
295 a boost::shred_ptr rather than a std::auto_ptr.
297 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
299 * lyxfunc.C (getStatus): handle read-only buffers correctly;
300 handle LFUN_FILE_INSERT_*
302 * lyxrc.C (setDefaults, getDescription, output, read):
303 * lyxrc.h: remove ps_command
305 2004-03-22 Angus Leeming <leeming@lyx.org>
307 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
308 Ensure that error_handler is processed once only and that all data
309 is saved before attempting to output any warning messages.
311 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
313 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
315 * tabular.C (TeXRow): crash fix (from Kayvan and André)
317 2004-03-19 André Pönitz <poenitz@gmx.net>
319 * cursor.[Ch] (reset): take main text inset as argument
322 * BufferView_pimpl.C: adjust
324 * paragraph.[Ch]: fix completely broken operator=()
326 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
328 * LColor.C (getFromLyXName): make sure that the color name is used
331 2004-03-17 Angus Leeming <leeming@lyx.org>
334 * LyXAction.C (init): remove LFUN_FORKS_KILL.
336 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
337 dialog and to kill a forked process.
339 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
341 * text2.C (setCursorFromCoordinates): fix font problem
343 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
345 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
346 bogus "rebuild cursor" code
348 2004-03-11 André Pönitz <poenitz@gmx.net>
350 * buffer.[Ch]: use InsetText instead of LyXText as container for
353 * dociterator.[Ch]: drop the BufferView * member which is not needed
354 anymore after the change to buffer.C
360 * BufferView_pimpl.[Ch]:
362 * cursor_slice.[Ch]: adjust
364 * text3.C: fix bug in mathDispatch
366 2004-03-08 André Pönitz <poenitz@gmx.net>
368 * undo.[Ch]: use 'StableDocumentIterator' as base for
371 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
374 * bufferparams.[Ch]: add jurabib support and param.
376 * LaTeX.C: add FIXME/comment.
378 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
380 * buffer.C: increment file format to 230.
382 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
384 * cursor.C (dispatch): avoid infinite loops
386 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
388 * rowpainter.C (paintSelection): fix x coordinates
390 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
392 * text.C (rowBreakPoint): fix breaking before displayed insets
394 2004-03-01 André Pönitz <poenitz@gmx.net>
396 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
398 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
402 * BufferView_pimpl.C:
410 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
416 * BufferView_pimpl.C: rename textwidth -> maxwidth,
417 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
419 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
421 * Bidi.[Ch] (computeTables): const correctness
422 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
423 fill_hfill, fill_label_hfill and x from Row
424 * lyxtext.h: prepareToPrint returns a RowMetrics
425 * rowPainter.C: adjust
426 * text.C (prepareToPrint): use width, not textWidth. adjust
427 (redoParagraphInternal, cursorX): adjust
428 * text2.C (getColumnNearX): adjust
429 (init): put a default value to the top LyXText::width
431 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
433 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
435 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
437 * lyxtext.h: add FontIterator class
439 * text.C (FontIterator, operator*, operator->, operator++): add
440 (rowBreakPoint, setRowWidth): adjust (fixing a
443 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
445 * BufferView_pimpl.C (workAreaDispatch): allow also
446 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
448 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
450 * text.C (rowBreakPoint): fix a bug showing with very large insets
452 2004-02-25 André Pönitz <poenitz@gmx.net>
455 * cursor.[Ch]: move some mathed specific code to mathed
457 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
459 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
460 use_tempdir in preferences
461 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
463 * lyx_main.C: ensure that tempdir is valid
464 * lyxlex.h: correct typo
465 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
466 * paragraph.[Ch] (isMultiLingual): make const
467 * cursor.[Ch] (openable): make const
469 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
471 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
473 2004-02-20 André Pönitz <poenitz@gmx.net>
475 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
477 * cursor.[Ch]: prepare for localized getStatus()
483 * text3.C: streamlines the LyXText cursor movement handlers a bit.
485 2004-02-20 André Pönitz <poenitz@gmx.net>
487 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
489 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
491 * text2.C (setCursorFromCoordinates): switch to absolute coords
494 * text3.C (dispatch): adjust
496 2004-02-16 André Pönitz <poenitz@gmx.net>
498 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
501 * cursor_slice.[Ch]: remove unneeded acessor function
503 * lyxtext.h: rename rtl() to isRTL()
511 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
513 * rowpainter.C (paintSelection): coord fix
515 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
517 * Spacing.C: compile fix
519 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
521 * cursor.C (dispatch): restore current_ before returning
523 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
525 * text2.C (cursorUp, cursorDown): fix coords
528 2004-02-12 André Pönitz <poenitz@gmx.net>
533 * text3.C: add LCursor & parameter to most cursor movement functions
534 remove usage of LyXText::cursorRow() and cursorPar()
536 * cursor.[Ch]: add textRow() needed members
539 * BufferView_pimpl.C:
542 * BufferView_pimpl.C: adjust
544 2004-02-11 André Pönitz <poenitz@gmx.net>
548 * BufferView_pimpl.C: shift undo/redo handling
550 * cursor.[Ch]: fix mathed crash
553 * lyxtext.h: move selectionAsText to LCursor
561 * rowpainter.C: fix excessive drawing
563 2004-02-06 André Pönitz <poenitz@gmx.net>
566 * BufferView_pimpl.[Ch]:
567 * text3.C: move some text specific LFUN handling
569 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
571 * text3.C (checkInsetHit): adjust coords
572 * text2.C (getColumnNearX): adjust coords
573 (edit): adjust coords
574 * text.C (getRowNearY): add two asserts
576 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
579 * format.C: add using std::distance to compile on gcc 2.95/stlport
581 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
583 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
585 2004-02-04 André Pönitz <poenitz@gmx.net>
587 * BufferView.[Ch] (insertInset):
588 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
593 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
595 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
596 on the default clause of the switch
597 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
598 wasn't catched by LCursor::dispatch
600 2004-02-03 André Pönitz <poenitz@gmx.net>
603 * cursor.[Ch]: some additional asserts
605 * undo.[Ch]: remove LyXText dependency in interface
609 * lyxtext.h (firstPar, lastPar): remove dead functions
614 * paragraph.[Ch]: adjust
616 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
618 * lyxfind.C (find): fix argument order in call to ::find
620 2004-02-02 André Pönitz <poenitz@gmx.net>
622 * cursor.[Ch]: remove direct access to anchor
624 * text.C: remove findText() hack
626 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
628 * iterators.[Ch] (lockPath): remove in favour of...
629 * BufferView.[Ch] (setCursor): this addition
630 * BufferView.C (putSelectionAt): adjust
631 * undo.C (performUndoOrRedo): adjust
632 * lyxfunc.C (dispatch): adjust
634 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
636 * iterators.C (lockPath): add a missing slice
637 * undo.C (performUndoOrRedo): remove redundant positioning code
639 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
641 * vc-backend.C (scanMaster): ";" -> ';'
643 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
645 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
648 * lyxtextclass.C (compare_name): rename to...
649 (LayoutNamesEqual): ...this
651 * lyxlex_pimpl.C (compare_tags): inherit from
652 std::binary_function, put back into anon namespace
654 * lyxfind.C (MatchString): inherig from std::binary_function
655 (findChange): use empty() istead of !size()
657 * format.C (FormatNamesEqual): new functor
664 * converter.C (compare_Converter): rename to...
665 (ConverterEqual): ...this, and fixup a bit.
666 (getConverter): use it, and make function const
667 (getNumber): use it, and make function const
671 * bufferlist.C: add using boost::bind
673 * MenuBackend.C (MenuNamesEqual): new functor
674 (hasMenu): use it, and make function const
675 (hasSubmenu): use nested bind to get rid of compare_memfun.
677 2004-01-30 André Pönitz <poenitz@gmx.net>
679 * BufferView_pimpl.C:
690 * text3.C: move some of the edit(x,y) handling to the insets
691 some coordinate changes.
693 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
695 * text.C: add using statements for std::advance and std::distance
697 * paragraph.C: add using statement for std::distance
699 * lyxfind.C: add using statement for std::advance
701 * cursor.C (region): remove std:: from swap
702 (openable): use nucleus in stead of operator->
704 * BufferView.C: add using statements for std::distance and std::swap
706 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
708 * iterators.C: Remove the pimple, move the needed structures to
709 the header file. Create accessor for the positions stack.
710 (asPosIterator): remove function
712 * PosIterator.C (PosIterator): move constructors to top of file
713 (PosIterator): reimplement the constructor taking a ParIterator in
715 (setFrom): new function
716 (operator!=): inline it
718 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
720 * lyxfind.C (replaceAll): use std::advance
722 * iterators.h: inherit from std::iterator.
724 * PosIterator.C (advance, distance): remove
725 * PosIterator.h: interit from std::iterator.
727 2004-01-26 André Pönitz <poenitz@gmx.net>
730 * BufferView_pimpl.[Ch]:
734 * bufferview_funcs.C:
745 * output_plaintext.C:
747 * paragraph_funcs.[Ch]:
748 * paragraph_pimpl.[Ch]:
754 * text3.C: more IU: dumps most of the rest of the mathcursor
755 implementation into cursor.[Ch]; "globalize" a bit of it.
757 2004-01-25 Angus Leeming <leeming@lyx.org>
759 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
761 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
763 * LaTeXFeatures.h: add nice_ and nice() const
764 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
766 2004-01-20 André Pönitz <poenitz@gmx.net>
769 * BufferView_pimpl.C:
771 * bufferview_funcs.C:
784 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
785 LCursor and mathcursor parts to LCursor and InsetBase.
787 2004-01-15 André Pönitz <poenitz@gmx.net>
789 * cursor_slice.[Ch]: add a few covienience functions
791 * funcrequest.[Ch]: remove BufferView * member
793 * BufferView_pimpl.C:
800 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
802 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
804 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
805 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
807 2004-01-13 André Pönitz <poenitz@gmx.net>
810 * lyxtext.h: hide cursor and selection anchor behind accessor function
813 * BufferView_pimpl.[Ch]:
815 * bufferview_funcs.C:
825 * cursor_slice.[Ch]: some integer type changes for inset unification
827 * lyxcursor.[hC]: remove, it's CursorSlice now.
830 * BufferView_pimpl.[Ch]:
831 * bufferview_funcs.C:
837 * textcursor.[Ch]: adjust
839 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
841 * text2.C (undoSpan): add and use
842 * text.C (breakParagraph): use undoSpan (fix bug 578)
845 2004-01-08 Angus Leeming <leeming@lyx.org>
847 * BufferView_pimpl.C (MenuInsertLyXFile):
848 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
849 * lyxfunc.C (menuNew, open, doImport):
850 FileFilterList change to the FileDialog open and save functions.
852 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
854 * ShareContainer.h: make isEqual and isUnique adaptable
856 * CutAndPaste.C: make resetOwnerAndChanges adaptable
858 2004-01-07 Angus Leeming <leeming@lyx.org>
861 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
863 * BufferView_pimpl.C (dispatch): act on these LFUNs.
865 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
866 functions replacing find, replace and replaceAll.
868 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
869 LFUN_WORDFIND(FORWARD|BACKWARD).
871 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
873 * text.C (breakParagraph): remove an outdated #warning
875 2004-01-07 André Pönitz <poenitz@gmx.net>
877 * lyxfind.C: somewhat clearer logic
879 * text.C: prevent crash in cursorX on unitialized row cache
881 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
883 * lyxcursor.[Ch] (operator>): add
884 * textcursor.C (selStart, selEnd): use std::min and std::max
886 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
888 * Chktex.C: include boost/format.hpp
890 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
892 * InsetList.C: replace functor MathcIt with adaptable functor
894 (insetIterator): modify accordingly
896 * BranchList.h: move the BranchNamesEqual functor here from...
897 * BranchList.C: ... to here
899 * BranchList.C: new BranchListEqual fuctor, use it. Remove
901 (add): replace a finding loop with std::find_if.
903 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
905 * output_docbook.C: moving LatexParam functionality into
908 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
910 * buffer.C: increment format to 229.
912 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
915 * lyx_sty.[Ch]: remove minipageindent_def
921 * text3.C: remove LFUN_INSET_MINIPAGE
923 2003-12-28 Angus Leeming <leeming@lyx.org>
925 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
927 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
929 * text2.C (setParagraph): fix off-by-one crash
931 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
933 * output_docbook.C: header stuff for AGU
935 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
937 * text2.C (redoCursor): remove
940 * BufferView_pimpl.C: remove calls to redoCursor and
941 setCursor(cursor.par(), cursor.pos()) all around
943 2003-12-15 Angus Leeming <leeming@lyx.org>
945 * buffer.C: up the format to 228.
947 2003-12-15 André Pönitz <poenitz@gmx.net>
949 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
954 * BufferView_pimpl.C:
963 2003-12-15 Angus Leeming <leeming@lyx.org>
965 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
966 than getFromGUIName to manipulate the color.
968 2003-12-14 Angus Leeming <leeming@lyx.org>
970 * BranchList.[Ch]: minimize the API.
971 (Branch::getBranch, getColor): now return a 'const &'.
972 (Branch::setSelected) now returns a bool set to true if the
973 selection status changes.
974 (BranchList::clear, size, getColor, setColor, setSelected,
975 allBranches, allSelected, separator): removed.
976 (BranchList::find): new functions, returning the Branch with
978 (BranchList::add, remove): return a bool indicating that
979 the operation was successful.
981 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
982 new InsetBranch::isBranchSlected member function.
984 * LColor.[Ch]: mimimize the API.
985 (fill): renamed as addColor and made private.
986 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
987 versions of these functions taking a string arg have been removed.
989 * bufferparams.C (readToken):
990 * lyxfunc.C (dispatch):
991 * lyxrc.C (read): changes due to the altered BranchList and
994 * factory.C (createInset, readInset): changes due to altered
997 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1000 * lyxfunc.C: remove insetminipage. "minipage-insert"
1001 now produces a frameless minipage box inset.
1003 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1005 * textcursor.[Ch] (selStart,selEnd): add new methods
1006 remove selection::start, end, use LyXCursor::operator<
1007 * lyxcursor.[Ch] (operator<): add
1008 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1009 * BufferView.[Ch] (unsetXSel): add
1010 * text2.C (clearSelection): use unsetXSel,adjust
1013 * rowpainter.C: adjust
1014 * bufferview_funcs.C (put_selection_at): adjust
1016 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1018 * BufferView_pimpl.C: small coord. correction
1020 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1022 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1023 dragging over the splash screen.
1025 2003-12-11 Angus Leeming <leeming@lyx.org>
1027 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1028 as it is now handled in LyXText::dispatch.
1030 * text3.C (doInsertInset): remove a level of nesting.
1032 2003-12-11 Angus Leeming <leeming@lyx.org>
1034 * factory.C (createInset): changes due to the changed interface to
1035 InsetCommandMailer::string2params.
1037 2003-12-10 Angus Leeming <leeming@lyx.org>
1039 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1040 'dialog-show-new-inset <inset name>'
1042 2003-12-10 Angus Leeming <leeming@lyx.org>
1044 * buffer.C: up the format to 227.
1046 * factory.C: the box inset is now identified simply by 'Box'.
1048 2003-12-10 Angus Leeming <leeming@lyx.org>
1050 * buffer.C: up the format to 226.
1052 * factory.C: the note inset is now identified simply by 'Note'.
1054 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
1056 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1057 when a pit is enough. Standarize a couple of loops.
1059 2003-12-05 Angus Leeming <leeming@lyx.org>
1061 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1062 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1063 data to the re-worked "log" dialog.
1065 2003-12-03 André Pönitz <poenitz@gmx.net>
1071 * paragraph_funcs.C:
1073 * text2.C: use Inset::getText instead of Inset::getParagraph
1075 2003-12-03 André Pönitz <poenitz@gmx.net>
1079 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1080 InsetText::read() as LyXText::read()
1082 2003-12-02 Angus Leeming <leeming@lyx.org>
1084 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1085 type. Add a comment in the implementation that the function uses
1086 the stream's bad() function rather than fail() as the std::streams
1089 2003-12-02 André Pönitz <poenitz@gmx.net>
1091 * lyxlex.[Ch]: make interface more similar to std::stream
1093 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1095 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1097 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1099 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1101 * vspace.[Ch]: remove VSpace::NONE
1103 2003-12-01 André Pönitz <poenitz@gmx.net>
1106 * lyxtext.h: move ParagraphList member to LyXText
1107 rename LyXText::ownerParagraphs to LyXText::paragraph
1110 * bufferview_funcs.C:
1120 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1122 * undo.C: fix cursor positioning
1124 2003-12-01 John Levon <levon@movementarian.org>
1126 * BufferView_pimpl.C: fix a crash on exit with
1129 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
1131 * BranchList.C: fix setSelected() method.
1133 2003-11-28 André Pönitz <poenitz@gmx.net>
1135 * ParagraphParameters.[Ch]:
1136 * ParameterStruct.h: remove space above/below from Paragraph to
1139 * BufferView_pimpl.C:
1145 * paragraph_funcs.C:
1151 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1153 * factory.C: Syntax change for CharStyles
1155 2003-11-28 André Pönitz <poenitz@gmx.net>
1160 * buffer.[Ch]: move LyXText member
1162 2003-11-28 André Pönitz <poenitz@gmx.net>
1164 * BufferView.[Ch]: make LyXText * text a private member
1166 * BufferView_pimpl.C:
1177 * output_plaintext.C: cleanup
1179 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1182 * lyxtextclass.[Ch]: parametrize SGML document header
1184 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1187 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1190 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1192 * text2.C (setFont): rework using PosIterator (no more recursive)
1193 (setCharFont): no more needed
1194 (setLayout): no more selection cursors fiddling (done by redoCursor)
1195 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1196 destroy remaining ones)
1198 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
1200 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1202 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1205 * text3.C: adjust + re-allow multi par depth changes
1206 * textcursor.C: simplify a bit
1208 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
1214 * src/output_docbook.C:
1215 * src/output_latex.C:
1220 * src/text2.C: Introducing a number of tags parametrizing various
1221 XML formats that we may want to support
1223 2003-11-25 André Pönitz <poenitz@gmx.net>
1225 * InsetList.[Ch] (begein, end): inline as suggested by profiler
1227 * lyxtext.h (leftMargin/rightMargin): simplify interface
1234 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1236 * lyxfunc.C (dispatch): propogate the bibtex databases from the
1237 master file to any child files. Fixes bug 546.
1239 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1241 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1243 2003-11-24 André Pönitz <poenitz@gmx.net>
1245 * rowpainter.C: simplification
1247 * text2.C (updateCounters): remove call to redoParagraph on
1248 changed labels as this is far too expensive.
1250 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1252 * converter.C (convert): fix a crash: this function gets
1253 called with buffer == 0 from importer code.
1255 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1257 * text3.C (cursorPrevious): make sure that we do not compare
1258 iterators form different containers.
1261 * rowpainter.C (paintSelection): make sure that we do not compare
1262 iterators from different containers.
1264 * text3.C (dispatch): [PRIOR] make sure that we do not compare
1265 iterators from different ParagraphList containers.
1268 * text2.C (LyXText): change order of initialization slightly
1269 (operator=): new function. copy all variables except cache_par_
1270 (moveUp): make sure that we do not compare iterators from
1271 different ParagraphList constainers.
1274 * text.C (firstPar): new function
1275 (lastPar): new function
1276 (endPar): new function
1278 * lyxtext.h: move things around and group public functions, public
1279 variables, private functions, private variables
1281 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1283 * factory.C: change call to InsetERT constructor to avoid
1284 additional invocation of method status
1285 * text2.C (toggleInset): remove redundant update() call
1286 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1287 instead of a Bufferview pointer
1289 2003-11-21 André Pönitz <poenitz@gmx.net>
1291 * rowpainter.C: simplification
1293 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1295 * text3.C (dispatch): make possible to extend a word/row selection
1298 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1300 * lyxtext.h: x0_,y0_ -> xo_,yo_
1301 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1302 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1303 * rowpainter.C (paintRows): paint full paragraphs
1305 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1307 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1310 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1312 * lyxtext.h: add x0_, y0_
1313 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1314 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1316 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
1318 * text2.C (setCursorIntern): move the x_target update here *
1319 * text3.C: change some bv() to true/false in calls to
1320 cursorUp/Down/Right/Left
1321 * cursor.C: use helper function.
1323 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1325 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1326 * paragraph_funcs.[Ch]: correct comment
1327 * rowpainter.C: do not paint selections away from bv->cursor()
1328 Fix a long standing selection painting bug.
1329 * text3.C: generalize mouse-selection code to LyXTexts other that
1331 * textcursor.C: do not use y coords if we can use par offsets
1333 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1335 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1336 cursor position after e.g. inset insert)
1338 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
1340 * lyxfind.C (replace): adjust to locking removal + some
1343 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
1345 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1348 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
1351 * output_docbook.C: XML sanitation: new layout
1352 parameters InnerTag and CommandDepth
1354 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
1356 * BufferView_pimpl.C:
1358 * text3.C: Fix the insertion and modification of button-style
1361 2003-11-13 André Pönitz <poenitz@gmx.net>
1363 * InsetList.[Ch]: remove deleteLyXText
1365 * paragraph.[Ch]: cache beginOfBody position
1370 * text3.C: remove superfluous update() calls
1374 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1376 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1377 * BufferView.C (fitLockedInsetCursor): remove
1378 * cursor.[Ch] (getDim): add
1379 * text.C (getRowNearY): add faster version
1380 * text3.C: remove some update calls
1382 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1394 * text3.C: The Character Style /XML short element patch.
1396 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
1399 * factory.C: Small step to solving 'unable to insert some insets'
1402 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1404 * cursor.[Ch] (updatePos): new function for updating the y
1405 position of the tip inset
1406 * bufferview_funcs.C (put_selection_at):
1407 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1409 2003-11-11 André Pönitz <poenitz@gmx.net>
1411 * text.C: remove big comment on invalid Paragraph pointers as it is
1414 2003-11-11 André Pönitz <poenitz@gmx.net>
1416 * text_funcs.[Ch]: merge with ...
1424 * Makefile.am: remove text_funcs.[Ch]
1426 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1428 * cursor.C (getPos): return absolute cached y coord
1430 * BufferView_pimpl.C (fitCursor): new simplistic code
1431 (workAreaDispatch): add a fitCursor call
1433 2003-11-10 André Pönitz <poenitz@gmx.net>
1436 * BufferView_pimpl.[Ch]: merge update() and updateInset()
1438 2003-11-10 André Pönitz <poenitz@gmx.net>
1440 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1441 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1442 indicate that the cursor needs to leave an inset
1444 * lyxtext.h: remove inset locking
1446 * cursor.[Ch]: re-implement functionality provided by inset locking
1449 * BufferView_pimpl.[Ch]:
1451 * bufferview_funcs.[Ch]:
1463 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1465 * PosIterator.[Ch]: replace the stack with a vector, add inset
1467 * iterators.[C]: adjust
1469 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1471 * lyxfind.C (replaceAll): mark the buffer dirty if something was
1473 * paragraph_funcs.C (readParToken): put the correct id in the
1474 error item, not the id of the top paragraph
1476 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1478 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1479 * bufferview_funcs.C (put_selection_at): use the above
1481 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1483 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1485 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1487 * output_linuxdoc.h:
1488 * output_plaintext.h:
1490 * output_docbook.h: add #include statements
1492 2003-11-05 José Matos <jamatos@lyx.org>
1494 * output_docbook.[Ch]:
1495 * output_latex.[Ch]:
1496 * output_linuxdoc.[Ch]:
1497 * output_plaintext.[Ch]: New files for output formats.
1498 * output.[Ch]: New file for helper functions.
1501 * paragraph_funcs.[Ch]: output functions moved to new files.
1503 * outputparams.h: rename of latexrunparams.h
1511 * paragraph_funcs.[Ch]:
1512 * paragraph_pimpl.[Ch]:
1513 * tabular.[Ch]: rename ascii to plaintext
1514 and LatexRunParams to OutputParams.
1516 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1518 * iterators.[Ch] (text): require bv argument
1519 * undo.C (recordUndo):
1520 * lyxfunc.C (dispatch):
1521 * bufferview_funcs.C (put_selection_at): adjust
1523 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
1525 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1527 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1529 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1532 2003-11-04 André Pönitz <poenitz@gmx.net>
1534 * cursor.[Ch]: restructure
1537 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1539 * iterators.[Ch] (asCursor): remove
1541 * lfuns.h: remove LFUN_INSET_EDIT
1547 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1549 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1551 * lyxfind.[Ch]: complete overhaul
1552 * BufferView_pimpl.C:
1554 * paragraph.[Ch] (insert): add
1556 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1560 * text.C: remove dead spellcheck code
1562 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1564 * dispatchresult.h: add a val setter
1566 * cursor.C (dispatch): use a tempvar for data_[i]
1568 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1570 * PosIterator.[Ch]: compile fix
1572 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1574 * text.C (cursorPar): deactivate the cursor cache
1576 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1578 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1580 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1582 * text3.C (dispatch): adjust for new DisptchResult semantics.
1584 * lyxfunc.C (dispatch): handle update when return from
1585 Cursor::dispatch, adjust for new DispatchResult semantics.
1587 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1588 DispatchResult(true) mean to not update. Add class functions for
1589 setting dispatched and update, as well as reading.
1591 * cursor.C (dispatch): don't handle update here
1593 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1595 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1596 * trans_mgr.C: adjust
1598 * paragraph_funcs.C (readParToken): exception safety
1600 * lyxvc.h: store the vcs pointer in a scoped_ptr
1603 * lyxsocket.C (serverCallback): exception safety
1605 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1607 * ispell.C (clone): make it return a auto_ptr
1609 * factory.C (createInset): exception safety
1610 (readInset): exception safety
1612 * bufferlist.C (newBuffer): exception safety
1614 * Thesaurus.C (Thesaurus): use initialization for aik_
1616 * MenuBackend.C (expandToc): exception safety.
1618 2003-11-03 André Pönitz <poenitz@gmx.net>
1622 * bufferview_funcs.C: remove getInsetFromId()
1625 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1631 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1633 * PosIterator.C (distance, advance): new
1634 * bufferview_funcs.[Ch] (put_selection_at): new
1635 * iterators.[Ch] (lockPath): new
1637 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
1639 * iterators.[Ch] (asPosIterator): added
1640 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1641 * PosIterator.[Ch]: added
1643 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1647 * cursor.C (dispatch):
1648 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1650 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1651 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1652 contructor, add a class function dispatched. Remove operator>=
1654 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1656 * debug.C: only use the default constructor for debugstream
1659 * main.C (main): include debug.h and setup the lyxerr streambuf
1662 2003-10-31 José Matos <jamatos@lyx.org>
1664 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1666 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1667 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1668 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1669 * paragraph_pimpl.C (simpleTeXSpecialC):
1670 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1671 add LatexRunParams argument.
1673 * exporter.C (Export): change call accordingly.
1675 * latexrunparams.h: add new member to take care of the other backends.
1676 2003-10-30 José Matos <jamatos@lyx.org>
1678 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1679 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1680 factorise code for paragraph output.
1682 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1685 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1687 * text3.C (dispatch):
1688 * lyxfunc.C (dispatch):
1689 * cursor.C (dispatch):
1690 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1692 * dispatchresult.h: make the dispatch_result_t ctor explicit
1694 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1697 * buffer.C: small refactoring of docbook stuff
1699 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1701 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1704 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1706 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1707 operator dispatch_result_t, and operators for == != and >=
1709 * cursor.C (dispatch): adjust for operator dispatch_result_t
1710 removal. comment out call to update
1712 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1714 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1722 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1725 * dispatchresult.h: new file, DispatchResult broken out of
1728 * Makefile.am (lyx_SOURCES): add dispatchresult.h
1730 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1732 * text.C (rowBreakPoint): put a hack inside #if 0
1734 2003-10-28 André Pönitz <poenitz@gmx.net>
1738 * paragraph_funcs.C:
1741 * text2.C: general cleanup (lots of small stuff)
1743 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1745 * text2.C (cursorEnd): simple fix to the "end key goes to one
1746 before the end on last row" bug
1748 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1750 * text.C (backspace): fix the "zombie characters"
1752 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1754 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1756 2003-10-27 André Pönitz <poenitz@gmx.net>
1758 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1760 * factory.C: handle new InsetPagebreak, InsetLine
1762 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1763 and move handling into new InsetPagebreak, InsetLine
1765 * BufferView_pimpl.C:
1767 * ParagraphParameters.C:
1768 * ParameterStruct.h:
1773 * paragraph_funcs.C:
1774 * paragraph_pimpl.C:
1780 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1783 * lyxrow_funcs.[Ch]:
1789 * text3.C: remove lastPos uses in favour of Row::endpos
1791 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1793 * undo.C (performUndoOrRedo): fix two crashes by setting a
1794 cursor by hand and reordering some calls. Use bv->lockInset instead
1795 of inset->edit because the latter loses cursor information
1797 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
1799 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1801 (rowBreakPoint): fix width. change point to point + 1.
1802 Add a missing check.
1804 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
1807 * lyxfunc.C: fix (at least partly) the problems
1808 with the Nav menu and headers inside branch insets
1811 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
1813 * paragraph.C (getChar): add strong asserts
1815 * lyxrow_funcs.C (lastPos): remove hideous hack
1817 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1818 (fill): adjust to that (avoid an infinite loop)
1820 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1822 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1824 2003-10-23 André Pönitz <poenitz@gmx.net>
1826 * RowList_fwd.h: change list<> to vector<> to gain speed
1827 after suggestion from Alfredo
1829 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1831 * lyxtext.h: move the bidi stuff from here...
1834 * Bidi.[Ch]: ... to here
1836 2003-10-23 André Pönitz <poenitz@gmx.net>
1839 * text.C (isLastRow, isFirstRow): new functions
1841 * paragraph.h: new width cache member
1843 * rowpainter.C: replace RowList::iterator with Row & where possible
1845 * lyxfunc.C: replace several view()->text with a single call
1847 * toc.C: fix 'unused' warning
1849 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1851 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1852 when woring with stream::pos_type
1853 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1855 2003-10-22 André Pönitz <poenitz@gmx.net>
1858 * text.C: use Row & instead of RowList::iterator
1860 * lyxrow.h: rename end() to endpos()
1866 2003-10-22 Angus Leeming <leeming@lyx.org>
1868 * buffer.[Ch] (fully_loaded): new member function, returning true
1869 only when the file has been loaded fully.
1870 Used to prevent the premature generation of previews and by the
1871 citation inset to prevent computation of the natbib-style label.
1873 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1874 templates are all set up.
1876 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1878 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
1880 * text.C: fixed an "oops" in the "is a bit silly"
1883 2003-10-21 André Pönitz <poenitz@gmx.net>
1885 * FuncStatus.[Ch]: small stuff, whitespace
1887 * lyxfont.[Ch]: operator<<() for debug reasons
1891 * lyxtext.h: whitespace, spelling
1893 * paragraph.C: naming of variables
1896 * text2.C: small stuff
1899 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1901 * text.C: (1) finish off the inset display() work;
1902 (2) fix the "is a bit silly" bug (accessing char
1905 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1907 * text.C: re-introduce display() for insets, fixing the
1908 various bugs (stretch of line above, math inset
1911 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1913 * text.C (rightMargin): remove spurious semicolon
1915 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1918 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
1920 * text3.C: fix one crash due to wrong cursor def
1922 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1924 * vc-backend.C (scanMaster): make the regex static
1926 * LaTeX.C (scanAuxFile): make the regexs static
1928 * text3.C (doInsertInset, dispatch, dispatch):
1929 * text2.C (cursorUp, cursorDown):
1930 * text.C (selectNextWordToSpellcheck):
1931 * BufferView_pimpl.C (dispatch):
1932 * lyxfunc.C (dispatch): localDispatch -> dispatch
1934 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1936 * lyxsocket.C: include <cerrno>
1938 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1940 * lyxfunc.C (dispatch): remove textcache stuff
1942 * bufferlist.C (release): remove textcache stuff
1945 * TextCache.C: delete file
1946 * TextCache.h: delete file
1948 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1950 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1951 delete of the bv_->text.
1952 (resizeCurrentBuffer): remove texcache stuff
1953 (workAreaResize): ditto
1955 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1957 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1960 2003-10-16 André Pönitz <poenitz@gmx.net>
1967 * text3.C: speed up by storing y positions per paragraph plus per-row
1968 offset instead of having a 'full' y position in the row.
1970 2003-10-15 André Pönitz <poenitz@gmx.net>
1974 * undo.[Ch]: make undo aware of inner insets
1976 2003-10-14 Angus Leeming <leeming@lyx.org>
1978 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1979 static member functions LyX::ref() and LyX::cref.
1980 (lastfiles): new accessor functions for the new lastfiles_ member var.
1981 (addLyXView, views_): add a new LyXView to the list of views_.
1982 (updateInset): loop over all LyXViews to call their own updateInset
1983 member function, returning a pointer to the Buffer owning the inset.
1985 * BufferView_pimpl.C (loadLyXFile):
1986 * MenuBackend.C (expandLastfiles):
1987 * bufferlist.C (MenuWrite, QuitLyX):
1988 lastfiles is no longer a global variable.
1989 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1991 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1992 static function. Access through LyX::cref().emergencyCleanup().
1994 2003-10-14 André Pönitz <poenitz@gmx.net>
1996 * iterators.[Ch]: new direct access to innermost LyXText and Inset
1998 * undo.[Ch]: restoring part of 'undo in insets'
2001 * undo_funcs.[Ch]: merge with undo.[Ch]
2003 * tabular.C: small cleansing stuff
2005 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
2007 * paragraph_funcs.C (readParToken): report unknown insets as error
2008 boxes. Use the outer paragraph as location (also for unknown
2011 * factory.C (readInset): do not abort on reading an unknown inset.
2012 Eat it and return 0.
2014 2003-10-13 Angus Leeming <leeming@lyx.org>
2016 * lyx_main.C (LyX): remove call to setDisplayTranslator().
2018 * lyxrc.C: displayTranslator is now a function,
2019 declared in GraphicsTypes.h.
2021 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2023 * format.C: new placeholder $$a to pass the socket address.
2025 * bufferlist.[Ch]: new function getBufferFromTmp.
2027 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2028 files in the temporary dir.
2030 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2032 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2034 * Makefile.am: add lyxsocket.[Ch].
2036 * lyx_main.C (error_handler): handle SIGPIPE.
2038 2003-10-13 André Pönitz <poenitz@gmx.net>
2040 * BufferView_pimpl.C:
2045 * undo_funcs.[Ch]: use paroffset_type instead of
2046 ParagraphList::iterators to prevent multiple conversion
2047 (and get a more robust interface)
2049 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2051 * lyxfunc.C (dispatch): RESULT -> dispatch_result
2053 * text3.C (dispatch): ditto
2055 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2057 * LaTeX.C (handleFoundFile): move the static to smaller scope,
2058 move the onlyfile, use onlyfile instead of foundfile in a couple
2061 * DepTable.C (update): flush the error stream a bit more
2063 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2065 * lyxserver.C (callback): adjust
2067 * lyxfunc.C (getStatus): add a missing brace in commented code
2068 (ensureBufferClean): reindent
2069 (dispatch): delete version taking a string
2071 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2073 * LaTeX.C (deplog): move found file handlig from here...
2074 (handleFoundFile): .. to new function here.
2075 (deplog): make sure to discover several files mentioned on the
2078 2003-10-10 André Pönitz <poenitz@gmx.net>
2085 * text3.C: fix some of the tabular crashes
2087 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2089 * MenuBackend.C (binding): put debug message into Debug::KBMAP
2091 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2093 2003-10-09 André Pönitz <poenitz@gmx.net>
2095 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2098 * BufferView_pimpl.C:
2099 * bufferview_funcs.C:
2110 * undo_funcs.C: adjust
2112 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2114 * text2.C (incrementItemDepth): new function, use a backtracking
2115 algorithm to discover the correct item depth.
2116 (resetEnumCounterIfNeeded): new function, use a backtracking
2117 algorithm to discover if counter reset is needed.
2118 (setCounter): use them. Simplify a bit. Add different labels for
2119 different item depths for itemize.
2121 * paragraph.C (Paragraph): remove initialization of enumdepth
2124 * paragraph.h: get rid of enumdepth, and use itemdepth both for
2125 enumerate and itemize. Change the type of itemdepth to signed char.
2127 2003-10-08 André Pönitz <poenitz@gmx.net>
2129 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2134 * tabular.[Ch]: fix crash after 'row-insert'
2136 2003-10-08 Angus Leeming <leeming@lyx.org>
2138 Fix doxygen warnings.
2140 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2141 Remove CutAndPaste:: prefix from header file declaration.
2143 * LColor.h (fill): remove LColor:: prefix from declaration.
2145 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2146 use lyx::depth_type rather than Paragraph::depth_type so that
2147 header file and .C file match.
2149 * converter.h (intToFormat): remove Converters:: prefix from declaration.
2151 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2152 * aspell.C: \file aspell_local.C -> \file aspell.C
2153 * gettext.C: \file gettext.C -> \file src/gettext.C
2154 * gettext.h: \file gettext.h -> \file src/gettext.h
2155 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2156 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2157 * text.C: \file text.C -> \file src/text.C
2159 * toc.C: move comment so that doxygen is not confused.
2161 2003-10-07 Angus Leeming <leeming@lyx.org>
2163 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2165 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2168 * aspell_local.h: add forgotten std::string's.
2170 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2177 * text3.C: The Box patch. Fancybox support, minipage, parbox
2179 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2185 * ParagraphParameters.h:
2195 * lyxtextclasslist.h:
2198 * paragraph_pimpl.C:
2199 * textcursor.h: add <string> and other small fixes to make Lars'
2200 std::string patch compile with STLport.
2202 2003-10-06 Angus Leeming <leeming@lyx.org>
2204 * LColor.h: Add missing #include <string>.
2206 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2208 * All most all file in all subdirs: Make <string> be the prefered
2209 way of getting to std::string, add using declarations.
2211 2003-10-06 André Pönitz <poenitz@gmx.net>
2213 * metricsinfo.C: initialize LyXFont before changing attribute.
2214 (fixes the 'math in \emph is upright' bug)
2216 2003-10-06 André Pönitz <poenitz@gmx.net>
2218 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2220 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
2223 * paragraph_pimpl.C: Small fixes to build using STLport
2225 2003-10-02 André Pönitz <poenitz@gmx.net>
2228 * text3.C: move handling of LFUN_DEPTH *; fix #1360
2230 2003-10-01 André Pönitz <poenitz@gmx.net>
2232 * factory.C: assert early
2234 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2236 * lyx_main.C: remove the global debug object
2238 * debug.h: adjust for new debugstream
2240 * debug.C: adjust for new debugstream and keep the global debug
2243 2003-09-22 Angus Leeming <leeming@lyx.org>
2245 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2246 of g++ which otherwise complain that the scoped_ptr destructor can't delete
2247 an incomplete class LyXFont.
2249 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2251 * factory.C: bug fix in branches
2253 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2255 * lyxfunc.C (processKeySym): adjust
2257 (dispatch): change arg name from ev to func, adjust
2258 (sendDispatchMessage): ditto
2260 * lyx_main.C (defaultKeyBindings): adjust keybindings
2261 (deadKeyBindings): ditto
2263 * kbsequence.C (addkey): return a FuncRequest
2265 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2267 * kbmap.C (bind): take a FuncRequest as arg, adjust
2270 (defkey): change to take a FuncRequest as arg, adjust
2271 (findbinding): take a FuncRequest as arg, adjust.
2273 * funcrequest.h (operator=): added
2275 * funcrequest.C (FuncRequest): default kb_action changed from
2276 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2278 * buffer.C (dispatch): simplify
2279 (dispatch): adjust to take a FuncRequest as arg, adjust
2281 * boost.C (assertion_failed): change assertion message slightly
2283 * ToolbarBackend.C (read): simplify
2285 * MenuBackend.C (binding): adjust call to findbinding, add a
2286 message if no binding is found.
2288 (expandToc): correct by adding a empty FuncRequest
2290 * LyXAction.C: include <boost/assert.hpp>
2291 (isPseudoAction): delete function
2292 (LookupFunc): change name to...
2293 (lookupFunc): this. change return type to FuncRequest.
2294 (getActionName): take kb_action as arg, simplify
2295 (funcHasFlag): add an assert, simplify.
2297 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2299 * toc.C (action): return a FuncRequest, simplify
2301 * lyxfunc.C (processKeySym): adjust
2302 (getStatus): delete version that takes an int.
2304 (dispatch): delete version that takes action as int
2306 (sendDispatchMessage): simplify and adjust
2308 * funcrequest.C (getArg): take unsigned int as arg
2310 * ToolbarBackend.C (read): adjust
2311 (add): delete version that takes func as a string.
2312 (getIton): take a FuncRequest as arg
2314 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2317 * MenuBackend.C (MenuItem): add a new construct that only takes a
2318 Kind, simplify the constructor use for submenus.
2320 (expandLastfiles): adjust
2321 (expandDocuments): adjust
2322 (expandFormats): adjust
2323 (expandFloatListInsert): adjust
2324 (expandFloatInsert): adjust
2325 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2327 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2328 Remove class variables lyx_pseudo_map and lyx_arg_map
2330 * LyXAction.C (searchActionArg): delete function
2331 (getPseudoAction): delete function
2332 (retrieveActionArg): delete function
2333 (LookupFunc): make it return kb_action, simplify.
2334 (getActionName): simplify
2336 * factory.C (createInset): fix new bug
2338 2003-09-19 Angus Leeming <leeming@lyx.org>
2340 * CutAndPaste.C (pasteSelection): remove fudge used to set the
2341 masterFilename_ parameter in the include inset.
2343 * factory.C (createInset): changes due to the changes to InsetInclude.
2345 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2347 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2349 2003-09-18 Angus Leeming <leeming@lyx.org>
2352 * BufferView.C: pass the buffer when calling Inset::getLabelList,
2353 Inset::fillWithBibKeys.
2354 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2356 2003-09-18 Angus Leeming <leeming@lyx.org>
2358 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2360 (ctor): pass and store a 'Buffer const &'
2361 (buffer): new member function.
2363 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2364 '*this' to the LaTeXFeatures ctor.
2366 2003-09-18 Angus Leeming <leeming@lyx.org>
2372 * text.C: rename EnumLColor as LColor_color.
2374 2003-09-18 Angus Leeming <leeming@lyx.org>
2376 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2377 remove #include "insets/insetbase.h" from cursor.h.
2379 2003-09-18 Angus Leeming <leeming@lyx.org>
2381 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2382 InsetOld_code to remove #include "inset.h".
2384 * iterators.C: add #include "insets/inset.h"
2386 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
2388 * BufferView.C: remove more locking stuff that apparently doesn't
2389 do anything sensible.
2391 2003-09-16 André Pönitz <poenitz@gmx.net>
2394 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2397 2003-09-16 Angus Leeming <leeming@lyx.org>
2399 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2401 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2404 * paragraph.h: remove #include "lyxfont.h". Forward declare
2407 2003-09-16 Angus Leeming <leeming@lyx.org>
2409 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2410 of support/textutils.h.
2411 (isWord): move the contents of support/textutils.h's IsWordChar here.
2417 * text2.C: add #include "paragraph.h".
2420 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2422 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2428 * LaTeX.C: use namespace alias for lyx::support::os
2430 2003-09-16 Angus Leeming <leeming@lyx.org>
2433 * bufferview_funcs.C:
2436 * paragraph_pimpl.C:
2438 * text.C: add #include "LColor.h".
2440 2003-09-16 Angus Leeming <leeming@lyx.org>
2442 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2443 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2445 Store the FontBits::color variable as an int rather than as an
2446 LColor::colorso that we can move LColor.h out of the lyxfont.h header
2449 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2450 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2451 string calls together.
2453 * lyxrc.C: add #include "LColor.h".
2455 2003-09-15 Angus Leeming <leeming@lyx.org>
2457 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2460 2003-09-15 Angus Leeming <leeming@lyx.org>
2462 * LColor.h: add an EnumLColor wrapper for LColor::color.
2464 * lyxfont.[Ch] (color, setColor, realColor):
2465 * lyxtext.h, text.C (backgroundColor):
2466 pass EnumLColor args to/from the functions, rather than LColor::color
2470 * lyxtext.h: forward declare EnumLColor.
2472 * lyx_main.C: add #include "LColor.h".
2474 2003-09-15 Angus Leeming <leeming@lyx.org>
2476 * .cvsignore: add lyx-gtk.
2478 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2483 * ParagraphParameters.C
2487 * bufferview_funcs.C
2497 * vc-backend.C: remove usage of STRCONV
2499 2003-09-15 Angus Leeming <leeming@lyx.org>
2501 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2502 explicitly define the color passed to the painter.
2504 2003-09-15 Angus Leeming <leeming@lyx.org>
2506 * bufferparams.C (BufferParams): reorder member initializers to avoid
2509 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
2511 * CutAndPaste.C (pasteSelection): remove an outdated #warning
2512 * text.C (updateRowPositions): remove an unusual nop
2514 2003-09-12 André Pönitz <poenitz@gmx.net>
2516 * BufferView_pimpl.C:
2525 * Counters.[Ch]: finish the 'automatic counters' job
2527 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2529 * aspell.C: include <boost/assert.cpp> (compile fix)
2531 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
2533 * boost.C (assertion_failed): use lyx::support::abort instead of
2536 2003-09-10 Angus Leeming <leeming@lyx.org>
2538 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2539 with their _fwd progeny.
2541 2003-09-09 Angus Leeming <leeming@lyx.org>
2543 134 files throughtout the source tree: replace 'using namespace abc;'
2544 directives with the appropriate 'using abc::xyz;' declarations.
2546 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2548 * boost.C (emergencyCleanup): moved here from LAssert.c
2549 (assertion_failed): new function, called by BOOST_ASSERT
2551 * several files: change Assert to BOOST_ASSERT
2553 2003-09-09 Angus Leeming <leeming@lyx.org>
2555 * buffer.[Ch]: Add an Impl class and move Buffer's member
2556 variables into it. As a result move several header files out of
2559 Add header files to lots of .C files all over the tree as a result.
2561 2003-09-09 Angus Leeming <leeming@lyx.org>
2563 * buffer.[Ch]: make Buffer's member variables private. Add
2566 Lots of changes all over the tree as a result.
2568 2003-09-08 Angus Leeming <leeming@lyx.org>
2570 * graph.C: #include <config.h>.
2572 2003-09-08 Angus Leeming <leeming@lyx.org>
2576 * BufferView_pimpl.C:
2605 * toc.C: remove redundant using directives.
2607 2003-09-07 Angus Leeming <leeming@lyx.org>
2609 * LaTeXFeatures.h: remove #include "support/types.h".
2610 * ToolbarBackend.h: remove #include <algorithm>.
2611 * changes.h: remove #include <ctime>.
2612 * debug.h: remove #include <iosfwd>.
2613 * graph.h: remove #include "support/std_string.h".
2614 * lyx_main.h: remove #include <csignal>.
2615 * lyxlex_pimpl.h: remove #include <fstream>.
2616 * sgml.h: remove #include <algorithm>, <utility>.
2617 * toc.h: remove #include "support/std_ostream.h".
2618 Add #include <iosfwd>.
2620 2003-09-07 Angus Leeming <leeming@lyx.org>
2622 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2624 * converter.h: forward declare LatexRunParams.
2625 * encoding.h: remove #include "lyxrc.h".
2626 * lyxtext.h: remove #include "LColor.h".
2627 * lyxtextclass.h: remove #include "support/types.h".
2628 * trans.h: remove #include "tex-accent.h".
2629 * trans_mgr.h: remove #include "tex-accent.h".
2630 * insets/inset.h: remove #include "support/types.h", <vector>.
2631 * insets/insetcollapsable.h: remove #include "LColor.h".
2632 * insets/insetinclude.h: remove #include "dimension.h".
2633 * insets/insetlatexaccent.h: remove #include "dimension.h".
2634 * insets/insetoptarg.h:: remove #include "insettext.h".
2635 * insets/insettext.h: remove #include "dimension.h",
2636 <boost/shared_ptr.hpp>
2638 * insets/renderers.h: add #include "dimension.h".
2639 * insets/updatableinset.h: add #include "support/types.h".
2641 * many .C files: Associated changes.
2643 2003-09-06 Angus Leeming <leeming@lyx.org>
2645 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2646 one, inside testInvariant.
2648 * PrinterParams.C: new file.
2649 * PrinterParams.[Ch]: move the function bodies out of line.
2651 2003-09-06 Angus Leeming <leeming@lyx.org>
2653 * ParagraphParameters.h: forward declare ParameterStruct rather than
2654 including its header file.
2655 (depth): moved out-of-line.
2657 2003-09-06 Angus Leeming <leeming@lyx.org>
2659 * BufferView_pimpl.h:
2662 * lyxfunc.h: forward declare LyXKeySym rather than
2663 #include "frontends/LyXKeySym.h".
2665 * BufferView_pimpl.C:
2668 * lyxfunc.C: associated changes.
2670 2003-09-06 Angus Leeming <leeming@lyx.org>
2672 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2673 As a result, can remove the #include "insets/inset.h" from BufferView.h
2675 2003-09-06 Angus Leeming <leeming@lyx.org>
2677 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2678 As a result, can remove the #include "insets/inset.h" from BufferView.h
2680 2003-09-06 Angus Leeming <leeming@lyx.org>
2686 * bufferview_funcs.C:
2687 * BufferView_pimpl.C:
2692 * ParagraphParameters.C:
2697 * frontends/controllers/ControlDocument.C:
2698 * insets/insetcaption.C: rearrange the #includes into some sort of
2701 * buffer.h: remove #includes ErrorList.h, undo.h
2703 2003-09-06 Angus Leeming <leeming@lyx.org>
2705 * support/types.h: add a 'depth_type' typedef, used to store the
2706 nesting depth of a paragraph.
2709 * ParameterStruct.h: use this lyx::depth_type typedef rather than
2710 defining explicitly.
2713 * paragraph_funcs.h:
2714 * ParagraphParameters.h:
2715 * sgml.h: use lyx::depth_type rather than Paragraph or
2716 ParameterStruct's depth_type.
2719 * paragraph_funcs.h: no need to #include paragraph.h anymore.
2722 * BufferView_pimpl.C:
2724 * ParagraphParameters.C:
2727 * bufferview_funcs.C:
2734 * frontends/LyXView.C:
2735 * frontends/controllers/ControlDocument.C:
2736 * frontends/controllers/ControlErrorList.C:
2737 * insets/insetbibitem.C:
2738 * insets/insetbranch.C:
2739 * insets/insetcaption.C:
2740 * insets/insetcollapsable.C:
2741 * insets/insetenv.C:
2742 * insets/insetert.C:
2743 * insets/insetfloat.C:
2744 * insets/insetfoot.C:
2745 * insets/insetfootlike.C:
2746 * insets/insetnewline.C:
2747 * insets/insetquotes.C:
2748 * insets/insettabular.C:
2749 * insets/insettext.C:
2750 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2752 * frontends/controllers/ControlChanges.C: #include "changes.h".
2754 2003-09-06 Angus Leeming <leeming@lyx.org>
2756 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2757 than #including paragraph.h.
2760 * RowList.h: deleted. Superfluous.
2770 * insets/insettext.h: use ParagraphList_fwd.h rather than
2773 * paragraph.h: don't forward declare ParagraphList.
2776 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2777 rather than ParagraphList.h. paragraph.h is still needed for the
2778 Paragraph::depth_type parameters.
2780 * textcursor.h: enable it to compile stand-alone in light of the
2783 * bufferview_funcs.C:
2795 * frontends/controllers/ControlParagraph.C:
2796 * frontends/controllers/ControlTabular.C:
2797 * insets/insetmarginal.C:
2798 * insets/insetminipage.C:
2799 * insets/insetnote.C:
2800 * insets/insetoptarg.C: add header files needed to compile again.
2802 2003-09-06 Angus Leeming <leeming@lyx.org>
2804 * RowList_fwd.h: new file, forward-declaring Row rather than
2805 #including lyxrow.h.
2810 * insets/insettext.h: use it instead of RowList.h
2812 * bufferview_funcs.C:
2819 * text3.C: #include "RowList.h".
2821 2003-09-05 Angus Leeming <leeming@lyx.org>
2823 * factory.C (createInset):
2824 * vspace.C (c-tor): replace sscanf call with an istringstream.
2825 * ispell.C: re-add missing HP/UX headers.
2826 * lyxserver.C: re-add missing os2 headers.
2828 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
2837 * text3.C: re-add missing system headers, needed for 2.95.2.
2839 2003-09-05 Angus Leeming <leeming@lyx.org>
2841 Changes most place everywhere due to the removal of using directives
2842 from support/std_sstream.h.
2844 2003-09-05 Angus Leeming <leeming@lyx.org>
2846 Replace LString.h with support/std_string.h,
2847 Lsstream.h with support/std_sstream.h,
2848 support/LIstream.h with support/std_istream.h,
2849 support/LOstream.h with support/std_ostream.h.
2851 Changes resulting throughout the tree.
2853 2003-09-05 Angus Leeming <leeming@lyx.org>
2855 * sgml.h: ensure that the header file can be compiled stand-alone.
2856 * *.C: strip out redundant #includes. (320 in total.)
2858 2003-09-04 Angus Leeming <leeming@lyx.org>
2860 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2861 here (from getPackages).
2863 * debug.[Ch]: add a new EXTERNAL tag.
2865 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2867 * text2.C (cursorEnd): simplify
2869 (getColumnNearX): adjust
2871 * text.C (computeBidiTables): adjust
2874 * rowpainter.C (paintChars): adjust
2875 (paintSelection): adjust
2876 (paintChangeBar): adjust
2879 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2881 (numberOfSeparators): adjust
2883 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2889 * text3.C: Restricts the mouse click functionality
2890 of insets like bibtex, include, toc and floatlist to the visible
2891 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2892 up the dialogs. Cursor has to be in front of the inset (i.e.
2893 start of row) for this to function.
2895 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2897 * bufferview_funcs.C (currentState): output row information
2899 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2901 * bufferview_funcs.C (currentState): output paragraph position
2903 2003-09-04 Angus Leeming <leeming@lyx.org>
2905 * FloatList.h: move out #include "Floating.h".
2906 * LaTeX.h: move out #include "DepTable.h".
2907 * LyXAction.h: move out #include "funcrequest.h".
2908 * buffer.h: move out #include "author.h", "iterators.h".
2909 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2910 * lyx_main.h: move out #include "errorlist.h".
2911 * lyxfunc.h: move out #include "FuncStatus.h".
2912 * lyxtext: move out #include "lyxcursor.h".
2913 * paragraph_pimpl.h: move out #include "counters.h".
2915 2003-09-03 Angus Leeming <leeming@lyx.org>
2917 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2918 preamble_snippets list, enabling us to add snippets to the preamble
2919 only if the snippet was not there already.
2921 2003-09-04 Angus Leeming <leeming@lyx.org>
2923 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2925 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2927 * lyxfunc.C (dispatch): if fitCursor did something be sure to
2930 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2932 * BranchList.C: point fix, earlier forgotten
2934 2003-09-02 Angus Leeming <leeming@lyx.org>
2936 * box.C (contains): renamed from 'contained' after a fantastic
2939 2003-09-02 John Levon <levon@movementarian.org>
2945 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2947 2003-09-02 John Levon <levon@movementarian.org>
2949 * text2.C: simplification of cursorEnd(), including partial
2952 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2954 * buffer.C (readFile): add a space
2956 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
2958 * BufferView_pimpl.C (update): remove bogus fitCursor() call
2960 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2962 * buffer.C (readFile): new function, take a filename and a
2963 ParagraphList::iterator
2965 (readFile): adjust, make it private. don't use setStream, make
2966 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2967 always contain the filename.
2969 * BufferView.C (insertLyXFile): simplify and make it work for
2972 2003-08-30 John Levon <levon@movementarian.org>
2974 * Makefile.am: fix dist (from Kayvan)
2976 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2978 * most files: change to use const Buffer refs
2980 2003-08-27 André Pönitz <poenitz@gmx.net>
2982 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2983 on top of ownerPar().
2985 2003-08-27 John Levon <levon@movementarian.org>
2987 * funcrequest.C: properly initialise POD members
2989 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2991 * lyxtext.h (top_y): move top_y from here
2996 * BufferView_pimpl.[Ch]: to here
2997 * frontends/screen.C:
2998 * insets/insettabular.C:
2999 * insets/insettext.C: adjust
3000 * rowpainter.[Ch] (paintRows): remove LyXText & argument
3002 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3005 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3007 2003-08-26 André Pönitz <poenitz@gmx.net>
3009 * paragraph_func.[Ch] (outerPar): new function
3012 * paragraph_funcs.C:
3013 * paragraph_funcs.h:
3014 * paragraph_pimpl.C:
3015 * text2.C: remove Inset::par_owner
3017 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
3022 * text2.C: eliminates the needFullRow/display() stuff
3023 altogether, putting the logic in metrics/draw in the insets.
3025 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
3027 * text2.C (redoParagraphInternal, redoParagraphs):
3028 * text.C (redoParagraph): add a call to updateRowPositions at the
3029 end of each 'metrics-like' call. Remove all others.
3030 (getRow): remove the 'y-computing' version.
3031 (getRowNearY): do not compute nor return the real y. Solve the
3032 'y < 0' problem and simplify.
3034 2003-08-22 Angus Leeming <leeming@lyx.org>
3036 * *.[Ch]: clean-up of licence and author blurbs.
3037 Also move config.h out of a few .h files and into a few .C files.
3039 2003-08-22 André Pönitz <poenitz@gmx.net>
3041 * lyxrow.[Ch]: add x_ and *fill_ members
3046 * text2.C: adjust/remove prepareToPrint() calls
3048 2003-08-22 André Pönitz <poenitz@gmx.net>
3050 * lyxrow.[Ch]: add end_ member
3052 * lyxrow_funcs.C: use LyXRow::end_
3054 * lyxtext.h (singleWidth): add LyXFont parameter
3057 * text2.C: adjust LyXText::singleWidth() calls
3059 * text.C (redoParagraph): simplify row breaking logic
3062 2003-08-19 André Pönitz <poenitz@gmx.net>
3064 * funcrequest.C: initialize button_ member
3067 * rowpainter.[Ch]: interface consolidation
3069 2003-08-18 André Pönitz <poenitz@gmx.net>
3072 * BufferView_pimpl.C:
3074 * paragraph_funcs.C:
3076 * text3.C: remove LyXScreen::draw() and fitCursor calls
3078 * BranchList.h: remove spurious semicolons
3080 * MenuBackend.C: fix branchlist related crash
3082 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
3090 * bufferparams.[Ch]:
3094 * text3.C: implements the 'branch inset'
3095 idea. This allows the output of various versions of a document
3096 from a single source version, selectively outputing or suppressing
3097 output of parts of the text.
3098 This implementation contains a 'branch list editor' in a separate
3099 tab of the document settings dialog. Branches are user definable
3100 and have a "display colour" to distinguish them on-screen.
3102 ColorHandler was somewhat cleaned up.
3103 (1) make possible a dynamically growing LColor list by allowing
3104 the graphic context cache to grow along (vector);
3105 (2) eliminate an IMHO unnecessary step in colour allocation.
3107 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
3109 * BufferView_pimpl.C: compile fix
3111 2003-08-15 André Pönitz <poenitz@gmx.net>
3113 * rowpainter.C: remove extra metrics calls
3115 * lyxtext.h: merge the two constructors into a single one,
3116 pass reference to owner's par list
3118 * BufferView_pimpl.C:
3122 2003-08-15 André Pönitz <poenitz@gmx.net>
3124 * lyxrow_funcs.[Ch]:
3127 * paragraph_funcs.C:
3132 * text_funcs.C: split LyXText::rowlist_ into individual
3133 Paragraph::rows_ chunks
3136 * BufferView_pimpl.[Ch]:
3139 * text3.C: remove toggleSelection()
3141 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
3143 * bufferlist.C: beautify two alerts (shorter text of buttons)
3144 * buffer.C: Remove redundant ' ' from message
3146 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3147 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3148 rename VALIGN_CENTER to VALIGN_MIDDLE
3150 2003-08-11 André Pönitz <poenitz@gmx.net>
3152 * lyxtext.h (getPar):
3153 * text.C: new function
3155 2003-08-11 André Pönitz <poenitz@gmx.net>
3158 * tracer.[Ch]: remove unneeded files
3160 * InsetList.[Ch]: remove resizeInsetsLyXText()
3165 * text3.C: merge insertParagraphs() and appendParagraph()
3166 remove breakAgain(), update()
3168 * BufferView_pimpl.[Ch]:
3169 * bufferview_funcs.[Ch]:
3173 * tabular.C: adjust after text & InsetList changes.
3175 2003-08-08 André Pönitz <poenitz@gmx.net>
3177 * text.C (insertChar, backspace): replace rowlist fiddling
3178 with rebreak of full par
3181 * text.C (breakAgainOneRow, redoHeightOfParagraph,
3182 checkParagraph, updateInset): removed
3184 2003-08-07 André Pönitz <poenitz@gmx.net>
3187 * text3.C: merge some LFUN handlers, remove dead code
3189 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3191 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3193 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
3195 * text2.C (DEPM): fix part of bug 1255 and 1256
3197 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3199 * BufferView_pimpl.C (workAreaDispatch): change to use
3200 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3201 that are no mouse related.
3203 2003-08-05 André Pönitz <poenitz@gmx.net>
3206 * BufferView_pimpl.[Ch]:
3207 * bufferview_funcs.C:
3209 * text3.C: rip out "deep update"
3211 * textcursor.[Ch] (last_sel_cursor): remove unused member
3213 2003-08-04 André Pönitz <poenitz@gmx.net>
3216 * BufferView_pimpl.[Ch]:
3217 * ParagraphParameters.C:
3218 * bufferview_funcs.C:
3224 * text3.C: replace "complicated" BufferView::update(...) calls with
3227 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3229 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
3231 * Makefile.am (lyx_SOURCES): add paper.h
3233 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3235 * Makefile.am: move things around so that both lyx-qt and
3236 lyx-xforms can be built (according to --with-frontend). Then lyx
3237 is a symbolic link to lyx-[firstfrontend]
3239 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
3241 * Always use std::endl with lyxerr
3243 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
3245 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3247 2003-08-01 André Pönitz <poenitz@gmx.net>
3250 * BufferView_pimpl.[Ch]:
3252 * text3.C: merge BufferView::repaint() and BufferView::update()
3254 2003-08-01 José Matos <jamatos@lyx.org>
3256 * buffer.[Ch]: file_format is no longer a buffer data element.
3258 2003-08-01 André Pönitz <poenitz@gmx.net>
3263 * text2.C: make redoParagraph more independent of current cursor
3265 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3267 * text2.C: remove unneeded members
3269 2003-07-30 André Pönitz <poenitz@gmx.net>
3271 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3273 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3274 create a single function...
3276 * paragraph_funcs.C (moveItem): ... here.
3279 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3281 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3283 * LColor.[Ch]: Add comment and greyedout logical colors.
3285 2003-07-30 André Pönitz <poenitz@gmx.net>
3287 * tabular.C: don't use Assert too heavily. This crashes where it
3290 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
3292 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3293 is disabled (bug 1232)
3295 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3297 * factory.C: limited 'arg' scope
3299 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3301 * factory.C: fixed Note submenu issues
3303 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3305 * factory.C: submenu for Note/Comment/Greyedout
3307 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
3310 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3312 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
3315 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3316 greyedout. Patch provided by Jürgen Spitzmüller.
3318 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3320 * kbmap.C (read): fix error message when reading bind files
3322 2003-07-29 Angus Leeming <leeming@lyx.org>
3324 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3325 certainly does not do what it purports to do. I am doing it, and
3326 us, a favour by killing it.
3328 2003-07-28 José Matos <jamatos@lyx.org>
3330 * buffer.C (readBody, do_writeFile):
3331 * paragraph.C(readParagraph): \end_document replaces \the_end.
3333 2003-07-29 André Pönitz <poenitz@gmx.net>
3336 * BufferView_pimpl.[Ch]:
3340 * textcursor.[Ch]: remove toggleToggle & Co
3342 2003-07-28 José Matos <jamatos@fep.up.pt>
3344 * buffer.C (readParagraph):
3345 * params_func (readParToken, readParagraph):
3346 * paragraph.C (write): \layout -> \begin_layout.
3348 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3350 * lyxlex_pimpl.C (setFile): clean up slightly.
3352 * bufferparams.h: add compressed var
3354 * buffer_funcs.C (readFile): adjust for LyXLex change
3355 (newFile): ditto + simplify
3357 * buffer.C (writeFile): handle writing of compressed files
3359 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3360 Check if the file is compressed and set a bufferparm if so.
3362 * Makefile.am (lyx_LDADD): remove explicit -lz
3364 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3366 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3367 makeDocBookFile): put the real LyX version in the first line of
3371 * version.C.in: remove lyx_docversion
3373 * tabular.C (write_attribute): add a template-based version to
3374 write enums properly
3376 2003-07-28 André Pönitz <poenitz@gmx.net>
3381 * text3.C: use doubles again for x-coordinates. They are needed.
3383 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3385 * messages.C (getLocaleDir): use lyx_localedir()
3387 * lyxlex_pimpl.C (setFile): compress stuff
3389 * buffer.C (writeFile): add some compression stuff
3390 (do_writeFile): new func, dont call expliti close... will this
3393 * Makefile.am (lyx_LDADD): add -lz
3395 2003-07-28 José Matos <jamatos@fep.up.pt>
3397 * buffer.C: increment file format.
3398 * paragraph_funcs (readParagraph, readParToken):
3399 * paragraph.C (readParagraph): add \end_layout.
3401 2003-07-27 Angus Leeming <leeming@lyx.org>
3403 * Makefile.am: remove special casing for configure-time setting of
3404 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3406 * lyx_main.C (init): remove all Jean-Marc's magic setting of
3407 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3409 2003-07-26 André Pönitz <poenitz@gmx.net>
3411 * paragraph_func.[Ch]:
3412 * paragraph.C (realizeFont): inline it whereever it is used
3417 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3420 2003-07-26 André Pönitz <poenitz@gmx.net>
3424 * text2.C: get rid of LyXText::need_break_row
3426 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3428 * toc.[Ch]: put namespace toc inside namespace lyx
3430 * MenuBackend.C (expandToc2): adjust for lyx::toc
3433 * lyxfunc.C (dispatch): adjust for lyx::find
3435 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3436 lyx::find instead. Reorganize a bit.
3437 (LyXReplace): rename to replace
3438 (LyXFind): rename to find
3440 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3443 2003-07-26 André Pönitz <poenitz@gmx.net>
3445 * text.C (setHeightOfRow): restrict scope of temporary variable
3447 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
3448 code (never has been used?)
3450 2003-07-27 Asger Alstrup <alstrup@local>
3452 * text.C (fill): Optimise algorithm to exploit that we can reuse
3453 the LyXFont for many characters.
3454 (setHeightOfRow): Same thing.
3455 (rowBreakPoint): Same thing.
3457 2003-07-26 Asger Alstrup <alstrup@local>
3459 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3461 * text.C (singleWidth): Spurious font copying in hot-spot
3462 singleWidth avoided. Reorder tests for arabic for efficiency.
3464 * text.C (fill): handle empty paragraphs better.
3466 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3469 * encoding.h: add includes
3471 * lyxrc.C: remove reading of bind files
3473 * lyx_main.C (init): setup bindings and menus only if we have a
3476 * kbmap.C (read): new method. Do the actual reading of bind
3479 * converter.C (dvipdfm_options):
3482 (output): adapt PAPER_* enums.
3484 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3486 * bufferparams.h: remove paper-related enums from there
3488 * paper.h: New file. A trivial header file to hold paper-related
3489 enums. It should later expand to contain many paper-related
3492 * lyxrc.C: declare extern displayTranslator
3494 2003-07-27 José Matos <jamatos@fep.up.pt>
3496 * tabular.[Ch] (linuxdoc): add support for tables and figures
3499 2003-07-27 José Matos <jamatos@fep.up.pt>
3501 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3502 consistency in both functions.
3503 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3505 2003-07-26 Asger Alstrup <alstrup@local>
3507 * rowpainter.C (paintRows): Change algorithm to work directly on
3508 the insets rather than asking every character in the document
3509 whether its an inset.
3511 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
3513 * buffer.C (openFileWrite): factorize some code
3515 2003-07-26 Angus Leeming <leeming@lyx.org>
3518 * lyx_main.[Ch]: replace occurances of system_tempdir with
3521 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3523 * rename Inset to InsetOld
3525 2003-07-25 Asger Alstrup <alstrup@diku.dk>
3527 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3528 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3529 which I think is a bit clearer. EDIT is gone, since it was
3530 premature optimisation, and broken for mathed anyway.
3531 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3532 with cursor positioning in insets as well (math insets still do not
3533 work, but that's a different story anyway.) It mysteriously
3534 crashes sometimes with undo in the first paragraph, but I'm fairly
3535 confident that this is a compiler bug.
3537 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3539 * paragraph.C (Paragraph): adjust for new clone return type
3541 (copyIntoMinibuffer): ditto
3543 2003-07-25 Asger Alstrup <alstrup@lyx.org>
3545 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3546 by not having a special case, and always doing a full rebreak of
3547 the document after undo.
3549 2003-07-23 Angus Leeming <leeming@lyx.org>
3551 * factory.C (createInset): InsetExternal::setParams now takes a
3554 2003-07-23 Angus Leeming <leeming@lyx.org>
3556 * factory.C (createInset): changed interface to the external and
3557 graphics mailers' string2params functions.
3559 2003-07-23 Angus Leeming <leeming@lyx.org>
3561 * factory.C (createInset): pass a
3562 Buffer const * parameter to InsetExternalMailer's string2params.
3564 2003-07-22 John Levon <levon@movementarian.org>
3566 * Thesaurus.h: include the right aiksaurus header
3568 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3570 * MenuBackend.C (expand): check menu shortcuts unconditionally
3572 2003-07-21 Angus Leeming <leeming@lyx.org>
3574 * factory.C (createInset): pass a
3575 buffer_path parameter to InsetGraphicsMailer's string2params.
3577 2003-07-21 Angus Leeming <leeming@lyx.org>
3579 * BufferView_pimpl.C (buffer):
3582 * lyxfunc.C (dispatch):
3583 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3584 rather than the grfx shortcut.
3586 2003-07-21 André Pönitz <poenitz@gmx.net>
3588 * rowpainter.C: remove unused variables
3591 * tabular_funcs.h: move to tabular.C
3592 * Makefile.am: adjust
3594 * tabular.[Ch]: basic optical cleaning
3596 * author.h: pass references, not values
3598 2003-07-18 André Pönitz <poenitz@gmx.net>
3606 * text3.C: two-phase drawing for InsetText and InsetTabular
3607 some float -> int changes.
3609 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3611 * lyx_main.C: fix the fix
3613 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3615 * lyx_main.C: fix a crash in batch mode if no files specified
3618 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
3620 * format.[Ch] (papersize): moved to BufferParams
3621 * converter.[Ch] (dvips_options): moved to BufferParams
3622 (dvipdfm_options): moved to anon namespace
3623 * bufferparams.[Ch]: added above functions.
3625 2003-07-17 André Pönitz <poenitz@gmx.net>
3629 * text2.C: don't call inset->update() anymore
3631 * metricsinfo.[Ch]: add convenience constructor
3633 2003-07-16 André Pönitz <poenitz@gmx.net>
3638 * text2.C: replace the LyXCursor::irow_ member with
3639 on-demand computation of the value
3641 2003-07-16 John Levon <levon@movementarian.org>
3643 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3645 2003-07-15 André Pönitz <poenitz@gmx.net>
3648 * text2.C: remove no more needed refresh_row
3650 2003-07-15 André Pönitz <poenitz@gmx.net>
3655 * text3.C: refresh_status tristate -> need_update bool
3657 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
3659 * lyxtext.h (init): remove reinit argument (act as if always true)
3660 * text2.C: adjust to that
3662 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3664 * bufferview_funcs.[Ch]: introduce function replaceSelection()
3665 * text3.C: use it to delete selections in some cases
3666 (bugs 441, 673, 702, 954).
3668 2003-07-14 André Pönitz <poenitz@gmx.net>
3670 * rowpainter.[Ch]: reduce interface
3672 2003-07-14 André Pönitz <poenitz@gmx.net>
3674 * BufferView_pimpl.C:
3675 * text2.C: adjust after removing unused BufferView * argument
3677 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
3679 * text2.C (init): fix a crash fired on resize
3681 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
3683 * buffer.[Ch]: added new closing signal
3684 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3685 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3686 BufferView::Pimpl via the closing the signal
3688 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
3690 * buffer.[Ch]: take out all bv-related from buffer
3692 * BufferView_pimpl.[Ch]: connect to new signals
3693 * CutAndPaste.C: removed useless asserts
3694 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3697 * lyxfunc.C: moved view-related funciontality from vc here
3698 * paragraph.C: removed outdated comments
3701 2003-07-10 André Pönitz <poenitz@gmx.net>
3703 * BufferView_pimpl.C:
3707 * text2.C: remove InsetText::InnerCache, clean up consequences
3709 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
3711 * ispell.C: fix two typos in error messages
3713 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
3715 * Extend Note inset to other forms of annotation like Comment
3716 and Greyedout. Right button click gives dialog.
3718 Files modified or added (+):
3722 * ControlNote.[Ch] +
3724 * Makefile.am in frontends/xforms, frontends/xforms/forms,
3725 frontends/controllers
3729 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3731 * aspell.C: add missing namespace lyx::support
3733 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
3735 * BufferView.[Ch] (newFile): Add
3736 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3737 * LaTeX.[Ch] (message): added this signal and use it
3738 * buffer.[Ch] (busy, message): added these signals and use them
3739 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3743 * importer.C: use buffer signals instead of direct bv calling
3744 * lyx_cb.[Ch] (ShowMessage): removed
3747 * paragraph_funcs.C:
3748 * text2.C: use buffer signals
3750 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3752 * introduce namespace lyx::graphics
3754 2003-07-02 André Pönitz <poenitz@gmx.net>
3756 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3758 2003-07-01 André Pönitz <poenitz@gmx.net>
3765 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3766 text*.C to text_func.C
3768 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3770 * introduce namespace lyx::support
3772 2003-06-30 André Pönitz <poenitz@gmx.net>
3777 * text.C: re-enable --with-included-string
3779 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3781 * textcursor.C: add <config.h>
3783 * text.C (getWord): remove const from word_location arg
3785 * lyxvc.C (getLogFile): fix const type order
3787 * lyxtext.h: remove const from word_location arg, add arg name
3789 * lyxlayout.h: currect type on labeltype.
3791 * importer.C: correct \file
3793 * converter.C (intToFormat): use std:: on ret val, ws changes
3795 * bufferlist.h: correct \file
3797 * buffer.C (makeLinuxDocFile): fix const type order
3798 (makeDocBookFile): ditto
3799 (fillWithBibKeys): use std:: on stdlib args.
3801 * CutAndPaste.C: fix authors.
3802 (availableSelections): use std:: on return vector
3804 2003-06-27 André Pönitz <poenitz@gmx.net>
3806 * BufferView_pimpl.C:
3807 * bufferview_funcs.C:
3815 * text3.C: remove LyXCursor::row_ member
3818 * text.C: rename fullRebreak() to partialRebreak() and implement
3819 a fullRebreak() that really bereks fully
3821 * textcursor.h: new struct for cursor-related data
3823 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
3825 * lyx_main.C (LyX): get full path of document loaded on the
3828 2003-06-26 André Pönitz <poenitz@gmx.net>
3830 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3831 remove unused/broken operator>,<,>=.
3833 * text.C: remove only use of broken operator<= in an Assert().
3835 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3837 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3838 moved errorlist_.clear to showErrorList
3840 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3842 * converter.C (scanLog, runLaTeX):
3843 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3844 move the bv->showErrorList call to the callers
3845 * lyxfunc.C: i.e. here...
3847 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3848 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3849 namespace, the second to...
3850 * buffer_funcs (BufferFormat, parseErrors): added
3851 * errorlist.C (ErrorList(TeXErrors const &)): removed
3853 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3855 * ToolbarBackend.C (getIcon): complain when icon cannot be found
3857 2003-06-24 "Garst R. Reese" <reese@isn.net>
3861 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3863 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3865 * version.C.in: change docversion to 1.4
3867 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
3869 * buffer.C: fix a bug just introduced
3871 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3873 * buffer.[Ch]: added the parseError signal and use it, removed
3875 * BufferView.[Ch] (addError): moved to ...
3876 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3877 to the Buffer::parseError signal to catch (guess what) parse errors
3878 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3880 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3882 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3883 ability to create a buffer and to return an existing one from
3884 the list. Moved these functions to...
3885 * buffer_funcs.[Ch]: added
3886 * BufferView.[Ch] (loadLyXFile): added
3887 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3888 job removed from bufferlist::loadLyXFile.
3889 * buffer.C (setReadOnly): make it work without view
3890 (i.e added an if (users))
3892 2003-06-19 Angus Leeming <leeming@lyx.org>
3895 * LyXAction.C (init):
3896 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3897 with LFUN_DIALOG_SHOW <name> <data>.
3899 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3901 * CutAndPaste.C (availableSelections): small compilation fix for
3902 ancient (gcc 2.9x) compilers
3904 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3906 * text3.C (cursorNext): add tmp var
3908 * text2.C (updateCounters): for function calling out of for clause
3909 (replaceSelectionWithString): ditto
3910 (insertStringAsParagraphs): ditto
3911 (getColumnNearX): add tmp var
3912 (setCursorFromCoordinates): add tmp var
3913 (cursorDownParagraph): add tmp var
3914 (deleteEmptyParagraphMechanism): add tmp var
3916 * text.C (insertChar): add tmp var
3918 * rowpainter.C (paintDepthBar): add tmp var
3920 * CutAndPaste.C (availableSelections): potentially check all
3921 paragraphs in a cut to fill the shown strings.
3923 2003-06-18 André Pönitz <poenitz@gmx.net>
3925 * kbmap.[Ch]: use vector<> instead of list<>
3927 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3929 * text3.C (dispatch): handle arg to LFUN_PASTE, call
3930 pasteSelection with index
3932 * text2.C (pasteSelection): modify, call pasteSelection with index
3934 * paragraph.C (asString): reimplement version with no interval to
3935 call the one with interval.
3937 * lyxtext.h: add index arg to pasteSelection
3939 * MenuBackend.C (MenuItem): handle PasteRecent
3940 (Menu::read::Menutags): add md_pasterecent
3942 (expandPasteRecent): new function
3945 * MenuBackend.h: add PasteRecent to MenuItem::Kind
3947 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3949 (availableSelections): new function
3951 2003-06-17 Angus Leeming <leeming@lyx.org>
3953 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3955 2003-06-17 Angus Leeming <leeming@lyx.org>
3958 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3960 * lyxfunc.C (dispatch): invoke it.
3962 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3964 * iterators.C (operator++, ParPosition): reintroduce some
3965 const_cast for the benefit of older compilers.
3967 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3969 * text3.C (dispatch): do not modify clipboard when doing
3970 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3971 LFUN_DELETE_SKIP on a selection selection
3973 2003-06-16 André Pönitz <poenitz@gmx.net>
3979 * tabular.[Ch]: IU of clone() and getLabelList();
3981 2003-06-13 André Pönitz <poenitz@gmx.net>
3983 * tabular.h: compactification
3985 2003-06-12 André Pönitz <poenitz@gmx.net>
3989 * tabular_funcs.h: some renaming plus whitespace
3991 2003-06-12 André Pönitz <poenitz@gmx.net>
3994 * BufferView_pimpl.C:
4000 * toc.C: Return a Paragraph & for ParIterator::operator*()
4002 2003-06-11 John Levon <levon@movementarian.org>
4006 * ToolbarBackend.C: add "Toolbars" section and
4009 2003-06-10 Angus Leeming <leeming@lyx.org>
4012 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4014 * lyxfunc.C (dispatch): invoke it.
4016 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4018 * main.C: protect <ios> with HAVE_IOS
4019 (main): protect sync_with_stdio with HAVE_IOS
4021 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
4023 * text2.C (cutSelection): adjust
4024 (pasteSelection): adjust
4026 * messages.C: handle get of empty string
4028 * main.C (main): use sync_with_stdio(false)
4030 * lyxfunc.C (dispatch): adjust
4032 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4033 (WriteAs): remove unneeded BufferView arg.
4035 * bufferparams.h: use correct types on papersize, papersize2 and
4038 * bufferparams.C (readToken): adjust for type
4039 (writeLaTeX): add missing cases to switch.
4041 * bufferlist.C (quitWriteBuffer): adjust
4044 * buffer.C (asciiParagraph): remove some commented code.
4046 * CutAndPaste.C: remove current_view extern variable.
4047 (cutSelection): add BufferParams arg.
4048 (eraseSelection): add BufferParams arg.
4049 (pasteSelection): add Buffer const & arg
4051 2003-06-07 John Levon <levon@movementarian.org>
4054 * paragraph_funcs.C:
4055 * paragraph_pimpl.C:
4059 * paragraph.C: allow InsetERT to freely space lines,
4060 and some consolidation of code
4062 2003-06-06 José Matos <jamatos@fep.up.pt>
4064 * buffer.C (makeDocBookFile): fix bug #821
4066 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
4068 * BufferView_pimpl.C (dispatch): use Dialogs::visible
4070 2003-06-04 Angus Leeming <leeming@lyx.org>
4072 * buffer.C: bump format to 224.
4074 2003-06-05 André Pönitz <poenitz@gmx.net>
4076 * text2.C (redoParagraphs): remove two const_cast<>
4078 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4080 * ParagraphList.h: remove last remnants of NO_STD_LIST
4082 2003-06-03 Angus Leeming <leeming@lyx.org>
4084 * factory.C (createInset): small change to the way InsetExternal's params
4087 2003-06-04 André Pönitz <poenitz@gmx.net>
4089 * buffer.h: use Undo directly instead of shared_ptr<Undo>
4091 * paragraph_pimpl.h:
4092 * paragraph.[Ch]: some Inset -> UpdatableInset changes
4094 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4096 * undo_funcs.C: make some simple cases of undo work again
4098 2003-06-03 John Levon <levon@movementarian.org>
4100 * ispell.C: HPUX doesn't have sys/select.h
4103 2003-06-03 John Levon <levon@movementarian.org>
4105 * CutAndPaste.C: update tabular and include inset
4110 * paragraph.C: remove owningBuffer(), don't pass Buffer
4113 * factory.C: insetGraphicsParams changed
4115 2003-06-02 John Levon <levon@movementarian.org>
4121 * text3.C: remove insetparent
4123 2003-06-02 John Levon <levon@movementarian.org>
4126 * buffer.C: fix inset_iterator.end(), move out of line
4129 2003-06-01 John Levon <levon@movementarian.org>
4131 * text3.C: use a proper cut/paste when doing inset
4132 insert (from Jürgen Spitzmüller)
4134 2003-06-01 John Levon <levon@movementarian.org>
4136 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4138 2003-05-30 André Pönitz <poenitz@gmx.net>
4140 * rowpainter.C: unify second drawing phase
4142 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4144 * trans_mgr.C: remove one case of current_view
4146 * text2.C (cursorBottom): delete NO_STD_LIST stuff
4148 * paragraph_funcs.h: remove paragraph.h include
4150 * paragraph.h: delete NO_STD_LIST stuff
4152 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4154 * buffer.h: remove paragraph.h include
4156 * ParagraphList.C: delete file
4158 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4160 * toc.C (getTocList): adjust
4162 * paragraph_pimpl.C (validate): adjust
4164 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4166 * paragraph.C (Paragraph): adjust
4167 (getPositionOfInset): use const_iterator, adjust
4168 (bibitem): use const_iterator, adjust
4169 (setInsetOwner): adjust
4171 * iterators.C (operator++): adjust
4173 * InsetList.[Ch]: Replace selfmade iterator with standard
4174 vector::iterator also introduce const_iterator. Remove getPos,
4175 getInset and setInset from InsetTable. Adjust accordingly.
4177 * BufferView.C (lockInset): adjust
4178 (ChangeInsets): adjust
4180 * tabular.[Ch]: delete commented same_id functions
4182 2003-05-28 John Levon <levon@movementarian.org>
4184 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4186 2003-05-28 André Pönitz <poenitz@gmx.net>
4188 * metricsinfo.[Ch]: remove 'fullredraw' member
4190 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
4192 * lyxtextclass.C (operator): remove caching.
4194 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4198 * text2.C (cursorBottom): adjust
4199 (setCounter): use ParagraphList::find, adjust
4201 * text.C (workWidth): use ParagraphList::find, adjust
4203 * lyxcursor.C (LyXCursor): adjust
4205 * buffer.C (inset_iterator): adjust
4207 * ParagraphList.h: make iterator(value_type) private, make
4208 ParagraphList a friend of iterator.
4210 * ParagraphList.C (find): new function
4212 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4214 2003-05-27 André Pönitz <poenitz@gmx.net>
4216 * dimension.[Ch]: a -> asc, d -> des, w -> wid
4218 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4220 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4222 2003-05-26 John Levon <levon@movementarian.org>
4224 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4226 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4228 * remove same_id from function signatures, adjust.
4230 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4232 * undo_funcs.C (createUndo): use the id functions directly, adjust.
4234 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4236 * paragraph.C (Paragraph): get rid of same_ids parameter
4238 * ParagraphList.C (insert): adjust
4241 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4243 * paragraph_funcs.C (breakParagraph): adjust
4244 (breakParagraphConservative): adjust
4246 * buffer.C (readParagraph): adjust
4248 * ParagraphList.C (insert): take a reference instead of a pointer
4251 * paragraph.[Ch] (id): new function
4253 * bufferlist.C (newFile): adjust
4255 * ParagraphList.C (ParagraphList): adjust
4257 (push_back): take a reference instead of a pointer.
4259 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4261 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4264 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4265 set else use old code.
4267 * ParagraphList.C: remove all NO_NEXT code and only compile this
4268 code of NO_STD_LIST is set.
4270 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4272 * BufferView_pimpl.C:
4282 * graphics/GraphicsConverter.C:
4283 * graphics/PreviewLoader.C: header adjustment
4285 2003-05-23 Angus Leeming <leeming@lyx.org>
4287 * LaTeXFeatures.[Ch] (useBabel): new method.
4288 * bufferparams.C (writeLaTeX): use it.
4290 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4292 * ParagraphList.h (set): remove unused function.
4294 2003-05-23 André Pönitz <poenitz@gmx.net>
4297 * BufferView_pimpl.C:
4301 * undo_funcs.C: setUndo reworked
4303 * iterators.[Ch]: add access to topmost ParagraphList
4305 * lyxtext.[Ch] (workWidth): add a const
4307 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4309 * texrow.[Ch] (increasePos): remove function
4310 * exporter.C (export): removed unused var and outdated comment
4312 2003-05-23 Angus Leeming <leeming@lyx.org>
4314 * latexrunparams.h: rename fragile as moving_arg.
4315 * paragraph.C (simpleTeXOnePar): ditto.
4316 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4318 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4320 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4322 (textUndoOrRedo): comment out a currently unused var.
4324 * paragraph.h (NO_NEXT): enable NO_NEXT
4326 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4328 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4330 * exporter.C (Export): adjust for removeAutoInsets removal.
4332 * buffer.C (runChktex): adjust for removeAutoInsets removal.
4334 * LyXAction.C (init): remove LFUN_REMOVEERRORS
4336 * BufferView.[Ch] (removeAutoInsets): delete function
4338 2003-05-22 Angus Leeming <leeming@lyx.org>
4340 * latexrunparams.h: add a free_spacing variable.
4342 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4343 to pass moving_arg, as the data is stored in runparams.fragile.
4345 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4346 to Inset::latexOptional or to simpleTeXOnePar.
4348 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4349 free_spacing arg to Inset::latexOptional.
4351 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4354 2003-05-22 Angus Leeming <leeming@lyx.org>
4356 * latexrunparams.h: add fragile and use_babel variables.
4358 * bufferparams.[Ch] (writeLaTeX): return use_babel.
4359 * buffer.C (makeLaTeXFile): store this returned value in
4360 runparams.use_babel, thus passing it to the inset::latex methods.
4362 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4363 simpleTeXSpecialChars as it is now stored in runparams.fragile.
4365 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4366 longer has a fragile arg, as it is stored in runparams.fragile.
4368 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4369 moving_arg parameter as the data is stored in runparams.fragile.
4371 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4372 a fragile parameter as the data is stored in runparams.fragile.
4374 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4376 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4378 2003-05-22 Angus Leeming <leeming@lyx.org>
4380 * latexrunparams.h: add a 'bool nice' which defaults to false.
4382 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4383 now encapsulated within runparams.
4385 * bufferlist.C (updateIncludedTeXfiles):
4386 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4388 2003-05-22 Angus Leeming <leeming@lyx.org>
4390 * latexrunparams.h: new file containing struct LatexRunParams.
4391 * Makefile.am: add new file.
4393 * LaTeX.[Ch] (c-tor, run):
4394 * buffer.[Ch] (makeLaTeXFile):
4395 * bufferlist.[Ch] (updateIncludedTeXfiles):
4396 * converter.C (convert, scanLog):
4397 * converter.[Ch] (runLaTeX):
4398 * exporter.C (Export):
4399 * paragraph.[Ch] (simpleTeXOnePar):
4400 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4401 * paragraph_funcs.[Ch] (latexParagraphs):
4402 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4403 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4404 pass around a LatexRunParams parameter.
4406 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4408 * paragraph.[Ch]: remove unused constructor
4410 * ParagraphList.C (erase): new function, taking two iterators
4412 2003-05-22 André Pönitz <poenitz@gmx.net>
4414 * undo_funcs.C: remove duplicated code
4416 * iterator.[Ch]: operator=
4418 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4420 * tabular.C (SetMultiColumn): ws changes
4422 * rowpainter.C (paintFirst): get rid of a ->previous
4424 * lyx_cb.C (getPossibleLabel): parlist simplification
4426 * BufferView.C (ChangeInsets): simplify slightly.
4428 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4430 * LyXAction.C: new lfun space-insert, kill protected-space-insert
4431 * lfuns.h: new LFUN_SPACE
4432 * lyxfunc.C: protected space has a new lfun
4433 * paragraph_funcs.C: read new space insets
4435 * factory.C: handle new space insets
4437 2003-05-22 André Pönitz <poenitz@gmx.net>
4440 * BufferView_pimpl.C:
4443 * undo_funcs.C: return a ParIterator from getParFromID.
4445 * iterators.[Ch]: add two const's
4447 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4449 * toc.C (getTocList): adjust
4451 * iterators.[Ch]: rework for parlist
4453 * buffer.C (par_iterator_begin): adjust
4454 (par_iterator_end): adjust
4456 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4458 * BufferView.C (removeAutoInsets): adjust
4459 (ChangeInsets): adjust
4461 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
4463 * text.C (top_y): fix bug 1110
4465 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
4467 * errorlist.[Ch]: added
4470 * BufferView_pimpl.C:
4471 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4474 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4476 * Makefile.am: ensure that lyx is relinked upon changes to the
4477 various "convenience" libs.
4479 2003-05-20 Angus Leeming <leeming@lyx.org>
4481 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4482 files are compiled in alphabetical order again.
4484 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4486 2003-05-19 Angus Leeming <leeming@lyx.org>
4488 * gettext.[Ch]: remove "char const * _(char const *)".
4490 2003-05-19 André Pönitz <poenitz@gmx.net>
4492 * dimension.[Ch]: promote from mathed/dimension.[Ch]
4501 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4503 2003-05-19 André Pönitz <poenitz@gmx.net>
4507 * lyxtextclass.[Ch]:
4509 * paragraph_funcs.[Ch]:
4511 * text3.C: more insetenv work
4513 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
4515 * ParagraphParameters.C (params2string): small bug fixed
4517 2003-05-16 André Pönitz <poenitz@gmx.net>
4520 * bufferview_funcs.C: patch from Kornel Benko to prevent
4521 crash when _(...) is called twice in a statement
4523 2003-05-16 André Pönitz <poenitz@gmx.net>
4530 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4532 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
4534 * lyx_main.C (init): remove spurious static_cast
4536 2003-05-14 André Pönitz <poenitz@gmx.net>
4538 * BufferView.C: fix format string
4540 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
4542 * BufferView.[Ch] (insertErrors): removed
4543 * BufferView.[Ch] (showErrorList): added
4544 * buffer.C (runChkTeX):
4545 * converter.C (scanLog): call showErrorList instead of inserterrors
4547 2003-05-13 André Pönitz <poenitz@gmx.net>
4549 * BufferView_pimpl.C:
4551 * bufferview_func.C:
4558 * tabular_funcs.h: tostr() from its own header
4560 * ParagraphParameters.C:
4565 * text3.C: STRCONV()
4567 2003-05-12 André Pönitz <poenitz@gmx.net>
4570 * BufferView_pimpl.C:
4574 * ParagraphParameters.C:
4578 * bufferview_funcs.C:
4591 * paragraph_funcs.C:
4595 * text3.C: boost::format -> bformat all over the place
4598 2003-05-09 André Pönitz <poenitz@gmx.net>
4600 * LColor.[Ch]: Pimpl the #include <map> away
4602 2003-05-09 John Levon <levon@movementarian.org>
4604 * bufferlist.C: never remove emergency saves
4606 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4608 * Makefile.am: better lib building
4610 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4612 * texrow.[Ch]: remove dependency on Paragraph and just store a id
4614 * paragraph_pimpl.C (simpleTeXBlanks): adjust
4615 (simpleTeXSpecialChars): adjust
4616 (simpleTeXSpecialChars): adjust
4617 * paragraph.C (simpleTeXOnePar): adjust
4618 * buffer.C (makeLaTeXFile): adjust
4620 * Makefile.am (BOOST_LIBS): allow boost as system lib.
4622 * text2.C (changeDepth): parlist cleanup
4623 (getColumnNearX): ditto
4625 * rowpainter.C (getLabelFont): parlist cleanup
4627 * bufferlist.C (newFile): parlist cleanup
4629 * CutAndPaste.C (eraseSelection): parlist cleanup
4631 * BufferView_pimpl.C (trackChanges): parlist cleanup
4634 * BufferView.C (lockInset): parlist cleanup.
4635 (ChangeInsets): ditto
4637 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4639 * CutAndPaste.h: Update file header.
4641 * CutAndPaste.C: Update file header.
4642 Store the parts cut out of the Document in a limited_stack.
4643 (copySelection): adjust
4644 (pasteSelection): new function, takes the index in the limited stack.
4645 (nrOfParagraphs): adjust
4646 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4647 simplify error inset insertion.
4648 (checkPastePossible): adjust
4650 2003-05-06 John Levon <levon@movementarian.org>
4652 * text2.C: don't cast wrap inset to float
4654 2003-05-05 André Pönitz <poenitz@gmx.net>
4657 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4659 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4660 few naked Paragraph *.
4662 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
4664 * bufferparams.C: Output warning if a document with missing
4665 TeX document class is loaded
4666 * exporter.C: Disable TeX exports if the document class is missing
4669 * lyxtextclasslist.C: Handle new textclass.lst format; new method
4670 isTeXClassAvailable()
4672 2003-05-03 John Levon <levon@movementarian.org>
4675 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4676 explicit cursor show/hide
4678 * BufferView_pimpl.h:
4679 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4680 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4682 * lyxfunc.C: hide cursor before dispatching.
4687 * text3.C: remove explicit cursor hides
4689 2003-05-02 André Pönitz <poenitz@gmx.net>
4691 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4694 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4697 * text2.C: tiny whitespace
4699 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4701 * undo_funcs.C: almost only ws changes.
4703 * ParagraphList.C (splice): just return if pl is empty.
4705 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4707 * ParagraphList.C (splice): new function.
4709 * CutAndPaste.C (pasteSelection): use it
4711 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4713 * CutAndPaste.C (pasteSelection): remove the last next and
4714 previous from this file.
4716 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4718 * CutAndPaste.C (pasteSelection): more clean up, user proper
4719 ParagraphList functions for pasteing.
4721 * ParagraphList.C (insert): new function, three arg insert
4723 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4725 * ParagraphList.C (insert): new function, three arg insert
4727 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4730 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4732 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4734 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4736 * CutAndPaste.C (pasteSelection): remove some unneeded code.
4738 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4740 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4741 (copySelection): clean up a bit.
4742 (pasteSelection): use make_pair
4744 * ParagraphList.C (ParagraphList): implement copy constructor
4745 (operator=): implement, base on copy constructor.
4748 * paragraph.C (erase): return a bool
4750 * paragraph_pimpl.C (erasePos): remove function, move contents...
4751 (erase): ... here. Return a bool.
4752 (erase): call erase instead of erasePos.
4754 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
4756 * ParagraphList.h: define PitPosPair
4757 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4758 ParagraphList, fix a bug on pasting multiple pars
4759 * text2.C: change interface to C&P
4761 2003-04-30 André Pönitz <poenitz@gmx.net>
4763 * undo_func.C: revert part of yesterday's patch 2
4765 2003-04-30 John Levon <levon@movementarian.org>
4767 * LColor.C: s/tabular/table/
4769 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4771 * text3.C (dispatch): do not convert iterator -> pointer
4772 * undo_funcs.C (setCursorParUndo): ditto
4773 * text_funcs.C (transposeChars): ditto
4775 * text2.C (setLayout): ws changes only
4777 * text.C (breakParagraph): do not convert iterator -> pointer
4779 (acceptChange): ditto
4780 (rejectChange): ditto
4785 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4788 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4790 * text3.C (gotoInset): YABG (yet another bad getChar)
4792 2003-04-29 André Pönitz <poenitz@gmx.net>
4794 * paragraph.h: make operator= private unimplemented as long as
4797 * ParagraphList.C: whitespace
4800 * paragraph_pimpl.[Ch]:
4801 * paragraph_funcs.C:
4803 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
4806 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4808 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4810 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4811 * paragraph.[Ch] (erase):
4812 * paragraph_pimpl.[Ch] (erase): change return type and value
4813 * text2.C (cutSelection): some rework
4815 2003-04-28 John Levon <levon@movementarian.org>
4817 * bufferlist.C: changes for unsaved changes dialog
4819 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4821 * bufferlist.C (newFile): set language (messages_) for new
4824 * buffer.C (readFile): ws changes only.
4826 2003-04-28 André Pönitz <poenitz@gmx.net>
4831 * BufferView_pimpl.C:
4832 * BufferView.C: getParFromID related ParagraphList::iterator changes
4834 2003-04-28 André Pönitz <poenitz@gmx.net>
4836 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4839 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4841 * messages.C: remove one more localedir class variable.
4843 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4845 * messages.C (getLocaleDir): singleton generation function
4847 (Messages): add a default constructor.
4849 * main.C (main): do not setup localedir here, do not call
4852 * gettext.C (_): use it.
4853 (gettext_init): delete funciton
4855 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4857 * gettext.C (getLyXMessages): new singleton generating function.
4859 * buffer.C (updateDocLang): adjust
4861 * Makefile.am (messages.o): add target
4862 (main.o): remove target
4864 2003-04-27 John Levon <levon@movementarian.org>
4869 * lyxvc.C: specify cancel button in Alert::prompt
4871 2003-04-26 John Levon <levon@movementarian.org>
4876 * LyXAction.C: add LFUN_INSET_SETTINGS
4878 * lyxfunc.C: don't enable tabular-feature when there's
4879 just any locking inset
4881 2003-04-26 John Levon <levon@movementarian.org>
4883 * bufferlist.C: re-add Cancel to buffer close question
4885 * lyxfunc.C: fix import UI a bit
4887 2003-04-25 John Levon <levon@movementarian.org>
4889 * gettext.C: remove the broken asserts for now
4891 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4893 * messages.C: make case where setlocale cannot comply work better.
4895 * buffer.C (updateDocLang): new function
4896 (changeLanguage): use it
4899 * text2.C (setCounter): use B_ a bit.
4901 * lyxlayout.C (Read): be sure to trim the label strings.
4903 * messages.C (Messages): fix typo in comment
4905 * buffer.C (readFile): set message_ after file is loaded.
4906 (makeDocBookFile): remove double return
4907 (changeLanguage): reset message_ upon language change.
4908 (B_): new func, use this to get translated buffer strings.
4910 * main.C: add myself and Jean Marc as authors.
4912 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4914 * messages.[hC]: pimplify Messages, and three different pimpls to be
4915 used in different circumstances.
4917 * gettext.[Ch]: change for use with new message code.
4919 2003-04-24 André Pönitz <poenitz@gmx.net>
4921 * factory.C: support for eqref
4923 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4925 * messages.[Ch]: add missing char
4927 * Makefile.am (lyx_SOURCES): add messages.[Ch]
4929 * messages.[Ch]: New files
4931 2003-04-18 John Levon <levon@movementarian.org>
4935 * BufferView_pimpl.C:
4939 * text2.C: remove layout-copy/paste (bug 778)
4941 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4943 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4945 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4947 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4948 if they succeed. Act accordingly.
4950 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4952 * text2.C (setCharFont): adjust
4953 (setCounter): adjust
4954 (insertStringAsLines): adjust
4956 * text.C (leftMargin): adjust
4957 (setHeightOfRow): adjust
4959 * rowpainter.C (paintFirst): adjust
4962 * paragraph_funcs.C (depthHook): ParagraphList::iterators
4964 (isFirstInSequence): ditto
4965 (getEndLabel): ditto
4968 * paragraph.C (getParLanguage): comment out some hard stuff.
4970 * buffer.C (insertStringAsLines): take a ParagraphList as arg
4972 (simpleDocBookOnePar): ditto
4973 (makeDocBookFile): use ParagraphList::iterator
4975 * CutAndPaste.C (pasteSelection): adjust
4977 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4979 * text2.C (getFont): adjust
4980 (getLayoutFont): adjust
4981 (getLabelFont): adjust
4983 * paragraph_funcs.C (TeXOnePar): adjust
4985 * buffer.C (simpleLinuxDocOnePar): adjust
4986 (simpleDocBookOnePar): adjust
4988 * CutAndPaste.C (pasteSelection): adjust
4990 * BufferView.C (getEncoding): adjust
4992 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4994 2003-04-16 John Levon <levon@movementarian.org>
4996 * lyxfind.C: use parlist stuff for search/changes
4998 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5000 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5002 * text2.C (deleteEmptyParagraphMechanism): adjust
5004 * text2.[Ch] (ownerParagraph): delete func (both of them
5006 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5008 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5010 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5012 * ParagraphList.C: prepare for NO_NEXT
5014 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5016 * text2.C (getFont): adjust
5017 (getLayoutFont): adjust
5018 (getLabelFont): adjust
5020 * paragraph.C (getFont): adjust
5021 (getLabelFont): adjust
5022 (getLayoutFont): adjust
5024 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5026 2003-04-15 John Levon <levon@movementarian.org>
5030 * lyx_main.C: handle Include in .ui files
5032 2003-04-15 John Levon <levon@movementarian.org>
5034 * MenuBackend.C: make the doc files length shorter
5037 * ToolbarBackend.C: handle toolbar placement flags,
5040 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5042 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5045 * paragraph_funcs.C (TeXOnePar): adjust
5047 * paragraph.C (getLabelFont): add outerfont arg, adjust
5048 (getLayoutFont): ditto
5049 (simpleTeXOnePar): adjust
5051 * paragraph_pimpl.C (realizeFont): delete func
5053 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
5055 * text2.C (beforeFullRowInset): added a bad getchar check, removed
5056 row argument, constify cur argument.
5058 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5060 * text2.C (getFont): adjust
5061 (getLayoutFont): adjust
5062 (getLabelFont): adjust
5064 * paragraph_funcs.C (TeXOnePar): adjust
5065 (outerFont): new func...
5066 (realizeFont): ...moved out from here, changed this to facilitate
5069 * paragraph.C (getFont): take outerfont as arg, adjust
5070 (simpleTeXOnePar): add outerfont arg, adjust
5072 * buffer.C (simpleLinuxDocOnePar): adjust
5073 (simpleDocBookOnePar): adjust
5075 * CutAndPaste.C (pasteSelection): adjust
5077 * BufferView.C (getEncoding): adjust
5079 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5081 * text2.C (setCharFont): adjust
5082 (setCounter): adjust
5084 * text.C (leftMargin): adjust
5085 (setHeightOfRow): adjust
5087 * rowpainter.C (paintFirst): adjust
5090 * paragraph_pimpl.C (realizeFont): adjust
5092 * paragraph.C (isFirstInSequence): move from here...
5093 * paragraph_funcs.C (isFirstInSequence): ...to here
5095 * paragraph.C (outerHook): move from here...
5096 * paragraph_funcs.C (outerHook): ...to here
5098 * paragraph.C (depthHook): move from here...
5099 * paragraph_funcs.C (depthHook): ...to here
5101 * paragraph.C (getEndLabel): move from here...
5102 * paragraph_funcs.C (getEndLabel): ...to here
5104 * text2.C (realizeFont): move from here...
5105 * paragraph_funcs.C (realizeFont): ...to here
5107 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5109 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5111 2003-04-14 Angus Leeming <leeming@lyx.org>
5113 * LColor.[Ch]: scrap LColor mathcursor.
5115 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5117 * lyxlex.[Ch] (text): delete function
5118 * trans.C (Load): adjust
5119 * paragraph_funcs.C (readParToken): adjust
5121 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5123 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5124 vector<char> instead of a char[].
5126 * lyxlex_pimpl.C (getString): adjust
5128 (lex): use getString
5132 * lyxlex.C (text): use pimpl_->getString()
5136 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5138 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5139 (makeFontEntriesLayoutSpecific): temp var for par.size()
5140 (setLayout): temp var for ownerParagraphs().end()
5141 (fullRebreak): temp var for rows().end()
5142 (selectionAsString): temp var for boost::next(startpit), realize
5143 that the while really is a regular for loop.
5144 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5145 setCursor in one place.
5146 (setParagraph): temp vr for ownerParagraphs().end()
5147 (updateCounters): make the while loop a for loop
5148 (cutSelection): temp var for ownerParagraphs().end()
5149 (updateInset): make the do {} while() a regular for loop
5150 (getCursorX): use temp vars
5151 (setCurrentFont): use temp vars
5152 (getColumnNearX): use temp vars
5154 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5156 * text.C (transformChar): use temp var for getChar
5157 (computeBidiTables): use temp var for row->par()
5158 (fill): move temp vars for row->par() and pit->layout() earlier in
5160 (labelFill): use temp var for row->par()
5161 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5162 asc and desc, realize that pit never changes and that firstpit is
5163 just a duplicate and not needed. Exchange rit->par() with pit in a
5165 (breakAgain): use a temp var for boost::next(rit)
5166 (breakAgainOneRow): ditto
5167 (breakParagraph): use a temp var for rows().begin()
5168 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5169 (cursorRightOneWord): use temp var for cursor.par() and
5170 cursor.pos(), remove usage of tmpcursor.
5171 (cursorLeftOneWord): use temp var for cursor.par() and
5172 cursor.pos() only set cur at end of function.
5174 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5176 * text.C, text2.C: exchange all usage of Paragraph::next with
5177 boost::next(ParagraphList::iterator)
5179 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5181 * text2.C (cursorTop): simplify implementation
5182 (cursorBottom): ditto
5183 (setParagraph): use ParagraphList::iterator
5184 (setCurrentFont): adjust
5185 (getColumnNearX): adjust
5186 (cursorRight): adjust
5187 (cursorLeft): remove usage of Paragraph::previous
5188 (cursorUpParagraph): ditto
5189 (deleteEmptyParagraphMechanism): slight cleanup
5191 * text.C (isBoundary): take a Paragraph const & instead of a
5193 (addressBreakPoint): ditto
5194 (leftMargin): remove usage of Paragraph::previous.
5195 (setHeightOfRow): ditto
5196 (cursorLeftOneWord): ditto
5197 (selectNextWordToSpellcheck): ditto
5200 (breakParagraph): remove one usage of Paragraph::next
5201 (redoParagraph): ditto
5202 (acceptChange): ditto
5203 (insertChar): adjust
5204 (rowBreakPoint): adjust
5206 * bufferview_funcs.C (toggleAndShow): adjust
5208 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
5210 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5211 methods to access it.
5213 * text.C: Added updateRowPositions to compute all row positions.
5214 Make top_y and getRowNearY() to use the cached y position
5216 2003-04-11 John Levon <levon@movementarian.org>
5218 * text.C (rowBreakPoint): reintroduce the labelEnd
5219 checks, code copied from the row fill stuff. Deep voodoo.
5221 * text.C (fill): add a comment and debugging for the
5224 2003-04-11 John Levon <levon@movementarian.org>
5226 * text.C: make sure fullrow insets get wrapped to the next line,
5227 even when they're in a manual label
5229 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5231 * text2.C (insertParagraph): make it take ParagraphList::iterator
5233 (setLayout): make it return ParagraphList::iterator
5234 (redoParagraphs): ditto
5236 (checkParagraph): ditto
5238 * text.C (getRow): make getrow take ParagraphList::iterator as arg
5240 * text2.C: adjust several funcs.
5241 (realizeFont): take a ParagraphList::iterator as arg.
5242 (getLayoutFont): ditto
5243 (getLabelFont): ditto
5244 (setCharFont): ditto
5246 * text.C: adjust several funcs.
5248 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5250 * text.C (selectNextWordToSpellcheck): don't accidentally
5253 2003-04-10 John Levon <levon@movementarian.org>
5255 * ToolbarBackend.C (getIcon): special handling for
5258 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5260 * text2.C (cursorRight): a getChar assert fixed
5262 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5264 * text2.C (getFont): change to take a ParagraphList::iterator
5265 instead of Paragraph*
5266 Adjust several functions.
5268 * text.C (transformChar): change to take a ParagraphList::iterator
5269 instead of Paragraph*
5270 (singleWidth): ditto
5271 Adjust several functions.
5273 * rowpainter.C: adjust several functions
5274 * rowpainter.h:store a ParagraphList::iterator and not a
5278 2003-04-09 John Levon <levon@movementarian.org>
5283 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5284 and the "help" bits as well
5286 2003-04-09 John Levon <levon@movementarian.org>
5289 * ToolbarBackend.C: allow multiple toolbars
5291 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5293 * undo_funcs.C (setCursorParUndo): adjust
5295 * text_funcs.C (transposeChars): adjust
5297 * text3.C (gotoNextInset): adjust
5300 * text2.C (setLayout): adjust
5301 (changeDepth): adjust
5303 (redoParagraphs): adjust
5304 (selectionAsString): adjust
5305 (setParagraph): adjust
5306 (insertInset): adjust
5307 (cutSelection): adjust
5308 (copySelection): adjust
5309 (pasteSelection): adjust
5310 (insertStringAsLines): adjust
5311 (updateInset): adjust
5312 (setCursor): change to take a ParagraphList::iterator parameter
5313 (setCursorIntern): change to take a ParagraphList::iterator parameter
5314 (setCurrentFont): adjust
5315 (cursorLeft): adjust
5316 (cursorRight): adjust
5317 (deleteEmptyParagraphMechanism): adjust
5319 * text.C (breakParagraph): adjust
5320 (insertChar): adjust
5321 (acceptChange): adjust
5322 (rejectChange): adjust
5323 (selectNextWordToSpellcheck): adjust
5324 (changeCase): adjust
5328 * lyxfind.C (SearchForward): adjust
5329 (SearchBackward): adjust
5330 (nextChange): adjust
5332 * lyxcursor.C (par): adjust
5334 * lyxcursor.h: store a ParagraphList::iterator instead of a
5337 * lyx_cb.C (getPossibleLabel): adjust
5339 * bufferview_funcs.C (toggleAndShow): adjust
5341 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5344 * BufferView.C (removeAutoInsets): adjust
5345 (lockedInsetStoreUndo): adjust
5347 2003-04-09 John Levon <levon@movementarian.org>
5349 * ToolbarBackend.C: try icon without argument
5350 if with argument fails
5352 2003-04-08 John Levon <levon@movementarian.org>
5355 * ToolbarBackend.C: add getIcon(), handle tooltip,
5356 and change from "Icon" to "Item".
5358 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5360 * BufferView.C (lockInset): another bad getchar crunched
5362 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5364 * text2.C (changeDepth): do not setUndo on test_only (make undo work
5367 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
5369 * lyxfind.C (searchForward, searchBackwards): bug 782
5371 2003-04-07 John Levon <levon@movementarian.org>
5373 * paragraph.C: remove dead comment
5375 * text.C: remove troublesome depth-fiddling code
5376 in leftMargin() and rightMargin() (bug 1017)
5378 * text.C: fix breaking of rows in nested lists
5381 * text2.C (updateCounters): fix up depth values
5384 2003-04-07 John Levon <levon@movementarian.org>
5386 * BufferView_pimpl.C: clear message when doc finishes resizing,
5387 and after a mouse event
5389 * lyxfunc.C: clear message after exiting inset
5391 2003-04-07 John Levon <levon@movementarian.org>
5393 * bufferview_funcs.C: show math status not outside
5394 status in the statusbar
5396 2003-04-07 John Levon <levon@movementarian.org>
5398 * lyxfunc.C: note status changed after a depth change
5400 2003-04-04 Angus Leeming <leeming@lyx.org>
5402 * LaTeX.h: move AuxInfo operator==, != out of line.
5403 Remove LaTeX virtual destructor; nothing derives from it.
5404 Move operator()() out of public area and rename it startscript().
5405 Change protected for private.
5407 2003-04-04 Angus Leeming <leeming@lyx.org>
5410 * text2.C: remove unneeded #includes.
5412 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5414 * text2.C (dEPM): fix the heigth of the next row
5416 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5418 * text.C: squashed an invalid getChar requester + some ws changes
5420 2003-04-03 John Levon <levon@movementarian.org>
5422 * bufferview_funcs.h:
5423 * bufferview_funcs.C:
5426 * text2.C: make getStatus work for the env depth lfuns
5428 2003-04-03 John Levon <levon@movementarian.org>
5430 * bufferview_funcs.h:
5431 * bufferview_funcs.C:
5434 * text2.C: parlistize decDepth(), by merging it with incDepth()
5436 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5438 * lyxrow.h: store a ParagraphList::iterator instead of a
5439 Paragraph* and adjust other class functions to suit.
5441 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5444 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5446 * text2.C (setCursor): do not anchor to cursor row for the time being
5448 2003-04-02 John Levon <levon@movementarian.org>
5455 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5457 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5459 * paragraph.h: make ParagraphList and ParagraphList::iterator
5460 friends of Paragraph.
5462 * buffer.C (makeLinuxDocFile): move towards ParagraphList
5464 * ParagraphList.C: Use the private next_ and previous_ from
5467 2003-04-01 John Levon <levon@movementarian.org>
5471 * Makefile.am: rename, remove defaults gunk
5474 * MenuBackend.C: remove defaults gunk
5477 * Languages.C: remove defaults gunk
5480 * lyx_main.C: error out if files couldn't be found.
5482 2003-04-02 John Levon <levon@movementarian.org>
5484 * text2.C: make incDepth() use parlist
5486 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5488 * undo_funcs.C (firstUndoParagraph): adjust
5490 * text3.C (gotoInset): adjust
5491 (dispatch): adjust, and rewrite loop.
5493 * text2.C (init): adjust, and rewrite loop.
5494 (redoParagraphs): adjust
5495 (updateInset): adjust, and rewrite loop.
5496 (deleteEmptyParagraphMechanism): adjust
5498 * tabular.C (LyXTabular): adjust
5499 (SetMultiColumn): adjust
5502 * lyxtext.[Ch] (ownerParagraph): delete function
5503 (ownerParagraphs): new function returns a ParagraphList.
5505 * BufferView.C (removeAutoInsets): adjust
5506 (insertErrors): adjust
5507 (setCursorFromRow): adjust
5509 2003-04-01 Angus Leeming <leeming@lyx.org>
5511 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5514 2003-04-02 John Levon <levon@movementarian.org>
5520 * text_funcs.C: make transposeChars a free function
5522 * lyxrow_funcs.C: remove wrong comment
5524 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5527 * rowpainter.C: adjust
5532 * lyxrow_funcs. [Ch]: new files
5534 * lyxrow.[Ch]: remove next and previous pointers
5535 (next,previous): remove accessor functions
5536 (isParEnd): move to lyxrow_funcs
5537 (lastPos): move to lyxrow_funcs
5538 (nextRowIsAllInset): move to lyxrow_funcs
5539 (lastPrintablePos): move to lyxrow_funcs
5540 (numberOfSeparators): move to lyxrow_funcs
5541 (numberOfHfills): move to lyxrow_funcs
5542 (numberOfLabelHfills): move to lyxrow_funcs
5543 (hfillExpansion): move to lyxrow_funcs
5547 * bufferview_funcs.C (toggleAndShow): adjust
5549 * RowList.h: Remove class RowList from file leave just a
5552 * RowList.C: delete file
5554 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5557 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5559 * text3.C (cursorPrevious): adjust
5560 (cursorNext): adjust
5563 * text2.C (redoHeightOfParagraph): adjust
5564 (redoDrawingOfParagraph): adjust
5567 * text.C (breakParagraph): adjust
5568 (insertChar): adjust
5571 * rowpainter.C (RowPainter): adjust
5572 (leftMargin): simplify and adjust
5573 (most rowpainter functions): adjust.
5575 * rowpainter.h: store the row as RowList::iterator not as Row*
5577 * lyxcursor.C (row): taka RowList::iterator as arg
5580 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5583 2003-04-01 Angus Leeming <leeming@lyx.org>
5585 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5586 stuff like bool Bool.
5588 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5590 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5593 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5595 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5598 * lyxtext.h (rows): drop one version and leve a const variant that
5599 returns a RowList::iterator.
5601 2003-03-31 Angus Leeming <leeming@lyx.org>
5603 * text.C (fill): ensure that the signature is the same as that in the
5606 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
5608 * text2.C (redoParagraphs): adjust
5609 (updateCounters): adjust
5610 (checkParagraph): adjust
5611 (getColumnNearX): adjust and reformat a bit.
5613 * text.C (top_y): adjust
5615 (leftMargin): adjust
5616 (prepareToPrint): adjust
5618 (getRowNearY): adjust
5620 * lyxtext.h: make rowlist_ mutable.
5622 * RowList.h: add const_iterator
5623 * RowList.C: adjust for RowList::const_iterator.
5625 * text2.C (getCursorX): make it take a RowList::iterator as arg,
5628 2003-03-31 John Levon <levon@movementarian.org>
5631 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5633 * lyx_main.C: set default fonts from using lyx_gui funcs
5635 * exporter.C: pdf_mode moved from lyxrc
5638 * lyxfunc.C: changes from above
5640 2003-03-31 John Levon <levon@movementarian.org>
5642 * lyx_main.C: fix to the last fix
5644 2003-03-31 John Levon <levon@movementarian.org>
5646 * bufferlist.C: "Load original" -> "Load Original"
5652 * format.C: more Alert cleanups
5654 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5656 * text2.C (removeParagraph): make it take a RowList::iterator as
5658 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5659 (postRowPaint): make it take a RowList::iterator as arg, adjust.
5661 * text.C (anchor_row): make it take a RowList::iterator as arg,
5663 (computeBidiTables): make it take a const reference to Row instead
5664 of Row pointer, adjust.
5665 (leftMargin): make it take a RowList::iterator as arg, adjust.
5666 (rowBreakPoint): adjust
5667 (breakAgainOneRow): make it take a RowList::iterator as arg,
5669 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5671 * bufferview_funcs.C (toggleAndShow): adjust
5673 2003-03-30 John Levon <levon@movementarian.org>
5677 * boost-inst.C: moved to support
5679 * several files: changes as a result
5681 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5683 * text2.C (LyXText): adjust.
5685 (removeRow): make it take a RowList::iterator as arg, adjust.
5686 (fullRebreak): adjust
5687 (deleteEmptyParagraphMechanism): adjust
5688 (clearPaint): adjust
5691 * text.C (top_y): adjust
5692 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5693 (breakAgain): make it take a RowList::iterator as arg, adjust.
5694 (breakParagraph): adjust
5695 (insertChar): adjust
5698 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5699 need_break_row, and refresh_row.
5701 * text3.C (dispatch): adjust
5703 * text2.C (checkParagraph): adjust
5705 (setCursorFromCoordinates): adjust
5707 * text.C (top_y): adjust
5709 (getRow): make it return a RowList::iterator, adjust
5710 (getRowNearY): make it return a RowList::iterator, adjust
5712 * text2.C (init): adjust
5713 (insertRow): remove function
5714 (insertParagraph): adjust
5715 (redoParagraphs): adjust
5716 (fullRebreak): adjust
5717 (updateCounters): adjust
5719 * text.C (top_y): rewrite to use RowList iterators.
5721 (setHeightOfRow): rewrite to sue RowList iterators.
5722 (appendParagraph): adjust
5723 (breakAgain): adjust
5724 (breakAgainOneRow): adjust
5725 (breakParagraph): adjust
5727 (getRowNearY): adjust, and remove commented code.
5729 * lyxtext.h (firstRow): delete function
5730 (lastRow): delete function
5731 (rows): new function (const and non-const versions.)
5732 (insertRow): delete function
5734 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5736 2003-03-29 John Levon <levon@movementarian.org>
5738 * BufferView_pimpl.C: always update scrollbar top
5739 because pasting text when we're anchored could mean we
5740 miss an update altogether
5742 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5744 * text2.C (init): use rowlist_.end() and not 0.
5745 (insertRow): change to take a RowList::iterator as arg, adjust
5747 (insertParagraph): change to take a RowList::iterator as arg,
5749 (redoParagraphs): remove some debug msgs.
5751 * text.C (appendParagraph): change to take a RowList::iterator
5752 arg, adjust for this.
5753 (breakAgain): add an assert
5754 (breakAgainOneRow): ditto
5756 2003-03-29 John Levon <levon@movementarian.org>
5758 * text2.C: do not clear selection after inc/decDepth
5761 2003-03-29 John Levon <levon@movementarian.org>
5764 * buffer.C: fix broken strerrors according to Lars
5766 2003-03-29 John Levon <levon@movementarian.org>
5768 * converters.C: more Alert cleanups
5770 2003-03-29 John Levon <levon@movementarian.org>
5772 * bufferview_funcs.C: remove pointless Alert
5774 * buffer.C: fix confusing error message when
5775 a template is chmoded 000
5777 2003-03-29 John Levon <levon@movementarian.org>
5781 * BufferView_pimpl.C: Alert fixes
5785 * tabular-old.C: remove unused table compat reading
5787 2003-03-29 John Levon <levon@movementarian.org>
5792 * lyx_cb.C: more Alert cleanups
5794 * lyxfunc.C: don't allow chktex if not latex document
5796 2003-03-29 John Levon <levon@movementarian.org>
5800 * buffer.C: warnings pushed down from support/,
5803 2003-03-29 John Levon <levon@movementarian.org>
5805 * lyxfunc.C: safety check for C-r (revert)
5807 2003-03-29 John Levon <levon@movementarian.org>
5810 * bufferlist.C: several UI fixes using Alert::prompt.
5811 Fix the pointless looping quit code. Fix stupid revert
5816 * lyx_cb.C: use Alert::prompt
5818 * lyx_main.C: remove a silly question
5820 * lyxfunc.C: remove a couple of silly questions,
5823 2003-03-28 John Levon <levon@movementarian.org>
5825 * text2.C: fix bug 974 (End on empty par)
5827 2003-03-28 John Levon <levon@movementarian.org>
5829 * BufferView_pimpl.C:
5831 * lfuns.h: remove do-nothing math greek lfuns
5833 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5835 * lyxgluelength.h (isValidGlueLength): add default arg on
5836 parameter 2. Remove default arg from friend in class.
5838 * lyxlength.h (isValidLength): add default arg on parameter 2.
5839 Remove default arg from friend in class.
5841 * text2.C (LyXText): adjust, initialize refresh_row.
5845 (insertParagraph): adjst
5846 (redoParagraphs): adjust
5847 (fullRebreak): adjust
5848 (updateCounters): adjust
5849 (deleteEmptyParagraphMechanism): first attempt at fixing a
5852 * text.C (top_y): adjust
5853 (setHeightOfRow): adjust
5855 (getRowNearY): adjust
5857 * lyxtext.h: include RowList.h
5858 (~LyXText): not needed anymore, deleted.
5859 (firstRow): modify for RowList
5860 (lastRow): new function
5861 Delete firstrow and lastrow class variables, add a Rowlist
5862 rowlist_ class variable.
5864 * lyxrow.C (lastPos): use empty() and not !size() to check if a
5867 * RowList.C (insert): fix case where it == begin().
5869 2003-03-26 Angus Leeming <leeming@lyx.org>
5871 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5872 the thesaurus dialog.
5874 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5876 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5878 * RowList.[Ch]: new files
5880 * ParagraphList.C (erase): handle the case where it == begin
5883 2003-03-25 John Levon <levon@movementarian.org>
5887 * aspell.C: add new aspell support
5890 * lyxrc.C: Make use_pspell be use_spell_lib. Always
5893 2003-03-25 Angus Leeming <leeming@lyx.org>
5896 * LyXAction.C (init): new LFUN_INSET_INSERT.
5898 * BufferView_pimpl.C (dispatch): split out part of the
5899 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5901 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5904 2003-03-25 Angus Leeming <leeming@lyx.org>
5906 * lyxfunc.C (dispatch): changes to the Dialogs interface.
5908 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
5911 * text3.C: remove useless row->height(0)
5913 2003-03-25 John Levon <levon@movementarian.org>
5917 * text3.C: rename the refreshing stuff to better names
5919 2003-03-24 John Levon <levon@movementarian.org>
5921 * BufferView_pimpl.h:
5922 * BufferView_pimpl.C: update layout choice on a mouse
5925 2003-03-23 John Levon <levon@movementarian.org>
5927 * Makefile.am: fix commandtags.h reference
5929 2003-03-22 John Levon <levon@movementarian.org>
5931 * BufferView_pimpl.C:
5936 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5938 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
5941 * text.C: take the rtl methods out of line
5943 2003-03-21 André Pönitz <poenitz@gmx.net>
5945 * metricsinfo.[Ch]: new files containing structures to be passed around
5946 during the two-phase-drawing...
5948 2003-03-21 André Pönitz <poenitz@gmx.net>
5950 * lyxtextclass.C: read 'environment' tag.
5952 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
5954 * text2.C (removeRow): fix bug 964
5956 2003-03-20 John Levon <levon@movementarian.org>
5960 * text2.C: paint cleanups. Inset::update() dropped font
5963 2003-03-19 John Levon <levon@movementarian.org>
5965 * lyxfunc.C: only fitcursor/markDirty if available()
5967 2003-03-19 John Levon <levon@movementarian.org>
5969 * commandtags.h: rename to ...
5971 * lfuns.h: ... this, and renumber / cleanup
5973 2003-03-19 John Levon <levon@movementarian.org>
5975 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5976 fit the cursor after an lfun
5980 * BufferView_pimpl.h:
5981 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5983 * LyXAction.C: layout-character should have ReadOnly
5985 * ParagraphParameters.C:
5987 * bufferview_funcs.C:
5994 * undo_funcs.C: changes from above
5996 2003-03-18 John Levon <levon@movementarian.org>
5998 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5999 remove it from update()
6001 * lyxfunc.C: update layout choice after an lfun
6003 * text3.C: remove extra updateLayoutChoice()s
6005 2003-03-18 John Levon <levon@movementarian.org>
6007 * text.C: top_y change means full repaint, fix
6008 a drawing bug with cursor movement
6010 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6014 * text2.C: anchor row on setCursor
6016 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6018 * lyxtext.h: remove almost all mutable keywords
6021 * text3.C: remove const keywords accordingly
6023 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6025 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6027 (TeXEnvironment): ditto
6030 2003-03-17 John Levon <levon@movementarian.org>
6032 * text.C (rowBreakPoint): remove attempt to fix displayed
6033 math insets inside a manual label
6035 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6037 * lyxtext.h: remove BufferView* as first arg from almost all class
6039 * other files: adjust.
6041 2003-03-17 John Levon <levon@movementarian.org>
6045 * text2.C: more paint cleanups
6047 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6050 * rowpainter.C: remove "smart" background painting code
6052 2003-03-16 John Levon <levon@movementarian.org>
6057 * text3.C: add helper functions for setting refresh_row/y
6059 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
6061 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6062 newline inset which *can* get inserted in the pass_thru layouts.
6063 This is primarily for literate documents.
6065 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
6067 * buffer.C: increment LYX_FORMAT to 223
6069 2003-03-14 André Pönitz <poenitz@gmx.net>
6071 * textclass.h: prepare for environment handling, ws changes
6072 * lyxlayout.C: read latexheader and latexfooter tags
6074 2003-03-14 John Levon <levon@movementarian.org>
6076 * text2.C: rewrite ::status() a bit
6078 2003-03-13 John Levon <levon@movementarian.org>
6080 * lyxtext.h: add some docs
6082 2003-03-13 John Levon <levon@movementarian.org>
6087 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6089 2003-03-13 John Levon <levon@movementarian.org>
6091 * text3.C: fix appendix redrawing
6093 2003-03-13 John Levon <levon@movementarian.org>
6095 * text.C (setHeightOfRow):
6097 * rowpainter.C: make appendix mark have the text
6098 "Appendix" so the user knows what it is
6101 * LColor.C: s/appendixline/appendix/ from above
6103 2003-03-13 John Levon <levon@movementarian.org>
6105 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6107 * text.C: fix a getChar(pos) bug properly
6109 2003-03-13 Angus Leeming <leeming@lyx.org>
6112 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6113 Probably only temporary. Let's see how things pan out.
6115 * BufferView.C (unlockInset):
6116 * BufferView_pimpl.C (fitCursor):
6117 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6119 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6120 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6122 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6123 new functions that convert ParagraphParameters to and from a string.
6125 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6126 BufferView::Pimpl's dispatch.
6127 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6129 2003-03-13 André Pönitz <poenitz@gmx.net>
6133 * factory.C: make it aware of InsetEnv
6135 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6137 * text2.C (setCursor): never ask for one past last
6138 (setCursor): add some debugging messages.
6140 * text.C (singleWidth): never ask for one past last
6141 (singleWidth): ditto
6143 (rightMargin): ditto
6144 (rowBreakPoint): ditto
6145 (setHeightOfRow): ditto
6146 (prepareToPrint): ditto
6148 * rowpainter.C (paintBackground): never ask for one past last
6149 (paintText): never ask for one past last
6151 * paragraph_pimpl.C (getChar): make the assert stricter, never
6152 allow the one past last pos to be taken
6154 * paragraph.C (getChar): ws changes only
6156 * lyxrow.C (nextRowIsAllInset): never ask for one past last
6157 (numberOfSeparators): ditto
6158 (numberOfHfills): ditto
6160 2003-03-12 John Levon <levon@movementarian.org>
6166 * paragraph_funcs.C: fix per-buffer authorlists
6168 2003-03-12 John Levon <levon@movementarian.org>
6170 * text.C: fix newline in right address
6172 2003-03-12 Angus Leeming <leeming@lyx.org>
6174 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6175 duplicate those in LyXFunc::dispatch.
6179 * ToolbarDefaults.C:
6180 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6181 Add LFUN_FONTFREE_UPDATE.
6183 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6184 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6186 * bufferview_func.[Ch]: several new functions to facilliate
6187 transfer of data to and from the character dialog.
6189 2003-03-12 John Levon <levon@movementarian.org>
6194 * paragraph_funcs.C:
6195 * paragraph_pimpl.C:
6199 * text3.C: remove META_NEWLINE in favour of an inset
6202 * rowpainter.C: remove paintNewline (done by inset)
6204 2003-03-12 John Levon <levon@movementarian.org>
6206 * paragraph_pimpl.C: complain about bad getChar()s
6207 for a while at least
6209 2003-03-12 John Levon <levon@movementarian.org>
6212 * buffer.C: move paragraph read into a separate function,
6213 a little renaming to reflect that.
6216 * bufferparams.C: remove the author_ids map, not necessary now
6219 * factory.C: moved Buffer::readInset to here
6221 * paragraph_funcs.h:
6222 * paragraph_funcs.C: readParagraph free function moved from
6225 * tabular.C: name change
6227 2003-03-12 John Levon <levon@movementarian.org>
6230 * ParagraphParameters.C: move par params input to
6233 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6234 behave like a normal read from the stream wrt reading
6235 a line vs. a \\token
6237 2003-03-12 John Levon <levon@movementarian.org>
6240 * ParagraphParameters.h:
6241 * ParagraphParameters.C: move output code to a
6244 2003-03-12 John Levon <levon@movementarian.org>
6246 * BufferView.C (insertLyXFile):
6249 * tabular.C: use a parlist iterator for creating the
6252 2003-03-12 John Levon <levon@movementarian.org>
6254 * buffer.C: make current_change static local not
6257 2003-03-12 John Levon <levon@movementarian.org>
6259 * buffer.C: fix insertStringAsLines for change tracking
6261 2003-03-12 John Levon <levon@movementarian.org>
6268 * bufferparams.C: move author list into params. Rename some
6269 functions. Move the header reading into a separate token
6270 loop. Move the header token reading into BufferParams.
6272 2003-03-12 John Levon <levon@movementarian.org>
6274 * changes.C: put debug inside lyxerr.debugging() checks
6276 2003-03-11 André Pönitz <poenitz@gmx.net>
6278 * factory.C: make it aware of InsetHFill
6280 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6282 * buffer.C (latexParagraphs): move function from here...
6283 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6286 2003-03-10 Angus Leeming <leeming@lyx.org>
6288 * LyXAction.C (init): fix bug in poplating array with multiple entries
6289 with the same LFUN (spotted by JMarc).
6291 2003-03-10 John Levon <levon@movementarian.org>
6294 * text2.C: move getColumnNearX() near its
6297 2003-03-10 John Levon <levon@movementarian.org>
6299 * text.C: fix break before a minipage
6301 2003-03-10 John Levon <levon@movementarian.org>
6303 * text.C: fix the last commit
6305 2003-03-09 John Levon <levon@movementarian.org>
6309 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6310 bug 365 (don't break before insets unless needed). Don't
6311 return a value > last under any circumstances.
6313 2003-03-09 Angus Leeming <leeming@lyx.org>
6315 * BufferView_pimpl.C (trackChanges, dispatch): call
6316 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6318 2003-03-09 Angus Leeming <leeming@lyx.org>
6320 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6321 than Dialogs::showAboutlyx().
6323 2003-03-09 Angus Leeming <leeming@lyx.org>
6325 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6326 than Dialogs::showTabularCreate().
6328 2003-03-09 John Levon <levon@movementarian.org>
6332 * text2.C: 3rd arg to nextBreakPoint was always the same.
6335 2003-03-08 John Levon <levon@movementarian.org>
6342 * text2.C: Remove the "main" bit from the "main body"
6345 2003-03-08 John Levon <levon@movementarian.org>
6347 * text.C (leftMargin): The left margin of an empty
6348 manual label paragraph should not include the label width
6351 * text.C (prepareToPrint): don't attempt to measure hfills
6352 for empty manual label paragraphs - the answer should be 0
6354 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6356 * CutAndPaste.C: remove commented code and reindent.
6358 2003-03-08 John Levon <levon@movementarian.org>
6361 * lyxfunc.C: move reloadBuffer()
6364 * BufferView.C: to here
6366 * lyxvc.C: add comment
6369 * vc-backend.C: call bv->reload() to avoid
6370 getStatus() check on MENURELOAD
6372 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
6374 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6375 to an old format .dep file.
6377 2003-03-07 Angus Leeming <leeming@lyx.org>
6379 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6380 when the LFUN_MOUSE_RELEASE should have been handled by
6381 inset->localDispatch.
6383 2003-03-07 Angus Leeming <leeming@lyx.org>
6385 * BufferView_pimpl.C (dispatch):
6386 * LyXAction.C (init):
6387 * ToolbarDefaults.C (init):
6389 * lyxfunc.C (getStatus):
6390 remove LFUN_INSET_GRAPHICS.
6392 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6394 2003-03-07 Angus Leeming <leeming@lyx.org>
6397 * LyXAction.C (init):
6398 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6400 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6403 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6405 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6406 localDispatch method LFUN_INSET_DIALOG_UPDATE.
6408 2003-03-07 Angus Leeming <leeming@lyx.org>
6410 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6413 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6415 * ParagraphList.C (front): new function
6418 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
6420 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6421 and top_row_offset_. removed var first_y.
6423 * text2.C (LyXText, removeRow):
6425 * BufferView_pimpl.C:
6426 use these methods instead of using first_y
6428 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6430 * text2.C (pasteSelection): adjust for checkPastePossible
6432 * CutAndPaste.C: remove Paragraph * buf and replace with
6433 ParagraphList paragraphs.
6434 (DeleteBuffer): delete
6435 (cutSelection): change the tc type to textclass_type
6436 (copySelection): change the tc type to textclass_type
6437 (copySelection): adjust for ParagraphList
6438 (pasteSelection): change the tc type to textclass_type
6439 (pasteSelection): adjust for Paragraphlist
6440 (nrOfParagraphs): simplify for ParagraphList
6441 (checkPastePossible): simplify for ParagraphList
6442 (checkPastePossible): remove unused arg
6444 * ParagraphList.C (insert): handle the case where there are no
6447 * CutAndPaste.h: make CutAndPaste a namespace.
6449 * text3.C (dispatch): adjust
6451 * text.C (breakParagraph): add a ParagraphList as arg
6453 * paragraph_funcs.C (breakParagraph): change to take a
6454 BufferParams and a ParagraphList as args.
6455 (breakParagraphConservative): ditto
6456 (mergeParagraph): ditto
6457 (TeXDeeper): add a ParagraphList arg
6458 (TeXEnvironment): ditto
6461 * buffer.C (readLyXformat2): adjust
6462 (insertStringAsLines): adjust
6463 (latexParagraphs): adjust
6465 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6466 (cutSelection): adjust
6467 (pasteSelection): adjust
6469 * BufferView_pimpl.C (insertInset): adjust
6471 2003-03-05 Angus Leeming <leeming@lyx.org>
6474 * LyXAction.C (init):
6475 * BufferView_pimpl.C (dispatch):
6476 * lyxfunc.C (getStatus):
6477 remove LFUN_CHILD_INSERT.
6479 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6481 2003-03-05 Angus Leeming <leeming@lyx.org>
6484 * LyXAction.C (init):
6485 * src/factory.C (createInset):
6486 * lyxfunc.C (getStatus):
6487 * text3.C (dispatch):
6488 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6490 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6492 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6494 * ParagraphList.C (insert): handle insert right before end()
6495 (erase): fix cases where it can be first or last paragraph.
6497 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6499 * paragraph_funcs.C (TeXEnvironment): remove all usage of
6500 Paragraph::next and Paragraph::previous
6503 * text.C (breakParagraph): adjust
6505 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6506 BufferParams& as arg.
6507 (breakParagraph): use ParagraphList::insert
6508 (breakParagraphConservative): take a Buffer* instead of a
6509 BufferParams& as arg.
6510 (breakParagraphConservative): use ParagraphList::insert.
6512 * buffer.C (insertStringAsLines): un-const it
6513 (insertStringAsLines): adjust
6515 * ParagraphList.C (insert): new function
6517 * CutAndPaste.C (pasteSelection): adjust
6519 * text.C (backspace): adjust
6521 * tabular.C (SetMultiColumn): adjust
6523 * CutAndPaste.C (cutSelection): adjust
6524 (pasteSelection): adjust
6526 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6527 Buffer const * as arg
6529 * ParagraphList.C (erase): new function
6530 * paragraph_funcs.C (mergeParagraph): use it
6531 (mergeParagraph): make it take a Buffer* instead of a
6532 BufferParams* as arg
6534 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6536 (breakParagraphConservative): ditto
6538 * paragraph.h: remove the breakParagraph friend
6540 * paragraph.C (eraseIntern): new function
6541 (setChange): new function
6543 * paragraph_funcs.C (mergeParagraph): make it take a
6544 ParagraphList::iterator instead of a Paragraph *, adjust
6547 * paragraph.h: move an #endif so that the change tracking stuff
6548 also works in the NO_NEXT case.
6550 2003-03-04 Angus Leeming <leeming@lyx.org>
6553 * LyXAction.C: new LFUN_INSET_MODIFY.
6555 * BufferView_pimpl.C (dispatch): if an inset is found to be open
6556 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6558 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6560 * several files: ws changes only
6562 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6563 (TeXEnvironment): ditto
6566 * buffer.C (makeLaTeXFile): adjust
6567 (latexParagraphs): make it take ParagraphList::iterator as args
6569 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6571 * buffer.C (latexParagraphs): adjust
6573 * paragraph.C (TeXOnePar): move function...
6574 (optArgInset): move function...
6575 (TeXEnvironment): move function...
6576 * paragraph_pimpl.C (TeXDeeper): move function...
6577 * paragraph_funcs.C: ...here
6579 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6581 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6583 * buffer.C (readInset): remove compability code for old Figure and
6586 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6588 * buffer.C: ws changes
6591 * BufferView_pimpl.C: ditto
6594 * bufferlist.h: ditto
6598 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
6600 * converter.[Ch]: split into itself +
6603 * Makefile.am: += graph.[Ch] + format.[Ch]
6610 * lyxrc.C: added #include "format.h"
6612 2003-02-27 Angus Leeming <leeming@lyx.org>
6614 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6617 * factory.C (createInset): add "label" to the factory.
6619 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6620 string and do no more.
6622 2003-02-27 Angus Leeming <leeming@lyx.org>
6625 * LyXAction.C (init):
6626 * factory.C (createInset):
6627 * BufferView_pimpl.C (dispatch):
6628 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6630 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6632 * lyxfunc.C (dispatch):
6633 * text3.C (dispatch): pass name to params2string.
6635 2003-02-26 Angus Leeming <leeming@lyx.org>
6637 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6639 Rearrange the ~includes. Strip out the unnecessary ones.
6641 * factory.C (createInset): reformat.
6642 create new insets for the various LFUN_XYZ_APPLY lfuns.
6644 2003-02-26 John Levon <levon@movementarian.org>
6647 * lyxrow.C: add isParStart,isParEnd helpers
6649 * paragraph.h: make isInserted/DeletedText take refs
6651 * paragraph_funcs.h:
6652 * paragraph_funcs.C: remove #if 0'd code
6657 * text.C: use lyxrow helpers above.
6658 Move draw and paint routines to RowPainter.
6659 Make several methods use refs not pointers.
6660 Make backgroundColor() const.
6661 Add markChangeInDraw(), isInInset().
6662 Merge changeRegionCase into changeCase.
6663 Make workWidth() shouldn't-happen code into an Assert.
6666 * rowpainter.C: new class for painting a row.
6669 * vspace.C: make inPixels take a ref
6671 2003-02-26 Angus Leeming <leeming@lyx.org>
6673 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6676 2003-02-25 John Levon <levon@movementarian.org>
6678 * ispell.C: give the forked command a more accurate name
6680 2003-02-22 John Levon <levon@movementarian.org>
6683 * toc.C: make TocItem store an id not a Paragraph *
6686 2003-02-21 Angus Leeming <leeming@lyx.org>
6688 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6689 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6690 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6691 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6692 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6693 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6695 * BufferView_pimpl.C (dispatch):
6696 * LyXAction.C (init):
6697 * factory.C (createInset):
6698 * lyxfunc.C (getStatus, dispatch):
6699 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6701 2003-02-21 Angus Leeming <leeming@lyx.org>
6703 * BufferView_pimpl.C (MenuInsertLyXFile):
6704 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6705 * lyxfunc.C (menuNew, open, doImport):
6706 no longer pass a LyXView & to fileDlg.
6708 2003-02-21 Angus Leeming <leeming@lyx.org>
6710 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6711 * LyXAction.C: change, BIBKEY to BIBITEM.
6712 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6713 Change InsetBibKey to InsetBibitem.
6714 Change BIBKEY_CODE to BIBITEM_CODE.
6715 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6716 * factory.C: replace insetbib.h with insetbibitem.h.
6717 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6718 * paragraph.C: replace insetbib.h with insetbibitem.h.
6719 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6720 Change bibkey() to bibitem().
6721 * text.C: remove insetbib.h.
6722 * text2.C: replace insetbib.h with insetbibitem.h.
6723 change bibkey() to bibitem().
6724 * text3.C: remove insetbib.h.
6725 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6727 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6729 * lyxrc.C (output): enclose user email in quotes (in case there are
6732 2003-02-18 John Levon <levon@movementarian.org>
6734 * buffer.h: add std::
6736 2003-02-17 John Levon <levon@movementarian.org>
6742 * pspell.C: reworking. Especially in ispell, a large
6743 number of clean ups and bug fixes.
6745 * lyxfunc.C: fix revert to behave sensibly
6747 2003-02-17 André Pönitz <poenitz@gmx.net>
6750 * commandtags.h: new LFUN_INSERT_BIBKEY
6760 * paragraph_func.C: remove special bibkey handling
6762 2003-02-17 John Levon <levon@movementarian.org>
6764 * text.C (Delete): fix case where delete at the end of
6765 the very first paragraph would not merge the pars
6767 2003-02-17 John Levon <levon@movementarian.org>
6769 * lyxrow.C: fix lastPrintablePos()
6771 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6773 * bufferparams.C (writeLaTeX): add a std:here
6775 * buffer.C: and remove a using directive there
6777 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6779 * buffer.C (makeLaTeXFile): move the code that generates the
6782 * bufferparams.C (writeLaTeX): ... in this new method
6784 * LaTeXFeatures.C (getEncodingSet): make const
6785 (getLanguages): make const
6787 * MenuBackend.C (binding): returns the binding associated to this
6789 (add): sets the status of each item by calling getStatus. Adds
6791 (read): add support for OptSubMenu
6792 (expand): remove extra separator at the end of expanded menu
6794 2003-02-15 John Levon <levon@movementarian.org>
6797 * BufferView_pimpl.C:
6799 * bufferlist.C: remove pointless BufferStorage bloat. Remove
6800 inset code that had no actual effect. Remove unneeded status
6803 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6805 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6808 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
6810 * text.C (drawLengthMarker): also draw an arrow marker for
6811 symbolic lengths (medskip...)
6813 2003-02-14 John Levon <levon@movementarian.org>
6816 * tabular.C: better method names
6818 2003-02-14 John Levon <levon@movementarian.org>
6820 * BufferView_pimpl.C:
6825 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6826 it's a more accurate name. Remove some pointless uses.
6828 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6830 * text2.C (LyXText): change order of initilizers to shut off
6833 2003-02-14 John Levon <levon@movementarian.org>
6835 * buffer.C: use ParIterator for getParFromID()
6839 * paragraph_pimpl.h:
6840 * paragraph_pimpl.C: remove unused getParFromID()
6842 2003-02-14 John Levon <levon@movementarian.org>
6844 * buffer.C: remove some very old #if 0'd parse code
6846 2003-02-13 John Levon <levon@movementarian.org>
6850 * text2.C: move hfillExpansion(), numberOfSeparators(),
6851 rowLast(), rowLastPrintable(), numberofHfills(),
6852 numberOfLabelHfills() ...
6855 * lyxrow.C: ... to member functions here.
6860 * text.C: remove LyXText::beginningOfMainBody(), and call
6861 p->beginningOfMainBody() directly. Move the check for
6862 LABEL_MANUAL into the latter.
6869 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6875 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6876 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6878 2003-02-13 John Levon <levon@movementarian.org>
6880 * CutAndPaste.C: remove debug
6882 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6884 * paragraph.C (asString): remove two unused variables
6886 * lyxtextclass.C (readTitleType):
6888 (LyXTextClass): handle new members titletype_ and titlename_
6890 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6892 2003-02-09 John Levon <levon@movementarian.org>
6895 * buffer.C: replace hand-coded list with a map for the dep clean
6897 2003-02-08 John Levon <levon@movementarian.org>
6899 * LaTeX.C: consolidate code into showRunMessage() helper
6901 2003-02-08 John Levon <levon@movementarian.org>
6906 * BufferView.C: change setSelectionOverString() to setSelectionRange()
6907 and pass the size in explicitly
6909 * BufferView_pimpl.h:
6910 * BufferView_pimpl.C:
6912 * BufferView.C: add getCurrentChange()
6914 * BufferView_pimpl.h:
6915 * BufferView_pimpl.C: handle change lfuns
6917 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6918 for changes. Mark pasted paragraphs as new.
6920 * support/lyxtime.h:
6921 * support/lyxtime.C:
6922 * DepTable.C: abstract time_t as lyx::time_type
6925 * LColor.C: add colours for new text, deleted text, changebars
6927 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6928 package use "usenames" option.
6932 * LyXAction.C: add change lfuns
6936 * author.C: author handling
6939 * buffer.C: add a per-buffer author list, with first entry as
6940 current author. Handle new .lyx tokens for change tracking. Output
6941 author list to .lyx file. Output dvipost stuff to .tex preamble.
6942 Bump lyx format to 222.
6945 * bufferlist.C: add setCurrentAuthor() to reset current author details
6949 * bufferparams.C: add param for tracking
6951 * bufferview_funcs.C: output change info in minibuffer
6955 * changes.C: add change-tracking structure
6958 * debug.C: add CHANGES debug flag
6961 * lyxfind.C: add code for finding the next change piece
6964 * lyxrc.C: add user_name and user_email
6967 * lyxrow.C: add a metric for the top of the text line
6970 * text.C: implement accept/rejectChange()
6973 * text.C: paint changebars. Paint new/deleted text in the chosen
6974 colours. Strike through deleted text.
6978 * paragraph_pimpl.h:
6979 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6980 in the current change to the insert functions. Rework erase to
6981 mark text as deleted, adding an eraseIntern() and a range-based
6982 erase(). Implement per-paragraph change lookup and
6985 * paragraph_funcs.C: Fixup paste for change tracking.
6987 * tabular.C: mark added row/columns as new.
6989 * text.C: fix rowLast() to never return -1. Don't allow
6990 spellchecking of deleted text. Track transpose changes. Don't
6991 allow paragraph break or merge where appropriate.
6993 * text2.C: leave cursor at end of selection after a cut.
6995 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6997 * text.C (getLengthMarkerHeight):
6998 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6999 visible on screen too.
7001 2003-02-07 John Levon <levon@movementarian.org>
7003 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7005 2003-02-05 Angus Leeming <leeming@lyx.org>
7007 * lyxserver.C (read_ready): revert my patch of 11 September last year
7008 as it sends PC cpu through the roof. Presumably this means that
7009 the lyxserver will no longer run on an Alpha...
7011 2003-01-30 Angus Leeming <leeming@lyx.org>
7013 * factory.C (createInset): create an InsetCommandParam of type "index"
7014 and use it to 'do the right thing'.
7016 * text2.C (getStringToIndex): ensure that cursor position is always
7017 reset to the reset_cursor position.
7019 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7021 * lyxfunc.C (getStatus): "buffer-export custom" should never be
7024 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
7028 * lyxfunc.C: Output messages with identical spelling, punctuation,
7031 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
7033 * MenuBackend.C (expandFormats): List only viewable export formats
7036 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7039 * lyxfunc.C (getStatus): Make sure that formats other than
7040 "fax" can also be disabled
7042 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7044 * text3.C (dispatch): put the lfuns that insert insets in 3
7045 groups, and call doInsertInset with appropriate arguments.
7046 (doInsertInset): new function, that creates an inset and inserts
7047 it according to some boolean parameters.
7049 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7051 * buffer.C (readFile): remember to pass on 'par' when calling
7052 readFile recursively.
7054 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7056 * MenuBackend.C (expandFormats): add "..." to import formats.
7058 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
7060 * paragraph.C (asString): Remove XForms RTL hacks.
7062 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
7063 * buffer.C: fix typo
7065 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7067 * Makefile.am (LIBS): delete var
7068 (lyx_LDADD): add @LIBS@ here instead.
7070 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
7072 * Clarify the meaning of "wheel mouse jump"
7074 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7076 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7079 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7081 * importer.C (Loaders): do not preallocate 3 elements in the
7082 vector, since one ends up with 6 elements otherwise
7084 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7086 * DepTable.C (write): write the file name as last element of the
7087 .dep file (because it may contain spaces)
7088 (read): read info in the right order
7090 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7092 * paragraph_pimpl.C (simpleTeXBlanks):
7093 (simpleTeXSpecialChars):
7094 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7096 * tabular.C (latex): add some missing case statements. Reindent.
7098 * MenuBackend.C (expandToc): remove unused variable.
7100 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
7109 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7112 2003-01-05 John Levon <levon@movementarian.org>
7115 * BufferView.C: add getEncoding()
7118 * kbsequence.C: do not store last keypress
7121 * lyxfunc.C: store last keypress here instead. Pass encoding
7124 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7126 * lyx_main.C (init): remove annoying error message when following
7127 symbolic links (bug #780)
7129 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7131 * text.C (insertChar):
7132 * lyxrc.C (getDescription): remove extra spaces
7134 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7136 * lyxrc.C (getDescription): remove extra spaces
7138 2002-12-20 John Levon <levon@movementarian.org>
7140 * text3.C: hack fix for page up/down across tall rows
7142 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7144 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7147 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7149 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7150 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7151 thesaurus is not compiled in
7153 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
7155 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
7157 2002-12-16 Angus Leeming <leeming@lyx.org>
7160 * lyx_main.C (init): remove override_x_deadkeys stuff.
7162 2002-12-12 John Levon <levon@movementarian.org>
7164 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7165 insert. Only remove shift modifier under strict
7168 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7170 * MenuBackend.C (expandToc): fix crash.
7172 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7174 * MenuBackend.C (expandToc): gettext on float names.
7176 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7178 * lyxlength.[Ch]: set default unit to UNIT_NONE,
7179 implement bool empty() [bug 490]
7181 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7183 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7185 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7187 * several files: ws changes
7189 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7191 * text2.C (setCounter): clean up a bit, use boost.format.
7192 (updateCounters): initialize par upon declaration.
7194 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7195 if the layout exists. We do not just store the layout any more.
7196 (SwitchLayoutsBetweenClasses): use boost.format
7198 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7200 * converter.C (convert): if from and to files are the same, use a
7201 temporary files as intermediary
7203 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7206 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7208 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
7210 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7212 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7214 * tabular.C (asciiPrintCell): use string(size, char) instead of
7217 * sgml.C (openTag): fix order of arguments to string constructor
7220 * lyxfunc.C (dispatch): use boost.format
7222 * lots of files: change "c" -> 'c'
7224 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
7226 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7228 2002-11-25 Angus Leeming <leeming@lyx.org>
7230 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7232 * lyx_main.C (init): compile fix.
7234 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7236 * lyx_cb.C (start): boost.formatify
7237 do not include <iostream>
7239 * lengthcommon.C: ws only
7241 * boost-inst.C,BoostFormat.h: add more explict instantations
7243 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7245 * lots of files: handle USE_BOOST_FORMAT
7247 2002-11-21 John Levon <levon@movementarian.org>
7249 * pspell.C: fix compile
7251 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7253 * lyxfunc.C (dispatch): use boost::format
7257 * lyxfont.C (stateText): use boost::format
7259 * lyx_main.C (LyX): use boost::format
7261 (queryUserLyXDir): ditto
7264 (typedef boost::function): use the recommened syntax.
7266 * importer.C (Import): use boost::format
7268 * debug.C (showLevel): use boost::format
7270 * converter.C (view): use boost::format
7275 * bufferview_funcs.C (currentState): use boost::format
7277 * bufferlist.C (emergencyWrite): use boost::format
7279 * buffer.C (readLyXformat2): use boost::format
7280 (parseSingleLyXformat2Token): ditto
7282 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7284 * LaTeX.C (run): use boost::format
7286 * Chktex.C (scanLogFile): use boost::format
7288 * BufferView_pimpl.C (savePosition): use boost::format
7289 (restorePosition): ditto
7290 (MenuInsertLyXFile): ditto
7292 * BoostFormat.h: help file for explicit instation.
7294 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
7296 * tabular.C (latex): Support for block alignment in fixed width
7299 2002-11-17 John Levon <levon@movementarian.org>
7301 * BufferView_pimpl.C:
7303 * lyxfunc.C: split filedialog into open/save
7305 2002-11-08 Juergen Vigna <jug@sad.it>
7307 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7308 by my last patch (hopefully).
7310 2002-11-08 John Levon <levon@movementarian.org>
7319 * toc.C: ParConstIterator, and use it (from Lars)
7321 2002-11-07 Ben Stanley <bds02@uow.edu.au>
7323 * lyxtextclass.[Ch]: revise and add doxygen comments
7325 2002-11-07 John Levon <levon@movementarian.org>
7327 * text.C: fix progress value for spellchecker
7329 * toc.C: fix navigate menu for insetwrap inside minipage
7331 * paragraph_funcs.C: added FIXME for suspect code
7333 2002-11-07 John Levon <levon@movementarian.org>
7335 * BufferView_pimpl.C: fix redrawing of insets
7338 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7340 * text2.C (updateCounters): fix bug 668
7342 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
7344 * text3.C (dispatch): Do not make the buffer dirty when moving the
7347 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7349 * vc-backend.C: STRCONV
7352 * text2.C (setCounter): STRCONV
7354 * paragraph.C (asString): STRCONV
7356 * lyxlength.C (asString): STRCONV
7357 (asLatexString): ditto
7359 * lyxgluelength.C (asString): STRCONV
7360 (asLatexString): ditto
7362 * lyxfunc.C (dispatch): STRCONV
7365 * lyxfont.C (stateText): STRCONV
7367 * importer.C (Import): STRCONV
7369 * counters.C (labelItem): STRCONV
7370 (numberLabel): ditto
7371 (numberLabel): remove unused ostringstream o
7376 * bufferview_funcs.C (currentState): STRCONV
7378 * buffer.C (readFile): STRCONV
7379 (asciiParagraph): ditto
7380 (makeLaTeXFile): ditto
7382 * Spacing.C (writeEnvirBegin): STRCONV
7384 * LaTeXFeatures.C (getLanguages): STRCONV
7385 (getPackages): ditto
7387 (getBabelOptions): ditto
7388 (getTClassPreamble): ditto
7389 (getLyXSGMLEntities): ditto
7390 (getIncludedFiles): ditto
7394 (scanAuxFile): ditto
7397 * LString.h: add the STRCONV macros
7399 * BufferView_pimpl.C (savePosition): STRCONV
7400 (restorePosition): ditto
7401 (MenuInsertLyXFile): ditto
7403 * vc-backend.C (scanMaster): change from submatch[...] to
7406 * funcrequest.C: include config.h
7408 * factory.C: include config.h
7410 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7412 * box.C: include config.h
7414 * LaTeX.C (scanAuxFile): change from submatch[...] to
7418 2002-10-25 Angus Leeming <leeming@lyx.org>
7420 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7422 * ispell.[Ch] (setError): new method.
7423 * ispell.C (c-tor): move out child process into new class LaunchIspell.
7424 Use setError() insetead of goto END.
7426 * lyx_cb.C (AutoSave): move out child process into new class
7429 2002-10-30 John Levon <levon@movementarian.org>
7431 * text3.C: make start appendix undoable
7433 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
7435 * lyxlength.C (inPixels): Fix returned value.
7437 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7440 2002-10-24 Angus Leeming <leeming@lyx.org>
7442 * lyxgluelength.h: no need to forward declare BufferParams
7443 or BufferView, so don't.
7445 2002-10-21 John Levon <levon@movementarian.org>
7447 * BufferView.C: menuUndo ->undo, redo
7449 * BufferView.h: document, remove dead, make some methods private
7451 * paragraph_funcs.h:
7452 * paragraph_funcs.C:
7453 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7458 * sgml.C: move sgml open/close tag into sgml.C
7460 * bufferview_funcs.h: unused prototype
7463 * lyxfunc.C: remove unused
7466 * text.C: remove unused
7468 2002-10-21 John Levon <levon@movementarian.org>
7472 * BufferView_pimpl.h:
7473 * BufferView_pimpl.C: fix mouse wheel handling based on
7474 patch from Darren Freeman
7476 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
7478 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7480 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
7482 * lyxlength.C (inPixels): Fix hanfling of negative length.
7483 Fix LyXLength::MU case.
7485 2002-10-16 John Levon <levon@movementarian.org>
7487 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7489 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7491 * converter.C (view): add support for $$i (file name) and $$p
7492 (file path) for the viewer command. If $$i is not specified, then
7493 it is appended to the command (for compatibility with old syntax)
7495 2002-10-14 Juergen Vigna <jug@sad.it>
7497 * undo_funcs.C (textHandleUndo): alter the order in which the
7498 new undopar is added to the LyXText, as we have to set first
7499 the right prev/next and then add it as otherwise the rebuild of
7500 LyXText is not correct. Also reset the cursor to the right paragraph,
7501 with this IMO we could remove the hack in "redoParagraphs()".
7503 2002-10-09 Angus Leeming <leeming@lyx.org>
7505 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7506 to turn off an optimisation if a new inset is to be inserted.
7508 2002-10-11 André Pönitz <poenitz@gmx.net>
7510 * lyxtext.h: make some functions public to allow access
7511 from inset/lyxtext for handling LFUN_PRIOR/NEXT
7513 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7515 * text3.C (dispatch): when changing layout, avoid an infinite loop
7518 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7520 * lyxrc.C (read): treat a viewer or converter command of "none" as
7523 * MenuBackend.C (expandFormats): for an update, also allow the
7524 formats that are not viewable
7526 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7527 script if it is newer than the lyxrc.defaults in user directory
7529 2002-10-07 André Pönitz <poenitz@gmx.net>
7531 * text.C: Vitaly Lipatov's small i18n fix
7533 2002-09-25 Angus Leeming <leeming@lyx.org>
7535 * ispell.h: doxygen fix.
7537 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
7539 * buffer.h (readFile): Add a new argument to the method, to allow
7540 reading of old-format templates.
7542 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
7544 * toc.C (getTocList): Get TOC from InsetWrap.
7546 2002-09-16 John Levon <levon@movementarian.org>
7548 * lyxfunc.C: check tabular for cut/copy too
7550 2002-09-12 John Levon <levon@movementarian.org>
7555 * factory.C: add header
7557 * paragraph_funcs.h:
7558 * paragraph_funcs.C: cleanup
7560 2002-09-11 John Levon <levon@movementarian.org>
7562 * PrinterParams.h: odd/even default to true
7564 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
7566 * PrinterParams.h: update printer parameters for new xforms dialog
7568 2002-09-11 Angus Leeming <leeming@lyx.org>
7570 * lyxserver.C (read_ready): re-write to make it more transparent
7571 and to make it work in coherent fashion under Tru64 Unix.
7573 2002-09-11 André Pönitz <poenitz@gmx.net>
7577 * text3.C: implement LFUN_WORDSEL
7579 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7581 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7582 make floatlist_ a boost::shared_ptr<FloatList>
7584 * lyxtextclass.C: include FloatList.h
7585 (LyXTextClass): initialize floatlist_
7586 (TextClassTags): add TC_NOFLOAT
7587 (Read): match "nofloat" to TC_NOFLOAT and use it.
7588 (readFloat): modify call to floatlist_
7592 * FloatList.[Ch] (FloatList): remove commented out float
7594 (erase): new function
7596 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7598 * MenuBackend.C (expandToc): fix crash when there is no document
7601 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
7603 * many files: Add insetwrap.
7605 2002-09-09 John Levon <levon@movementarian.org>
7607 * text2.C: remove confusing and awkward depth wraparound
7609 2002-09-09 John Levon <levon@movementarian.org>
7611 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7614 * buffer.C: remove getIncludeonlyList()
7617 * lyxfunc.C: remove headers
7619 2002-09-09 Juergen Vigna <jug@sad.it>
7621 * text.C (getColumnNearX): fix form Michael this is most
7622 probably a cut&paste bug.
7624 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7626 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7628 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7629 references, ws changes.
7631 * text2.C (init): update counters after init
7632 (insertParagraph): no need to set counter on idividual paragraphs.
7633 (setCounter): access the counters object in the textclass object
7634 on in the buffer object.
7635 (updateCounters): ditto
7637 * lyxtextclass.C: include counters.h, add variable ctrs_ as
7638 shared_ptr<Counters> to avoid loading counters.h in all
7640 (LyXTextClass): initialize ctrs_
7641 (TextClassTags): add TC_COUNTER, and ...
7642 (Read): use it here.
7643 (CounterTags): new tags
7644 (readCounter): new function
7645 (counters): new funtion
7646 (defaultLayoutName): return a const reference
7648 * counters.C (Counters): remove contructor
7649 (newCounter): remove a couple of unneeded statements.
7650 (newCounter): simplify a bit.
7651 (numberLabel): some small formatting changes.
7653 * buffer.[Ch]: remove all traces of counters, move the Counters
7654 object to the LyXTextClass.
7656 2002-09-06 Alain Castera <castera@in2p3.fr>
7658 * tabular.C: uses \tabularnewline; uses >{...} construct from array
7659 package to set the horizontal alignment on fixed width columns.
7662 * lyx_sty.h: added tabularnewline macro def.
7664 * LaTeXFeatures.C: added NeedTabularnewline macro feature
7666 2002-09-06 John Levon <levon@movementarian.org>
7668 * LyXAction.C: tooltips for sub/superscript
7670 * MenuBackend.C: a bit more verbose
7672 * lyxfunc.C: tiny clean
7674 * undo_funcs.C: document undo_frozen
7676 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7678 * counters.C (Counters): add missing algorithm counter.
7680 * text2.C (setCounter): lookup the counter with layouts latexname
7681 instead of by section number.
7682 (setCounter): use a hackish way to lookup the correct enum
7684 a float name->type change
7685 reset enum couners with counter name directly instead of depth value.
7687 * counters.C (Counters): remove the push_backs, change to use the
7688 float type not the float name.
7689 (labelItem): remove unused string, float name->type change
7691 * counters.h: don't include vector, loose the enums and sects vectors
7693 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7695 * lyxtextclass.C (TextClassTags): add TC_FLOAT
7696 (Read): add float->TC_FLOAT to textclassTags
7697 (Read): and handle it in the switch
7698 (readFloat): new function
7700 * FloatList.C (FloatList): comment out the hardcoded float
7703 * lyxlayout.h: ws change.
7705 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
7707 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7709 2002-09-03 Angus Leeming <leeming@lyx.org>
7711 * BufferView_pimpl.h: qualified name is not allowed in member
7712 declaration: WorkArea & Pimpl::workarea() const;
7714 * factory.C: added using std::endl directive.
7716 * text3.C: added using std::find and std::vector directives.
7718 2002-08-29 André Pönitz <poenitz@gmx.net>
7721 * text2.C: remove unused member number_of_rows
7724 * BufferView2.C: remove file, move contents to...
7725 * BufferView.C: ... here
7727 * BufferView_pimpl.C:
7728 * factory.C: move more inset creation to factory
7730 * vspace.C: avoid direct usage of LyXText, ws changes
7733 don't provide direct access to WorkArea, use two simple
7734 acessors haveSelction() and workHeight() instead
7737 2002-08-29 John Levon <levon@movementarian.org>
7739 * BufferView_pimpl.C (dispatch): do not continue when
7742 2002-08-28 André Pönitz <poenitz@gmx.net>
7744 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7747 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7749 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
7751 * buffer.C: increment LYX_FORMAT to 221
7753 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7754 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7756 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7758 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7760 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7762 * factory.C (createInset): use LyXTextClass::floats
7764 * MenuBackend.C (expandFloatListInsert):
7765 (expandFloatInsert):
7768 * text2.C (setCounter):
7770 * LaTeXFeatures.C (useFloat):
7771 (getFloatDefinitions):
7773 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7775 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7776 floatlist_, with accessor floats().
7778 * FloatList.h: remove global FloatList
7780 2002-08-26 André Pönitz <poenitz@gmx.net>
7782 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7786 * BufferView_pimpl.C:
7787 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7789 2002-08-25 John Levon <levon@movementarian.org>
7791 * LyXAction.C: fix margin note description
7793 2002-08-24 John Levon <levon@movementarian.org>
7797 * bufferview_funcs.C:
7799 * undo_funcs.C: cleanups
7801 * lyxfunc.C: disable CUT/COPY when no selection
7803 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
7805 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7806 in "enum UNIT"; e.g. PTW for Percent of TextWidth
7808 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7809 Add backward compatibility to "mono", "gray" and "no".
7811 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
7813 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7814 (and file_format >= 200).
7816 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7818 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7820 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7822 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7824 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
7826 * BufferView_pimpl.C:
7833 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7834 inset and code to make it work with the paragraph code. The inset
7835 can be anywhere in the paragraph, but will only do the expected
7836 thing in LaTeX if the layout file contains the parameter line
7838 (or more generally, a nonzero value) for that layout.
7840 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7842 * paragraph.h: remove the declaration of undefined counters class
7845 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
7847 * text2.C (setCounter): fixed enumeration mis-count as reported by
7848 Dr. Richard Hawkins.
7850 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7852 * paragraph_funcs.h: remove some unneeded includes
7854 * text.C (backspace): pasteParagraph now in global scipe
7856 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7857 (pasteSelection): ditto
7859 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7860 * paragraph_funcs.C (pasteParagraph): ... here
7862 2002-08-20 André Pönitz <poenitz@gmx.net>
7864 * commandtags.h: new LFUNs for swapping/copying table row/colums
7867 * lyxfunc.C: support for new lfuns
7869 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7872 * buffer.[Ch]: remove NO_COMPABILITY stuff
7874 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
7876 * boost.C (throw_exception): new file, with helper function for
7877 boost compiled without exceptions.
7882 * ParameterStruct.h:
7883 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7885 * bufferlist.C (emergencyWriteAll): use boost bind
7887 * BufferView_pimpl.C (moveCursorUpdate): remove inline
7889 * text.C: include paragraph_funcs.h
7890 (breakParagraph): breakParagraph is now in global scope
7892 * paragraph_funcs.[Ch]: new files
7894 * paragraph.C (breakParagraph,breakParagraphConservative): move to
7897 * buffer.C: include paragraph_funcs.h
7898 (insertStringAsLines): breakParagraph is now in global scope
7900 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7903 * CutAndPaste.C: include paragraph_funcs.h
7904 (cutSelection): breakParagraphConservative is now in global scope
7905 (pasteSelection): ditto
7907 * buffer.h: declare oprator== and operator!= for
7908 Buffer::inset_iterator
7910 * bufferlist.C (emergencyWrite): don't use fmt(...)
7912 * text3.C: add using std::endl
7914 * BufferView.C (moveCursorUpdate): remove default arg
7916 2002-08-20 André Pönitz <poenitz@gmx.net>
7918 * buffer.[Ch]: move inline functions to .C
7921 * BufferView_pimpl.C:
7923 * buffer.[Ch]: use improved inset_iterator
7926 * paragraph.[Ch]: write one paragraph at a time
7928 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
7930 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7931 style if style is not specified.
7933 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7935 * text2.C (setCounter): when searching for right label for a
7936 caption, make sure to recurse to parent insets (so that a caption
7937 in a minipage in a figure float works) (bug #568)
7939 2002-08-20 André Pönitz <poenitz@gmx.net>
7941 * text3.C: new file for LyXText::dispatch() and helpers
7943 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7945 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7947 2002-08-19 André Pönitz <poenitz@gmx.net>
7950 * text.C: new LyXText::dispatch()
7952 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7954 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
7956 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7958 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7961 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7963 * Makefile.am: use $(variables) instead of @substitutions@
7965 2002-08-15 André Pönitz <poenitz@gmx.net>
7968 * BufferView_pimpl.C: streamlining mathed <-> outer world
7972 * LyXAction.C: remove unused LFUN_MATH
7974 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7976 * paragraph.[Ch]: add some NO_NEXT ifdefs.
7978 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7980 * paragraph.C (Paragraph): reformat a bit
7981 (cutIntoMinibuffer): use builtin InsetList function instad of
7985 * buffer.C: include boost/bind.hpp, add using std::for_each
7986 (writeFileAscii): use ParagraphList iterators
7987 (validate): use for_each for validate traversal of paragraphs
7988 (getBibkeyList): use ParagraphList iterators
7989 (resizeInsets): use for_each to resizeInsetsLyXText for all
7991 (getParFromID): use ParagraphList iterators
7993 * BufferView2.C (lockInset): use paragraph list and iterators
7995 2002-08-14 John Levon <levon@movementarian.org>
7997 * lyxserver.C: remove spurious xforms include
7999 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8001 * lyxfunc.C (getStatus): disable math-extern outside of math mode
8003 2002-08-13 André Pönitz <poenitz@gmx.net>
8006 * lyxfunc.C: further cleaning
8008 2002-08-13 André Pönitz <poenitz@gmx.net>
8010 * funcrequest.h: new constructor
8012 * funcrequest.C: move stuff here from .h
8015 * BufferView_pimpl.C:
8018 * lyxfunc.C: subsequent changes
8020 * lyxfunc.h: new view() member function
8022 * lyxfunc.C: subsequent changes
8024 2002-08-13 Angus Leeming <leeming@lyx.org>
8027 * BufferView_pimpl.C:
8035 changes due to the changed LyXView interface that now returns references
8036 to member variables not pointers.
8038 2002-08-13 Angus Leeming <leeming@lyx.org>
8040 * WordLangTuple (word, lang_code): return references to strings,
8045 * lyxtext.h: forward-declare WordLangTuple.
8050 * text.C: #include "WordLangTuple.h".
8053 * text.C: (selectNextWordToSpellcheck): constify return type.
8055 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
8061 * paragraph_pimpl.h:
8064 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8066 Made updateCounter always count from start of buffer, and removed
8067 second argument (par).
8068 Reverted floats number display to '#'. Perhaps I'll try again when the
8069 code base is sanitized a bit.
8071 2002-08-12 Angus Leeming <leeming@lyx.org>
8073 * buffer.[Ch] (getLabelList): constify.
8075 2002-08-07 André Pönitz <poenitz@gmx.net>
8077 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8079 * funcrequest.h: extension to keep mouse (x,y) position
8081 2002-08-12 Juergen Vigna <jug@sad.it>
8083 * BufferView2.C (insertErrors): forbid undo when inserting error
8086 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8088 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8090 * ParagraphList.[Ch]: new files
8092 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8094 * BufferView2.C (lockInset): ParagraphList changes
8097 * bufferlist.C: ditto
8101 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8103 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8104 unused class variable counter_,
8106 * paragraph.[Ch] (getFirstCounter): delete unused function
8108 * counters.C: include LAssert.h
8109 (reset): add a new function with no arg, change other version to
8110 not have def. arg and to not allow empty arg.
8112 * text2.C (setCounter): remove empty arg from call to Counters::reset
8114 2002-08-11 John Levon <levon@movementarian.org>
8116 * Makefile.am: add WordLangTuple.h
8118 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8120 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8121 lyxfunc.C lyxlex_pimpl.C: ws changes only.
8123 * insets/insettext.C: InsetList changes
8125 * graphics/GraphicsSupport.C (operator()): InsetList changes
8127 * toc.C (getTocList): InsetList changes
8129 * paragraph_pimpl.[Ch]: InsetList changes
8131 * paragraph.[Ch]: InsetList changes
8133 * buffer.C (inset_iterator): InsetList changes
8134 (setParagraph): ditto
8135 * buffer.h (inset_iterator): ditto
8136 * iterators.C (operator++): ditto
8137 * iterators.h: ditto
8139 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8141 * InsetList.[Ch]: new files, most InsetList handling moved out of
8144 * BufferView2.C (removeAutoInsets): InsetList changes
8146 (ChangeInsets): ditto
8148 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8150 * paragraph_pimpl.h (empty): new function
8152 * paragraph.[Ch] (empty): new function
8154 * other files: use the new Paragraph::empty function
8156 2002-08-09 John Levon <levon@movementarian.org>
8158 * lyxtext.h: remove unused refresh_height
8160 2002-08-09 John Levon <levon@movementarian.org>
8167 * paragraph.C: move sgml char escaping out of paragraph
8170 * paragraph.C: remove id setter
8174 * paragraph_pimpl.C: remove dead tex_code_break_column
8176 * bufferview_funcs.C: small cleanup
8178 * lyxfunc.C: remove dead proto
8180 * lyxtext.h: make some stuff private. Remove some dead stuff.
8182 * lyxgluelength.C: make as[LyX]String() readable
8184 2002-08-08 John Levon <levon@movementarian.org>
8189 * ToolbarDefaults.C:
8192 * toc.C: lyxaction cleanup
8194 2002-08-08 John Levon <levon@movementarian.org>
8196 * BufferView2.C: small cleanup
8199 * lyxfind.C: move unnecessary header into the .C
8201 2002-08-08 John Levon <levon@movementarian.org>
8203 * funcrequest.h: just tedious nonsense
8206 * lyx_main.C: cleanups
8209 * vspace.C: remove dead header lyx_main.h
8211 2002-08-07 Angus Leeming <leeming@lyx.org>
8214 * paragraph_pimpl.h:
8215 Forward declare class Counters in paragraph.h by moving the ctrs member
8216 variable into Paragraph::Pimpl.
8217 (counters): new method, returning a reference to pimpl_->ctrs.
8219 * text2.C: ensuing changes.
8221 2002-08-07 John Levon <levon@movementarian.org>
8223 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8225 * BufferView_pimpl.C: announce X selection on double/triple
8228 * lyx_main.C: use correct bool in batch dispatch
8230 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8232 2002-08-07 André Pönitz <poenitz@gmx.net>
8234 * funcrequest.h: new class to wrap a kb_action and its argument
8237 * BufferView_pimpl[Ch]:
8241 * lyxrc.C: subsequent changes
8244 2002-08-07 John Levon <levon@movementarian.org>
8246 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8247 document options change.
8249 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8254 * makefile.am: move counters functionality over from
8255 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8257 2002-08-06 John Levon <levon@movementarian.org>
8259 * WordLangTuple.h: new file for word + language code tuple
8270 * BufferView2.C: use WordLangTuple
8273 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8275 2002-08-06 John Levon <levon@movementarian.org>
8277 * lyx_main.C: fix cmdline batch handling
8279 2002-08-06 André Pönitz <poenitz@gmx.net>
8281 * lyxrc.C: set default for show_banner to true
8283 2002-08-06 John Levon <levon@movementarian.org>
8285 * pspell.C: fix a crash, and allow new aspell to work
8287 2002-08-06 John Levon <levon@movementarian.org>
8290 * kbmap.C: small cleanup
8293 * vspace.C: add const
8295 2002-08-05 John Levon <levon@movementarian.org>
8297 * LyXAction.C: back to tabular-insert
8299 2002-08-04 John Levon <levon@movementarian.org>
8302 * BufferView.C: cosmetic change
8304 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8314 * BufferView2.C: purge all "Lyx" not "LyX" strings
8317 * lyxcursor.C: attempt to add some documentation
8322 * ToolbarDefaults.C:
8323 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8324 merge with LFUN_TABULAR_INSERT
8331 * pspell.C: split up i/pspell implementations into separate
8332 files, many cleanups
8334 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8336 * text2.C: some cleanup
8338 * lyxfunc.C: don't check for isp_command == "none" any more, it
8339 didn't make any sense
8341 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8346 * makefile.am: move counters functionality over
8347 from text2.C/paragraph.[Ch] to counters.[Ch], and
8349 2002-08-02 John Levon <levon@movementarian.org>
8351 * buffer.C: s/lyxconvert/lyx2lyx/
8353 2002-08-02 Angus Leeming <leeming@lyx.org>
8355 * lyxlex.C: revert John's change as it breaks reading of the user
8358 2002-08-02 Angus Leeming <leeming@lyx.org>
8360 * importer.C (Import):
8361 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8362 changes due to LyXView::view() now returning a boost::shared_ptr.
8364 2002-08-02 John Levon <levon@movementarian.org>
8366 * lyxlex.C: small cleanup
8368 2002-08-02 John Levon <levon@movementarian.org>
8370 * text2.C (status): small cleanup, no logic change
8372 2002-08-01 John Levon <levon@movementarian.org>
8375 * buffer.C (writeFile): don't output alerts, caller
8379 * lyx_cb.C: from above
8381 * lyxfunc.C: allow to open non-existent files
8383 2002-07-31 John Levon <levon@movementarian.org>
8385 * lyxserver.C: don't let incidental errors get
8388 2002-07-30 John Levon <levon@movementarian.org>
8390 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8392 2002-07-30 John Levon <levon@movementarian.org>
8395 * lyxserver.C: remove I/O callback too
8397 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8399 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8402 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8404 * many files: strip,frontStrip -> trim,ltrim,rtrim
8406 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8408 * PrinterParams.h: remove extern containsOnly, and include
8409 support/lstrings.h instead.
8411 * LaTeX.C (scanAuxFile): modify because of strip changes
8413 * buffer.C (makeLaTeXFile): ditto
8414 * bufferparams.C (writeFile): ditt
8415 * lyxfont.C (stateText): ditto
8416 * lyxserver.C (read_ready): ditto
8417 * vc-backend.C (scanMaster): ditto
8419 * BufferView_pimpl.h: ws changes
8421 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8423 2002-07-26 André Pönitz <poenitz@gmx.net>
8425 * kb_sequence.C: remove unnedred usings
8427 2002-07-26 Juergen Vigna <jug@sad.it>
8429 * lyxfind.C (LyXReplace): we have to check better if the returned
8430 text is not of theLockingInset()->getLockingInset().
8432 2002-07-25 Juergen Vigna <jug@sad.it>
8434 * lyxfind.C (LyXReplace): don't replace if we don't get the
8437 * undo_funcs.C (createUndo): remove debugging code.
8439 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
8441 * buffer.C (parseSingleLyXformat2Token): Use default placement
8442 when reading old floats.
8444 * FloatList.C (FloatList): Change the default placement of figure
8445 and tables to "tbp".
8447 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
8449 * MenuBackend.C: using std::max
8451 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8453 * MenuBackend.C (expandToc):
8454 (expandToc2): code moved from xforms menu frontend. It is now
8455 generic and TOCs are transparent to menu frontends.
8457 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8459 * toc.C (getTocList): protect against buf=0
8461 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8462 Menu as first parameter. Now, this calls itself recursively to
8463 expand a whole tree (this will be useful for TOC handling)
8464 (expandFloatInsert): remove 'wide' version of floats
8466 * MenuBackend.h (submenuname): returns the name of the submenu.
8467 (submenu): returns the submenu itself, provided it has been
8468 created by MenuBackend::expand
8470 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8472 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8473 insets which have noFontChange == true. (bug #172)
8475 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8477 * BufferView_pimpl.C: add connection objects and use them...
8480 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8482 * MenuBackend.C (expandLastfiles):
8485 (expandFloatListInsert):
8486 (expandFloatInsert):
8487 (expand): split expand in parts
8489 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8491 * lyx_gui.C: use lyx_gui::exit()
8493 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8495 * LyXAction.C: show the failing pseudo action
8497 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
8499 * buffer.C (readFile): Run the lyxconvert script in order to read
8502 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8506 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8508 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8512 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8514 2002-07-22 Herbert Voss <voss@lyx.org>
8517 * lyxlength.[Ch]: add support for the vertical lengths
8519 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
8521 * toc.[Ch]: std:: fixes
8523 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8525 * lyxrc.C: do not include lyx_main.h
8527 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8533 * BufferView2.C: include "lyxlex.h"
8536 * bufferparams.h: do not #include "lyxlex.h"
8538 * lyxtextclasslist.C (Add): remove method
8539 (classlist): renamed to classlist_
8541 * paragraph_pimpl.C:
8545 * bufferview_funcs.C:
8550 * toc.C (getTocList): use BufferParams::getLyXTextClass
8552 * toc.C (getTocList): use InsetFloat::addToToc
8554 * toc.[Ch]: new files, containing helper functions to handle table
8557 * lyxfunc.C (dispatch): no need to remove spaces around command
8559 (getStatus): handle LFUN_SEQUENCE by returning the status of the
8560 first command of the sequence; it is not very clever, but I do not
8561 have a better idea, actually
8563 * LyXAction.C (LookupFunc): make sure to remove space at the
8564 beginning and end of the command
8566 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8568 * MenuBackend.C (getMenubar): new method: return the menubar of
8570 (read): treat differently reading of menu and menubar (in
8571 particular, the menubar has no name now)
8572 (Menu::menubar): remove
8574 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8577 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8579 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8580 a bibitem inset in a RTL paragraph.
8582 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
8584 * paragraph_pimpl.C: constify
8586 * BufferView_pimpl.C:
8588 * lyxfunc.C: fix dispatch in a nicer way
8590 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8592 * lyxfunc.C (dispatch):
8593 * BufferView_pimpl.C:
8594 * BufferView_pimpl.h:
8596 * BufferView.h: rename Dispatch() to dispatch()
8598 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8600 * lyxlayout.C (Read): honor DependsOn tag
8602 * lyxlayout.[Ch] (depends_on): new method
8604 * version.C.in: update lyx_docversion
8606 * LaTeXFeatures.C (getMacros): only define \LyX when needed
8608 * paragraph.C (validate): remove from here...
8609 * paragraph_pimpl.C (validate): ... and move here
8610 (isTextAt): make it const
8612 * buffer.C (getLists): ws cleanup
8614 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8616 * language.C (read): Use iso8859-1 encoding in latex_lang
8617 (this prevents LyX from crashing when using iso10646-1 encoding).
8619 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8621 * text2.C (toggleInset): if cursor is inside an inset, close the
8622 inset and leave cursor _after_ it
8624 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8626 * lyxfunc.C: move minibuffer completion handling out of here
8628 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8630 * BufferView_pimpl.C:
8631 * LaTeX.C: fix dispatch calls
8633 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
8635 * text.C (drawChars): Fix Arabic text rendering.
8637 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
8641 * lyxfunc.C: remove message-push/pop
8645 * lyxfunc.C: rationalise some code by removing verboseDispatch
8646 in favour of a bool argument to dispatch()
8648 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8650 * lyx_main.C (init): make sure to read symlinks as absolute paths
8652 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8655 * lyxfunc.C: no need for commandshortcut to be a member
8657 2002-07-15 André Pönitz <poenitz@gmx.net>
8659 * converter.C: add support for $$s (scripts from lib/scripts dir)
8660 * lyx_main.C: white space
8662 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8666 * lyxrc.C: remove second exit confirmation
8668 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8673 * BufferView_pimpl.h:
8674 * BufferView_pimpl.C:
8675 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8677 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8679 * MenuBackend.C (expand): add numeric shortcuts to document menu
8681 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8683 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8685 * lyxfont.C (setLyXFamily):
8692 * buffer.C (asciiParagraph): use ascii_lowercase
8694 2002-07-15 Mike Fabian <mfabian@suse.de>
8696 * lyxlex_pimpl.C (search_kw):
8697 * lyxlex.C (getLongString):
8698 * converter.h (operator<):
8699 * converter.C (operator<):
8700 * buffer.C (parseSingleLyXformat2Token):
8702 * ToolbarDefaults.C (read):
8703 * MenuBackend.C (checkShortcuts):
8705 * LColor.C (getFromGUIName):
8706 (getFromLyXName): use the compare_ascii_no_case instead of
8707 compare_no_case, because in turkish, 'i' is not the lowercase
8708 version of 'I', and thus turkish locale breaks parsing of tags.
8710 2002-07-16 Angus Leeming <leeming@lyx.org>
8712 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8713 now takes a Buffer const & argument.
8715 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
8717 * BufferView.C (resize): check there's a buffer to resize
8719 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
8721 * lyxfunc.C: remove dead code
8724 * lyxserver.C: use lyx_guii::set_read_callback
8726 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
8728 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8729 an inset in a RTL paragraph.
8731 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8733 * lyxfunc.C: repaint after a font size update
8735 2002-07-15 André Pönitz <poenitz@gmx.net>
8737 * lyxlength.C: inBP should be able to return negative values
8739 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8741 * lyxfunc.C: use lyx_gui::update_fonts()
8743 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8745 * lyxfunc.C: use lyx_gui::update_color()
8747 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8753 * lyxrc.C: remove file->new asks for name option, and let
8754 buffer-new take an argument
8756 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8758 * BufferView_pimpl.C: remove unneeded extra repaint()
8760 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
8762 * LyXAction.C: allow command-sequence with NoBuffer
8764 * lyxfunc.C: don't insist on trailing ';' for command-sequence
8766 2002-07-10 Angus Leeming <leeming@lyx.org>
8768 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8770 2002-07-09 Angus Leeming <leeming@lyx.org>
8772 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8774 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8776 * lengthcommon.h: whitespace
8778 * lyxfunc.C: update scrollbar after goto paragraph
8780 * lyxtext.h: factor out page break drawing, and fix it so
8781 page break/added space paints as selected nicely
8783 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8785 * BufferView_pimpl.C: add FIXMEs, clean up a little
8787 2002-07-09 André Pönitz <poenitz@gmx.net>
8789 * lyxfont.[Ch]: support for wasy symbols
8791 2002-07-08 André Pönitz <poenitz@gmx.net>
8793 * BufferView_pimpl.C: apply John's patch for #93.
8795 2002-07-05 Angus Leeming <leeming@lyx.org>
8797 * BufferView_pimpl.C (buffer): generate previews if desired.
8799 * LColor.h: add "preview" to the color enum.
8801 * LColor.C (LColor): add a corresponding entry to the items array.
8803 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8806 2002-07-05 Angus Leeming <leeming@lyx.org>
8808 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8809 The body of the code is now in the method that is passed an ostream &
8810 rather than a file name.
8811 Pass an additional only_preamble parameter, useful for the forthcoming
8814 2002-07-03 André Pönitz <poenitz@gmx.net>
8816 * lyxfunc.C: simplify getStatus() a bit for math stuff
8818 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8820 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8822 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8824 * text.C (changeRegionCase): do not change case of all the
8825 document when region ends at paragraph end (bug #461)
8827 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8829 * paragraph.C (startTeXParParams):
8830 (endTeXParParams): add \protect when necessary
8832 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8834 * BufferView_pimpl.C (workAreaExpose): remove warning
8836 2002-06-27 Angus Leeming <leeming@lyx.org>
8838 * Makefile.am: add lyxlayout_ptr_fwd.h.
8840 2002-06-26 André Pönitz <poenitz@gmx.net>
8842 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8844 2002-06-25 Angus Leeming <leeming@lyx.org>
8846 * lyxfunc.C (dispatch): Comment out the call to
8847 grfx::GCache::changeDisplay. The method no longer exists now that the
8848 pixmap generation part of the graphics loader has been moved into
8851 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8853 * text2.C: layout as layout
8855 * text.C: layout as layout
8857 * tabular.C (OldFormatRead): layout as layout
8859 * paragraph_pimpl.C (TeXDeeper): layout as layout
8860 (realizeFont): layout as layout
8862 * paragraph.C (writeFile): layout as layout
8863 (validate): layout as layout
8864 (getFont): layout as layout
8865 (getLabelFont): layout as layout
8866 (getLayoutFont): layout as layout
8867 (breakParagraph): layout as layout
8868 (stripLeadingSpaces): layout as layout
8869 (getEndLabel): layout as layout
8870 (getMaxDepthAfter): layout as layout
8871 (applyLayout): layout as layout
8872 (TeXOnePar): layout as layout
8873 (simpleTeXOnePar): layout as layout
8874 (TeXEnvironment): layout as layout
8875 (layout): layout as layout
8876 (layout): layout as layout
8878 * lyxtextclass.C (compare_name): new functor to work with
8879 shared_ptr, layout as layout
8880 (Read): layout as layout
8881 (hasLayout): layout as layout
8882 (operator): layout as layout
8883 (delete_layout): layout as layout
8884 (defaultLayout): layout as layout
8886 * lyxlayout_ptr_fwd.h: new file
8888 * lyxlayout.C (Read): layout as layout
8890 * lyx_cb.C (MenuInsertLabel): layout as layout
8892 * bufferlist.C (newFile): layout as layout
8894 * buffer.C (readLyXformat2): layout as layout
8895 (parseSingleLyXformat2Token): layout as layout
8896 (insertStringAsLines): layout as layout
8897 (asciiParagraph): layout as layout
8898 (latexParagraphs): layout as layout
8899 (makeLinuxDocFile): layout as layout
8900 (simpleLinuxDocOnePar): layout as layout
8901 (makeDocBookFile): layout as layout
8902 (simpleDocBookOnePar): layout as layout
8903 (getLists): layout as layout
8905 * LaTeXFeatures.C (getTClassPreamble): layout as layout
8907 * CutAndPaste.C (cutSelection): layout as layout
8908 (pasteSelection): layout as layout
8909 (SwitchLayoutsBetweenClasses): layout as layout
8911 * BufferView_pimpl.C (Dispatch): layout as layout
8912 (smartQuote): layout as layout
8914 * BufferView2.C (unlockInset): layout as layout
8916 2002-06-24 André Pönitz <poenitz@gmx.net>
8918 * lyxfunc.C: fix #487
8920 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8924 * lyxfunc.C: remove display_shortcuts, show_banner
8926 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8928 * Buffer_pimpl.C: oops, update on resize
8930 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8937 * BufferView.C: use repaint()
8939 * BufferView_pimpl.h:
8940 * BufferView_pimpl.C: s/updateScreen()/repaint()/
8941 as it's a clearer description. Remove superfluous
8944 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8946 * text.C: fix bug 488. Not ideal, but getting
8947 getWord() to work properly for the insets that
8948 matter is more difficult ...
8950 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8952 * BufferView_pimpl.C:
8955 * lyxfunc.C: remove the six million index lyxfuncs to just
8956 one, and DTRT (bug 458)
8958 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8962 * BufferView_pimpl.h:
8963 * BufferView_pimpl.C: clean up resize() stuff,
8964 and unnecessary updateScreen()s
8966 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8970 * BufferView_pimpl.h:
8971 * BufferView_pimpl.C:
8974 * minibuffer.C: remove focus management of workarea,
8975 not needed. Use screen's greyOut()
8977 2002-06-17 Herbert Voss <voss@lyx.org>
8979 * converter.C: (convert) do not post a message, when converting
8980 fails, let the calling function decide what to do in this case
8982 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
8984 * lyxfunc.C: tidy up a little
8986 2002-06-16 <alstrup@diku.dk>
8988 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8989 Got rid of FORMS_H_LOCATION include. Now we are
8992 2002-06-15 LyX Development team <lyx@rilke>
8994 * buffer.[Ch] (sgmlOpenTag):
8995 (sgmlCloseTag): Added support for avoiding pernicious mixed
8996 content. Return number of lines written.
8999 (makeDocBookFile): Fixed calls to sgml*Tag.
9000 Simple white space clean.
9002 (simpleDocBookOnePar): Simple white space clean.
9004 * tabular.[Ch] (docBook): Renamed to docbook and got another
9005 argument to related with the pernicious mixed content.
9007 (docbookRow): Fixed calls for docbook inset method.
9009 2002-06-15 Lyx Development team <larsbj@birdstep.com>
9011 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9012 so it's X11 independent.
9016 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9018 2002-06-15 Lyx Development team <lyx@electronia>
9020 * intl.h: Renamed getTrans to getTransManager.
9022 2002-06-14 Angus Leeming <leeming@lyx.org>
9024 * Makefile.am: nuke forgotten stl_string_fwd.h.
9026 2002-06-12 Angus Leeming <leeming@lyx.org>
9028 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9030 2002-06-13 Angus Leeming <leeming@lyx.org>
9033 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9035 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
9037 * kbmap.C (getiso): add support for cyrillic and greek
9039 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9043 * BufferView_pimpl.h:
9044 * BufferView_pimpl.C: move bogus scrolling logic
9047 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9050 * BufferView_pimpl.C: view->resize() change
9052 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9054 * BufferView_pimpl.C: topCursorVisible
9057 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9061 * lyx_gui.C: move to frontends/
9065 * lyx_main.C: changes from above
9067 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9074 * lyx_main.C: minor tidy
9076 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9078 * BufferView_pimpl.h:
9079 * BufferView_pimpl.C:
9081 * BufferView.C: make painter() const,
9084 * BufferView2.C: use screen() accessor
9087 * lyx_main.C: some minor cleanup
9089 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9091 * BufferView_pimpl.h:
9092 * BufferView_pimpl.C: remove enter/leaveView,
9095 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9100 * BufferView_pimpl.h:
9101 * BufferView_pimpl.C: only construct screen once,
9104 * lyxrc.C: remove pointless comment
9106 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9109 * BufferView.C: remove active() and belowMouse()
9111 * BufferView_pimpl.h:
9112 * BufferView_pimpl.C: use workarea() not workarea_,
9113 and make it use a scoped_ptr instead
9115 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9117 * lyx_gui.C: add debug message on BadWindow
9119 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9121 * sp_spell.C: fdopen is not part of the C++ standard.
9123 * paragraph.C (InsetIterator): use >= instead of ==
9125 2002-06-07 Angus Leeming <leeming@lyx.org>
9127 Fixes needed to compile with Compaq cxx 6.5.
9128 * BufferView_pimpl.C:
9135 * lyxtextclasslist.C:
9140 all c-library variables have been moved into namespace std. Wrap
9141 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9146 Add a using std::abs declaration.
9148 * kbmap.h (modifier_pair):
9149 * paragraph.h (InsetTable, InsetList):
9150 * lyxfont.h (FontBits):
9151 type definition made public.
9153 * bufferlist.C (emergencyWriteAll): the compiler complains that
9154 there is more than one possible lyx::class_fun template to choose from.
9155 I re-named the void specialisation as lyx::void_class_fun.
9157 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9159 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9160 the compiler is is unable to find tostr in write_attribute.
9162 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9164 * buffer.C (sgmlError): hide #warning
9166 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9168 * xtl/*: get rid of xtl, which is not in use anyway
9170 * LyXAction.C (init):
9171 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9172 were unimplemented xtl experimentation
9174 2002-06-04 André Pönitz <poenitz@gmx.net>
9176 * lyxfunc.C: disable array operation on simple formulae
9178 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
9180 * converter.C: constify a bit
9182 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
9184 * lyx_gui.C: check xforms version correctly
9186 2002-04-30 Herbert Voss <voss@lyx.org>
9188 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9191 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
9193 * lyxvc.C: fix bug 416 (make sure buffer is saved before
9194 attempt to register it with a VCS)
9196 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9198 * lyx_main.C (init): honor variables LYX_DIR_13x and
9201 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9205 * lyx_main.C: fix a crash on bad command line,
9206 and give a useful exit status on error
9208 * lyxfunc.C (doImport): allow -i lyx to work
9210 2002-03-30 André Pönitz <poenitz@gmx.net>
9212 * lyxfunc.C: mathed font changes
9214 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9229 * trans_mgr.h: srcdocs, and some minor cleanups
9231 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9233 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9234 call getFont all the time)
9236 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9238 * switch from SigC signals to boost::signals
9240 2002-05-29 André Pönitz <poenitz@gmx.net>
9242 * paragraph_pimpl.C (getChar): don't call size() too often...
9244 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9246 * paragraph_pimpl.C (insertChar): do not try to update tables when
9247 appending (pos == size())
9249 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9250 in order to reduce drastically the number of comparisons needed to
9251 parse a large document
9253 2002-05-29 André Pönitz <poenitz@gmx.net>
9259 * textclasslist.[Ch]:
9260 * sp_ispell.h: whitespace change
9262 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9264 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9265 lyxaction directly now.
9267 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
9271 * lyxvc.C: remove unused headers
9273 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9280 * undo_funcs.C: some cleanups. Use shared_ptr
9281 and a template for the undo stacks.
9283 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9285 * BufferView_pimpl.h:
9286 * BufferView_pimpl.C:
9293 * text2.C: use key_state/mouse_state
9295 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9297 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9300 * chset.C: change include order
9301 (loadFile): use boost regex and get rid of LRegex and LSubstring
9303 * Makefile.am (BOOST_LIBS): new variable
9306 * LaTeX.C: change include order.
9307 (scanAuxFile): use boost regex and get rid of LRegex and
9311 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9316 * FontInfo.C: moved to frontends/xforms/
9319 * FontLoader.C: moved into frontends for GUIIzation
9324 * lyxfunc.C: changes from above
9326 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9328 * LColor.C: remove spurious X include
9330 * BufferView_pimpl.C:
9335 * text2.C: move font metrics to frontends/
9337 2002-05-24 Juergen Vigna <jug@sad.it>
9339 * undo_funcs.C (textHandleUndo): fix the cursor selection after
9340 setting the undo_cursor.
9342 * ParagraphParameters.h: include local includes first.
9344 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9346 * BufferView_pimpl.C:
9347 * BufferView_pimpl.h:
9351 * screen.C: move WorkArea into frontends/
9357 * BufferView2.C: move LyXScreen into frontends/
9361 * lyx_gui.C: move lyxlookup into frontends/xforms/
9363 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9366 * BufferView_pimpl.C:
9376 * bufferview_funcs.C:
9389 * vc-backend.C: move LyX/XFormsView into frontends/
9391 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9403 * text2.C: move Painter to frontends/
9405 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9407 * buffer.C: comment out some some code that depend upon lyx_format
9410 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9411 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9413 * buffer.h (NO_COMPABILITY): turn off compability
9415 * ColorHandler.C: include scoped_array.hpp
9417 * font.C: Use more specific smart_ptr header.
9420 * ShareContainer.h: ditto
9424 * BufferView_pimpl.h: ditto
9425 * ColorHandler.h: ditto
9427 * kbmap.C (defkey): change call to shared_ptr::reset
9429 2002-05-21 Juergen Vigna <jug@sad.it>
9431 * buffer.C (insertErtContents): fix to insert ert asis if it is
9432 non empty. Skip it completely if it contains only whitespaces.
9434 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
9436 * BufferView_pimpl.C:
9437 * BufferView2.C: clear selection on paste (bug 393)
9439 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9441 * DepTable.C: include ctime
9443 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
9445 * buffer.C (latexParagraphs): Add new argument (moving_arg).
9447 2002-05-14 Juergen Vigna <jug@sad.it>
9449 * text.C (breakParagraph): fixed function to honor the keepempty
9450 layout in the right maner and also to permit the right breaking
9451 algorithm on empty or non empyt keepempty paragraphs.
9453 * paragraph.C (breakParagraph): we have to check also if the par
9454 is really empty (!size()) for isempty otherwise we do the wrong
9457 2002-05-10 Juergen Vigna <jug@sad.it>
9459 * buffer.[Ch] : The following are only changes to the ert
9460 compatibility read reading old LaTeX layout and font stuff and
9461 convert it to ERTInsets.
9463 * buffer.h: added isErtInset().
9465 * buffer.C (struct ErtComp): add a fromlayout bool to check
9466 if we're inside a LaTeX layout.
9467 (isErtInset): new helper function.
9468 (insertErtContents): look for other ert insets before this one
9469 and insert the contents there, so that we don't have subsequent
9470 ERT insets with nothing between them. This way we create only one
9471 inset with multiple paragraphs. Also check if we don't insert only
9472 spaces ' ' as they are ignored anyway afterwards in the .tex file
9473 so if we have only spaces we will ignore this latex part in the
9475 (parseSingleLyXformat2Token \\layout): better compatibility when
9476 reading layout-latex stuff.
9477 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9479 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9480 stuff after reading the inset only get the information back from
9483 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
9485 * buffer.C (makeLaTeXFile): Put language options after loading babel.
9487 * LaTeXFeatures.C (getBabelOptions): New method.
9489 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9491 * BufferView_pimpl.C (Dispatch): work around missing argument for
9494 2002-05-08 Juergen Vigna <jug@sad.it>
9496 * text.C (leftMargin): handle paragraph leftindent.
9498 * paragraph.C (writeFile): write the new \\leftindent tag.
9499 (validate): handle leftindent code.
9500 (TeXEnvironment): handle paragraphleftindent code again.
9502 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9504 * buffer.C (parseSingleLyXformat2Token): added compatibility code
9505 for paragrap_extra indent code and new token \\leftindent.
9506 (latexParagraphs): handle the leftindent as environment.
9508 * ParameterStruct.h: added leftindent support.
9510 * ParagraphParameters.C (leftIndent): added support functions for
9511 the paragraph left indent.
9513 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9516 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
9518 * paragraph.C (isRightToLeftPar): Return false for a paragraph
9521 * text.C (computeBidiTables): No bidi in insetERT.
9523 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9526 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9528 * version.C.in: pre 5
9530 2002-05-02 José Matos <jamatos@fep.up.pt>
9531 * buffer.C (makeDocBookFile): white space changes, add newline to
9533 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9535 * tabular.C (docBook): fix typo.
9537 2002-05-03 Juergen Vigna <jug@sad.it>
9539 * screen.C (drawFromTo): recalculate the rowpointer if we had a
9540 change in LyXText as we can not be sure it was not freed.
9541 (drawOneRow): remove unused code.
9543 * text.C (drawInset): redo the calculation of the need_break_row as
9544 it could have a row which was already freed.
9545 (draw): look at the return value of drawInset and return false if
9546 it also returned false.
9547 (paintRowText): look at the return value of draw and return false if
9548 it also returned false.
9550 * lyxtext.h: added bool return type to drawInset() and draw() so that
9551 if we have a change in the row so that the rowbreak has to be redone
9552 we abort drawing as it will be called again.
9554 2002-05-02 Juergen Vigna <jug@sad.it>
9556 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9557 a change in the maintext also if we're inside an inset.
9558 (Dispatch): set the cursor again after a break line and after the
9559 screen has been updated as it could be we're in a different row.
9561 * text2.C (fixCursorAfterDelete): check to make sure we don't request
9562 to set the cursor behind the pargraph with > size().
9563 (setCursor): check also for the same paragraph when checking where
9564 to put the cursor if we have a NFR inset.
9566 * buffer.C (parseSingleLyXformat2Token): move the compatibility
9567 parts of layout read further up as it still was in the wrong
9570 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9572 * screen.C (drawFromTo): change sine fullRebreak always return
9575 * buffer.C (parseSingleLyXformat2Token): reindent some
9577 * BufferView_pimpl.C (update): change since fullRebreak always
9579 (Dispatch): git rid of the last hardcoded "Standard"s.
9581 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9583 * text2.[Ch] (fullRebreak): make it return void now that we always
9586 2002-04-30 Juergen Vigna <jug@sad.it>
9588 * buffer.C (parseSingleLyXformat2Token): reset the font before the
9589 ert compatibility check for "latex" layout.
9591 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
9593 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9594 minipages: use col% instead of p%, and also use the current font.
9595 (makeLaTeXFile): Fix use babel condition.
9596 (parseSingleLyXformat2Token): Correct font when reading old floats.
9598 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
9600 * BufferView_pimpl.C (Dispatch): Check that float type exists when
9601 inserting list of floats.
9603 2002-04-25 Herbert Voss <voss@lyx.org>
9605 * MenuBackend.C (expand): don't add the graphics extensions to the
9608 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9610 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9611 non-existing layout, do not complain if it was the default layout
9612 of the original class (bug #342)
9614 2002-04-24 Juergen Vigna <jug@sad.it>
9616 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9617 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9619 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
9621 * buffer.C (getBibkeyList): If using \bibliography, return the
9622 option field with the reference itself. Enables us to provide natbib
9623 support when using \bibliography.
9625 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
9627 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9629 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9630 natbib is provided by the LaTeX class.
9632 2002-04-23 Juergen Vigna <jug@sad.it>
9634 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9637 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9639 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9641 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9643 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9644 ensuremath around textordmasculine, textordfeminine and
9647 2002-04-19 Juergen Vigna <jug@sad.it>
9649 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9650 reinitializing the buffer otherwise row-dimensions may be wrong.
9651 (update): reset also the selection cursors if they do exits otherwise
9652 their x/y positions may be wrong.
9654 * text2.C (cursorDown): don't enter the inset if we came from a row
9655 above and are one row over the inset.
9657 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9658 really leaving an inset.
9660 2002-04-18 Juergen Vigna <jug@sad.it>
9662 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9663 of the selected paragraph does not have the selected layout also if
9666 * text2.C (setLayout): fixed bug which did not change last selected
9669 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9670 changed the read and substituted \\end_float with \\end_inset!
9672 * BufferView_pimpl.C (cursorPrevious):
9673 (cursorNext): fixed to make it work with rows heigher than the work
9674 area without moving the cursor only the draw of the row.
9675 (workAreaMotionNotify): fix jumping over high rows.
9677 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9679 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9682 2002-04-16 Juergen Vigna <jug@sad.it>
9684 * text2.C (setCursor): set also the irow().
9685 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9687 (cursorDown): support for locking an inset if the x_fix value goes
9688 inside it. That way I can transverse insets too with cursor up/down.
9690 * lyxrow.h: added irow helper function same as other (i) functions.
9692 * BufferView_pimpl.C (cursorPrevious):
9693 (cursorNext): fixed for insets!
9695 2002-04-15 Juergen Vigna <jug@sad.it>
9697 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9698 position otherwise it is wrong in some cases.
9700 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9701 inside the inset before the call.
9703 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
9705 * buffer.[Ch] (getBibkeyList): make it const.
9707 2002-04-12 Juergen Vigna <jug@sad.it>
9709 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9711 * text2.C (getCursorX): new helper function
9712 (setCursor): compute also ix_
9713 (setCursorFromCoordinates): set also ix.
9715 * lyxcursor.h: added ix_ and helper functions.
9717 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9719 * buffer.C (insertStringAsLines): dont break paragraph if the this
9720 paragraph is inside an inset which does not permit it!
9722 * text.C (breakParagraph): honor keepempty flag and break the paragraph
9723 also with no chars on this paragraph.
9724 (paintRowText): only paint stuff if it's inside the workarea!
9726 * paragraph.C (breakParagraph): honor keepempty flag and break the
9727 paragraph always below not above.
9729 * BufferView2.C (unlockInset): update the paragraph layout on inset
9730 unlock as we changed paragraph in such a case.
9732 * lyxfind.C (LyXFind): clear the former selection if not found!
9734 * text2.C (insertInset): freeze Undo after setUndo so that it is not
9735 again called in insertChar().
9737 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9738 an inset which uses the whole row!
9739 (rightMargin): ditto.
9740 (insertChar): force a rebreak if we inserted an inset!
9742 2002-03-28 Herbert Voss <voss@lyx.org>
9744 * lyxlength.[Ch]: add inBP() to get the right PS-point
9745 units (BigPoint). With inPixels we have rounding errors
9747 2002-04-11 Juergen Vigna <jug@sad.it>
9749 * text2.C (setCursorFromCoordinates): set iy to the right value.
9750 (setCursor): add check if row->previous exists!
9752 * buffer.C (parseSingleLyXformat2Token): reset font after read of
9753 an old float_type as this was the case in the old code!
9755 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9757 * BufferView2.C (showLockedInsetCursor): use iy
9758 (fitLockedInsetCursor): ditto
9760 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9761 locked insets as there we have the right value now.
9763 * lyxcursor.C: added iy_ variable and iy functions to set to the
9764 baseline of cursor-y of the locked inset.
9766 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9767 (setCursor): fixed for insets which need a full row.
9769 * text.C (rowLastPrintable): don't ignore the last space when before
9770 an inset which needs a full row.
9771 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9772 as last character of a row when before a inset which needs a full row.
9774 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9776 * version.C.in: update date
9778 * text2.C (fullRebreak): try to always return true and see what
9781 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9783 * MenuBackend.C (expand): use Floating::listName
9785 * FloatList.C (FloatList): add listName argument to the built-in
9788 * Floating.[Ch]: add listName member, which is the 'List of XXX'
9789 text associated with the float.
9791 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9793 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9795 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9797 * ShareContainer.h: add a couple of missing typenames.
9799 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
9801 * lyxrc.C (getDescription): use _() correctly rather than N_().
9803 2002-03-28 Herbert Voss <voss@lyx.org>
9805 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9806 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9808 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9810 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9811 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9813 2002-03-29 Juergen Vigna <jug@sad.it>
9815 * lyxfunc.C (dispatch): add a missing fitCursor call.
9817 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9818 it was scrolled by a cursor move, so return the bool status.
9820 * BufferView.C (fitCursor): return the bool flag also to the outside
9821 world as this is needed.
9823 * screen.C (toggleToggle): don't subtract the offset if it's positive.
9825 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9826 call the edit() as it is not needed (and wrong) IMO.
9827 (workAreaButtonPress): set the screen_first variable before evt.
9828 unlock the inset as this may change screen_first and then we have
9829 a wrong y position for the click!
9831 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9833 * MenuBackend.C (expand): another translation that I missed
9835 2002-03-28 Juergen Vigna <jug@sad.it>
9837 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9839 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9841 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9843 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9845 * MenuBackend.C (expand): fix export/view/update when there is no
9848 2002-03-27 Herbert Voss <voss@lyx.org>
9850 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9853 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9855 * bufferview_funcs.C (currentState): only show paragraph number
9856 for is DEVEL_VERSION is set.
9858 * lyxfunc.C (dispatch): put warning in INFO channel
9860 * MenuBackend.C (expand): translate the name of floats
9862 * FloatList.C (FloatList): mark the float names for translation
9864 * converter.C (convert): use LibScriptSearch
9866 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9868 * MenuBackend.C (defaults): fix default menu (we might as well get
9871 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9873 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9876 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9878 * lyxvc.C: reorder includes.
9880 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
9882 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9885 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
9887 * CutAndPaste.C: change layouts earlier on paste
9888 to avoid crashing when calling getFont()
9890 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
9892 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9895 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9897 * WorkArea.C: remove 'Pending' debug message.
9899 * most files: ws cleanup
9901 * buffer.[Ch]: ws changes
9903 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9905 2002-03-21 Juergen Vigna <jug@sad.it>
9907 * tabular.C (SetMultiColumn): collapse also the contents of the
9908 cells and set the last border right. Added a Buffer const * param.
9910 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9912 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9915 2002-03-19 Juergen Vigna <jug@sad.it>
9917 * text2.C (clearSelection): reset also xsel_cache.
9919 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9920 where it needs to be called (John tells us to do so too :)
9921 (selectionLost): reset sel_cache.
9923 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9925 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9927 * text2.C (setCursorIntern): put debuging code in INSETS channel
9929 2002-03-19 André Pönitz <poenitz@gmx.net>
9931 * lyxfunc.C: tiny whitespace change
9933 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9935 * ToolbarDefaults.C (init):
9936 * LyXAction.C (init):
9938 * BufferView_pimpl.C (Dispatch):
9939 * lyxfunc.C (dispatch): remove LFUN_DEPTH
9941 2002-03-19 Allan Rae <rae@lyx.org>
9943 * exporter.C (Export): removeAutoInsets before doing anything else.
9944 While I've just introduced a dependency on BufferView this really is
9945 the best place to clean the buffer otherwise you need to cleanup in
9946 a dozen places before calling export or cleanup in a dozen functions
9949 * converter.C (runLaTeX):
9950 (scanLog): Better handling of removeAutoInsets and screen updates.
9952 * lyxfunc.C (dispatch): small whitespace changes
9954 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9956 * WorkArea.C (C_WorkAreaEvent): return a value.
9957 (event_cb): return 1 if we handled the event, 0 otherwise.
9959 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9961 2002-03-18 Juergen Vigna <jug@sad.it>
9963 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9964 (GetAdditionalWidth): ditto.
9968 * BufferView2.C (copy): use getLyXText() so that we do it inside an
9969 inset if we're there actually (probably not used right now but this
9970 is the direction to go for unifying code).
9971 (paste): disable code to clear the selection.
9973 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9974 inside an InsetText and move the check further up as it is in the
9977 * text2.C (pasteSelection): set a selection over the pasted text.
9979 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
9981 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9982 and libgraphics to build on Cygwin.
9984 2002-03-15 Juergen Vigna <jug@sad.it>
9986 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9987 inserting an Inset into the paragraph. I know this is not the best
9988 fix but we already use current_view in CutAndPaste so we will remove
9989 all of it's using at the same time.
9991 * buffer.C (sgmlError): deactivated function till it is rewritten in
9992 the right mode, now it can create problems.
9994 * paragraph.C (isLineSeparator): check if getInset returns != 0,
9995 before accessing it.
9997 2002-03-14 Juergen Vigna <jug@sad.it>
9999 * undo_funcs.C (textHandleUndo): do the right thing when updating
10000 the inset after the undo/redo.
10002 * text2.C (setCursor): just some testcode for #44 not ready yet.
10004 * undo_funcs.C (textHandleUndo): set the next() and previous()
10005 pointers of the paragraph to 0 before deleting otherwise we have
10006 problems with the Paragraph::[destructor].
10008 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10009 on a paragraph insertion.
10011 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10013 * buffer.C (asciiParagraph): use += operator for char append to
10016 * paragraph.C (getFontSettings): compare >= not just >
10017 (highestFontInRange): ditto
10020 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10022 * paragraph.C: change several algorithm to be more appripriate for
10023 the problem domain. This is lookip in FontList and in the InsetList.
10025 2002-03-13 André Pönitz <poenitz@gmx.net>
10028 * LyXAction.C: remove unused LFUN_MATH_MACROARG
10030 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
10035 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10037 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10039 * Painter.C (display): anon helper function, adjust code for this
10041 (pixmap): remove function.
10043 * Painter.h: remove private display variable.
10045 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10047 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
10049 * WorkArea.[Ch]: remove figinset_canvas cruft.
10051 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10053 * lyxtextclass.C (operator): add one item cache optimization.
10055 * bufferlist.h: doxy changes
10057 * bufferlist.C: ws changes
10059 * DepTable.[Ch] (ext_exist): place const in the right spot.
10061 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10063 (workAreaExpose): call resizeInsets when the with BufferView changes.
10064 (Dispatch): adjust for protectedBlank removal
10065 (specialChar): call updateInset if the insert went ok.
10067 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10068 specialChar instead.
10070 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10072 * BufferView.h: doxy change
10074 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10076 * lyxtextclass.C (operator[]): remove non-const version
10077 (defaultLayout): remove non-const version
10079 2002-03-12 Juergen Vigna <jug@sad.it>
10081 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10082 did resize the LyXText too.
10084 * buffer.C (readLyXformat2): set layout information on newly allocated
10087 * tabular.C (OldFormatRead): set layout information on the paragraph.
10089 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10091 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10093 2002-03-11 Juergen Vigna <jug@sad.it>
10095 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10097 (resizeCurrentBuffer): force also the insets to resize themselfes.
10098 (moveCursorUpdate): fixed up for InsetText.
10100 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
10103 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10104 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10105 value of Dialogs::tooltipsEnabled().
10106 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10108 2002-03-08 Juergen Vigna <jug@sad.it>
10110 * BufferView_pimpl.C (updateInset): update inset inside inset also
10111 if it isn't inside theLockingInset().
10113 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10115 * buffer.C (asciiParagraph): redo some of the word and line length
10117 (getLists): look for Caption instead of caption.
10119 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10121 * buffer.C (Buffer): initialize niceFile to true
10123 (makeLinuxDocFile):
10124 (makeDocBookFile): make sure niceFile is true on exit
10126 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10128 * buffer.C (makeLaTeXFile): escape ~ in \input@path
10130 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
10132 * LyXSendto.C: remove.
10133 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10134 * lyx_gui.C: remove now-redundant comment.
10135 * ColorHandler.h: remove forward declaration of class WorkArea.
10136 * lyxfunc.C: remove #include "WorkArea.h".
10138 2002-03-07 Juergen Vigna <jug@sad.it>
10140 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10141 got moved away with the DEPM and also set the inset_owner always
10142 right which before could have been omitted.
10144 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10146 * buffer.C (parseSingleLyXformat2Token): use default layout is the
10147 wanted layout is not found.
10149 2002-03-07 Juergen Vigna <jug@sad.it>
10151 * CutAndPaste.C (cutSelection): another layout settings forgotten.
10153 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10155 * paragraph.C (breakParagraph): use default layout not layout of
10157 (Paragraph): clear ParagraphParameters.
10159 2002-03-06 Juergen Vigna <jug@sad.it>
10161 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10162 otherwise it would not be a valid lenght. Fixed a special case in
10163 the minipage compatibility read where we end the document with a
10166 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10167 was set as it could be 0 for InsetTexts first entry.
10169 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10171 * paragraph.C (writeFile): if layout is empty write out
10172 defaultLayoutName().
10174 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10175 file without named layout we set layout to defaultLayoutName().
10177 2002-03-06 Juergen Vigna <jug@sad.it>
10179 * CutAndPaste.C (copySelection): set layout for new paragraph.
10181 * text.C (prepareToPrint): leave ERT inset left aligned
10182 (leftMargin): don't indent paragraphs inside ERT insets
10184 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10186 * paragraph.C (breakParagraph): dont call clear do the work manually
10188 * paragraph.[Ch] (clear): remove function
10190 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10192 * paragraph.C (Paragraph): dont call clear, the work has already
10195 * lyxtextclass.C (operator): assert if n is empty
10197 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10198 work manually instead.
10200 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10202 * BufferView_pimpl.C: protect selectionLost against text == 0
10204 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10206 * text.C (breakParagraph): fix a setting layout to '0' problem.
10208 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10210 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10211 final location of file, for the included files, and graphics.
10213 2002-03-05 Juergen Vigna <jug@sad.it>
10215 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10217 2002-03-04 Juergen Vigna <jug@sad.it>
10219 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10221 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10222 last column of multicolumn cells.
10223 (SetWidthOfMulticolCell): recalculate NMC and real columns.
10225 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
10227 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10228 file if it doesn't go to a temporary file.
10230 * buffer.C (sgmlOpenTag):
10231 (sgmlCloseTag): remove extra newline insertion.
10233 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10235 * text.C (getRowNearY): comment out debug msg
10237 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10239 * text2.C: first -> first_y
10241 * text.C (getRowNearY): add some attemts at a possible
10242 optimization, not working.
10244 * tabular.[Ch]: add BufferParams to several function so that newly
10245 created paragraph can be initialized to he default layotu for the
10248 * tabular-old.C (ReadOld): add buf->params to call of Init
10250 * screen.C: rename text->first to text->first_y
10252 * paragraph.C (breakParagraph): always set layout in the broken
10255 * lyxtextclass.C (Read): remove lowercase
10258 (delete_layout): ditto
10260 * lyxtext.h: rename first -> first_y
10262 * lyxlayout.C (Read): remove lowercase
10265 (obsoleted_by): ditto
10267 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10269 * buffer.C (insertErtContents): add params are to InsetERT
10270 (parseSingleLyXformat2Token): add code to check if a paragraphs
10271 layout really exist.
10272 (parseSingleLyXformat2Token): add params to several inset
10274 (asciiParagraph): remove lowercase, do the layout comparisons with
10277 * BufferView_pimpl.C (cursorNext): first -> first_y
10278 (resizeCurrentBuffer): first -> first_y
10279 (updateScrollbar): first -> first_y
10280 (scrollCB): first -> first_y
10281 (workAreaMotionNotify): first -> first_y
10282 (workAreaButtonPress): first -> first_y
10283 (checkInsetHit): first -> first_y
10284 (cursorPrevious): first -> first_y
10285 (cursorNext): first -> first_y
10286 (Dispatch): add buffer_->params to severl inset contructors
10288 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10290 * lyxlayout.C (Read): remove some debug info that I forgot.
10292 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10293 clean up the code slightly.
10294 (makeLinuxDocFile): ditto
10295 (makeDocBookFile): ditto
10297 * text2.C: layout as string
10299 * text.C: layout as string
10301 * paragraph_pimpl.C: layout as string
10303 * paragraph.[Ch]: layout as string
10305 * lyxtextclasslist.[Ch]: layout as string
10307 * lyxtextclass.[Ch]: layout as string
10309 * lyxtext.h: layout as string
10311 * lyxlayout.[Ch]: layout as string
10313 * lyx_cb.C: layout as string
10315 * bufferview_funcs.C: layout as string
10317 * bufferparams.C: layout as string
10319 * buffer.C: layout as string
10321 * LyXView.[Ch]: layout as string
10323 * LaTeXFeatures.[Ch]: layout as string
10325 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10327 * BufferView_pimpl.C: change current_layout to string, remove
10332 (workAreaButtonRelease): layout as string
10334 * BufferView2.C (unlockInset): adjust
10336 * vspace.C (asLatexCommand): use an explict temp variable.
10338 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10340 * Makefile.am: use FRONTEND_*
10342 2002-03-01 Juergen Vigna <jug@sad.it>
10344 * tabular.C (SetWidthOfMulticolCell): changed to something better
10345 I hope but still work in progress.
10346 (recalculateMulticolumnsOfColumn): renamed function from
10347 recalculateMulticolCells as it is more appropriate now.
10348 (SetWidthOfCell): calculate multicols better.
10350 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10352 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10354 * lyxfunc.C (processKeySym): print sequence also if it is
10355 `deleted' (complete)
10357 * kbsequence.C (print): print sequence even if it is deleted
10358 (complete would be a better word, actually).
10360 * lyxfunc.C (dispatch): print complete options after a prefix key
10362 * vspace.C (asLatexCommand): rewrite in a slightly different form.
10364 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
10366 * text2.C (setCharFont): eliminate setCharFont code duplication.
10368 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10370 * BufferView_pimpl.C (Dispatch): remove bogus handling of
10371 LFUN_TABULAR_FEATURE (bug #177)
10373 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
10375 * Makefile.am: remove figure.h
10377 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
10379 * Bufferview_pimpl.C:
10391 * text2.C: remove #include "lyx_gui_misc.h".
10393 * LaTeX.C: added #include <cstdio>
10395 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10397 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10398 that the paragraph following this one can have.
10400 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10402 * vspace.C (asLatexCommand): fix bogus gcc warning
10404 * Makefile.am (lyx_SOURCES): remove vms_defines.h
10406 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
10408 * text2.C (setLayout): get rid of redundant code
10410 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
10412 * text2.C (incDepth): make sure depth cannot be increased beyond
10415 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
10417 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10418 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10420 * PainterBase.h (image):
10421 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10422 a LyXImage const *.
10424 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10428 * BufferView_pimpl.C:
10429 * BufferView_pimpl.h:
10449 * sp_spell.C: remove fig inset, and the crap house of
10450 cards that follows it
10452 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10457 * os2_errortable.h:
10458 * nt_defines.h: move .h into support/
10460 * vms_defines.h: remove
10462 * WorkArea.C: add space in debug output
10466 * buffer.C: add WITH_WARNINGS
10470 * bufferlist.C: s/retrive/retrieve/, add docs
10479 * chset.C: add docs
10481 * lyxgui.C: add ID to X error handler
10483 * lyxtestclass.c: fix typo
10485 2002-02-26 Juergen Vigna <jug@sad.it>
10487 * tabular_funcs.C (write_attribute): changed so that some default
10488 attributes are not written at all.
10489 (getTokenValue): set default values before trying to read the
10490 value so we have the return value always set as default if we don't
10491 find the token we search for.
10493 * tabular.C (Write): write bools as bools not as strings!
10495 2002-02-22 Juergen Vigna <jug@sad.it>
10497 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10498 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10500 * text.C (leftMargin): don't add an indent for paragraphs inside
10501 tabular cells (fix #208).
10503 2002-02-21 José Matos <jamatos@fep.up.pt>
10505 * tabular.C (docBook): fixed support for long tables.
10507 2002-02-20 Juergen Vigna <jug@sad.it>
10509 * text2.C (getFont): get the drawing font of the Inset if this
10510 paragraph is inside an inset (only important for InsetERT for now).
10512 * buffer.C (insertErtContents): use new lanugage params in ERT
10515 * CutAndPaste.C: commenting out seemingly uneeded code.
10517 2002-02-19 Allan Rae <rae@lyx.org>
10519 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10520 Iterators might be simple to use but they also get invalidated.
10521 (removeAutoInsets): renamed saved cursor tracking variables and added
10522 some comments to clarify what everything does.
10524 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
10531 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10532 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10535 * vc-backend.h: remove #include "support/syscall.h"
10539 * converter.C: rearrange #includes in Lars' approved fashion.
10541 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10542 forward declare class Timeout in the header file.
10544 * XFormsView.C: changes due to the above.
10546 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10547 similar to LyXView.
10549 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10550 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10552 2002-02-18 José Matos <jamatos@fep.up.pt>
10554 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10557 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10559 * a lot of small ws changes
10560 * add a lot of using std::XXX
10561 * use std construcs some places where approp.
10562 * use some exisint stuff from lyxfunctional where approp.
10563 * Make file changes to use partial linking (lets test this now...)
10565 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10569 remove #include "support/syscontr.h" as it's redundant. Always has been.
10577 change Systemcalls::System to Systemcalls::Wait and
10578 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10579 No change of functionality, just reflects the stripped down Systemcalls
10582 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10584 * debug.[Ch]: add a GRAPHICS type to the enum.
10586 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10588 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10590 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10593 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10595 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10596 match the changes below.
10598 * text2.C (toggleInset): if there is not editable inset at cursor
10599 position, try to see if cursor is _inside_ a collapsable inset
10602 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10604 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10605 document menu has a nice checkbox
10607 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10609 * lyxlength.C (asLatexString): change PW to output as percent of
10612 * lengthcommon.C: change '%' to 't%'
10614 * lyxfunc.C (dispatch): a few comments from Martin
10616 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
10620 * BufferView_pimpl.h:
10621 * BufferView_pimpl.C: clear our selection when X tells us we've lost
10624 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10626 * vspace.C (inPixels): fix compiler warning
10628 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10630 * lyxfunc.C (getStatus): fix status message for disabled commands.
10632 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
10634 * BufferView_pimpl.C: fix crash on close buffer
10635 during selection (#227)
10637 2002-01-27 Herbert Voss <voss@lyx.org>
10639 * buffer.C: link old Figure to new graphic inset
10641 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
10643 * FontLoader.C (getFontinfo): Change the latex font names in order
10644 to match the names of type1inst.
10646 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10648 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10650 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10651 (extchanged): ditto
10653 (remove_files_with_extension): ditto
10654 (remove_file): ditto
10657 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10658 document is smaller than the work area height. Do not initialize
10659 static variables to 0.
10661 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10663 * lyx_gui.C (init): give the toolbar tooltips a normal font.
10665 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10666 LFUN_LAYOUT_PARAGRAPHS.
10668 * tabular.C (GetCellFromInset): new method. Finds an inset in a
10669 tabular. It is possible to provide a possible cell, which will
10670 typically be the actcell from the corresponding insettabular
10672 * lyxfunc.C (getStatus): small cleanup; disable
10673 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10676 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10678 * tabular.C (Validate): remove broken optimization (fixes bug #201)
10680 * paragraph.C (startTeXParParams):
10681 (endTeXParParams): new methods. The LaTeX code to
10682 start/end paragraph formatting
10683 (simpleTeXOnePar): call startTeXParParams also when paragraph is
10684 empty (fixes bug #200)
10686 * vspace.C (inPixels): adapt to the change below
10687 (inPixels): [later] more cleanups (remove unused variables)
10689 * lyxlength.C (inPixels): change to use a width and a height as
10692 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10694 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10695 Replaced with \paperwidth
10697 * DepTable.C (insert): add std:: qualifier
10699 2002-01-18 Allan Rae <rae@lyx.org>
10701 * text2.C (removeRow): add comment. Should other refresh_?? vars be
10704 * text.C (drawInset): Turned out I didn't know enough about how
10705 rebreaking worked. This fixes most of the redraw problems. I see
10706 an occasional cursor trail when a line is broken now and the cursor
10707 placement can seem out by a few pixels also after a rebreak.
10709 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10711 * buffer.C (parseSingleLyXformat2Token): update because minipage
10712 width is now a LyXLength
10714 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10716 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10719 2002-01-17 Juergen Vigna <jug@sad.it>
10721 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10723 * BufferView2.C (lockInset): call edit() so that theLockingInset()
10724 is set correctly and the inset is updated correctly.
10726 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10728 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10729 the beginning of the loop.
10731 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
10733 * lyxrc.C: improve help for use_scalable_fonts
10735 2002-01-17 Allan Rae <rae@lyx.org>
10737 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10739 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10741 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10742 make sure to set their inset_owner to the right value (bug #171)
10744 2001-12-12 Ben Stanley <bds02@uow.edu.au>
10747 * DepTable.C: Implement mtime checking to reduce time spent doing
10750 2002-01-16 Juergen Vigna <jug@sad.it>
10752 * tabular.C (GetAdditionalHeight): one of error fixed.
10754 * lyxrc.C (output): small fix in writing use_pspell.
10756 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
10758 * sp_base.h: #include LString.h
10760 2002-01-16 Allan Rae <rae@lyx.org>
10762 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
10763 Can someone check this please?
10765 * text.C (drawInset): It was possible that p.row would be removed by
10766 breakAgainOneRow upsetting a few other settings. There may be another
10767 small tweak possible by setting need_break_row = 0 when p.row has been
10768 removed but I don't know enough about the logic here.
10770 2002-01-15 Allan Rae <rae@lyx.org>
10772 * text.C (insertChar): removed conditional truism.
10774 * BufferView2.C (removeAutoInsets): More tweaks.
10775 cur_par_prev could be a stray pointer. Check for trailing empty line
10776 in case last line was cur_par and only had an error inset on it.
10778 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10780 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10783 * vc-backend.C (most methods):
10784 * exporter.C (Export):
10785 * converter.C (convert):
10787 * LyXSendto.C (SendtoApplyCB):
10788 * lyxfunc.C (dispatch):
10792 * lyx_cb.C (AutoSave):
10794 * BufferView_pimpl.C (MenuInsertLyXFile):
10795 * buffer.C (runChktex): use Buffer::filePath().
10797 * buffer.h: rename filename to filename_; rename filepath to
10798 filepath_ and make it private
10799 (filePath): new method
10801 * buffer.C (writeFile): use fileName()
10804 * lyx_main.C (init): fix starting of LyX when the binary is a
10805 link from so,ewhere else.
10807 * minibuffer.C: include <cctype> for isprint
10809 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10811 * buffer.C (parseSingleLyXformat2Token): changes associated with the
10812 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10813 name clash with InsetCollapsable's width function.
10815 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10817 * lastfiles.C: include <iterator>
10819 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10821 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10824 * buffer.C (makeLaTeXFile): ditto.
10825 Also make loop operation more transparent.
10827 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10829 * ToolbarDefaults.C: remove trailing comma closing namespace.
10831 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10833 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10836 * trans.C (Load): comment out unused variable, allowed.
10838 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10840 * minibuffer.[Ch] (append_char): new method to recieve input from the
10841 drop-down completion browser. If a key was pressed, then recieve this
10842 char and append it to the existing string.
10843 (peek_event): modify the positioning data passed to the completion
10844 browser so that it can be placed above the minibuffer rather than below.
10845 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10847 * LyXAction.C (init): alloe error-next for readonly documents.
10849 * BufferView2.C (ChangeRefsIfUnique): use standard version of
10852 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10854 * bufferlist.C (readFile): create the buffer _after_ checking that
10857 * lyxfunc.C (verboseDispatch): fix handling of arguments
10859 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10861 * lyxrc.C: use string::erase() instead of initializing to "".
10864 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10866 * BufferView_pimpl.h:
10867 * BufferView_pimpl.C:
10870 * text2.C: tell X when we have made a selection for copying
10872 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10874 * BufferView_pimpl.C (MenuInsertLyXFile):
10875 * lyxfunc.C (menuNew):
10877 (doImport): add shortcuts to directory buttons
10879 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10882 * lyxfunc.C (setStatusMessage):
10883 (getStatusMessage): new methods
10884 (getStatus):use setStatusMessage instead of setErrorMessage
10885 (dispatch): when function is disabled, set error message here
10886 [instead of in getStatus previously]
10888 * BufferView_pimpl.C (workAreaButtonRelease): update
10889 toolbar/menubar here too.
10891 2002-01-13 Allan Rae <rae@lyx.org>
10893 * BufferView2.C (removeAutoInsets): finished off earlier fix.
10894 Now seems indestructible. Remaining task is to audit all other
10895 code affected by deleteEmptyParagraphMechanism. One small quirk
10896 left is that an empty document with an error in the preamble can
10897 be made to report an error but no error box appears. I don't know
10899 (removeAutoInsets): Improved comments.
10901 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
10904 * Thesaurus.C: update for Aiksaurus 0.14
10906 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10908 * text2.C (firstParagraph): removed member function, all uses
10909 replaces with ownerParagraph
10910 (redoParagraphs): here
10911 (updateInset): here
10912 (toggleAppendix): here
10913 * BufferView2.C (insertErrors): here
10914 (setCursorFromRow): here
10916 2002-01-13 Allan Rae <rae@lyx.org>
10918 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10919 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10920 There is still a way to segfault this although you may have to do this
10921 multiple times: Have an InsetERT with an unknown command in it.
10922 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10923 <down-arrow>, <Enter> again, View->DVI, BANG!
10925 * text2.C (setCursor):
10926 (deleteEmptyParagraphMechanism):
10927 * lyxtext.h (setCursor):
10928 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10929 Making use of the return value may help fix other bugs.
10931 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10933 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10935 * LyXView.C (updateMenubar): call MenuBar::update here
10936 (updateToolbar): but not here
10937 (showState): do not update toolbar/menubar
10939 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10940 should need to care about that.
10942 * lyxfunc.C (verboseDispatch): simplify a bit
10943 (getStatus): have a version which takes a pseudoaction, and
10944 another which requires a (kb_action,string).
10946 * LyXAction.C (retrieveActionArg): make it work also when action
10947 is not a pseudo-action.
10948 (getActionName): simplify a bit
10951 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10953 * lyxfunc.C (verboseDispatch): new families of methods with
10954 several ways to specify a command and a bool to indicate whether
10955 the command name and shortcut should be displayed in minibuffer
10956 (eventually, we could extend that to a finer bitmask like
10957 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10958 (dispatch): the pristine dispatch command which just, well,
10959 dispatchs! Note it still sets its result to minibuffer; I'm not
10962 * lyxfunc.h: remove setHintMessage
10964 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10966 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10968 * BufferView_pimpl.C (specialChar): delete new inset if we have
10969 not been able to insert it.
10971 * kbmap.C: revert to using int instead of kb_action, since all we
10972 are dealing with is pseudo-actions.
10974 * LyXAction.C (searchActionArg): change to return int instead of
10975 kb_action, since the result is a pseudoaction.
10977 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
10979 * buffer.C (insertErtContents): Fix (partially) the font bug.
10981 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10983 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10984 as the other one is broken on my machine!
10986 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
10989 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10991 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
10993 * lyxrc.[Ch]: change names and descriptions of popup font variables to
10994 reflect their actual use. Provide compatibility code for older lyxrc
10997 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10999 change names of popup font variables in line with the changes to lyxrc.C
11001 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11003 * buffer.C (asciiParagraph): avoid outputing a word twice after
11006 * lyxrc.C (getDescription): document that document_path and
11007 template_path can be empty.
11009 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11011 * LaTeXFeatures.C (getMacros):
11012 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11014 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11016 * LaTeXFeatures.C (useFloat): require "float" here instead of in
11018 (getPackages): rename feature "floats" to "float". Use an array to
11019 iterate over 'simple' features (i.e. just a \usepackage). Add
11020 handling of "amsmath" (renamed from "amsstyle").
11022 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
11024 * LaTeXFeatures.C (require): Prevent duplicate entries in the
11027 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
11029 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11030 FuncStaus::FuncStatus & FuncStaus::some_method().
11032 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
11034 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11035 of the func_satus stuff. Edited and massaged in various ways by
11038 * lyxfunc.C (getStatus): use FuncStatus
11040 2002-01-08 Juergen Vigna <jug@sad.it>
11042 * text.C (nextBreakPoint): use function Inset::isChar().
11044 * paragraph.C (TeXOnePar): use function
11045 Inset::forceDefaultParagraphs.
11047 * buffer.C (latexParagraphs): use function
11048 Inset::forceDefaultParagraphs.
11050 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11052 * lyx_gui.C (init): set the style of the menu popups to
11053 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11055 2002-01-07 Juergen Vigna <jug@sad.it>
11057 * text.C (setHeightOfRow): small fix
11058 (prepareToPrint): don't look at alignment if we don't have the place
11061 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11063 * box.C: New file. Move the Box methods and functions out of box.h,
11064 following Lars' suggestion.
11066 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11068 * box.h: #include "support/LOstream.h", needed for inlined function.
11071 * lyxtextclasslist.C: added some using std declarations.
11073 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
11075 * box.h: make signed dimensions to allow insets wider than
11076 the screen (bug #162)
11078 * BufferView_pimpl.C: add some insetHit debug
11080 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
11082 * vc-backend.C: add FIXME
11084 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11086 * lyxfunc.C (getStatus): enable code for showing math font status
11089 2002-01-07 Juergen Vigna <jug@sad.it>
11091 * text.C (nextBreakPoint): removed debug output not needed anymore.
11093 2002-01-06 Juergen Vigna <jug@sad.it>
11095 * text.C (nextBreakPoint): fixed up this function we had this bug
11096 since ever but now hopefully we break row better.
11097 (insertChar): we have to check if an inset is the next char as it
11098 could now happen that a large inset is causing a break.
11100 2002-01-05 Juergen Vigna <jug@sad.it>
11102 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11103 if it doesn't like to be drawed.
11105 2002-01-04 Juergen Vigna <jug@sad.it>
11107 * BufferView2.C (lockInset): forgot to set a cursor.
11109 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11111 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
11113 * FormMathsPanel.C:
11116 * form_maths_panel.C:
11117 * form_maths_panel.h:
11118 * form_maths_panel.fd: implemented sub- and super- buttons in math
11121 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11122 (or ^ space) to be used as in TeX (req'd by André).
11124 * lyxfunc.C: Allow ^ and _ again to be used both as
11125 super/subscript (mathed) and as themselves (in text).
11127 2002-01-03 Allan Rae <rae@lyx.org>
11129 * LyXView.C (updateWindowTitle): Setup a short icon title of either
11130 "LyX" or the filename of the current buffer if it has one. This is a
11131 modified form of John Levon's patch.
11133 * XFormsView.C (setWindowTitle): also set icon title.
11135 * LyXView.h (setWindowTitle): signature changed.
11136 * XFormsView.h (setWindowTitle): ditto.
11138 2002-01-02 Juergen Vigna <jug@sad.it>
11140 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11142 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11144 * screen.C (topCursorVisible): introduce a temp var for
11145 text->cursor.row(), handle the case where this row is null. (kindo
11148 * text2.C (setCursor): add a couple of asserts.
11150 * paragraph.h (inset_iterator): add -> operator
11152 * paragraph.[Ch] (autoDeleteInsets): remove member function
11154 * BufferView2.C (removeAutoInsets): rewrite to handle the old
11155 cursor pos correctly and handle inset deletion by itself.
11156 (insertErrors): move iterator declaration out of for expression
11158 * lyxtextclass.C: add <algorithm>
11160 * Makefile.am: added the new files to sources, removed layout.C
11162 * layout.C: removed file
11164 * layout.h: remove LYX_DUMMY_LAYOUT
11166 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11170 * lyxtextclass.[Ch]:
11171 * lyxtextclasslist.[Ch]: new files
11173 * include order changes to a lot of files, also changes because of
11176 2001-12-27 Juergen Vigna <jug@sad.it>
11178 * buffer.C (asciiParagraph): more fixes.
11180 * tabular.C (ascii): make ascii export support export of only the
11181 data separated by a column-delimiter.
11182 (ascii): better support for ascii export.
11184 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11186 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11188 * tabular_funcs.C: use a "using std::getline" instead of the
11189 previous fix from Angus (necessary for cxx + lyxstring)
11191 2001-12-24 Juergen Vigna <jug@sad.it>
11193 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11195 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11196 problems. First check a minipage also if we have some ert-contents
11197 (not only on par->size(), second set the right depth of the paragraph
11198 on the relink to the root-paragraph-list!
11200 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11201 which then did not anymore update the main paragraphs on undo/redo!
11203 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11205 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11206 code. Support all font-changing funcs (even those which are not in
11207 menu currently). Support for reporting font settings in
11208 mathed (disabled until Andre provides a function on mathed's side).
11210 * func_status.h (toggle): small helper function to set toggle
11213 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
11215 * tabular_funcs.C: getline -> std::getline
11217 2001-12-21 Juergen Vigna <jug@sad.it>
11219 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11220 accessed and could be 0 (I couldn't generate this but it seems
11223 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11225 * tabular_funcs.C: add LIstream.h, move write_attribute to..
11226 * tabular_funcs.h: here and include iosfwd
11228 2001-12-20 Juergen Vigna <jug@sad.it>
11230 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11231 inside inset but undo_par was.
11233 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11235 * Thesaurus.C: always include <config.h> in sources.
11239 * box.h: do not include <config.h> in header files
11241 * text.C (paintLastRow): remove unused variable
11243 * text.C (transformChar):
11245 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11247 * Painter.C (text):
11248 * font.C (width): rewrite to use uppercase() instead of
11251 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11253 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
11255 * lyxfind.C: clean up of find failure position change
11257 2001-12-20 Juergen Vigna <jug@sad.it>
11259 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11261 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11262 (TeXRow): added to LaTeX a single tabular row.
11263 (TeXLongtableHeaderFooter): added to output LT-h/f data.
11264 (Latex): simplified and finally good LT-h/f support.
11265 (various_functions): just small adaptions for LT-h/f support.
11267 * tabular_funcs.[hC]: added and moved here all not classfunctions
11270 2001-12-19 Juergen Vigna <jug@sad.it>
11272 * tabular.[Ch]: better support for longtabular options (not finished
11275 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11277 * text.C (paintLastRow): use the label font instead of the font of
11278 the last character to compute the size of *_BOX. This makes more
11279 sense and avoids a crash with empty paragraphs.
11280 Use Painter::rectangle to draw EMPTY_BOX.
11282 2001-12-19 Juergen Vigna <jug@sad.it>
11284 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11285 the paragraphs if the replaced paragraph is not the first one!
11286 Tried to delete not used paragraphs but does not work yet so for
11287 now it's inside #ifdef's and by default off!
11289 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11291 * MenuBackend.C: include "lyx_main.h" instead of declaring
11292 lastfiles (actually was declared as LastFiles* instead of a
11295 2001-12-17 Juergen Vigna <jug@sad.it>
11297 * tabular.C (AppendColumn): applied John's fix
11299 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
11303 * BufferView_pimpl.h:
11304 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11307 * box.h: new start of class for above
11309 * lyxfunc.C: ignore space-only minibuffer dispatches.
11310 Show the command name when it doesn't exist
11312 * minibuffer.C: don't add empty lines to the history
11314 * minibuffer.C: add a space on dropdown completion
11316 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
11318 * text.C: fix line above/below drawing in insets
11320 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11322 * lyxlength.C (LyXLength): Initialize private variables.
11324 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
11326 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11327 when inserting error insets.
11329 2001-12-13 Juergen Vigna <jug@sad.it>
11331 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11332 actually sometimes the before-paragraph.
11333 (setUndo): don't clear the redostack if we're not actually undoing!
11335 2001-12-06 Juergen Vigna <jug@sad.it>
11337 * undo_funcs.C (textHandleUndo): well after John's hint I got here
11338 and fixed redoing of main paragraph, so we can use it now ;)
11340 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11342 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11344 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11347 2001-12-13 André Pönitz <poenitz@gmx.net>
11350 * undo_func.C: minor cleanup
11352 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11354 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11355 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11356 font in urw-fonts package which is marked as -urw-fontspecific and
11357 does not work (incidentally, changing the encoding in the
11358 fonts.dir of this package to -adobe-fontspecific fixes the
11361 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11362 is a crash when undoing first paragraph (Juergen, please take a
11363 look). THis does not mean the undo fix is wrong, just that it
11366 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11367 the (Paragraph*) version when needed instead of duplicating the
11370 * text.C (workWidth): use Inset::parOwner to find out where the
11371 inset has been inserted. This is a huge performance gain for large
11372 documents with lots of insets. If Inset::parOwner is not set, fall
11373 back on the brute force method
11375 * paragraph_pimpl.C (insertInset):
11376 * paragraph.C (Paragraph):
11377 (cutIntoMinibuffer): set parOwner of insets when
11378 inserting/removing them
11380 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11382 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
11388 * mathed/formulabase.C:
11389 * mathed/math_cursor.[Ch]:
11390 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11393 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11395 * lyxlength.[Ch] (operator!=): new function
11397 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11399 * text.C (workWidth): use Inset::parOwner to find out where the
11400 inset has been inserted. This is a huge performance gain for large
11401 documents with lots of insets. If Inset::parOwner is not set, fall
11402 back on the brute force method
11404 * paragraph_pimpl.C (insertInset):
11405 * paragraph.C (Paragraph):
11406 (cutIntoMinibuffer): set parOwner of insets when
11407 inserting/removing them
11409 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11411 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11413 * tabular-old.C (getTokenValue):
11414 * tabular.C (getTokenValue):
11415 (write_attribute): new versions for LyXLength
11416 (everywhere): adjust the use of widths
11418 * tabular.h: change the type of widths from string to LyXLength
11420 2001-12-11 Ben Stanley <bds02@uow.edu.au>
11422 * paragraph.C: fixed missing line number count when exporting
11423 Environments to LaTeX file
11425 * buffer.C: added informational message for checking line numbers.
11427 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11429 * text2.C (deleteEmptyParagraphMechanism): if there is only one
11430 paragraph, do the 'double space' part, but not the 'empty
11433 * text.C (workWidth): small optimization
11434 (getLengthMarkerHeight): use minimal size for negative lengths.
11436 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
11438 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11440 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11442 2001-12-11 André Pönitz <poenitz@gmx.net>
11445 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11447 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11449 * text2.C: keep selection on a setFont()
11451 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11453 * lyx_cb.C: another bv->text misuse, from insert label
11455 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11458 * kbsequence.C: re-instate nmodifier mask
11460 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
11462 * lyx_main.h: make lyxGUI private.
11464 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11466 * lyxfind.C: place the cursor correctly on failed search
11468 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11470 * text.C (getLengthMarkerHeight): for small heights, the arrows
11471 are not always on top/bottom of the text
11472 (drawLengthMarker): smaller arrows; take the left margin in
11473 account; draw also vfills.
11475 (paintLastRow): remove special code for vfill and standard spaces,
11476 since everything is handled in drawLengthMarker now.
11478 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11480 * buffer.C (insertErtContents): try to handle font and language
11481 interaction a bit better.g
11483 * ColorHandler.C (updateColor): change the hash to cover the whole
11484 LColor enum, ws cleanup
11485 (getGCLinepars): ditto
11486 (getGCLinepars): only lookup in the linecache once.
11488 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
11490 * iterators.C (operator++): Make the iterator more robust
11492 * BufferView2.C (removeAutoInsets): Use paragraph iterators
11494 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11496 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11499 * text.C: better added space drawing
11501 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11504 * BufferView2.C: fix layout combo update on inset unlock
11506 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11508 * Makefile.am: don't compile unused files
11510 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11514 * LyXAction.C: remove old LFUN_LAYOUTNO
11516 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11518 * paragraph_pimpl.h:
11519 * paragraph_pimpl.C: isTextAt() doesn't need font param
11521 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11524 * lyxlex.C: little cleanup
11526 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11528 * BufferView_pimpl.C: fix insertAscii for insets
11530 2001-12-05 Juergen Vigna <jug@sad.it>
11532 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11533 set the right font on the "multi" paragraph paste!
11535 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11541 * lyxlength.C: remove out-commented code.
11543 * BufferView_pimpl:
11557 * vc-backend.C: change "while(" to "while ("
11559 * lyxlength.[Ch]: add zero function to check if length is zero or
11561 * lyxgluelength.C: use it
11563 2001-12-05 Allan Rae <rae@lyx.org>
11565 * lyxlength.C: Attempted a fix for the abs(int) header selection.
11566 Works for 2.95.3, from what I understand of Garst's reports this should
11567 work for other g++ versions. We're screwed if the abs(int) definition
11568 changed between bugfix releases of gcc.
11570 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11572 * text.C: fix chapter label offset !
11574 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11577 * text.C: fix hfill at end of line, clean up
11579 2001-12-04 Juergen Vigna <jug@sad.it>
11581 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11582 that we force an update of the inset and it's owners if neccessary.
11584 2001-12-03 Juergen Vigna <jug@sad.it>
11586 * text.C (rowLast): simplified code
11588 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11590 * lyxfunc.C: fix show options on timeout
11592 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11594 * screen.C (topCursorVisible): scroll half a page when the cursor
11595 reached top of bottom of screen
11597 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
11599 * minibuffer.C: deactivate on loss of focus
11601 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11603 * vspace.[Ch] (operator!=): add operator.
11605 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
11607 * BufferView_pimpl.C: refuse to open an inset when
11608 there's a selection.
11610 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
11612 * BufferView_pimpl.C: allow to click on RHS of full row insets
11614 2001-11-30 Juergen Vigna <jug@sad.it>
11616 * tabular.C (LyXTabular): add a same_id to set the same id's in the
11617 insets for undo reasons.
11619 2001-11-28 André Pönitz <poenitz@gmx.net>
11621 * vspace.[Ch]: cosmetical changes
11623 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11633 * kbsequence.C: part re-write of old kb code
11636 * WorkArea.C: remove Lgb_bug_find_hack
11638 2001-11-30 José Matos <jamatos@fep.up.pt>
11640 * buffer.C (makeDocBookFile): add a comment to point a hack.
11641 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11642 Fixed a double write of labels.
11644 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11647 * LaTeX.h Fixed bug in LaTeX class where it would not
11648 re-run latex if no depfiles were changed, but the .dvi was removed.
11650 2001-11-28 André Pönitz <poenitz@gmx.net>
11652 * all the files from the change on 2001/11/26:
11653 use lyx::layout_type instead of LyXTextClass::size_type
11654 use lyx::textclass_type instead of LyXTextClassList::size_type
11656 2001-11-29 Juergen Vigna <jug@sad.it>
11658 * text.C: added support for paragraph::isFreeSpacing()
11660 * buffer.C: same as above
11662 * paragraph.h: inserted isFreeSpacing() function to enable
11663 FreeSpacing inside InsetERT.
11665 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11666 of the paragraph's in the cut/copy buffer to 0!
11668 * text2.C (removeRow): remove the assert as it can!
11670 * lyxtext.h: added helper function firstRow returning firstrow and
11671 made firstrow private again.
11673 * BufferView2.C (lockInset): don't relock if we're already locked!
11675 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11676 the only paragraph.
11677 (removeRow): added Assert::(firstrow)
11679 * debug.C: forgot to add INSETTEXT here.
11681 2001-11-28 Juergen Vigna <jug@sad.it>
11683 * sp_spell.C (initialize): changed error text to more general
11684 spellchecker command use (not only ispell!)
11686 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11688 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11690 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11692 * vspace.C: initialise lyxgluelength on failure
11694 2001-11-28 Allan Rae <rae@lyx.org>
11696 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11697 declaration & definition that looks like a function declaration.
11699 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11701 * BufferView2.C (copy):
11702 (copyEnvironment): do not clear the selection when doing a copy.
11704 * text.C (paintFirstRow): compilation fix
11706 2001-11-27 Ben Stanley <bds02@uow.edu.au>
11708 * tabular.C (Latex): correct line count when writing latex.
11710 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
11712 * paragraph_pimpl.h:
11713 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11716 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11720 * LColor.C: change vfillline->added_space
11722 * text.C: add markers and text for added space
11724 * vspace.C: fix comment
11726 2001-11-28 André Pönitz <poenitz@gmx.net>
11728 * paragraph.C: whitespace changes
11729 * all the other files from the change on 2001/11/26:
11730 change *::pos_type into lyx::pos_type
11732 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
11734 * buffer.C (parseSingleLyXformat2Token): Set the language to the
11735 language of the document when inserting error insets.
11737 2001-11-26 André Pönitz <poenitz@gmx.net>
11739 * BufferView_pimpl.[Ch]:
11747 * paragraph_pimpl.[Ch]:
11750 * text2.C: reduce header dependencies, introduce type for positions
11752 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11754 * <various>: change to use Alert.h
11756 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
11758 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11759 when encountering an unknown token.
11760 (readLyXformat2): Show an error message if there were unknown tokens.
11762 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
11765 * BufferView_pimpl.C:
11769 * text2.C: use par->isInset()
11771 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11773 * paragraph_pimpl.h:
11774 * paragraph_pimpl.C: cleanup
11776 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11778 * text2.C (removeRow):
11779 * text.C (setHeightOfRow): remove useless (and costly) call to
11782 2001-11-20 Allan Rae <rae@lyx.org>
11784 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11785 Now need Inset*::checkInsertChar() to return true for appropriate
11786 cases so that the characters in the minibuffer will actually be
11789 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11791 * text.C: change the order of the includes.
11792 (workWidth): initialize it at once.
11793 (workWidth): make maxw unsigned
11794 (setHeightOfRow): remove unused variable (inset)
11795 (selectSelectedWord): remove unused variable (inset)
11796 (paintRowText): fix drawing of hfill characters, and clean up a bit.
11798 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11800 * lyxserver.C (emergencyCleanup): do not try to close pipes if
11801 server is not running.
11803 (closeConnection): add debug info when server is disabled.
11805 * ColorHandler.C (getGCForeground): send debug message to GUI
11808 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11810 * kbmap.C (bind): modify because return conventions of
11811 kb_sequence::parse have changed.
11813 * kbsequence.C (parse): only ignore spaces and not any stupid
11814 control character. This avoids tests like s[i] <= ' ', which are
11815 guaranteed to fail with 8bit characters and signed chars.
11816 Change return code to string::npos when there have been no error
11817 (0 was a bad idea when error is at first character)
11819 2001-11-14 José Matos <jamatos@fep.up.pt>
11822 * buffer.C (simpleDocBookOnePar): removed unused argument.
11824 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11826 * text.C (selectNextWordToSpellcheck): do not test explicitely for
11827 insets which are part of a word. Paragraph::isLetter takes care of
11828 that now. Use Paragraph::isInset to identify insets.
11829 (selectSelectedWord): do not test for hyphenation break.
11831 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11832 that protected spaces are considered as spaces.
11834 * paragraph.C (isLetter): cleanup the code for ispell extras; use
11837 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
11840 * lyxserver.C: fix it. and small cleanup.
11842 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11844 * BufferView_pimpl.C: use inline helpers
11847 * LaTeXFeatures.C: fix typos
11850 * Spacing.C: move spacing_string into class
11852 * ToolbarDefaults.C: move stuff into namespace anon
11854 * layout.h: update enum
11856 * lyxfunc.C: use better debug
11858 * minibuffer.h: fix typo
11862 * WorkArea.C: add and use Debug::WORKAREA
11866 * text2.C: code re-organisation, inline helpers
11868 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
11870 * Layout.C: replaced a few cases of std::vector.size() == 0 with
11871 std::vector.empty().
11873 2001-11-09 Allan Rae <rae@lyx.org>
11875 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11876 '\n's after tables. Tabular and ERT inset work now makes this no
11879 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11882 * minibuffer.C: fix crash, improve drop-down completion
11884 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
11887 * lyxserver.C: invalidate fd's when doing endPipe()
11889 2001-11-08 José Matos <jamatos@fep.up.pt>
11891 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11892 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11895 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11897 2001-11-07 José Matos <jamatos@fep.up.pt>
11900 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11903 * buffer.C (sgmlOpenTag):
11904 * buffer.C (sgmlCloseTag): removed debug info.
11906 * buffer.h (sgmlOpenTag):
11907 * buffer.h (sgmlCloseTag): made public.
11909 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11911 * buffer.C (saveParamsAsDefaults):
11912 * lyx_cb.C (MenuLayoutSave): remove
11914 * LyXAction.C (init):
11916 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11918 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11920 * buffer.C (setPaperStuff): removed from here...
11922 * bufferparams.C (setPaperStuff): ... and moved there.
11924 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
11928 * XFormsView.C: add support for drop-down completion
11930 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
11932 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11935 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11937 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11940 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
11942 * lyx_main.C: change ref to known bugs
11944 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
11946 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11947 to work around older babel problems.
11949 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11951 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11953 2001-10-24 Juergen Vigna <jug@sad.it>
11955 * tabular-old.C (ReadOld): below variable changes reflected.
11957 * tabular.[Ch]: added ltType struct for longtable header/footer
11958 defines and changed all instances where they are used. Added
11959 future support for double top/bottom rows.
11961 2001-10-24 José Matos <jamatos@fep.up.pt>
11963 * buffer.h (docbookHandleCaption):
11964 * buffer.C (docbookHandleCaption): removed unused function.
11965 (makeDocBookFile): moved docbook supported version to v4.1.
11967 2001-10-24 José Matos <jamatos@fep.up.pt>
11970 * tabular.C (docbookRow): new function to export docbook code of a row.
11971 (DocBook): now honors the longtable flags.
11973 2001-10-23 José Matos <jamatos@fep.up.pt>
11976 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11977 of the lyx defined sgml entities used in a docbook/linuxdoc document.
11979 * buffer.C (makeLinuxDocFile):
11980 (makeDocBookFile): reworked the preamble, more clean, and with
11981 support for lyx defined entities. Changed the document declaration
11982 to be more XML friendly.
11984 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11985 if we need to output XML that should be done with a filter.
11987 2001-10-22 Juergen Vigna <jug@sad.it>
11989 * sp_pspell.h (class PSpell): add alive function needed in the
11990 controller to see if the spellchecker could be started.
11992 2001-10-22 Juergen Vigna <jug@sad.it>
11994 * buffer.C (insertStringAsLines): modify the font for inserting
11995 chars in certain conditions by calling checkInsertChar(font).
11997 2001-10-19 Juergen Vigna <jug@sad.it>
11999 * text.C (workWidth): use getRow instead of wrong algorithm.
12000 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12002 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
12007 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12009 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12011 * text.C (workWidth): do not search for the exact row when
12012 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12013 optimization for big documents.
12015 2001-10-18 Juergen Vigna <jug@sad.it>
12017 * text.C (workWidth): new function with added Inset * parameter.
12019 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12021 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12023 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12024 change return type of getColumnNearX.
12027 * text.C (changeRegionCase): use uppercase/lowercase instead of
12030 (rightMargin): simplify code by factoring out the uses of
12035 (appendParagraph): use Paragraph::size_type
12037 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12039 * vspace.C (asLatexString): add a missing break
12041 2001-10-15 Herbert Voss <voss@perce.de>
12043 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12045 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12047 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12050 2001-10-10 André Pönitz <poenitz@gmx.net>
12052 * lyxfunc.C: removed greek_kb_flag.
12054 2001-10-10 Herbert Voss <voss@perce.de>
12056 * lyx_main.C: delete global string help_lyxdir.
12058 2001-10-09 Herbert Voss <voss@perce.de>
12060 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12062 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12064 * lyx_main.C: added global string help_lyxdir.
12066 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12068 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
12070 * lyxrc.C (set_font_norm_type): support iso8859-4
12072 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
12074 * LaTeX.C (deplog): add another regex for MikTeX
12076 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
12078 * lyxrc.C (set_font_norm_type): support iso8859-3
12080 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12082 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12084 * LaTeXFeatures.C: remove special case of french and index
12086 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12087 before \begin{document}). This solves several incompatibilities.
12089 2001-10-03 Garst Reese <reese@isn.net>
12091 * lyx_cb.C: change CheckTex error msg.
12093 2001-10-03 José Matos <jamatos@fep.up.pt>
12095 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12097 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12099 * .cvsignore: update
12101 * lyx_main.C (commandLineVersionInfo): use new style version info.
12103 * buffer.C (writeFile):
12105 (makeLinuxDocFile):
12106 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12108 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12110 * version.h: update to use stuff in version.C
12112 * version.C.in: new file. Contains version information determined
12113 at compile time. This is a merging of version.h and
12116 2001-10-03 Juergen Vigna <jug@sad.it>
12118 * BufferView_pimpl.C (update): don't change "dirty" status in
12121 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
12123 * WorkArea.C (c-tor): re-position version string slightly.
12125 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
12127 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12128 revert to previous code.
12130 WorkArea.[Ch]: (show, destroySplash): methods removed.
12132 WorkArea.C: rework code so that it's an amalgam of the codes before and
12133 after the splash screen was moved to WorkArea.
12135 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12138 * vspace.C (inPixels):
12141 * buffer.C (insertStringAsLines):
12142 (asciiParagraph): fix types to be large enough
12144 * lyxlex_pimpl.h: change member status from short to int
12146 * layout.h: fix type of endlabeltype
12149 * kbsequence.C (parse): change return type to string::size_type
12151 * LaTeX.C (updateBibtexDependencies): comment out unneeded
12154 * Bullet.C (bulletSize):
12155 (bulletEntry): do not use short ints as parameters
12157 * BufferView2.C (insertLyXFile): change a char to an int.
12159 * WorkArea.C (WorkArea): remove unneeded floats in computation
12161 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
12163 * buffer.C (asciiParagraph): Treat '\\' as other chars.
12165 * paragraph.C (asString): Do not ignore newline/hfill chars when
12166 copying to the clipboard.
12168 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
12170 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12171 after a multi-line inset.
12173 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
12175 * paragraph.C (validate): Set NeedLyXFootnoteCode
12177 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12179 * lyxfont.C (LyXSizeNames): changed increase-error to increase
12180 and decrease-error to decrease.
12182 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12184 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12185 it more readable (should be equivalent)
12187 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
12189 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12191 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12193 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12194 of a cursor (row, etc.) after a character has been deleted
12195 (deleteEmptyParagraphMechanism): call the method above on _all_
12196 cursors held by the LyXText when a double space has been
12199 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12201 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12203 (resizeCurrentBuff): remove code to destroy the old splash dialog.
12205 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12206 background. Use greyOut() and the new show() methods to toggle between
12207 the foreground and background. Add code to remove the splash after
12208 its initial showing.
12210 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12211 (create_forms): no longer call Dialogs::showSplash.
12213 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12215 * .cvsignore: add version_info.h
12217 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12219 * version_info.h.in: new file
12221 * Makefile.am: add version_info.h.in
12223 * lyx_main.C (commandLineVersionInfo): use version_info defined in
12224 version_info.h instead of VERSION_INFO
12226 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
12228 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12229 The ERT inset now returns string().
12231 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
12233 * lyxtext.h, text.C (selectNextWord): renamed as
12234 selectNextWordToSpellcheck.
12236 * text.C (selectNextWordToSpellcheck): Modified to not select
12237 words inside an ERT inset.
12239 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12241 * lyx_cb.C (MenuLayoutSave): change a bit the question
12243 * sp_base.h: include <sys/types.h>
12245 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
12247 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12249 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
12251 * several files: fix typos in user-visible strings
12253 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12255 * text2.C (pasteSelection): do not set the selection, since it
12256 will be cleared later. Actually, the intent was to fix the way the
12257 selection was set, but I figured rmoving the code was just as good.
12259 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
12261 * FontLoader.C (available): Check if font is available without
12264 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
12266 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12268 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
12270 * lyxrc.[Ch]: added display_graphics variable and associated code.
12272 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12274 * bufferparams.C (hasClassDefaults): new method. Returns true if
12275 the buffer parameters correspond to known class defaults
12277 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
12279 * XFormsView.C (show): set minimum size to the main window.
12281 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12283 * text2.C (copySelection):
12285 * lyxfind.C (LyXReplace):
12286 * BufferView_pimpl.C (Dispatch): pass the correct flag to
12287 LyXText::selectionAsString.
12289 * paragraph.C (asString): add "label" argument to the second form
12291 * text2.C (selectionAsString): add "label" argument and pass it to
12292 Paragraph::asString.
12294 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12296 * lyx_main.C (commandLineHelp): remove version information
12298 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
12300 * lyx_main.C: add -version commandline option
12302 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12304 * paragraph.h: make the optional constructor arg required instead.
12305 some modifications to other files because of this.
12307 * minibuffer.C (C_MiniBuffer_peek_event): make it static
12309 * lyxserver.C (C_LyXComm_callback): make it static
12311 * lyx_main.C (error_handler): make it static
12313 * lyx_gui.C (LyX_XErrHandler): make it static
12315 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12317 * WorkArea.C: make the extern "C" methods static.
12319 * Makefile.am (lyx_LDADD): simplify
12321 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12323 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12324 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12326 * LyXAction.C (init):
12327 * lyxfunc.C (dispatch): associated code removal.
12329 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12331 * lyxfont.h (isSymbolFont): shut off warning
12333 * text.C (setHeightOfRow):
12334 (getVisibleRow): fix crash with empty paragraphs which have a
12337 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
12339 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12342 2001-09-04 José Matos <jamatos@fep.up.pt>
12345 * tabular.C (docbook): rename docBook method to docbook.
12347 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12349 * Makefile.am: add dependencies to main.o.
12351 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
12353 * FontLoader.C (available): Return false if !lyxrc.use_gui
12355 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
12357 * FontInfo.C (query):
12358 * converter.C (view):
12359 * importer.C (Import):
12360 * exporter.C (Export): Can not -> cannot.
12362 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
12364 * BufferView_pimpl.C: allow to create index inset even if
12367 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12369 * buffer.C (getLists): replace boost::tie code with an explicit pair
12370 as boost::tie can break some compilers.
12372 * iterators.h: Added a std:: declaration to the return type of
12375 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
12377 * lyxrc.C: add help for view_dvi_paper_option, default to safe
12380 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
12382 * iterators.[Ch]: New files. Provide paragraph iterators.
12384 * buffer.C (changeLanguage): Use paragraph iterators.
12385 (isMultiLingual): ditto
12387 * BufferView2.C (ChangeInsets): Use paragraph iterators.
12389 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
12391 * FontLoader.C: Support for cmr font.
12393 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
12395 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12396 (available): New method.
12398 * FontInfo.C (getFontname): Use scalable fonts even when
12399 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12402 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12404 * converter.C (Formats::view): reverted! Incorrect fix.
12406 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12408 * converter.C (Formats::view): only output the -paper option
12409 if the dvi viewer is xdvi, thereby fixing bug #233429.
12411 2001-08-23 Herbert Voss <voss@perce>
12413 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12415 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
12417 * Spacing.h (Spacing): Set space to Default on in the default
12420 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
12422 * vc-backend.h (RCS::versionString): add RCS to version
12423 (CVS::versionString): add CVS to version
12425 * vc-backend.C (scanMaster): do not add CVS to version.
12426 (scanMaster): do not add RCS to version
12428 * lyxvc.C (versionString): new method
12430 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12432 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12434 * Spacing.C (set): initialize fval
12436 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
12438 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12441 2001-08-16 Juergen Vigna <jug@sad.it>
12443 * lyxfunc.C (dispatch): implemented the new FINISHED states.
12445 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12447 * BufferView_pimpl.C:
12450 * text2.C: setParagraph takes linespacing now
12452 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
12454 * LyxAction.C: add internal LFUN_CITATION_INSERT
12456 * LyXView.C: actually apply fix
12458 * bufferlist.C: fix open non-existent file
12460 * lyxfind.C: fix indentation
12462 * lyxfunc.C: remove unneeded assert, fix typo
12464 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12466 * MenuBackend.C: use "Floatname List"
12468 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
12470 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12471 when converting LaTeX layout to insetERT.
12472 Generate a non-collapsed float when reading old float
12474 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12476 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12479 2001-08-13 Juergen Vigna <jug@sad.it>
12481 * text.C (fill): return 0 instead of 20 as this seems to be the more
12484 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12486 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12489 2001-08-13 Juergen Vigna <jug@sad.it>
12491 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12493 (SearchBackward): comment out the unlocking of the inset_owner this
12494 should not be needed!
12496 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
12498 * Many files: Remove inherit_language, and add latex_language
12500 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12501 collapsible insets.
12503 2001-08-10 Juergen Vigna <jug@sad.it>
12505 * text.C (prepareToPrint): fixed hfill-width in draw!
12507 * BufferView2.C (selectLastWord): save the selection cursor as this
12508 now is cleared in the function LyXText::clearSelection!
12510 2001-08-08 Juergen Vigna <jug@sad.it>
12512 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12513 BACKSPACE type functions.
12515 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12516 is only cutted from the document but not put in the cut-buffer, where
12517 still the old stuff should be.
12519 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12521 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12523 * tabular.C (SetWidthOfCell): fixed special case where the width
12525 (LeftLine): handle '|' in align_special.
12527 (LeftAlreadyDrawed): ditto
12528 (SetWidthOfCell): ditto
12530 2001-08-07 Juergen Vigna <jug@sad.it>
12532 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12534 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12536 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12537 * lyxlex.[hC]: ditto
12539 2001-08-06 Juergen Vigna <jug@sad.it>
12541 * text.C (getVisibleRow): fix up row clearing a bit.
12543 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12545 * minibuffer.C: make sure the X server sees the changes in the input.
12547 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12549 * paragraph.C (getFont): split into...
12550 (getLabelFont): this
12551 (getLayoutFont): and this
12552 * paragraph_pimpl.C (realizeFont): calling this
12554 * text2.C (getFont): split into...
12555 (getLayoutFont): this
12556 (getLabelFont): and this
12557 (realizeFont): all three calling this
12559 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12562 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12564 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12566 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
12568 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12569 layouts from the Quote inset insertion.
12571 2001-08-03 Juergen Vigna <jug@sad.it>
12573 * BufferView_pimpl.C (update): do the fitCursor only at the end!
12575 * screen.C (drawFromTo): don't call fitcursor here and do the loop
12576 only if status not is already CHANGED_IN_DRAW (second level).
12578 * text.C (draw): don't set the need_break_row when inside an
12581 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12583 * buffer.C (parseSingleLyXformat2Token): handle more latex
12586 * bufferview_funcs.[hC]: change function names to
12587 begin with small char, adjust other files.
12589 2001-08-02 André Pönitz <poenitz@gmx.net>
12592 BufferView_pimpl.C: remove broken special code for math-greek
12594 2001-08-02 Juergen Vigna <jug@sad.it>
12596 * BufferView_pimpl.C (update): redone this function so that we
12597 update the text again if there was a CHANGE_IN_DRAW.
12599 * screen.C (cursorToggle): removed LyXText parameter and recoded.
12600 (drawFromTo): added a new internal bool which is used by draw() and
12602 (general): some cursor drawing problems fixed.
12604 2001-08-01 Juergen Vigna <jug@sad.it>
12606 * lyxfind.C (LyXFind): fixed
12607 (SearchForward): ditto
12608 (SearchBackward): ditto
12610 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12611 spurius drawing of the cursor in the main area.
12613 * text2.C (status): small fix which could lead to a segfault!
12614 (clearSelection): remove unneeded BufferView param.
12616 2001-08-01 André Pönitz <poenitz@gmx.net>
12618 * lyxfunc.C: small change due to changed mathed interface
12620 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12622 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12624 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
12626 * lyxfunc.c: fail gracefully if file doesn't exist
12631 * BufferView_pimpl.C: IsDirWriteable() proto changed
12633 * LyXView.C: fix updateWindowTitle() to store the last title
12635 2001-07-31 Juergen Vigna <jug@sad.it>
12637 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12638 the font (wrong since using of Paragraph::highestFontInRange).
12640 * paragraph.C (highestFontInRange): added a default_size parameter.
12642 * text.C (getVisibleRow): minor clear row changes (still not perfect).
12643 (setHeightOfRow): reformat
12645 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12647 * converter.[hC] + affected files: move to (inital-char)lowercase
12650 * ParagraphParameters.C (ParagraphParameters): remove commented code
12652 * PainterBase.[Ch]: remove commented code
12654 * LaTeXFeatures.h: add "bool floats" for float.sty
12656 * LaTeXFeatures.C (LaTeXFeatures): init floats
12657 (require): handle float
12658 (getPackages): do it with floats
12660 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12662 * BufferView_pimpl.C (Dispatch): improve handling of
12663 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12665 * commandtags.h: #include lyxfont.h here temporarily to avoid
12668 * bufferlist.h: include LString.h here.
12670 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12672 * text2.C (getStringToIndex): new method.
12674 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
12676 * *: Reduced header file dependencies all over.
12678 2001-07-30 Baruch Even <baruch@lyx.org>
12680 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12682 2001-07-29 Baruch Even <baruch@lyx.org>
12684 * buffer.C (readInset): Changed GRAPHICS to Graphics.
12686 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12688 * ParameterStruct.h (endif): add a default constructor to make
12689 sure that all variables is initialized.
12691 * ParagraphParameters.C (ParagraphParameters): adjust
12693 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12695 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12696 index; also, check that there is something to index, and that it
12697 does not span over several paragraphs.
12698 (doubleClick): use WHOLE_WORD_STRICT for double click.
12700 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12702 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12705 2001-07-26 Baruch Even <baruch@lyx.org>
12707 * buffer.C (readInset): Changed to call up InsetGraphics when reading
12708 an InsetFig figure, backwards compatible reading of old figure code.
12710 2001-07-27 Juergen Vigna <jug@sad.it>
12712 * text2.C: font.realize function adaption.
12714 * text.C (draw): add a warnings lyxerr text if needed.
12716 * layout.C: font.realize function adaption.
12718 * language.C: add inherit_language and implement it's handlings
12720 * bufferview_funcs.C (StyleReset): remove language parameter from
12721 font creation (should be language_inherit now).
12723 * bufferparams.C (writeFile): handle ignore_language.
12725 * paragraph.C (getFontSettings): the language has to be resolved
12726 otherwise we have problems in LyXFont!
12728 * lyxfont.C (lyxWriteChanges): added document_language parameter
12729 (update): removed unneeded language parameter
12731 * paragraph.C (validate): fixed wrong output of color-package when
12732 using interface colors for certain fonts in certain environments,
12733 which should not seen as that on the final output.
12735 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
12737 * BufferView_pimpl.C:
12742 * LyXAction.C: add thesaurus support
12745 * lyxfind.C: add "once" parameter, for thesaurus, to not
12746 move to the next match
12748 2001-07-26 Juergen Vigna <jug@sad.it>
12750 * lyxfont.C (realize): honor ignore_language too!
12753 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12755 * text.C (draw): one place more for ignore_language to not draw
12758 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
12760 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12762 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12764 * buffer.C (parseSingleLyXformat2Token): a more general fix for
12765 the minipage conversion problem.
12767 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12769 * buffer.C (parseSingleLyXformat2Token): check minipage if we
12772 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12774 * BufferView.h: don't forward declare WorkArea
12776 * BufferView.C: don't include WorkArea.h
12778 2001-07-25 André Pönitz <poenitz@gmx.net>
12782 * lyxfunc.C: new LFUN 'math-space'
12784 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12786 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12788 * text2.C (toggleInset): call open/close
12790 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12792 * lyxfunc.C (dispatch): add debug for the disabled case
12794 * font.C (buttonText): make similar to rectText
12796 * buffer.C (readInset): comment out parsing of insetlist and
12799 * PainterBase.C (rectText): small correction
12801 * BufferView_pimpl.C: comment out insettheorem and insetlist
12802 * LyXAction.C: ditto
12803 * commandtags.h: ditto
12805 2001-07-24 Juergen Vigna <jug@sad.it>
12807 * text.C (draw): honor the ignore_language.
12809 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12811 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12813 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12816 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12818 * lyxtext.h: remove unused (and unimplemented) methods
12820 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12822 * text.C (getVisibleRow): honor background color
12825 * Painter.h: remove default color argument for fillRectangle
12827 * text.C (backgroundColor): new method
12829 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12831 * text.C (getVisibleRow): adjust
12833 * font.[Ch] (rectText): new method, metrics
12834 (buttonText): new method, metrics
12836 * PainterBase.[hC]: make rectText and buttonText always draw and take
12839 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12841 * ToolbarDefaults.C (read):
12842 * MenuBackend.C (read): allow escaping in all strings
12844 * BufferView_pimpl.C (insertAndEditInset): new method.
12845 (Dispatch): use insertAndEditInset whenever appropriate.
12847 * BufferView_pimpl.C (insertNote): removed
12849 * BufferView_pimpl.C (smartQuote): new method, moved from
12850 BufferView; if an insetquote cannot be inserted, insert a '"'
12853 * BufferView2.C: remove insertCorrectQuote();
12855 * lyxfunc.C (getStatus): Add support for all remaingin
12856 inset-insert lfuns.
12858 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12860 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12861 command (necessary to pass " as parameter of self-insert.
12863 * text.C (selectWordWhenUnderCursor):
12864 (selectWord): add word_location parameter
12865 (selectWordWhenUnderCursor): same + remove special code for word
12867 (selectNextWord): use kind() to guess type of insetspecialchar,
12870 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12871 (insertErtContents): create ert insets as collapsed.
12872 (readInset): better compatibility code for Info inset.
12874 2001-07-20 Juergen Vigna <jug@sad.it>
12876 * lyxfunc.C (dispatch): use always LyXFind now!
12878 * text2.C (init): add a reinit flag so that the LyXText can be
12879 reinited instead of deleted and reallocated (used in InsetText).
12881 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12887 2001-07-18 Juergen Vigna <jug@sad.it>
12889 * text.C (selectNextWord): handle insets inside inset by calling
12890 always the bv->text functions so that we can go up the_locking_inset!
12892 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12893 in strange locations when inside an inset!
12895 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12896 handling to include insets.
12898 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12900 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12902 * LyXAction.C (init):
12904 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12905 LIGATURE_BREAK, since the name is so stupid.
12907 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12909 * buffer.C (readInset): enable reading of new InsetNotes as well as old
12912 * FontLoader.C: remove FORMS_H_LOCATION cruft.
12914 * sp_form.[Ch]: remove.
12916 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12918 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12921 * src/buffer.C (readInset): ditto.
12923 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12925 * BufferView_pimpl.C (specialChar): new method. Obsoletes
12926 menuSeparator(), endOfSentenceDot(), ldots() and
12927 hyphenationPoint(), which are therefore removed.
12928 (Dispatch): handle LFUN_HYPHENATION_BREAK.
12930 * LyXAction.C (init):
12931 * commandtags.h: add LFUN_HYPHENATION_BREAK.
12933 * paragraph.C (getWord): removed.
12935 * BufferView_pimpl.C (Dispatch): use last word or selection for
12936 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12938 * lyx_main.C (queryUserLyXDir): do not ask before creating
12939 user_dir, except if it has been named explicitely.
12941 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12943 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12944 a document of zero size.
12946 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
12948 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12949 approriately in the c-tor and in require().
12950 (getPackages): output the appropriate LaTeX for natbib support.
12952 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12953 variables "use_natbib" and "use_numerical_citations" when reading the
12955 (readInset): read the various natbib cite commands.
12956 (validate): white-space change.
12958 * bufferparams.[Ch]: new variables "bool use_natbib" and
12959 "bool use_numerical_citations".
12960 (writeFile): output them in the LyX file.
12962 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12964 * lyxfunc.C (getStatus): add support for all the inset insertion
12967 * text2.C (insertInset):
12968 * paragraph.C (insetAllowed):
12969 * BufferView_pimpl.C (insertInset): update to take in account the
12970 renaming of insertInsetAllowed
12972 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12974 * text2.C (getInset): new method. returns inset at cursor position.
12976 * BufferView_pimpl.C (Dispatch): changes because of this.
12978 * LyXAction.C (init): rename open-stuff to inset-toggle.
12980 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12982 * text2.C (toggleInset): renamed from openStuff; use
12985 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
12987 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12989 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12991 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
12993 * buffer.C (readLyXformat2): Add filename to the error dialog
12995 2001-07-18 Juergen Vigna <jug@sad.it>
12997 * tabular.C (GetCellNumber): put an assert here instead of the check!
12999 2001-07-17 Juergen Vigna <jug@sad.it>
13001 * BufferView_pimpl.C (toggleSelection): adapted too.
13003 * text.C (selectNextWord): adapted for use with insets.
13004 (selectSelectedWord): ditto
13006 2001-07-17 Juergen Vigna <jug@sad.it>
13008 * sp_spell.C (PSpell): fix initialitation order.
13010 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13012 * paragraph.C: spacing
13014 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
13016 * sp_spell.C: repair language selection for pspell
13018 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13020 * lyxfunc.h: change more methods to begin with lower char.
13022 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
13024 * buffer.C (parseSingleLyXformat2Token): Generate error insets
13025 for unknown layouts.
13027 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
13029 * buffer.C (readLyXformat2): Generate an error dialog if there are
13032 2001-07-16 Juergen Vigna <jug@sad.it>
13034 * sp_spell.C: always compile ISpell part.
13036 * lyxrc.C: added use_pspell entry and it's handling.
13038 2001-07-13 Juergen Vigna <jug@sad.it>
13040 * sp_spell.C: removed double includes.
13042 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
13044 Consistent use of Lsstream.h:
13045 * Lsstream.h: added using std::stringstream for consistencies sake.
13047 * buffer.C: removed using std::stringstream
13049 * lyxfont.C (stateText):
13050 * paragraph.C (asString):
13051 * text.C (selectNextWord, selectSelectedWord):
13052 * text2.C (setCounter):
13053 * vspace.C (asString, asLatexString):
13054 std::ostringstream -> ostringstream.
13056 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13058 * LyXAction.C: add LFUN_HELP_ABOUTLYX
13059 * commandtags.h: add LFUN_HELP_ABOUTLYX
13060 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13062 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13064 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13066 * lyx_gui_misc.C: remove spellchecker
13067 * lyxfunc.C: showSpellchecker
13069 * sp_ispell.h: added
13070 * sp_pspell.h: added
13071 * sp_spell.C: added
13072 * sp_form.[Ch]: removed
13073 * spellchecker.[Ch]: removed
13075 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
13077 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13079 (simpleTeXSpecialChars): Simply print the input character without
13080 any special translation if pass_thru is set.
13082 * layout.h: Added bool pass_thru to layout class for being able to
13083 implement pass through of a paragraph for Literate Programming.
13085 * layout.C: add LT_PASS_THRU to LayoutTags enum.
13086 * layout.C (LyXLayout): set pass_thru to flase in constructor.
13087 * layout.C (Read): add "passthru" to list of layout tags and add
13088 code to set the pass_thru boolean when it is read.
13090 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13092 * trans_decl.h: remove allowed from KmodInfo
13094 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13095 remove allowed code
13098 * paragraph_pimpl.C (erase): use boost::prior
13100 * Painter.C (text): use data() instead of c_str() when length is
13102 * WorkArea.C (putClipboard): ditto
13103 * font.h (width): ditto
13105 * BufferView2.C: use it-> instead of (*it). for iterators
13107 * paragraph_pimpl.C: ditto
13108 * paragraph.C: ditto
13109 * minibuffer.C: ditto
13110 * language.C: ditto
13112 * encoding.C: ditto
13113 * counters.C: ditto
13114 * converter.C: ditto
13116 * Variables.C: ditto
13117 * TextCache.C: ditto
13118 * MenuBackend.C: ditto
13119 * LyXAction.C: ditto
13121 * FloatList.C: ditto
13122 * DepTable.C: ditto
13123 * ColorHandler.C (LyXColorHandler): ditto
13125 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13127 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13129 * text2.C (openStuff): reintroduce this method (which had been
13130 nuked in NEW_INSETS frenzy).
13132 * lyxfunc.C (Dispatch): when an action has not been handled, use
13133 its name in the error message, not its number.
13135 * paragraph.C (inInset): change method name to begin with lowercase.
13138 * text2.C: updates because of this.
13140 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13142 * ToolbarDefaults.C (add): add spaces in error message
13144 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13146 * buffer.C (readLyXformat2): initialize the ert comp. variables.
13147 (readLyXformat2): rename return_par to first_par, use lyxlex's
13148 pushToken and remove the manual push handling.
13149 (parseSingleLyXformat2Token): add another ert comp. variable:
13150 in_tabular, rename return_par to first_par. handle newlines better
13152 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13154 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13156 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13158 * text2.C (getParFromID): removed
13160 * buffer.C (getParFromID): new method moved form lyxtext.
13161 * BufferView2.C (insertErrors): adjust
13162 (setCursorFromRow): adjust
13163 * BufferView_pimpl.C (restorePosition): adjust
13164 * lyxfunc.C (Dispatch): adjust
13165 * undo_funcs.C (textUndo): adjust
13167 (textHandleUndo): adjust
13168 (textHandleUndo): adjust
13170 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13172 * buffer.C: up' the LYX_FORMAT
13174 * lyxfont.h: turn NO_LATEX on as default
13176 * buffer.C (insertErtContents): new methods of tex style compability.
13177 (parseSingleLyXformat2Token): use it several places.
13178 * tabular.C (OldFormatRead): and here
13180 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13182 * text2.C: remove some commented code.
13185 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13186 * trans.C: changes because of the above.
13188 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
13190 * text2.C (setCounter): Fix counters bug with bibliography layout.
13192 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13194 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13195 own member functions
13196 (simpleTeXSpecialChars): ditto
13198 2001-07-06 Juergen Vigna <jug@sad.it>
13200 * a lot of files: changed the access to LyXText::status and the
13201 call of undo-functions.
13203 * undo.[Ch]: added a inset_id to the undo informations.
13205 * undo_funcs.[Ch]: added and moved here all undo functions.
13207 * lyxtext.h: give the status enum a weight, made status_ a private
13208 variable and made accessor functions for it, removed the whole bunch
13209 of undo-functions as they are now in their own file, make some
13210 functions publically available. Added function ownerParagraph with
13213 * paragraph.[Ch]: added "bool same_ids" to the constructor,
13214 made InInset() a const function, added getParFromID() function.
13216 * buffer.[Ch]: added const version for inset_iterator functions,
13217 added getInsetFromID() function.
13219 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13220 changed undo functions for new version.
13222 2001-07-05 Juergen Vigna <jug@sad.it>
13224 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13225 unknow mechanism does not call the proper constructor but only this
13226 one also if I request the other!?
13228 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13230 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13232 * text2.C (LyXText): use initialization lists.
13234 * lyxtext.h (Selection): initialize set_ and mark_
13235 (init): remove method
13237 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
13239 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13241 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13243 * screen.[Ch]: change method names to begin with lowercase
13245 * BufferView_pimpl.C (updateScrollbar): simplify further and
13246 hopefully make it a bit faster.
13248 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13250 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13251 calling directly xforms functions.
13253 * Painter.C (Painter):
13254 * lyx_cb.C (MenuWrite):
13255 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13258 * lyx_gui.C: remove bogus guiruntime extern declaration.
13260 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13262 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13264 (redoDrawingOfParagraph): ditto
13265 (redoParagraphs): ditto
13266 (cutSelection): don't create a object for CutAndPaste use the
13267 static method directly
13268 (pasteSelection): ditto
13270 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13273 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13275 * modifications to some other files because of this.
13277 * Makefile.am (lyx_SOURCES): add XFormsView
13279 * XFormsView.[Ch]: new files
13281 * LyXView.[Ch]: make LyXView a base class for the gui handling for
13282 the main window. Move the gui dependent stuff to XFormsView
13284 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13286 * tabular.C (GetCellInset): update cur_cell also in the row/col
13287 version of this function.
13289 * lyxfunc.C: no need to include figure_form.h here.
13295 * lyxvc.C: no need to include forms.h here.
13297 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13299 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13301 * lyxfunc.C (Dispatch):
13303 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13304 constructor argument.
13306 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13308 * paragraph.C (Paragraph): dont't clear, and just set layout.
13309 (makeSameLayout): use params's copy contructor.
13311 * ParagraphParameters.[Ch] (makeSame): delete method
13313 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
13315 * Variables.[Ch]: fix indentation, rename set to isSet
13317 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13319 * lyxfunc.C (Dispatch): fix typo
13321 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13323 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13326 * bufferlist.C: include assert.h for emergencyWrite().
13328 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13330 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13331 give up at last (bug #425202) !
13333 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
13339 * spellchecker.C: strip spellchecker options and bring up
13340 preferences tab instead
13342 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13344 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13345 the istringstream constructor
13347 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13349 * paragraph.C (getLayout): fix return value
13351 * paragraph.h: do not declare getLayout as inline.
13353 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13355 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13357 * lyxcursor.h (operator<): new func
13358 (operator>): new func
13359 (operator>=): new func
13360 (operator<=): new func
13362 * text.C (changeCase): use selection.start and selection.end
13363 (changeRegionCase): require from to be <= to. Require par to be a
13366 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13368 2001-06-27 Juergen Vigna <jug@sad.it>
13370 * text.C (cursorLeftOneWord): changed to return the cursor and added
13371 overlay with BufferView * parameter which calls this one.
13373 (selectWord): use new getWord function.
13374 (changeCase): renamed from changeWordCase as and extended to work
13375 also on selections.
13377 * lyxtext.h: added enum word_location
13379 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13380 changeCase as this operates now also on selections.
13382 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
13384 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13386 * many files: send debug output to Debug::INFO instead of
13389 * converter.C (View):
13391 (Move): send debug output to Debug::FILES instead of console.
13393 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
13395 * lyxfunc.C (getStatus): use func_status
13397 * func_status.h: new header, describing the results of
13398 LyXFunc::getStatus;
13400 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13403 2001-06-25 The LyX Project <jug@sad.it>
13405 * buffer.C (sgmlOpenTag):
13407 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
13409 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13411 * text2.C: remove some dead code
13413 * tabular.C (GetCellInset): store the last cell checked (gotten)
13415 * tabular.h: add the helper for the speedup
13417 * lyxtext.h: remove some dead code
13419 2001-06-26 The LyX Project <Asger>
13421 * paragraph.C: Change export to LaTeX of alignment to
13422 \begin{center} and family for better roundtrip work with reLyX.
13424 * Tune the math drawing a bit.
13426 2001-06-25 The LyX Project <Asger>
13428 * LColor.C (LColor): New color for math background. New color
13431 2001-06-25 The LyX Project <jug@sad.it>
13433 * lyxfunc.C (MenuNew): remove extra check for .lyx file
13435 * lyxfunc.C (Open):
13436 * bufferlist.C (newFile): do not restrict to files ending with
13439 * BufferView_pimpl.C (MenuInsertLyXFile):
13441 2001-06-24 The LyX Project <jug@sad.it>
13443 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13446 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13448 * lyxtext.h: rename most methods to begin with a small char.
13449 Lots of changes because of this.
13451 * paragraph.C (Paragraph): do not call fitToSize
13452 (erase): call Pimpl::erase
13453 (insertChar): call Pimpl::insertChar
13454 (insertInset): call Pipl::insertInset
13455 (breakParagraph): do not call fitToSize
13456 (breakParagraphConservative): do not call fitToSize
13457 (fitToSize): remove method
13459 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13461 2001-06-24 The LyX Project <Asger>
13463 * Fix Qt compilation^2
13465 2001-06-24 The LyX Project <jug@sad.it>
13467 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13468 depthHook(getDepth()-1).
13471 * ParagraphParameters.h:
13472 * ParameterStruct.h: change type of depth to unsigned int ==
13473 depth_type. Many adaptations to other files before of that.
13475 2001-06-24 The LyX Project <Asger>
13477 * Fix Qt compilation.
13479 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13481 * paragraph.h: renamed several methods to begin with small letter.
13482 several changes to many parts of the code because of this.
13484 2001-06-23 The LyX Project <jug@sad.it>
13486 * text2.C (InsertStringAsLines): renamed from InsertStringA;
13487 rewritten to discard all double spaces when KeepEmpty is off
13488 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13489 to only handle newlines but not fiddle with spaces and friends.
13491 * lyxfunc.C (MenuNew): when doing 'new from template', use
13492 template_path as default directory
13494 2001-06-23 The LyX Project <Asger>
13496 * Clean-up of header file includes all over
13497 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13499 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13501 * paragraph.h: renamed from lyxparagraph.h
13503 2001-06-23 Asger <lyx@violet.home.sad.it>
13505 * Buffer.h: Removed Buffer::resize
13506 * BufferList.h: Removed BufferList::resize
13507 * LyXView.h: Added LyXView::resize. This way, we will only reflow
13508 the document lazily when we change the width, or the font settings.
13510 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13512 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13514 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13516 * buffer.h: remove out of date comment
13518 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13521 * screen.C: fix "theoretical" GC leak
13523 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13525 * LaTeX.C (scanAuxFile):
13526 (deplog): remove trailing \r when reading stream (useful under
13529 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
13531 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13532 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13533 and BufferView::theLockingInset(Inset*), so should use them and not
13534 access bv_->text->the_locking_inset directly.
13536 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13538 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13541 * tex-defs.h: remove old unused file
13543 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
13545 * BufferView_pimpl.C: fix typo, remove minibuffer message
13546 when buffer has loaded
13548 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13550 * lyxfunc.C (Dispatch): use stringstream
13551 (MenuNew): use stringstream
13552 (Open): use stringstream
13554 * importer.C (Import): use stringstream
13556 * bufferview_funcs.C (CurrentState): use stringstream
13558 * LaTeX.C (run): use stringstream
13560 * BufferView_pimpl.C (savePosition): use stringstream
13561 (restorePosition): use stringstream
13562 (MenuInsertLyXFile): use stringstream
13564 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
13577 * vspace.C: removed // -*- C++ -*- as first line.
13580 * version.h: added // -*- C++ -*- as first line.
13582 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13584 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13586 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13589 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13591 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13594 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13596 * gettext.C: include LString.h even when --disable-nls is on.
13598 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
13600 * converter.h (Get): changed argument type from int to
13601 FormatList::size_type to avoid unnecessary conversion.
13603 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13606 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13608 * gettext.h: include LString.h even when --disable-nls is on.
13610 2001-06-07 Juergen Vigna <jug@sad.it>
13612 * text.C (BreakAgain): subst spaces with tabs.
13614 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13615 (resizeInsetsLyXText): set force on resizeLyXText.
13617 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13619 * gettext.h (gettext_init):
13620 (locale_init): use a real definition instead of a macro
13622 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13624 * Bufferview_pimpl.C:
13626 * LColor.C: further lcolor tidies
13628 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13630 * BufferView_pimpl.C (updateScrollbar): simplify.
13632 * BufferView2.C: don't include insets/insetinfo.h, change
13633 prototype for insertInset and call the Pimpl version. let
13634 updateInset call Pimpl version.
13636 * BufferView.h: move inset_slept to BufferView::Pimpl, move
13637 gotoInset to BufferView::Pimpl
13639 2001-06-01 Juergen Vigna <jug@sad.it>
13641 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13642 inside a LockingInset (is the update needed at all?).
13644 2001-05-31 Juergen Vigna <jug@sad.it>
13646 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13647 here not the old one otherwise how should we compare it afterwards
13650 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13655 * FontInfo.C: bring C functions into global namespace when
13658 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13660 * LString.h: make sure config.h has been loaded before LString.h.
13662 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13663 (one for each char read by EatLine!).
13665 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13668 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13670 * paragraph.C (BreakParagraph): set the inset_owner in the new par
13671 to the same as the par we break from
13673 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
13675 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13677 * MenuBackend.C (expand): also create menu entries for wide
13678 versions of the floats.
13680 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13682 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13684 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13685 frontends/Makefile.am
13691 * tabular.C (getTokenValue): add std::
13693 * tabular-old.C (getTokenValue): add std::
13694 (getTokenValue): ditto
13695 (getTokenValue): ditto
13697 * screen.C (ToggleSelection): adjust
13699 * lyxtext.h: put selection cursors inside a Selection struct.
13701 * lyxfunc.C (moveCursorUpdate): adjust
13703 * lyxfont.C (latexWriteStartChanges): add std::
13705 * lyxfind.C: adjust
13707 * font.h: delete with(char const *, LyXFont const &)
13709 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13711 * FontInfo.C (getFontname): add std::
13713 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13714 (workAreaButtonPress): adjust
13715 (tripleClick): adjust
13717 (moveCursorUpdate): adjust
13720 * BufferView2.C (gotoInset): adjust
13722 2001-05-30 Juergen Vigna <jug@sad.it>
13724 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13725 to check pspell I add this as default as I now have new pspell
13726 libraries and they seem to use this.
13728 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13730 * text2.C (CutSelection): make the cursor valid before the call to
13733 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13735 * kbsequence.C (parse): de-uglify a bit the parsing code, which
13736 relied on 0 terminated strings and other horrors. Bug found due to
13737 the new assert in lyxstring!
13739 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13742 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13744 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13747 * lyxfunc.C (processKeySym): change method of getting to the
13750 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13751 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13752 * BufferView_pimpl.[Ch]: here as private methods.
13754 2001-05-28 Juergen Vigna <jug@sad.it>
13756 * text.C (SetHeightOfRow): added the update() call again as it is
13757 needed to initialize inset dimensions!
13759 2001-05-16 Juergen Vigna <jug@sad.it>
13761 * text2.C (SetCharFont): Add new function with BufferView * and
13762 bool toggleall parameters for setting insets internal fonts.
13763 (SetFont): Freeze the undo as we may change fonts in Insets and
13764 all this change should be inside only one Undo!
13766 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13767 setting font's in insets as for them we have the SetFont function!
13769 2001-05-15 Juergen Vigna <jug@sad.it>
13771 * text2.C (ClearSelection): to be sure we REALLY don't have any
13774 * tabular.C (TeXCellPreamble): fixed the left border problem for
13777 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
13779 * LaTeX.C (deplog): Make sure that the main .tex file is in the
13782 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13784 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13785 LFUN_BREAKPARAGRAPH.
13787 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13788 help test to "internal only", similar for LFUN_INSERT_URL
13790 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13791 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13792 auto_region_delete and deadkeys.
13794 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
13797 * LColor.C: remove some dead entries, tidy a little
13799 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13801 * lyxfunc.C (processKeySym): comment the Escape handling, remove
13803 (Dispatch): implement LFUN_ESCAPE
13805 * commandtags.h: add LFUN_ESCAPE
13807 * LyXAction.C (init): add entry for LFUN_ESCAPE
13809 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13810 Remove commented code.
13811 (insertNote): moved here
13812 (open_new_inset): moved here
13814 * BufferView[2].[Ch]: move insertNote and open_new_inset to
13817 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13819 * kbmap.C (findbinding): clean it up and make it work correctly.
13821 * lyx_main.C (init): do not pass argc and argv as parameters
13823 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
13825 * buffer.C: fix path for OS/2 & Win32
13829 * lyx_main.C: Added os:: class.
13831 * os2_defines.h: update
13833 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13835 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13836 better by trying again with reduced state.
13838 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13840 * lyxrc.C (read): print error about invalid key sequence only when
13841 debugging (because not all latinX keysyms are known to some X
13844 * kbsequence.C (getiso): add a few std:: qualifiers
13845 (getiso): comment out extra return statement.
13847 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
13849 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13851 (Dispatch): enhance the accent inset a bit. (not perfect)
13853 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13855 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13857 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13859 * bufferlist.C (emergencyWrite): fix assert() call
13861 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
13863 * text.C (InsertChar): Added trivial patch to only send the "you
13864 can not do multiple spaces this way" message once during a
13867 2001-05-08 Baruch Even <baruch@lyx.org>
13869 * Makefile.am: Changed order of libraries to get LyX to link properly
13870 with the gnome frontend.
13872 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13874 * LaTeXFeatures.h: add a std:: qualifier
13876 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13878 * paragraph.C (String): use stringstream
13880 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13882 * paragraph.C (writeFile): remove footflag arg
13884 * buffer.C (makeLaTeXFile): use stringstream
13885 (latexParagraphs): remove footnot gurba
13887 * LaTeXFeatures.C (getPackages): use stringstream
13888 (getMacros): likewise
13889 (getTClassPreamble): likewise
13890 (getFloatDefinitions): new method
13892 * paragraph.C (writeFile): reindent
13895 * WorkArea.h: revert the xpos + etc changes.
13897 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13899 * lyxparagraph.[Ch]: add copy constructor, remove Clone
13901 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13902 (pasteSelection): likewise
13903 * text2.C (CreateUndo): likewise
13905 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13907 * minibuffer.C (peek_event): temporarily reduce the functionality
13908 of the minibuffer (to allow args on lfuns)
13910 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13911 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13913 * buffer.C (readInset): add compability reading of old float
13914 lists, add reading of new style float list.
13915 (readInset): avoid reevaluation of inscmd.getCmdName()
13916 (getLists): reindent
13918 * MenuBackend.C (MenuItem): implement parsing of
13919 md_floatlistinsert and md_floatinsert.
13920 (expand::LastFiles): move initalizaton of iterators out of loop,
13921 avoid reevaluation.
13922 (expand::Documents): introduce typdedef vector<string> Strings,
13924 (expand::ExportFormats): introduce typedef vector<Format const *>
13925 Formats, and use it.
13926 (expand): implement FloatListInsert and FloatInsert.
13928 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13929 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13930 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13932 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13934 (Dispatch::LFUN_FLOAT_LIST): implement
13936 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13938 * LaTeX.C (run): Fix problem with --export code.
13940 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13942 * BufferView.[Ch] (workarea): removed.
13943 (getClipboard) new method; wrapper for workarea()->getClipboard()
13945 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13948 * WorkArea.h (width, height, xpos, ypos): These methods all
13949 returned the dimensions of the work_area sub-area of WorkArea,
13950 resulting in a position error if the WorkArea were resized. Now
13951 return the dimensions of the entire WorkArea.
13953 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13955 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13957 * LaTeX.C (deplog): correct the syntax of regex reg1
13959 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13961 * undo.C: remove !NEW_INSETS cruft
13963 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13965 * text2.C: remove !NEW_INSETS cruft
13967 * text.C: remove !NEW_INSETS cruft
13969 * tabular.C: remove !NEW_INSETS cruft
13971 * spellchecker.C: remove !NEW_INSETS cruft
13973 * lyxtext.h: remove !NEW_INSETS cruft
13975 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13977 * lyxfunc.C: remove !NEW_INSETS cruft
13979 * lyxfind.C: remove !NEW_INSETS cruft
13981 * lyx_cb.C: remove !NEW_INSETS cruft
13983 * figureForm.C: remove !NEW_INSETS cruft
13985 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13987 * buffer.[Ch]: remove !NEW_INSETS cruft
13989 * ToolbarDefaults.C: remove !NEW_INSETS cruft
13991 * CutAndPaste.C: remove !NEW_INSETS cruft
13993 * BufferView_pimpl.C: remove !NEW_INSETS cruft
13995 * BufferView2.C: remove !NEW_INSETS cruft
13997 * BufferView.h: remove !NEW_INSETS cruft
13999 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14001 * Lsstream.h: include LString.h before the sstream headers to
14002 fix problem with gcc 2.95.3 and lyxstring
14004 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14006 * lyx_main.C: add using directives when needed for C functions
14007 declared in std:: namespace.
14009 2001-04-27 Juergen Vigna <jug@sad.it>
14011 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14012 (SetHeightOfRow): comment out the update call should not be needed!
14014 2001-04-13 Juergen Vigna <jug@sad.it>
14016 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14017 (LyXTabular): tried to minimize operator= operations (and realized
14018 hopfully Lars wish).
14020 2001-04-27 Juergen Vigna <jug@sad.it>
14022 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14024 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14026 * lyxfunc.C (Dispatch): hack to make listof algorithm work
14028 * buffer.C (readInset): hack to make listof algorithm work
14030 * BufferView_pimpl.C: hack to make listof algorithm work
14032 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14034 * LyXAction.C: removed all !NEW_INSETS cruft
14035 (init): moved lfun_item in method
14037 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14039 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14041 * BufferView2.C (theLockingInset): white space.
14043 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14045 * minibuffer.C: include <iostream>
14047 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14049 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14051 * commandtags.h: add LFUN_TRANSPOSE_CHARS
14053 * text.[Ch] (TransposeChars): new method
14055 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14057 * call message directly through LyXView instead of through LyXFunc
14058 * BufferView2.C: adjust
14059 * BufferView_pimpl.C: adjust
14060 * FontLoader.C: adjust
14062 * bufferview_funcs.C: adjust
14063 * converter.C: adjust
14064 * figureForm.C: adjust
14065 * importer.C: adjust
14067 * lyx_gui_misc.C: adjust
14068 * lyxfunc.C: adjust
14071 + more files in subdirs
14073 * lyxparagraph.h (size): move up int file
14076 * adjust all uses of Assert to lyx::Assert.
14078 * BufferView2.C (ChangeCitationsIfUnique): adjust for
14079 lyxfunctional in namespace lyx
14080 * layout.C (hasLayout): ditto
14083 (delete_layout): ditto
14084 (NumberOfClass): ditto
14085 * converter.C (GetFormat): ditto
14090 * bufferlist.C (getFileNames): ditto
14091 (emergencyWriteAll): ditto
14094 * MenuBackend.C (hasSubmenu): ditto
14097 * BufferView_pimpl.C (getInsetByCode): ditto
14099 2001-04-18 Juergen Vigna <jug@sad.it>
14101 * vspace.C (asLatexString): fixed the 100% problem.
14103 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14105 * lyxfunc.C (Dispatch):
14107 * minibuffer.h: add a few std:: qualifiers
14109 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14111 * minibuffer.[Ch]: reimplement so that commands is initiated and
14112 run from lyxfunc, simplified som handling, and made the completion
14113 and history code for complete. wip.
14115 * lyxfunc.C (processKeySym): call message
14116 (miniDispatch): new temporary method
14117 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14118 (LFUN_MESSAGE): implement
14119 (LFUN_MESSAGE_PUSH): implement
14120 (LFUN_MESSAGE_POP): implement
14121 (initMiniBuffer): the initial/defualt minibuffer message.
14123 * lyxfont.[Ch]: inline some more getters
14125 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14127 * lyx_gui_misc.[Ch] (WriteStatus): remove method
14129 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14130 (AutoSave): use LFUN_MESSAGE
14131 (Reconfigure): ditto
14133 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14135 * figureForm.C: use LFUN_MESSAGE
14137 * converter.C (runLaTeX): use LFUN_MESSAGE
14139 * bufferview_funcs.C: use LFUN_MESSAGE
14141 (changeDepth): ditto
14143 * bufferparams.h: use boost::
14145 * bufferlist.h: inherit privately from noncopyable
14147 * bufferlist.C (loadLyXFile): remove some commented code.
14149 * buffer.C (runChktex): use LFUN_MESSAGE
14151 * ShareContainer.h: inherit privately from noncopyable
14153 * ParagraphParameters.[hC] (depth): inline it.
14155 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14157 (message): new method
14158 (messagePush): ditto
14159 (messagePop): ditto
14160 (show): init minibuffer
14161 (showState): direct call
14163 * LaTeX.[Ch]: inherit privately from noncopyable
14164 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14165 instead of WriteStatus.
14167 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14169 * BufferView_pimpl.C (buffer): don't init minibuffer
14170 (workAreaButtonPress): use LFUN_MESSAGE
14171 (workAreaButtonRelease): ditto
14172 (savePosition): ditto
14173 (restorePosition): ditto
14174 (MenuInsertLyXFile): ditto
14175 (workAreaExpose): don't init minibuffer
14176 (update): remove commented code, simplify
14178 * BufferView2.C (openStuff): use LFUN_MESSAGE
14179 (toggleFloat): ditto
14182 (copyEnvironment): ditto
14183 (pasteEnvironment): ditto
14188 (updateInset): remove some commented code
14190 * lastfiles.h: inherit privately from noncopyable
14193 * lyx_main.h: ditto
14195 * lyxlex_pimpl.h: ditto
14197 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14198 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14199 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14201 * LyXAction.h: inherit privately from noncopyable, add methods
14202 func_begin, func_end, returning iterators to the func map.
14204 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14205 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14206 (func_begin): new method
14207 (func_end): new method
14209 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14211 (copySelection): ditto
14212 (pasteSelection): ditto
14214 * BufferView.C: whitespace change
14215 * BufferView.h: inherit privately from noncopyable
14217 2001-04-16 Allan Rae <rae@lyx.org>
14219 * tabular-old.C (l_getline):
14220 * spellchecker.C (sc_check_word):
14221 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14222 an unrecognised preprocessor directive. So ensure they're wrapped.
14224 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
14226 * src/exporter.C (Export): Give an error message when path to file
14229 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
14231 * LaTeX.C (deplog): Always check that foundfile exists.
14233 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14236 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14238 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14240 * tabular.[Ch] (getLabelList): implement new method
14242 * minibuffer.h: comment ouf setTiimer
14244 * minibuffer.C (ExecutingCB): constify res
14245 (peek_event): constify s
14246 (Set): constify ntext
14247 (Init): constify nicename
14249 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14251 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14252 (savePosition): use two params to Minibuffer::Set
14253 (restorePosition): ditto
14255 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14257 * lyx_main.C: include language.h
14259 * Makefile.am (lyx_main.o): add language.h
14261 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14267 * CutAndPaste.C: include gettext.h
14269 * lyxfont.h: remove old hack with ON and OFF.
14272 * lyxfont.h: do not include language.h...
14277 * bufferview_funcs.C:
14283 * paragraph.C: ... but do it here instead
14285 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14287 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14289 * tabular.C: small reformat
14291 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14294 (BreakParagraph): ditto
14295 (SetOnlyLayout): ditto
14298 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14301 * lastfiles.C: removed most using decl, add std:: where needed
14303 * buffer.C: ws changes
14305 * MenuBackend.C (class compare_format): put into anon namespace
14306 (expand): constify label, names, action, action2
14309 * text.C (SingleWidth): constify font
14310 (IsBoundary): constify rtl2
14311 (GetVisibleRow): constify ww
14313 * LaTeX.C (deplog): constify logfile
14315 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14317 (workAreaExpose): constify widthChange, heightChange
14319 * lyxrow.C (par): moved
14322 * lyxrow.h: as inlines here
14324 * lyxfont.h (shape): moved from lyxfont.C
14325 (emph): moved from lyxfont.C
14327 * lyxfont.C (LyXFont): use initialization list for all
14329 (shape): move to lyxfont.h as inline
14330 (emph): move to lyxfont.h as inline
14333 2001-04-04 Juergen Vigna <jug@sad.it>
14335 * vspace.C: had to include stdio.h for use of sscanf
14337 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
14340 * BufferView_pimpl.h: remove xforms cruft. Both classes are
14341 independent of xforms.
14343 2001-04-02 Juergen Vigna <jug@sad.it>
14345 * spellchecker.C: fixed namespace placing!
14347 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
14349 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14350 the LyXParagraph * is 0.
14352 2001-03-29 Juergen Vigna <jug@sad.it>
14354 * vspace.C: added support for %, c%, p%, l%.
14355 (stringFromUnit): added helper function.
14356 (asLatexString): changed to give right results for the %-values.
14358 * buffer.C: convert the widthp in a width%.
14360 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
14362 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14365 * figureForm.[Ch]: stripped the FD_from_figure manipulation
14366 code out of lux_cb.[Ch], ready for its (imminent?) removal.
14368 * lyx_cb.[Ch]: see above.
14370 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14374 * lyx.[Ch]: replaced by figure_form.[Ch].
14378 * lyxfunc.C: changed headers associated with above changes.
14380 2001-03-27 Juergen Vigna <jug@sad.it>
14382 * BufferView_pimpl.C: set the temporary cursor right!
14384 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
14386 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14388 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
14390 * LString.h: removed "using std::getline"!
14392 * BufferView_pimpl.C (Dispatch): changes due to changes in
14393 InsetInclude::Params.
14395 * buffer.C (tag_name): removed redundant break statements as they were
14396 producing lots of warnings with my compiler.
14398 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14400 * LString.h: add "using std::getline" when using the real <string>.
14402 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
14404 * buffer.C: removed bitset usage.
14405 PAR_TAG moved to an anonymous name space.
14406 (tag_name): new funtion, also in the anonymous namespace.
14407 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14408 (makeDocBookFile): clean code. Completed transition from string arrays
14410 (SimpleDocBookOnePar): code clean.
14412 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14414 * tabular.C: add some comments.
14416 2001-03-22 Juergen Vigna <jug@sad.it>
14418 * buffer.C (parseSingleLyXformat2Token): redone the minipage
14419 compatibility read a bit and fixed bug with minipage in different
14422 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
14424 * buffer.C (pop_tag): removed.
14425 (push_tag): removed.
14426 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14427 array replaced with vector. Added support for CDATA sections.
14428 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14430 (makeDocBookFile): XML conformant declaration of CDATA section,
14431 fixed bug related to <emphasis> in the first paragraph char.
14432 (sgmlOpenTag): exclude empty tags.
14433 (sgmlCloseTag): ditto.
14435 * buffer.h (pop_tag): removed.
14436 (push_tag): removed.
14438 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
14440 * language.h (Languages): added size_type and size().
14442 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14444 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14445 response on compability reading of minipages. One probliem is that
14446 the old usage of minipages was «flertydig»
14448 * several files here and in subdirs: don't use static at file
14449 scope use anon namespaces instead.
14451 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
14453 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14454 LaTeX output. This is necessary for Literate document
14457 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14459 * buffer.C: insert hfill when needed.
14461 * tabular.C (l_getline): use string::erase, small whitespace change.
14463 * BufferView_pimpl.C: try the anon namespace.
14464 * WorkArea.C: ditto
14466 2001-03-16 Juergen Vigna <jug@sad.it>
14468 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14469 otherwise it won't open options-dialogs.
14471 * buffer.C: honor pextraWidth(p) on converting minipages.
14473 * tabular.C (l_getline): changed the functions to strip trailing \r.
14475 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
14477 * BufferView_pimpl.C:
14478 * minibuffer..C: added "using SigC::slot" declaration.
14480 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14482 * lyxlex_pimpl.h: noncopyable is in namespace boost.
14488 * paragraph.C: ditto
14490 * lyxtext.h: NO_PEXTRA
14492 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14494 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14495 * ParameterStruct.h: ditto
14496 * ParagraphParameters.h: ditto
14497 * lyxparagraph.h: ditto
14499 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14501 * buffer.C: add compability for minipage alignment.
14502 (latexParagraphs): remove unwanted pextra check.
14504 * several files: remove CXX_WORKING_NAMESPACES
14506 * buffer.C (pop_tag): tie is in namespace boost
14508 * BufferView.h: noncopyable is in namespace boost
14510 * lyx_main.h: ditto
14513 * lastfiles.h: ditto
14514 * bufferlist.h: ditto
14515 * ShareContainer.h: ditto
14517 * LyXAction.h: ditto
14520 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14522 * Merging changes from BRANCH_MVC back into HEAD.
14524 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14526 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
14528 * BufferView_pimpl.C: change from intl.C
14532 * Makefile.am: move combox.*
14538 * intl.C: remove dialog (covered by prefs)
14540 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14542 * lyxfunc.C (Dispatch): removed redundant break statement.
14544 2001-03-14 Juergen Vigna <jug@sad.it>
14546 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14548 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14550 * buffer.C: add hack to fix compability reading of minipages.
14552 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
14554 * buffer.C (getLists): Cleanup.
14556 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14558 * lyxfont.C (update): don't honor toggleall on font size.
14560 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
14564 * Makefile.am: moved to frontends/xforms/
14568 * BufferView_pimpl.C: changes for moved mathpanel
14570 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14572 * gettext.h: fix gettext_init() in --disable-nls
14574 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14576 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14578 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
14581 * lyx.h: strip external form
14583 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14585 * BufferView_pimpl.C: add comment, destroySplash()
14587 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14589 * BufferView_pimpl.C:
14593 * lyxfunc.C: use re-worked insetinclude
14595 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14597 * buffer.C: add using std::stringstream.
14599 * lyx_cb.C: readd using std::ios.
14601 * buffer.C: add using std::map.
14603 * BufferView_pimpl.C: add using std::vector.
14605 * ShareContainer.h: add std:: to swap.
14607 * buffer.h: add some typedefs
14608 * buffer.C (getLists): use them
14609 (getLists): renamed from getTocList.
14610 add a counter for the different float types and use it in the
14612 (getLists): use the same counter for the NEW_INSETS and the "non"
14615 * lyx_cb.h: remove unused items, includes, using etc.
14617 * ShareContainer.h: remove some commented code, add more comments
14618 and "documentation".
14620 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14622 * buffer.C (getTocList): make the list also when NEW_INSETS is
14625 * buffer.h: remove TocType
14627 * buffer.C (getTocList): change to return a map<string,
14628 vector<TocItem> >, implement for dynamic number of list.
14630 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14631 * text2.C (PasteSelection): adjust
14632 * CutAndPaste.C (pasteSelection): adjust
14634 * FloatList.C (FloatList): update from the new_insets branch.
14635 * Floating.[Ch]: ditto
14636 * LaTeXFeatures.C: ditto
14638 * lyxlex_pimpl.C: ditto
14640 * paragraph.C (Last): remove when NEW_INSETS is defined.
14642 * other file: changes because of the above.
14644 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14646 * lyxparagraph.h: rename next to next_, previous to previous_,
14647 make them private for NEW_INSETS. Rename Next() to next(),
14648 Previous() to previous().
14650 * other files: changes because of the above.
14652 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
14655 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14658 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14660 * main.C (main): pass lyx_localedir to gettext_init().
14662 * gettext.h: remove locale_init and gettext_init macros
14664 * gettext.C (locale_init): new function
14665 (gettext_init): new function
14667 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14670 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
14672 * Moved credits to frontends:
14673 * credits.[Ch]: removed
14674 * credits_form.[Ch]: removed
14675 * lyx_gui_misc.C: remove credits stuff
14678 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14680 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14682 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14683 unneeded destructor.
14685 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14686 a standalone pointer again.
14688 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14690 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
14696 * ToolbarDefaults.C:
14705 * BufferView_pimpl.C: use new file dialog in GUII
14708 * lyx_cb.C: remove LayoutsCB to Toolbar
14710 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14712 * ShareContainer.h (get): add std:: qualifier
14714 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14716 * ShareContainer.h: define a proper ShareContainer::value_type
14717 type (and use typename to please compaq cxx)
14719 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14721 * lyxparagraph.h: move serveral local vars to
14722 ParameterStruct/ParagraphParameters., use ShareContainer in
14723 FontTable., make vars in FontTable private and add getter and
14726 * paragraph.C: changes because of the above.
14728 * lyxfont.h: remove copy constructor and copy assignment. (the
14729 default ones is ok), move number inside FontBits. move inlines to
14732 * lyxfont.C: add number to initializaton of statics, move several
14733 inlines here. constify several local vars. some whitespace
14734 cleanup. Dont hide outerscope variables.
14736 * Spacing.h: add two new constructors to match the set methods.
14738 * ShareContainer.h: new file, will perhaps be moved to support
14740 * ParameterStruct.h: new file
14742 * ParagraphParameters.h: new file
14744 * ParagraphParameters.C: new file
14746 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14747 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14749 * BufferView_pimpl.C: ParagraphParameter changes.
14750 * buffer.C: Likewise.
14751 * bufferview_funcs.C: Likewise.
14752 * text.C: Likewise.
14753 * text2.C: Likewise.
14755 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14757 * lyxfind.C (LyXReplace): do not redefine default argument in
14759 (IsStringInText): ditto
14760 (SearchForward): ditto
14761 (SearchBackward): ditto
14763 2001-03-06 Juergen Vigna <jug@sad.it>
14765 * lyxfind.C (IsStringInText): put parentes around expressions.
14767 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
14769 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14771 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
14773 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14775 * stl_string_fwd.h: add comment
14777 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14780 * tabular.C: remove unused DocBook methods
14786 killed DO_USE_DEFAULT_LANGUAGE
14788 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14790 * lyx_gui.C: do not include language.h.
14792 * bufferview_funcs.C (ToggleAndShow): do not provide optional
14793 arguments in function implementation.
14795 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14797 * BufferView_pimpl.C: add <ctime>
14799 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14801 * BufferView_pimpl.C: add using std::find_if
14803 2001-02-27 José Matos <jamatos@fep.up.pt>
14805 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14808 2001-02-11 José Matos <jamatos@fep.up.pt>
14810 * buffer.C (makeDocBookFile): command styles now have a parameter as
14811 "title" by default.
14813 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
14815 * layout_forms.[Ch]: removed
14816 * lyx_cb.[Ch]: out character
14817 * lyx_gui.C: out character
14818 * lyx_gui_misc.C: out character
14819 * bufferview_funcs.C: : out character,
14820 added toggleall as parameter in ToggleAndShow
14822 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
14824 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14826 * text2.C (SetCurrentFont): Disable number property at boundary.
14828 2001-02-26 Juergen Vigna <jug@sad.it>
14830 * lyxfunc.C (getStatus): added a string argument override function so
14831 that this is correctly called from LyXFunc::Dispatch if it contains a
14832 do_not_use_argument which is used!
14833 (Dispatch): added check for "custom" export and call appropriate func.
14835 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
14837 * lyxrc.C: Add language_command_local, language_use_babel and
14838 language_global_options.
14840 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14842 * buffer.C (makeLaTeXFile): Use language_use_babel and
14843 language_global_options.
14845 2001-02-23 Juergen Vigna <jug@sad.it>
14847 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14848 which works with LyXText and putted it inside BufferView. Here now we
14849 only call for that part the BufferView::Dispatch() function.
14851 * BufferView.C (Dispatch): added.
14853 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14854 functions which needs to use a LyXText over from LyXFunc.
14855 (MenuInsertLyXFile): added
14856 (getInsetByCode): added
14857 (moveCursorUpdate): added
14858 (static TEXT): added
14860 2001-02-22 Juergen Vigna <jug@sad.it>
14862 * BufferView_pimpl.C (update): call a status update to see if LyXText
14865 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14867 * vc-backend.C (revert): implement for CVS
14868 (getLog): implement for CVS
14870 2001-02-20 Juergen Vigna <jug@sad.it>
14872 * text2.C (ClearSelection): added BufferView param for inset_owner call
14874 * lyxfunc.C (TEXT): added this function and use it instead of
14875 directly owner->view()-text of getLyXText().
14877 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
14879 * src/layout_forms.C: out preamble
14880 * src/layout_forms.h: out preamble
14881 * src/lyx_cb.C: out preamble
14882 * src/lyx_cb.h: out preamble
14883 * src/lyx_gui.C: out preamble
14884 * src/lyx_gui_misc.C: out preamble
14885 * src/lyxfunc.C: connect with guii preamble
14887 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
14889 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14891 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
14893 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14894 whether to run bibtex.
14896 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
14898 * Makefile.am (lyx_SOURCES): Remove BackStack.h
14900 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14902 * Makefile.am (lyx_SOURCES): removed bibforms.h
14904 * vspace.h: doxygen
14906 * text.C (GetVisibleRow): make several local vars const
14908 * tabular.C: small cleanup.
14910 * lyxserver.C (callback): use compare instead of strncmp
14912 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14913 inlines to after class or to paragraph.C
14915 * lyxfont.h: remove friend operator!=
14917 * converter.h: move friend bool operator< to non friend and after
14920 * combox.h: small cleanup
14922 * buffer.h: doxygen, remove unused constructor, move inclas inlies
14923 to inlines after class def.
14925 * buffer.C (pop_tag): use string operations instead of strcmp
14927 * bmtable.c: doxygen, small cleanup
14929 * LaTeX.h: remove friend operator==
14931 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
14943 * BufferView_pimpl.C:
14944 * BufferView.[Ch]: remove cruft
14946 2001-02-14 Juergen Vigna <jug@sad.it>
14948 * lyxfunc.C: removed #if 0 unused code
14950 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14952 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14954 * text2.C (SetSelection): added a BufferView * parameter
14956 2001-02-13 Juergen Vigna <jug@sad.it>
14958 * lyxfunc.C (Dispatch): fixed protected blank problem.
14959 * BufferView2.C (protectedBlank): added LyxText * parameter.
14961 * tabular.C (AppendRow): forgot to set row_info of newly added row.
14962 (AppendColumn): same as above for column_info.
14964 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14965 (moveCursorUpdate): use a LyXText param for support of InsetText.
14967 * BufferView_pimpl.C (doubleClick): added support for InsetText.
14968 (tripleClick): ditto
14970 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14972 * BufferView_pimpl.C (update): added LyXText param to honor insets.
14974 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14976 * text2.C (SetSelection): set correct update status if inset_owner
14977 (ToggleFree): ditto
14979 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
14981 * tabular.C: remove some commented code.
14983 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
14985 * BufferView_pimpl.C: call hideSplash()
14987 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14990 * bibforms.h: remove
14993 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14994 add LFUN_CHILD_CREATE
14996 * counters.h: fix tiny typo
15001 * lyx.C: move splash to frontends/xforms/
15003 * lyx_gui_misc.C: move Include and Bibform to frontends
15005 * lyxvc.h: clarify comment
15007 * vspace.C: tiny housekeeping
15009 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
15011 * text.C (PrepareToPrint): RTL Fix.
15013 * paragraph.C (GetUChar): New method.
15014 (String): Use GetUChar.
15016 * buffer.C (asciiParagraph): Use GetUChar.
15018 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
15020 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15022 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
15025 * buffer.C: rename to getLogName(), handle
15026 build log / latex log nicely
15028 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15031 * MenuBackend.h: remove support for reference menuitem type.
15033 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
15035 * BufferView_pimpl.C: housekeeping
15036 * BufferView_pimpl.h:
15041 * minibuffer.h: move Timeout GUI-I
15043 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
15045 * lyxrc.C (read): Update converters data-structures.
15047 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
15049 * LaTeX.h (operator!=): add operator != for Aux_Info
15051 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
15053 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15055 * LaTeXLog.C: deleted, useful code moved to Buffer
15058 * buffer.C: new function getLatexLogName()
15064 * lyxfunc.C: use frontends for LaTeX and VC logs
15066 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15068 * LaTeX.h: yet another std:: that Allan forgot.
15070 * Variables.C (set): renamed from isset(), because this clashes
15071 with some HP-UX macros (grr).
15073 2001-02-06 Allan Rae <rae@lyx.org>
15075 * LaTeX.h: Another bug fix. Missing std:: this time.
15077 2001-02-04 Allan Rae <rae@lyx.org>
15079 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15080 floats problem. I've left it commented out because it's not quite
15081 correct. It should also test that the current object is a table or
15082 figure inset. But I haven't gotten around to figuring out how to do
15083 that. I *think* it'll be something like: "table" == inset.type()
15085 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15088 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
15090 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15091 all the citation/databases/styles in the auxilary file.
15092 (run): Rerun latex if there was a babel language error.
15094 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
15096 * text.C (Backspace): Preserve the font when changing newline char
15098 (BreakParagraph): If the cursor is before a space, delete the space.
15100 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15102 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
15104 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15105 new argument (code).
15106 (ChangeCitationsIfUnique): New method.
15108 * paragraph.C (GetPositionOfInset): Handle bibkey.
15110 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15112 * BufferView_pimpl.h: change type of Position::par_pos to
15113 LyXParagraph::size_type.
15115 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
15117 * BufferView_pimpl.C (savePosition, restorePosition): Write
15118 messages to minibuffer.
15120 2001-01-28 José Matos <jamatos@fep.up.pt>
15122 * buffer.C (makeDocBookFile): adds support for document language.
15123 A silly restriction on the name of LatexCommand types where removed.
15124 Added support for CDATA sections, allows to chars unescaped, used
15125 among others in code, to avoid escape < and >.
15127 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15129 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15130 saved positions instrad of a stack. Furthermore, a position is
15131 stored using paragraph id/paragraph position.
15133 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15134 Remove LFUN_REF_BACK.
15136 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15138 * converter.C (dvipdfm_options): New method.
15140 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
15142 * vspace.C (isValidLength): Fix for empty input string.
15144 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15146 * LyXAction.C (init): change description of LFUN_FIGURE to
15149 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15151 * LaTeX.C: add using directive
15153 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15155 * MenuBackend.C (expand): Fix the sorting of the formats.
15157 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
15159 * lyx_main.C: tiny error message fix
15161 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15163 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15164 calling fl_initialize(). This fixes the problem with ',' as
15165 decimal separator in text files.
15167 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15169 * trans.C (process): Fix the keymap bug.
15171 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
15173 * LaTeX.C (scanAuxFiles): New method. Provides support for
15174 multiple bibliographies (when using the bibtopic/bibunits pacakges).
15175 (scanLogFile) Scan for "run BibTeX" messages.
15177 * buffer.C (makeLaTeXFile): Do not load the ae package when using
15178 OT1 font encoding. Also, load the aecompl package if the ae
15181 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15183 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15185 * texrow.C (increasePos): turn two error messages into debug
15188 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
15190 * LaTeX.C (scanAux): Handle the \@input macro.
15191 (runBibTeX): Use scanAux().
15193 * language.C (latex_options_): New field.
15195 * LaTeXFeatures.C (getMacros): Add language macros.
15197 * buffer.C (makeLaTeXFile): Small fix.
15199 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15201 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15203 * text2.C: add a using directive.
15205 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
15210 * lyxfunc.C: kill LyXBell.
15212 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
15214 * text.C (IsBoundary): Remove the error message
15216 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15218 * lyxrc.C (setDefaults): Correct initialization value for
15221 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
15223 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15226 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15227 and GotoNextNote().
15229 * src/LyXAction.C: Added reference-next.
15231 * text.C (InsertChar): Use contains instead of strchr.
15233 * lyx_cb.C (MenuInsertLabel): Enable default value code.
15235 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
15237 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15238 alignment commands (when needed).
15240 * text.C (InsertChar): Add ':' to number separator chars.