1 2004-03-30 Angus Leeming <leeming@lyx.org>
4 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
5 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
7 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
8 open/closed state of ollapsable insets. Usage:
10 all-inset-toggle <state> <name>, where
11 <state> == "open" || "closed" || "toggle" and
12 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
14 * lyxtext.h, text2.C (toggleInset): removed.
16 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
17 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
18 now passes LFUN_INSET_TOGGLE to the found inset.
20 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
21 is now invoked as "all-insets-toggle toggle branch".
23 2004-03-30 Angus Leeming <leeming@lyx.org>
27 * pariterator.[Ch]: added/corrected header blurb.
29 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
31 * dociterator.[Ch]: add an inset_ member
32 (backwardPos): implemented
33 (backwardPos, forwardPos): use inset_ when the stack is empty.
34 (doc_iterator_begin, doc_iterator_end): implemented
35 * pariterator.[Ch]: adjust, add begin, end
36 * insetiterator.[Ch]: adjust, add begin, end
41 * CutAndPaste.C: adjust
43 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
45 * buffer.C: increment file format to 232.
46 * LaTeXFeatures.C: add bibtopic package.
47 * bufferparams.[Ch]: param \use_bibtopic.
49 * lyxrc.[Ch]: add lyxrc bibtex_command
50 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
52 * buffer.C: increment file format to 231.
54 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
56 * dociterator.C: implement forwardPar
57 * iterators.[Ch]: remove, replaced by
58 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
71 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
73 * CutAndPaste.C (pasteSelection): fix 2 crashes
74 (eraseSelection): fix a crash
75 * paragraph_funcs.C: remove a warning
77 2004-03-28 Angus Leeming <leeming@lyx.org>
80 * LyXAction.C (init): new LFUN_PRINT.
82 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
84 2004-03-27 Angus Leeming <leeming@lyx.org>
87 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
89 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
91 2004-03-27 Angus Leeming <leeming@lyx.org>
93 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
94 insetlist always contains non-null pointers to insets.
96 2004-03-26 Angus Leeming <leeming@lyx.org>
98 * src/BufferView_pimpl.C:
102 * src/output_plaintext.C:
103 * src/outputparams.h:
104 * src/paragraph_funcs.C:
108 * src/frontends/controllers/ControlErrorList.C:
109 * src/frontends/gtk/FileDialogPrivate.C:
110 * src/frontends/gtk/GPainter.C:
111 * src/frontends/gtk/GToolbar.C:
112 * src/frontends/qt2/QRef.C:
113 * src/mathed/math_scriptinset.C: squash compiler warnings.
115 2004-03-26 Angus Leeming <leeming@lyx.org>
117 * ispell.C (LaunchIspell::start):
118 * lyx_cb.C (AutoSaveBuffer::start):
119 invoke run(DontWait) rather than runNonBlocking().
121 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
123 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
125 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
127 * kbsequence.C (print): adjust
129 * kbmap.C (printKeySym): rename and change signature
130 (printKey): use LyXKeySym::print()
132 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
134 * undo.C: add using std::advance to compile for stlport
136 2004-03-24 Angus Leeming <leeming@lyx.org>
138 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
139 it leads to a crash when no buffer is present.
141 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
142 Martin Vermeer <martin.vermeer@hut.fi>
144 * lyxfunc.C (dispatch):
145 * bufferparams.C (readToken): use the new LColor::setColor
147 * LColor.[Ch] (setColor): new version that takes two strings as
148 argument and creates a new color entry if necessary
150 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
152 * buffer.C (makeLaTeXFile): if the main latex file that is
153 processed is usually a subdocument of some master, then pretend
154 for a while that it is actually the master
156 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
158 * buffer.C (getLabelList):
159 (getBibkeyList): use getMasterBuffer()
160 (getMasterBuffer): new method. Returns the main document in the
161 case where one is using included documents.
163 2004-03-25 André Pönitz <poenitz@gmx.net>
167 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
169 * ParagraphList_fwd.h: change ParagraphList to a std::vector
171 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
172 text*.C over here. Rename namespace CutAndPaste to lyx::cap
174 * ParameterStruct.h: merge with ParagraphParameters
176 * lyxtext.h: remove LyXText::parOffset() and getPar()
178 * text3.C: Remove all 'manual' update calls. We do now one per user
179 interaction which is completely sufficient.
183 * BufferView_pimpl.C:
186 * ParagraphParameters.[Ch]:
198 * output_docbook.[Ch]:
200 * output_linuxdoc.[Ch]:
201 * output_plaintext.[Ch]:
203 * paragraph_funcs.[Ch]:
204 * paragraph_pimpl.[Ch]:
212 * frontends/controllers/ControlDocument.C:
213 * frontends/controllers/ControlErrorList.C:
214 * frontends/controllers/ControlSpellchecker.C:
217 * insets/insetbase.h:
218 * insets/insetbibitem.C:
220 * insets/insetbranch.C:
221 * insets/insetcaption.C:
222 * insets/insetcharstyle.C:
223 * insets/insetcharstyle.h:
224 * insets/insetcollapsable.C:
225 * insets/insetcollapsable.h:
227 * insets/insetfloat.C:
228 * insets/insetfoot.C:
229 * insets/insetmarginal.C:
230 * insets/insetnote.C:
231 * insets/insetoptarg.C:
232 * insets/insettabular.C:
233 * insets/insettext.C:
234 * insets/insettext.h:
235 * insets/insetwrap.C:
236 * mathed/math_mboxinset.C:
237 * mathed/math_nestinset.C:
238 * mathed/math_scriptinset.C:
239 * mathed/math_scriptinset.h:
242 2004-03-24 Angus Leeming <leeming@lyx.org>
244 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
245 deal with any child processes that have finished but are waiting to
246 communicate this fact to the rest of LyX.
248 2004-03-24 Angus Leeming <leeming@lyx.org>
250 64-bit compile fixes.
252 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
253 (c-tor): pass lyx::pos_types rather than ints.
255 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
258 * text.C (Delete): compile fix.
259 (getPar): ensure that function declaration is the same as that in
262 2004-03-23 Angus Leeming <leeming@lyx.org>
264 * ispell.C (LaunchIspell):
265 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
266 a boost::shred_ptr rather than a std::auto_ptr.
268 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
270 * lyxfunc.C (getStatus): handle read-only buffers correctly;
271 handle LFUN_FILE_INSERT_*
273 * lyxrc.C (setDefaults, getDescription, output, read):
274 * lyxrc.h: remove ps_command
276 2004-03-22 Angus Leeming <leeming@lyx.org>
278 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
279 Ensure that error_handler is processed once only and that all data
280 is saved before attempting to output any warning messages.
282 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
284 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
286 * tabular.C (TeXRow): crash fix (from Kayvan and André)
288 2004-03-19 André Pönitz <poenitz@gmx.net>
290 * cursor.[Ch] (reset): take main text inset as argument
293 * BufferView_pimpl.C: adjust
295 * paragraph.[Ch]: fix completely broken operator=()
297 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
299 * LColor.C (getFromLyXName): make sure that the color name is used
302 2004-03-17 Angus Leeming <leeming@lyx.org>
305 * LyXAction.C (init): remove LFUN_FORKS_KILL.
307 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
308 dialog and to kill a forked process.
310 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
312 * text2.C (setCursorFromCoordinates): fix font problem
314 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
316 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
317 bogus "rebuild cursor" code
319 2004-03-11 André Pönitz <poenitz@gmx.net>
321 * buffer.[Ch]: use InsetText instead of LyXText as container for
324 * dociterator.[Ch]: drop the BufferView * member which is not needed
325 anymore after the change to buffer.C
331 * BufferView_pimpl.[Ch]:
333 * cursor_slice.[Ch]: adjust
335 * text3.C: fix bug in mathDispatch
337 2004-03-08 André Pönitz <poenitz@gmx.net>
339 * undo.[Ch]: use 'StableDocumentIterator' as base for
342 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
345 * bufferparams.[Ch]: add jurabib support and param.
347 * LaTeX.C: add FIXME/comment.
349 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
351 * buffer.C: increment file format to 230.
353 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
355 * cursor.C (dispatch): avoid infinite loops
357 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
359 * rowpainter.C (paintSelection): fix x coordinates
361 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
363 * text.C (rowBreakPoint): fix breaking before displayed insets
365 2004-03-01 André Pönitz <poenitz@gmx.net>
367 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
369 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
373 * BufferView_pimpl.C:
381 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
387 * BufferView_pimpl.C: rename textwidth -> maxwidth,
388 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
390 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
392 * Bidi.[Ch] (computeTables): const correctness
393 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
394 fill_hfill, fill_label_hfill and x from Row
395 * lyxtext.h: prepareToPrint returns a RowMetrics
396 * rowPainter.C: adjust
397 * text.C (prepareToPrint): use width, not textWidth. adjust
398 (redoParagraphInternal, cursorX): adjust
399 * text2.C (getColumnNearX): adjust
400 (init): put a default value to the top LyXText::width
402 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
404 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
406 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
408 * lyxtext.h: add FontIterator class
410 * text.C (FontIterator, operator*, operator->, operator++): add
411 (rowBreakPoint, setRowWidth): adjust (fixing a
414 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
416 * BufferView_pimpl.C (workAreaDispatch): allow also
417 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
419 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
421 * text.C (rowBreakPoint): fix a bug showing with very large insets
423 2004-02-25 André Pönitz <poenitz@gmx.net>
426 * cursor.[Ch]: move some mathed specific code to mathed
428 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
430 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
431 use_tempdir in preferences
432 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
434 * lyx_main.C: ensure that tempdir is valid
435 * lyxlex.h: correct typo
436 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
437 * paragraph.[Ch] (isMultiLingual): make const
438 * cursor.[Ch] (openable): make const
440 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
442 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
444 2004-02-20 André Pönitz <poenitz@gmx.net>
446 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
448 * cursor.[Ch]: prepare for localized getStatus()
454 * text3.C: streamlines the LyXText cursor movement handlers a bit.
456 2004-02-20 André Pönitz <poenitz@gmx.net>
458 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
460 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
462 * text2.C (setCursorFromCoordinates): switch to absolute coords
465 * text3.C (dispatch): adjust
467 2004-02-16 André Pönitz <poenitz@gmx.net>
469 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
472 * cursor_slice.[Ch]: remove unneeded acessor function
474 * lyxtext.h: rename rtl() to isRTL()
482 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
484 * rowpainter.C (paintSelection): coord fix
486 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
488 * Spacing.C: compile fix
490 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
492 * cursor.C (dispatch): restore current_ before returning
494 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
496 * text2.C (cursorUp, cursorDown): fix coords
499 2004-02-12 André Pönitz <poenitz@gmx.net>
504 * text3.C: add LCursor & parameter to most cursor movement functions
505 remove usage of LyXText::cursorRow() and cursorPar()
507 * cursor.[Ch]: add textRow() needed members
510 * BufferView_pimpl.C:
513 * BufferView_pimpl.C: adjust
515 2004-02-11 André Pönitz <poenitz@gmx.net>
519 * BufferView_pimpl.C: shift undo/redo handling
521 * cursor.[Ch]: fix mathed crash
524 * lyxtext.h: move selectionAsText to LCursor
532 * rowpainter.C: fix excessive drawing
534 2004-02-06 André Pönitz <poenitz@gmx.net>
537 * BufferView_pimpl.[Ch]:
538 * text3.C: move some text specific LFUN handling
540 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
542 * text3.C (checkInsetHit): adjust coords
543 * text2.C (getColumnNearX): adjust coords
544 (edit): adjust coords
545 * text.C (getRowNearY): add two asserts
547 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
550 * format.C: add using std::distance to compile on gcc 2.95/stlport
552 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
554 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
556 2004-02-04 André Pönitz <poenitz@gmx.net>
558 * BufferView.[Ch] (insertInset):
559 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
564 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
566 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
567 on the default clause of the switch
568 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
569 wasn't catched by LCursor::dispatch
571 2004-02-03 André Pönitz <poenitz@gmx.net>
574 * cursor.[Ch]: some additional asserts
576 * undo.[Ch]: remove LyXText dependency in interface
580 * lyxtext.h (firstPar, lastPar): remove dead functions
585 * paragraph.[Ch]: adjust
587 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
589 * lyxfind.C (find): fix argument order in call to ::find
591 2004-02-02 André Pönitz <poenitz@gmx.net>
593 * cursor.[Ch]: remove direct access to anchor
595 * text.C: remove findText() hack
597 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
599 * iterators.[Ch] (lockPath): remove in favour of...
600 * BufferView.[Ch] (setCursor): this addition
601 * BufferView.C (putSelectionAt): adjust
602 * undo.C (performUndoOrRedo): adjust
603 * lyxfunc.C (dispatch): adjust
605 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
607 * iterators.C (lockPath): add a missing slice
608 * undo.C (performUndoOrRedo): remove redundant positioning code
610 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
612 * vc-backend.C (scanMaster): ";" -> ';'
614 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
616 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
619 * lyxtextclass.C (compare_name): rename to...
620 (LayoutNamesEqual): ...this
622 * lyxlex_pimpl.C (compare_tags): inherit from
623 std::binary_function, put back into anon namespace
625 * lyxfind.C (MatchString): inherig from std::binary_function
626 (findChange): use empty() istead of !size()
628 * format.C (FormatNamesEqual): new functor
635 * converter.C (compare_Converter): rename to...
636 (ConverterEqual): ...this, and fixup a bit.
637 (getConverter): use it, and make function const
638 (getNumber): use it, and make function const
642 * bufferlist.C: add using boost::bind
644 * MenuBackend.C (MenuNamesEqual): new functor
645 (hasMenu): use it, and make function const
646 (hasSubmenu): use nested bind to get rid of compare_memfun.
648 2004-01-30 André Pönitz <poenitz@gmx.net>
650 * BufferView_pimpl.C:
661 * text3.C: move some of the edit(x,y) handling to the insets
662 some coordinate changes.
664 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
666 * text.C: add using statements for std::advance and std::distance
668 * paragraph.C: add using statement for std::distance
670 * lyxfind.C: add using statement for std::advance
672 * cursor.C (region): remove std:: from swap
673 (openable): use nucleus in stead of operator->
675 * BufferView.C: add using statements for std::distance and std::swap
677 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
679 * iterators.C: Remove the pimple, move the needed structures to
680 the header file. Create accessor for the positions stack.
681 (asPosIterator): remove function
683 * PosIterator.C (PosIterator): move constructors to top of file
684 (PosIterator): reimplement the constructor taking a ParIterator in
686 (setFrom): new function
687 (operator!=): inline it
689 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
691 * lyxfind.C (replaceAll): use std::advance
693 * iterators.h: inherit from std::iterator.
695 * PosIterator.C (advance, distance): remove
696 * PosIterator.h: interit from std::iterator.
698 2004-01-26 André Pönitz <poenitz@gmx.net>
701 * BufferView_pimpl.[Ch]:
705 * bufferview_funcs.C:
716 * output_plaintext.C:
718 * paragraph_funcs.[Ch]:
719 * paragraph_pimpl.[Ch]:
725 * text3.C: more IU: dumps most of the rest of the mathcursor
726 implementation into cursor.[Ch]; "globalize" a bit of it.
728 2004-01-25 Angus Leeming <leeming@lyx.org>
730 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
732 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
734 * LaTeXFeatures.h: add nice_ and nice() const
735 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
737 2004-01-20 André Pönitz <poenitz@gmx.net>
740 * BufferView_pimpl.C:
742 * bufferview_funcs.C:
755 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
756 LCursor and mathcursor parts to LCursor and InsetBase.
758 2004-01-15 André Pönitz <poenitz@gmx.net>
760 * cursor_slice.[Ch]: add a few covienience functions
762 * funcrequest.[Ch]: remove BufferView * member
764 * BufferView_pimpl.C:
771 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
773 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
775 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
776 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
778 2004-01-13 André Pönitz <poenitz@gmx.net>
781 * lyxtext.h: hide cursor and selection anchor behind accessor function
784 * BufferView_pimpl.[Ch]:
786 * bufferview_funcs.C:
796 * cursor_slice.[Ch]: some integer type changes for inset unification
798 * lyxcursor.[hC]: remove, it's CursorSlice now.
801 * BufferView_pimpl.[Ch]:
802 * bufferview_funcs.C:
808 * textcursor.[Ch]: adjust
810 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
812 * text2.C (undoSpan): add and use
813 * text.C (breakParagraph): use undoSpan (fix bug 578)
816 2004-01-08 Angus Leeming <leeming@lyx.org>
818 * BufferView_pimpl.C (MenuInsertLyXFile):
819 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
820 * lyxfunc.C (menuNew, open, doImport):
821 FileFilterList change to the FileDialog open and save functions.
823 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
825 * ShareContainer.h: make isEqual and isUnique adaptable
827 * CutAndPaste.C: make resetOwnerAndChanges adaptable
829 2004-01-07 Angus Leeming <leeming@lyx.org>
832 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
834 * BufferView_pimpl.C (dispatch): act on these LFUNs.
836 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
837 functions replacing find, replace and replaceAll.
839 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
840 LFUN_WORDFIND(FORWARD|BACKWARD).
842 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
844 * text.C (breakParagraph): remove an outdated #warning
846 2004-01-07 André Pönitz <poenitz@gmx.net>
848 * lyxfind.C: somewhat clearer logic
850 * text.C: prevent crash in cursorX on unitialized row cache
852 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
854 * lyxcursor.[Ch] (operator>): add
855 * textcursor.C (selStart, selEnd): use std::min and std::max
857 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
859 * Chktex.C: include boost/format.hpp
861 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
863 * InsetList.C: replace functor MathcIt with adaptable functor
865 (insetIterator): modify accordingly
867 * BranchList.h: move the BranchNamesEqual functor here from...
868 * BranchList.C: ... to here
870 * BranchList.C: new BranchListEqual fuctor, use it. Remove
872 (add): replace a finding loop with std::find_if.
874 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
876 * output_docbook.C: moving LatexParam functionality into
879 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
881 * buffer.C: increment format to 229.
883 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
886 * lyx_sty.[Ch]: remove minipageindent_def
892 * text3.C: remove LFUN_INSET_MINIPAGE
894 2003-12-28 Angus Leeming <leeming@lyx.org>
896 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
898 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
900 * text2.C (setParagraph): fix off-by-one crash
902 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
904 * output_docbook.C: header stuff for AGU
906 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
908 * text2.C (redoCursor): remove
911 * BufferView_pimpl.C: remove calls to redoCursor and
912 setCursor(cursor.par(), cursor.pos()) all around
914 2003-12-15 Angus Leeming <leeming@lyx.org>
916 * buffer.C: up the format to 228.
918 2003-12-15 André Pönitz <poenitz@gmx.net>
920 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
925 * BufferView_pimpl.C:
934 2003-12-15 Angus Leeming <leeming@lyx.org>
936 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
937 than getFromGUIName to manipulate the color.
939 2003-12-14 Angus Leeming <leeming@lyx.org>
941 * BranchList.[Ch]: minimize the API.
942 (Branch::getBranch, getColor): now return a 'const &'.
943 (Branch::setSelected) now returns a bool set to true if the
944 selection status changes.
945 (BranchList::clear, size, getColor, setColor, setSelected,
946 allBranches, allSelected, separator): removed.
947 (BranchList::find): new functions, returning the Branch with
949 (BranchList::add, remove): return a bool indicating that
950 the operation was successful.
952 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
953 new InsetBranch::isBranchSlected member function.
955 * LColor.[Ch]: mimimize the API.
956 (fill): renamed as addColor and made private.
957 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
958 versions of these functions taking a string arg have been removed.
960 * bufferparams.C (readToken):
961 * lyxfunc.C (dispatch):
962 * lyxrc.C (read): changes due to the altered BranchList and
965 * factory.C (createInset, readInset): changes due to altered
968 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
971 * lyxfunc.C: remove insetminipage. "minipage-insert"
972 now produces a frameless minipage box inset.
974 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
976 * textcursor.[Ch] (selStart,selEnd): add new methods
977 remove selection::start, end, use LyXCursor::operator<
978 * lyxcursor.[Ch] (operator<): add
979 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
980 * BufferView.[Ch] (unsetXSel): add
981 * text2.C (clearSelection): use unsetXSel,adjust
984 * rowpainter.C: adjust
985 * bufferview_funcs.C (put_selection_at): adjust
987 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
989 * BufferView_pimpl.C: small coord. correction
991 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
993 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
994 dragging over the splash screen.
996 2003-12-11 Angus Leeming <leeming@lyx.org>
998 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
999 as it is now handled in LyXText::dispatch.
1001 * text3.C (doInsertInset): remove a level of nesting.
1003 2003-12-11 Angus Leeming <leeming@lyx.org>
1005 * factory.C (createInset): changes due to the changed interface to
1006 InsetCommandMailer::string2params.
1008 2003-12-10 Angus Leeming <leeming@lyx.org>
1010 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1011 'dialog-show-new-inset <inset name>'
1013 2003-12-10 Angus Leeming <leeming@lyx.org>
1015 * buffer.C: up the format to 227.
1017 * factory.C: the box inset is now identified simply by 'Box'.
1019 2003-12-10 Angus Leeming <leeming@lyx.org>
1021 * buffer.C: up the format to 226.
1023 * factory.C: the note inset is now identified simply by 'Note'.
1025 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
1027 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1028 when a pit is enough. Standarize a couple of loops.
1030 2003-12-05 Angus Leeming <leeming@lyx.org>
1032 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1033 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1034 data to the re-worked "log" dialog.
1036 2003-12-03 André Pönitz <poenitz@gmx.net>
1042 * paragraph_funcs.C:
1044 * text2.C: use Inset::getText instead of Inset::getParagraph
1046 2003-12-03 André Pönitz <poenitz@gmx.net>
1050 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1051 InsetText::read() as LyXText::read()
1053 2003-12-02 Angus Leeming <leeming@lyx.org>
1055 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1056 type. Add a comment in the implementation that the function uses
1057 the stream's bad() function rather than fail() as the std::streams
1060 2003-12-02 André Pönitz <poenitz@gmx.net>
1062 * lyxlex.[Ch]: make interface more similar to std::stream
1064 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1066 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1068 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1070 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1072 * vspace.[Ch]: remove VSpace::NONE
1074 2003-12-01 André Pönitz <poenitz@gmx.net>
1077 * lyxtext.h: move ParagraphList member to LyXText
1078 rename LyXText::ownerParagraphs to LyXText::paragraph
1081 * bufferview_funcs.C:
1091 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1093 * undo.C: fix cursor positioning
1095 2003-12-01 John Levon <levon@movementarian.org>
1097 * BufferView_pimpl.C: fix a crash on exit with
1100 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
1102 * BranchList.C: fix setSelected() method.
1104 2003-11-28 André Pönitz <poenitz@gmx.net>
1106 * ParagraphParameters.[Ch]:
1107 * ParameterStruct.h: remove space above/below from Paragraph to
1110 * BufferView_pimpl.C:
1116 * paragraph_funcs.C:
1122 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1124 * factory.C: Syntax change for CharStyles
1126 2003-11-28 André Pönitz <poenitz@gmx.net>
1131 * buffer.[Ch]: move LyXText member
1133 2003-11-28 André Pönitz <poenitz@gmx.net>
1135 * BufferView.[Ch]: make LyXText * text a private member
1137 * BufferView_pimpl.C:
1148 * output_plaintext.C: cleanup
1150 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1153 * lyxtextclass.[Ch]: parametrize SGML document header
1155 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1158 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1161 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1163 * text2.C (setFont): rework using PosIterator (no more recursive)
1164 (setCharFont): no more needed
1165 (setLayout): no more selection cursors fiddling (done by redoCursor)
1166 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1167 destroy remaining ones)
1169 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
1171 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1173 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1176 * text3.C: adjust + re-allow multi par depth changes
1177 * textcursor.C: simplify a bit
1179 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
1185 * src/output_docbook.C:
1186 * src/output_latex.C:
1191 * src/text2.C: Introducing a number of tags parametrizing various
1192 XML formats that we may want to support
1194 2003-11-25 André Pönitz <poenitz@gmx.net>
1196 * InsetList.[Ch] (begein, end): inline as suggested by profiler
1198 * lyxtext.h (leftMargin/rightMargin): simplify interface
1205 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1207 * lyxfunc.C (dispatch): propogate the bibtex databases from the
1208 master file to any child files. Fixes bug 546.
1210 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1212 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1214 2003-11-24 André Pönitz <poenitz@gmx.net>
1216 * rowpainter.C: simplification
1218 * text2.C (updateCounters): remove call to redoParagraph on
1219 changed labels as this is far too expensive.
1221 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1223 * converter.C (convert): fix a crash: this function gets
1224 called with buffer == 0 from importer code.
1226 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1228 * text3.C (cursorPrevious): make sure that we do not compare
1229 iterators form different containers.
1232 * rowpainter.C (paintSelection): make sure that we do not compare
1233 iterators from different containers.
1235 * text3.C (dispatch): [PRIOR] make sure that we do not compare
1236 iterators from different ParagraphList containers.
1239 * text2.C (LyXText): change order of initialization slightly
1240 (operator=): new function. copy all variables except cache_par_
1241 (moveUp): make sure that we do not compare iterators from
1242 different ParagraphList constainers.
1245 * text.C (firstPar): new function
1246 (lastPar): new function
1247 (endPar): new function
1249 * lyxtext.h: move things around and group public functions, public
1250 variables, private functions, private variables
1252 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1254 * factory.C: change call to InsetERT constructor to avoid
1255 additional invocation of method status
1256 * text2.C (toggleInset): remove redundant update() call
1257 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1258 instead of a Bufferview pointer
1260 2003-11-21 André Pönitz <poenitz@gmx.net>
1262 * rowpainter.C: simplification
1264 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1266 * text3.C (dispatch): make possible to extend a word/row selection
1269 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1271 * lyxtext.h: x0_,y0_ -> xo_,yo_
1272 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1273 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1274 * rowpainter.C (paintRows): paint full paragraphs
1276 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1278 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1281 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1283 * lyxtext.h: add x0_, y0_
1284 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1285 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1287 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
1289 * text2.C (setCursorIntern): move the x_target update here *
1290 * text3.C: change some bv() to true/false in calls to
1291 cursorUp/Down/Right/Left
1292 * cursor.C: use helper function.
1294 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1296 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1297 * paragraph_funcs.[Ch]: correct comment
1298 * rowpainter.C: do not paint selections away from bv->cursor()
1299 Fix a long standing selection painting bug.
1300 * text3.C: generalize mouse-selection code to LyXTexts other that
1302 * textcursor.C: do not use y coords if we can use par offsets
1304 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1306 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1307 cursor position after e.g. inset insert)
1309 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
1311 * lyxfind.C (replace): adjust to locking removal + some
1314 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
1316 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1319 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
1322 * output_docbook.C: XML sanitation: new layout
1323 parameters InnerTag and CommandDepth
1325 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
1327 * BufferView_pimpl.C:
1329 * text3.C: Fix the insertion and modification of button-style
1332 2003-11-13 André Pönitz <poenitz@gmx.net>
1334 * InsetList.[Ch]: remove deleteLyXText
1336 * paragraph.[Ch]: cache beginOfBody position
1341 * text3.C: remove superfluous update() calls
1345 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1347 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1348 * BufferView.C (fitLockedInsetCursor): remove
1349 * cursor.[Ch] (getDim): add
1350 * text.C (getRowNearY): add faster version
1351 * text3.C: remove some update calls
1353 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1365 * text3.C: The Character Style /XML short element patch.
1367 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
1370 * factory.C: Small step to solving 'unable to insert some insets'
1373 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1375 * cursor.[Ch] (updatePos): new function for updating the y
1376 position of the tip inset
1377 * bufferview_funcs.C (put_selection_at):
1378 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1380 2003-11-11 André Pönitz <poenitz@gmx.net>
1382 * text.C: remove big comment on invalid Paragraph pointers as it is
1385 2003-11-11 André Pönitz <poenitz@gmx.net>
1387 * text_funcs.[Ch]: merge with ...
1395 * Makefile.am: remove text_funcs.[Ch]
1397 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1399 * cursor.C (getPos): return absolute cached y coord
1401 * BufferView_pimpl.C (fitCursor): new simplistic code
1402 (workAreaDispatch): add a fitCursor call
1404 2003-11-10 André Pönitz <poenitz@gmx.net>
1407 * BufferView_pimpl.[Ch]: merge update() and updateInset()
1409 2003-11-10 André Pönitz <poenitz@gmx.net>
1411 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1412 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1413 indicate that the cursor needs to leave an inset
1415 * lyxtext.h: remove inset locking
1417 * cursor.[Ch]: re-implement functionality provided by inset locking
1420 * BufferView_pimpl.[Ch]:
1422 * bufferview_funcs.[Ch]:
1434 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1436 * PosIterator.[Ch]: replace the stack with a vector, add inset
1438 * iterators.[C]: adjust
1440 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1442 * lyxfind.C (replaceAll): mark the buffer dirty if something was
1444 * paragraph_funcs.C (readParToken): put the correct id in the
1445 error item, not the id of the top paragraph
1447 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1449 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1450 * bufferview_funcs.C (put_selection_at): use the above
1452 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1454 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1456 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1458 * output_linuxdoc.h:
1459 * output_plaintext.h:
1461 * output_docbook.h: add #include statements
1463 2003-11-05 José Matos <jamatos@lyx.org>
1465 * output_docbook.[Ch]:
1466 * output_latex.[Ch]:
1467 * output_linuxdoc.[Ch]:
1468 * output_plaintext.[Ch]: New files for output formats.
1469 * output.[Ch]: New file for helper functions.
1472 * paragraph_funcs.[Ch]: output functions moved to new files.
1474 * outputparams.h: rename of latexrunparams.h
1482 * paragraph_funcs.[Ch]:
1483 * paragraph_pimpl.[Ch]:
1484 * tabular.[Ch]: rename ascii to plaintext
1485 and LatexRunParams to OutputParams.
1487 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1489 * iterators.[Ch] (text): require bv argument
1490 * undo.C (recordUndo):
1491 * lyxfunc.C (dispatch):
1492 * bufferview_funcs.C (put_selection_at): adjust
1494 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
1496 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1498 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1500 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1503 2003-11-04 André Pönitz <poenitz@gmx.net>
1505 * cursor.[Ch]: restructure
1508 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1510 * iterators.[Ch] (asCursor): remove
1512 * lfuns.h: remove LFUN_INSET_EDIT
1518 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1520 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1522 * lyxfind.[Ch]: complete overhaul
1523 * BufferView_pimpl.C:
1525 * paragraph.[Ch] (insert): add
1527 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1531 * text.C: remove dead spellcheck code
1533 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1535 * dispatchresult.h: add a val setter
1537 * cursor.C (dispatch): use a tempvar for data_[i]
1539 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1541 * PosIterator.[Ch]: compile fix
1543 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1545 * text.C (cursorPar): deactivate the cursor cache
1547 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1549 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1551 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1553 * text3.C (dispatch): adjust for new DisptchResult semantics.
1555 * lyxfunc.C (dispatch): handle update when return from
1556 Cursor::dispatch, adjust for new DispatchResult semantics.
1558 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1559 DispatchResult(true) mean to not update. Add class functions for
1560 setting dispatched and update, as well as reading.
1562 * cursor.C (dispatch): don't handle update here
1564 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1566 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1567 * trans_mgr.C: adjust
1569 * paragraph_funcs.C (readParToken): exception safety
1571 * lyxvc.h: store the vcs pointer in a scoped_ptr
1574 * lyxsocket.C (serverCallback): exception safety
1576 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1578 * ispell.C (clone): make it return a auto_ptr
1580 * factory.C (createInset): exception safety
1581 (readInset): exception safety
1583 * bufferlist.C (newBuffer): exception safety
1585 * Thesaurus.C (Thesaurus): use initialization for aik_
1587 * MenuBackend.C (expandToc): exception safety.
1589 2003-11-03 André Pönitz <poenitz@gmx.net>
1593 * bufferview_funcs.C: remove getInsetFromId()
1596 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1602 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1604 * PosIterator.C (distance, advance): new
1605 * bufferview_funcs.[Ch] (put_selection_at): new
1606 * iterators.[Ch] (lockPath): new
1608 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
1610 * iterators.[Ch] (asPosIterator): added
1611 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1612 * PosIterator.[Ch]: added
1614 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1618 * cursor.C (dispatch):
1619 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1621 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1622 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1623 contructor, add a class function dispatched. Remove operator>=
1625 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1627 * debug.C: only use the default constructor for debugstream
1630 * main.C (main): include debug.h and setup the lyxerr streambuf
1633 2003-10-31 José Matos <jamatos@lyx.org>
1635 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1637 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1638 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1639 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1640 * paragraph_pimpl.C (simpleTeXSpecialC):
1641 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1642 add LatexRunParams argument.
1644 * exporter.C (Export): change call accordingly.
1646 * latexrunparams.h: add new member to take care of the other backends.
1647 2003-10-30 José Matos <jamatos@lyx.org>
1649 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1650 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1651 factorise code for paragraph output.
1653 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1656 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1658 * text3.C (dispatch):
1659 * lyxfunc.C (dispatch):
1660 * cursor.C (dispatch):
1661 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1663 * dispatchresult.h: make the dispatch_result_t ctor explicit
1665 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1668 * buffer.C: small refactoring of docbook stuff
1670 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1672 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1675 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1677 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1678 operator dispatch_result_t, and operators for == != and >=
1680 * cursor.C (dispatch): adjust for operator dispatch_result_t
1681 removal. comment out call to update
1683 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1685 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1693 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1696 * dispatchresult.h: new file, DispatchResult broken out of
1699 * Makefile.am (lyx_SOURCES): add dispatchresult.h
1701 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1703 * text.C (rowBreakPoint): put a hack inside #if 0
1705 2003-10-28 André Pönitz <poenitz@gmx.net>
1709 * paragraph_funcs.C:
1712 * text2.C: general cleanup (lots of small stuff)
1714 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1716 * text2.C (cursorEnd): simple fix to the "end key goes to one
1717 before the end on last row" bug
1719 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1721 * text.C (backspace): fix the "zombie characters"
1723 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1725 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1727 2003-10-27 André Pönitz <poenitz@gmx.net>
1729 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1731 * factory.C: handle new InsetPagebreak, InsetLine
1733 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1734 and move handling into new InsetPagebreak, InsetLine
1736 * BufferView_pimpl.C:
1738 * ParagraphParameters.C:
1739 * ParameterStruct.h:
1744 * paragraph_funcs.C:
1745 * paragraph_pimpl.C:
1751 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1754 * lyxrow_funcs.[Ch]:
1760 * text3.C: remove lastPos uses in favour of Row::endpos
1762 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1764 * undo.C (performUndoOrRedo): fix two crashes by setting a
1765 cursor by hand and reordering some calls. Use bv->lockInset instead
1766 of inset->edit because the latter loses cursor information
1768 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
1770 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1772 (rowBreakPoint): fix width. change point to point + 1.
1773 Add a missing check.
1775 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
1778 * lyxfunc.C: fix (at least partly) the problems
1779 with the Nav menu and headers inside branch insets
1782 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
1784 * paragraph.C (getChar): add strong asserts
1786 * lyxrow_funcs.C (lastPos): remove hideous hack
1788 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1789 (fill): adjust to that (avoid an infinite loop)
1791 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1793 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1795 2003-10-23 André Pönitz <poenitz@gmx.net>
1797 * RowList_fwd.h: change list<> to vector<> to gain speed
1798 after suggestion from Alfredo
1800 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1802 * lyxtext.h: move the bidi stuff from here...
1805 * Bidi.[Ch]: ... to here
1807 2003-10-23 André Pönitz <poenitz@gmx.net>
1810 * text.C (isLastRow, isFirstRow): new functions
1812 * paragraph.h: new width cache member
1814 * rowpainter.C: replace RowList::iterator with Row & where possible
1816 * lyxfunc.C: replace several view()->text with a single call
1818 * toc.C: fix 'unused' warning
1820 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1822 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1823 when woring with stream::pos_type
1824 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1826 2003-10-22 André Pönitz <poenitz@gmx.net>
1829 * text.C: use Row & instead of RowList::iterator
1831 * lyxrow.h: rename end() to endpos()
1837 2003-10-22 Angus Leeming <leeming@lyx.org>
1839 * buffer.[Ch] (fully_loaded): new member function, returning true
1840 only when the file has been loaded fully.
1841 Used to prevent the premature generation of previews and by the
1842 citation inset to prevent computation of the natbib-style label.
1844 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1845 templates are all set up.
1847 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1849 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
1851 * text.C: fixed an "oops" in the "is a bit silly"
1854 2003-10-21 André Pönitz <poenitz@gmx.net>
1856 * FuncStatus.[Ch]: small stuff, whitespace
1858 * lyxfont.[Ch]: operator<<() for debug reasons
1862 * lyxtext.h: whitespace, spelling
1864 * paragraph.C: naming of variables
1867 * text2.C: small stuff
1870 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1872 * text.C: (1) finish off the inset display() work;
1873 (2) fix the "is a bit silly" bug (accessing char
1876 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1878 * text.C: re-introduce display() for insets, fixing the
1879 various bugs (stretch of line above, math inset
1882 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1884 * text.C (rightMargin): remove spurious semicolon
1886 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1889 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
1891 * text3.C: fix one crash due to wrong cursor def
1893 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1895 * vc-backend.C (scanMaster): make the regex static
1897 * LaTeX.C (scanAuxFile): make the regexs static
1899 * text3.C (doInsertInset, dispatch, dispatch):
1900 * text2.C (cursorUp, cursorDown):
1901 * text.C (selectNextWordToSpellcheck):
1902 * BufferView_pimpl.C (dispatch):
1903 * lyxfunc.C (dispatch): localDispatch -> dispatch
1905 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1907 * lyxsocket.C: include <cerrno>
1909 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1911 * lyxfunc.C (dispatch): remove textcache stuff
1913 * bufferlist.C (release): remove textcache stuff
1916 * TextCache.C: delete file
1917 * TextCache.h: delete file
1919 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1921 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1922 delete of the bv_->text.
1923 (resizeCurrentBuffer): remove texcache stuff
1924 (workAreaResize): ditto
1926 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1928 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1931 2003-10-16 André Pönitz <poenitz@gmx.net>
1938 * text3.C: speed up by storing y positions per paragraph plus per-row
1939 offset instead of having a 'full' y position in the row.
1941 2003-10-15 André Pönitz <poenitz@gmx.net>
1945 * undo.[Ch]: make undo aware of inner insets
1947 2003-10-14 Angus Leeming <leeming@lyx.org>
1949 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1950 static member functions LyX::ref() and LyX::cref.
1951 (lastfiles): new accessor functions for the new lastfiles_ member var.
1952 (addLyXView, views_): add a new LyXView to the list of views_.
1953 (updateInset): loop over all LyXViews to call their own updateInset
1954 member function, returning a pointer to the Buffer owning the inset.
1956 * BufferView_pimpl.C (loadLyXFile):
1957 * MenuBackend.C (expandLastfiles):
1958 * bufferlist.C (MenuWrite, QuitLyX):
1959 lastfiles is no longer a global variable.
1960 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1962 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1963 static function. Access through LyX::cref().emergencyCleanup().
1965 2003-10-14 André Pönitz <poenitz@gmx.net>
1967 * iterators.[Ch]: new direct access to innermost LyXText and Inset
1969 * undo.[Ch]: restoring part of 'undo in insets'
1972 * undo_funcs.[Ch]: merge with undo.[Ch]
1974 * tabular.C: small cleansing stuff
1976 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
1978 * paragraph_funcs.C (readParToken): report unknown insets as error
1979 boxes. Use the outer paragraph as location (also for unknown
1982 * factory.C (readInset): do not abort on reading an unknown inset.
1983 Eat it and return 0.
1985 2003-10-13 Angus Leeming <leeming@lyx.org>
1987 * lyx_main.C (LyX): remove call to setDisplayTranslator().
1989 * lyxrc.C: displayTranslator is now a function,
1990 declared in GraphicsTypes.h.
1992 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1994 * format.C: new placeholder $$a to pass the socket address.
1996 * bufferlist.[Ch]: new function getBufferFromTmp.
1998 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1999 files in the temporary dir.
2001 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2003 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2005 * Makefile.am: add lyxsocket.[Ch].
2007 * lyx_main.C (error_handler): handle SIGPIPE.
2009 2003-10-13 André Pönitz <poenitz@gmx.net>
2011 * BufferView_pimpl.C:
2016 * undo_funcs.[Ch]: use paroffset_type instead of
2017 ParagraphList::iterators to prevent multiple conversion
2018 (and get a more robust interface)
2020 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2022 * lyxfunc.C (dispatch): RESULT -> dispatch_result
2024 * text3.C (dispatch): ditto
2026 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2028 * LaTeX.C (handleFoundFile): move the static to smaller scope,
2029 move the onlyfile, use onlyfile instead of foundfile in a couple
2032 * DepTable.C (update): flush the error stream a bit more
2034 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2036 * lyxserver.C (callback): adjust
2038 * lyxfunc.C (getStatus): add a missing brace in commented code
2039 (ensureBufferClean): reindent
2040 (dispatch): delete version taking a string
2042 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2044 * LaTeX.C (deplog): move found file handlig from here...
2045 (handleFoundFile): .. to new function here.
2046 (deplog): make sure to discover several files mentioned on the
2049 2003-10-10 André Pönitz <poenitz@gmx.net>
2056 * text3.C: fix some of the tabular crashes
2058 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2060 * MenuBackend.C (binding): put debug message into Debug::KBMAP
2062 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2064 2003-10-09 André Pönitz <poenitz@gmx.net>
2066 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2069 * BufferView_pimpl.C:
2070 * bufferview_funcs.C:
2081 * undo_funcs.C: adjust
2083 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2085 * text2.C (incrementItemDepth): new function, use a backtracking
2086 algorithm to discover the correct item depth.
2087 (resetEnumCounterIfNeeded): new function, use a backtracking
2088 algorithm to discover if counter reset is needed.
2089 (setCounter): use them. Simplify a bit. Add different labels for
2090 different item depths for itemize.
2092 * paragraph.C (Paragraph): remove initialization of enumdepth
2095 * paragraph.h: get rid of enumdepth, and use itemdepth both for
2096 enumerate and itemize. Change the type of itemdepth to signed char.
2098 2003-10-08 André Pönitz <poenitz@gmx.net>
2100 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2105 * tabular.[Ch]: fix crash after 'row-insert'
2107 2003-10-08 Angus Leeming <leeming@lyx.org>
2109 Fix doxygen warnings.
2111 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2112 Remove CutAndPaste:: prefix from header file declaration.
2114 * LColor.h (fill): remove LColor:: prefix from declaration.
2116 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2117 use lyx::depth_type rather than Paragraph::depth_type so that
2118 header file and .C file match.
2120 * converter.h (intToFormat): remove Converters:: prefix from declaration.
2122 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2123 * aspell.C: \file aspell_local.C -> \file aspell.C
2124 * gettext.C: \file gettext.C -> \file src/gettext.C
2125 * gettext.h: \file gettext.h -> \file src/gettext.h
2126 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2127 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2128 * text.C: \file text.C -> \file src/text.C
2130 * toc.C: move comment so that doxygen is not confused.
2132 2003-10-07 Angus Leeming <leeming@lyx.org>
2134 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2136 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2139 * aspell_local.h: add forgotten std::string's.
2141 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2148 * text3.C: The Box patch. Fancybox support, minipage, parbox
2150 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2156 * ParagraphParameters.h:
2166 * lyxtextclasslist.h:
2169 * paragraph_pimpl.C:
2170 * textcursor.h: add <string> and other small fixes to make Lars'
2171 std::string patch compile with STLport.
2173 2003-10-06 Angus Leeming <leeming@lyx.org>
2175 * LColor.h: Add missing #include <string>.
2177 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2179 * All most all file in all subdirs: Make <string> be the prefered
2180 way of getting to std::string, add using declarations.
2182 2003-10-06 André Pönitz <poenitz@gmx.net>
2184 * metricsinfo.C: initialize LyXFont before changing attribute.
2185 (fixes the 'math in \emph is upright' bug)
2187 2003-10-06 André Pönitz <poenitz@gmx.net>
2189 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2191 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
2194 * paragraph_pimpl.C: Small fixes to build using STLport
2196 2003-10-02 André Pönitz <poenitz@gmx.net>
2199 * text3.C: move handling of LFUN_DEPTH *; fix #1360
2201 2003-10-01 André Pönitz <poenitz@gmx.net>
2203 * factory.C: assert early
2205 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2207 * lyx_main.C: remove the global debug object
2209 * debug.h: adjust for new debugstream
2211 * debug.C: adjust for new debugstream and keep the global debug
2214 2003-09-22 Angus Leeming <leeming@lyx.org>
2216 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2217 of g++ which otherwise complain that the scoped_ptr destructor can't delete
2218 an incomplete class LyXFont.
2220 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2222 * factory.C: bug fix in branches
2224 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2226 * lyxfunc.C (processKeySym): adjust
2228 (dispatch): change arg name from ev to func, adjust
2229 (sendDispatchMessage): ditto
2231 * lyx_main.C (defaultKeyBindings): adjust keybindings
2232 (deadKeyBindings): ditto
2234 * kbsequence.C (addkey): return a FuncRequest
2236 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2238 * kbmap.C (bind): take a FuncRequest as arg, adjust
2241 (defkey): change to take a FuncRequest as arg, adjust
2242 (findbinding): take a FuncRequest as arg, adjust.
2244 * funcrequest.h (operator=): added
2246 * funcrequest.C (FuncRequest): default kb_action changed from
2247 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2249 * buffer.C (dispatch): simplify
2250 (dispatch): adjust to take a FuncRequest as arg, adjust
2252 * boost.C (assertion_failed): change assertion message slightly
2254 * ToolbarBackend.C (read): simplify
2256 * MenuBackend.C (binding): adjust call to findbinding, add a
2257 message if no binding is found.
2259 (expandToc): correct by adding a empty FuncRequest
2261 * LyXAction.C: include <boost/assert.hpp>
2262 (isPseudoAction): delete function
2263 (LookupFunc): change name to...
2264 (lookupFunc): this. change return type to FuncRequest.
2265 (getActionName): take kb_action as arg, simplify
2266 (funcHasFlag): add an assert, simplify.
2268 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2270 * toc.C (action): return a FuncRequest, simplify
2272 * lyxfunc.C (processKeySym): adjust
2273 (getStatus): delete version that takes an int.
2275 (dispatch): delete version that takes action as int
2277 (sendDispatchMessage): simplify and adjust
2279 * funcrequest.C (getArg): take unsigned int as arg
2281 * ToolbarBackend.C (read): adjust
2282 (add): delete version that takes func as a string.
2283 (getIton): take a FuncRequest as arg
2285 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2288 * MenuBackend.C (MenuItem): add a new construct that only takes a
2289 Kind, simplify the constructor use for submenus.
2291 (expandLastfiles): adjust
2292 (expandDocuments): adjust
2293 (expandFormats): adjust
2294 (expandFloatListInsert): adjust
2295 (expandFloatInsert): adjust
2296 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2298 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2299 Remove class variables lyx_pseudo_map and lyx_arg_map
2301 * LyXAction.C (searchActionArg): delete function
2302 (getPseudoAction): delete function
2303 (retrieveActionArg): delete function
2304 (LookupFunc): make it return kb_action, simplify.
2305 (getActionName): simplify
2307 * factory.C (createInset): fix new bug
2309 2003-09-19 Angus Leeming <leeming@lyx.org>
2311 * CutAndPaste.C (pasteSelection): remove fudge used to set the
2312 masterFilename_ parameter in the include inset.
2314 * factory.C (createInset): changes due to the changes to InsetInclude.
2316 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2318 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2320 2003-09-18 Angus Leeming <leeming@lyx.org>
2323 * BufferView.C: pass the buffer when calling Inset::getLabelList,
2324 Inset::fillWithBibKeys.
2325 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2327 2003-09-18 Angus Leeming <leeming@lyx.org>
2329 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2331 (ctor): pass and store a 'Buffer const &'
2332 (buffer): new member function.
2334 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2335 '*this' to the LaTeXFeatures ctor.
2337 2003-09-18 Angus Leeming <leeming@lyx.org>
2343 * text.C: rename EnumLColor as LColor_color.
2345 2003-09-18 Angus Leeming <leeming@lyx.org>
2347 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2348 remove #include "insets/insetbase.h" from cursor.h.
2350 2003-09-18 Angus Leeming <leeming@lyx.org>
2352 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2353 InsetOld_code to remove #include "inset.h".
2355 * iterators.C: add #include "insets/inset.h"
2357 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
2359 * BufferView.C: remove more locking stuff that apparently doesn't
2360 do anything sensible.
2362 2003-09-16 André Pönitz <poenitz@gmx.net>
2365 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2368 2003-09-16 Angus Leeming <leeming@lyx.org>
2370 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2372 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2375 * paragraph.h: remove #include "lyxfont.h". Forward declare
2378 2003-09-16 Angus Leeming <leeming@lyx.org>
2380 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2381 of support/textutils.h.
2382 (isWord): move the contents of support/textutils.h's IsWordChar here.
2388 * text2.C: add #include "paragraph.h".
2391 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2393 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2399 * LaTeX.C: use namespace alias for lyx::support::os
2401 2003-09-16 Angus Leeming <leeming@lyx.org>
2404 * bufferview_funcs.C:
2407 * paragraph_pimpl.C:
2409 * text.C: add #include "LColor.h".
2411 2003-09-16 Angus Leeming <leeming@lyx.org>
2413 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2414 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2416 Store the FontBits::color variable as an int rather than as an
2417 LColor::colorso that we can move LColor.h out of the lyxfont.h header
2420 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2421 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2422 string calls together.
2424 * lyxrc.C: add #include "LColor.h".
2426 2003-09-15 Angus Leeming <leeming@lyx.org>
2428 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2431 2003-09-15 Angus Leeming <leeming@lyx.org>
2433 * LColor.h: add an EnumLColor wrapper for LColor::color.
2435 * lyxfont.[Ch] (color, setColor, realColor):
2436 * lyxtext.h, text.C (backgroundColor):
2437 pass EnumLColor args to/from the functions, rather than LColor::color
2441 * lyxtext.h: forward declare EnumLColor.
2443 * lyx_main.C: add #include "LColor.h".
2445 2003-09-15 Angus Leeming <leeming@lyx.org>
2447 * .cvsignore: add lyx-gtk.
2449 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2454 * ParagraphParameters.C
2458 * bufferview_funcs.C
2468 * vc-backend.C: remove usage of STRCONV
2470 2003-09-15 Angus Leeming <leeming@lyx.org>
2472 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2473 explicitly define the color passed to the painter.
2475 2003-09-15 Angus Leeming <leeming@lyx.org>
2477 * bufferparams.C (BufferParams): reorder member initializers to avoid
2480 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
2482 * CutAndPaste.C (pasteSelection): remove an outdated #warning
2483 * text.C (updateRowPositions): remove an unusual nop
2485 2003-09-12 André Pönitz <poenitz@gmx.net>
2487 * BufferView_pimpl.C:
2496 * Counters.[Ch]: finish the 'automatic counters' job
2498 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2500 * aspell.C: include <boost/assert.cpp> (compile fix)
2502 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
2504 * boost.C (assertion_failed): use lyx::support::abort instead of
2507 2003-09-10 Angus Leeming <leeming@lyx.org>
2509 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2510 with their _fwd progeny.
2512 2003-09-09 Angus Leeming <leeming@lyx.org>
2514 134 files throughtout the source tree: replace 'using namespace abc;'
2515 directives with the appropriate 'using abc::xyz;' declarations.
2517 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2519 * boost.C (emergencyCleanup): moved here from LAssert.c
2520 (assertion_failed): new function, called by BOOST_ASSERT
2522 * several files: change Assert to BOOST_ASSERT
2524 2003-09-09 Angus Leeming <leeming@lyx.org>
2526 * buffer.[Ch]: Add an Impl class and move Buffer's member
2527 variables into it. As a result move several header files out of
2530 Add header files to lots of .C files all over the tree as a result.
2532 2003-09-09 Angus Leeming <leeming@lyx.org>
2534 * buffer.[Ch]: make Buffer's member variables private. Add
2537 Lots of changes all over the tree as a result.
2539 2003-09-08 Angus Leeming <leeming@lyx.org>
2541 * graph.C: #include <config.h>.
2543 2003-09-08 Angus Leeming <leeming@lyx.org>
2547 * BufferView_pimpl.C:
2576 * toc.C: remove redundant using directives.
2578 2003-09-07 Angus Leeming <leeming@lyx.org>
2580 * LaTeXFeatures.h: remove #include "support/types.h".
2581 * ToolbarBackend.h: remove #include <algorithm>.
2582 * changes.h: remove #include <ctime>.
2583 * debug.h: remove #include <iosfwd>.
2584 * graph.h: remove #include "support/std_string.h".
2585 * lyx_main.h: remove #include <csignal>.
2586 * lyxlex_pimpl.h: remove #include <fstream>.
2587 * sgml.h: remove #include <algorithm>, <utility>.
2588 * toc.h: remove #include "support/std_ostream.h".
2589 Add #include <iosfwd>.
2591 2003-09-07 Angus Leeming <leeming@lyx.org>
2593 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2595 * converter.h: forward declare LatexRunParams.
2596 * encoding.h: remove #include "lyxrc.h".
2597 * lyxtext.h: remove #include "LColor.h".
2598 * lyxtextclass.h: remove #include "support/types.h".
2599 * trans.h: remove #include "tex-accent.h".
2600 * trans_mgr.h: remove #include "tex-accent.h".
2601 * insets/inset.h: remove #include "support/types.h", <vector>.
2602 * insets/insetcollapsable.h: remove #include "LColor.h".
2603 * insets/insetinclude.h: remove #include "dimension.h".
2604 * insets/insetlatexaccent.h: remove #include "dimension.h".
2605 * insets/insetoptarg.h:: remove #include "insettext.h".
2606 * insets/insettext.h: remove #include "dimension.h",
2607 <boost/shared_ptr.hpp>
2609 * insets/renderers.h: add #include "dimension.h".
2610 * insets/updatableinset.h: add #include "support/types.h".
2612 * many .C files: Associated changes.
2614 2003-09-06 Angus Leeming <leeming@lyx.org>
2616 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2617 one, inside testInvariant.
2619 * PrinterParams.C: new file.
2620 * PrinterParams.[Ch]: move the function bodies out of line.
2622 2003-09-06 Angus Leeming <leeming@lyx.org>
2624 * ParagraphParameters.h: forward declare ParameterStruct rather than
2625 including its header file.
2626 (depth): moved out-of-line.
2628 2003-09-06 Angus Leeming <leeming@lyx.org>
2630 * BufferView_pimpl.h:
2633 * lyxfunc.h: forward declare LyXKeySym rather than
2634 #include "frontends/LyXKeySym.h".
2636 * BufferView_pimpl.C:
2639 * lyxfunc.C: associated changes.
2641 2003-09-06 Angus Leeming <leeming@lyx.org>
2643 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2644 As a result, can remove the #include "insets/inset.h" from BufferView.h
2646 2003-09-06 Angus Leeming <leeming@lyx.org>
2648 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2649 As a result, can remove the #include "insets/inset.h" from BufferView.h
2651 2003-09-06 Angus Leeming <leeming@lyx.org>
2657 * bufferview_funcs.C:
2658 * BufferView_pimpl.C:
2663 * ParagraphParameters.C:
2668 * frontends/controllers/ControlDocument.C:
2669 * insets/insetcaption.C: rearrange the #includes into some sort of
2672 * buffer.h: remove #includes ErrorList.h, undo.h
2674 2003-09-06 Angus Leeming <leeming@lyx.org>
2676 * support/types.h: add a 'depth_type' typedef, used to store the
2677 nesting depth of a paragraph.
2680 * ParameterStruct.h: use this lyx::depth_type typedef rather than
2681 defining explicitly.
2684 * paragraph_funcs.h:
2685 * ParagraphParameters.h:
2686 * sgml.h: use lyx::depth_type rather than Paragraph or
2687 ParameterStruct's depth_type.
2690 * paragraph_funcs.h: no need to #include paragraph.h anymore.
2693 * BufferView_pimpl.C:
2695 * ParagraphParameters.C:
2698 * bufferview_funcs.C:
2705 * frontends/LyXView.C:
2706 * frontends/controllers/ControlDocument.C:
2707 * frontends/controllers/ControlErrorList.C:
2708 * insets/insetbibitem.C:
2709 * insets/insetbranch.C:
2710 * insets/insetcaption.C:
2711 * insets/insetcollapsable.C:
2712 * insets/insetenv.C:
2713 * insets/insetert.C:
2714 * insets/insetfloat.C:
2715 * insets/insetfoot.C:
2716 * insets/insetfootlike.C:
2717 * insets/insetnewline.C:
2718 * insets/insetquotes.C:
2719 * insets/insettabular.C:
2720 * insets/insettext.C:
2721 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2723 * frontends/controllers/ControlChanges.C: #include "changes.h".
2725 2003-09-06 Angus Leeming <leeming@lyx.org>
2727 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2728 than #including paragraph.h.
2731 * RowList.h: deleted. Superfluous.
2741 * insets/insettext.h: use ParagraphList_fwd.h rather than
2744 * paragraph.h: don't forward declare ParagraphList.
2747 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2748 rather than ParagraphList.h. paragraph.h is still needed for the
2749 Paragraph::depth_type parameters.
2751 * textcursor.h: enable it to compile stand-alone in light of the
2754 * bufferview_funcs.C:
2766 * frontends/controllers/ControlParagraph.C:
2767 * frontends/controllers/ControlTabular.C:
2768 * insets/insetmarginal.C:
2769 * insets/insetminipage.C:
2770 * insets/insetnote.C:
2771 * insets/insetoptarg.C: add header files needed to compile again.
2773 2003-09-06 Angus Leeming <leeming@lyx.org>
2775 * RowList_fwd.h: new file, forward-declaring Row rather than
2776 #including lyxrow.h.
2781 * insets/insettext.h: use it instead of RowList.h
2783 * bufferview_funcs.C:
2790 * text3.C: #include "RowList.h".
2792 2003-09-05 Angus Leeming <leeming@lyx.org>
2794 * factory.C (createInset):
2795 * vspace.C (c-tor): replace sscanf call with an istringstream.
2796 * ispell.C: re-add missing HP/UX headers.
2797 * lyxserver.C: re-add missing os2 headers.
2799 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
2808 * text3.C: re-add missing system headers, needed for 2.95.2.
2810 2003-09-05 Angus Leeming <leeming@lyx.org>
2812 Changes most place everywhere due to the removal of using directives
2813 from support/std_sstream.h.
2815 2003-09-05 Angus Leeming <leeming@lyx.org>
2817 Replace LString.h with support/std_string.h,
2818 Lsstream.h with support/std_sstream.h,
2819 support/LIstream.h with support/std_istream.h,
2820 support/LOstream.h with support/std_ostream.h.
2822 Changes resulting throughout the tree.
2824 2003-09-05 Angus Leeming <leeming@lyx.org>
2826 * sgml.h: ensure that the header file can be compiled stand-alone.
2827 * *.C: strip out redundant #includes. (320 in total.)
2829 2003-09-04 Angus Leeming <leeming@lyx.org>
2831 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2832 here (from getPackages).
2834 * debug.[Ch]: add a new EXTERNAL tag.
2836 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2838 * text2.C (cursorEnd): simplify
2840 (getColumnNearX): adjust
2842 * text.C (computeBidiTables): adjust
2845 * rowpainter.C (paintChars): adjust
2846 (paintSelection): adjust
2847 (paintChangeBar): adjust
2850 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2852 (numberOfSeparators): adjust
2854 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2860 * text3.C: Restricts the mouse click functionality
2861 of insets like bibtex, include, toc and floatlist to the visible
2862 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2863 up the dialogs. Cursor has to be in front of the inset (i.e.
2864 start of row) for this to function.
2866 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2868 * bufferview_funcs.C (currentState): output row information
2870 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2872 * bufferview_funcs.C (currentState): output paragraph position
2874 2003-09-04 Angus Leeming <leeming@lyx.org>
2876 * FloatList.h: move out #include "Floating.h".
2877 * LaTeX.h: move out #include "DepTable.h".
2878 * LyXAction.h: move out #include "funcrequest.h".
2879 * buffer.h: move out #include "author.h", "iterators.h".
2880 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2881 * lyx_main.h: move out #include "errorlist.h".
2882 * lyxfunc.h: move out #include "FuncStatus.h".
2883 * lyxtext: move out #include "lyxcursor.h".
2884 * paragraph_pimpl.h: move out #include "counters.h".
2886 2003-09-03 Angus Leeming <leeming@lyx.org>
2888 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2889 preamble_snippets list, enabling us to add snippets to the preamble
2890 only if the snippet was not there already.
2892 2003-09-04 Angus Leeming <leeming@lyx.org>
2894 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2896 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2898 * lyxfunc.C (dispatch): if fitCursor did something be sure to
2901 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2903 * BranchList.C: point fix, earlier forgotten
2905 2003-09-02 Angus Leeming <leeming@lyx.org>
2907 * box.C (contains): renamed from 'contained' after a fantastic
2910 2003-09-02 John Levon <levon@movementarian.org>
2916 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2918 2003-09-02 John Levon <levon@movementarian.org>
2920 * text2.C: simplification of cursorEnd(), including partial
2923 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2925 * buffer.C (readFile): add a space
2927 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
2929 * BufferView_pimpl.C (update): remove bogus fitCursor() call
2931 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2933 * buffer.C (readFile): new function, take a filename and a
2934 ParagraphList::iterator
2936 (readFile): adjust, make it private. don't use setStream, make
2937 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2938 always contain the filename.
2940 * BufferView.C (insertLyXFile): simplify and make it work for
2943 2003-08-30 John Levon <levon@movementarian.org>
2945 * Makefile.am: fix dist (from Kayvan)
2947 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2949 * most files: change to use const Buffer refs
2951 2003-08-27 André Pönitz <poenitz@gmx.net>
2953 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2954 on top of ownerPar().
2956 2003-08-27 John Levon <levon@movementarian.org>
2958 * funcrequest.C: properly initialise POD members
2960 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2962 * lyxtext.h (top_y): move top_y from here
2967 * BufferView_pimpl.[Ch]: to here
2968 * frontends/screen.C:
2969 * insets/insettabular.C:
2970 * insets/insettext.C: adjust
2971 * rowpainter.[Ch] (paintRows): remove LyXText & argument
2973 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2976 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2978 2003-08-26 André Pönitz <poenitz@gmx.net>
2980 * paragraph_func.[Ch] (outerPar): new function
2983 * paragraph_funcs.C:
2984 * paragraph_funcs.h:
2985 * paragraph_pimpl.C:
2986 * text2.C: remove Inset::par_owner
2988 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2993 * text2.C: eliminates the needFullRow/display() stuff
2994 altogether, putting the logic in metrics/draw in the insets.
2996 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
2998 * text2.C (redoParagraphInternal, redoParagraphs):
2999 * text.C (redoParagraph): add a call to updateRowPositions at the
3000 end of each 'metrics-like' call. Remove all others.
3001 (getRow): remove the 'y-computing' version.
3002 (getRowNearY): do not compute nor return the real y. Solve the
3003 'y < 0' problem and simplify.
3005 2003-08-22 Angus Leeming <leeming@lyx.org>
3007 * *.[Ch]: clean-up of licence and author blurbs.
3008 Also move config.h out of a few .h files and into a few .C files.
3010 2003-08-22 André Pönitz <poenitz@gmx.net>
3012 * lyxrow.[Ch]: add x_ and *fill_ members
3017 * text2.C: adjust/remove prepareToPrint() calls
3019 2003-08-22 André Pönitz <poenitz@gmx.net>
3021 * lyxrow.[Ch]: add end_ member
3023 * lyxrow_funcs.C: use LyXRow::end_
3025 * lyxtext.h (singleWidth): add LyXFont parameter
3028 * text2.C: adjust LyXText::singleWidth() calls
3030 * text.C (redoParagraph): simplify row breaking logic
3033 2003-08-19 André Pönitz <poenitz@gmx.net>
3035 * funcrequest.C: initialize button_ member
3038 * rowpainter.[Ch]: interface consolidation
3040 2003-08-18 André Pönitz <poenitz@gmx.net>
3043 * BufferView_pimpl.C:
3045 * paragraph_funcs.C:
3047 * text3.C: remove LyXScreen::draw() and fitCursor calls
3049 * BranchList.h: remove spurious semicolons
3051 * MenuBackend.C: fix branchlist related crash
3053 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
3061 * bufferparams.[Ch]:
3065 * text3.C: implements the 'branch inset'
3066 idea. This allows the output of various versions of a document
3067 from a single source version, selectively outputing or suppressing
3068 output of parts of the text.
3069 This implementation contains a 'branch list editor' in a separate
3070 tab of the document settings dialog. Branches are user definable
3071 and have a "display colour" to distinguish them on-screen.
3073 ColorHandler was somewhat cleaned up.
3074 (1) make possible a dynamically growing LColor list by allowing
3075 the graphic context cache to grow along (vector);
3076 (2) eliminate an IMHO unnecessary step in colour allocation.
3078 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
3080 * BufferView_pimpl.C: compile fix
3082 2003-08-15 André Pönitz <poenitz@gmx.net>
3084 * rowpainter.C: remove extra metrics calls
3086 * lyxtext.h: merge the two constructors into a single one,
3087 pass reference to owner's par list
3089 * BufferView_pimpl.C:
3093 2003-08-15 André Pönitz <poenitz@gmx.net>
3095 * lyxrow_funcs.[Ch]:
3098 * paragraph_funcs.C:
3103 * text_funcs.C: split LyXText::rowlist_ into individual
3104 Paragraph::rows_ chunks
3107 * BufferView_pimpl.[Ch]:
3110 * text3.C: remove toggleSelection()
3112 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
3114 * bufferlist.C: beautify two alerts (shorter text of buttons)
3115 * buffer.C: Remove redundant ' ' from message
3117 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3118 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3119 rename VALIGN_CENTER to VALIGN_MIDDLE
3121 2003-08-11 André Pönitz <poenitz@gmx.net>
3123 * lyxtext.h (getPar):
3124 * text.C: new function
3126 2003-08-11 André Pönitz <poenitz@gmx.net>
3129 * tracer.[Ch]: remove unneeded files
3131 * InsetList.[Ch]: remove resizeInsetsLyXText()
3136 * text3.C: merge insertParagraphs() and appendParagraph()
3137 remove breakAgain(), update()
3139 * BufferView_pimpl.[Ch]:
3140 * bufferview_funcs.[Ch]:
3144 * tabular.C: adjust after text & InsetList changes.
3146 2003-08-08 André Pönitz <poenitz@gmx.net>
3148 * text.C (insertChar, backspace): replace rowlist fiddling
3149 with rebreak of full par
3152 * text.C (breakAgainOneRow, redoHeightOfParagraph,
3153 checkParagraph, updateInset): removed
3155 2003-08-07 André Pönitz <poenitz@gmx.net>
3158 * text3.C: merge some LFUN handlers, remove dead code
3160 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3162 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3164 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
3166 * text2.C (DEPM): fix part of bug 1255 and 1256
3168 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3170 * BufferView_pimpl.C (workAreaDispatch): change to use
3171 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3172 that are no mouse related.
3174 2003-08-05 André Pönitz <poenitz@gmx.net>
3177 * BufferView_pimpl.[Ch]:
3178 * bufferview_funcs.C:
3180 * text3.C: rip out "deep update"
3182 * textcursor.[Ch] (last_sel_cursor): remove unused member
3184 2003-08-04 André Pönitz <poenitz@gmx.net>
3187 * BufferView_pimpl.[Ch]:
3188 * ParagraphParameters.C:
3189 * bufferview_funcs.C:
3195 * text3.C: replace "complicated" BufferView::update(...) calls with
3198 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3200 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
3202 * Makefile.am (lyx_SOURCES): add paper.h
3204 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3206 * Makefile.am: move things around so that both lyx-qt and
3207 lyx-xforms can be built (according to --with-frontend). Then lyx
3208 is a symbolic link to lyx-[firstfrontend]
3210 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
3212 * Always use std::endl with lyxerr
3214 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
3216 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3218 2003-08-01 André Pönitz <poenitz@gmx.net>
3221 * BufferView_pimpl.[Ch]:
3223 * text3.C: merge BufferView::repaint() and BufferView::update()
3225 2003-08-01 José Matos <jamatos@lyx.org>
3227 * buffer.[Ch]: file_format is no longer a buffer data element.
3229 2003-08-01 André Pönitz <poenitz@gmx.net>
3234 * text2.C: make redoParagraph more independent of current cursor
3236 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3238 * text2.C: remove unneeded members
3240 2003-07-30 André Pönitz <poenitz@gmx.net>
3242 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3244 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3245 create a single function...
3247 * paragraph_funcs.C (moveItem): ... here.
3250 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3252 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3254 * LColor.[Ch]: Add comment and greyedout logical colors.
3256 2003-07-30 André Pönitz <poenitz@gmx.net>
3258 * tabular.C: don't use Assert too heavily. This crashes where it
3261 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
3263 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3264 is disabled (bug 1232)
3266 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3268 * factory.C: limited 'arg' scope
3270 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3272 * factory.C: fixed Note submenu issues
3274 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3276 * factory.C: submenu for Note/Comment/Greyedout
3278 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
3281 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3283 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
3286 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3287 greyedout. Patch provided by Jürgen Spitzmüller.
3289 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3291 * kbmap.C (read): fix error message when reading bind files
3293 2003-07-29 Angus Leeming <leeming@lyx.org>
3295 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3296 certainly does not do what it purports to do. I am doing it, and
3297 us, a favour by killing it.
3299 2003-07-28 José Matos <jamatos@lyx.org>
3301 * buffer.C (readBody, do_writeFile):
3302 * paragraph.C(readParagraph): \end_document replaces \the_end.
3304 2003-07-29 André Pönitz <poenitz@gmx.net>
3307 * BufferView_pimpl.[Ch]:
3311 * textcursor.[Ch]: remove toggleToggle & Co
3313 2003-07-28 José Matos <jamatos@fep.up.pt>
3315 * buffer.C (readParagraph):
3316 * params_func (readParToken, readParagraph):
3317 * paragraph.C (write): \layout -> \begin_layout.
3319 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3321 * lyxlex_pimpl.C (setFile): clean up slightly.
3323 * bufferparams.h: add compressed var
3325 * buffer_funcs.C (readFile): adjust for LyXLex change
3326 (newFile): ditto + simplify
3328 * buffer.C (writeFile): handle writing of compressed files
3330 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3331 Check if the file is compressed and set a bufferparm if so.
3333 * Makefile.am (lyx_LDADD): remove explicit -lz
3335 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3337 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3338 makeDocBookFile): put the real LyX version in the first line of
3342 * version.C.in: remove lyx_docversion
3344 * tabular.C (write_attribute): add a template-based version to
3345 write enums properly
3347 2003-07-28 André Pönitz <poenitz@gmx.net>
3352 * text3.C: use doubles again for x-coordinates. They are needed.
3354 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3356 * messages.C (getLocaleDir): use lyx_localedir()
3358 * lyxlex_pimpl.C (setFile): compress stuff
3360 * buffer.C (writeFile): add some compression stuff
3361 (do_writeFile): new func, dont call expliti close... will this
3364 * Makefile.am (lyx_LDADD): add -lz
3366 2003-07-28 José Matos <jamatos@fep.up.pt>
3368 * buffer.C: increment file format.
3369 * paragraph_funcs (readParagraph, readParToken):
3370 * paragraph.C (readParagraph): add \end_layout.
3372 2003-07-27 Angus Leeming <leeming@lyx.org>
3374 * Makefile.am: remove special casing for configure-time setting of
3375 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3377 * lyx_main.C (init): remove all Jean-Marc's magic setting of
3378 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3380 2003-07-26 André Pönitz <poenitz@gmx.net>
3382 * paragraph_func.[Ch]:
3383 * paragraph.C (realizeFont): inline it whereever it is used
3388 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3391 2003-07-26 André Pönitz <poenitz@gmx.net>
3395 * text2.C: get rid of LyXText::need_break_row
3397 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3399 * toc.[Ch]: put namespace toc inside namespace lyx
3401 * MenuBackend.C (expandToc2): adjust for lyx::toc
3404 * lyxfunc.C (dispatch): adjust for lyx::find
3406 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3407 lyx::find instead. Reorganize a bit.
3408 (LyXReplace): rename to replace
3409 (LyXFind): rename to find
3411 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3414 2003-07-26 André Pönitz <poenitz@gmx.net>
3416 * text.C (setHeightOfRow): restrict scope of temporary variable
3418 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
3419 code (never has been used?)
3421 2003-07-27 Asger Alstrup <alstrup@local>
3423 * text.C (fill): Optimise algorithm to exploit that we can reuse
3424 the LyXFont for many characters.
3425 (setHeightOfRow): Same thing.
3426 (rowBreakPoint): Same thing.
3428 2003-07-26 Asger Alstrup <alstrup@local>
3430 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3432 * text.C (singleWidth): Spurious font copying in hot-spot
3433 singleWidth avoided. Reorder tests for arabic for efficiency.
3435 * text.C (fill): handle empty paragraphs better.
3437 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3440 * encoding.h: add includes
3442 * lyxrc.C: remove reading of bind files
3444 * lyx_main.C (init): setup bindings and menus only if we have a
3447 * kbmap.C (read): new method. Do the actual reading of bind
3450 * converter.C (dvipdfm_options):
3453 (output): adapt PAPER_* enums.
3455 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3457 * bufferparams.h: remove paper-related enums from there
3459 * paper.h: New file. A trivial header file to hold paper-related
3460 enums. It should later expand to contain many paper-related
3463 * lyxrc.C: declare extern displayTranslator
3465 2003-07-27 José Matos <jamatos@fep.up.pt>
3467 * tabular.[Ch] (linuxdoc): add support for tables and figures
3470 2003-07-27 José Matos <jamatos@fep.up.pt>
3472 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3473 consistency in both functions.
3474 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3476 2003-07-26 Asger Alstrup <alstrup@local>
3478 * rowpainter.C (paintRows): Change algorithm to work directly on
3479 the insets rather than asking every character in the document
3480 whether its an inset.
3482 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
3484 * buffer.C (openFileWrite): factorize some code
3486 2003-07-26 Angus Leeming <leeming@lyx.org>
3489 * lyx_main.[Ch]: replace occurances of system_tempdir with
3492 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3494 * rename Inset to InsetOld
3496 2003-07-25 Asger Alstrup <alstrup@diku.dk>
3498 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3499 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3500 which I think is a bit clearer. EDIT is gone, since it was
3501 premature optimisation, and broken for mathed anyway.
3502 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3503 with cursor positioning in insets as well (math insets still do not
3504 work, but that's a different story anyway.) It mysteriously
3505 crashes sometimes with undo in the first paragraph, but I'm fairly
3506 confident that this is a compiler bug.
3508 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3510 * paragraph.C (Paragraph): adjust for new clone return type
3512 (copyIntoMinibuffer): ditto
3514 2003-07-25 Asger Alstrup <alstrup@lyx.org>
3516 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3517 by not having a special case, and always doing a full rebreak of
3518 the document after undo.
3520 2003-07-23 Angus Leeming <leeming@lyx.org>
3522 * factory.C (createInset): InsetExternal::setParams now takes a
3525 2003-07-23 Angus Leeming <leeming@lyx.org>
3527 * factory.C (createInset): changed interface to the external and
3528 graphics mailers' string2params functions.
3530 2003-07-23 Angus Leeming <leeming@lyx.org>
3532 * factory.C (createInset): pass a
3533 Buffer const * parameter to InsetExternalMailer's string2params.
3535 2003-07-22 John Levon <levon@movementarian.org>
3537 * Thesaurus.h: include the right aiksaurus header
3539 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3541 * MenuBackend.C (expand): check menu shortcuts unconditionally
3543 2003-07-21 Angus Leeming <leeming@lyx.org>
3545 * factory.C (createInset): pass a
3546 buffer_path parameter to InsetGraphicsMailer's string2params.
3548 2003-07-21 Angus Leeming <leeming@lyx.org>
3550 * BufferView_pimpl.C (buffer):
3553 * lyxfunc.C (dispatch):
3554 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3555 rather than the grfx shortcut.
3557 2003-07-21 André Pönitz <poenitz@gmx.net>
3559 * rowpainter.C: remove unused variables
3562 * tabular_funcs.h: move to tabular.C
3563 * Makefile.am: adjust
3565 * tabular.[Ch]: basic optical cleaning
3567 * author.h: pass references, not values
3569 2003-07-18 André Pönitz <poenitz@gmx.net>
3577 * text3.C: two-phase drawing for InsetText and InsetTabular
3578 some float -> int changes.
3580 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3582 * lyx_main.C: fix the fix
3584 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3586 * lyx_main.C: fix a crash in batch mode if no files specified
3589 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
3591 * format.[Ch] (papersize): moved to BufferParams
3592 * converter.[Ch] (dvips_options): moved to BufferParams
3593 (dvipdfm_options): moved to anon namespace
3594 * bufferparams.[Ch]: added above functions.
3596 2003-07-17 André Pönitz <poenitz@gmx.net>
3600 * text2.C: don't call inset->update() anymore
3602 * metricsinfo.[Ch]: add convenience constructor
3604 2003-07-16 André Pönitz <poenitz@gmx.net>
3609 * text2.C: replace the LyXCursor::irow_ member with
3610 on-demand computation of the value
3612 2003-07-16 John Levon <levon@movementarian.org>
3614 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3616 2003-07-15 André Pönitz <poenitz@gmx.net>
3619 * text2.C: remove no more needed refresh_row
3621 2003-07-15 André Pönitz <poenitz@gmx.net>
3626 * text3.C: refresh_status tristate -> need_update bool
3628 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
3630 * lyxtext.h (init): remove reinit argument (act as if always true)
3631 * text2.C: adjust to that
3633 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3635 * bufferview_funcs.[Ch]: introduce function replaceSelection()
3636 * text3.C: use it to delete selections in some cases
3637 (bugs 441, 673, 702, 954).
3639 2003-07-14 André Pönitz <poenitz@gmx.net>
3641 * rowpainter.[Ch]: reduce interface
3643 2003-07-14 André Pönitz <poenitz@gmx.net>
3645 * BufferView_pimpl.C:
3646 * text2.C: adjust after removing unused BufferView * argument
3648 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
3650 * text2.C (init): fix a crash fired on resize
3652 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
3654 * buffer.[Ch]: added new closing signal
3655 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3656 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3657 BufferView::Pimpl via the closing the signal
3659 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
3661 * buffer.[Ch]: take out all bv-related from buffer
3663 * BufferView_pimpl.[Ch]: connect to new signals
3664 * CutAndPaste.C: removed useless asserts
3665 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3668 * lyxfunc.C: moved view-related funciontality from vc here
3669 * paragraph.C: removed outdated comments
3672 2003-07-10 André Pönitz <poenitz@gmx.net>
3674 * BufferView_pimpl.C:
3678 * text2.C: remove InsetText::InnerCache, clean up consequences
3680 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
3682 * ispell.C: fix two typos in error messages
3684 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
3686 * Extend Note inset to other forms of annotation like Comment
3687 and Greyedout. Right button click gives dialog.
3689 Files modified or added (+):
3693 * ControlNote.[Ch] +
3695 * Makefile.am in frontends/xforms, frontends/xforms/forms,
3696 frontends/controllers
3700 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3702 * aspell.C: add missing namespace lyx::support
3704 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
3706 * BufferView.[Ch] (newFile): Add
3707 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3708 * LaTeX.[Ch] (message): added this signal and use it
3709 * buffer.[Ch] (busy, message): added these signals and use them
3710 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3714 * importer.C: use buffer signals instead of direct bv calling
3715 * lyx_cb.[Ch] (ShowMessage): removed
3718 * paragraph_funcs.C:
3719 * text2.C: use buffer signals
3721 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3723 * introduce namespace lyx::graphics
3725 2003-07-02 André Pönitz <poenitz@gmx.net>
3727 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3729 2003-07-01 André Pönitz <poenitz@gmx.net>
3736 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3737 text*.C to text_func.C
3739 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3741 * introduce namespace lyx::support
3743 2003-06-30 André Pönitz <poenitz@gmx.net>
3748 * text.C: re-enable --with-included-string
3750 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3752 * textcursor.C: add <config.h>
3754 * text.C (getWord): remove const from word_location arg
3756 * lyxvc.C (getLogFile): fix const type order
3758 * lyxtext.h: remove const from word_location arg, add arg name
3760 * lyxlayout.h: currect type on labeltype.
3762 * importer.C: correct \file
3764 * converter.C (intToFormat): use std:: on ret val, ws changes
3766 * bufferlist.h: correct \file
3768 * buffer.C (makeLinuxDocFile): fix const type order
3769 (makeDocBookFile): ditto
3770 (fillWithBibKeys): use std:: on stdlib args.
3772 * CutAndPaste.C: fix authors.
3773 (availableSelections): use std:: on return vector
3775 2003-06-27 André Pönitz <poenitz@gmx.net>
3777 * BufferView_pimpl.C:
3778 * bufferview_funcs.C:
3786 * text3.C: remove LyXCursor::row_ member
3789 * text.C: rename fullRebreak() to partialRebreak() and implement
3790 a fullRebreak() that really bereks fully
3792 * textcursor.h: new struct for cursor-related data
3794 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
3796 * lyx_main.C (LyX): get full path of document loaded on the
3799 2003-06-26 André Pönitz <poenitz@gmx.net>
3801 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3802 remove unused/broken operator>,<,>=.
3804 * text.C: remove only use of broken operator<= in an Assert().
3806 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3808 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3809 moved errorlist_.clear to showErrorList
3811 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3813 * converter.C (scanLog, runLaTeX):
3814 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3815 move the bv->showErrorList call to the callers
3816 * lyxfunc.C: i.e. here...
3818 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3819 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3820 namespace, the second to...
3821 * buffer_funcs (BufferFormat, parseErrors): added
3822 * errorlist.C (ErrorList(TeXErrors const &)): removed
3824 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3826 * ToolbarBackend.C (getIcon): complain when icon cannot be found
3828 2003-06-24 "Garst R. Reese" <reese@isn.net>
3832 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3834 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3836 * version.C.in: change docversion to 1.4
3838 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
3840 * buffer.C: fix a bug just introduced
3842 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3844 * buffer.[Ch]: added the parseError signal and use it, removed
3846 * BufferView.[Ch] (addError): moved to ...
3847 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3848 to the Buffer::parseError signal to catch (guess what) parse errors
3849 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3851 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3853 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3854 ability to create a buffer and to return an existing one from
3855 the list. Moved these functions to...
3856 * buffer_funcs.[Ch]: added
3857 * BufferView.[Ch] (loadLyXFile): added
3858 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3859 job removed from bufferlist::loadLyXFile.
3860 * buffer.C (setReadOnly): make it work without view
3861 (i.e added an if (users))
3863 2003-06-19 Angus Leeming <leeming@lyx.org>
3866 * LyXAction.C (init):
3867 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3868 with LFUN_DIALOG_SHOW <name> <data>.
3870 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3872 * CutAndPaste.C (availableSelections): small compilation fix for
3873 ancient (gcc 2.9x) compilers
3875 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3877 * text3.C (cursorNext): add tmp var
3879 * text2.C (updateCounters): for function calling out of for clause
3880 (replaceSelectionWithString): ditto
3881 (insertStringAsParagraphs): ditto
3882 (getColumnNearX): add tmp var
3883 (setCursorFromCoordinates): add tmp var
3884 (cursorDownParagraph): add tmp var
3885 (deleteEmptyParagraphMechanism): add tmp var
3887 * text.C (insertChar): add tmp var
3889 * rowpainter.C (paintDepthBar): add tmp var
3891 * CutAndPaste.C (availableSelections): potentially check all
3892 paragraphs in a cut to fill the shown strings.
3894 2003-06-18 André Pönitz <poenitz@gmx.net>
3896 * kbmap.[Ch]: use vector<> instead of list<>
3898 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3900 * text3.C (dispatch): handle arg to LFUN_PASTE, call
3901 pasteSelection with index
3903 * text2.C (pasteSelection): modify, call pasteSelection with index
3905 * paragraph.C (asString): reimplement version with no interval to
3906 call the one with interval.
3908 * lyxtext.h: add index arg to pasteSelection
3910 * MenuBackend.C (MenuItem): handle PasteRecent
3911 (Menu::read::Menutags): add md_pasterecent
3913 (expandPasteRecent): new function
3916 * MenuBackend.h: add PasteRecent to MenuItem::Kind
3918 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3920 (availableSelections): new function
3922 2003-06-17 Angus Leeming <leeming@lyx.org>
3924 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3926 2003-06-17 Angus Leeming <leeming@lyx.org>
3929 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3931 * lyxfunc.C (dispatch): invoke it.
3933 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3935 * iterators.C (operator++, ParPosition): reintroduce some
3936 const_cast for the benefit of older compilers.
3938 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3940 * text3.C (dispatch): do not modify clipboard when doing
3941 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3942 LFUN_DELETE_SKIP on a selection selection
3944 2003-06-16 André Pönitz <poenitz@gmx.net>
3950 * tabular.[Ch]: IU of clone() and getLabelList();
3952 2003-06-13 André Pönitz <poenitz@gmx.net>
3954 * tabular.h: compactification
3956 2003-06-12 André Pönitz <poenitz@gmx.net>
3960 * tabular_funcs.h: some renaming plus whitespace
3962 2003-06-12 André Pönitz <poenitz@gmx.net>
3965 * BufferView_pimpl.C:
3971 * toc.C: Return a Paragraph & for ParIterator::operator*()
3973 2003-06-11 John Levon <levon@movementarian.org>
3977 * ToolbarBackend.C: add "Toolbars" section and
3980 2003-06-10 Angus Leeming <leeming@lyx.org>
3983 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3985 * lyxfunc.C (dispatch): invoke it.
3987 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3989 * main.C: protect <ios> with HAVE_IOS
3990 (main): protect sync_with_stdio with HAVE_IOS
3992 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
3994 * text2.C (cutSelection): adjust
3995 (pasteSelection): adjust
3997 * messages.C: handle get of empty string
3999 * main.C (main): use sync_with_stdio(false)
4001 * lyxfunc.C (dispatch): adjust
4003 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4004 (WriteAs): remove unneeded BufferView arg.
4006 * bufferparams.h: use correct types on papersize, papersize2 and
4009 * bufferparams.C (readToken): adjust for type
4010 (writeLaTeX): add missing cases to switch.
4012 * bufferlist.C (quitWriteBuffer): adjust
4015 * buffer.C (asciiParagraph): remove some commented code.
4017 * CutAndPaste.C: remove current_view extern variable.
4018 (cutSelection): add BufferParams arg.
4019 (eraseSelection): add BufferParams arg.
4020 (pasteSelection): add Buffer const & arg
4022 2003-06-07 John Levon <levon@movementarian.org>
4025 * paragraph_funcs.C:
4026 * paragraph_pimpl.C:
4030 * paragraph.C: allow InsetERT to freely space lines,
4031 and some consolidation of code
4033 2003-06-06 José Matos <jamatos@fep.up.pt>
4035 * buffer.C (makeDocBookFile): fix bug #821
4037 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
4039 * BufferView_pimpl.C (dispatch): use Dialogs::visible
4041 2003-06-04 Angus Leeming <leeming@lyx.org>
4043 * buffer.C: bump format to 224.
4045 2003-06-05 André Pönitz <poenitz@gmx.net>
4047 * text2.C (redoParagraphs): remove two const_cast<>
4049 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4051 * ParagraphList.h: remove last remnants of NO_STD_LIST
4053 2003-06-03 Angus Leeming <leeming@lyx.org>
4055 * factory.C (createInset): small change to the way InsetExternal's params
4058 2003-06-04 André Pönitz <poenitz@gmx.net>
4060 * buffer.h: use Undo directly instead of shared_ptr<Undo>
4062 * paragraph_pimpl.h:
4063 * paragraph.[Ch]: some Inset -> UpdatableInset changes
4065 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4067 * undo_funcs.C: make some simple cases of undo work again
4069 2003-06-03 John Levon <levon@movementarian.org>
4071 * ispell.C: HPUX doesn't have sys/select.h
4074 2003-06-03 John Levon <levon@movementarian.org>
4076 * CutAndPaste.C: update tabular and include inset
4081 * paragraph.C: remove owningBuffer(), don't pass Buffer
4084 * factory.C: insetGraphicsParams changed
4086 2003-06-02 John Levon <levon@movementarian.org>
4092 * text3.C: remove insetparent
4094 2003-06-02 John Levon <levon@movementarian.org>
4097 * buffer.C: fix inset_iterator.end(), move out of line
4100 2003-06-01 John Levon <levon@movementarian.org>
4102 * text3.C: use a proper cut/paste when doing inset
4103 insert (from Jürgen Spitzmüller)
4105 2003-06-01 John Levon <levon@movementarian.org>
4107 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4109 2003-05-30 André Pönitz <poenitz@gmx.net>
4111 * rowpainter.C: unify second drawing phase
4113 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4115 * trans_mgr.C: remove one case of current_view
4117 * text2.C (cursorBottom): delete NO_STD_LIST stuff
4119 * paragraph_funcs.h: remove paragraph.h include
4121 * paragraph.h: delete NO_STD_LIST stuff
4123 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4125 * buffer.h: remove paragraph.h include
4127 * ParagraphList.C: delete file
4129 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4131 * toc.C (getTocList): adjust
4133 * paragraph_pimpl.C (validate): adjust
4135 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4137 * paragraph.C (Paragraph): adjust
4138 (getPositionOfInset): use const_iterator, adjust
4139 (bibitem): use const_iterator, adjust
4140 (setInsetOwner): adjust
4142 * iterators.C (operator++): adjust
4144 * InsetList.[Ch]: Replace selfmade iterator with standard
4145 vector::iterator also introduce const_iterator. Remove getPos,
4146 getInset and setInset from InsetTable. Adjust accordingly.
4148 * BufferView.C (lockInset): adjust
4149 (ChangeInsets): adjust
4151 * tabular.[Ch]: delete commented same_id functions
4153 2003-05-28 John Levon <levon@movementarian.org>
4155 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4157 2003-05-28 André Pönitz <poenitz@gmx.net>
4159 * metricsinfo.[Ch]: remove 'fullredraw' member
4161 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
4163 * lyxtextclass.C (operator): remove caching.
4165 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4169 * text2.C (cursorBottom): adjust
4170 (setCounter): use ParagraphList::find, adjust
4172 * text.C (workWidth): use ParagraphList::find, adjust
4174 * lyxcursor.C (LyXCursor): adjust
4176 * buffer.C (inset_iterator): adjust
4178 * ParagraphList.h: make iterator(value_type) private, make
4179 ParagraphList a friend of iterator.
4181 * ParagraphList.C (find): new function
4183 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4185 2003-05-27 André Pönitz <poenitz@gmx.net>
4187 * dimension.[Ch]: a -> asc, d -> des, w -> wid
4189 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4191 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4193 2003-05-26 John Levon <levon@movementarian.org>
4195 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4197 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4199 * remove same_id from function signatures, adjust.
4201 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4203 * undo_funcs.C (createUndo): use the id functions directly, adjust.
4205 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4207 * paragraph.C (Paragraph): get rid of same_ids parameter
4209 * ParagraphList.C (insert): adjust
4212 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4214 * paragraph_funcs.C (breakParagraph): adjust
4215 (breakParagraphConservative): adjust
4217 * buffer.C (readParagraph): adjust
4219 * ParagraphList.C (insert): take a reference instead of a pointer
4222 * paragraph.[Ch] (id): new function
4224 * bufferlist.C (newFile): adjust
4226 * ParagraphList.C (ParagraphList): adjust
4228 (push_back): take a reference instead of a pointer.
4230 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4232 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4235 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4236 set else use old code.
4238 * ParagraphList.C: remove all NO_NEXT code and only compile this
4239 code of NO_STD_LIST is set.
4241 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4243 * BufferView_pimpl.C:
4253 * graphics/GraphicsConverter.C:
4254 * graphics/PreviewLoader.C: header adjustment
4256 2003-05-23 Angus Leeming <leeming@lyx.org>
4258 * LaTeXFeatures.[Ch] (useBabel): new method.
4259 * bufferparams.C (writeLaTeX): use it.
4261 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4263 * ParagraphList.h (set): remove unused function.
4265 2003-05-23 André Pönitz <poenitz@gmx.net>
4268 * BufferView_pimpl.C:
4272 * undo_funcs.C: setUndo reworked
4274 * iterators.[Ch]: add access to topmost ParagraphList
4276 * lyxtext.[Ch] (workWidth): add a const
4278 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4280 * texrow.[Ch] (increasePos): remove function
4281 * exporter.C (export): removed unused var and outdated comment
4283 2003-05-23 Angus Leeming <leeming@lyx.org>
4285 * latexrunparams.h: rename fragile as moving_arg.
4286 * paragraph.C (simpleTeXOnePar): ditto.
4287 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4289 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4291 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4293 (textUndoOrRedo): comment out a currently unused var.
4295 * paragraph.h (NO_NEXT): enable NO_NEXT
4297 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4299 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4301 * exporter.C (Export): adjust for removeAutoInsets removal.
4303 * buffer.C (runChktex): adjust for removeAutoInsets removal.
4305 * LyXAction.C (init): remove LFUN_REMOVEERRORS
4307 * BufferView.[Ch] (removeAutoInsets): delete function
4309 2003-05-22 Angus Leeming <leeming@lyx.org>
4311 * latexrunparams.h: add a free_spacing variable.
4313 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4314 to pass moving_arg, as the data is stored in runparams.fragile.
4316 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4317 to Inset::latexOptional or to simpleTeXOnePar.
4319 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4320 free_spacing arg to Inset::latexOptional.
4322 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4325 2003-05-22 Angus Leeming <leeming@lyx.org>
4327 * latexrunparams.h: add fragile and use_babel variables.
4329 * bufferparams.[Ch] (writeLaTeX): return use_babel.
4330 * buffer.C (makeLaTeXFile): store this returned value in
4331 runparams.use_babel, thus passing it to the inset::latex methods.
4333 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4334 simpleTeXSpecialChars as it is now stored in runparams.fragile.
4336 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4337 longer has a fragile arg, as it is stored in runparams.fragile.
4339 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4340 moving_arg parameter as the data is stored in runparams.fragile.
4342 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4343 a fragile parameter as the data is stored in runparams.fragile.
4345 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4347 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4349 2003-05-22 Angus Leeming <leeming@lyx.org>
4351 * latexrunparams.h: add a 'bool nice' which defaults to false.
4353 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4354 now encapsulated within runparams.
4356 * bufferlist.C (updateIncludedTeXfiles):
4357 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4359 2003-05-22 Angus Leeming <leeming@lyx.org>
4361 * latexrunparams.h: new file containing struct LatexRunParams.
4362 * Makefile.am: add new file.
4364 * LaTeX.[Ch] (c-tor, run):
4365 * buffer.[Ch] (makeLaTeXFile):
4366 * bufferlist.[Ch] (updateIncludedTeXfiles):
4367 * converter.C (convert, scanLog):
4368 * converter.[Ch] (runLaTeX):
4369 * exporter.C (Export):
4370 * paragraph.[Ch] (simpleTeXOnePar):
4371 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4372 * paragraph_funcs.[Ch] (latexParagraphs):
4373 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4374 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4375 pass around a LatexRunParams parameter.
4377 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4379 * paragraph.[Ch]: remove unused constructor
4381 * ParagraphList.C (erase): new function, taking two iterators
4383 2003-05-22 André Pönitz <poenitz@gmx.net>
4385 * undo_funcs.C: remove duplicated code
4387 * iterator.[Ch]: operator=
4389 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4391 * tabular.C (SetMultiColumn): ws changes
4393 * rowpainter.C (paintFirst): get rid of a ->previous
4395 * lyx_cb.C (getPossibleLabel): parlist simplification
4397 * BufferView.C (ChangeInsets): simplify slightly.
4399 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4401 * LyXAction.C: new lfun space-insert, kill protected-space-insert
4402 * lfuns.h: new LFUN_SPACE
4403 * lyxfunc.C: protected space has a new lfun
4404 * paragraph_funcs.C: read new space insets
4406 * factory.C: handle new space insets
4408 2003-05-22 André Pönitz <poenitz@gmx.net>
4411 * BufferView_pimpl.C:
4414 * undo_funcs.C: return a ParIterator from getParFromID.
4416 * iterators.[Ch]: add two const's
4418 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4420 * toc.C (getTocList): adjust
4422 * iterators.[Ch]: rework for parlist
4424 * buffer.C (par_iterator_begin): adjust
4425 (par_iterator_end): adjust
4427 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4429 * BufferView.C (removeAutoInsets): adjust
4430 (ChangeInsets): adjust
4432 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
4434 * text.C (top_y): fix bug 1110
4436 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
4438 * errorlist.[Ch]: added
4441 * BufferView_pimpl.C:
4442 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4445 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4447 * Makefile.am: ensure that lyx is relinked upon changes to the
4448 various "convenience" libs.
4450 2003-05-20 Angus Leeming <leeming@lyx.org>
4452 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4453 files are compiled in alphabetical order again.
4455 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4457 2003-05-19 Angus Leeming <leeming@lyx.org>
4459 * gettext.[Ch]: remove "char const * _(char const *)".
4461 2003-05-19 André Pönitz <poenitz@gmx.net>
4463 * dimension.[Ch]: promote from mathed/dimension.[Ch]
4472 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4474 2003-05-19 André Pönitz <poenitz@gmx.net>
4478 * lyxtextclass.[Ch]:
4480 * paragraph_funcs.[Ch]:
4482 * text3.C: more insetenv work
4484 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
4486 * ParagraphParameters.C (params2string): small bug fixed
4488 2003-05-16 André Pönitz <poenitz@gmx.net>
4491 * bufferview_funcs.C: patch from Kornel Benko to prevent
4492 crash when _(...) is called twice in a statement
4494 2003-05-16 André Pönitz <poenitz@gmx.net>
4501 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4503 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
4505 * lyx_main.C (init): remove spurious static_cast
4507 2003-05-14 André Pönitz <poenitz@gmx.net>
4509 * BufferView.C: fix format string
4511 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
4513 * BufferView.[Ch] (insertErrors): removed
4514 * BufferView.[Ch] (showErrorList): added
4515 * buffer.C (runChkTeX):
4516 * converter.C (scanLog): call showErrorList instead of inserterrors
4518 2003-05-13 André Pönitz <poenitz@gmx.net>
4520 * BufferView_pimpl.C:
4522 * bufferview_func.C:
4529 * tabular_funcs.h: tostr() from its own header
4531 * ParagraphParameters.C:
4536 * text3.C: STRCONV()
4538 2003-05-12 André Pönitz <poenitz@gmx.net>
4541 * BufferView_pimpl.C:
4545 * ParagraphParameters.C:
4549 * bufferview_funcs.C:
4562 * paragraph_funcs.C:
4566 * text3.C: boost::format -> bformat all over the place
4569 2003-05-09 André Pönitz <poenitz@gmx.net>
4571 * LColor.[Ch]: Pimpl the #include <map> away
4573 2003-05-09 John Levon <levon@movementarian.org>
4575 * bufferlist.C: never remove emergency saves
4577 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4579 * Makefile.am: better lib building
4581 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4583 * texrow.[Ch]: remove dependency on Paragraph and just store a id
4585 * paragraph_pimpl.C (simpleTeXBlanks): adjust
4586 (simpleTeXSpecialChars): adjust
4587 (simpleTeXSpecialChars): adjust
4588 * paragraph.C (simpleTeXOnePar): adjust
4589 * buffer.C (makeLaTeXFile): adjust
4591 * Makefile.am (BOOST_LIBS): allow boost as system lib.
4593 * text2.C (changeDepth): parlist cleanup
4594 (getColumnNearX): ditto
4596 * rowpainter.C (getLabelFont): parlist cleanup
4598 * bufferlist.C (newFile): parlist cleanup
4600 * CutAndPaste.C (eraseSelection): parlist cleanup
4602 * BufferView_pimpl.C (trackChanges): parlist cleanup
4605 * BufferView.C (lockInset): parlist cleanup.
4606 (ChangeInsets): ditto
4608 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4610 * CutAndPaste.h: Update file header.
4612 * CutAndPaste.C: Update file header.
4613 Store the parts cut out of the Document in a limited_stack.
4614 (copySelection): adjust
4615 (pasteSelection): new function, takes the index in the limited stack.
4616 (nrOfParagraphs): adjust
4617 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4618 simplify error inset insertion.
4619 (checkPastePossible): adjust
4621 2003-05-06 John Levon <levon@movementarian.org>
4623 * text2.C: don't cast wrap inset to float
4625 2003-05-05 André Pönitz <poenitz@gmx.net>
4628 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4630 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4631 few naked Paragraph *.
4633 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
4635 * bufferparams.C: Output warning if a document with missing
4636 TeX document class is loaded
4637 * exporter.C: Disable TeX exports if the document class is missing
4640 * lyxtextclasslist.C: Handle new textclass.lst format; new method
4641 isTeXClassAvailable()
4643 2003-05-03 John Levon <levon@movementarian.org>
4646 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4647 explicit cursor show/hide
4649 * BufferView_pimpl.h:
4650 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4651 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4653 * lyxfunc.C: hide cursor before dispatching.
4658 * text3.C: remove explicit cursor hides
4660 2003-05-02 André Pönitz <poenitz@gmx.net>
4662 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4665 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4668 * text2.C: tiny whitespace
4670 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4672 * undo_funcs.C: almost only ws changes.
4674 * ParagraphList.C (splice): just return if pl is empty.
4676 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4678 * ParagraphList.C (splice): new function.
4680 * CutAndPaste.C (pasteSelection): use it
4682 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4684 * CutAndPaste.C (pasteSelection): remove the last next and
4685 previous from this file.
4687 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4689 * CutAndPaste.C (pasteSelection): more clean up, user proper
4690 ParagraphList functions for pasteing.
4692 * ParagraphList.C (insert): new function, three arg insert
4694 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4696 * ParagraphList.C (insert): new function, three arg insert
4698 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4701 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4703 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4705 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4707 * CutAndPaste.C (pasteSelection): remove some unneeded code.
4709 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4711 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4712 (copySelection): clean up a bit.
4713 (pasteSelection): use make_pair
4715 * ParagraphList.C (ParagraphList): implement copy constructor
4716 (operator=): implement, base on copy constructor.
4719 * paragraph.C (erase): return a bool
4721 * paragraph_pimpl.C (erasePos): remove function, move contents...
4722 (erase): ... here. Return a bool.
4723 (erase): call erase instead of erasePos.
4725 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
4727 * ParagraphList.h: define PitPosPair
4728 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4729 ParagraphList, fix a bug on pasting multiple pars
4730 * text2.C: change interface to C&P
4732 2003-04-30 André Pönitz <poenitz@gmx.net>
4734 * undo_func.C: revert part of yesterday's patch 2
4736 2003-04-30 John Levon <levon@movementarian.org>
4738 * LColor.C: s/tabular/table/
4740 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4742 * text3.C (dispatch): do not convert iterator -> pointer
4743 * undo_funcs.C (setCursorParUndo): ditto
4744 * text_funcs.C (transposeChars): ditto
4746 * text2.C (setLayout): ws changes only
4748 * text.C (breakParagraph): do not convert iterator -> pointer
4750 (acceptChange): ditto
4751 (rejectChange): ditto
4756 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4759 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4761 * text3.C (gotoInset): YABG (yet another bad getChar)
4763 2003-04-29 André Pönitz <poenitz@gmx.net>
4765 * paragraph.h: make operator= private unimplemented as long as
4768 * ParagraphList.C: whitespace
4771 * paragraph_pimpl.[Ch]:
4772 * paragraph_funcs.C:
4774 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
4777 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4779 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4781 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4782 * paragraph.[Ch] (erase):
4783 * paragraph_pimpl.[Ch] (erase): change return type and value
4784 * text2.C (cutSelection): some rework
4786 2003-04-28 John Levon <levon@movementarian.org>
4788 * bufferlist.C: changes for unsaved changes dialog
4790 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4792 * bufferlist.C (newFile): set language (messages_) for new
4795 * buffer.C (readFile): ws changes only.
4797 2003-04-28 André Pönitz <poenitz@gmx.net>
4802 * BufferView_pimpl.C:
4803 * BufferView.C: getParFromID related ParagraphList::iterator changes
4805 2003-04-28 André Pönitz <poenitz@gmx.net>
4807 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4810 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4812 * messages.C: remove one more localedir class variable.
4814 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4816 * messages.C (getLocaleDir): singleton generation function
4818 (Messages): add a default constructor.
4820 * main.C (main): do not setup localedir here, do not call
4823 * gettext.C (_): use it.
4824 (gettext_init): delete funciton
4826 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4828 * gettext.C (getLyXMessages): new singleton generating function.
4830 * buffer.C (updateDocLang): adjust
4832 * Makefile.am (messages.o): add target
4833 (main.o): remove target
4835 2003-04-27 John Levon <levon@movementarian.org>
4840 * lyxvc.C: specify cancel button in Alert::prompt
4842 2003-04-26 John Levon <levon@movementarian.org>
4847 * LyXAction.C: add LFUN_INSET_SETTINGS
4849 * lyxfunc.C: don't enable tabular-feature when there's
4850 just any locking inset
4852 2003-04-26 John Levon <levon@movementarian.org>
4854 * bufferlist.C: re-add Cancel to buffer close question
4856 * lyxfunc.C: fix import UI a bit
4858 2003-04-25 John Levon <levon@movementarian.org>
4860 * gettext.C: remove the broken asserts for now
4862 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4864 * messages.C: make case where setlocale cannot comply work better.
4866 * buffer.C (updateDocLang): new function
4867 (changeLanguage): use it
4870 * text2.C (setCounter): use B_ a bit.
4872 * lyxlayout.C (Read): be sure to trim the label strings.
4874 * messages.C (Messages): fix typo in comment
4876 * buffer.C (readFile): set message_ after file is loaded.
4877 (makeDocBookFile): remove double return
4878 (changeLanguage): reset message_ upon language change.
4879 (B_): new func, use this to get translated buffer strings.
4881 * main.C: add myself and Jean Marc as authors.
4883 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4885 * messages.[hC]: pimplify Messages, and three different pimpls to be
4886 used in different circumstances.
4888 * gettext.[Ch]: change for use with new message code.
4890 2003-04-24 André Pönitz <poenitz@gmx.net>
4892 * factory.C: support for eqref
4894 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4896 * messages.[Ch]: add missing char
4898 * Makefile.am (lyx_SOURCES): add messages.[Ch]
4900 * messages.[Ch]: New files
4902 2003-04-18 John Levon <levon@movementarian.org>
4906 * BufferView_pimpl.C:
4910 * text2.C: remove layout-copy/paste (bug 778)
4912 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4914 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4916 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4918 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4919 if they succeed. Act accordingly.
4921 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4923 * text2.C (setCharFont): adjust
4924 (setCounter): adjust
4925 (insertStringAsLines): adjust
4927 * text.C (leftMargin): adjust
4928 (setHeightOfRow): adjust
4930 * rowpainter.C (paintFirst): adjust
4933 * paragraph_funcs.C (depthHook): ParagraphList::iterators
4935 (isFirstInSequence): ditto
4936 (getEndLabel): ditto
4939 * paragraph.C (getParLanguage): comment out some hard stuff.
4941 * buffer.C (insertStringAsLines): take a ParagraphList as arg
4943 (simpleDocBookOnePar): ditto
4944 (makeDocBookFile): use ParagraphList::iterator
4946 * CutAndPaste.C (pasteSelection): adjust
4948 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4950 * text2.C (getFont): adjust
4951 (getLayoutFont): adjust
4952 (getLabelFont): adjust
4954 * paragraph_funcs.C (TeXOnePar): adjust
4956 * buffer.C (simpleLinuxDocOnePar): adjust
4957 (simpleDocBookOnePar): adjust
4959 * CutAndPaste.C (pasteSelection): adjust
4961 * BufferView.C (getEncoding): adjust
4963 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4965 2003-04-16 John Levon <levon@movementarian.org>
4967 * lyxfind.C: use parlist stuff for search/changes
4969 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4971 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4973 * text2.C (deleteEmptyParagraphMechanism): adjust
4975 * text2.[Ch] (ownerParagraph): delete func (both of them
4977 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4979 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4981 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4983 * ParagraphList.C: prepare for NO_NEXT
4985 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4987 * text2.C (getFont): adjust
4988 (getLayoutFont): adjust
4989 (getLabelFont): adjust
4991 * paragraph.C (getFont): adjust
4992 (getLabelFont): adjust
4993 (getLayoutFont): adjust
4995 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4997 2003-04-15 John Levon <levon@movementarian.org>
5001 * lyx_main.C: handle Include in .ui files
5003 2003-04-15 John Levon <levon@movementarian.org>
5005 * MenuBackend.C: make the doc files length shorter
5008 * ToolbarBackend.C: handle toolbar placement flags,
5011 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5013 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5016 * paragraph_funcs.C (TeXOnePar): adjust
5018 * paragraph.C (getLabelFont): add outerfont arg, adjust
5019 (getLayoutFont): ditto
5020 (simpleTeXOnePar): adjust
5022 * paragraph_pimpl.C (realizeFont): delete func
5024 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
5026 * text2.C (beforeFullRowInset): added a bad getchar check, removed
5027 row argument, constify cur argument.
5029 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5031 * text2.C (getFont): adjust
5032 (getLayoutFont): adjust
5033 (getLabelFont): adjust
5035 * paragraph_funcs.C (TeXOnePar): adjust
5036 (outerFont): new func...
5037 (realizeFont): ...moved out from here, changed this to facilitate
5040 * paragraph.C (getFont): take outerfont as arg, adjust
5041 (simpleTeXOnePar): add outerfont arg, adjust
5043 * buffer.C (simpleLinuxDocOnePar): adjust
5044 (simpleDocBookOnePar): adjust
5046 * CutAndPaste.C (pasteSelection): adjust
5048 * BufferView.C (getEncoding): adjust
5050 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5052 * text2.C (setCharFont): adjust
5053 (setCounter): adjust
5055 * text.C (leftMargin): adjust
5056 (setHeightOfRow): adjust
5058 * rowpainter.C (paintFirst): adjust
5061 * paragraph_pimpl.C (realizeFont): adjust
5063 * paragraph.C (isFirstInSequence): move from here...
5064 * paragraph_funcs.C (isFirstInSequence): ...to here
5066 * paragraph.C (outerHook): move from here...
5067 * paragraph_funcs.C (outerHook): ...to here
5069 * paragraph.C (depthHook): move from here...
5070 * paragraph_funcs.C (depthHook): ...to here
5072 * paragraph.C (getEndLabel): move from here...
5073 * paragraph_funcs.C (getEndLabel): ...to here
5075 * text2.C (realizeFont): move from here...
5076 * paragraph_funcs.C (realizeFont): ...to here
5078 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5080 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5082 2003-04-14 Angus Leeming <leeming@lyx.org>
5084 * LColor.[Ch]: scrap LColor mathcursor.
5086 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5088 * lyxlex.[Ch] (text): delete function
5089 * trans.C (Load): adjust
5090 * paragraph_funcs.C (readParToken): adjust
5092 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5094 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5095 vector<char> instead of a char[].
5097 * lyxlex_pimpl.C (getString): adjust
5099 (lex): use getString
5103 * lyxlex.C (text): use pimpl_->getString()
5107 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5109 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5110 (makeFontEntriesLayoutSpecific): temp var for par.size()
5111 (setLayout): temp var for ownerParagraphs().end()
5112 (fullRebreak): temp var for rows().end()
5113 (selectionAsString): temp var for boost::next(startpit), realize
5114 that the while really is a regular for loop.
5115 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5116 setCursor in one place.
5117 (setParagraph): temp vr for ownerParagraphs().end()
5118 (updateCounters): make the while loop a for loop
5119 (cutSelection): temp var for ownerParagraphs().end()
5120 (updateInset): make the do {} while() a regular for loop
5121 (getCursorX): use temp vars
5122 (setCurrentFont): use temp vars
5123 (getColumnNearX): use temp vars
5125 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5127 * text.C (transformChar): use temp var for getChar
5128 (computeBidiTables): use temp var for row->par()
5129 (fill): move temp vars for row->par() and pit->layout() earlier in
5131 (labelFill): use temp var for row->par()
5132 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5133 asc and desc, realize that pit never changes and that firstpit is
5134 just a duplicate and not needed. Exchange rit->par() with pit in a
5136 (breakAgain): use a temp var for boost::next(rit)
5137 (breakAgainOneRow): ditto
5138 (breakParagraph): use a temp var for rows().begin()
5139 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5140 (cursorRightOneWord): use temp var for cursor.par() and
5141 cursor.pos(), remove usage of tmpcursor.
5142 (cursorLeftOneWord): use temp var for cursor.par() and
5143 cursor.pos() only set cur at end of function.
5145 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5147 * text.C, text2.C: exchange all usage of Paragraph::next with
5148 boost::next(ParagraphList::iterator)
5150 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5152 * text2.C (cursorTop): simplify implementation
5153 (cursorBottom): ditto
5154 (setParagraph): use ParagraphList::iterator
5155 (setCurrentFont): adjust
5156 (getColumnNearX): adjust
5157 (cursorRight): adjust
5158 (cursorLeft): remove usage of Paragraph::previous
5159 (cursorUpParagraph): ditto
5160 (deleteEmptyParagraphMechanism): slight cleanup
5162 * text.C (isBoundary): take a Paragraph const & instead of a
5164 (addressBreakPoint): ditto
5165 (leftMargin): remove usage of Paragraph::previous.
5166 (setHeightOfRow): ditto
5167 (cursorLeftOneWord): ditto
5168 (selectNextWordToSpellcheck): ditto
5171 (breakParagraph): remove one usage of Paragraph::next
5172 (redoParagraph): ditto
5173 (acceptChange): ditto
5174 (insertChar): adjust
5175 (rowBreakPoint): adjust
5177 * bufferview_funcs.C (toggleAndShow): adjust
5179 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
5181 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5182 methods to access it.
5184 * text.C: Added updateRowPositions to compute all row positions.
5185 Make top_y and getRowNearY() to use the cached y position
5187 2003-04-11 John Levon <levon@movementarian.org>
5189 * text.C (rowBreakPoint): reintroduce the labelEnd
5190 checks, code copied from the row fill stuff. Deep voodoo.
5192 * text.C (fill): add a comment and debugging for the
5195 2003-04-11 John Levon <levon@movementarian.org>
5197 * text.C: make sure fullrow insets get wrapped to the next line,
5198 even when they're in a manual label
5200 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5202 * text2.C (insertParagraph): make it take ParagraphList::iterator
5204 (setLayout): make it return ParagraphList::iterator
5205 (redoParagraphs): ditto
5207 (checkParagraph): ditto
5209 * text.C (getRow): make getrow take ParagraphList::iterator as arg
5211 * text2.C: adjust several funcs.
5212 (realizeFont): take a ParagraphList::iterator as arg.
5213 (getLayoutFont): ditto
5214 (getLabelFont): ditto
5215 (setCharFont): ditto
5217 * text.C: adjust several funcs.
5219 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5221 * text.C (selectNextWordToSpellcheck): don't accidentally
5224 2003-04-10 John Levon <levon@movementarian.org>
5226 * ToolbarBackend.C (getIcon): special handling for
5229 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5231 * text2.C (cursorRight): a getChar assert fixed
5233 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5235 * text2.C (getFont): change to take a ParagraphList::iterator
5236 instead of Paragraph*
5237 Adjust several functions.
5239 * text.C (transformChar): change to take a ParagraphList::iterator
5240 instead of Paragraph*
5241 (singleWidth): ditto
5242 Adjust several functions.
5244 * rowpainter.C: adjust several functions
5245 * rowpainter.h:store a ParagraphList::iterator and not a
5249 2003-04-09 John Levon <levon@movementarian.org>
5254 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5255 and the "help" bits as well
5257 2003-04-09 John Levon <levon@movementarian.org>
5260 * ToolbarBackend.C: allow multiple toolbars
5262 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5264 * undo_funcs.C (setCursorParUndo): adjust
5266 * text_funcs.C (transposeChars): adjust
5268 * text3.C (gotoNextInset): adjust
5271 * text2.C (setLayout): adjust
5272 (changeDepth): adjust
5274 (redoParagraphs): adjust
5275 (selectionAsString): adjust
5276 (setParagraph): adjust
5277 (insertInset): adjust
5278 (cutSelection): adjust
5279 (copySelection): adjust
5280 (pasteSelection): adjust
5281 (insertStringAsLines): adjust
5282 (updateInset): adjust
5283 (setCursor): change to take a ParagraphList::iterator parameter
5284 (setCursorIntern): change to take a ParagraphList::iterator parameter
5285 (setCurrentFont): adjust
5286 (cursorLeft): adjust
5287 (cursorRight): adjust
5288 (deleteEmptyParagraphMechanism): adjust
5290 * text.C (breakParagraph): adjust
5291 (insertChar): adjust
5292 (acceptChange): adjust
5293 (rejectChange): adjust
5294 (selectNextWordToSpellcheck): adjust
5295 (changeCase): adjust
5299 * lyxfind.C (SearchForward): adjust
5300 (SearchBackward): adjust
5301 (nextChange): adjust
5303 * lyxcursor.C (par): adjust
5305 * lyxcursor.h: store a ParagraphList::iterator instead of a
5308 * lyx_cb.C (getPossibleLabel): adjust
5310 * bufferview_funcs.C (toggleAndShow): adjust
5312 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5315 * BufferView.C (removeAutoInsets): adjust
5316 (lockedInsetStoreUndo): adjust
5318 2003-04-09 John Levon <levon@movementarian.org>
5320 * ToolbarBackend.C: try icon without argument
5321 if with argument fails
5323 2003-04-08 John Levon <levon@movementarian.org>
5326 * ToolbarBackend.C: add getIcon(), handle tooltip,
5327 and change from "Icon" to "Item".
5329 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5331 * BufferView.C (lockInset): another bad getchar crunched
5333 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5335 * text2.C (changeDepth): do not setUndo on test_only (make undo work
5338 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
5340 * lyxfind.C (searchForward, searchBackwards): bug 782
5342 2003-04-07 John Levon <levon@movementarian.org>
5344 * paragraph.C: remove dead comment
5346 * text.C: remove troublesome depth-fiddling code
5347 in leftMargin() and rightMargin() (bug 1017)
5349 * text.C: fix breaking of rows in nested lists
5352 * text2.C (updateCounters): fix up depth values
5355 2003-04-07 John Levon <levon@movementarian.org>
5357 * BufferView_pimpl.C: clear message when doc finishes resizing,
5358 and after a mouse event
5360 * lyxfunc.C: clear message after exiting inset
5362 2003-04-07 John Levon <levon@movementarian.org>
5364 * bufferview_funcs.C: show math status not outside
5365 status in the statusbar
5367 2003-04-07 John Levon <levon@movementarian.org>
5369 * lyxfunc.C: note status changed after a depth change
5371 2003-04-04 Angus Leeming <leeming@lyx.org>
5373 * LaTeX.h: move AuxInfo operator==, != out of line.
5374 Remove LaTeX virtual destructor; nothing derives from it.
5375 Move operator()() out of public area and rename it startscript().
5376 Change protected for private.
5378 2003-04-04 Angus Leeming <leeming@lyx.org>
5381 * text2.C: remove unneeded #includes.
5383 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5385 * text2.C (dEPM): fix the heigth of the next row
5387 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5389 * text.C: squashed an invalid getChar requester + some ws changes
5391 2003-04-03 John Levon <levon@movementarian.org>
5393 * bufferview_funcs.h:
5394 * bufferview_funcs.C:
5397 * text2.C: make getStatus work for the env depth lfuns
5399 2003-04-03 John Levon <levon@movementarian.org>
5401 * bufferview_funcs.h:
5402 * bufferview_funcs.C:
5405 * text2.C: parlistize decDepth(), by merging it with incDepth()
5407 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5409 * lyxrow.h: store a ParagraphList::iterator instead of a
5410 Paragraph* and adjust other class functions to suit.
5412 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5415 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5417 * text2.C (setCursor): do not anchor to cursor row for the time being
5419 2003-04-02 John Levon <levon@movementarian.org>
5426 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5428 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5430 * paragraph.h: make ParagraphList and ParagraphList::iterator
5431 friends of Paragraph.
5433 * buffer.C (makeLinuxDocFile): move towards ParagraphList
5435 * ParagraphList.C: Use the private next_ and previous_ from
5438 2003-04-01 John Levon <levon@movementarian.org>
5442 * Makefile.am: rename, remove defaults gunk
5445 * MenuBackend.C: remove defaults gunk
5448 * Languages.C: remove defaults gunk
5451 * lyx_main.C: error out if files couldn't be found.
5453 2003-04-02 John Levon <levon@movementarian.org>
5455 * text2.C: make incDepth() use parlist
5457 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5459 * undo_funcs.C (firstUndoParagraph): adjust
5461 * text3.C (gotoInset): adjust
5462 (dispatch): adjust, and rewrite loop.
5464 * text2.C (init): adjust, and rewrite loop.
5465 (redoParagraphs): adjust
5466 (updateInset): adjust, and rewrite loop.
5467 (deleteEmptyParagraphMechanism): adjust
5469 * tabular.C (LyXTabular): adjust
5470 (SetMultiColumn): adjust
5473 * lyxtext.[Ch] (ownerParagraph): delete function
5474 (ownerParagraphs): new function returns a ParagraphList.
5476 * BufferView.C (removeAutoInsets): adjust
5477 (insertErrors): adjust
5478 (setCursorFromRow): adjust
5480 2003-04-01 Angus Leeming <leeming@lyx.org>
5482 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5485 2003-04-02 John Levon <levon@movementarian.org>
5491 * text_funcs.C: make transposeChars a free function
5493 * lyxrow_funcs.C: remove wrong comment
5495 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5498 * rowpainter.C: adjust
5503 * lyxrow_funcs. [Ch]: new files
5505 * lyxrow.[Ch]: remove next and previous pointers
5506 (next,previous): remove accessor functions
5507 (isParEnd): move to lyxrow_funcs
5508 (lastPos): move to lyxrow_funcs
5509 (nextRowIsAllInset): move to lyxrow_funcs
5510 (lastPrintablePos): move to lyxrow_funcs
5511 (numberOfSeparators): move to lyxrow_funcs
5512 (numberOfHfills): move to lyxrow_funcs
5513 (numberOfLabelHfills): move to lyxrow_funcs
5514 (hfillExpansion): move to lyxrow_funcs
5518 * bufferview_funcs.C (toggleAndShow): adjust
5520 * RowList.h: Remove class RowList from file leave just a
5523 * RowList.C: delete file
5525 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5528 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5530 * text3.C (cursorPrevious): adjust
5531 (cursorNext): adjust
5534 * text2.C (redoHeightOfParagraph): adjust
5535 (redoDrawingOfParagraph): adjust
5538 * text.C (breakParagraph): adjust
5539 (insertChar): adjust
5542 * rowpainter.C (RowPainter): adjust
5543 (leftMargin): simplify and adjust
5544 (most rowpainter functions): adjust.
5546 * rowpainter.h: store the row as RowList::iterator not as Row*
5548 * lyxcursor.C (row): taka RowList::iterator as arg
5551 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5554 2003-04-01 Angus Leeming <leeming@lyx.org>
5556 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5557 stuff like bool Bool.
5559 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5561 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5564 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5566 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5569 * lyxtext.h (rows): drop one version and leve a const variant that
5570 returns a RowList::iterator.
5572 2003-03-31 Angus Leeming <leeming@lyx.org>
5574 * text.C (fill): ensure that the signature is the same as that in the
5577 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
5579 * text2.C (redoParagraphs): adjust
5580 (updateCounters): adjust
5581 (checkParagraph): adjust
5582 (getColumnNearX): adjust and reformat a bit.
5584 * text.C (top_y): adjust
5586 (leftMargin): adjust
5587 (prepareToPrint): adjust
5589 (getRowNearY): adjust
5591 * lyxtext.h: make rowlist_ mutable.
5593 * RowList.h: add const_iterator
5594 * RowList.C: adjust for RowList::const_iterator.
5596 * text2.C (getCursorX): make it take a RowList::iterator as arg,
5599 2003-03-31 John Levon <levon@movementarian.org>
5602 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5604 * lyx_main.C: set default fonts from using lyx_gui funcs
5606 * exporter.C: pdf_mode moved from lyxrc
5609 * lyxfunc.C: changes from above
5611 2003-03-31 John Levon <levon@movementarian.org>
5613 * lyx_main.C: fix to the last fix
5615 2003-03-31 John Levon <levon@movementarian.org>
5617 * bufferlist.C: "Load original" -> "Load Original"
5623 * format.C: more Alert cleanups
5625 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5627 * text2.C (removeParagraph): make it take a RowList::iterator as
5629 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5630 (postRowPaint): make it take a RowList::iterator as arg, adjust.
5632 * text.C (anchor_row): make it take a RowList::iterator as arg,
5634 (computeBidiTables): make it take a const reference to Row instead
5635 of Row pointer, adjust.
5636 (leftMargin): make it take a RowList::iterator as arg, adjust.
5637 (rowBreakPoint): adjust
5638 (breakAgainOneRow): make it take a RowList::iterator as arg,
5640 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5642 * bufferview_funcs.C (toggleAndShow): adjust
5644 2003-03-30 John Levon <levon@movementarian.org>
5648 * boost-inst.C: moved to support
5650 * several files: changes as a result
5652 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5654 * text2.C (LyXText): adjust.
5656 (removeRow): make it take a RowList::iterator as arg, adjust.
5657 (fullRebreak): adjust
5658 (deleteEmptyParagraphMechanism): adjust
5659 (clearPaint): adjust
5662 * text.C (top_y): adjust
5663 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5664 (breakAgain): make it take a RowList::iterator as arg, adjust.
5665 (breakParagraph): adjust
5666 (insertChar): adjust
5669 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5670 need_break_row, and refresh_row.
5672 * text3.C (dispatch): adjust
5674 * text2.C (checkParagraph): adjust
5676 (setCursorFromCoordinates): adjust
5678 * text.C (top_y): adjust
5680 (getRow): make it return a RowList::iterator, adjust
5681 (getRowNearY): make it return a RowList::iterator, adjust
5683 * text2.C (init): adjust
5684 (insertRow): remove function
5685 (insertParagraph): adjust
5686 (redoParagraphs): adjust
5687 (fullRebreak): adjust
5688 (updateCounters): adjust
5690 * text.C (top_y): rewrite to use RowList iterators.
5692 (setHeightOfRow): rewrite to sue RowList iterators.
5693 (appendParagraph): adjust
5694 (breakAgain): adjust
5695 (breakAgainOneRow): adjust
5696 (breakParagraph): adjust
5698 (getRowNearY): adjust, and remove commented code.
5700 * lyxtext.h (firstRow): delete function
5701 (lastRow): delete function
5702 (rows): new function (const and non-const versions.)
5703 (insertRow): delete function
5705 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5707 2003-03-29 John Levon <levon@movementarian.org>
5709 * BufferView_pimpl.C: always update scrollbar top
5710 because pasting text when we're anchored could mean we
5711 miss an update altogether
5713 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5715 * text2.C (init): use rowlist_.end() and not 0.
5716 (insertRow): change to take a RowList::iterator as arg, adjust
5718 (insertParagraph): change to take a RowList::iterator as arg,
5720 (redoParagraphs): remove some debug msgs.
5722 * text.C (appendParagraph): change to take a RowList::iterator
5723 arg, adjust for this.
5724 (breakAgain): add an assert
5725 (breakAgainOneRow): ditto
5727 2003-03-29 John Levon <levon@movementarian.org>
5729 * text2.C: do not clear selection after inc/decDepth
5732 2003-03-29 John Levon <levon@movementarian.org>
5735 * buffer.C: fix broken strerrors according to Lars
5737 2003-03-29 John Levon <levon@movementarian.org>
5739 * converters.C: more Alert cleanups
5741 2003-03-29 John Levon <levon@movementarian.org>
5743 * bufferview_funcs.C: remove pointless Alert
5745 * buffer.C: fix confusing error message when
5746 a template is chmoded 000
5748 2003-03-29 John Levon <levon@movementarian.org>
5752 * BufferView_pimpl.C: Alert fixes
5756 * tabular-old.C: remove unused table compat reading
5758 2003-03-29 John Levon <levon@movementarian.org>
5763 * lyx_cb.C: more Alert cleanups
5765 * lyxfunc.C: don't allow chktex if not latex document
5767 2003-03-29 John Levon <levon@movementarian.org>
5771 * buffer.C: warnings pushed down from support/,
5774 2003-03-29 John Levon <levon@movementarian.org>
5776 * lyxfunc.C: safety check for C-r (revert)
5778 2003-03-29 John Levon <levon@movementarian.org>
5781 * bufferlist.C: several UI fixes using Alert::prompt.
5782 Fix the pointless looping quit code. Fix stupid revert
5787 * lyx_cb.C: use Alert::prompt
5789 * lyx_main.C: remove a silly question
5791 * lyxfunc.C: remove a couple of silly questions,
5794 2003-03-28 John Levon <levon@movementarian.org>
5796 * text2.C: fix bug 974 (End on empty par)
5798 2003-03-28 John Levon <levon@movementarian.org>
5800 * BufferView_pimpl.C:
5802 * lfuns.h: remove do-nothing math greek lfuns
5804 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5806 * lyxgluelength.h (isValidGlueLength): add default arg on
5807 parameter 2. Remove default arg from friend in class.
5809 * lyxlength.h (isValidLength): add default arg on parameter 2.
5810 Remove default arg from friend in class.
5812 * text2.C (LyXText): adjust, initialize refresh_row.
5816 (insertParagraph): adjst
5817 (redoParagraphs): adjust
5818 (fullRebreak): adjust
5819 (updateCounters): adjust
5820 (deleteEmptyParagraphMechanism): first attempt at fixing a
5823 * text.C (top_y): adjust
5824 (setHeightOfRow): adjust
5826 (getRowNearY): adjust
5828 * lyxtext.h: include RowList.h
5829 (~LyXText): not needed anymore, deleted.
5830 (firstRow): modify for RowList
5831 (lastRow): new function
5832 Delete firstrow and lastrow class variables, add a Rowlist
5833 rowlist_ class variable.
5835 * lyxrow.C (lastPos): use empty() and not !size() to check if a
5838 * RowList.C (insert): fix case where it == begin().
5840 2003-03-26 Angus Leeming <leeming@lyx.org>
5842 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5843 the thesaurus dialog.
5845 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5847 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5849 * RowList.[Ch]: new files
5851 * ParagraphList.C (erase): handle the case where it == begin
5854 2003-03-25 John Levon <levon@movementarian.org>
5858 * aspell.C: add new aspell support
5861 * lyxrc.C: Make use_pspell be use_spell_lib. Always
5864 2003-03-25 Angus Leeming <leeming@lyx.org>
5867 * LyXAction.C (init): new LFUN_INSET_INSERT.
5869 * BufferView_pimpl.C (dispatch): split out part of the
5870 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5872 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5875 2003-03-25 Angus Leeming <leeming@lyx.org>
5877 * lyxfunc.C (dispatch): changes to the Dialogs interface.
5879 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
5882 * text3.C: remove useless row->height(0)
5884 2003-03-25 John Levon <levon@movementarian.org>
5888 * text3.C: rename the refreshing stuff to better names
5890 2003-03-24 John Levon <levon@movementarian.org>
5892 * BufferView_pimpl.h:
5893 * BufferView_pimpl.C: update layout choice on a mouse
5896 2003-03-23 John Levon <levon@movementarian.org>
5898 * Makefile.am: fix commandtags.h reference
5900 2003-03-22 John Levon <levon@movementarian.org>
5902 * BufferView_pimpl.C:
5907 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5909 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
5912 * text.C: take the rtl methods out of line
5914 2003-03-21 André Pönitz <poenitz@gmx.net>
5916 * metricsinfo.[Ch]: new files containing structures to be passed around
5917 during the two-phase-drawing...
5919 2003-03-21 André Pönitz <poenitz@gmx.net>
5921 * lyxtextclass.C: read 'environment' tag.
5923 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
5925 * text2.C (removeRow): fix bug 964
5927 2003-03-20 John Levon <levon@movementarian.org>
5931 * text2.C: paint cleanups. Inset::update() dropped font
5934 2003-03-19 John Levon <levon@movementarian.org>
5936 * lyxfunc.C: only fitcursor/markDirty if available()
5938 2003-03-19 John Levon <levon@movementarian.org>
5940 * commandtags.h: rename to ...
5942 * lfuns.h: ... this, and renumber / cleanup
5944 2003-03-19 John Levon <levon@movementarian.org>
5946 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5947 fit the cursor after an lfun
5951 * BufferView_pimpl.h:
5952 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5954 * LyXAction.C: layout-character should have ReadOnly
5956 * ParagraphParameters.C:
5958 * bufferview_funcs.C:
5965 * undo_funcs.C: changes from above
5967 2003-03-18 John Levon <levon@movementarian.org>
5969 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5970 remove it from update()
5972 * lyxfunc.C: update layout choice after an lfun
5974 * text3.C: remove extra updateLayoutChoice()s
5976 2003-03-18 John Levon <levon@movementarian.org>
5978 * text.C: top_y change means full repaint, fix
5979 a drawing bug with cursor movement
5981 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5985 * text2.C: anchor row on setCursor
5987 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5989 * lyxtext.h: remove almost all mutable keywords
5992 * text3.C: remove const keywords accordingly
5994 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5996 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5998 (TeXEnvironment): ditto
6001 2003-03-17 John Levon <levon@movementarian.org>
6003 * text.C (rowBreakPoint): remove attempt to fix displayed
6004 math insets inside a manual label
6006 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6008 * lyxtext.h: remove BufferView* as first arg from almost all class
6010 * other files: adjust.
6012 2003-03-17 John Levon <levon@movementarian.org>
6016 * text2.C: more paint cleanups
6018 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6021 * rowpainter.C: remove "smart" background painting code
6023 2003-03-16 John Levon <levon@movementarian.org>
6028 * text3.C: add helper functions for setting refresh_row/y
6030 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
6032 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6033 newline inset which *can* get inserted in the pass_thru layouts.
6034 This is primarily for literate documents.
6036 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
6038 * buffer.C: increment LYX_FORMAT to 223
6040 2003-03-14 André Pönitz <poenitz@gmx.net>
6042 * textclass.h: prepare for environment handling, ws changes
6043 * lyxlayout.C: read latexheader and latexfooter tags
6045 2003-03-14 John Levon <levon@movementarian.org>
6047 * text2.C: rewrite ::status() a bit
6049 2003-03-13 John Levon <levon@movementarian.org>
6051 * lyxtext.h: add some docs
6053 2003-03-13 John Levon <levon@movementarian.org>
6058 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6060 2003-03-13 John Levon <levon@movementarian.org>
6062 * text3.C: fix appendix redrawing
6064 2003-03-13 John Levon <levon@movementarian.org>
6066 * text.C (setHeightOfRow):
6068 * rowpainter.C: make appendix mark have the text
6069 "Appendix" so the user knows what it is
6072 * LColor.C: s/appendixline/appendix/ from above
6074 2003-03-13 John Levon <levon@movementarian.org>
6076 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6078 * text.C: fix a getChar(pos) bug properly
6080 2003-03-13 Angus Leeming <leeming@lyx.org>
6083 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6084 Probably only temporary. Let's see how things pan out.
6086 * BufferView.C (unlockInset):
6087 * BufferView_pimpl.C (fitCursor):
6088 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6090 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6091 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6093 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6094 new functions that convert ParagraphParameters to and from a string.
6096 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6097 BufferView::Pimpl's dispatch.
6098 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6100 2003-03-13 André Pönitz <poenitz@gmx.net>
6104 * factory.C: make it aware of InsetEnv
6106 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6108 * text2.C (setCursor): never ask for one past last
6109 (setCursor): add some debugging messages.
6111 * text.C (singleWidth): never ask for one past last
6112 (singleWidth): ditto
6114 (rightMargin): ditto
6115 (rowBreakPoint): ditto
6116 (setHeightOfRow): ditto
6117 (prepareToPrint): ditto
6119 * rowpainter.C (paintBackground): never ask for one past last
6120 (paintText): never ask for one past last
6122 * paragraph_pimpl.C (getChar): make the assert stricter, never
6123 allow the one past last pos to be taken
6125 * paragraph.C (getChar): ws changes only
6127 * lyxrow.C (nextRowIsAllInset): never ask for one past last
6128 (numberOfSeparators): ditto
6129 (numberOfHfills): ditto
6131 2003-03-12 John Levon <levon@movementarian.org>
6137 * paragraph_funcs.C: fix per-buffer authorlists
6139 2003-03-12 John Levon <levon@movementarian.org>
6141 * text.C: fix newline in right address
6143 2003-03-12 Angus Leeming <leeming@lyx.org>
6145 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6146 duplicate those in LyXFunc::dispatch.
6150 * ToolbarDefaults.C:
6151 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6152 Add LFUN_FONTFREE_UPDATE.
6154 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6155 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6157 * bufferview_func.[Ch]: several new functions to facilliate
6158 transfer of data to and from the character dialog.
6160 2003-03-12 John Levon <levon@movementarian.org>
6165 * paragraph_funcs.C:
6166 * paragraph_pimpl.C:
6170 * text3.C: remove META_NEWLINE in favour of an inset
6173 * rowpainter.C: remove paintNewline (done by inset)
6175 2003-03-12 John Levon <levon@movementarian.org>
6177 * paragraph_pimpl.C: complain about bad getChar()s
6178 for a while at least
6180 2003-03-12 John Levon <levon@movementarian.org>
6183 * buffer.C: move paragraph read into a separate function,
6184 a little renaming to reflect that.
6187 * bufferparams.C: remove the author_ids map, not necessary now
6190 * factory.C: moved Buffer::readInset to here
6192 * paragraph_funcs.h:
6193 * paragraph_funcs.C: readParagraph free function moved from
6196 * tabular.C: name change
6198 2003-03-12 John Levon <levon@movementarian.org>
6201 * ParagraphParameters.C: move par params input to
6204 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6205 behave like a normal read from the stream wrt reading
6206 a line vs. a \\token
6208 2003-03-12 John Levon <levon@movementarian.org>
6211 * ParagraphParameters.h:
6212 * ParagraphParameters.C: move output code to a
6215 2003-03-12 John Levon <levon@movementarian.org>
6217 * BufferView.C (insertLyXFile):
6220 * tabular.C: use a parlist iterator for creating the
6223 2003-03-12 John Levon <levon@movementarian.org>
6225 * buffer.C: make current_change static local not
6228 2003-03-12 John Levon <levon@movementarian.org>
6230 * buffer.C: fix insertStringAsLines for change tracking
6232 2003-03-12 John Levon <levon@movementarian.org>
6239 * bufferparams.C: move author list into params. Rename some
6240 functions. Move the header reading into a separate token
6241 loop. Move the header token reading into BufferParams.
6243 2003-03-12 John Levon <levon@movementarian.org>
6245 * changes.C: put debug inside lyxerr.debugging() checks
6247 2003-03-11 André Pönitz <poenitz@gmx.net>
6249 * factory.C: make it aware of InsetHFill
6251 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6253 * buffer.C (latexParagraphs): move function from here...
6254 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6257 2003-03-10 Angus Leeming <leeming@lyx.org>
6259 * LyXAction.C (init): fix bug in poplating array with multiple entries
6260 with the same LFUN (spotted by JMarc).
6262 2003-03-10 John Levon <levon@movementarian.org>
6265 * text2.C: move getColumnNearX() near its
6268 2003-03-10 John Levon <levon@movementarian.org>
6270 * text.C: fix break before a minipage
6272 2003-03-10 John Levon <levon@movementarian.org>
6274 * text.C: fix the last commit
6276 2003-03-09 John Levon <levon@movementarian.org>
6280 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6281 bug 365 (don't break before insets unless needed). Don't
6282 return a value > last under any circumstances.
6284 2003-03-09 Angus Leeming <leeming@lyx.org>
6286 * BufferView_pimpl.C (trackChanges, dispatch): call
6287 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6289 2003-03-09 Angus Leeming <leeming@lyx.org>
6291 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6292 than Dialogs::showAboutlyx().
6294 2003-03-09 Angus Leeming <leeming@lyx.org>
6296 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6297 than Dialogs::showTabularCreate().
6299 2003-03-09 John Levon <levon@movementarian.org>
6303 * text2.C: 3rd arg to nextBreakPoint was always the same.
6306 2003-03-08 John Levon <levon@movementarian.org>
6313 * text2.C: Remove the "main" bit from the "main body"
6316 2003-03-08 John Levon <levon@movementarian.org>
6318 * text.C (leftMargin): The left margin of an empty
6319 manual label paragraph should not include the label width
6322 * text.C (prepareToPrint): don't attempt to measure hfills
6323 for empty manual label paragraphs - the answer should be 0
6325 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6327 * CutAndPaste.C: remove commented code and reindent.
6329 2003-03-08 John Levon <levon@movementarian.org>
6332 * lyxfunc.C: move reloadBuffer()
6335 * BufferView.C: to here
6337 * lyxvc.C: add comment
6340 * vc-backend.C: call bv->reload() to avoid
6341 getStatus() check on MENURELOAD
6343 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
6345 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6346 to an old format .dep file.
6348 2003-03-07 Angus Leeming <leeming@lyx.org>
6350 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6351 when the LFUN_MOUSE_RELEASE should have been handled by
6352 inset->localDispatch.
6354 2003-03-07 Angus Leeming <leeming@lyx.org>
6356 * BufferView_pimpl.C (dispatch):
6357 * LyXAction.C (init):
6358 * ToolbarDefaults.C (init):
6360 * lyxfunc.C (getStatus):
6361 remove LFUN_INSET_GRAPHICS.
6363 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6365 2003-03-07 Angus Leeming <leeming@lyx.org>
6368 * LyXAction.C (init):
6369 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6371 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6374 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6376 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6377 localDispatch method LFUN_INSET_DIALOG_UPDATE.
6379 2003-03-07 Angus Leeming <leeming@lyx.org>
6381 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6384 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6386 * ParagraphList.C (front): new function
6389 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
6391 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6392 and top_row_offset_. removed var first_y.
6394 * text2.C (LyXText, removeRow):
6396 * BufferView_pimpl.C:
6397 use these methods instead of using first_y
6399 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6401 * text2.C (pasteSelection): adjust for checkPastePossible
6403 * CutAndPaste.C: remove Paragraph * buf and replace with
6404 ParagraphList paragraphs.
6405 (DeleteBuffer): delete
6406 (cutSelection): change the tc type to textclass_type
6407 (copySelection): change the tc type to textclass_type
6408 (copySelection): adjust for ParagraphList
6409 (pasteSelection): change the tc type to textclass_type
6410 (pasteSelection): adjust for Paragraphlist
6411 (nrOfParagraphs): simplify for ParagraphList
6412 (checkPastePossible): simplify for ParagraphList
6413 (checkPastePossible): remove unused arg
6415 * ParagraphList.C (insert): handle the case where there are no
6418 * CutAndPaste.h: make CutAndPaste a namespace.
6420 * text3.C (dispatch): adjust
6422 * text.C (breakParagraph): add a ParagraphList as arg
6424 * paragraph_funcs.C (breakParagraph): change to take a
6425 BufferParams and a ParagraphList as args.
6426 (breakParagraphConservative): ditto
6427 (mergeParagraph): ditto
6428 (TeXDeeper): add a ParagraphList arg
6429 (TeXEnvironment): ditto
6432 * buffer.C (readLyXformat2): adjust
6433 (insertStringAsLines): adjust
6434 (latexParagraphs): adjust
6436 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6437 (cutSelection): adjust
6438 (pasteSelection): adjust
6440 * BufferView_pimpl.C (insertInset): adjust
6442 2003-03-05 Angus Leeming <leeming@lyx.org>
6445 * LyXAction.C (init):
6446 * BufferView_pimpl.C (dispatch):
6447 * lyxfunc.C (getStatus):
6448 remove LFUN_CHILD_INSERT.
6450 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6452 2003-03-05 Angus Leeming <leeming@lyx.org>
6455 * LyXAction.C (init):
6456 * src/factory.C (createInset):
6457 * lyxfunc.C (getStatus):
6458 * text3.C (dispatch):
6459 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6461 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6463 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6465 * ParagraphList.C (insert): handle insert right before end()
6466 (erase): fix cases where it can be first or last paragraph.
6468 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6470 * paragraph_funcs.C (TeXEnvironment): remove all usage of
6471 Paragraph::next and Paragraph::previous
6474 * text.C (breakParagraph): adjust
6476 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6477 BufferParams& as arg.
6478 (breakParagraph): use ParagraphList::insert
6479 (breakParagraphConservative): take a Buffer* instead of a
6480 BufferParams& as arg.
6481 (breakParagraphConservative): use ParagraphList::insert.
6483 * buffer.C (insertStringAsLines): un-const it
6484 (insertStringAsLines): adjust
6486 * ParagraphList.C (insert): new function
6488 * CutAndPaste.C (pasteSelection): adjust
6490 * text.C (backspace): adjust
6492 * tabular.C (SetMultiColumn): adjust
6494 * CutAndPaste.C (cutSelection): adjust
6495 (pasteSelection): adjust
6497 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6498 Buffer const * as arg
6500 * ParagraphList.C (erase): new function
6501 * paragraph_funcs.C (mergeParagraph): use it
6502 (mergeParagraph): make it take a Buffer* instead of a
6503 BufferParams* as arg
6505 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6507 (breakParagraphConservative): ditto
6509 * paragraph.h: remove the breakParagraph friend
6511 * paragraph.C (eraseIntern): new function
6512 (setChange): new function
6514 * paragraph_funcs.C (mergeParagraph): make it take a
6515 ParagraphList::iterator instead of a Paragraph *, adjust
6518 * paragraph.h: move an #endif so that the change tracking stuff
6519 also works in the NO_NEXT case.
6521 2003-03-04 Angus Leeming <leeming@lyx.org>
6524 * LyXAction.C: new LFUN_INSET_MODIFY.
6526 * BufferView_pimpl.C (dispatch): if an inset is found to be open
6527 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6529 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6531 * several files: ws changes only
6533 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6534 (TeXEnvironment): ditto
6537 * buffer.C (makeLaTeXFile): adjust
6538 (latexParagraphs): make it take ParagraphList::iterator as args
6540 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6542 * buffer.C (latexParagraphs): adjust
6544 * paragraph.C (TeXOnePar): move function...
6545 (optArgInset): move function...
6546 (TeXEnvironment): move function...
6547 * paragraph_pimpl.C (TeXDeeper): move function...
6548 * paragraph_funcs.C: ...here
6550 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6552 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6554 * buffer.C (readInset): remove compability code for old Figure and
6557 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6559 * buffer.C: ws changes
6562 * BufferView_pimpl.C: ditto
6565 * bufferlist.h: ditto
6569 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
6571 * converter.[Ch]: split into itself +
6574 * Makefile.am: += graph.[Ch] + format.[Ch]
6581 * lyxrc.C: added #include "format.h"
6583 2003-02-27 Angus Leeming <leeming@lyx.org>
6585 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6588 * factory.C (createInset): add "label" to the factory.
6590 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6591 string and do no more.
6593 2003-02-27 Angus Leeming <leeming@lyx.org>
6596 * LyXAction.C (init):
6597 * factory.C (createInset):
6598 * BufferView_pimpl.C (dispatch):
6599 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6601 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6603 * lyxfunc.C (dispatch):
6604 * text3.C (dispatch): pass name to params2string.
6606 2003-02-26 Angus Leeming <leeming@lyx.org>
6608 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6610 Rearrange the ~includes. Strip out the unnecessary ones.
6612 * factory.C (createInset): reformat.
6613 create new insets for the various LFUN_XYZ_APPLY lfuns.
6615 2003-02-26 John Levon <levon@movementarian.org>
6618 * lyxrow.C: add isParStart,isParEnd helpers
6620 * paragraph.h: make isInserted/DeletedText take refs
6622 * paragraph_funcs.h:
6623 * paragraph_funcs.C: remove #if 0'd code
6628 * text.C: use lyxrow helpers above.
6629 Move draw and paint routines to RowPainter.
6630 Make several methods use refs not pointers.
6631 Make backgroundColor() const.
6632 Add markChangeInDraw(), isInInset().
6633 Merge changeRegionCase into changeCase.
6634 Make workWidth() shouldn't-happen code into an Assert.
6637 * rowpainter.C: new class for painting a row.
6640 * vspace.C: make inPixels take a ref
6642 2003-02-26 Angus Leeming <leeming@lyx.org>
6644 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6647 2003-02-25 John Levon <levon@movementarian.org>
6649 * ispell.C: give the forked command a more accurate name
6651 2003-02-22 John Levon <levon@movementarian.org>
6654 * toc.C: make TocItem store an id not a Paragraph *
6657 2003-02-21 Angus Leeming <leeming@lyx.org>
6659 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6660 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6661 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6662 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6663 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6664 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6666 * BufferView_pimpl.C (dispatch):
6667 * LyXAction.C (init):
6668 * factory.C (createInset):
6669 * lyxfunc.C (getStatus, dispatch):
6670 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6672 2003-02-21 Angus Leeming <leeming@lyx.org>
6674 * BufferView_pimpl.C (MenuInsertLyXFile):
6675 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6676 * lyxfunc.C (menuNew, open, doImport):
6677 no longer pass a LyXView & to fileDlg.
6679 2003-02-21 Angus Leeming <leeming@lyx.org>
6681 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6682 * LyXAction.C: change, BIBKEY to BIBITEM.
6683 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6684 Change InsetBibKey to InsetBibitem.
6685 Change BIBKEY_CODE to BIBITEM_CODE.
6686 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6687 * factory.C: replace insetbib.h with insetbibitem.h.
6688 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6689 * paragraph.C: replace insetbib.h with insetbibitem.h.
6690 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6691 Change bibkey() to bibitem().
6692 * text.C: remove insetbib.h.
6693 * text2.C: replace insetbib.h with insetbibitem.h.
6694 change bibkey() to bibitem().
6695 * text3.C: remove insetbib.h.
6696 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6698 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6700 * lyxrc.C (output): enclose user email in quotes (in case there are
6703 2003-02-18 John Levon <levon@movementarian.org>
6705 * buffer.h: add std::
6707 2003-02-17 John Levon <levon@movementarian.org>
6713 * pspell.C: reworking. Especially in ispell, a large
6714 number of clean ups and bug fixes.
6716 * lyxfunc.C: fix revert to behave sensibly
6718 2003-02-17 André Pönitz <poenitz@gmx.net>
6721 * commandtags.h: new LFUN_INSERT_BIBKEY
6731 * paragraph_func.C: remove special bibkey handling
6733 2003-02-17 John Levon <levon@movementarian.org>
6735 * text.C (Delete): fix case where delete at the end of
6736 the very first paragraph would not merge the pars
6738 2003-02-17 John Levon <levon@movementarian.org>
6740 * lyxrow.C: fix lastPrintablePos()
6742 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6744 * bufferparams.C (writeLaTeX): add a std:here
6746 * buffer.C: and remove a using directive there
6748 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6750 * buffer.C (makeLaTeXFile): move the code that generates the
6753 * bufferparams.C (writeLaTeX): ... in this new method
6755 * LaTeXFeatures.C (getEncodingSet): make const
6756 (getLanguages): make const
6758 * MenuBackend.C (binding): returns the binding associated to this
6760 (add): sets the status of each item by calling getStatus. Adds
6762 (read): add support for OptSubMenu
6763 (expand): remove extra separator at the end of expanded menu
6765 2003-02-15 John Levon <levon@movementarian.org>
6768 * BufferView_pimpl.C:
6770 * bufferlist.C: remove pointless BufferStorage bloat. Remove
6771 inset code that had no actual effect. Remove unneeded status
6774 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6776 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6779 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
6781 * text.C (drawLengthMarker): also draw an arrow marker for
6782 symbolic lengths (medskip...)
6784 2003-02-14 John Levon <levon@movementarian.org>
6787 * tabular.C: better method names
6789 2003-02-14 John Levon <levon@movementarian.org>
6791 * BufferView_pimpl.C:
6796 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6797 it's a more accurate name. Remove some pointless uses.
6799 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6801 * text2.C (LyXText): change order of initilizers to shut off
6804 2003-02-14 John Levon <levon@movementarian.org>
6806 * buffer.C: use ParIterator for getParFromID()
6810 * paragraph_pimpl.h:
6811 * paragraph_pimpl.C: remove unused getParFromID()
6813 2003-02-14 John Levon <levon@movementarian.org>
6815 * buffer.C: remove some very old #if 0'd parse code
6817 2003-02-13 John Levon <levon@movementarian.org>
6821 * text2.C: move hfillExpansion(), numberOfSeparators(),
6822 rowLast(), rowLastPrintable(), numberofHfills(),
6823 numberOfLabelHfills() ...
6826 * lyxrow.C: ... to member functions here.
6831 * text.C: remove LyXText::beginningOfMainBody(), and call
6832 p->beginningOfMainBody() directly. Move the check for
6833 LABEL_MANUAL into the latter.
6840 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6846 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6847 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6849 2003-02-13 John Levon <levon@movementarian.org>
6851 * CutAndPaste.C: remove debug
6853 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6855 * paragraph.C (asString): remove two unused variables
6857 * lyxtextclass.C (readTitleType):
6859 (LyXTextClass): handle new members titletype_ and titlename_
6861 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6863 2003-02-09 John Levon <levon@movementarian.org>
6866 * buffer.C: replace hand-coded list with a map for the dep clean
6868 2003-02-08 John Levon <levon@movementarian.org>
6870 * LaTeX.C: consolidate code into showRunMessage() helper
6872 2003-02-08 John Levon <levon@movementarian.org>
6877 * BufferView.C: change setSelectionOverString() to setSelectionRange()
6878 and pass the size in explicitly
6880 * BufferView_pimpl.h:
6881 * BufferView_pimpl.C:
6883 * BufferView.C: add getCurrentChange()
6885 * BufferView_pimpl.h:
6886 * BufferView_pimpl.C: handle change lfuns
6888 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6889 for changes. Mark pasted paragraphs as new.
6891 * support/lyxtime.h:
6892 * support/lyxtime.C:
6893 * DepTable.C: abstract time_t as lyx::time_type
6896 * LColor.C: add colours for new text, deleted text, changebars
6898 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6899 package use "usenames" option.
6903 * LyXAction.C: add change lfuns
6907 * author.C: author handling
6910 * buffer.C: add a per-buffer author list, with first entry as
6911 current author. Handle new .lyx tokens for change tracking. Output
6912 author list to .lyx file. Output dvipost stuff to .tex preamble.
6913 Bump lyx format to 222.
6916 * bufferlist.C: add setCurrentAuthor() to reset current author details
6920 * bufferparams.C: add param for tracking
6922 * bufferview_funcs.C: output change info in minibuffer
6926 * changes.C: add change-tracking structure
6929 * debug.C: add CHANGES debug flag
6932 * lyxfind.C: add code for finding the next change piece
6935 * lyxrc.C: add user_name and user_email
6938 * lyxrow.C: add a metric for the top of the text line
6941 * text.C: implement accept/rejectChange()
6944 * text.C: paint changebars. Paint new/deleted text in the chosen
6945 colours. Strike through deleted text.
6949 * paragraph_pimpl.h:
6950 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6951 in the current change to the insert functions. Rework erase to
6952 mark text as deleted, adding an eraseIntern() and a range-based
6953 erase(). Implement per-paragraph change lookup and
6956 * paragraph_funcs.C: Fixup paste for change tracking.
6958 * tabular.C: mark added row/columns as new.
6960 * text.C: fix rowLast() to never return -1. Don't allow
6961 spellchecking of deleted text. Track transpose changes. Don't
6962 allow paragraph break or merge where appropriate.
6964 * text2.C: leave cursor at end of selection after a cut.
6966 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6968 * text.C (getLengthMarkerHeight):
6969 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6970 visible on screen too.
6972 2003-02-07 John Levon <levon@movementarian.org>
6974 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6976 2003-02-05 Angus Leeming <leeming@lyx.org>
6978 * lyxserver.C (read_ready): revert my patch of 11 September last year
6979 as it sends PC cpu through the roof. Presumably this means that
6980 the lyxserver will no longer run on an Alpha...
6982 2003-01-30 Angus Leeming <leeming@lyx.org>
6984 * factory.C (createInset): create an InsetCommandParam of type "index"
6985 and use it to 'do the right thing'.
6987 * text2.C (getStringToIndex): ensure that cursor position is always
6988 reset to the reset_cursor position.
6990 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6992 * lyxfunc.C (getStatus): "buffer-export custom" should never be
6995 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
6999 * lyxfunc.C: Output messages with identical spelling, punctuation,
7002 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
7004 * MenuBackend.C (expandFormats): List only viewable export formats
7007 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7010 * lyxfunc.C (getStatus): Make sure that formats other than
7011 "fax" can also be disabled
7013 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7015 * text3.C (dispatch): put the lfuns that insert insets in 3
7016 groups, and call doInsertInset with appropriate arguments.
7017 (doInsertInset): new function, that creates an inset and inserts
7018 it according to some boolean parameters.
7020 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7022 * buffer.C (readFile): remember to pass on 'par' when calling
7023 readFile recursively.
7025 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7027 * MenuBackend.C (expandFormats): add "..." to import formats.
7029 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
7031 * paragraph.C (asString): Remove XForms RTL hacks.
7033 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
7034 * buffer.C: fix typo
7036 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7038 * Makefile.am (LIBS): delete var
7039 (lyx_LDADD): add @LIBS@ here instead.
7041 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
7043 * Clarify the meaning of "wheel mouse jump"
7045 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7047 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7050 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7052 * importer.C (Loaders): do not preallocate 3 elements in the
7053 vector, since one ends up with 6 elements otherwise
7055 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7057 * DepTable.C (write): write the file name as last element of the
7058 .dep file (because it may contain spaces)
7059 (read): read info in the right order
7061 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7063 * paragraph_pimpl.C (simpleTeXBlanks):
7064 (simpleTeXSpecialChars):
7065 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7067 * tabular.C (latex): add some missing case statements. Reindent.
7069 * MenuBackend.C (expandToc): remove unused variable.
7071 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
7080 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7083 2003-01-05 John Levon <levon@movementarian.org>
7086 * BufferView.C: add getEncoding()
7089 * kbsequence.C: do not store last keypress
7092 * lyxfunc.C: store last keypress here instead. Pass encoding
7095 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7097 * lyx_main.C (init): remove annoying error message when following
7098 symbolic links (bug #780)
7100 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7102 * text.C (insertChar):
7103 * lyxrc.C (getDescription): remove extra spaces
7105 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7107 * lyxrc.C (getDescription): remove extra spaces
7109 2002-12-20 John Levon <levon@movementarian.org>
7111 * text3.C: hack fix for page up/down across tall rows
7113 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7115 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7118 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7120 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7121 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7122 thesaurus is not compiled in
7124 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
7126 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
7128 2002-12-16 Angus Leeming <leeming@lyx.org>
7131 * lyx_main.C (init): remove override_x_deadkeys stuff.
7133 2002-12-12 John Levon <levon@movementarian.org>
7135 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7136 insert. Only remove shift modifier under strict
7139 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7141 * MenuBackend.C (expandToc): fix crash.
7143 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7145 * MenuBackend.C (expandToc): gettext on float names.
7147 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7149 * lyxlength.[Ch]: set default unit to UNIT_NONE,
7150 implement bool empty() [bug 490]
7152 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7154 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7156 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7158 * several files: ws changes
7160 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7162 * text2.C (setCounter): clean up a bit, use boost.format.
7163 (updateCounters): initialize par upon declaration.
7165 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7166 if the layout exists. We do not just store the layout any more.
7167 (SwitchLayoutsBetweenClasses): use boost.format
7169 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7171 * converter.C (convert): if from and to files are the same, use a
7172 temporary files as intermediary
7174 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7177 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7179 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
7181 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7183 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7185 * tabular.C (asciiPrintCell): use string(size, char) instead of
7188 * sgml.C (openTag): fix order of arguments to string constructor
7191 * lyxfunc.C (dispatch): use boost.format
7193 * lots of files: change "c" -> 'c'
7195 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
7197 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7199 2002-11-25 Angus Leeming <leeming@lyx.org>
7201 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7203 * lyx_main.C (init): compile fix.
7205 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7207 * lyx_cb.C (start): boost.formatify
7208 do not include <iostream>
7210 * lengthcommon.C: ws only
7212 * boost-inst.C,BoostFormat.h: add more explict instantations
7214 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7216 * lots of files: handle USE_BOOST_FORMAT
7218 2002-11-21 John Levon <levon@movementarian.org>
7220 * pspell.C: fix compile
7222 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7224 * lyxfunc.C (dispatch): use boost::format
7228 * lyxfont.C (stateText): use boost::format
7230 * lyx_main.C (LyX): use boost::format
7232 (queryUserLyXDir): ditto
7235 (typedef boost::function): use the recommened syntax.
7237 * importer.C (Import): use boost::format
7239 * debug.C (showLevel): use boost::format
7241 * converter.C (view): use boost::format
7246 * bufferview_funcs.C (currentState): use boost::format
7248 * bufferlist.C (emergencyWrite): use boost::format
7250 * buffer.C (readLyXformat2): use boost::format
7251 (parseSingleLyXformat2Token): ditto
7253 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7255 * LaTeX.C (run): use boost::format
7257 * Chktex.C (scanLogFile): use boost::format
7259 * BufferView_pimpl.C (savePosition): use boost::format
7260 (restorePosition): ditto
7261 (MenuInsertLyXFile): ditto
7263 * BoostFormat.h: help file for explicit instation.
7265 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
7267 * tabular.C (latex): Support for block alignment in fixed width
7270 2002-11-17 John Levon <levon@movementarian.org>
7272 * BufferView_pimpl.C:
7274 * lyxfunc.C: split filedialog into open/save
7276 2002-11-08 Juergen Vigna <jug@sad.it>
7278 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7279 by my last patch (hopefully).
7281 2002-11-08 John Levon <levon@movementarian.org>
7290 * toc.C: ParConstIterator, and use it (from Lars)
7292 2002-11-07 Ben Stanley <bds02@uow.edu.au>
7294 * lyxtextclass.[Ch]: revise and add doxygen comments
7296 2002-11-07 John Levon <levon@movementarian.org>
7298 * text.C: fix progress value for spellchecker
7300 * toc.C: fix navigate menu for insetwrap inside minipage
7302 * paragraph_funcs.C: added FIXME for suspect code
7304 2002-11-07 John Levon <levon@movementarian.org>
7306 * BufferView_pimpl.C: fix redrawing of insets
7309 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7311 * text2.C (updateCounters): fix bug 668
7313 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
7315 * text3.C (dispatch): Do not make the buffer dirty when moving the
7318 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7320 * vc-backend.C: STRCONV
7323 * text2.C (setCounter): STRCONV
7325 * paragraph.C (asString): STRCONV
7327 * lyxlength.C (asString): STRCONV
7328 (asLatexString): ditto
7330 * lyxgluelength.C (asString): STRCONV
7331 (asLatexString): ditto
7333 * lyxfunc.C (dispatch): STRCONV
7336 * lyxfont.C (stateText): STRCONV
7338 * importer.C (Import): STRCONV
7340 * counters.C (labelItem): STRCONV
7341 (numberLabel): ditto
7342 (numberLabel): remove unused ostringstream o
7347 * bufferview_funcs.C (currentState): STRCONV
7349 * buffer.C (readFile): STRCONV
7350 (asciiParagraph): ditto
7351 (makeLaTeXFile): ditto
7353 * Spacing.C (writeEnvirBegin): STRCONV
7355 * LaTeXFeatures.C (getLanguages): STRCONV
7356 (getPackages): ditto
7358 (getBabelOptions): ditto
7359 (getTClassPreamble): ditto
7360 (getLyXSGMLEntities): ditto
7361 (getIncludedFiles): ditto
7365 (scanAuxFile): ditto
7368 * LString.h: add the STRCONV macros
7370 * BufferView_pimpl.C (savePosition): STRCONV
7371 (restorePosition): ditto
7372 (MenuInsertLyXFile): ditto
7374 * vc-backend.C (scanMaster): change from submatch[...] to
7377 * funcrequest.C: include config.h
7379 * factory.C: include config.h
7381 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7383 * box.C: include config.h
7385 * LaTeX.C (scanAuxFile): change from submatch[...] to
7389 2002-10-25 Angus Leeming <leeming@lyx.org>
7391 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7393 * ispell.[Ch] (setError): new method.
7394 * ispell.C (c-tor): move out child process into new class LaunchIspell.
7395 Use setError() insetead of goto END.
7397 * lyx_cb.C (AutoSave): move out child process into new class
7400 2002-10-30 John Levon <levon@movementarian.org>
7402 * text3.C: make start appendix undoable
7404 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
7406 * lyxlength.C (inPixels): Fix returned value.
7408 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7411 2002-10-24 Angus Leeming <leeming@lyx.org>
7413 * lyxgluelength.h: no need to forward declare BufferParams
7414 or BufferView, so don't.
7416 2002-10-21 John Levon <levon@movementarian.org>
7418 * BufferView.C: menuUndo ->undo, redo
7420 * BufferView.h: document, remove dead, make some methods private
7422 * paragraph_funcs.h:
7423 * paragraph_funcs.C:
7424 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7429 * sgml.C: move sgml open/close tag into sgml.C
7431 * bufferview_funcs.h: unused prototype
7434 * lyxfunc.C: remove unused
7437 * text.C: remove unused
7439 2002-10-21 John Levon <levon@movementarian.org>
7443 * BufferView_pimpl.h:
7444 * BufferView_pimpl.C: fix mouse wheel handling based on
7445 patch from Darren Freeman
7447 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
7449 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7451 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
7453 * lyxlength.C (inPixels): Fix hanfling of negative length.
7454 Fix LyXLength::MU case.
7456 2002-10-16 John Levon <levon@movementarian.org>
7458 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7460 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7462 * converter.C (view): add support for $$i (file name) and $$p
7463 (file path) for the viewer command. If $$i is not specified, then
7464 it is appended to the command (for compatibility with old syntax)
7466 2002-10-14 Juergen Vigna <jug@sad.it>
7468 * undo_funcs.C (textHandleUndo): alter the order in which the
7469 new undopar is added to the LyXText, as we have to set first
7470 the right prev/next and then add it as otherwise the rebuild of
7471 LyXText is not correct. Also reset the cursor to the right paragraph,
7472 with this IMO we could remove the hack in "redoParagraphs()".
7474 2002-10-09 Angus Leeming <leeming@lyx.org>
7476 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7477 to turn off an optimisation if a new inset is to be inserted.
7479 2002-10-11 André Pönitz <poenitz@gmx.net>
7481 * lyxtext.h: make some functions public to allow access
7482 from inset/lyxtext for handling LFUN_PRIOR/NEXT
7484 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7486 * text3.C (dispatch): when changing layout, avoid an infinite loop
7489 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7491 * lyxrc.C (read): treat a viewer or converter command of "none" as
7494 * MenuBackend.C (expandFormats): for an update, also allow the
7495 formats that are not viewable
7497 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7498 script if it is newer than the lyxrc.defaults in user directory
7500 2002-10-07 André Pönitz <poenitz@gmx.net>
7502 * text.C: Vitaly Lipatov's small i18n fix
7504 2002-09-25 Angus Leeming <leeming@lyx.org>
7506 * ispell.h: doxygen fix.
7508 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
7510 * buffer.h (readFile): Add a new argument to the method, to allow
7511 reading of old-format templates.
7513 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
7515 * toc.C (getTocList): Get TOC from InsetWrap.
7517 2002-09-16 John Levon <levon@movementarian.org>
7519 * lyxfunc.C: check tabular for cut/copy too
7521 2002-09-12 John Levon <levon@movementarian.org>
7526 * factory.C: add header
7528 * paragraph_funcs.h:
7529 * paragraph_funcs.C: cleanup
7531 2002-09-11 John Levon <levon@movementarian.org>
7533 * PrinterParams.h: odd/even default to true
7535 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
7537 * PrinterParams.h: update printer parameters for new xforms dialog
7539 2002-09-11 Angus Leeming <leeming@lyx.org>
7541 * lyxserver.C (read_ready): re-write to make it more transparent
7542 and to make it work in coherent fashion under Tru64 Unix.
7544 2002-09-11 André Pönitz <poenitz@gmx.net>
7548 * text3.C: implement LFUN_WORDSEL
7550 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7552 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7553 make floatlist_ a boost::shared_ptr<FloatList>
7555 * lyxtextclass.C: include FloatList.h
7556 (LyXTextClass): initialize floatlist_
7557 (TextClassTags): add TC_NOFLOAT
7558 (Read): match "nofloat" to TC_NOFLOAT and use it.
7559 (readFloat): modify call to floatlist_
7563 * FloatList.[Ch] (FloatList): remove commented out float
7565 (erase): new function
7567 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7569 * MenuBackend.C (expandToc): fix crash when there is no document
7572 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
7574 * many files: Add insetwrap.
7576 2002-09-09 John Levon <levon@movementarian.org>
7578 * text2.C: remove confusing and awkward depth wraparound
7580 2002-09-09 John Levon <levon@movementarian.org>
7582 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7585 * buffer.C: remove getIncludeonlyList()
7588 * lyxfunc.C: remove headers
7590 2002-09-09 Juergen Vigna <jug@sad.it>
7592 * text.C (getColumnNearX): fix form Michael this is most
7593 probably a cut&paste bug.
7595 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7597 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7599 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7600 references, ws changes.
7602 * text2.C (init): update counters after init
7603 (insertParagraph): no need to set counter on idividual paragraphs.
7604 (setCounter): access the counters object in the textclass object
7605 on in the buffer object.
7606 (updateCounters): ditto
7608 * lyxtextclass.C: include counters.h, add variable ctrs_ as
7609 shared_ptr<Counters> to avoid loading counters.h in all
7611 (LyXTextClass): initialize ctrs_
7612 (TextClassTags): add TC_COUNTER, and ...
7613 (Read): use it here.
7614 (CounterTags): new tags
7615 (readCounter): new function
7616 (counters): new funtion
7617 (defaultLayoutName): return a const reference
7619 * counters.C (Counters): remove contructor
7620 (newCounter): remove a couple of unneeded statements.
7621 (newCounter): simplify a bit.
7622 (numberLabel): some small formatting changes.
7624 * buffer.[Ch]: remove all traces of counters, move the Counters
7625 object to the LyXTextClass.
7627 2002-09-06 Alain Castera <castera@in2p3.fr>
7629 * tabular.C: uses \tabularnewline; uses >{...} construct from array
7630 package to set the horizontal alignment on fixed width columns.
7633 * lyx_sty.h: added tabularnewline macro def.
7635 * LaTeXFeatures.C: added NeedTabularnewline macro feature
7637 2002-09-06 John Levon <levon@movementarian.org>
7639 * LyXAction.C: tooltips for sub/superscript
7641 * MenuBackend.C: a bit more verbose
7643 * lyxfunc.C: tiny clean
7645 * undo_funcs.C: document undo_frozen
7647 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7649 * counters.C (Counters): add missing algorithm counter.
7651 * text2.C (setCounter): lookup the counter with layouts latexname
7652 instead of by section number.
7653 (setCounter): use a hackish way to lookup the correct enum
7655 a float name->type change
7656 reset enum couners with counter name directly instead of depth value.
7658 * counters.C (Counters): remove the push_backs, change to use the
7659 float type not the float name.
7660 (labelItem): remove unused string, float name->type change
7662 * counters.h: don't include vector, loose the enums and sects vectors
7664 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7666 * lyxtextclass.C (TextClassTags): add TC_FLOAT
7667 (Read): add float->TC_FLOAT to textclassTags
7668 (Read): and handle it in the switch
7669 (readFloat): new function
7671 * FloatList.C (FloatList): comment out the hardcoded float
7674 * lyxlayout.h: ws change.
7676 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
7678 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7680 2002-09-03 Angus Leeming <leeming@lyx.org>
7682 * BufferView_pimpl.h: qualified name is not allowed in member
7683 declaration: WorkArea & Pimpl::workarea() const;
7685 * factory.C: added using std::endl directive.
7687 * text3.C: added using std::find and std::vector directives.
7689 2002-08-29 André Pönitz <poenitz@gmx.net>
7692 * text2.C: remove unused member number_of_rows
7695 * BufferView2.C: remove file, move contents to...
7696 * BufferView.C: ... here
7698 * BufferView_pimpl.C:
7699 * factory.C: move more inset creation to factory
7701 * vspace.C: avoid direct usage of LyXText, ws changes
7704 don't provide direct access to WorkArea, use two simple
7705 acessors haveSelction() and workHeight() instead
7708 2002-08-29 John Levon <levon@movementarian.org>
7710 * BufferView_pimpl.C (dispatch): do not continue when
7713 2002-08-28 André Pönitz <poenitz@gmx.net>
7715 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7718 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7720 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
7722 * buffer.C: increment LYX_FORMAT to 221
7724 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7725 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7727 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7729 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7731 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7733 * factory.C (createInset): use LyXTextClass::floats
7735 * MenuBackend.C (expandFloatListInsert):
7736 (expandFloatInsert):
7739 * text2.C (setCounter):
7741 * LaTeXFeatures.C (useFloat):
7742 (getFloatDefinitions):
7744 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7746 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7747 floatlist_, with accessor floats().
7749 * FloatList.h: remove global FloatList
7751 2002-08-26 André Pönitz <poenitz@gmx.net>
7753 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7757 * BufferView_pimpl.C:
7758 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7760 2002-08-25 John Levon <levon@movementarian.org>
7762 * LyXAction.C: fix margin note description
7764 2002-08-24 John Levon <levon@movementarian.org>
7768 * bufferview_funcs.C:
7770 * undo_funcs.C: cleanups
7772 * lyxfunc.C: disable CUT/COPY when no selection
7774 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
7776 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7777 in "enum UNIT"; e.g. PTW for Percent of TextWidth
7779 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7780 Add backward compatibility to "mono", "gray" and "no".
7782 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
7784 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7785 (and file_format >= 200).
7787 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7789 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7791 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7793 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7795 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
7797 * BufferView_pimpl.C:
7804 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7805 inset and code to make it work with the paragraph code. The inset
7806 can be anywhere in the paragraph, but will only do the expected
7807 thing in LaTeX if the layout file contains the parameter line
7809 (or more generally, a nonzero value) for that layout.
7811 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7813 * paragraph.h: remove the declaration of undefined counters class
7816 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
7818 * text2.C (setCounter): fixed enumeration mis-count as reported by
7819 Dr. Richard Hawkins.
7821 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7823 * paragraph_funcs.h: remove some unneeded includes
7825 * text.C (backspace): pasteParagraph now in global scipe
7827 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7828 (pasteSelection): ditto
7830 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7831 * paragraph_funcs.C (pasteParagraph): ... here
7833 2002-08-20 André Pönitz <poenitz@gmx.net>
7835 * commandtags.h: new LFUNs for swapping/copying table row/colums
7838 * lyxfunc.C: support for new lfuns
7840 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7843 * buffer.[Ch]: remove NO_COMPABILITY stuff
7845 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
7847 * boost.C (throw_exception): new file, with helper function for
7848 boost compiled without exceptions.
7853 * ParameterStruct.h:
7854 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7856 * bufferlist.C (emergencyWriteAll): use boost bind
7858 * BufferView_pimpl.C (moveCursorUpdate): remove inline
7860 * text.C: include paragraph_funcs.h
7861 (breakParagraph): breakParagraph is now in global scope
7863 * paragraph_funcs.[Ch]: new files
7865 * paragraph.C (breakParagraph,breakParagraphConservative): move to
7868 * buffer.C: include paragraph_funcs.h
7869 (insertStringAsLines): breakParagraph is now in global scope
7871 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7874 * CutAndPaste.C: include paragraph_funcs.h
7875 (cutSelection): breakParagraphConservative is now in global scope
7876 (pasteSelection): ditto
7878 * buffer.h: declare oprator== and operator!= for
7879 Buffer::inset_iterator
7881 * bufferlist.C (emergencyWrite): don't use fmt(...)
7883 * text3.C: add using std::endl
7885 * BufferView.C (moveCursorUpdate): remove default arg
7887 2002-08-20 André Pönitz <poenitz@gmx.net>
7889 * buffer.[Ch]: move inline functions to .C
7892 * BufferView_pimpl.C:
7894 * buffer.[Ch]: use improved inset_iterator
7897 * paragraph.[Ch]: write one paragraph at a time
7899 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
7901 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7902 style if style is not specified.
7904 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7906 * text2.C (setCounter): when searching for right label for a
7907 caption, make sure to recurse to parent insets (so that a caption
7908 in a minipage in a figure float works) (bug #568)
7910 2002-08-20 André Pönitz <poenitz@gmx.net>
7912 * text3.C: new file for LyXText::dispatch() and helpers
7914 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7916 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7918 2002-08-19 André Pönitz <poenitz@gmx.net>
7921 * text.C: new LyXText::dispatch()
7923 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7925 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
7927 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7929 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7932 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7934 * Makefile.am: use $(variables) instead of @substitutions@
7936 2002-08-15 André Pönitz <poenitz@gmx.net>
7939 * BufferView_pimpl.C: streamlining mathed <-> outer world
7943 * LyXAction.C: remove unused LFUN_MATH
7945 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7947 * paragraph.[Ch]: add some NO_NEXT ifdefs.
7949 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7951 * paragraph.C (Paragraph): reformat a bit
7952 (cutIntoMinibuffer): use builtin InsetList function instad of
7956 * buffer.C: include boost/bind.hpp, add using std::for_each
7957 (writeFileAscii): use ParagraphList iterators
7958 (validate): use for_each for validate traversal of paragraphs
7959 (getBibkeyList): use ParagraphList iterators
7960 (resizeInsets): use for_each to resizeInsetsLyXText for all
7962 (getParFromID): use ParagraphList iterators
7964 * BufferView2.C (lockInset): use paragraph list and iterators
7966 2002-08-14 John Levon <levon@movementarian.org>
7968 * lyxserver.C: remove spurious xforms include
7970 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7972 * lyxfunc.C (getStatus): disable math-extern outside of math mode
7974 2002-08-13 André Pönitz <poenitz@gmx.net>
7977 * lyxfunc.C: further cleaning
7979 2002-08-13 André Pönitz <poenitz@gmx.net>
7981 * funcrequest.h: new constructor
7983 * funcrequest.C: move stuff here from .h
7986 * BufferView_pimpl.C:
7989 * lyxfunc.C: subsequent changes
7991 * lyxfunc.h: new view() member function
7993 * lyxfunc.C: subsequent changes
7995 2002-08-13 Angus Leeming <leeming@lyx.org>
7998 * BufferView_pimpl.C:
8006 changes due to the changed LyXView interface that now returns references
8007 to member variables not pointers.
8009 2002-08-13 Angus Leeming <leeming@lyx.org>
8011 * WordLangTuple (word, lang_code): return references to strings,
8016 * lyxtext.h: forward-declare WordLangTuple.
8021 * text.C: #include "WordLangTuple.h".
8024 * text.C: (selectNextWordToSpellcheck): constify return type.
8026 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
8032 * paragraph_pimpl.h:
8035 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8037 Made updateCounter always count from start of buffer, and removed
8038 second argument (par).
8039 Reverted floats number display to '#'. Perhaps I'll try again when the
8040 code base is sanitized a bit.
8042 2002-08-12 Angus Leeming <leeming@lyx.org>
8044 * buffer.[Ch] (getLabelList): constify.
8046 2002-08-07 André Pönitz <poenitz@gmx.net>
8048 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8050 * funcrequest.h: extension to keep mouse (x,y) position
8052 2002-08-12 Juergen Vigna <jug@sad.it>
8054 * BufferView2.C (insertErrors): forbid undo when inserting error
8057 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8059 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8061 * ParagraphList.[Ch]: new files
8063 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8065 * BufferView2.C (lockInset): ParagraphList changes
8068 * bufferlist.C: ditto
8072 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8074 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8075 unused class variable counter_,
8077 * paragraph.[Ch] (getFirstCounter): delete unused function
8079 * counters.C: include LAssert.h
8080 (reset): add a new function with no arg, change other version to
8081 not have def. arg and to not allow empty arg.
8083 * text2.C (setCounter): remove empty arg from call to Counters::reset
8085 2002-08-11 John Levon <levon@movementarian.org>
8087 * Makefile.am: add WordLangTuple.h
8089 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8091 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8092 lyxfunc.C lyxlex_pimpl.C: ws changes only.
8094 * insets/insettext.C: InsetList changes
8096 * graphics/GraphicsSupport.C (operator()): InsetList changes
8098 * toc.C (getTocList): InsetList changes
8100 * paragraph_pimpl.[Ch]: InsetList changes
8102 * paragraph.[Ch]: InsetList changes
8104 * buffer.C (inset_iterator): InsetList changes
8105 (setParagraph): ditto
8106 * buffer.h (inset_iterator): ditto
8107 * iterators.C (operator++): ditto
8108 * iterators.h: ditto
8110 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8112 * InsetList.[Ch]: new files, most InsetList handling moved out of
8115 * BufferView2.C (removeAutoInsets): InsetList changes
8117 (ChangeInsets): ditto
8119 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8121 * paragraph_pimpl.h (empty): new function
8123 * paragraph.[Ch] (empty): new function
8125 * other files: use the new Paragraph::empty function
8127 2002-08-09 John Levon <levon@movementarian.org>
8129 * lyxtext.h: remove unused refresh_height
8131 2002-08-09 John Levon <levon@movementarian.org>
8138 * paragraph.C: move sgml char escaping out of paragraph
8141 * paragraph.C: remove id setter
8145 * paragraph_pimpl.C: remove dead tex_code_break_column
8147 * bufferview_funcs.C: small cleanup
8149 * lyxfunc.C: remove dead proto
8151 * lyxtext.h: make some stuff private. Remove some dead stuff.
8153 * lyxgluelength.C: make as[LyX]String() readable
8155 2002-08-08 John Levon <levon@movementarian.org>
8160 * ToolbarDefaults.C:
8163 * toc.C: lyxaction cleanup
8165 2002-08-08 John Levon <levon@movementarian.org>
8167 * BufferView2.C: small cleanup
8170 * lyxfind.C: move unnecessary header into the .C
8172 2002-08-08 John Levon <levon@movementarian.org>
8174 * funcrequest.h: just tedious nonsense
8177 * lyx_main.C: cleanups
8180 * vspace.C: remove dead header lyx_main.h
8182 2002-08-07 Angus Leeming <leeming@lyx.org>
8185 * paragraph_pimpl.h:
8186 Forward declare class Counters in paragraph.h by moving the ctrs member
8187 variable into Paragraph::Pimpl.
8188 (counters): new method, returning a reference to pimpl_->ctrs.
8190 * text2.C: ensuing changes.
8192 2002-08-07 John Levon <levon@movementarian.org>
8194 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8196 * BufferView_pimpl.C: announce X selection on double/triple
8199 * lyx_main.C: use correct bool in batch dispatch
8201 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8203 2002-08-07 André Pönitz <poenitz@gmx.net>
8205 * funcrequest.h: new class to wrap a kb_action and its argument
8208 * BufferView_pimpl[Ch]:
8212 * lyxrc.C: subsequent changes
8215 2002-08-07 John Levon <levon@movementarian.org>
8217 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8218 document options change.
8220 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8225 * makefile.am: move counters functionality over from
8226 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8228 2002-08-06 John Levon <levon@movementarian.org>
8230 * WordLangTuple.h: new file for word + language code tuple
8241 * BufferView2.C: use WordLangTuple
8244 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8246 2002-08-06 John Levon <levon@movementarian.org>
8248 * lyx_main.C: fix cmdline batch handling
8250 2002-08-06 André Pönitz <poenitz@gmx.net>
8252 * lyxrc.C: set default for show_banner to true
8254 2002-08-06 John Levon <levon@movementarian.org>
8256 * pspell.C: fix a crash, and allow new aspell to work
8258 2002-08-06 John Levon <levon@movementarian.org>
8261 * kbmap.C: small cleanup
8264 * vspace.C: add const
8266 2002-08-05 John Levon <levon@movementarian.org>
8268 * LyXAction.C: back to tabular-insert
8270 2002-08-04 John Levon <levon@movementarian.org>
8273 * BufferView.C: cosmetic change
8275 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8285 * BufferView2.C: purge all "Lyx" not "LyX" strings
8288 * lyxcursor.C: attempt to add some documentation
8293 * ToolbarDefaults.C:
8294 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8295 merge with LFUN_TABULAR_INSERT
8302 * pspell.C: split up i/pspell implementations into separate
8303 files, many cleanups
8305 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8307 * text2.C: some cleanup
8309 * lyxfunc.C: don't check for isp_command == "none" any more, it
8310 didn't make any sense
8312 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8317 * makefile.am: move counters functionality over
8318 from text2.C/paragraph.[Ch] to counters.[Ch], and
8320 2002-08-02 John Levon <levon@movementarian.org>
8322 * buffer.C: s/lyxconvert/lyx2lyx/
8324 2002-08-02 Angus Leeming <leeming@lyx.org>
8326 * lyxlex.C: revert John's change as it breaks reading of the user
8329 2002-08-02 Angus Leeming <leeming@lyx.org>
8331 * importer.C (Import):
8332 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8333 changes due to LyXView::view() now returning a boost::shared_ptr.
8335 2002-08-02 John Levon <levon@movementarian.org>
8337 * lyxlex.C: small cleanup
8339 2002-08-02 John Levon <levon@movementarian.org>
8341 * text2.C (status): small cleanup, no logic change
8343 2002-08-01 John Levon <levon@movementarian.org>
8346 * buffer.C (writeFile): don't output alerts, caller
8350 * lyx_cb.C: from above
8352 * lyxfunc.C: allow to open non-existent files
8354 2002-07-31 John Levon <levon@movementarian.org>
8356 * lyxserver.C: don't let incidental errors get
8359 2002-07-30 John Levon <levon@movementarian.org>
8361 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8363 2002-07-30 John Levon <levon@movementarian.org>
8366 * lyxserver.C: remove I/O callback too
8368 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8370 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8373 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8375 * many files: strip,frontStrip -> trim,ltrim,rtrim
8377 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8379 * PrinterParams.h: remove extern containsOnly, and include
8380 support/lstrings.h instead.
8382 * LaTeX.C (scanAuxFile): modify because of strip changes
8384 * buffer.C (makeLaTeXFile): ditto
8385 * bufferparams.C (writeFile): ditt
8386 * lyxfont.C (stateText): ditto
8387 * lyxserver.C (read_ready): ditto
8388 * vc-backend.C (scanMaster): ditto
8390 * BufferView_pimpl.h: ws changes
8392 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8394 2002-07-26 André Pönitz <poenitz@gmx.net>
8396 * kb_sequence.C: remove unnedred usings
8398 2002-07-26 Juergen Vigna <jug@sad.it>
8400 * lyxfind.C (LyXReplace): we have to check better if the returned
8401 text is not of theLockingInset()->getLockingInset().
8403 2002-07-25 Juergen Vigna <jug@sad.it>
8405 * lyxfind.C (LyXReplace): don't replace if we don't get the
8408 * undo_funcs.C (createUndo): remove debugging code.
8410 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
8412 * buffer.C (parseSingleLyXformat2Token): Use default placement
8413 when reading old floats.
8415 * FloatList.C (FloatList): Change the default placement of figure
8416 and tables to "tbp".
8418 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
8420 * MenuBackend.C: using std::max
8422 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8424 * MenuBackend.C (expandToc):
8425 (expandToc2): code moved from xforms menu frontend. It is now
8426 generic and TOCs are transparent to menu frontends.
8428 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8430 * toc.C (getTocList): protect against buf=0
8432 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8433 Menu as first parameter. Now, this calls itself recursively to
8434 expand a whole tree (this will be useful for TOC handling)
8435 (expandFloatInsert): remove 'wide' version of floats
8437 * MenuBackend.h (submenuname): returns the name of the submenu.
8438 (submenu): returns the submenu itself, provided it has been
8439 created by MenuBackend::expand
8441 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8443 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8444 insets which have noFontChange == true. (bug #172)
8446 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8448 * BufferView_pimpl.C: add connection objects and use them...
8451 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8453 * MenuBackend.C (expandLastfiles):
8456 (expandFloatListInsert):
8457 (expandFloatInsert):
8458 (expand): split expand in parts
8460 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8462 * lyx_gui.C: use lyx_gui::exit()
8464 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8466 * LyXAction.C: show the failing pseudo action
8468 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
8470 * buffer.C (readFile): Run the lyxconvert script in order to read
8473 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8477 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8479 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8483 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8485 2002-07-22 Herbert Voss <voss@lyx.org>
8488 * lyxlength.[Ch]: add support for the vertical lengths
8490 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
8492 * toc.[Ch]: std:: fixes
8494 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8496 * lyxrc.C: do not include lyx_main.h
8498 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8504 * BufferView2.C: include "lyxlex.h"
8507 * bufferparams.h: do not #include "lyxlex.h"
8509 * lyxtextclasslist.C (Add): remove method
8510 (classlist): renamed to classlist_
8512 * paragraph_pimpl.C:
8516 * bufferview_funcs.C:
8521 * toc.C (getTocList): use BufferParams::getLyXTextClass
8523 * toc.C (getTocList): use InsetFloat::addToToc
8525 * toc.[Ch]: new files, containing helper functions to handle table
8528 * lyxfunc.C (dispatch): no need to remove spaces around command
8530 (getStatus): handle LFUN_SEQUENCE by returning the status of the
8531 first command of the sequence; it is not very clever, but I do not
8532 have a better idea, actually
8534 * LyXAction.C (LookupFunc): make sure to remove space at the
8535 beginning and end of the command
8537 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8539 * MenuBackend.C (getMenubar): new method: return the menubar of
8541 (read): treat differently reading of menu and menubar (in
8542 particular, the menubar has no name now)
8543 (Menu::menubar): remove
8545 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8548 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8550 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8551 a bibitem inset in a RTL paragraph.
8553 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
8555 * paragraph_pimpl.C: constify
8557 * BufferView_pimpl.C:
8559 * lyxfunc.C: fix dispatch in a nicer way
8561 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8563 * lyxfunc.C (dispatch):
8564 * BufferView_pimpl.C:
8565 * BufferView_pimpl.h:
8567 * BufferView.h: rename Dispatch() to dispatch()
8569 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8571 * lyxlayout.C (Read): honor DependsOn tag
8573 * lyxlayout.[Ch] (depends_on): new method
8575 * version.C.in: update lyx_docversion
8577 * LaTeXFeatures.C (getMacros): only define \LyX when needed
8579 * paragraph.C (validate): remove from here...
8580 * paragraph_pimpl.C (validate): ... and move here
8581 (isTextAt): make it const
8583 * buffer.C (getLists): ws cleanup
8585 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8587 * language.C (read): Use iso8859-1 encoding in latex_lang
8588 (this prevents LyX from crashing when using iso10646-1 encoding).
8590 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8592 * text2.C (toggleInset): if cursor is inside an inset, close the
8593 inset and leave cursor _after_ it
8595 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8597 * lyxfunc.C: move minibuffer completion handling out of here
8599 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8601 * BufferView_pimpl.C:
8602 * LaTeX.C: fix dispatch calls
8604 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
8606 * text.C (drawChars): Fix Arabic text rendering.
8608 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
8612 * lyxfunc.C: remove message-push/pop
8616 * lyxfunc.C: rationalise some code by removing verboseDispatch
8617 in favour of a bool argument to dispatch()
8619 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8621 * lyx_main.C (init): make sure to read symlinks as absolute paths
8623 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8626 * lyxfunc.C: no need for commandshortcut to be a member
8628 2002-07-15 André Pönitz <poenitz@gmx.net>
8630 * converter.C: add support for $$s (scripts from lib/scripts dir)
8631 * lyx_main.C: white space
8633 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8637 * lyxrc.C: remove second exit confirmation
8639 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8644 * BufferView_pimpl.h:
8645 * BufferView_pimpl.C:
8646 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8648 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8650 * MenuBackend.C (expand): add numeric shortcuts to document menu
8652 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8654 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8656 * lyxfont.C (setLyXFamily):
8663 * buffer.C (asciiParagraph): use ascii_lowercase
8665 2002-07-15 Mike Fabian <mfabian@suse.de>
8667 * lyxlex_pimpl.C (search_kw):
8668 * lyxlex.C (getLongString):
8669 * converter.h (operator<):
8670 * converter.C (operator<):
8671 * buffer.C (parseSingleLyXformat2Token):
8673 * ToolbarDefaults.C (read):
8674 * MenuBackend.C (checkShortcuts):
8676 * LColor.C (getFromGUIName):
8677 (getFromLyXName): use the compare_ascii_no_case instead of
8678 compare_no_case, because in turkish, 'i' is not the lowercase
8679 version of 'I', and thus turkish locale breaks parsing of tags.
8681 2002-07-16 Angus Leeming <leeming@lyx.org>
8683 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8684 now takes a Buffer const & argument.
8686 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
8688 * BufferView.C (resize): check there's a buffer to resize
8690 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
8692 * lyxfunc.C: remove dead code
8695 * lyxserver.C: use lyx_guii::set_read_callback
8697 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
8699 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8700 an inset in a RTL paragraph.
8702 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8704 * lyxfunc.C: repaint after a font size update
8706 2002-07-15 André Pönitz <poenitz@gmx.net>
8708 * lyxlength.C: inBP should be able to return negative values
8710 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8712 * lyxfunc.C: use lyx_gui::update_fonts()
8714 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8716 * lyxfunc.C: use lyx_gui::update_color()
8718 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8724 * lyxrc.C: remove file->new asks for name option, and let
8725 buffer-new take an argument
8727 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8729 * BufferView_pimpl.C: remove unneeded extra repaint()
8731 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
8733 * LyXAction.C: allow command-sequence with NoBuffer
8735 * lyxfunc.C: don't insist on trailing ';' for command-sequence
8737 2002-07-10 Angus Leeming <leeming@lyx.org>
8739 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8741 2002-07-09 Angus Leeming <leeming@lyx.org>
8743 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8745 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8747 * lengthcommon.h: whitespace
8749 * lyxfunc.C: update scrollbar after goto paragraph
8751 * lyxtext.h: factor out page break drawing, and fix it so
8752 page break/added space paints as selected nicely
8754 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8756 * BufferView_pimpl.C: add FIXMEs, clean up a little
8758 2002-07-09 André Pönitz <poenitz@gmx.net>
8760 * lyxfont.[Ch]: support for wasy symbols
8762 2002-07-08 André Pönitz <poenitz@gmx.net>
8764 * BufferView_pimpl.C: apply John's patch for #93.
8766 2002-07-05 Angus Leeming <leeming@lyx.org>
8768 * BufferView_pimpl.C (buffer): generate previews if desired.
8770 * LColor.h: add "preview" to the color enum.
8772 * LColor.C (LColor): add a corresponding entry to the items array.
8774 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8777 2002-07-05 Angus Leeming <leeming@lyx.org>
8779 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8780 The body of the code is now in the method that is passed an ostream &
8781 rather than a file name.
8782 Pass an additional only_preamble parameter, useful for the forthcoming
8785 2002-07-03 André Pönitz <poenitz@gmx.net>
8787 * lyxfunc.C: simplify getStatus() a bit for math stuff
8789 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8791 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8793 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8795 * text.C (changeRegionCase): do not change case of all the
8796 document when region ends at paragraph end (bug #461)
8798 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8800 * paragraph.C (startTeXParParams):
8801 (endTeXParParams): add \protect when necessary
8803 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8805 * BufferView_pimpl.C (workAreaExpose): remove warning
8807 2002-06-27 Angus Leeming <leeming@lyx.org>
8809 * Makefile.am: add lyxlayout_ptr_fwd.h.
8811 2002-06-26 André Pönitz <poenitz@gmx.net>
8813 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8815 2002-06-25 Angus Leeming <leeming@lyx.org>
8817 * lyxfunc.C (dispatch): Comment out the call to
8818 grfx::GCache::changeDisplay. The method no longer exists now that the
8819 pixmap generation part of the graphics loader has been moved into
8822 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8824 * text2.C: layout as layout
8826 * text.C: layout as layout
8828 * tabular.C (OldFormatRead): layout as layout
8830 * paragraph_pimpl.C (TeXDeeper): layout as layout
8831 (realizeFont): layout as layout
8833 * paragraph.C (writeFile): layout as layout
8834 (validate): layout as layout
8835 (getFont): layout as layout
8836 (getLabelFont): layout as layout
8837 (getLayoutFont): layout as layout
8838 (breakParagraph): layout as layout
8839 (stripLeadingSpaces): layout as layout
8840 (getEndLabel): layout as layout
8841 (getMaxDepthAfter): layout as layout
8842 (applyLayout): layout as layout
8843 (TeXOnePar): layout as layout
8844 (simpleTeXOnePar): layout as layout
8845 (TeXEnvironment): layout as layout
8846 (layout): layout as layout
8847 (layout): layout as layout
8849 * lyxtextclass.C (compare_name): new functor to work with
8850 shared_ptr, layout as layout
8851 (Read): layout as layout
8852 (hasLayout): layout as layout
8853 (operator): layout as layout
8854 (delete_layout): layout as layout
8855 (defaultLayout): layout as layout
8857 * lyxlayout_ptr_fwd.h: new file
8859 * lyxlayout.C (Read): layout as layout
8861 * lyx_cb.C (MenuInsertLabel): layout as layout
8863 * bufferlist.C (newFile): layout as layout
8865 * buffer.C (readLyXformat2): layout as layout
8866 (parseSingleLyXformat2Token): layout as layout
8867 (insertStringAsLines): layout as layout
8868 (asciiParagraph): layout as layout
8869 (latexParagraphs): layout as layout
8870 (makeLinuxDocFile): layout as layout
8871 (simpleLinuxDocOnePar): layout as layout
8872 (makeDocBookFile): layout as layout
8873 (simpleDocBookOnePar): layout as layout
8874 (getLists): layout as layout
8876 * LaTeXFeatures.C (getTClassPreamble): layout as layout
8878 * CutAndPaste.C (cutSelection): layout as layout
8879 (pasteSelection): layout as layout
8880 (SwitchLayoutsBetweenClasses): layout as layout
8882 * BufferView_pimpl.C (Dispatch): layout as layout
8883 (smartQuote): layout as layout
8885 * BufferView2.C (unlockInset): layout as layout
8887 2002-06-24 André Pönitz <poenitz@gmx.net>
8889 * lyxfunc.C: fix #487
8891 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8895 * lyxfunc.C: remove display_shortcuts, show_banner
8897 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8899 * Buffer_pimpl.C: oops, update on resize
8901 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8908 * BufferView.C: use repaint()
8910 * BufferView_pimpl.h:
8911 * BufferView_pimpl.C: s/updateScreen()/repaint()/
8912 as it's a clearer description. Remove superfluous
8915 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8917 * text.C: fix bug 488. Not ideal, but getting
8918 getWord() to work properly for the insets that
8919 matter is more difficult ...
8921 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8923 * BufferView_pimpl.C:
8926 * lyxfunc.C: remove the six million index lyxfuncs to just
8927 one, and DTRT (bug 458)
8929 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8933 * BufferView_pimpl.h:
8934 * BufferView_pimpl.C: clean up resize() stuff,
8935 and unnecessary updateScreen()s
8937 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8941 * BufferView_pimpl.h:
8942 * BufferView_pimpl.C:
8945 * minibuffer.C: remove focus management of workarea,
8946 not needed. Use screen's greyOut()
8948 2002-06-17 Herbert Voss <voss@lyx.org>
8950 * converter.C: (convert) do not post a message, when converting
8951 fails, let the calling function decide what to do in this case
8953 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
8955 * lyxfunc.C: tidy up a little
8957 2002-06-16 <alstrup@diku.dk>
8959 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8960 Got rid of FORMS_H_LOCATION include. Now we are
8963 2002-06-15 LyX Development team <lyx@rilke>
8965 * buffer.[Ch] (sgmlOpenTag):
8966 (sgmlCloseTag): Added support for avoiding pernicious mixed
8967 content. Return number of lines written.
8970 (makeDocBookFile): Fixed calls to sgml*Tag.
8971 Simple white space clean.
8973 (simpleDocBookOnePar): Simple white space clean.
8975 * tabular.[Ch] (docBook): Renamed to docbook and got another
8976 argument to related with the pernicious mixed content.
8978 (docbookRow): Fixed calls for docbook inset method.
8980 2002-06-15 Lyx Development team <larsbj@birdstep.com>
8982 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8983 so it's X11 independent.
8987 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8989 2002-06-15 Lyx Development team <lyx@electronia>
8991 * intl.h: Renamed getTrans to getTransManager.
8993 2002-06-14 Angus Leeming <leeming@lyx.org>
8995 * Makefile.am: nuke forgotten stl_string_fwd.h.
8997 2002-06-12 Angus Leeming <leeming@lyx.org>
8999 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9001 2002-06-13 Angus Leeming <leeming@lyx.org>
9004 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9006 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
9008 * kbmap.C (getiso): add support for cyrillic and greek
9010 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9014 * BufferView_pimpl.h:
9015 * BufferView_pimpl.C: move bogus scrolling logic
9018 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9021 * BufferView_pimpl.C: view->resize() change
9023 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9025 * BufferView_pimpl.C: topCursorVisible
9028 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9032 * lyx_gui.C: move to frontends/
9036 * lyx_main.C: changes from above
9038 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9045 * lyx_main.C: minor tidy
9047 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9049 * BufferView_pimpl.h:
9050 * BufferView_pimpl.C:
9052 * BufferView.C: make painter() const,
9055 * BufferView2.C: use screen() accessor
9058 * lyx_main.C: some minor cleanup
9060 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9062 * BufferView_pimpl.h:
9063 * BufferView_pimpl.C: remove enter/leaveView,
9066 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9071 * BufferView_pimpl.h:
9072 * BufferView_pimpl.C: only construct screen once,
9075 * lyxrc.C: remove pointless comment
9077 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9080 * BufferView.C: remove active() and belowMouse()
9082 * BufferView_pimpl.h:
9083 * BufferView_pimpl.C: use workarea() not workarea_,
9084 and make it use a scoped_ptr instead
9086 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9088 * lyx_gui.C: add debug message on BadWindow
9090 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9092 * sp_spell.C: fdopen is not part of the C++ standard.
9094 * paragraph.C (InsetIterator): use >= instead of ==
9096 2002-06-07 Angus Leeming <leeming@lyx.org>
9098 Fixes needed to compile with Compaq cxx 6.5.
9099 * BufferView_pimpl.C:
9106 * lyxtextclasslist.C:
9111 all c-library variables have been moved into namespace std. Wrap
9112 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9117 Add a using std::abs declaration.
9119 * kbmap.h (modifier_pair):
9120 * paragraph.h (InsetTable, InsetList):
9121 * lyxfont.h (FontBits):
9122 type definition made public.
9124 * bufferlist.C (emergencyWriteAll): the compiler complains that
9125 there is more than one possible lyx::class_fun template to choose from.
9126 I re-named the void specialisation as lyx::void_class_fun.
9128 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9130 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9131 the compiler is is unable to find tostr in write_attribute.
9133 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9135 * buffer.C (sgmlError): hide #warning
9137 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9139 * xtl/*: get rid of xtl, which is not in use anyway
9141 * LyXAction.C (init):
9142 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9143 were unimplemented xtl experimentation
9145 2002-06-04 André Pönitz <poenitz@gmx.net>
9147 * lyxfunc.C: disable array operation on simple formulae
9149 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
9151 * converter.C: constify a bit
9153 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
9155 * lyx_gui.C: check xforms version correctly
9157 2002-04-30 Herbert Voss <voss@lyx.org>
9159 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9162 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
9164 * lyxvc.C: fix bug 416 (make sure buffer is saved before
9165 attempt to register it with a VCS)
9167 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9169 * lyx_main.C (init): honor variables LYX_DIR_13x and
9172 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9176 * lyx_main.C: fix a crash on bad command line,
9177 and give a useful exit status on error
9179 * lyxfunc.C (doImport): allow -i lyx to work
9181 2002-03-30 André Pönitz <poenitz@gmx.net>
9183 * lyxfunc.C: mathed font changes
9185 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9200 * trans_mgr.h: srcdocs, and some minor cleanups
9202 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9204 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9205 call getFont all the time)
9207 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9209 * switch from SigC signals to boost::signals
9211 2002-05-29 André Pönitz <poenitz@gmx.net>
9213 * paragraph_pimpl.C (getChar): don't call size() too often...
9215 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9217 * paragraph_pimpl.C (insertChar): do not try to update tables when
9218 appending (pos == size())
9220 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9221 in order to reduce drastically the number of comparisons needed to
9222 parse a large document
9224 2002-05-29 André Pönitz <poenitz@gmx.net>
9230 * textclasslist.[Ch]:
9231 * sp_ispell.h: whitespace change
9233 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9235 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9236 lyxaction directly now.
9238 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
9242 * lyxvc.C: remove unused headers
9244 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9251 * undo_funcs.C: some cleanups. Use shared_ptr
9252 and a template for the undo stacks.
9254 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9256 * BufferView_pimpl.h:
9257 * BufferView_pimpl.C:
9264 * text2.C: use key_state/mouse_state
9266 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9268 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9271 * chset.C: change include order
9272 (loadFile): use boost regex and get rid of LRegex and LSubstring
9274 * Makefile.am (BOOST_LIBS): new variable
9277 * LaTeX.C: change include order.
9278 (scanAuxFile): use boost regex and get rid of LRegex and
9282 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9287 * FontInfo.C: moved to frontends/xforms/
9290 * FontLoader.C: moved into frontends for GUIIzation
9295 * lyxfunc.C: changes from above
9297 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9299 * LColor.C: remove spurious X include
9301 * BufferView_pimpl.C:
9306 * text2.C: move font metrics to frontends/
9308 2002-05-24 Juergen Vigna <jug@sad.it>
9310 * undo_funcs.C (textHandleUndo): fix the cursor selection after
9311 setting the undo_cursor.
9313 * ParagraphParameters.h: include local includes first.
9315 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9317 * BufferView_pimpl.C:
9318 * BufferView_pimpl.h:
9322 * screen.C: move WorkArea into frontends/
9328 * BufferView2.C: move LyXScreen into frontends/
9332 * lyx_gui.C: move lyxlookup into frontends/xforms/
9334 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9337 * BufferView_pimpl.C:
9347 * bufferview_funcs.C:
9360 * vc-backend.C: move LyX/XFormsView into frontends/
9362 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9374 * text2.C: move Painter to frontends/
9376 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9378 * buffer.C: comment out some some code that depend upon lyx_format
9381 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9382 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9384 * buffer.h (NO_COMPABILITY): turn off compability
9386 * ColorHandler.C: include scoped_array.hpp
9388 * font.C: Use more specific smart_ptr header.
9391 * ShareContainer.h: ditto
9395 * BufferView_pimpl.h: ditto
9396 * ColorHandler.h: ditto
9398 * kbmap.C (defkey): change call to shared_ptr::reset
9400 2002-05-21 Juergen Vigna <jug@sad.it>
9402 * buffer.C (insertErtContents): fix to insert ert asis if it is
9403 non empty. Skip it completely if it contains only whitespaces.
9405 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
9407 * BufferView_pimpl.C:
9408 * BufferView2.C: clear selection on paste (bug 393)
9410 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9412 * DepTable.C: include ctime
9414 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
9416 * buffer.C (latexParagraphs): Add new argument (moving_arg).
9418 2002-05-14 Juergen Vigna <jug@sad.it>
9420 * text.C (breakParagraph): fixed function to honor the keepempty
9421 layout in the right maner and also to permit the right breaking
9422 algorithm on empty or non empyt keepempty paragraphs.
9424 * paragraph.C (breakParagraph): we have to check also if the par
9425 is really empty (!size()) for isempty otherwise we do the wrong
9428 2002-05-10 Juergen Vigna <jug@sad.it>
9430 * buffer.[Ch] : The following are only changes to the ert
9431 compatibility read reading old LaTeX layout and font stuff and
9432 convert it to ERTInsets.
9434 * buffer.h: added isErtInset().
9436 * buffer.C (struct ErtComp): add a fromlayout bool to check
9437 if we're inside a LaTeX layout.
9438 (isErtInset): new helper function.
9439 (insertErtContents): look for other ert insets before this one
9440 and insert the contents there, so that we don't have subsequent
9441 ERT insets with nothing between them. This way we create only one
9442 inset with multiple paragraphs. Also check if we don't insert only
9443 spaces ' ' as they are ignored anyway afterwards in the .tex file
9444 so if we have only spaces we will ignore this latex part in the
9446 (parseSingleLyXformat2Token \\layout): better compatibility when
9447 reading layout-latex stuff.
9448 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9450 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9451 stuff after reading the inset only get the information back from
9454 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
9456 * buffer.C (makeLaTeXFile): Put language options after loading babel.
9458 * LaTeXFeatures.C (getBabelOptions): New method.
9460 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9462 * BufferView_pimpl.C (Dispatch): work around missing argument for
9465 2002-05-08 Juergen Vigna <jug@sad.it>
9467 * text.C (leftMargin): handle paragraph leftindent.
9469 * paragraph.C (writeFile): write the new \\leftindent tag.
9470 (validate): handle leftindent code.
9471 (TeXEnvironment): handle paragraphleftindent code again.
9473 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9475 * buffer.C (parseSingleLyXformat2Token): added compatibility code
9476 for paragrap_extra indent code and new token \\leftindent.
9477 (latexParagraphs): handle the leftindent as environment.
9479 * ParameterStruct.h: added leftindent support.
9481 * ParagraphParameters.C (leftIndent): added support functions for
9482 the paragraph left indent.
9484 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9487 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
9489 * paragraph.C (isRightToLeftPar): Return false for a paragraph
9492 * text.C (computeBidiTables): No bidi in insetERT.
9494 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9497 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9499 * version.C.in: pre 5
9501 2002-05-02 José Matos <jamatos@fep.up.pt>
9502 * buffer.C (makeDocBookFile): white space changes, add newline to
9504 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9506 * tabular.C (docBook): fix typo.
9508 2002-05-03 Juergen Vigna <jug@sad.it>
9510 * screen.C (drawFromTo): recalculate the rowpointer if we had a
9511 change in LyXText as we can not be sure it was not freed.
9512 (drawOneRow): remove unused code.
9514 * text.C (drawInset): redo the calculation of the need_break_row as
9515 it could have a row which was already freed.
9516 (draw): look at the return value of drawInset and return false if
9517 it also returned false.
9518 (paintRowText): look at the return value of draw and return false if
9519 it also returned false.
9521 * lyxtext.h: added bool return type to drawInset() and draw() so that
9522 if we have a change in the row so that the rowbreak has to be redone
9523 we abort drawing as it will be called again.
9525 2002-05-02 Juergen Vigna <jug@sad.it>
9527 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9528 a change in the maintext also if we're inside an inset.
9529 (Dispatch): set the cursor again after a break line and after the
9530 screen has been updated as it could be we're in a different row.
9532 * text2.C (fixCursorAfterDelete): check to make sure we don't request
9533 to set the cursor behind the pargraph with > size().
9534 (setCursor): check also for the same paragraph when checking where
9535 to put the cursor if we have a NFR inset.
9537 * buffer.C (parseSingleLyXformat2Token): move the compatibility
9538 parts of layout read further up as it still was in the wrong
9541 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9543 * screen.C (drawFromTo): change sine fullRebreak always return
9546 * buffer.C (parseSingleLyXformat2Token): reindent some
9548 * BufferView_pimpl.C (update): change since fullRebreak always
9550 (Dispatch): git rid of the last hardcoded "Standard"s.
9552 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9554 * text2.[Ch] (fullRebreak): make it return void now that we always
9557 2002-04-30 Juergen Vigna <jug@sad.it>
9559 * buffer.C (parseSingleLyXformat2Token): reset the font before the
9560 ert compatibility check for "latex" layout.
9562 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
9564 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9565 minipages: use col% instead of p%, and also use the current font.
9566 (makeLaTeXFile): Fix use babel condition.
9567 (parseSingleLyXformat2Token): Correct font when reading old floats.
9569 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
9571 * BufferView_pimpl.C (Dispatch): Check that float type exists when
9572 inserting list of floats.
9574 2002-04-25 Herbert Voss <voss@lyx.org>
9576 * MenuBackend.C (expand): don't add the graphics extensions to the
9579 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9581 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9582 non-existing layout, do not complain if it was the default layout
9583 of the original class (bug #342)
9585 2002-04-24 Juergen Vigna <jug@sad.it>
9587 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9588 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9590 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
9592 * buffer.C (getBibkeyList): If using \bibliography, return the
9593 option field with the reference itself. Enables us to provide natbib
9594 support when using \bibliography.
9596 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
9598 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9600 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9601 natbib is provided by the LaTeX class.
9603 2002-04-23 Juergen Vigna <jug@sad.it>
9605 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9608 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9610 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9612 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9614 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9615 ensuremath around textordmasculine, textordfeminine and
9618 2002-04-19 Juergen Vigna <jug@sad.it>
9620 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9621 reinitializing the buffer otherwise row-dimensions may be wrong.
9622 (update): reset also the selection cursors if they do exits otherwise
9623 their x/y positions may be wrong.
9625 * text2.C (cursorDown): don't enter the inset if we came from a row
9626 above and are one row over the inset.
9628 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9629 really leaving an inset.
9631 2002-04-18 Juergen Vigna <jug@sad.it>
9633 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9634 of the selected paragraph does not have the selected layout also if
9637 * text2.C (setLayout): fixed bug which did not change last selected
9640 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9641 changed the read and substituted \\end_float with \\end_inset!
9643 * BufferView_pimpl.C (cursorPrevious):
9644 (cursorNext): fixed to make it work with rows heigher than the work
9645 area without moving the cursor only the draw of the row.
9646 (workAreaMotionNotify): fix jumping over high rows.
9648 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9650 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9653 2002-04-16 Juergen Vigna <jug@sad.it>
9655 * text2.C (setCursor): set also the irow().
9656 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9658 (cursorDown): support for locking an inset if the x_fix value goes
9659 inside it. That way I can transverse insets too with cursor up/down.
9661 * lyxrow.h: added irow helper function same as other (i) functions.
9663 * BufferView_pimpl.C (cursorPrevious):
9664 (cursorNext): fixed for insets!
9666 2002-04-15 Juergen Vigna <jug@sad.it>
9668 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9669 position otherwise it is wrong in some cases.
9671 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9672 inside the inset before the call.
9674 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
9676 * buffer.[Ch] (getBibkeyList): make it const.
9678 2002-04-12 Juergen Vigna <jug@sad.it>
9680 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9682 * text2.C (getCursorX): new helper function
9683 (setCursor): compute also ix_
9684 (setCursorFromCoordinates): set also ix.
9686 * lyxcursor.h: added ix_ and helper functions.
9688 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9690 * buffer.C (insertStringAsLines): dont break paragraph if the this
9691 paragraph is inside an inset which does not permit it!
9693 * text.C (breakParagraph): honor keepempty flag and break the paragraph
9694 also with no chars on this paragraph.
9695 (paintRowText): only paint stuff if it's inside the workarea!
9697 * paragraph.C (breakParagraph): honor keepempty flag and break the
9698 paragraph always below not above.
9700 * BufferView2.C (unlockInset): update the paragraph layout on inset
9701 unlock as we changed paragraph in such a case.
9703 * lyxfind.C (LyXFind): clear the former selection if not found!
9705 * text2.C (insertInset): freeze Undo after setUndo so that it is not
9706 again called in insertChar().
9708 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9709 an inset which uses the whole row!
9710 (rightMargin): ditto.
9711 (insertChar): force a rebreak if we inserted an inset!
9713 2002-03-28 Herbert Voss <voss@lyx.org>
9715 * lyxlength.[Ch]: add inBP() to get the right PS-point
9716 units (BigPoint). With inPixels we have rounding errors
9718 2002-04-11 Juergen Vigna <jug@sad.it>
9720 * text2.C (setCursorFromCoordinates): set iy to the right value.
9721 (setCursor): add check if row->previous exists!
9723 * buffer.C (parseSingleLyXformat2Token): reset font after read of
9724 an old float_type as this was the case in the old code!
9726 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9728 * BufferView2.C (showLockedInsetCursor): use iy
9729 (fitLockedInsetCursor): ditto
9731 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9732 locked insets as there we have the right value now.
9734 * lyxcursor.C: added iy_ variable and iy functions to set to the
9735 baseline of cursor-y of the locked inset.
9737 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9738 (setCursor): fixed for insets which need a full row.
9740 * text.C (rowLastPrintable): don't ignore the last space when before
9741 an inset which needs a full row.
9742 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9743 as last character of a row when before a inset which needs a full row.
9745 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9747 * version.C.in: update date
9749 * text2.C (fullRebreak): try to always return true and see what
9752 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9754 * MenuBackend.C (expand): use Floating::listName
9756 * FloatList.C (FloatList): add listName argument to the built-in
9759 * Floating.[Ch]: add listName member, which is the 'List of XXX'
9760 text associated with the float.
9762 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9764 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9766 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9768 * ShareContainer.h: add a couple of missing typenames.
9770 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
9772 * lyxrc.C (getDescription): use _() correctly rather than N_().
9774 2002-03-28 Herbert Voss <voss@lyx.org>
9776 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9777 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9779 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9781 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9782 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9784 2002-03-29 Juergen Vigna <jug@sad.it>
9786 * lyxfunc.C (dispatch): add a missing fitCursor call.
9788 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9789 it was scrolled by a cursor move, so return the bool status.
9791 * BufferView.C (fitCursor): return the bool flag also to the outside
9792 world as this is needed.
9794 * screen.C (toggleToggle): don't subtract the offset if it's positive.
9796 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9797 call the edit() as it is not needed (and wrong) IMO.
9798 (workAreaButtonPress): set the screen_first variable before evt.
9799 unlock the inset as this may change screen_first and then we have
9800 a wrong y position for the click!
9802 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9804 * MenuBackend.C (expand): another translation that I missed
9806 2002-03-28 Juergen Vigna <jug@sad.it>
9808 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9810 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9812 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9814 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9816 * MenuBackend.C (expand): fix export/view/update when there is no
9819 2002-03-27 Herbert Voss <voss@lyx.org>
9821 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9824 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9826 * bufferview_funcs.C (currentState): only show paragraph number
9827 for is DEVEL_VERSION is set.
9829 * lyxfunc.C (dispatch): put warning in INFO channel
9831 * MenuBackend.C (expand): translate the name of floats
9833 * FloatList.C (FloatList): mark the float names for translation
9835 * converter.C (convert): use LibScriptSearch
9837 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9839 * MenuBackend.C (defaults): fix default menu (we might as well get
9842 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9844 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9847 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9849 * lyxvc.C: reorder includes.
9851 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
9853 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9856 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
9858 * CutAndPaste.C: change layouts earlier on paste
9859 to avoid crashing when calling getFont()
9861 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
9863 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9866 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9868 * WorkArea.C: remove 'Pending' debug message.
9870 * most files: ws cleanup
9872 * buffer.[Ch]: ws changes
9874 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9876 2002-03-21 Juergen Vigna <jug@sad.it>
9878 * tabular.C (SetMultiColumn): collapse also the contents of the
9879 cells and set the last border right. Added a Buffer const * param.
9881 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9883 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9886 2002-03-19 Juergen Vigna <jug@sad.it>
9888 * text2.C (clearSelection): reset also xsel_cache.
9890 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9891 where it needs to be called (John tells us to do so too :)
9892 (selectionLost): reset sel_cache.
9894 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9896 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9898 * text2.C (setCursorIntern): put debuging code in INSETS channel
9900 2002-03-19 André Pönitz <poenitz@gmx.net>
9902 * lyxfunc.C: tiny whitespace change
9904 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9906 * ToolbarDefaults.C (init):
9907 * LyXAction.C (init):
9909 * BufferView_pimpl.C (Dispatch):
9910 * lyxfunc.C (dispatch): remove LFUN_DEPTH
9912 2002-03-19 Allan Rae <rae@lyx.org>
9914 * exporter.C (Export): removeAutoInsets before doing anything else.
9915 While I've just introduced a dependency on BufferView this really is
9916 the best place to clean the buffer otherwise you need to cleanup in
9917 a dozen places before calling export or cleanup in a dozen functions
9920 * converter.C (runLaTeX):
9921 (scanLog): Better handling of removeAutoInsets and screen updates.
9923 * lyxfunc.C (dispatch): small whitespace changes
9925 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9927 * WorkArea.C (C_WorkAreaEvent): return a value.
9928 (event_cb): return 1 if we handled the event, 0 otherwise.
9930 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9932 2002-03-18 Juergen Vigna <jug@sad.it>
9934 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9935 (GetAdditionalWidth): ditto.
9939 * BufferView2.C (copy): use getLyXText() so that we do it inside an
9940 inset if we're there actually (probably not used right now but this
9941 is the direction to go for unifying code).
9942 (paste): disable code to clear the selection.
9944 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9945 inside an InsetText and move the check further up as it is in the
9948 * text2.C (pasteSelection): set a selection over the pasted text.
9950 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
9952 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9953 and libgraphics to build on Cygwin.
9955 2002-03-15 Juergen Vigna <jug@sad.it>
9957 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9958 inserting an Inset into the paragraph. I know this is not the best
9959 fix but we already use current_view in CutAndPaste so we will remove
9960 all of it's using at the same time.
9962 * buffer.C (sgmlError): deactivated function till it is rewritten in
9963 the right mode, now it can create problems.
9965 * paragraph.C (isLineSeparator): check if getInset returns != 0,
9966 before accessing it.
9968 2002-03-14 Juergen Vigna <jug@sad.it>
9970 * undo_funcs.C (textHandleUndo): do the right thing when updating
9971 the inset after the undo/redo.
9973 * text2.C (setCursor): just some testcode for #44 not ready yet.
9975 * undo_funcs.C (textHandleUndo): set the next() and previous()
9976 pointers of the paragraph to 0 before deleting otherwise we have
9977 problems with the Paragraph::[destructor].
9979 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9980 on a paragraph insertion.
9982 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9984 * buffer.C (asciiParagraph): use += operator for char append to
9987 * paragraph.C (getFontSettings): compare >= not just >
9988 (highestFontInRange): ditto
9991 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9993 * paragraph.C: change several algorithm to be more appripriate for
9994 the problem domain. This is lookip in FontList and in the InsetList.
9996 2002-03-13 André Pönitz <poenitz@gmx.net>
9999 * LyXAction.C: remove unused LFUN_MATH_MACROARG
10001 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
10006 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10008 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10010 * Painter.C (display): anon helper function, adjust code for this
10012 (pixmap): remove function.
10014 * Painter.h: remove private display variable.
10016 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10018 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
10020 * WorkArea.[Ch]: remove figinset_canvas cruft.
10022 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10024 * lyxtextclass.C (operator): add one item cache optimization.
10026 * bufferlist.h: doxy changes
10028 * bufferlist.C: ws changes
10030 * DepTable.[Ch] (ext_exist): place const in the right spot.
10032 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10034 (workAreaExpose): call resizeInsets when the with BufferView changes.
10035 (Dispatch): adjust for protectedBlank removal
10036 (specialChar): call updateInset if the insert went ok.
10038 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10039 specialChar instead.
10041 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10043 * BufferView.h: doxy change
10045 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10047 * lyxtextclass.C (operator[]): remove non-const version
10048 (defaultLayout): remove non-const version
10050 2002-03-12 Juergen Vigna <jug@sad.it>
10052 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10053 did resize the LyXText too.
10055 * buffer.C (readLyXformat2): set layout information on newly allocated
10058 * tabular.C (OldFormatRead): set layout information on the paragraph.
10060 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10062 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10064 2002-03-11 Juergen Vigna <jug@sad.it>
10066 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10068 (resizeCurrentBuffer): force also the insets to resize themselfes.
10069 (moveCursorUpdate): fixed up for InsetText.
10071 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
10074 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10075 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10076 value of Dialogs::tooltipsEnabled().
10077 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10079 2002-03-08 Juergen Vigna <jug@sad.it>
10081 * BufferView_pimpl.C (updateInset): update inset inside inset also
10082 if it isn't inside theLockingInset().
10084 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10086 * buffer.C (asciiParagraph): redo some of the word and line length
10088 (getLists): look for Caption instead of caption.
10090 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10092 * buffer.C (Buffer): initialize niceFile to true
10094 (makeLinuxDocFile):
10095 (makeDocBookFile): make sure niceFile is true on exit
10097 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10099 * buffer.C (makeLaTeXFile): escape ~ in \input@path
10101 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
10103 * LyXSendto.C: remove.
10104 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10105 * lyx_gui.C: remove now-redundant comment.
10106 * ColorHandler.h: remove forward declaration of class WorkArea.
10107 * lyxfunc.C: remove #include "WorkArea.h".
10109 2002-03-07 Juergen Vigna <jug@sad.it>
10111 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10112 got moved away with the DEPM and also set the inset_owner always
10113 right which before could have been omitted.
10115 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10117 * buffer.C (parseSingleLyXformat2Token): use default layout is the
10118 wanted layout is not found.
10120 2002-03-07 Juergen Vigna <jug@sad.it>
10122 * CutAndPaste.C (cutSelection): another layout settings forgotten.
10124 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10126 * paragraph.C (breakParagraph): use default layout not layout of
10128 (Paragraph): clear ParagraphParameters.
10130 2002-03-06 Juergen Vigna <jug@sad.it>
10132 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10133 otherwise it would not be a valid lenght. Fixed a special case in
10134 the minipage compatibility read where we end the document with a
10137 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10138 was set as it could be 0 for InsetTexts first entry.
10140 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10142 * paragraph.C (writeFile): if layout is empty write out
10143 defaultLayoutName().
10145 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10146 file without named layout we set layout to defaultLayoutName().
10148 2002-03-06 Juergen Vigna <jug@sad.it>
10150 * CutAndPaste.C (copySelection): set layout for new paragraph.
10152 * text.C (prepareToPrint): leave ERT inset left aligned
10153 (leftMargin): don't indent paragraphs inside ERT insets
10155 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10157 * paragraph.C (breakParagraph): dont call clear do the work manually
10159 * paragraph.[Ch] (clear): remove function
10161 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10163 * paragraph.C (Paragraph): dont call clear, the work has already
10166 * lyxtextclass.C (operator): assert if n is empty
10168 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10169 work manually instead.
10171 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10173 * BufferView_pimpl.C: protect selectionLost against text == 0
10175 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10177 * text.C (breakParagraph): fix a setting layout to '0' problem.
10179 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10181 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10182 final location of file, for the included files, and graphics.
10184 2002-03-05 Juergen Vigna <jug@sad.it>
10186 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10188 2002-03-04 Juergen Vigna <jug@sad.it>
10190 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10192 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10193 last column of multicolumn cells.
10194 (SetWidthOfMulticolCell): recalculate NMC and real columns.
10196 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
10198 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10199 file if it doesn't go to a temporary file.
10201 * buffer.C (sgmlOpenTag):
10202 (sgmlCloseTag): remove extra newline insertion.
10204 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10206 * text.C (getRowNearY): comment out debug msg
10208 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10210 * text2.C: first -> first_y
10212 * text.C (getRowNearY): add some attemts at a possible
10213 optimization, not working.
10215 * tabular.[Ch]: add BufferParams to several function so that newly
10216 created paragraph can be initialized to he default layotu for the
10219 * tabular-old.C (ReadOld): add buf->params to call of Init
10221 * screen.C: rename text->first to text->first_y
10223 * paragraph.C (breakParagraph): always set layout in the broken
10226 * lyxtextclass.C (Read): remove lowercase
10229 (delete_layout): ditto
10231 * lyxtext.h: rename first -> first_y
10233 * lyxlayout.C (Read): remove lowercase
10236 (obsoleted_by): ditto
10238 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10240 * buffer.C (insertErtContents): add params are to InsetERT
10241 (parseSingleLyXformat2Token): add code to check if a paragraphs
10242 layout really exist.
10243 (parseSingleLyXformat2Token): add params to several inset
10245 (asciiParagraph): remove lowercase, do the layout comparisons with
10248 * BufferView_pimpl.C (cursorNext): first -> first_y
10249 (resizeCurrentBuffer): first -> first_y
10250 (updateScrollbar): first -> first_y
10251 (scrollCB): first -> first_y
10252 (workAreaMotionNotify): first -> first_y
10253 (workAreaButtonPress): first -> first_y
10254 (checkInsetHit): first -> first_y
10255 (cursorPrevious): first -> first_y
10256 (cursorNext): first -> first_y
10257 (Dispatch): add buffer_->params to severl inset contructors
10259 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10261 * lyxlayout.C (Read): remove some debug info that I forgot.
10263 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10264 clean up the code slightly.
10265 (makeLinuxDocFile): ditto
10266 (makeDocBookFile): ditto
10268 * text2.C: layout as string
10270 * text.C: layout as string
10272 * paragraph_pimpl.C: layout as string
10274 * paragraph.[Ch]: layout as string
10276 * lyxtextclasslist.[Ch]: layout as string
10278 * lyxtextclass.[Ch]: layout as string
10280 * lyxtext.h: layout as string
10282 * lyxlayout.[Ch]: layout as string
10284 * lyx_cb.C: layout as string
10286 * bufferview_funcs.C: layout as string
10288 * bufferparams.C: layout as string
10290 * buffer.C: layout as string
10292 * LyXView.[Ch]: layout as string
10294 * LaTeXFeatures.[Ch]: layout as string
10296 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10298 * BufferView_pimpl.C: change current_layout to string, remove
10303 (workAreaButtonRelease): layout as string
10305 * BufferView2.C (unlockInset): adjust
10307 * vspace.C (asLatexCommand): use an explict temp variable.
10309 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10311 * Makefile.am: use FRONTEND_*
10313 2002-03-01 Juergen Vigna <jug@sad.it>
10315 * tabular.C (SetWidthOfMulticolCell): changed to something better
10316 I hope but still work in progress.
10317 (recalculateMulticolumnsOfColumn): renamed function from
10318 recalculateMulticolCells as it is more appropriate now.
10319 (SetWidthOfCell): calculate multicols better.
10321 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10323 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10325 * lyxfunc.C (processKeySym): print sequence also if it is
10326 `deleted' (complete)
10328 * kbsequence.C (print): print sequence even if it is deleted
10329 (complete would be a better word, actually).
10331 * lyxfunc.C (dispatch): print complete options after a prefix key
10333 * vspace.C (asLatexCommand): rewrite in a slightly different form.
10335 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
10337 * text2.C (setCharFont): eliminate setCharFont code duplication.
10339 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10341 * BufferView_pimpl.C (Dispatch): remove bogus handling of
10342 LFUN_TABULAR_FEATURE (bug #177)
10344 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
10346 * Makefile.am: remove figure.h
10348 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
10350 * Bufferview_pimpl.C:
10362 * text2.C: remove #include "lyx_gui_misc.h".
10364 * LaTeX.C: added #include <cstdio>
10366 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10368 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10369 that the paragraph following this one can have.
10371 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10373 * vspace.C (asLatexCommand): fix bogus gcc warning
10375 * Makefile.am (lyx_SOURCES): remove vms_defines.h
10377 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
10379 * text2.C (setLayout): get rid of redundant code
10381 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
10383 * text2.C (incDepth): make sure depth cannot be increased beyond
10386 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
10388 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10389 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10391 * PainterBase.h (image):
10392 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10393 a LyXImage const *.
10395 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10399 * BufferView_pimpl.C:
10400 * BufferView_pimpl.h:
10420 * sp_spell.C: remove fig inset, and the crap house of
10421 cards that follows it
10423 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10428 * os2_errortable.h:
10429 * nt_defines.h: move .h into support/
10431 * vms_defines.h: remove
10433 * WorkArea.C: add space in debug output
10437 * buffer.C: add WITH_WARNINGS
10441 * bufferlist.C: s/retrive/retrieve/, add docs
10450 * chset.C: add docs
10452 * lyxgui.C: add ID to X error handler
10454 * lyxtestclass.c: fix typo
10456 2002-02-26 Juergen Vigna <jug@sad.it>
10458 * tabular_funcs.C (write_attribute): changed so that some default
10459 attributes are not written at all.
10460 (getTokenValue): set default values before trying to read the
10461 value so we have the return value always set as default if we don't
10462 find the token we search for.
10464 * tabular.C (Write): write bools as bools not as strings!
10466 2002-02-22 Juergen Vigna <jug@sad.it>
10468 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10469 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10471 * text.C (leftMargin): don't add an indent for paragraphs inside
10472 tabular cells (fix #208).
10474 2002-02-21 José Matos <jamatos@fep.up.pt>
10476 * tabular.C (docBook): fixed support for long tables.
10478 2002-02-20 Juergen Vigna <jug@sad.it>
10480 * text2.C (getFont): get the drawing font of the Inset if this
10481 paragraph is inside an inset (only important for InsetERT for now).
10483 * buffer.C (insertErtContents): use new lanugage params in ERT
10486 * CutAndPaste.C: commenting out seemingly uneeded code.
10488 2002-02-19 Allan Rae <rae@lyx.org>
10490 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10491 Iterators might be simple to use but they also get invalidated.
10492 (removeAutoInsets): renamed saved cursor tracking variables and added
10493 some comments to clarify what everything does.
10495 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
10502 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10503 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10506 * vc-backend.h: remove #include "support/syscall.h"
10510 * converter.C: rearrange #includes in Lars' approved fashion.
10512 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10513 forward declare class Timeout in the header file.
10515 * XFormsView.C: changes due to the above.
10517 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10518 similar to LyXView.
10520 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10521 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10523 2002-02-18 José Matos <jamatos@fep.up.pt>
10525 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10528 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10530 * a lot of small ws changes
10531 * add a lot of using std::XXX
10532 * use std construcs some places where approp.
10533 * use some exisint stuff from lyxfunctional where approp.
10534 * Make file changes to use partial linking (lets test this now...)
10536 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10540 remove #include "support/syscontr.h" as it's redundant. Always has been.
10548 change Systemcalls::System to Systemcalls::Wait and
10549 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10550 No change of functionality, just reflects the stripped down Systemcalls
10553 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10555 * debug.[Ch]: add a GRAPHICS type to the enum.
10557 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10559 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10561 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10564 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10566 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10567 match the changes below.
10569 * text2.C (toggleInset): if there is not editable inset at cursor
10570 position, try to see if cursor is _inside_ a collapsable inset
10573 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10575 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10576 document menu has a nice checkbox
10578 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10580 * lyxlength.C (asLatexString): change PW to output as percent of
10583 * lengthcommon.C: change '%' to 't%'
10585 * lyxfunc.C (dispatch): a few comments from Martin
10587 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
10591 * BufferView_pimpl.h:
10592 * BufferView_pimpl.C: clear our selection when X tells us we've lost
10595 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10597 * vspace.C (inPixels): fix compiler warning
10599 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10601 * lyxfunc.C (getStatus): fix status message for disabled commands.
10603 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
10605 * BufferView_pimpl.C: fix crash on close buffer
10606 during selection (#227)
10608 2002-01-27 Herbert Voss <voss@lyx.org>
10610 * buffer.C: link old Figure to new graphic inset
10612 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
10614 * FontLoader.C (getFontinfo): Change the latex font names in order
10615 to match the names of type1inst.
10617 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10619 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10621 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10622 (extchanged): ditto
10624 (remove_files_with_extension): ditto
10625 (remove_file): ditto
10628 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10629 document is smaller than the work area height. Do not initialize
10630 static variables to 0.
10632 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10634 * lyx_gui.C (init): give the toolbar tooltips a normal font.
10636 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10637 LFUN_LAYOUT_PARAGRAPHS.
10639 * tabular.C (GetCellFromInset): new method. Finds an inset in a
10640 tabular. It is possible to provide a possible cell, which will
10641 typically be the actcell from the corresponding insettabular
10643 * lyxfunc.C (getStatus): small cleanup; disable
10644 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10647 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10649 * tabular.C (Validate): remove broken optimization (fixes bug #201)
10651 * paragraph.C (startTeXParParams):
10652 (endTeXParParams): new methods. The LaTeX code to
10653 start/end paragraph formatting
10654 (simpleTeXOnePar): call startTeXParParams also when paragraph is
10655 empty (fixes bug #200)
10657 * vspace.C (inPixels): adapt to the change below
10658 (inPixels): [later] more cleanups (remove unused variables)
10660 * lyxlength.C (inPixels): change to use a width and a height as
10663 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10665 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10666 Replaced with \paperwidth
10668 * DepTable.C (insert): add std:: qualifier
10670 2002-01-18 Allan Rae <rae@lyx.org>
10672 * text2.C (removeRow): add comment. Should other refresh_?? vars be
10675 * text.C (drawInset): Turned out I didn't know enough about how
10676 rebreaking worked. This fixes most of the redraw problems. I see
10677 an occasional cursor trail when a line is broken now and the cursor
10678 placement can seem out by a few pixels also after a rebreak.
10680 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10682 * buffer.C (parseSingleLyXformat2Token): update because minipage
10683 width is now a LyXLength
10685 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10687 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10690 2002-01-17 Juergen Vigna <jug@sad.it>
10692 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10694 * BufferView2.C (lockInset): call edit() so that theLockingInset()
10695 is set correctly and the inset is updated correctly.
10697 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10699 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10700 the beginning of the loop.
10702 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
10704 * lyxrc.C: improve help for use_scalable_fonts
10706 2002-01-17 Allan Rae <rae@lyx.org>
10708 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10710 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10712 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10713 make sure to set their inset_owner to the right value (bug #171)
10715 2001-12-12 Ben Stanley <bds02@uow.edu.au>
10718 * DepTable.C: Implement mtime checking to reduce time spent doing
10721 2002-01-16 Juergen Vigna <jug@sad.it>
10723 * tabular.C (GetAdditionalHeight): one of error fixed.
10725 * lyxrc.C (output): small fix in writing use_pspell.
10727 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
10729 * sp_base.h: #include LString.h
10731 2002-01-16 Allan Rae <rae@lyx.org>
10733 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
10734 Can someone check this please?
10736 * text.C (drawInset): It was possible that p.row would be removed by
10737 breakAgainOneRow upsetting a few other settings. There may be another
10738 small tweak possible by setting need_break_row = 0 when p.row has been
10739 removed but I don't know enough about the logic here.
10741 2002-01-15 Allan Rae <rae@lyx.org>
10743 * text.C (insertChar): removed conditional truism.
10745 * BufferView2.C (removeAutoInsets): More tweaks.
10746 cur_par_prev could be a stray pointer. Check for trailing empty line
10747 in case last line was cur_par and only had an error inset on it.
10749 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10751 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10754 * vc-backend.C (most methods):
10755 * exporter.C (Export):
10756 * converter.C (convert):
10758 * LyXSendto.C (SendtoApplyCB):
10759 * lyxfunc.C (dispatch):
10763 * lyx_cb.C (AutoSave):
10765 * BufferView_pimpl.C (MenuInsertLyXFile):
10766 * buffer.C (runChktex): use Buffer::filePath().
10768 * buffer.h: rename filename to filename_; rename filepath to
10769 filepath_ and make it private
10770 (filePath): new method
10772 * buffer.C (writeFile): use fileName()
10775 * lyx_main.C (init): fix starting of LyX when the binary is a
10776 link from so,ewhere else.
10778 * minibuffer.C: include <cctype> for isprint
10780 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10782 * buffer.C (parseSingleLyXformat2Token): changes associated with the
10783 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10784 name clash with InsetCollapsable's width function.
10786 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10788 * lastfiles.C: include <iterator>
10790 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10792 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10795 * buffer.C (makeLaTeXFile): ditto.
10796 Also make loop operation more transparent.
10798 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10800 * ToolbarDefaults.C: remove trailing comma closing namespace.
10802 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10804 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10807 * trans.C (Load): comment out unused variable, allowed.
10809 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10811 * minibuffer.[Ch] (append_char): new method to recieve input from the
10812 drop-down completion browser. If a key was pressed, then recieve this
10813 char and append it to the existing string.
10814 (peek_event): modify the positioning data passed to the completion
10815 browser so that it can be placed above the minibuffer rather than below.
10816 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10818 * LyXAction.C (init): alloe error-next for readonly documents.
10820 * BufferView2.C (ChangeRefsIfUnique): use standard version of
10823 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10825 * bufferlist.C (readFile): create the buffer _after_ checking that
10828 * lyxfunc.C (verboseDispatch): fix handling of arguments
10830 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10832 * lyxrc.C: use string::erase() instead of initializing to "".
10835 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10837 * BufferView_pimpl.h:
10838 * BufferView_pimpl.C:
10841 * text2.C: tell X when we have made a selection for copying
10843 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10845 * BufferView_pimpl.C (MenuInsertLyXFile):
10846 * lyxfunc.C (menuNew):
10848 (doImport): add shortcuts to directory buttons
10850 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10853 * lyxfunc.C (setStatusMessage):
10854 (getStatusMessage): new methods
10855 (getStatus):use setStatusMessage instead of setErrorMessage
10856 (dispatch): when function is disabled, set error message here
10857 [instead of in getStatus previously]
10859 * BufferView_pimpl.C (workAreaButtonRelease): update
10860 toolbar/menubar here too.
10862 2002-01-13 Allan Rae <rae@lyx.org>
10864 * BufferView2.C (removeAutoInsets): finished off earlier fix.
10865 Now seems indestructible. Remaining task is to audit all other
10866 code affected by deleteEmptyParagraphMechanism. One small quirk
10867 left is that an empty document with an error in the preamble can
10868 be made to report an error but no error box appears. I don't know
10870 (removeAutoInsets): Improved comments.
10872 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
10875 * Thesaurus.C: update for Aiksaurus 0.14
10877 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10879 * text2.C (firstParagraph): removed member function, all uses
10880 replaces with ownerParagraph
10881 (redoParagraphs): here
10882 (updateInset): here
10883 (toggleAppendix): here
10884 * BufferView2.C (insertErrors): here
10885 (setCursorFromRow): here
10887 2002-01-13 Allan Rae <rae@lyx.org>
10889 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10890 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10891 There is still a way to segfault this although you may have to do this
10892 multiple times: Have an InsetERT with an unknown command in it.
10893 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10894 <down-arrow>, <Enter> again, View->DVI, BANG!
10896 * text2.C (setCursor):
10897 (deleteEmptyParagraphMechanism):
10898 * lyxtext.h (setCursor):
10899 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10900 Making use of the return value may help fix other bugs.
10902 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10904 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10906 * LyXView.C (updateMenubar): call MenuBar::update here
10907 (updateToolbar): but not here
10908 (showState): do not update toolbar/menubar
10910 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10911 should need to care about that.
10913 * lyxfunc.C (verboseDispatch): simplify a bit
10914 (getStatus): have a version which takes a pseudoaction, and
10915 another which requires a (kb_action,string).
10917 * LyXAction.C (retrieveActionArg): make it work also when action
10918 is not a pseudo-action.
10919 (getActionName): simplify a bit
10922 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10924 * lyxfunc.C (verboseDispatch): new families of methods with
10925 several ways to specify a command and a bool to indicate whether
10926 the command name and shortcut should be displayed in minibuffer
10927 (eventually, we could extend that to a finer bitmask like
10928 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10929 (dispatch): the pristine dispatch command which just, well,
10930 dispatchs! Note it still sets its result to minibuffer; I'm not
10933 * lyxfunc.h: remove setHintMessage
10935 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10937 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10939 * BufferView_pimpl.C (specialChar): delete new inset if we have
10940 not been able to insert it.
10942 * kbmap.C: revert to using int instead of kb_action, since all we
10943 are dealing with is pseudo-actions.
10945 * LyXAction.C (searchActionArg): change to return int instead of
10946 kb_action, since the result is a pseudoaction.
10948 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
10950 * buffer.C (insertErtContents): Fix (partially) the font bug.
10952 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10954 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10955 as the other one is broken on my machine!
10957 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
10960 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10962 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
10964 * lyxrc.[Ch]: change names and descriptions of popup font variables to
10965 reflect their actual use. Provide compatibility code for older lyxrc
10968 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10970 change names of popup font variables in line with the changes to lyxrc.C
10972 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10974 * buffer.C (asciiParagraph): avoid outputing a word twice after
10977 * lyxrc.C (getDescription): document that document_path and
10978 template_path can be empty.
10980 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10982 * LaTeXFeatures.C (getMacros):
10983 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10985 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10987 * LaTeXFeatures.C (useFloat): require "float" here instead of in
10989 (getPackages): rename feature "floats" to "float". Use an array to
10990 iterate over 'simple' features (i.e. just a \usepackage). Add
10991 handling of "amsmath" (renamed from "amsstyle").
10993 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
10995 * LaTeXFeatures.C (require): Prevent duplicate entries in the
10998 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
11000 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11001 FuncStaus::FuncStatus & FuncStaus::some_method().
11003 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
11005 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11006 of the func_satus stuff. Edited and massaged in various ways by
11009 * lyxfunc.C (getStatus): use FuncStatus
11011 2002-01-08 Juergen Vigna <jug@sad.it>
11013 * text.C (nextBreakPoint): use function Inset::isChar().
11015 * paragraph.C (TeXOnePar): use function
11016 Inset::forceDefaultParagraphs.
11018 * buffer.C (latexParagraphs): use function
11019 Inset::forceDefaultParagraphs.
11021 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11023 * lyx_gui.C (init): set the style of the menu popups to
11024 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11026 2002-01-07 Juergen Vigna <jug@sad.it>
11028 * text.C (setHeightOfRow): small fix
11029 (prepareToPrint): don't look at alignment if we don't have the place
11032 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11034 * box.C: New file. Move the Box methods and functions out of box.h,
11035 following Lars' suggestion.
11037 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11039 * box.h: #include "support/LOstream.h", needed for inlined function.
11042 * lyxtextclasslist.C: added some using std declarations.
11044 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
11046 * box.h: make signed dimensions to allow insets wider than
11047 the screen (bug #162)
11049 * BufferView_pimpl.C: add some insetHit debug
11051 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
11053 * vc-backend.C: add FIXME
11055 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11057 * lyxfunc.C (getStatus): enable code for showing math font status
11060 2002-01-07 Juergen Vigna <jug@sad.it>
11062 * text.C (nextBreakPoint): removed debug output not needed anymore.
11064 2002-01-06 Juergen Vigna <jug@sad.it>
11066 * text.C (nextBreakPoint): fixed up this function we had this bug
11067 since ever but now hopefully we break row better.
11068 (insertChar): we have to check if an inset is the next char as it
11069 could now happen that a large inset is causing a break.
11071 2002-01-05 Juergen Vigna <jug@sad.it>
11073 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11074 if it doesn't like to be drawed.
11076 2002-01-04 Juergen Vigna <jug@sad.it>
11078 * BufferView2.C (lockInset): forgot to set a cursor.
11080 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11082 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
11084 * FormMathsPanel.C:
11087 * form_maths_panel.C:
11088 * form_maths_panel.h:
11089 * form_maths_panel.fd: implemented sub- and super- buttons in math
11092 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11093 (or ^ space) to be used as in TeX (req'd by André).
11095 * lyxfunc.C: Allow ^ and _ again to be used both as
11096 super/subscript (mathed) and as themselves (in text).
11098 2002-01-03 Allan Rae <rae@lyx.org>
11100 * LyXView.C (updateWindowTitle): Setup a short icon title of either
11101 "LyX" or the filename of the current buffer if it has one. This is a
11102 modified form of John Levon's patch.
11104 * XFormsView.C (setWindowTitle): also set icon title.
11106 * LyXView.h (setWindowTitle): signature changed.
11107 * XFormsView.h (setWindowTitle): ditto.
11109 2002-01-02 Juergen Vigna <jug@sad.it>
11111 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11113 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11115 * screen.C (topCursorVisible): introduce a temp var for
11116 text->cursor.row(), handle the case where this row is null. (kindo
11119 * text2.C (setCursor): add a couple of asserts.
11121 * paragraph.h (inset_iterator): add -> operator
11123 * paragraph.[Ch] (autoDeleteInsets): remove member function
11125 * BufferView2.C (removeAutoInsets): rewrite to handle the old
11126 cursor pos correctly and handle inset deletion by itself.
11127 (insertErrors): move iterator declaration out of for expression
11129 * lyxtextclass.C: add <algorithm>
11131 * Makefile.am: added the new files to sources, removed layout.C
11133 * layout.C: removed file
11135 * layout.h: remove LYX_DUMMY_LAYOUT
11137 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11141 * lyxtextclass.[Ch]:
11142 * lyxtextclasslist.[Ch]: new files
11144 * include order changes to a lot of files, also changes because of
11147 2001-12-27 Juergen Vigna <jug@sad.it>
11149 * buffer.C (asciiParagraph): more fixes.
11151 * tabular.C (ascii): make ascii export support export of only the
11152 data separated by a column-delimiter.
11153 (ascii): better support for ascii export.
11155 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11157 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11159 * tabular_funcs.C: use a "using std::getline" instead of the
11160 previous fix from Angus (necessary for cxx + lyxstring)
11162 2001-12-24 Juergen Vigna <jug@sad.it>
11164 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11166 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11167 problems. First check a minipage also if we have some ert-contents
11168 (not only on par->size(), second set the right depth of the paragraph
11169 on the relink to the root-paragraph-list!
11171 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11172 which then did not anymore update the main paragraphs on undo/redo!
11174 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11176 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11177 code. Support all font-changing funcs (even those which are not in
11178 menu currently). Support for reporting font settings in
11179 mathed (disabled until Andre provides a function on mathed's side).
11181 * func_status.h (toggle): small helper function to set toggle
11184 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
11186 * tabular_funcs.C: getline -> std::getline
11188 2001-12-21 Juergen Vigna <jug@sad.it>
11190 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11191 accessed and could be 0 (I couldn't generate this but it seems
11194 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11196 * tabular_funcs.C: add LIstream.h, move write_attribute to..
11197 * tabular_funcs.h: here and include iosfwd
11199 2001-12-20 Juergen Vigna <jug@sad.it>
11201 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11202 inside inset but undo_par was.
11204 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11206 * Thesaurus.C: always include <config.h> in sources.
11210 * box.h: do not include <config.h> in header files
11212 * text.C (paintLastRow): remove unused variable
11214 * text.C (transformChar):
11216 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11218 * Painter.C (text):
11219 * font.C (width): rewrite to use uppercase() instead of
11222 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11224 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
11226 * lyxfind.C: clean up of find failure position change
11228 2001-12-20 Juergen Vigna <jug@sad.it>
11230 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11232 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11233 (TeXRow): added to LaTeX a single tabular row.
11234 (TeXLongtableHeaderFooter): added to output LT-h/f data.
11235 (Latex): simplified and finally good LT-h/f support.
11236 (various_functions): just small adaptions for LT-h/f support.
11238 * tabular_funcs.[hC]: added and moved here all not classfunctions
11241 2001-12-19 Juergen Vigna <jug@sad.it>
11243 * tabular.[Ch]: better support for longtabular options (not finished
11246 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11248 * text.C (paintLastRow): use the label font instead of the font of
11249 the last character to compute the size of *_BOX. This makes more
11250 sense and avoids a crash with empty paragraphs.
11251 Use Painter::rectangle to draw EMPTY_BOX.
11253 2001-12-19 Juergen Vigna <jug@sad.it>
11255 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11256 the paragraphs if the replaced paragraph is not the first one!
11257 Tried to delete not used paragraphs but does not work yet so for
11258 now it's inside #ifdef's and by default off!
11260 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11262 * MenuBackend.C: include "lyx_main.h" instead of declaring
11263 lastfiles (actually was declared as LastFiles* instead of a
11266 2001-12-17 Juergen Vigna <jug@sad.it>
11268 * tabular.C (AppendColumn): applied John's fix
11270 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
11274 * BufferView_pimpl.h:
11275 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11278 * box.h: new start of class for above
11280 * lyxfunc.C: ignore space-only minibuffer dispatches.
11281 Show the command name when it doesn't exist
11283 * minibuffer.C: don't add empty lines to the history
11285 * minibuffer.C: add a space on dropdown completion
11287 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
11289 * text.C: fix line above/below drawing in insets
11291 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11293 * lyxlength.C (LyXLength): Initialize private variables.
11295 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
11297 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11298 when inserting error insets.
11300 2001-12-13 Juergen Vigna <jug@sad.it>
11302 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11303 actually sometimes the before-paragraph.
11304 (setUndo): don't clear the redostack if we're not actually undoing!
11306 2001-12-06 Juergen Vigna <jug@sad.it>
11308 * undo_funcs.C (textHandleUndo): well after John's hint I got here
11309 and fixed redoing of main paragraph, so we can use it now ;)
11311 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11313 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11315 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11318 2001-12-13 André Pönitz <poenitz@gmx.net>
11321 * undo_func.C: minor cleanup
11323 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11325 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11326 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11327 font in urw-fonts package which is marked as -urw-fontspecific and
11328 does not work (incidentally, changing the encoding in the
11329 fonts.dir of this package to -adobe-fontspecific fixes the
11332 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11333 is a crash when undoing first paragraph (Juergen, please take a
11334 look). THis does not mean the undo fix is wrong, just that it
11337 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11338 the (Paragraph*) version when needed instead of duplicating the
11341 * text.C (workWidth): use Inset::parOwner to find out where the
11342 inset has been inserted. This is a huge performance gain for large
11343 documents with lots of insets. If Inset::parOwner is not set, fall
11344 back on the brute force method
11346 * paragraph_pimpl.C (insertInset):
11347 * paragraph.C (Paragraph):
11348 (cutIntoMinibuffer): set parOwner of insets when
11349 inserting/removing them
11351 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11353 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
11359 * mathed/formulabase.C:
11360 * mathed/math_cursor.[Ch]:
11361 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11364 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11366 * lyxlength.[Ch] (operator!=): new function
11368 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
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-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11384 * tabular-old.C (getTokenValue):
11385 * tabular.C (getTokenValue):
11386 (write_attribute): new versions for LyXLength
11387 (everywhere): adjust the use of widths
11389 * tabular.h: change the type of widths from string to LyXLength
11391 2001-12-11 Ben Stanley <bds02@uow.edu.au>
11393 * paragraph.C: fixed missing line number count when exporting
11394 Environments to LaTeX file
11396 * buffer.C: added informational message for checking line numbers.
11398 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11400 * text2.C (deleteEmptyParagraphMechanism): if there is only one
11401 paragraph, do the 'double space' part, but not the 'empty
11404 * text.C (workWidth): small optimization
11405 (getLengthMarkerHeight): use minimal size for negative lengths.
11407 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
11409 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11411 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11413 2001-12-11 André Pönitz <poenitz@gmx.net>
11416 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11418 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11420 * text2.C: keep selection on a setFont()
11422 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11424 * lyx_cb.C: another bv->text misuse, from insert label
11426 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11429 * kbsequence.C: re-instate nmodifier mask
11431 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
11433 * lyx_main.h: make lyxGUI private.
11435 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11437 * lyxfind.C: place the cursor correctly on failed search
11439 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11441 * text.C (getLengthMarkerHeight): for small heights, the arrows
11442 are not always on top/bottom of the text
11443 (drawLengthMarker): smaller arrows; take the left margin in
11444 account; draw also vfills.
11446 (paintLastRow): remove special code for vfill and standard spaces,
11447 since everything is handled in drawLengthMarker now.
11449 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11451 * buffer.C (insertErtContents): try to handle font and language
11452 interaction a bit better.g
11454 * ColorHandler.C (updateColor): change the hash to cover the whole
11455 LColor enum, ws cleanup
11456 (getGCLinepars): ditto
11457 (getGCLinepars): only lookup in the linecache once.
11459 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
11461 * iterators.C (operator++): Make the iterator more robust
11463 * BufferView2.C (removeAutoInsets): Use paragraph iterators
11465 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11467 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11470 * text.C: better added space drawing
11472 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11475 * BufferView2.C: fix layout combo update on inset unlock
11477 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11479 * Makefile.am: don't compile unused files
11481 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11485 * LyXAction.C: remove old LFUN_LAYOUTNO
11487 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11489 * paragraph_pimpl.h:
11490 * paragraph_pimpl.C: isTextAt() doesn't need font param
11492 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11495 * lyxlex.C: little cleanup
11497 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11499 * BufferView_pimpl.C: fix insertAscii for insets
11501 2001-12-05 Juergen Vigna <jug@sad.it>
11503 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11504 set the right font on the "multi" paragraph paste!
11506 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11512 * lyxlength.C: remove out-commented code.
11514 * BufferView_pimpl:
11528 * vc-backend.C: change "while(" to "while ("
11530 * lyxlength.[Ch]: add zero function to check if length is zero or
11532 * lyxgluelength.C: use it
11534 2001-12-05 Allan Rae <rae@lyx.org>
11536 * lyxlength.C: Attempted a fix for the abs(int) header selection.
11537 Works for 2.95.3, from what I understand of Garst's reports this should
11538 work for other g++ versions. We're screwed if the abs(int) definition
11539 changed between bugfix releases of gcc.
11541 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11543 * text.C: fix chapter label offset !
11545 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11548 * text.C: fix hfill at end of line, clean up
11550 2001-12-04 Juergen Vigna <jug@sad.it>
11552 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11553 that we force an update of the inset and it's owners if neccessary.
11555 2001-12-03 Juergen Vigna <jug@sad.it>
11557 * text.C (rowLast): simplified code
11559 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11561 * lyxfunc.C: fix show options on timeout
11563 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11565 * screen.C (topCursorVisible): scroll half a page when the cursor
11566 reached top of bottom of screen
11568 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
11570 * minibuffer.C: deactivate on loss of focus
11572 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11574 * vspace.[Ch] (operator!=): add operator.
11576 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
11578 * BufferView_pimpl.C: refuse to open an inset when
11579 there's a selection.
11581 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
11583 * BufferView_pimpl.C: allow to click on RHS of full row insets
11585 2001-11-30 Juergen Vigna <jug@sad.it>
11587 * tabular.C (LyXTabular): add a same_id to set the same id's in the
11588 insets for undo reasons.
11590 2001-11-28 André Pönitz <poenitz@gmx.net>
11592 * vspace.[Ch]: cosmetical changes
11594 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11604 * kbsequence.C: part re-write of old kb code
11607 * WorkArea.C: remove Lgb_bug_find_hack
11609 2001-11-30 José Matos <jamatos@fep.up.pt>
11611 * buffer.C (makeDocBookFile): add a comment to point a hack.
11612 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11613 Fixed a double write of labels.
11615 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11618 * LaTeX.h Fixed bug in LaTeX class where it would not
11619 re-run latex if no depfiles were changed, but the .dvi was removed.
11621 2001-11-28 André Pönitz <poenitz@gmx.net>
11623 * all the files from the change on 2001/11/26:
11624 use lyx::layout_type instead of LyXTextClass::size_type
11625 use lyx::textclass_type instead of LyXTextClassList::size_type
11627 2001-11-29 Juergen Vigna <jug@sad.it>
11629 * text.C: added support for paragraph::isFreeSpacing()
11631 * buffer.C: same as above
11633 * paragraph.h: inserted isFreeSpacing() function to enable
11634 FreeSpacing inside InsetERT.
11636 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11637 of the paragraph's in the cut/copy buffer to 0!
11639 * text2.C (removeRow): remove the assert as it can!
11641 * lyxtext.h: added helper function firstRow returning firstrow and
11642 made firstrow private again.
11644 * BufferView2.C (lockInset): don't relock if we're already locked!
11646 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11647 the only paragraph.
11648 (removeRow): added Assert::(firstrow)
11650 * debug.C: forgot to add INSETTEXT here.
11652 2001-11-28 Juergen Vigna <jug@sad.it>
11654 * sp_spell.C (initialize): changed error text to more general
11655 spellchecker command use (not only ispell!)
11657 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11659 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11661 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11663 * vspace.C: initialise lyxgluelength on failure
11665 2001-11-28 Allan Rae <rae@lyx.org>
11667 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11668 declaration & definition that looks like a function declaration.
11670 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11672 * BufferView2.C (copy):
11673 (copyEnvironment): do not clear the selection when doing a copy.
11675 * text.C (paintFirstRow): compilation fix
11677 2001-11-27 Ben Stanley <bds02@uow.edu.au>
11679 * tabular.C (Latex): correct line count when writing latex.
11681 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
11683 * paragraph_pimpl.h:
11684 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11687 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11691 * LColor.C: change vfillline->added_space
11693 * text.C: add markers and text for added space
11695 * vspace.C: fix comment
11697 2001-11-28 André Pönitz <poenitz@gmx.net>
11699 * paragraph.C: whitespace changes
11700 * all the other files from the change on 2001/11/26:
11701 change *::pos_type into lyx::pos_type
11703 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
11705 * buffer.C (parseSingleLyXformat2Token): Set the language to the
11706 language of the document when inserting error insets.
11708 2001-11-26 André Pönitz <poenitz@gmx.net>
11710 * BufferView_pimpl.[Ch]:
11718 * paragraph_pimpl.[Ch]:
11721 * text2.C: reduce header dependencies, introduce type for positions
11723 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11725 * <various>: change to use Alert.h
11727 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
11729 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11730 when encountering an unknown token.
11731 (readLyXformat2): Show an error message if there were unknown tokens.
11733 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
11736 * BufferView_pimpl.C:
11740 * text2.C: use par->isInset()
11742 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11744 * paragraph_pimpl.h:
11745 * paragraph_pimpl.C: cleanup
11747 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11749 * text2.C (removeRow):
11750 * text.C (setHeightOfRow): remove useless (and costly) call to
11753 2001-11-20 Allan Rae <rae@lyx.org>
11755 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11756 Now need Inset*::checkInsertChar() to return true for appropriate
11757 cases so that the characters in the minibuffer will actually be
11760 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11762 * text.C: change the order of the includes.
11763 (workWidth): initialize it at once.
11764 (workWidth): make maxw unsigned
11765 (setHeightOfRow): remove unused variable (inset)
11766 (selectSelectedWord): remove unused variable (inset)
11767 (paintRowText): fix drawing of hfill characters, and clean up a bit.
11769 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11771 * lyxserver.C (emergencyCleanup): do not try to close pipes if
11772 server is not running.
11774 (closeConnection): add debug info when server is disabled.
11776 * ColorHandler.C (getGCForeground): send debug message to GUI
11779 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11781 * kbmap.C (bind): modify because return conventions of
11782 kb_sequence::parse have changed.
11784 * kbsequence.C (parse): only ignore spaces and not any stupid
11785 control character. This avoids tests like s[i] <= ' ', which are
11786 guaranteed to fail with 8bit characters and signed chars.
11787 Change return code to string::npos when there have been no error
11788 (0 was a bad idea when error is at first character)
11790 2001-11-14 José Matos <jamatos@fep.up.pt>
11793 * buffer.C (simpleDocBookOnePar): removed unused argument.
11795 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11797 * text.C (selectNextWordToSpellcheck): do not test explicitely for
11798 insets which are part of a word. Paragraph::isLetter takes care of
11799 that now. Use Paragraph::isInset to identify insets.
11800 (selectSelectedWord): do not test for hyphenation break.
11802 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11803 that protected spaces are considered as spaces.
11805 * paragraph.C (isLetter): cleanup the code for ispell extras; use
11808 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
11811 * lyxserver.C: fix it. and small cleanup.
11813 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11815 * BufferView_pimpl.C: use inline helpers
11818 * LaTeXFeatures.C: fix typos
11821 * Spacing.C: move spacing_string into class
11823 * ToolbarDefaults.C: move stuff into namespace anon
11825 * layout.h: update enum
11827 * lyxfunc.C: use better debug
11829 * minibuffer.h: fix typo
11833 * WorkArea.C: add and use Debug::WORKAREA
11837 * text2.C: code re-organisation, inline helpers
11839 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
11841 * Layout.C: replaced a few cases of std::vector.size() == 0 with
11842 std::vector.empty().
11844 2001-11-09 Allan Rae <rae@lyx.org>
11846 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11847 '\n's after tables. Tabular and ERT inset work now makes this no
11850 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11853 * minibuffer.C: fix crash, improve drop-down completion
11855 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
11858 * lyxserver.C: invalidate fd's when doing endPipe()
11860 2001-11-08 José Matos <jamatos@fep.up.pt>
11862 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11863 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11866 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11868 2001-11-07 José Matos <jamatos@fep.up.pt>
11871 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11874 * buffer.C (sgmlOpenTag):
11875 * buffer.C (sgmlCloseTag): removed debug info.
11877 * buffer.h (sgmlOpenTag):
11878 * buffer.h (sgmlCloseTag): made public.
11880 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11882 * buffer.C (saveParamsAsDefaults):
11883 * lyx_cb.C (MenuLayoutSave): remove
11885 * LyXAction.C (init):
11887 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11889 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11891 * buffer.C (setPaperStuff): removed from here...
11893 * bufferparams.C (setPaperStuff): ... and moved there.
11895 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
11899 * XFormsView.C: add support for drop-down completion
11901 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
11903 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11906 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11908 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11911 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
11913 * lyx_main.C: change ref to known bugs
11915 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
11917 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11918 to work around older babel problems.
11920 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11922 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11924 2001-10-24 Juergen Vigna <jug@sad.it>
11926 * tabular-old.C (ReadOld): below variable changes reflected.
11928 * tabular.[Ch]: added ltType struct for longtable header/footer
11929 defines and changed all instances where they are used. Added
11930 future support for double top/bottom rows.
11932 2001-10-24 José Matos <jamatos@fep.up.pt>
11934 * buffer.h (docbookHandleCaption):
11935 * buffer.C (docbookHandleCaption): removed unused function.
11936 (makeDocBookFile): moved docbook supported version to v4.1.
11938 2001-10-24 José Matos <jamatos@fep.up.pt>
11941 * tabular.C (docbookRow): new function to export docbook code of a row.
11942 (DocBook): now honors the longtable flags.
11944 2001-10-23 José Matos <jamatos@fep.up.pt>
11947 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11948 of the lyx defined sgml entities used in a docbook/linuxdoc document.
11950 * buffer.C (makeLinuxDocFile):
11951 (makeDocBookFile): reworked the preamble, more clean, and with
11952 support for lyx defined entities. Changed the document declaration
11953 to be more XML friendly.
11955 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11956 if we need to output XML that should be done with a filter.
11958 2001-10-22 Juergen Vigna <jug@sad.it>
11960 * sp_pspell.h (class PSpell): add alive function needed in the
11961 controller to see if the spellchecker could be started.
11963 2001-10-22 Juergen Vigna <jug@sad.it>
11965 * buffer.C (insertStringAsLines): modify the font for inserting
11966 chars in certain conditions by calling checkInsertChar(font).
11968 2001-10-19 Juergen Vigna <jug@sad.it>
11970 * text.C (workWidth): use getRow instead of wrong algorithm.
11971 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11973 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
11978 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11980 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11982 * text.C (workWidth): do not search for the exact row when
11983 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11984 optimization for big documents.
11986 2001-10-18 Juergen Vigna <jug@sad.it>
11988 * text.C (workWidth): new function with added Inset * parameter.
11990 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11992 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11994 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11995 change return type of getColumnNearX.
11998 * text.C (changeRegionCase): use uppercase/lowercase instead of
12001 (rightMargin): simplify code by factoring out the uses of
12006 (appendParagraph): use Paragraph::size_type
12008 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12010 * vspace.C (asLatexString): add a missing break
12012 2001-10-15 Herbert Voss <voss@perce.de>
12014 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12016 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12018 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12021 2001-10-10 André Pönitz <poenitz@gmx.net>
12023 * lyxfunc.C: removed greek_kb_flag.
12025 2001-10-10 Herbert Voss <voss@perce.de>
12027 * lyx_main.C: delete global string help_lyxdir.
12029 2001-10-09 Herbert Voss <voss@perce.de>
12031 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12033 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12035 * lyx_main.C: added global string help_lyxdir.
12037 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12039 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
12041 * lyxrc.C (set_font_norm_type): support iso8859-4
12043 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
12045 * LaTeX.C (deplog): add another regex for MikTeX
12047 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
12049 * lyxrc.C (set_font_norm_type): support iso8859-3
12051 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12053 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12055 * LaTeXFeatures.C: remove special case of french and index
12057 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12058 before \begin{document}). This solves several incompatibilities.
12060 2001-10-03 Garst Reese <reese@isn.net>
12062 * lyx_cb.C: change CheckTex error msg.
12064 2001-10-03 José Matos <jamatos@fep.up.pt>
12066 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12068 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12070 * .cvsignore: update
12072 * lyx_main.C (commandLineVersionInfo): use new style version info.
12074 * buffer.C (writeFile):
12076 (makeLinuxDocFile):
12077 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12079 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12081 * version.h: update to use stuff in version.C
12083 * version.C.in: new file. Contains version information determined
12084 at compile time. This is a merging of version.h and
12087 2001-10-03 Juergen Vigna <jug@sad.it>
12089 * BufferView_pimpl.C (update): don't change "dirty" status in
12092 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
12094 * WorkArea.C (c-tor): re-position version string slightly.
12096 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
12098 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12099 revert to previous code.
12101 WorkArea.[Ch]: (show, destroySplash): methods removed.
12103 WorkArea.C: rework code so that it's an amalgam of the codes before and
12104 after the splash screen was moved to WorkArea.
12106 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12109 * vspace.C (inPixels):
12112 * buffer.C (insertStringAsLines):
12113 (asciiParagraph): fix types to be large enough
12115 * lyxlex_pimpl.h: change member status from short to int
12117 * layout.h: fix type of endlabeltype
12120 * kbsequence.C (parse): change return type to string::size_type
12122 * LaTeX.C (updateBibtexDependencies): comment out unneeded
12125 * Bullet.C (bulletSize):
12126 (bulletEntry): do not use short ints as parameters
12128 * BufferView2.C (insertLyXFile): change a char to an int.
12130 * WorkArea.C (WorkArea): remove unneeded floats in computation
12132 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
12134 * buffer.C (asciiParagraph): Treat '\\' as other chars.
12136 * paragraph.C (asString): Do not ignore newline/hfill chars when
12137 copying to the clipboard.
12139 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
12141 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12142 after a multi-line inset.
12144 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
12146 * paragraph.C (validate): Set NeedLyXFootnoteCode
12148 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12150 * lyxfont.C (LyXSizeNames): changed increase-error to increase
12151 and decrease-error to decrease.
12153 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12155 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12156 it more readable (should be equivalent)
12158 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
12160 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12162 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12164 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12165 of a cursor (row, etc.) after a character has been deleted
12166 (deleteEmptyParagraphMechanism): call the method above on _all_
12167 cursors held by the LyXText when a double space has been
12170 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12172 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12174 (resizeCurrentBuff): remove code to destroy the old splash dialog.
12176 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12177 background. Use greyOut() and the new show() methods to toggle between
12178 the foreground and background. Add code to remove the splash after
12179 its initial showing.
12181 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12182 (create_forms): no longer call Dialogs::showSplash.
12184 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12186 * .cvsignore: add version_info.h
12188 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12190 * version_info.h.in: new file
12192 * Makefile.am: add version_info.h.in
12194 * lyx_main.C (commandLineVersionInfo): use version_info defined in
12195 version_info.h instead of VERSION_INFO
12197 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
12199 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12200 The ERT inset now returns string().
12202 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
12204 * lyxtext.h, text.C (selectNextWord): renamed as
12205 selectNextWordToSpellcheck.
12207 * text.C (selectNextWordToSpellcheck): Modified to not select
12208 words inside an ERT inset.
12210 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12212 * lyx_cb.C (MenuLayoutSave): change a bit the question
12214 * sp_base.h: include <sys/types.h>
12216 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
12218 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12220 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
12222 * several files: fix typos in user-visible strings
12224 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12226 * text2.C (pasteSelection): do not set the selection, since it
12227 will be cleared later. Actually, the intent was to fix the way the
12228 selection was set, but I figured rmoving the code was just as good.
12230 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
12232 * FontLoader.C (available): Check if font is available without
12235 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
12237 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12239 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
12241 * lyxrc.[Ch]: added display_graphics variable and associated code.
12243 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12245 * bufferparams.C (hasClassDefaults): new method. Returns true if
12246 the buffer parameters correspond to known class defaults
12248 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
12250 * XFormsView.C (show): set minimum size to the main window.
12252 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12254 * text2.C (copySelection):
12256 * lyxfind.C (LyXReplace):
12257 * BufferView_pimpl.C (Dispatch): pass the correct flag to
12258 LyXText::selectionAsString.
12260 * paragraph.C (asString): add "label" argument to the second form
12262 * text2.C (selectionAsString): add "label" argument and pass it to
12263 Paragraph::asString.
12265 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12267 * lyx_main.C (commandLineHelp): remove version information
12269 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
12271 * lyx_main.C: add -version commandline option
12273 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12275 * paragraph.h: make the optional constructor arg required instead.
12276 some modifications to other files because of this.
12278 * minibuffer.C (C_MiniBuffer_peek_event): make it static
12280 * lyxserver.C (C_LyXComm_callback): make it static
12282 * lyx_main.C (error_handler): make it static
12284 * lyx_gui.C (LyX_XErrHandler): make it static
12286 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12288 * WorkArea.C: make the extern "C" methods static.
12290 * Makefile.am (lyx_LDADD): simplify
12292 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12294 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12295 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12297 * LyXAction.C (init):
12298 * lyxfunc.C (dispatch): associated code removal.
12300 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12302 * lyxfont.h (isSymbolFont): shut off warning
12304 * text.C (setHeightOfRow):
12305 (getVisibleRow): fix crash with empty paragraphs which have a
12308 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
12310 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12313 2001-09-04 José Matos <jamatos@fep.up.pt>
12316 * tabular.C (docbook): rename docBook method to docbook.
12318 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12320 * Makefile.am: add dependencies to main.o.
12322 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
12324 * FontLoader.C (available): Return false if !lyxrc.use_gui
12326 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
12328 * FontInfo.C (query):
12329 * converter.C (view):
12330 * importer.C (Import):
12331 * exporter.C (Export): Can not -> cannot.
12333 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
12335 * BufferView_pimpl.C: allow to create index inset even if
12338 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12340 * buffer.C (getLists): replace boost::tie code with an explicit pair
12341 as boost::tie can break some compilers.
12343 * iterators.h: Added a std:: declaration to the return type of
12346 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
12348 * lyxrc.C: add help for view_dvi_paper_option, default to safe
12351 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
12353 * iterators.[Ch]: New files. Provide paragraph iterators.
12355 * buffer.C (changeLanguage): Use paragraph iterators.
12356 (isMultiLingual): ditto
12358 * BufferView2.C (ChangeInsets): Use paragraph iterators.
12360 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
12362 * FontLoader.C: Support for cmr font.
12364 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
12366 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12367 (available): New method.
12369 * FontInfo.C (getFontname): Use scalable fonts even when
12370 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12373 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12375 * converter.C (Formats::view): reverted! Incorrect fix.
12377 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12379 * converter.C (Formats::view): only output the -paper option
12380 if the dvi viewer is xdvi, thereby fixing bug #233429.
12382 2001-08-23 Herbert Voss <voss@perce>
12384 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12386 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
12388 * Spacing.h (Spacing): Set space to Default on in the default
12391 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
12393 * vc-backend.h (RCS::versionString): add RCS to version
12394 (CVS::versionString): add CVS to version
12396 * vc-backend.C (scanMaster): do not add CVS to version.
12397 (scanMaster): do not add RCS to version
12399 * lyxvc.C (versionString): new method
12401 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12403 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12405 * Spacing.C (set): initialize fval
12407 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
12409 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12412 2001-08-16 Juergen Vigna <jug@sad.it>
12414 * lyxfunc.C (dispatch): implemented the new FINISHED states.
12416 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12418 * BufferView_pimpl.C:
12421 * text2.C: setParagraph takes linespacing now
12423 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
12425 * LyxAction.C: add internal LFUN_CITATION_INSERT
12427 * LyXView.C: actually apply fix
12429 * bufferlist.C: fix open non-existent file
12431 * lyxfind.C: fix indentation
12433 * lyxfunc.C: remove unneeded assert, fix typo
12435 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12437 * MenuBackend.C: use "Floatname List"
12439 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
12441 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12442 when converting LaTeX layout to insetERT.
12443 Generate a non-collapsed float when reading old float
12445 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12447 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12450 2001-08-13 Juergen Vigna <jug@sad.it>
12452 * text.C (fill): return 0 instead of 20 as this seems to be the more
12455 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12457 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12460 2001-08-13 Juergen Vigna <jug@sad.it>
12462 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12464 (SearchBackward): comment out the unlocking of the inset_owner this
12465 should not be needed!
12467 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
12469 * Many files: Remove inherit_language, and add latex_language
12471 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12472 collapsible insets.
12474 2001-08-10 Juergen Vigna <jug@sad.it>
12476 * text.C (prepareToPrint): fixed hfill-width in draw!
12478 * BufferView2.C (selectLastWord): save the selection cursor as this
12479 now is cleared in the function LyXText::clearSelection!
12481 2001-08-08 Juergen Vigna <jug@sad.it>
12483 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12484 BACKSPACE type functions.
12486 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12487 is only cutted from the document but not put in the cut-buffer, where
12488 still the old stuff should be.
12490 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12492 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12494 * tabular.C (SetWidthOfCell): fixed special case where the width
12496 (LeftLine): handle '|' in align_special.
12498 (LeftAlreadyDrawed): ditto
12499 (SetWidthOfCell): ditto
12501 2001-08-07 Juergen Vigna <jug@sad.it>
12503 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12505 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12507 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12508 * lyxlex.[hC]: ditto
12510 2001-08-06 Juergen Vigna <jug@sad.it>
12512 * text.C (getVisibleRow): fix up row clearing a bit.
12514 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12516 * minibuffer.C: make sure the X server sees the changes in the input.
12518 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12520 * paragraph.C (getFont): split into...
12521 (getLabelFont): this
12522 (getLayoutFont): and this
12523 * paragraph_pimpl.C (realizeFont): calling this
12525 * text2.C (getFont): split into...
12526 (getLayoutFont): this
12527 (getLabelFont): and this
12528 (realizeFont): all three calling this
12530 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12533 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12535 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12537 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
12539 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12540 layouts from the Quote inset insertion.
12542 2001-08-03 Juergen Vigna <jug@sad.it>
12544 * BufferView_pimpl.C (update): do the fitCursor only at the end!
12546 * screen.C (drawFromTo): don't call fitcursor here and do the loop
12547 only if status not is already CHANGED_IN_DRAW (second level).
12549 * text.C (draw): don't set the need_break_row when inside an
12552 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12554 * buffer.C (parseSingleLyXformat2Token): handle more latex
12557 * bufferview_funcs.[hC]: change function names to
12558 begin with small char, adjust other files.
12560 2001-08-02 André Pönitz <poenitz@gmx.net>
12563 BufferView_pimpl.C: remove broken special code for math-greek
12565 2001-08-02 Juergen Vigna <jug@sad.it>
12567 * BufferView_pimpl.C (update): redone this function so that we
12568 update the text again if there was a CHANGE_IN_DRAW.
12570 * screen.C (cursorToggle): removed LyXText parameter and recoded.
12571 (drawFromTo): added a new internal bool which is used by draw() and
12573 (general): some cursor drawing problems fixed.
12575 2001-08-01 Juergen Vigna <jug@sad.it>
12577 * lyxfind.C (LyXFind): fixed
12578 (SearchForward): ditto
12579 (SearchBackward): ditto
12581 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12582 spurius drawing of the cursor in the main area.
12584 * text2.C (status): small fix which could lead to a segfault!
12585 (clearSelection): remove unneeded BufferView param.
12587 2001-08-01 André Pönitz <poenitz@gmx.net>
12589 * lyxfunc.C: small change due to changed mathed interface
12591 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12593 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12595 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
12597 * lyxfunc.c: fail gracefully if file doesn't exist
12602 * BufferView_pimpl.C: IsDirWriteable() proto changed
12604 * LyXView.C: fix updateWindowTitle() to store the last title
12606 2001-07-31 Juergen Vigna <jug@sad.it>
12608 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12609 the font (wrong since using of Paragraph::highestFontInRange).
12611 * paragraph.C (highestFontInRange): added a default_size parameter.
12613 * text.C (getVisibleRow): minor clear row changes (still not perfect).
12614 (setHeightOfRow): reformat
12616 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12618 * converter.[hC] + affected files: move to (inital-char)lowercase
12621 * ParagraphParameters.C (ParagraphParameters): remove commented code
12623 * PainterBase.[Ch]: remove commented code
12625 * LaTeXFeatures.h: add "bool floats" for float.sty
12627 * LaTeXFeatures.C (LaTeXFeatures): init floats
12628 (require): handle float
12629 (getPackages): do it with floats
12631 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12633 * BufferView_pimpl.C (Dispatch): improve handling of
12634 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12636 * commandtags.h: #include lyxfont.h here temporarily to avoid
12639 * bufferlist.h: include LString.h here.
12641 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12643 * text2.C (getStringToIndex): new method.
12645 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
12647 * *: Reduced header file dependencies all over.
12649 2001-07-30 Baruch Even <baruch@lyx.org>
12651 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12653 2001-07-29 Baruch Even <baruch@lyx.org>
12655 * buffer.C (readInset): Changed GRAPHICS to Graphics.
12657 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12659 * ParameterStruct.h (endif): add a default constructor to make
12660 sure that all variables is initialized.
12662 * ParagraphParameters.C (ParagraphParameters): adjust
12664 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12666 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12667 index; also, check that there is something to index, and that it
12668 does not span over several paragraphs.
12669 (doubleClick): use WHOLE_WORD_STRICT for double click.
12671 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12673 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12676 2001-07-26 Baruch Even <baruch@lyx.org>
12678 * buffer.C (readInset): Changed to call up InsetGraphics when reading
12679 an InsetFig figure, backwards compatible reading of old figure code.
12681 2001-07-27 Juergen Vigna <jug@sad.it>
12683 * text2.C: font.realize function adaption.
12685 * text.C (draw): add a warnings lyxerr text if needed.
12687 * layout.C: font.realize function adaption.
12689 * language.C: add inherit_language and implement it's handlings
12691 * bufferview_funcs.C (StyleReset): remove language parameter from
12692 font creation (should be language_inherit now).
12694 * bufferparams.C (writeFile): handle ignore_language.
12696 * paragraph.C (getFontSettings): the language has to be resolved
12697 otherwise we have problems in LyXFont!
12699 * lyxfont.C (lyxWriteChanges): added document_language parameter
12700 (update): removed unneeded language parameter
12702 * paragraph.C (validate): fixed wrong output of color-package when
12703 using interface colors for certain fonts in certain environments,
12704 which should not seen as that on the final output.
12706 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
12708 * BufferView_pimpl.C:
12713 * LyXAction.C: add thesaurus support
12716 * lyxfind.C: add "once" parameter, for thesaurus, to not
12717 move to the next match
12719 2001-07-26 Juergen Vigna <jug@sad.it>
12721 * lyxfont.C (realize): honor ignore_language too!
12724 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12726 * text.C (draw): one place more for ignore_language to not draw
12729 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
12731 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12733 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12735 * buffer.C (parseSingleLyXformat2Token): a more general fix for
12736 the minipage conversion problem.
12738 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12740 * buffer.C (parseSingleLyXformat2Token): check minipage if we
12743 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12745 * BufferView.h: don't forward declare WorkArea
12747 * BufferView.C: don't include WorkArea.h
12749 2001-07-25 André Pönitz <poenitz@gmx.net>
12753 * lyxfunc.C: new LFUN 'math-space'
12755 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12757 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12759 * text2.C (toggleInset): call open/close
12761 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12763 * lyxfunc.C (dispatch): add debug for the disabled case
12765 * font.C (buttonText): make similar to rectText
12767 * buffer.C (readInset): comment out parsing of insetlist and
12770 * PainterBase.C (rectText): small correction
12772 * BufferView_pimpl.C: comment out insettheorem and insetlist
12773 * LyXAction.C: ditto
12774 * commandtags.h: ditto
12776 2001-07-24 Juergen Vigna <jug@sad.it>
12778 * text.C (draw): honor the ignore_language.
12780 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12782 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12784 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12787 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12789 * lyxtext.h: remove unused (and unimplemented) methods
12791 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12793 * text.C (getVisibleRow): honor background color
12796 * Painter.h: remove default color argument for fillRectangle
12798 * text.C (backgroundColor): new method
12800 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12802 * text.C (getVisibleRow): adjust
12804 * font.[Ch] (rectText): new method, metrics
12805 (buttonText): new method, metrics
12807 * PainterBase.[hC]: make rectText and buttonText always draw and take
12810 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12812 * ToolbarDefaults.C (read):
12813 * MenuBackend.C (read): allow escaping in all strings
12815 * BufferView_pimpl.C (insertAndEditInset): new method.
12816 (Dispatch): use insertAndEditInset whenever appropriate.
12818 * BufferView_pimpl.C (insertNote): removed
12820 * BufferView_pimpl.C (smartQuote): new method, moved from
12821 BufferView; if an insetquote cannot be inserted, insert a '"'
12824 * BufferView2.C: remove insertCorrectQuote();
12826 * lyxfunc.C (getStatus): Add support for all remaingin
12827 inset-insert lfuns.
12829 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12831 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12832 command (necessary to pass " as parameter of self-insert.
12834 * text.C (selectWordWhenUnderCursor):
12835 (selectWord): add word_location parameter
12836 (selectWordWhenUnderCursor): same + remove special code for word
12838 (selectNextWord): use kind() to guess type of insetspecialchar,
12841 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12842 (insertErtContents): create ert insets as collapsed.
12843 (readInset): better compatibility code for Info inset.
12845 2001-07-20 Juergen Vigna <jug@sad.it>
12847 * lyxfunc.C (dispatch): use always LyXFind now!
12849 * text2.C (init): add a reinit flag so that the LyXText can be
12850 reinited instead of deleted and reallocated (used in InsetText).
12852 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12858 2001-07-18 Juergen Vigna <jug@sad.it>
12860 * text.C (selectNextWord): handle insets inside inset by calling
12861 always the bv->text functions so that we can go up the_locking_inset!
12863 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12864 in strange locations when inside an inset!
12866 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12867 handling to include insets.
12869 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12871 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12873 * LyXAction.C (init):
12875 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12876 LIGATURE_BREAK, since the name is so stupid.
12878 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12880 * buffer.C (readInset): enable reading of new InsetNotes as well as old
12883 * FontLoader.C: remove FORMS_H_LOCATION cruft.
12885 * sp_form.[Ch]: remove.
12887 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12889 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12892 * src/buffer.C (readInset): ditto.
12894 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12896 * BufferView_pimpl.C (specialChar): new method. Obsoletes
12897 menuSeparator(), endOfSentenceDot(), ldots() and
12898 hyphenationPoint(), which are therefore removed.
12899 (Dispatch): handle LFUN_HYPHENATION_BREAK.
12901 * LyXAction.C (init):
12902 * commandtags.h: add LFUN_HYPHENATION_BREAK.
12904 * paragraph.C (getWord): removed.
12906 * BufferView_pimpl.C (Dispatch): use last word or selection for
12907 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12909 * lyx_main.C (queryUserLyXDir): do not ask before creating
12910 user_dir, except if it has been named explicitely.
12912 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12914 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12915 a document of zero size.
12917 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
12919 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12920 approriately in the c-tor and in require().
12921 (getPackages): output the appropriate LaTeX for natbib support.
12923 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12924 variables "use_natbib" and "use_numerical_citations" when reading the
12926 (readInset): read the various natbib cite commands.
12927 (validate): white-space change.
12929 * bufferparams.[Ch]: new variables "bool use_natbib" and
12930 "bool use_numerical_citations".
12931 (writeFile): output them in the LyX file.
12933 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12935 * lyxfunc.C (getStatus): add support for all the inset insertion
12938 * text2.C (insertInset):
12939 * paragraph.C (insetAllowed):
12940 * BufferView_pimpl.C (insertInset): update to take in account the
12941 renaming of insertInsetAllowed
12943 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12945 * text2.C (getInset): new method. returns inset at cursor position.
12947 * BufferView_pimpl.C (Dispatch): changes because of this.
12949 * LyXAction.C (init): rename open-stuff to inset-toggle.
12951 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12953 * text2.C (toggleInset): renamed from openStuff; use
12956 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
12958 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12960 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12962 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
12964 * buffer.C (readLyXformat2): Add filename to the error dialog
12966 2001-07-18 Juergen Vigna <jug@sad.it>
12968 * tabular.C (GetCellNumber): put an assert here instead of the check!
12970 2001-07-17 Juergen Vigna <jug@sad.it>
12972 * BufferView_pimpl.C (toggleSelection): adapted too.
12974 * text.C (selectNextWord): adapted for use with insets.
12975 (selectSelectedWord): ditto
12977 2001-07-17 Juergen Vigna <jug@sad.it>
12979 * sp_spell.C (PSpell): fix initialitation order.
12981 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12983 * paragraph.C: spacing
12985 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
12987 * sp_spell.C: repair language selection for pspell
12989 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12991 * lyxfunc.h: change more methods to begin with lower char.
12993 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
12995 * buffer.C (parseSingleLyXformat2Token): Generate error insets
12996 for unknown layouts.
12998 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
13000 * buffer.C (readLyXformat2): Generate an error dialog if there are
13003 2001-07-16 Juergen Vigna <jug@sad.it>
13005 * sp_spell.C: always compile ISpell part.
13007 * lyxrc.C: added use_pspell entry and it's handling.
13009 2001-07-13 Juergen Vigna <jug@sad.it>
13011 * sp_spell.C: removed double includes.
13013 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
13015 Consistent use of Lsstream.h:
13016 * Lsstream.h: added using std::stringstream for consistencies sake.
13018 * buffer.C: removed using std::stringstream
13020 * lyxfont.C (stateText):
13021 * paragraph.C (asString):
13022 * text.C (selectNextWord, selectSelectedWord):
13023 * text2.C (setCounter):
13024 * vspace.C (asString, asLatexString):
13025 std::ostringstream -> ostringstream.
13027 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13029 * LyXAction.C: add LFUN_HELP_ABOUTLYX
13030 * commandtags.h: add LFUN_HELP_ABOUTLYX
13031 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13033 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13035 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13037 * lyx_gui_misc.C: remove spellchecker
13038 * lyxfunc.C: showSpellchecker
13040 * sp_ispell.h: added
13041 * sp_pspell.h: added
13042 * sp_spell.C: added
13043 * sp_form.[Ch]: removed
13044 * spellchecker.[Ch]: removed
13046 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
13048 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13050 (simpleTeXSpecialChars): Simply print the input character without
13051 any special translation if pass_thru is set.
13053 * layout.h: Added bool pass_thru to layout class for being able to
13054 implement pass through of a paragraph for Literate Programming.
13056 * layout.C: add LT_PASS_THRU to LayoutTags enum.
13057 * layout.C (LyXLayout): set pass_thru to flase in constructor.
13058 * layout.C (Read): add "passthru" to list of layout tags and add
13059 code to set the pass_thru boolean when it is read.
13061 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13063 * trans_decl.h: remove allowed from KmodInfo
13065 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13066 remove allowed code
13069 * paragraph_pimpl.C (erase): use boost::prior
13071 * Painter.C (text): use data() instead of c_str() when length is
13073 * WorkArea.C (putClipboard): ditto
13074 * font.h (width): ditto
13076 * BufferView2.C: use it-> instead of (*it). for iterators
13078 * paragraph_pimpl.C: ditto
13079 * paragraph.C: ditto
13080 * minibuffer.C: ditto
13081 * language.C: ditto
13083 * encoding.C: ditto
13084 * counters.C: ditto
13085 * converter.C: ditto
13087 * Variables.C: ditto
13088 * TextCache.C: ditto
13089 * MenuBackend.C: ditto
13090 * LyXAction.C: ditto
13092 * FloatList.C: ditto
13093 * DepTable.C: ditto
13094 * ColorHandler.C (LyXColorHandler): ditto
13096 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13098 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13100 * text2.C (openStuff): reintroduce this method (which had been
13101 nuked in NEW_INSETS frenzy).
13103 * lyxfunc.C (Dispatch): when an action has not been handled, use
13104 its name in the error message, not its number.
13106 * paragraph.C (inInset): change method name to begin with lowercase.
13109 * text2.C: updates because of this.
13111 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13113 * ToolbarDefaults.C (add): add spaces in error message
13115 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13117 * buffer.C (readLyXformat2): initialize the ert comp. variables.
13118 (readLyXformat2): rename return_par to first_par, use lyxlex's
13119 pushToken and remove the manual push handling.
13120 (parseSingleLyXformat2Token): add another ert comp. variable:
13121 in_tabular, rename return_par to first_par. handle newlines better
13123 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13125 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13127 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13129 * text2.C (getParFromID): removed
13131 * buffer.C (getParFromID): new method moved form lyxtext.
13132 * BufferView2.C (insertErrors): adjust
13133 (setCursorFromRow): adjust
13134 * BufferView_pimpl.C (restorePosition): adjust
13135 * lyxfunc.C (Dispatch): adjust
13136 * undo_funcs.C (textUndo): adjust
13138 (textHandleUndo): adjust
13139 (textHandleUndo): adjust
13141 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13143 * buffer.C: up' the LYX_FORMAT
13145 * lyxfont.h: turn NO_LATEX on as default
13147 * buffer.C (insertErtContents): new methods of tex style compability.
13148 (parseSingleLyXformat2Token): use it several places.
13149 * tabular.C (OldFormatRead): and here
13151 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13153 * text2.C: remove some commented code.
13156 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13157 * trans.C: changes because of the above.
13159 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
13161 * text2.C (setCounter): Fix counters bug with bibliography layout.
13163 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13165 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13166 own member functions
13167 (simpleTeXSpecialChars): ditto
13169 2001-07-06 Juergen Vigna <jug@sad.it>
13171 * a lot of files: changed the access to LyXText::status and the
13172 call of undo-functions.
13174 * undo.[Ch]: added a inset_id to the undo informations.
13176 * undo_funcs.[Ch]: added and moved here all undo functions.
13178 * lyxtext.h: give the status enum a weight, made status_ a private
13179 variable and made accessor functions for it, removed the whole bunch
13180 of undo-functions as they are now in their own file, make some
13181 functions publically available. Added function ownerParagraph with
13184 * paragraph.[Ch]: added "bool same_ids" to the constructor,
13185 made InInset() a const function, added getParFromID() function.
13187 * buffer.[Ch]: added const version for inset_iterator functions,
13188 added getInsetFromID() function.
13190 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13191 changed undo functions for new version.
13193 2001-07-05 Juergen Vigna <jug@sad.it>
13195 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13196 unknow mechanism does not call the proper constructor but only this
13197 one also if I request the other!?
13199 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13201 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13203 * text2.C (LyXText): use initialization lists.
13205 * lyxtext.h (Selection): initialize set_ and mark_
13206 (init): remove method
13208 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
13210 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13212 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13214 * screen.[Ch]: change method names to begin with lowercase
13216 * BufferView_pimpl.C (updateScrollbar): simplify further and
13217 hopefully make it a bit faster.
13219 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13221 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13222 calling directly xforms functions.
13224 * Painter.C (Painter):
13225 * lyx_cb.C (MenuWrite):
13226 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13229 * lyx_gui.C: remove bogus guiruntime extern declaration.
13231 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13233 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13235 (redoDrawingOfParagraph): ditto
13236 (redoParagraphs): ditto
13237 (cutSelection): don't create a object for CutAndPaste use the
13238 static method directly
13239 (pasteSelection): ditto
13241 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13244 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13246 * modifications to some other files because of this.
13248 * Makefile.am (lyx_SOURCES): add XFormsView
13250 * XFormsView.[Ch]: new files
13252 * LyXView.[Ch]: make LyXView a base class for the gui handling for
13253 the main window. Move the gui dependent stuff to XFormsView
13255 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13257 * tabular.C (GetCellInset): update cur_cell also in the row/col
13258 version of this function.
13260 * lyxfunc.C: no need to include figure_form.h here.
13266 * lyxvc.C: no need to include forms.h here.
13268 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13270 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13272 * lyxfunc.C (Dispatch):
13274 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13275 constructor argument.
13277 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13279 * paragraph.C (Paragraph): dont't clear, and just set layout.
13280 (makeSameLayout): use params's copy contructor.
13282 * ParagraphParameters.[Ch] (makeSame): delete method
13284 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
13286 * Variables.[Ch]: fix indentation, rename set to isSet
13288 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13290 * lyxfunc.C (Dispatch): fix typo
13292 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13294 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13297 * bufferlist.C: include assert.h for emergencyWrite().
13299 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13301 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13302 give up at last (bug #425202) !
13304 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
13310 * spellchecker.C: strip spellchecker options and bring up
13311 preferences tab instead
13313 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13315 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13316 the istringstream constructor
13318 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13320 * paragraph.C (getLayout): fix return value
13322 * paragraph.h: do not declare getLayout as inline.
13324 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13326 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13328 * lyxcursor.h (operator<): new func
13329 (operator>): new func
13330 (operator>=): new func
13331 (operator<=): new func
13333 * text.C (changeCase): use selection.start and selection.end
13334 (changeRegionCase): require from to be <= to. Require par to be a
13337 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13339 2001-06-27 Juergen Vigna <jug@sad.it>
13341 * text.C (cursorLeftOneWord): changed to return the cursor and added
13342 overlay with BufferView * parameter which calls this one.
13344 (selectWord): use new getWord function.
13345 (changeCase): renamed from changeWordCase as and extended to work
13346 also on selections.
13348 * lyxtext.h: added enum word_location
13350 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13351 changeCase as this operates now also on selections.
13353 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
13355 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13357 * many files: send debug output to Debug::INFO instead of
13360 * converter.C (View):
13362 (Move): send debug output to Debug::FILES instead of console.
13364 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
13366 * lyxfunc.C (getStatus): use func_status
13368 * func_status.h: new header, describing the results of
13369 LyXFunc::getStatus;
13371 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13374 2001-06-25 The LyX Project <jug@sad.it>
13376 * buffer.C (sgmlOpenTag):
13378 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
13380 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13382 * text2.C: remove some dead code
13384 * tabular.C (GetCellInset): store the last cell checked (gotten)
13386 * tabular.h: add the helper for the speedup
13388 * lyxtext.h: remove some dead code
13390 2001-06-26 The LyX Project <Asger>
13392 * paragraph.C: Change export to LaTeX of alignment to
13393 \begin{center} and family for better roundtrip work with reLyX.
13395 * Tune the math drawing a bit.
13397 2001-06-25 The LyX Project <Asger>
13399 * LColor.C (LColor): New color for math background. New color
13402 2001-06-25 The LyX Project <jug@sad.it>
13404 * lyxfunc.C (MenuNew): remove extra check for .lyx file
13406 * lyxfunc.C (Open):
13407 * bufferlist.C (newFile): do not restrict to files ending with
13410 * BufferView_pimpl.C (MenuInsertLyXFile):
13412 2001-06-24 The LyX Project <jug@sad.it>
13414 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13417 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13419 * lyxtext.h: rename most methods to begin with a small char.
13420 Lots of changes because of this.
13422 * paragraph.C (Paragraph): do not call fitToSize
13423 (erase): call Pimpl::erase
13424 (insertChar): call Pimpl::insertChar
13425 (insertInset): call Pipl::insertInset
13426 (breakParagraph): do not call fitToSize
13427 (breakParagraphConservative): do not call fitToSize
13428 (fitToSize): remove method
13430 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13432 2001-06-24 The LyX Project <Asger>
13434 * Fix Qt compilation^2
13436 2001-06-24 The LyX Project <jug@sad.it>
13438 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13439 depthHook(getDepth()-1).
13442 * ParagraphParameters.h:
13443 * ParameterStruct.h: change type of depth to unsigned int ==
13444 depth_type. Many adaptations to other files before of that.
13446 2001-06-24 The LyX Project <Asger>
13448 * Fix Qt compilation.
13450 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13452 * paragraph.h: renamed several methods to begin with small letter.
13453 several changes to many parts of the code because of this.
13455 2001-06-23 The LyX Project <jug@sad.it>
13457 * text2.C (InsertStringAsLines): renamed from InsertStringA;
13458 rewritten to discard all double spaces when KeepEmpty is off
13459 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13460 to only handle newlines but not fiddle with spaces and friends.
13462 * lyxfunc.C (MenuNew): when doing 'new from template', use
13463 template_path as default directory
13465 2001-06-23 The LyX Project <Asger>
13467 * Clean-up of header file includes all over
13468 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13470 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13472 * paragraph.h: renamed from lyxparagraph.h
13474 2001-06-23 Asger <lyx@violet.home.sad.it>
13476 * Buffer.h: Removed Buffer::resize
13477 * BufferList.h: Removed BufferList::resize
13478 * LyXView.h: Added LyXView::resize. This way, we will only reflow
13479 the document lazily when we change the width, or the font settings.
13481 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13483 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13485 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13487 * buffer.h: remove out of date comment
13489 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13492 * screen.C: fix "theoretical" GC leak
13494 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13496 * LaTeX.C (scanAuxFile):
13497 (deplog): remove trailing \r when reading stream (useful under
13500 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
13502 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13503 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13504 and BufferView::theLockingInset(Inset*), so should use them and not
13505 access bv_->text->the_locking_inset directly.
13507 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13509 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13512 * tex-defs.h: remove old unused file
13514 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
13516 * BufferView_pimpl.C: fix typo, remove minibuffer message
13517 when buffer has loaded
13519 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13521 * lyxfunc.C (Dispatch): use stringstream
13522 (MenuNew): use stringstream
13523 (Open): use stringstream
13525 * importer.C (Import): use stringstream
13527 * bufferview_funcs.C (CurrentState): use stringstream
13529 * LaTeX.C (run): use stringstream
13531 * BufferView_pimpl.C (savePosition): use stringstream
13532 (restorePosition): use stringstream
13533 (MenuInsertLyXFile): use stringstream
13535 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
13548 * vspace.C: removed // -*- C++ -*- as first line.
13551 * version.h: added // -*- C++ -*- as first line.
13553 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13555 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13557 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13560 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13562 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13565 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13567 * gettext.C: include LString.h even when --disable-nls is on.
13569 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
13571 * converter.h (Get): changed argument type from int to
13572 FormatList::size_type to avoid unnecessary conversion.
13574 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13577 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13579 * gettext.h: include LString.h even when --disable-nls is on.
13581 2001-06-07 Juergen Vigna <jug@sad.it>
13583 * text.C (BreakAgain): subst spaces with tabs.
13585 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13586 (resizeInsetsLyXText): set force on resizeLyXText.
13588 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13590 * gettext.h (gettext_init):
13591 (locale_init): use a real definition instead of a macro
13593 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13595 * Bufferview_pimpl.C:
13597 * LColor.C: further lcolor tidies
13599 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13601 * BufferView_pimpl.C (updateScrollbar): simplify.
13603 * BufferView2.C: don't include insets/insetinfo.h, change
13604 prototype for insertInset and call the Pimpl version. let
13605 updateInset call Pimpl version.
13607 * BufferView.h: move inset_slept to BufferView::Pimpl, move
13608 gotoInset to BufferView::Pimpl
13610 2001-06-01 Juergen Vigna <jug@sad.it>
13612 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13613 inside a LockingInset (is the update needed at all?).
13615 2001-05-31 Juergen Vigna <jug@sad.it>
13617 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13618 here not the old one otherwise how should we compare it afterwards
13621 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13626 * FontInfo.C: bring C functions into global namespace when
13629 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13631 * LString.h: make sure config.h has been loaded before LString.h.
13633 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13634 (one for each char read by EatLine!).
13636 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13639 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13641 * paragraph.C (BreakParagraph): set the inset_owner in the new par
13642 to the same as the par we break from
13644 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
13646 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13648 * MenuBackend.C (expand): also create menu entries for wide
13649 versions of the floats.
13651 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13653 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13655 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13656 frontends/Makefile.am
13662 * tabular.C (getTokenValue): add std::
13664 * tabular-old.C (getTokenValue): add std::
13665 (getTokenValue): ditto
13666 (getTokenValue): ditto
13668 * screen.C (ToggleSelection): adjust
13670 * lyxtext.h: put selection cursors inside a Selection struct.
13672 * lyxfunc.C (moveCursorUpdate): adjust
13674 * lyxfont.C (latexWriteStartChanges): add std::
13676 * lyxfind.C: adjust
13678 * font.h: delete with(char const *, LyXFont const &)
13680 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13682 * FontInfo.C (getFontname): add std::
13684 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13685 (workAreaButtonPress): adjust
13686 (tripleClick): adjust
13688 (moveCursorUpdate): adjust
13691 * BufferView2.C (gotoInset): adjust
13693 2001-05-30 Juergen Vigna <jug@sad.it>
13695 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13696 to check pspell I add this as default as I now have new pspell
13697 libraries and they seem to use this.
13699 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13701 * text2.C (CutSelection): make the cursor valid before the call to
13704 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13706 * kbsequence.C (parse): de-uglify a bit the parsing code, which
13707 relied on 0 terminated strings and other horrors. Bug found due to
13708 the new assert in lyxstring!
13710 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13713 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13715 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13718 * lyxfunc.C (processKeySym): change method of getting to the
13721 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13722 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13723 * BufferView_pimpl.[Ch]: here as private methods.
13725 2001-05-28 Juergen Vigna <jug@sad.it>
13727 * text.C (SetHeightOfRow): added the update() call again as it is
13728 needed to initialize inset dimensions!
13730 2001-05-16 Juergen Vigna <jug@sad.it>
13732 * text2.C (SetCharFont): Add new function with BufferView * and
13733 bool toggleall parameters for setting insets internal fonts.
13734 (SetFont): Freeze the undo as we may change fonts in Insets and
13735 all this change should be inside only one Undo!
13737 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13738 setting font's in insets as for them we have the SetFont function!
13740 2001-05-15 Juergen Vigna <jug@sad.it>
13742 * text2.C (ClearSelection): to be sure we REALLY don't have any
13745 * tabular.C (TeXCellPreamble): fixed the left border problem for
13748 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
13750 * LaTeX.C (deplog): Make sure that the main .tex file is in the
13753 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13755 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13756 LFUN_BREAKPARAGRAPH.
13758 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13759 help test to "internal only", similar for LFUN_INSERT_URL
13761 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13762 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13763 auto_region_delete and deadkeys.
13765 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
13768 * LColor.C: remove some dead entries, tidy a little
13770 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13772 * lyxfunc.C (processKeySym): comment the Escape handling, remove
13774 (Dispatch): implement LFUN_ESCAPE
13776 * commandtags.h: add LFUN_ESCAPE
13778 * LyXAction.C (init): add entry for LFUN_ESCAPE
13780 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13781 Remove commented code.
13782 (insertNote): moved here
13783 (open_new_inset): moved here
13785 * BufferView[2].[Ch]: move insertNote and open_new_inset to
13788 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13790 * kbmap.C (findbinding): clean it up and make it work correctly.
13792 * lyx_main.C (init): do not pass argc and argv as parameters
13794 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
13796 * buffer.C: fix path for OS/2 & Win32
13800 * lyx_main.C: Added os:: class.
13802 * os2_defines.h: update
13804 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13806 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13807 better by trying again with reduced state.
13809 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13811 * lyxrc.C (read): print error about invalid key sequence only when
13812 debugging (because not all latinX keysyms are known to some X
13815 * kbsequence.C (getiso): add a few std:: qualifiers
13816 (getiso): comment out extra return statement.
13818 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
13820 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13822 (Dispatch): enhance the accent inset a bit. (not perfect)
13824 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13826 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13828 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13830 * bufferlist.C (emergencyWrite): fix assert() call
13832 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
13834 * text.C (InsertChar): Added trivial patch to only send the "you
13835 can not do multiple spaces this way" message once during a
13838 2001-05-08 Baruch Even <baruch@lyx.org>
13840 * Makefile.am: Changed order of libraries to get LyX to link properly
13841 with the gnome frontend.
13843 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13845 * LaTeXFeatures.h: add a std:: qualifier
13847 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13849 * paragraph.C (String): use stringstream
13851 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13853 * paragraph.C (writeFile): remove footflag arg
13855 * buffer.C (makeLaTeXFile): use stringstream
13856 (latexParagraphs): remove footnot gurba
13858 * LaTeXFeatures.C (getPackages): use stringstream
13859 (getMacros): likewise
13860 (getTClassPreamble): likewise
13861 (getFloatDefinitions): new method
13863 * paragraph.C (writeFile): reindent
13866 * WorkArea.h: revert the xpos + etc changes.
13868 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13870 * lyxparagraph.[Ch]: add copy constructor, remove Clone
13872 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13873 (pasteSelection): likewise
13874 * text2.C (CreateUndo): likewise
13876 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13878 * minibuffer.C (peek_event): temporarily reduce the functionality
13879 of the minibuffer (to allow args on lfuns)
13881 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13882 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13884 * buffer.C (readInset): add compability reading of old float
13885 lists, add reading of new style float list.
13886 (readInset): avoid reevaluation of inscmd.getCmdName()
13887 (getLists): reindent
13889 * MenuBackend.C (MenuItem): implement parsing of
13890 md_floatlistinsert and md_floatinsert.
13891 (expand::LastFiles): move initalizaton of iterators out of loop,
13892 avoid reevaluation.
13893 (expand::Documents): introduce typdedef vector<string> Strings,
13895 (expand::ExportFormats): introduce typedef vector<Format const *>
13896 Formats, and use it.
13897 (expand): implement FloatListInsert and FloatInsert.
13899 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13900 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13901 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13903 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13905 (Dispatch::LFUN_FLOAT_LIST): implement
13907 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13909 * LaTeX.C (run): Fix problem with --export code.
13911 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13913 * BufferView.[Ch] (workarea): removed.
13914 (getClipboard) new method; wrapper for workarea()->getClipboard()
13916 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13919 * WorkArea.h (width, height, xpos, ypos): These methods all
13920 returned the dimensions of the work_area sub-area of WorkArea,
13921 resulting in a position error if the WorkArea were resized. Now
13922 return the dimensions of the entire WorkArea.
13924 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13926 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13928 * LaTeX.C (deplog): correct the syntax of regex reg1
13930 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13932 * undo.C: remove !NEW_INSETS cruft
13934 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13936 * text2.C: remove !NEW_INSETS cruft
13938 * text.C: remove !NEW_INSETS cruft
13940 * tabular.C: remove !NEW_INSETS cruft
13942 * spellchecker.C: remove !NEW_INSETS cruft
13944 * lyxtext.h: remove !NEW_INSETS cruft
13946 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13948 * lyxfunc.C: remove !NEW_INSETS cruft
13950 * lyxfind.C: remove !NEW_INSETS cruft
13952 * lyx_cb.C: remove !NEW_INSETS cruft
13954 * figureForm.C: remove !NEW_INSETS cruft
13956 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13958 * buffer.[Ch]: remove !NEW_INSETS cruft
13960 * ToolbarDefaults.C: remove !NEW_INSETS cruft
13962 * CutAndPaste.C: remove !NEW_INSETS cruft
13964 * BufferView_pimpl.C: remove !NEW_INSETS cruft
13966 * BufferView2.C: remove !NEW_INSETS cruft
13968 * BufferView.h: remove !NEW_INSETS cruft
13970 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13972 * Lsstream.h: include LString.h before the sstream headers to
13973 fix problem with gcc 2.95.3 and lyxstring
13975 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13977 * lyx_main.C: add using directives when needed for C functions
13978 declared in std:: namespace.
13980 2001-04-27 Juergen Vigna <jug@sad.it>
13982 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13983 (SetHeightOfRow): comment out the update call should not be needed!
13985 2001-04-13 Juergen Vigna <jug@sad.it>
13987 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13988 (LyXTabular): tried to minimize operator= operations (and realized
13989 hopfully Lars wish).
13991 2001-04-27 Juergen Vigna <jug@sad.it>
13993 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13995 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13997 * lyxfunc.C (Dispatch): hack to make listof algorithm work
13999 * buffer.C (readInset): hack to make listof algorithm work
14001 * BufferView_pimpl.C: hack to make listof algorithm work
14003 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14005 * LyXAction.C: removed all !NEW_INSETS cruft
14006 (init): moved lfun_item in method
14008 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14010 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14012 * BufferView2.C (theLockingInset): white space.
14014 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14016 * minibuffer.C: include <iostream>
14018 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14020 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14022 * commandtags.h: add LFUN_TRANSPOSE_CHARS
14024 * text.[Ch] (TransposeChars): new method
14026 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14028 * call message directly through LyXView instead of through LyXFunc
14029 * BufferView2.C: adjust
14030 * BufferView_pimpl.C: adjust
14031 * FontLoader.C: adjust
14033 * bufferview_funcs.C: adjust
14034 * converter.C: adjust
14035 * figureForm.C: adjust
14036 * importer.C: adjust
14038 * lyx_gui_misc.C: adjust
14039 * lyxfunc.C: adjust
14042 + more files in subdirs
14044 * lyxparagraph.h (size): move up int file
14047 * adjust all uses of Assert to lyx::Assert.
14049 * BufferView2.C (ChangeCitationsIfUnique): adjust for
14050 lyxfunctional in namespace lyx
14051 * layout.C (hasLayout): ditto
14054 (delete_layout): ditto
14055 (NumberOfClass): ditto
14056 * converter.C (GetFormat): ditto
14061 * bufferlist.C (getFileNames): ditto
14062 (emergencyWriteAll): ditto
14065 * MenuBackend.C (hasSubmenu): ditto
14068 * BufferView_pimpl.C (getInsetByCode): ditto
14070 2001-04-18 Juergen Vigna <jug@sad.it>
14072 * vspace.C (asLatexString): fixed the 100% problem.
14074 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14076 * lyxfunc.C (Dispatch):
14078 * minibuffer.h: add a few std:: qualifiers
14080 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14082 * minibuffer.[Ch]: reimplement so that commands is initiated and
14083 run from lyxfunc, simplified som handling, and made the completion
14084 and history code for complete. wip.
14086 * lyxfunc.C (processKeySym): call message
14087 (miniDispatch): new temporary method
14088 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14089 (LFUN_MESSAGE): implement
14090 (LFUN_MESSAGE_PUSH): implement
14091 (LFUN_MESSAGE_POP): implement
14092 (initMiniBuffer): the initial/defualt minibuffer message.
14094 * lyxfont.[Ch]: inline some more getters
14096 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14098 * lyx_gui_misc.[Ch] (WriteStatus): remove method
14100 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14101 (AutoSave): use LFUN_MESSAGE
14102 (Reconfigure): ditto
14104 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14106 * figureForm.C: use LFUN_MESSAGE
14108 * converter.C (runLaTeX): use LFUN_MESSAGE
14110 * bufferview_funcs.C: use LFUN_MESSAGE
14112 (changeDepth): ditto
14114 * bufferparams.h: use boost::
14116 * bufferlist.h: inherit privately from noncopyable
14118 * bufferlist.C (loadLyXFile): remove some commented code.
14120 * buffer.C (runChktex): use LFUN_MESSAGE
14122 * ShareContainer.h: inherit privately from noncopyable
14124 * ParagraphParameters.[hC] (depth): inline it.
14126 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14128 (message): new method
14129 (messagePush): ditto
14130 (messagePop): ditto
14131 (show): init minibuffer
14132 (showState): direct call
14134 * LaTeX.[Ch]: inherit privately from noncopyable
14135 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14136 instead of WriteStatus.
14138 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14140 * BufferView_pimpl.C (buffer): don't init minibuffer
14141 (workAreaButtonPress): use LFUN_MESSAGE
14142 (workAreaButtonRelease): ditto
14143 (savePosition): ditto
14144 (restorePosition): ditto
14145 (MenuInsertLyXFile): ditto
14146 (workAreaExpose): don't init minibuffer
14147 (update): remove commented code, simplify
14149 * BufferView2.C (openStuff): use LFUN_MESSAGE
14150 (toggleFloat): ditto
14153 (copyEnvironment): ditto
14154 (pasteEnvironment): ditto
14159 (updateInset): remove some commented code
14161 * lastfiles.h: inherit privately from noncopyable
14164 * lyx_main.h: ditto
14166 * lyxlex_pimpl.h: ditto
14168 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14169 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14170 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14172 * LyXAction.h: inherit privately from noncopyable, add methods
14173 func_begin, func_end, returning iterators to the func map.
14175 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14176 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14177 (func_begin): new method
14178 (func_end): new method
14180 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14182 (copySelection): ditto
14183 (pasteSelection): ditto
14185 * BufferView.C: whitespace change
14186 * BufferView.h: inherit privately from noncopyable
14188 2001-04-16 Allan Rae <rae@lyx.org>
14190 * tabular-old.C (l_getline):
14191 * spellchecker.C (sc_check_word):
14192 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14193 an unrecognised preprocessor directive. So ensure they're wrapped.
14195 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
14197 * src/exporter.C (Export): Give an error message when path to file
14200 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
14202 * LaTeX.C (deplog): Always check that foundfile exists.
14204 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14207 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14209 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14211 * tabular.[Ch] (getLabelList): implement new method
14213 * minibuffer.h: comment ouf setTiimer
14215 * minibuffer.C (ExecutingCB): constify res
14216 (peek_event): constify s
14217 (Set): constify ntext
14218 (Init): constify nicename
14220 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14222 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14223 (savePosition): use two params to Minibuffer::Set
14224 (restorePosition): ditto
14226 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14228 * lyx_main.C: include language.h
14230 * Makefile.am (lyx_main.o): add language.h
14232 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14238 * CutAndPaste.C: include gettext.h
14240 * lyxfont.h: remove old hack with ON and OFF.
14243 * lyxfont.h: do not include language.h...
14248 * bufferview_funcs.C:
14254 * paragraph.C: ... but do it here instead
14256 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14258 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14260 * tabular.C: small reformat
14262 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14265 (BreakParagraph): ditto
14266 (SetOnlyLayout): ditto
14269 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14272 * lastfiles.C: removed most using decl, add std:: where needed
14274 * buffer.C: ws changes
14276 * MenuBackend.C (class compare_format): put into anon namespace
14277 (expand): constify label, names, action, action2
14280 * text.C (SingleWidth): constify font
14281 (IsBoundary): constify rtl2
14282 (GetVisibleRow): constify ww
14284 * LaTeX.C (deplog): constify logfile
14286 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14288 (workAreaExpose): constify widthChange, heightChange
14290 * lyxrow.C (par): moved
14293 * lyxrow.h: as inlines here
14295 * lyxfont.h (shape): moved from lyxfont.C
14296 (emph): moved from lyxfont.C
14298 * lyxfont.C (LyXFont): use initialization list for all
14300 (shape): move to lyxfont.h as inline
14301 (emph): move to lyxfont.h as inline
14304 2001-04-04 Juergen Vigna <jug@sad.it>
14306 * vspace.C: had to include stdio.h for use of sscanf
14308 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
14311 * BufferView_pimpl.h: remove xforms cruft. Both classes are
14312 independent of xforms.
14314 2001-04-02 Juergen Vigna <jug@sad.it>
14316 * spellchecker.C: fixed namespace placing!
14318 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
14320 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14321 the LyXParagraph * is 0.
14323 2001-03-29 Juergen Vigna <jug@sad.it>
14325 * vspace.C: added support for %, c%, p%, l%.
14326 (stringFromUnit): added helper function.
14327 (asLatexString): changed to give right results for the %-values.
14329 * buffer.C: convert the widthp in a width%.
14331 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
14333 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14336 * figureForm.[Ch]: stripped the FD_from_figure manipulation
14337 code out of lux_cb.[Ch], ready for its (imminent?) removal.
14339 * lyx_cb.[Ch]: see above.
14341 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14345 * lyx.[Ch]: replaced by figure_form.[Ch].
14349 * lyxfunc.C: changed headers associated with above changes.
14351 2001-03-27 Juergen Vigna <jug@sad.it>
14353 * BufferView_pimpl.C: set the temporary cursor right!
14355 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
14357 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14359 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
14361 * LString.h: removed "using std::getline"!
14363 * BufferView_pimpl.C (Dispatch): changes due to changes in
14364 InsetInclude::Params.
14366 * buffer.C (tag_name): removed redundant break statements as they were
14367 producing lots of warnings with my compiler.
14369 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14371 * LString.h: add "using std::getline" when using the real <string>.
14373 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
14375 * buffer.C: removed bitset usage.
14376 PAR_TAG moved to an anonymous name space.
14377 (tag_name): new funtion, also in the anonymous namespace.
14378 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14379 (makeDocBookFile): clean code. Completed transition from string arrays
14381 (SimpleDocBookOnePar): code clean.
14383 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14385 * tabular.C: add some comments.
14387 2001-03-22 Juergen Vigna <jug@sad.it>
14389 * buffer.C (parseSingleLyXformat2Token): redone the minipage
14390 compatibility read a bit and fixed bug with minipage in different
14393 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
14395 * buffer.C (pop_tag): removed.
14396 (push_tag): removed.
14397 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14398 array replaced with vector. Added support for CDATA sections.
14399 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14401 (makeDocBookFile): XML conformant declaration of CDATA section,
14402 fixed bug related to <emphasis> in the first paragraph char.
14403 (sgmlOpenTag): exclude empty tags.
14404 (sgmlCloseTag): ditto.
14406 * buffer.h (pop_tag): removed.
14407 (push_tag): removed.
14409 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
14411 * language.h (Languages): added size_type and size().
14413 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14415 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14416 response on compability reading of minipages. One probliem is that
14417 the old usage of minipages was «flertydig»
14419 * several files here and in subdirs: don't use static at file
14420 scope use anon namespaces instead.
14422 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
14424 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14425 LaTeX output. This is necessary for Literate document
14428 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14430 * buffer.C: insert hfill when needed.
14432 * tabular.C (l_getline): use string::erase, small whitespace change.
14434 * BufferView_pimpl.C: try the anon namespace.
14435 * WorkArea.C: ditto
14437 2001-03-16 Juergen Vigna <jug@sad.it>
14439 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14440 otherwise it won't open options-dialogs.
14442 * buffer.C: honor pextraWidth(p) on converting minipages.
14444 * tabular.C (l_getline): changed the functions to strip trailing \r.
14446 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
14448 * BufferView_pimpl.C:
14449 * minibuffer..C: added "using SigC::slot" declaration.
14451 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14453 * lyxlex_pimpl.h: noncopyable is in namespace boost.
14459 * paragraph.C: ditto
14461 * lyxtext.h: NO_PEXTRA
14463 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14465 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14466 * ParameterStruct.h: ditto
14467 * ParagraphParameters.h: ditto
14468 * lyxparagraph.h: ditto
14470 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14472 * buffer.C: add compability for minipage alignment.
14473 (latexParagraphs): remove unwanted pextra check.
14475 * several files: remove CXX_WORKING_NAMESPACES
14477 * buffer.C (pop_tag): tie is in namespace boost
14479 * BufferView.h: noncopyable is in namespace boost
14481 * lyx_main.h: ditto
14484 * lastfiles.h: ditto
14485 * bufferlist.h: ditto
14486 * ShareContainer.h: ditto
14488 * LyXAction.h: ditto
14491 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14493 * Merging changes from BRANCH_MVC back into HEAD.
14495 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14497 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
14499 * BufferView_pimpl.C: change from intl.C
14503 * Makefile.am: move combox.*
14509 * intl.C: remove dialog (covered by prefs)
14511 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14513 * lyxfunc.C (Dispatch): removed redundant break statement.
14515 2001-03-14 Juergen Vigna <jug@sad.it>
14517 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14519 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14521 * buffer.C: add hack to fix compability reading of minipages.
14523 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
14525 * buffer.C (getLists): Cleanup.
14527 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14529 * lyxfont.C (update): don't honor toggleall on font size.
14531 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
14535 * Makefile.am: moved to frontends/xforms/
14539 * BufferView_pimpl.C: changes for moved mathpanel
14541 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14543 * gettext.h: fix gettext_init() in --disable-nls
14545 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14547 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14549 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
14552 * lyx.h: strip external form
14554 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14556 * BufferView_pimpl.C: add comment, destroySplash()
14558 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14560 * BufferView_pimpl.C:
14564 * lyxfunc.C: use re-worked insetinclude
14566 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14568 * buffer.C: add using std::stringstream.
14570 * lyx_cb.C: readd using std::ios.
14572 * buffer.C: add using std::map.
14574 * BufferView_pimpl.C: add using std::vector.
14576 * ShareContainer.h: add std:: to swap.
14578 * buffer.h: add some typedefs
14579 * buffer.C (getLists): use them
14580 (getLists): renamed from getTocList.
14581 add a counter for the different float types and use it in the
14583 (getLists): use the same counter for the NEW_INSETS and the "non"
14586 * lyx_cb.h: remove unused items, includes, using etc.
14588 * ShareContainer.h: remove some commented code, add more comments
14589 and "documentation".
14591 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14593 * buffer.C (getTocList): make the list also when NEW_INSETS is
14596 * buffer.h: remove TocType
14598 * buffer.C (getTocList): change to return a map<string,
14599 vector<TocItem> >, implement for dynamic number of list.
14601 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14602 * text2.C (PasteSelection): adjust
14603 * CutAndPaste.C (pasteSelection): adjust
14605 * FloatList.C (FloatList): update from the new_insets branch.
14606 * Floating.[Ch]: ditto
14607 * LaTeXFeatures.C: ditto
14609 * lyxlex_pimpl.C: ditto
14611 * paragraph.C (Last): remove when NEW_INSETS is defined.
14613 * other file: changes because of the above.
14615 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14617 * lyxparagraph.h: rename next to next_, previous to previous_,
14618 make them private for NEW_INSETS. Rename Next() to next(),
14619 Previous() to previous().
14621 * other files: changes because of the above.
14623 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
14626 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14629 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14631 * main.C (main): pass lyx_localedir to gettext_init().
14633 * gettext.h: remove locale_init and gettext_init macros
14635 * gettext.C (locale_init): new function
14636 (gettext_init): new function
14638 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14641 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
14643 * Moved credits to frontends:
14644 * credits.[Ch]: removed
14645 * credits_form.[Ch]: removed
14646 * lyx_gui_misc.C: remove credits stuff
14649 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14651 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14653 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14654 unneeded destructor.
14656 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14657 a standalone pointer again.
14659 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14661 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
14667 * ToolbarDefaults.C:
14676 * BufferView_pimpl.C: use new file dialog in GUII
14679 * lyx_cb.C: remove LayoutsCB to Toolbar
14681 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14683 * ShareContainer.h (get): add std:: qualifier
14685 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14687 * ShareContainer.h: define a proper ShareContainer::value_type
14688 type (and use typename to please compaq cxx)
14690 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14692 * lyxparagraph.h: move serveral local vars to
14693 ParameterStruct/ParagraphParameters., use ShareContainer in
14694 FontTable., make vars in FontTable private and add getter and
14697 * paragraph.C: changes because of the above.
14699 * lyxfont.h: remove copy constructor and copy assignment. (the
14700 default ones is ok), move number inside FontBits. move inlines to
14703 * lyxfont.C: add number to initializaton of statics, move several
14704 inlines here. constify several local vars. some whitespace
14705 cleanup. Dont hide outerscope variables.
14707 * Spacing.h: add two new constructors to match the set methods.
14709 * ShareContainer.h: new file, will perhaps be moved to support
14711 * ParameterStruct.h: new file
14713 * ParagraphParameters.h: new file
14715 * ParagraphParameters.C: new file
14717 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14718 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14720 * BufferView_pimpl.C: ParagraphParameter changes.
14721 * buffer.C: Likewise.
14722 * bufferview_funcs.C: Likewise.
14723 * text.C: Likewise.
14724 * text2.C: Likewise.
14726 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14728 * lyxfind.C (LyXReplace): do not redefine default argument in
14730 (IsStringInText): ditto
14731 (SearchForward): ditto
14732 (SearchBackward): ditto
14734 2001-03-06 Juergen Vigna <jug@sad.it>
14736 * lyxfind.C (IsStringInText): put parentes around expressions.
14738 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
14740 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14742 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
14744 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14746 * stl_string_fwd.h: add comment
14748 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14751 * tabular.C: remove unused DocBook methods
14757 killed DO_USE_DEFAULT_LANGUAGE
14759 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14761 * lyx_gui.C: do not include language.h.
14763 * bufferview_funcs.C (ToggleAndShow): do not provide optional
14764 arguments in function implementation.
14766 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14768 * BufferView_pimpl.C: add <ctime>
14770 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14772 * BufferView_pimpl.C: add using std::find_if
14774 2001-02-27 José Matos <jamatos@fep.up.pt>
14776 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14779 2001-02-11 José Matos <jamatos@fep.up.pt>
14781 * buffer.C (makeDocBookFile): command styles now have a parameter as
14782 "title" by default.
14784 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
14786 * layout_forms.[Ch]: removed
14787 * lyx_cb.[Ch]: out character
14788 * lyx_gui.C: out character
14789 * lyx_gui_misc.C: out character
14790 * bufferview_funcs.C: : out character,
14791 added toggleall as parameter in ToggleAndShow
14793 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
14795 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14797 * text2.C (SetCurrentFont): Disable number property at boundary.
14799 2001-02-26 Juergen Vigna <jug@sad.it>
14801 * lyxfunc.C (getStatus): added a string argument override function so
14802 that this is correctly called from LyXFunc::Dispatch if it contains a
14803 do_not_use_argument which is used!
14804 (Dispatch): added check for "custom" export and call appropriate func.
14806 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
14808 * lyxrc.C: Add language_command_local, language_use_babel and
14809 language_global_options.
14811 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14813 * buffer.C (makeLaTeXFile): Use language_use_babel and
14814 language_global_options.
14816 2001-02-23 Juergen Vigna <jug@sad.it>
14818 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14819 which works with LyXText and putted it inside BufferView. Here now we
14820 only call for that part the BufferView::Dispatch() function.
14822 * BufferView.C (Dispatch): added.
14824 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14825 functions which needs to use a LyXText over from LyXFunc.
14826 (MenuInsertLyXFile): added
14827 (getInsetByCode): added
14828 (moveCursorUpdate): added
14829 (static TEXT): added
14831 2001-02-22 Juergen Vigna <jug@sad.it>
14833 * BufferView_pimpl.C (update): call a status update to see if LyXText
14836 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14838 * vc-backend.C (revert): implement for CVS
14839 (getLog): implement for CVS
14841 2001-02-20 Juergen Vigna <jug@sad.it>
14843 * text2.C (ClearSelection): added BufferView param for inset_owner call
14845 * lyxfunc.C (TEXT): added this function and use it instead of
14846 directly owner->view()-text of getLyXText().
14848 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
14850 * src/layout_forms.C: out preamble
14851 * src/layout_forms.h: out preamble
14852 * src/lyx_cb.C: out preamble
14853 * src/lyx_cb.h: out preamble
14854 * src/lyx_gui.C: out preamble
14855 * src/lyx_gui_misc.C: out preamble
14856 * src/lyxfunc.C: connect with guii preamble
14858 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
14860 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14862 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
14864 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14865 whether to run bibtex.
14867 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
14869 * Makefile.am (lyx_SOURCES): Remove BackStack.h
14871 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14873 * Makefile.am (lyx_SOURCES): removed bibforms.h
14875 * vspace.h: doxygen
14877 * text.C (GetVisibleRow): make several local vars const
14879 * tabular.C: small cleanup.
14881 * lyxserver.C (callback): use compare instead of strncmp
14883 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14884 inlines to after class or to paragraph.C
14886 * lyxfont.h: remove friend operator!=
14888 * converter.h: move friend bool operator< to non friend and after
14891 * combox.h: small cleanup
14893 * buffer.h: doxygen, remove unused constructor, move inclas inlies
14894 to inlines after class def.
14896 * buffer.C (pop_tag): use string operations instead of strcmp
14898 * bmtable.c: doxygen, small cleanup
14900 * LaTeX.h: remove friend operator==
14902 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
14914 * BufferView_pimpl.C:
14915 * BufferView.[Ch]: remove cruft
14917 2001-02-14 Juergen Vigna <jug@sad.it>
14919 * lyxfunc.C: removed #if 0 unused code
14921 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14923 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14925 * text2.C (SetSelection): added a BufferView * parameter
14927 2001-02-13 Juergen Vigna <jug@sad.it>
14929 * lyxfunc.C (Dispatch): fixed protected blank problem.
14930 * BufferView2.C (protectedBlank): added LyxText * parameter.
14932 * tabular.C (AppendRow): forgot to set row_info of newly added row.
14933 (AppendColumn): same as above for column_info.
14935 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14936 (moveCursorUpdate): use a LyXText param for support of InsetText.
14938 * BufferView_pimpl.C (doubleClick): added support for InsetText.
14939 (tripleClick): ditto
14941 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14943 * BufferView_pimpl.C (update): added LyXText param to honor insets.
14945 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14947 * text2.C (SetSelection): set correct update status if inset_owner
14948 (ToggleFree): ditto
14950 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
14952 * tabular.C: remove some commented code.
14954 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
14956 * BufferView_pimpl.C: call hideSplash()
14958 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14961 * bibforms.h: remove
14964 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14965 add LFUN_CHILD_CREATE
14967 * counters.h: fix tiny typo
14972 * lyx.C: move splash to frontends/xforms/
14974 * lyx_gui_misc.C: move Include and Bibform to frontends
14976 * lyxvc.h: clarify comment
14978 * vspace.C: tiny housekeeping
14980 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
14982 * text.C (PrepareToPrint): RTL Fix.
14984 * paragraph.C (GetUChar): New method.
14985 (String): Use GetUChar.
14987 * buffer.C (asciiParagraph): Use GetUChar.
14989 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
14991 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14993 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
14996 * buffer.C: rename to getLogName(), handle
14997 build log / latex log nicely
14999 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15002 * MenuBackend.h: remove support for reference menuitem type.
15004 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
15006 * BufferView_pimpl.C: housekeeping
15007 * BufferView_pimpl.h:
15012 * minibuffer.h: move Timeout GUI-I
15014 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
15016 * lyxrc.C (read): Update converters data-structures.
15018 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
15020 * LaTeX.h (operator!=): add operator != for Aux_Info
15022 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
15024 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15026 * LaTeXLog.C: deleted, useful code moved to Buffer
15029 * buffer.C: new function getLatexLogName()
15035 * lyxfunc.C: use frontends for LaTeX and VC logs
15037 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15039 * LaTeX.h: yet another std:: that Allan forgot.
15041 * Variables.C (set): renamed from isset(), because this clashes
15042 with some HP-UX macros (grr).
15044 2001-02-06 Allan Rae <rae@lyx.org>
15046 * LaTeX.h: Another bug fix. Missing std:: this time.
15048 2001-02-04 Allan Rae <rae@lyx.org>
15050 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15051 floats problem. I've left it commented out because it's not quite
15052 correct. It should also test that the current object is a table or
15053 figure inset. But I haven't gotten around to figuring out how to do
15054 that. I *think* it'll be something like: "table" == inset.type()
15056 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15059 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
15061 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15062 all the citation/databases/styles in the auxilary file.
15063 (run): Rerun latex if there was a babel language error.
15065 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
15067 * text.C (Backspace): Preserve the font when changing newline char
15069 (BreakParagraph): If the cursor is before a space, delete the space.
15071 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15073 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
15075 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15076 new argument (code).
15077 (ChangeCitationsIfUnique): New method.
15079 * paragraph.C (GetPositionOfInset): Handle bibkey.
15081 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15083 * BufferView_pimpl.h: change type of Position::par_pos to
15084 LyXParagraph::size_type.
15086 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
15088 * BufferView_pimpl.C (savePosition, restorePosition): Write
15089 messages to minibuffer.
15091 2001-01-28 José Matos <jamatos@fep.up.pt>
15093 * buffer.C (makeDocBookFile): adds support for document language.
15094 A silly restriction on the name of LatexCommand types where removed.
15095 Added support for CDATA sections, allows to chars unescaped, used
15096 among others in code, to avoid escape < and >.
15098 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15100 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15101 saved positions instrad of a stack. Furthermore, a position is
15102 stored using paragraph id/paragraph position.
15104 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15105 Remove LFUN_REF_BACK.
15107 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15109 * converter.C (dvipdfm_options): New method.
15111 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
15113 * vspace.C (isValidLength): Fix for empty input string.
15115 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15117 * LyXAction.C (init): change description of LFUN_FIGURE to
15120 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15122 * LaTeX.C: add using directive
15124 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15126 * MenuBackend.C (expand): Fix the sorting of the formats.
15128 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
15130 * lyx_main.C: tiny error message fix
15132 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15134 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15135 calling fl_initialize(). This fixes the problem with ',' as
15136 decimal separator in text files.
15138 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15140 * trans.C (process): Fix the keymap bug.
15142 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
15144 * LaTeX.C (scanAuxFiles): New method. Provides support for
15145 multiple bibliographies (when using the bibtopic/bibunits pacakges).
15146 (scanLogFile) Scan for "run BibTeX" messages.
15148 * buffer.C (makeLaTeXFile): Do not load the ae package when using
15149 OT1 font encoding. Also, load the aecompl package if the ae
15152 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15154 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15156 * texrow.C (increasePos): turn two error messages into debug
15159 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
15161 * LaTeX.C (scanAux): Handle the \@input macro.
15162 (runBibTeX): Use scanAux().
15164 * language.C (latex_options_): New field.
15166 * LaTeXFeatures.C (getMacros): Add language macros.
15168 * buffer.C (makeLaTeXFile): Small fix.
15170 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15172 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15174 * text2.C: add a using directive.
15176 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
15181 * lyxfunc.C: kill LyXBell.
15183 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
15185 * text.C (IsBoundary): Remove the error message
15187 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15189 * lyxrc.C (setDefaults): Correct initialization value for
15192 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
15194 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15197 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15198 and GotoNextNote().
15200 * src/LyXAction.C: Added reference-next.
15202 * text.C (InsertChar): Use contains instead of strchr.
15204 * lyx_cb.C (MenuInsertLabel): Enable default value code.
15206 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
15208 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15209 alignment commands (when needed).
15211 * text.C (InsertChar): Add ':' to number separator chars.