1 2004-03-30 Angus Leeming <leeming@lyx.org>
5 * pariterator.[Ch]: added/corrected header blurb.
7 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
9 * dociterator.[Ch]: add an inset_ member
10 (backwardPos): implemented
11 (backwardPos, forwardPos): use inset_ when the stack is empty.
12 (doc_iterator_begin, doc_iterator_end): implemented
13 * pariterator.[Ch]: adjust, add begin, end
14 * insetiterator.[Ch]: adjust, add begin, end
19 * CutAndPaste.C: adjust
21 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
23 * buffer.C: increment file format to 232.
24 * LaTeXFeatures.C: add bibtopic package.
25 * bufferparams.[Ch]: param \use_bibtopic.
27 * lyxrc.[Ch]: add lyxrc bibtex_command
28 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
30 * buffer.C: increment file format to 231.
32 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
34 * dociterator.C: implement forwardPar
35 * iterators.[Ch]: remove, replaced by
36 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
49 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
51 * CutAndPaste.C (pasteSelection): fix 2 crashes
52 (eraseSelection): fix a crash
53 * paragraph_funcs.C: remove a warning
55 2004-03-28 Angus Leeming <leeming@lyx.org>
58 * LyXAction.C (init): new LFUN_PRINT.
60 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
62 2004-03-27 Angus Leeming <leeming@lyx.org>
65 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
67 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
69 2004-03-27 Angus Leeming <leeming@lyx.org>
71 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
72 insetlist always contains non-null pointers to insets.
74 2004-03-26 Angus Leeming <leeming@lyx.org>
76 * src/BufferView_pimpl.C:
80 * src/output_plaintext.C:
82 * src/paragraph_funcs.C:
86 * src/frontends/controllers/ControlErrorList.C:
87 * src/frontends/gtk/FileDialogPrivate.C:
88 * src/frontends/gtk/GPainter.C:
89 * src/frontends/gtk/GToolbar.C:
90 * src/frontends/qt2/QRef.C:
91 * src/mathed/math_scriptinset.C: squash compiler warnings.
93 2004-03-26 Angus Leeming <leeming@lyx.org>
95 * ispell.C (LaunchIspell::start):
96 * lyx_cb.C (AutoSaveBuffer::start):
97 invoke run(DontWait) rather than runNonBlocking().
99 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
101 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
103 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
105 * kbsequence.C (print): adjust
107 * kbmap.C (printKeySym): rename and change signature
108 (printKey): use LyXKeySym::print()
110 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
112 * undo.C: add using std::advance to compile for stlport
114 2004-03-24 Angus Leeming <leeming@lyx.org>
116 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
117 it leads to a crash when no buffer is present.
119 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
120 Martin Vermeer <martin.vermeer@hut.fi>
122 * lyxfunc.C (dispatch):
123 * bufferparams.C (readToken): use the new LColor::setColor
125 * LColor.[Ch] (setColor): new version that takes two strings as
126 argument and creates a new color entry if necessary
128 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
130 * buffer.C (makeLaTeXFile): if the main latex file that is
131 processed is usually a subdocument of some master, then pretend
132 for a while that it is actually the master
134 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
136 * buffer.C (getLabelList):
137 (getBibkeyList): use getMasterBuffer()
138 (getMasterBuffer): new method. Returns the main document in the
139 case where one is using included documents.
141 2004-03-25 André Pönitz <poenitz@gmx.net>
145 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
147 * ParagraphList_fwd.h: change ParagraphList to a std::vector
149 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
150 text*.C over here. Rename namespace CutAndPaste to lyx::cap
152 * ParameterStruct.h: merge with ParagraphParameters
154 * lyxtext.h: remove LyXText::parOffset() and getPar()
156 * text3.C: Remove all 'manual' update calls. We do now one per user
157 interaction which is completely sufficient.
161 * BufferView_pimpl.C:
164 * ParagraphParameters.[Ch]:
176 * output_docbook.[Ch]:
178 * output_linuxdoc.[Ch]:
179 * output_plaintext.[Ch]:
181 * paragraph_funcs.[Ch]:
182 * paragraph_pimpl.[Ch]:
190 * frontends/controllers/ControlDocument.C:
191 * frontends/controllers/ControlErrorList.C:
192 * frontends/controllers/ControlSpellchecker.C:
195 * insets/insetbase.h:
196 * insets/insetbibitem.C:
198 * insets/insetbranch.C:
199 * insets/insetcaption.C:
200 * insets/insetcharstyle.C:
201 * insets/insetcharstyle.h:
202 * insets/insetcollapsable.C:
203 * insets/insetcollapsable.h:
205 * insets/insetfloat.C:
206 * insets/insetfoot.C:
207 * insets/insetmarginal.C:
208 * insets/insetnote.C:
209 * insets/insetoptarg.C:
210 * insets/insettabular.C:
211 * insets/insettext.C:
212 * insets/insettext.h:
213 * insets/insetwrap.C:
214 * mathed/math_mboxinset.C:
215 * mathed/math_nestinset.C:
216 * mathed/math_scriptinset.C:
217 * mathed/math_scriptinset.h:
220 2004-03-24 Angus Leeming <leeming@lyx.org>
222 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
223 deal with any child processes that have finished but are waiting to
224 communicate this fact to the rest of LyX.
226 2004-03-24 Angus Leeming <leeming@lyx.org>
228 64-bit compile fixes.
230 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
231 (c-tor): pass lyx::pos_types rather than ints.
233 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
236 * text.C (Delete): compile fix.
237 (getPar): ensure that function declaration is the same as that in
240 2004-03-23 Angus Leeming <leeming@lyx.org>
242 * ispell.C (LaunchIspell):
243 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
244 a boost::shred_ptr rather than a std::auto_ptr.
246 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
248 * lyxfunc.C (getStatus): handle read-only buffers correctly;
249 handle LFUN_FILE_INSERT_*
251 * lyxrc.C (setDefaults, getDescription, output, read):
252 * lyxrc.h: remove ps_command
254 2004-03-22 Angus Leeming <leeming@lyx.org>
256 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
257 Ensure that error_handler is processed once only and that all data
258 is saved before attempting to output any warning messages.
260 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
262 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
264 * tabular.C (TeXRow): crash fix (from Kayvan and André)
266 2004-03-19 André Pönitz <poenitz@gmx.net>
268 * cursor.[Ch] (reset): take main text inset as argument
271 * BufferView_pimpl.C: adjust
273 * paragraph.[Ch]: fix completely broken operator=()
275 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
277 * LColor.C (getFromLyXName): make sure that the color name is used
280 2004-03-17 Angus Leeming <leeming@lyx.org>
283 * LyXAction.C (init): remove LFUN_FORKS_KILL.
285 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
286 dialog and to kill a forked process.
288 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
290 * text2.C (setCursorFromCoordinates): fix font problem
292 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
294 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
295 bogus "rebuild cursor" code
297 2004-03-11 André Pönitz <poenitz@gmx.net>
299 * buffer.[Ch]: use InsetText instead of LyXText as container for
302 * dociterator.[Ch]: drop the BufferView * member which is not needed
303 anymore after the change to buffer.C
309 * BufferView_pimpl.[Ch]:
311 * cursor_slice.[Ch]: adjust
313 * text3.C: fix bug in mathDispatch
315 2004-03-08 André Pönitz <poenitz@gmx.net>
317 * undo.[Ch]: use 'StableDocumentIterator' as base for
320 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
323 * bufferparams.[Ch]: add jurabib support and param.
325 * LaTeX.C: add FIXME/comment.
327 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
329 * buffer.C: increment file format to 230.
331 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
333 * cursor.C (dispatch): avoid infinite loops
335 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
337 * rowpainter.C (paintSelection): fix x coordinates
339 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
341 * text.C (rowBreakPoint): fix breaking before displayed insets
343 2004-03-01 André Pönitz <poenitz@gmx.net>
345 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
347 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
351 * BufferView_pimpl.C:
359 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
365 * BufferView_pimpl.C: rename textwidth -> maxwidth,
366 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
368 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
370 * Bidi.[Ch] (computeTables): const correctness
371 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
372 fill_hfill, fill_label_hfill and x from Row
373 * lyxtext.h: prepareToPrint returns a RowMetrics
374 * rowPainter.C: adjust
375 * text.C (prepareToPrint): use width, not textWidth. adjust
376 (redoParagraphInternal, cursorX): adjust
377 * text2.C (getColumnNearX): adjust
378 (init): put a default value to the top LyXText::width
380 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
382 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
384 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
386 * lyxtext.h: add FontIterator class
388 * text.C (FontIterator, operator*, operator->, operator++): add
389 (rowBreakPoint, setRowWidth): adjust (fixing a
392 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
394 * BufferView_pimpl.C (workAreaDispatch): allow also
395 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
397 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
399 * text.C (rowBreakPoint): fix a bug showing with very large insets
401 2004-02-25 André Pönitz <poenitz@gmx.net>
404 * cursor.[Ch]: move some mathed specific code to mathed
406 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
408 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
409 use_tempdir in preferences
410 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
412 * lyx_main.C: ensure that tempdir is valid
413 * lyxlex.h: correct typo
414 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
415 * paragraph.[Ch] (isMultiLingual): make const
416 * cursor.[Ch] (openable): make const
418 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
420 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
422 2004-02-20 André Pönitz <poenitz@gmx.net>
424 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
426 * cursor.[Ch]: prepare for localized getStatus()
432 * text3.C: streamlines the LyXText cursor movement handlers a bit.
434 2004-02-20 André Pönitz <poenitz@gmx.net>
436 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
438 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
440 * text2.C (setCursorFromCoordinates): switch to absolute coords
443 * text3.C (dispatch): adjust
445 2004-02-16 André Pönitz <poenitz@gmx.net>
447 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
450 * cursor_slice.[Ch]: remove unneeded acessor function
452 * lyxtext.h: rename rtl() to isRTL()
460 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
462 * rowpainter.C (paintSelection): coord fix
464 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
466 * Spacing.C: compile fix
468 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
470 * cursor.C (dispatch): restore current_ before returning
472 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
474 * text2.C (cursorUp, cursorDown): fix coords
477 2004-02-12 André Pönitz <poenitz@gmx.net>
482 * text3.C: add LCursor & parameter to most cursor movement functions
483 remove usage of LyXText::cursorRow() and cursorPar()
485 * cursor.[Ch]: add textRow() needed members
488 * BufferView_pimpl.C:
491 * BufferView_pimpl.C: adjust
493 2004-02-11 André Pönitz <poenitz@gmx.net>
497 * BufferView_pimpl.C: shift undo/redo handling
499 * cursor.[Ch]: fix mathed crash
502 * lyxtext.h: move selectionAsText to LCursor
510 * rowpainter.C: fix excessive drawing
512 2004-02-06 André Pönitz <poenitz@gmx.net>
515 * BufferView_pimpl.[Ch]:
516 * text3.C: move some text specific LFUN handling
518 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
520 * text3.C (checkInsetHit): adjust coords
521 * text2.C (getColumnNearX): adjust coords
522 (edit): adjust coords
523 * text.C (getRowNearY): add two asserts
525 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
528 * format.C: add using std::distance to compile on gcc 2.95/stlport
530 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
532 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
534 2004-02-04 André Pönitz <poenitz@gmx.net>
536 * BufferView.[Ch] (insertInset):
537 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
542 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
544 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
545 on the default clause of the switch
546 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
547 wasn't catched by LCursor::dispatch
549 2004-02-03 André Pönitz <poenitz@gmx.net>
552 * cursor.[Ch]: some additional asserts
554 * undo.[Ch]: remove LyXText dependency in interface
558 * lyxtext.h (firstPar, lastPar): remove dead functions
563 * paragraph.[Ch]: adjust
565 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
567 * lyxfind.C (find): fix argument order in call to ::find
569 2004-02-02 André Pönitz <poenitz@gmx.net>
571 * cursor.[Ch]: remove direct access to anchor
573 * text.C: remove findText() hack
575 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
577 * iterators.[Ch] (lockPath): remove in favour of...
578 * BufferView.[Ch] (setCursor): this addition
579 * BufferView.C (putSelectionAt): adjust
580 * undo.C (performUndoOrRedo): adjust
581 * lyxfunc.C (dispatch): adjust
583 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
585 * iterators.C (lockPath): add a missing slice
586 * undo.C (performUndoOrRedo): remove redundant positioning code
588 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
590 * vc-backend.C (scanMaster): ";" -> ';'
592 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
594 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
597 * lyxtextclass.C (compare_name): rename to...
598 (LayoutNamesEqual): ...this
600 * lyxlex_pimpl.C (compare_tags): inherit from
601 std::binary_function, put back into anon namespace
603 * lyxfind.C (MatchString): inherig from std::binary_function
604 (findChange): use empty() istead of !size()
606 * format.C (FormatNamesEqual): new functor
613 * converter.C (compare_Converter): rename to...
614 (ConverterEqual): ...this, and fixup a bit.
615 (getConverter): use it, and make function const
616 (getNumber): use it, and make function const
620 * bufferlist.C: add using boost::bind
622 * MenuBackend.C (MenuNamesEqual): new functor
623 (hasMenu): use it, and make function const
624 (hasSubmenu): use nested bind to get rid of compare_memfun.
626 2004-01-30 André Pönitz <poenitz@gmx.net>
628 * BufferView_pimpl.C:
639 * text3.C: move some of the edit(x,y) handling to the insets
640 some coordinate changes.
642 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
644 * text.C: add using statements for std::advance and std::distance
646 * paragraph.C: add using statement for std::distance
648 * lyxfind.C: add using statement for std::advance
650 * cursor.C (region): remove std:: from swap
651 (openable): use nucleus in stead of operator->
653 * BufferView.C: add using statements for std::distance and std::swap
655 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
657 * iterators.C: Remove the pimple, move the needed structures to
658 the header file. Create accessor for the positions stack.
659 (asPosIterator): remove function
661 * PosIterator.C (PosIterator): move constructors to top of file
662 (PosIterator): reimplement the constructor taking a ParIterator in
664 (setFrom): new function
665 (operator!=): inline it
667 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
669 * lyxfind.C (replaceAll): use std::advance
671 * iterators.h: inherit from std::iterator.
673 * PosIterator.C (advance, distance): remove
674 * PosIterator.h: interit from std::iterator.
676 2004-01-26 André Pönitz <poenitz@gmx.net>
679 * BufferView_pimpl.[Ch]:
683 * bufferview_funcs.C:
694 * output_plaintext.C:
696 * paragraph_funcs.[Ch]:
697 * paragraph_pimpl.[Ch]:
703 * text3.C: more IU: dumps most of the rest of the mathcursor
704 implementation into cursor.[Ch]; "globalize" a bit of it.
706 2004-01-25 Angus Leeming <leeming@lyx.org>
708 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
710 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
712 * LaTeXFeatures.h: add nice_ and nice() const
713 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
715 2004-01-20 André Pönitz <poenitz@gmx.net>
718 * BufferView_pimpl.C:
720 * bufferview_funcs.C:
733 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
734 LCursor and mathcursor parts to LCursor and InsetBase.
736 2004-01-15 André Pönitz <poenitz@gmx.net>
738 * cursor_slice.[Ch]: add a few covienience functions
740 * funcrequest.[Ch]: remove BufferView * member
742 * BufferView_pimpl.C:
749 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
751 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
753 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
754 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
756 2004-01-13 André Pönitz <poenitz@gmx.net>
759 * lyxtext.h: hide cursor and selection anchor behind accessor function
762 * BufferView_pimpl.[Ch]:
764 * bufferview_funcs.C:
774 * cursor_slice.[Ch]: some integer type changes for inset unification
776 * lyxcursor.[hC]: remove, it's CursorSlice now.
779 * BufferView_pimpl.[Ch]:
780 * bufferview_funcs.C:
786 * textcursor.[Ch]: adjust
788 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
790 * text2.C (undoSpan): add and use
791 * text.C (breakParagraph): use undoSpan (fix bug 578)
794 2004-01-08 Angus Leeming <leeming@lyx.org>
796 * BufferView_pimpl.C (MenuInsertLyXFile):
797 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
798 * lyxfunc.C (menuNew, open, doImport):
799 FileFilterList change to the FileDialog open and save functions.
801 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
803 * ShareContainer.h: make isEqual and isUnique adaptable
805 * CutAndPaste.C: make resetOwnerAndChanges adaptable
807 2004-01-07 Angus Leeming <leeming@lyx.org>
810 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
812 * BufferView_pimpl.C (dispatch): act on these LFUNs.
814 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
815 functions replacing find, replace and replaceAll.
817 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
818 LFUN_WORDFIND(FORWARD|BACKWARD).
820 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
822 * text.C (breakParagraph): remove an outdated #warning
824 2004-01-07 André Pönitz <poenitz@gmx.net>
826 * lyxfind.C: somewhat clearer logic
828 * text.C: prevent crash in cursorX on unitialized row cache
830 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
832 * lyxcursor.[Ch] (operator>): add
833 * textcursor.C (selStart, selEnd): use std::min and std::max
835 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
837 * Chktex.C: include boost/format.hpp
839 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
841 * InsetList.C: replace functor MathcIt with adaptable functor
843 (insetIterator): modify accordingly
845 * BranchList.h: move the BranchNamesEqual functor here from...
846 * BranchList.C: ... to here
848 * BranchList.C: new BranchListEqual fuctor, use it. Remove
850 (add): replace a finding loop with std::find_if.
852 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
854 * output_docbook.C: moving LatexParam functionality into
857 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
859 * buffer.C: increment format to 229.
861 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
864 * lyx_sty.[Ch]: remove minipageindent_def
870 * text3.C: remove LFUN_INSET_MINIPAGE
872 2003-12-28 Angus Leeming <leeming@lyx.org>
874 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
876 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
878 * text2.C (setParagraph): fix off-by-one crash
880 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
882 * output_docbook.C: header stuff for AGU
884 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
886 * text2.C (redoCursor): remove
889 * BufferView_pimpl.C: remove calls to redoCursor and
890 setCursor(cursor.par(), cursor.pos()) all around
892 2003-12-15 Angus Leeming <leeming@lyx.org>
894 * buffer.C: up the format to 228.
896 2003-12-15 André Pönitz <poenitz@gmx.net>
898 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
903 * BufferView_pimpl.C:
912 2003-12-15 Angus Leeming <leeming@lyx.org>
914 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
915 than getFromGUIName to manipulate the color.
917 2003-12-14 Angus Leeming <leeming@lyx.org>
919 * BranchList.[Ch]: minimize the API.
920 (Branch::getBranch, getColor): now return a 'const &'.
921 (Branch::setSelected) now returns a bool set to true if the
922 selection status changes.
923 (BranchList::clear, size, getColor, setColor, setSelected,
924 allBranches, allSelected, separator): removed.
925 (BranchList::find): new functions, returning the Branch with
927 (BranchList::add, remove): return a bool indicating that
928 the operation was successful.
930 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
931 new InsetBranch::isBranchSlected member function.
933 * LColor.[Ch]: mimimize the API.
934 (fill): renamed as addColor and made private.
935 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
936 versions of these functions taking a string arg have been removed.
938 * bufferparams.C (readToken):
939 * lyxfunc.C (dispatch):
940 * lyxrc.C (read): changes due to the altered BranchList and
943 * factory.C (createInset, readInset): changes due to altered
946 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
949 * lyxfunc.C: remove insetminipage. "minipage-insert"
950 now produces a frameless minipage box inset.
952 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
954 * textcursor.[Ch] (selStart,selEnd): add new methods
955 remove selection::start, end, use LyXCursor::operator<
956 * lyxcursor.[Ch] (operator<): add
957 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
958 * BufferView.[Ch] (unsetXSel): add
959 * text2.C (clearSelection): use unsetXSel,adjust
962 * rowpainter.C: adjust
963 * bufferview_funcs.C (put_selection_at): adjust
965 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
967 * BufferView_pimpl.C: small coord. correction
969 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
971 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
972 dragging over the splash screen.
974 2003-12-11 Angus Leeming <leeming@lyx.org>
976 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
977 as it is now handled in LyXText::dispatch.
979 * text3.C (doInsertInset): remove a level of nesting.
981 2003-12-11 Angus Leeming <leeming@lyx.org>
983 * factory.C (createInset): changes due to the changed interface to
984 InsetCommandMailer::string2params.
986 2003-12-10 Angus Leeming <leeming@lyx.org>
988 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
989 'dialog-show-new-inset <inset name>'
991 2003-12-10 Angus Leeming <leeming@lyx.org>
993 * buffer.C: up the format to 227.
995 * factory.C: the box inset is now identified simply by 'Box'.
997 2003-12-10 Angus Leeming <leeming@lyx.org>
999 * buffer.C: up the format to 226.
1001 * factory.C: the note inset is now identified simply by 'Note'.
1003 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
1005 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1006 when a pit is enough. Standarize a couple of loops.
1008 2003-12-05 Angus Leeming <leeming@lyx.org>
1010 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1011 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1012 data to the re-worked "log" dialog.
1014 2003-12-03 André Pönitz <poenitz@gmx.net>
1020 * paragraph_funcs.C:
1022 * text2.C: use Inset::getText instead of Inset::getParagraph
1024 2003-12-03 André Pönitz <poenitz@gmx.net>
1028 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1029 InsetText::read() as LyXText::read()
1031 2003-12-02 Angus Leeming <leeming@lyx.org>
1033 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1034 type. Add a comment in the implementation that the function uses
1035 the stream's bad() function rather than fail() as the std::streams
1038 2003-12-02 André Pönitz <poenitz@gmx.net>
1040 * lyxlex.[Ch]: make interface more similar to std::stream
1042 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1044 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1046 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1048 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1050 * vspace.[Ch]: remove VSpace::NONE
1052 2003-12-01 André Pönitz <poenitz@gmx.net>
1055 * lyxtext.h: move ParagraphList member to LyXText
1056 rename LyXText::ownerParagraphs to LyXText::paragraph
1059 * bufferview_funcs.C:
1069 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1071 * undo.C: fix cursor positioning
1073 2003-12-01 John Levon <levon@movementarian.org>
1075 * BufferView_pimpl.C: fix a crash on exit with
1078 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
1080 * BranchList.C: fix setSelected() method.
1082 2003-11-28 André Pönitz <poenitz@gmx.net>
1084 * ParagraphParameters.[Ch]:
1085 * ParameterStruct.h: remove space above/below from Paragraph to
1088 * BufferView_pimpl.C:
1094 * paragraph_funcs.C:
1100 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1102 * factory.C: Syntax change for CharStyles
1104 2003-11-28 André Pönitz <poenitz@gmx.net>
1109 * buffer.[Ch]: move LyXText member
1111 2003-11-28 André Pönitz <poenitz@gmx.net>
1113 * BufferView.[Ch]: make LyXText * text a private member
1115 * BufferView_pimpl.C:
1126 * output_plaintext.C: cleanup
1128 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1131 * lyxtextclass.[Ch]: parametrize SGML document header
1133 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1136 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1139 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1141 * text2.C (setFont): rework using PosIterator (no more recursive)
1142 (setCharFont): no more needed
1143 (setLayout): no more selection cursors fiddling (done by redoCursor)
1144 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1145 destroy remaining ones)
1147 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
1149 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1151 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1154 * text3.C: adjust + re-allow multi par depth changes
1155 * textcursor.C: simplify a bit
1157 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
1163 * src/output_docbook.C:
1164 * src/output_latex.C:
1169 * src/text2.C: Introducing a number of tags parametrizing various
1170 XML formats that we may want to support
1172 2003-11-25 André Pönitz <poenitz@gmx.net>
1174 * InsetList.[Ch] (begein, end): inline as suggested by profiler
1176 * lyxtext.h (leftMargin/rightMargin): simplify interface
1183 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1185 * lyxfunc.C (dispatch): propogate the bibtex databases from the
1186 master file to any child files. Fixes bug 546.
1188 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1190 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1192 2003-11-24 André Pönitz <poenitz@gmx.net>
1194 * rowpainter.C: simplification
1196 * text2.C (updateCounters): remove call to redoParagraph on
1197 changed labels as this is far too expensive.
1199 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1201 * converter.C (convert): fix a crash: this function gets
1202 called with buffer == 0 from importer code.
1204 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1206 * text3.C (cursorPrevious): make sure that we do not compare
1207 iterators form different containers.
1210 * rowpainter.C (paintSelection): make sure that we do not compare
1211 iterators from different containers.
1213 * text3.C (dispatch): [PRIOR] make sure that we do not compare
1214 iterators from different ParagraphList containers.
1217 * text2.C (LyXText): change order of initialization slightly
1218 (operator=): new function. copy all variables except cache_par_
1219 (moveUp): make sure that we do not compare iterators from
1220 different ParagraphList constainers.
1223 * text.C (firstPar): new function
1224 (lastPar): new function
1225 (endPar): new function
1227 * lyxtext.h: move things around and group public functions, public
1228 variables, private functions, private variables
1230 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1232 * factory.C: change call to InsetERT constructor to avoid
1233 additional invocation of method status
1234 * text2.C (toggleInset): remove redundant update() call
1235 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1236 instead of a Bufferview pointer
1238 2003-11-21 André Pönitz <poenitz@gmx.net>
1240 * rowpainter.C: simplification
1242 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1244 * text3.C (dispatch): make possible to extend a word/row selection
1247 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1249 * lyxtext.h: x0_,y0_ -> xo_,yo_
1250 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1251 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1252 * rowpainter.C (paintRows): paint full paragraphs
1254 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1256 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1259 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1261 * lyxtext.h: add x0_, y0_
1262 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1263 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1265 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
1267 * text2.C (setCursorIntern): move the x_target update here *
1268 * text3.C: change some bv() to true/false in calls to
1269 cursorUp/Down/Right/Left
1270 * cursor.C: use helper function.
1272 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1274 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1275 * paragraph_funcs.[Ch]: correct comment
1276 * rowpainter.C: do not paint selections away from bv->cursor()
1277 Fix a long standing selection painting bug.
1278 * text3.C: generalize mouse-selection code to LyXTexts other that
1280 * textcursor.C: do not use y coords if we can use par offsets
1282 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1284 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1285 cursor position after e.g. inset insert)
1287 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
1289 * lyxfind.C (replace): adjust to locking removal + some
1292 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
1294 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1297 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
1300 * output_docbook.C: XML sanitation: new layout
1301 parameters InnerTag and CommandDepth
1303 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
1305 * BufferView_pimpl.C:
1307 * text3.C: Fix the insertion and modification of button-style
1310 2003-11-13 André Pönitz <poenitz@gmx.net>
1312 * InsetList.[Ch]: remove deleteLyXText
1314 * paragraph.[Ch]: cache beginOfBody position
1319 * text3.C: remove superfluous update() calls
1323 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1325 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1326 * BufferView.C (fitLockedInsetCursor): remove
1327 * cursor.[Ch] (getDim): add
1328 * text.C (getRowNearY): add faster version
1329 * text3.C: remove some update calls
1331 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1343 * text3.C: The Character Style /XML short element patch.
1345 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
1348 * factory.C: Small step to solving 'unable to insert some insets'
1351 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1353 * cursor.[Ch] (updatePos): new function for updating the y
1354 position of the tip inset
1355 * bufferview_funcs.C (put_selection_at):
1356 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1358 2003-11-11 André Pönitz <poenitz@gmx.net>
1360 * text.C: remove big comment on invalid Paragraph pointers as it is
1363 2003-11-11 André Pönitz <poenitz@gmx.net>
1365 * text_funcs.[Ch]: merge with ...
1373 * Makefile.am: remove text_funcs.[Ch]
1375 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1377 * cursor.C (getPos): return absolute cached y coord
1379 * BufferView_pimpl.C (fitCursor): new simplistic code
1380 (workAreaDispatch): add a fitCursor call
1382 2003-11-10 André Pönitz <poenitz@gmx.net>
1385 * BufferView_pimpl.[Ch]: merge update() and updateInset()
1387 2003-11-10 André Pönitz <poenitz@gmx.net>
1389 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1390 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1391 indicate that the cursor needs to leave an inset
1393 * lyxtext.h: remove inset locking
1395 * cursor.[Ch]: re-implement functionality provided by inset locking
1398 * BufferView_pimpl.[Ch]:
1400 * bufferview_funcs.[Ch]:
1412 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1414 * PosIterator.[Ch]: replace the stack with a vector, add inset
1416 * iterators.[C]: adjust
1418 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1420 * lyxfind.C (replaceAll): mark the buffer dirty if something was
1422 * paragraph_funcs.C (readParToken): put the correct id in the
1423 error item, not the id of the top paragraph
1425 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1427 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1428 * bufferview_funcs.C (put_selection_at): use the above
1430 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1432 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1434 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1436 * output_linuxdoc.h:
1437 * output_plaintext.h:
1439 * output_docbook.h: add #include statements
1441 2003-11-05 José Matos <jamatos@lyx.org>
1443 * output_docbook.[Ch]:
1444 * output_latex.[Ch]:
1445 * output_linuxdoc.[Ch]:
1446 * output_plaintext.[Ch]: New files for output formats.
1447 * output.[Ch]: New file for helper functions.
1450 * paragraph_funcs.[Ch]: output functions moved to new files.
1452 * outputparams.h: rename of latexrunparams.h
1460 * paragraph_funcs.[Ch]:
1461 * paragraph_pimpl.[Ch]:
1462 * tabular.[Ch]: rename ascii to plaintext
1463 and LatexRunParams to OutputParams.
1465 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1467 * iterators.[Ch] (text): require bv argument
1468 * undo.C (recordUndo):
1469 * lyxfunc.C (dispatch):
1470 * bufferview_funcs.C (put_selection_at): adjust
1472 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
1474 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1476 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1478 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1481 2003-11-04 André Pönitz <poenitz@gmx.net>
1483 * cursor.[Ch]: restructure
1486 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1488 * iterators.[Ch] (asCursor): remove
1490 * lfuns.h: remove LFUN_INSET_EDIT
1496 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1498 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1500 * lyxfind.[Ch]: complete overhaul
1501 * BufferView_pimpl.C:
1503 * paragraph.[Ch] (insert): add
1505 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1509 * text.C: remove dead spellcheck code
1511 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1513 * dispatchresult.h: add a val setter
1515 * cursor.C (dispatch): use a tempvar for data_[i]
1517 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1519 * PosIterator.[Ch]: compile fix
1521 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1523 * text.C (cursorPar): deactivate the cursor cache
1525 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1527 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1529 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1531 * text3.C (dispatch): adjust for new DisptchResult semantics.
1533 * lyxfunc.C (dispatch): handle update when return from
1534 Cursor::dispatch, adjust for new DispatchResult semantics.
1536 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1537 DispatchResult(true) mean to not update. Add class functions for
1538 setting dispatched and update, as well as reading.
1540 * cursor.C (dispatch): don't handle update here
1542 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1544 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1545 * trans_mgr.C: adjust
1547 * paragraph_funcs.C (readParToken): exception safety
1549 * lyxvc.h: store the vcs pointer in a scoped_ptr
1552 * lyxsocket.C (serverCallback): exception safety
1554 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1556 * ispell.C (clone): make it return a auto_ptr
1558 * factory.C (createInset): exception safety
1559 (readInset): exception safety
1561 * bufferlist.C (newBuffer): exception safety
1563 * Thesaurus.C (Thesaurus): use initialization for aik_
1565 * MenuBackend.C (expandToc): exception safety.
1567 2003-11-03 André Pönitz <poenitz@gmx.net>
1571 * bufferview_funcs.C: remove getInsetFromId()
1574 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1580 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1582 * PosIterator.C (distance, advance): new
1583 * bufferview_funcs.[Ch] (put_selection_at): new
1584 * iterators.[Ch] (lockPath): new
1586 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
1588 * iterators.[Ch] (asPosIterator): added
1589 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1590 * PosIterator.[Ch]: added
1592 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1596 * cursor.C (dispatch):
1597 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1599 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1600 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1601 contructor, add a class function dispatched. Remove operator>=
1603 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1605 * debug.C: only use the default constructor for debugstream
1608 * main.C (main): include debug.h and setup the lyxerr streambuf
1611 2003-10-31 José Matos <jamatos@lyx.org>
1613 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1615 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1616 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1617 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1618 * paragraph_pimpl.C (simpleTeXSpecialC):
1619 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1620 add LatexRunParams argument.
1622 * exporter.C (Export): change call accordingly.
1624 * latexrunparams.h: add new member to take care of the other backends.
1625 2003-10-30 José Matos <jamatos@lyx.org>
1627 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1628 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1629 factorise code for paragraph output.
1631 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1634 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1636 * text3.C (dispatch):
1637 * lyxfunc.C (dispatch):
1638 * cursor.C (dispatch):
1639 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1641 * dispatchresult.h: make the dispatch_result_t ctor explicit
1643 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1646 * buffer.C: small refactoring of docbook stuff
1648 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1650 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1653 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1655 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1656 operator dispatch_result_t, and operators for == != and >=
1658 * cursor.C (dispatch): adjust for operator dispatch_result_t
1659 removal. comment out call to update
1661 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1663 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1671 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1674 * dispatchresult.h: new file, DispatchResult broken out of
1677 * Makefile.am (lyx_SOURCES): add dispatchresult.h
1679 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1681 * text.C (rowBreakPoint): put a hack inside #if 0
1683 2003-10-28 André Pönitz <poenitz@gmx.net>
1687 * paragraph_funcs.C:
1690 * text2.C: general cleanup (lots of small stuff)
1692 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1694 * text2.C (cursorEnd): simple fix to the "end key goes to one
1695 before the end on last row" bug
1697 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1699 * text.C (backspace): fix the "zombie characters"
1701 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1703 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1705 2003-10-27 André Pönitz <poenitz@gmx.net>
1707 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1709 * factory.C: handle new InsetPagebreak, InsetLine
1711 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1712 and move handling into new InsetPagebreak, InsetLine
1714 * BufferView_pimpl.C:
1716 * ParagraphParameters.C:
1717 * ParameterStruct.h:
1722 * paragraph_funcs.C:
1723 * paragraph_pimpl.C:
1729 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1732 * lyxrow_funcs.[Ch]:
1738 * text3.C: remove lastPos uses in favour of Row::endpos
1740 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1742 * undo.C (performUndoOrRedo): fix two crashes by setting a
1743 cursor by hand and reordering some calls. Use bv->lockInset instead
1744 of inset->edit because the latter loses cursor information
1746 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
1748 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1750 (rowBreakPoint): fix width. change point to point + 1.
1751 Add a missing check.
1753 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
1756 * lyxfunc.C: fix (at least partly) the problems
1757 with the Nav menu and headers inside branch insets
1760 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
1762 * paragraph.C (getChar): add strong asserts
1764 * lyxrow_funcs.C (lastPos): remove hideous hack
1766 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1767 (fill): adjust to that (avoid an infinite loop)
1769 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1771 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1773 2003-10-23 André Pönitz <poenitz@gmx.net>
1775 * RowList_fwd.h: change list<> to vector<> to gain speed
1776 after suggestion from Alfredo
1778 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1780 * lyxtext.h: move the bidi stuff from here...
1783 * Bidi.[Ch]: ... to here
1785 2003-10-23 André Pönitz <poenitz@gmx.net>
1788 * text.C (isLastRow, isFirstRow): new functions
1790 * paragraph.h: new width cache member
1792 * rowpainter.C: replace RowList::iterator with Row & where possible
1794 * lyxfunc.C: replace several view()->text with a single call
1796 * toc.C: fix 'unused' warning
1798 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1800 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1801 when woring with stream::pos_type
1802 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1804 2003-10-22 André Pönitz <poenitz@gmx.net>
1807 * text.C: use Row & instead of RowList::iterator
1809 * lyxrow.h: rename end() to endpos()
1815 2003-10-22 Angus Leeming <leeming@lyx.org>
1817 * buffer.[Ch] (fully_loaded): new member function, returning true
1818 only when the file has been loaded fully.
1819 Used to prevent the premature generation of previews and by the
1820 citation inset to prevent computation of the natbib-style label.
1822 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1823 templates are all set up.
1825 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1827 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
1829 * text.C: fixed an "oops" in the "is a bit silly"
1832 2003-10-21 André Pönitz <poenitz@gmx.net>
1834 * FuncStatus.[Ch]: small stuff, whitespace
1836 * lyxfont.[Ch]: operator<<() for debug reasons
1840 * lyxtext.h: whitespace, spelling
1842 * paragraph.C: naming of variables
1845 * text2.C: small stuff
1848 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1850 * text.C: (1) finish off the inset display() work;
1851 (2) fix the "is a bit silly" bug (accessing char
1854 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1856 * text.C: re-introduce display() for insets, fixing the
1857 various bugs (stretch of line above, math inset
1860 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1862 * text.C (rightMargin): remove spurious semicolon
1864 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1867 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
1869 * text3.C: fix one crash due to wrong cursor def
1871 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1873 * vc-backend.C (scanMaster): make the regex static
1875 * LaTeX.C (scanAuxFile): make the regexs static
1877 * text3.C (doInsertInset, dispatch, dispatch):
1878 * text2.C (cursorUp, cursorDown):
1879 * text.C (selectNextWordToSpellcheck):
1880 * BufferView_pimpl.C (dispatch):
1881 * lyxfunc.C (dispatch): localDispatch -> dispatch
1883 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1885 * lyxsocket.C: include <cerrno>
1887 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1889 * lyxfunc.C (dispatch): remove textcache stuff
1891 * bufferlist.C (release): remove textcache stuff
1894 * TextCache.C: delete file
1895 * TextCache.h: delete file
1897 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1899 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1900 delete of the bv_->text.
1901 (resizeCurrentBuffer): remove texcache stuff
1902 (workAreaResize): ditto
1904 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1906 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1909 2003-10-16 André Pönitz <poenitz@gmx.net>
1916 * text3.C: speed up by storing y positions per paragraph plus per-row
1917 offset instead of having a 'full' y position in the row.
1919 2003-10-15 André Pönitz <poenitz@gmx.net>
1923 * undo.[Ch]: make undo aware of inner insets
1925 2003-10-14 Angus Leeming <leeming@lyx.org>
1927 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1928 static member functions LyX::ref() and LyX::cref.
1929 (lastfiles): new accessor functions for the new lastfiles_ member var.
1930 (addLyXView, views_): add a new LyXView to the list of views_.
1931 (updateInset): loop over all LyXViews to call their own updateInset
1932 member function, returning a pointer to the Buffer owning the inset.
1934 * BufferView_pimpl.C (loadLyXFile):
1935 * MenuBackend.C (expandLastfiles):
1936 * bufferlist.C (MenuWrite, QuitLyX):
1937 lastfiles is no longer a global variable.
1938 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1940 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1941 static function. Access through LyX::cref().emergencyCleanup().
1943 2003-10-14 André Pönitz <poenitz@gmx.net>
1945 * iterators.[Ch]: new direct access to innermost LyXText and Inset
1947 * undo.[Ch]: restoring part of 'undo in insets'
1950 * undo_funcs.[Ch]: merge with undo.[Ch]
1952 * tabular.C: small cleansing stuff
1954 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
1956 * paragraph_funcs.C (readParToken): report unknown insets as error
1957 boxes. Use the outer paragraph as location (also for unknown
1960 * factory.C (readInset): do not abort on reading an unknown inset.
1961 Eat it and return 0.
1963 2003-10-13 Angus Leeming <leeming@lyx.org>
1965 * lyx_main.C (LyX): remove call to setDisplayTranslator().
1967 * lyxrc.C: displayTranslator is now a function,
1968 declared in GraphicsTypes.h.
1970 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1972 * format.C: new placeholder $$a to pass the socket address.
1974 * bufferlist.[Ch]: new function getBufferFromTmp.
1976 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1977 files in the temporary dir.
1979 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1981 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1983 * Makefile.am: add lyxsocket.[Ch].
1985 * lyx_main.C (error_handler): handle SIGPIPE.
1987 2003-10-13 André Pönitz <poenitz@gmx.net>
1989 * BufferView_pimpl.C:
1994 * undo_funcs.[Ch]: use paroffset_type instead of
1995 ParagraphList::iterators to prevent multiple conversion
1996 (and get a more robust interface)
1998 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2000 * lyxfunc.C (dispatch): RESULT -> dispatch_result
2002 * text3.C (dispatch): ditto
2004 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2006 * LaTeX.C (handleFoundFile): move the static to smaller scope,
2007 move the onlyfile, use onlyfile instead of foundfile in a couple
2010 * DepTable.C (update): flush the error stream a bit more
2012 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2014 * lyxserver.C (callback): adjust
2016 * lyxfunc.C (getStatus): add a missing brace in commented code
2017 (ensureBufferClean): reindent
2018 (dispatch): delete version taking a string
2020 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2022 * LaTeX.C (deplog): move found file handlig from here...
2023 (handleFoundFile): .. to new function here.
2024 (deplog): make sure to discover several files mentioned on the
2027 2003-10-10 André Pönitz <poenitz@gmx.net>
2034 * text3.C: fix some of the tabular crashes
2036 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2038 * MenuBackend.C (binding): put debug message into Debug::KBMAP
2040 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2042 2003-10-09 André Pönitz <poenitz@gmx.net>
2044 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2047 * BufferView_pimpl.C:
2048 * bufferview_funcs.C:
2059 * undo_funcs.C: adjust
2061 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2063 * text2.C (incrementItemDepth): new function, use a backtracking
2064 algorithm to discover the correct item depth.
2065 (resetEnumCounterIfNeeded): new function, use a backtracking
2066 algorithm to discover if counter reset is needed.
2067 (setCounter): use them. Simplify a bit. Add different labels for
2068 different item depths for itemize.
2070 * paragraph.C (Paragraph): remove initialization of enumdepth
2073 * paragraph.h: get rid of enumdepth, and use itemdepth both for
2074 enumerate and itemize. Change the type of itemdepth to signed char.
2076 2003-10-08 André Pönitz <poenitz@gmx.net>
2078 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2083 * tabular.[Ch]: fix crash after 'row-insert'
2085 2003-10-08 Angus Leeming <leeming@lyx.org>
2087 Fix doxygen warnings.
2089 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2090 Remove CutAndPaste:: prefix from header file declaration.
2092 * LColor.h (fill): remove LColor:: prefix from declaration.
2094 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2095 use lyx::depth_type rather than Paragraph::depth_type so that
2096 header file and .C file match.
2098 * converter.h (intToFormat): remove Converters:: prefix from declaration.
2100 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2101 * aspell.C: \file aspell_local.C -> \file aspell.C
2102 * gettext.C: \file gettext.C -> \file src/gettext.C
2103 * gettext.h: \file gettext.h -> \file src/gettext.h
2104 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2105 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2106 * text.C: \file text.C -> \file src/text.C
2108 * toc.C: move comment so that doxygen is not confused.
2110 2003-10-07 Angus Leeming <leeming@lyx.org>
2112 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2114 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2117 * aspell_local.h: add forgotten std::string's.
2119 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2126 * text3.C: The Box patch. Fancybox support, minipage, parbox
2128 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2134 * ParagraphParameters.h:
2144 * lyxtextclasslist.h:
2147 * paragraph_pimpl.C:
2148 * textcursor.h: add <string> and other small fixes to make Lars'
2149 std::string patch compile with STLport.
2151 2003-10-06 Angus Leeming <leeming@lyx.org>
2153 * LColor.h: Add missing #include <string>.
2155 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2157 * All most all file in all subdirs: Make <string> be the prefered
2158 way of getting to std::string, add using declarations.
2160 2003-10-06 André Pönitz <poenitz@gmx.net>
2162 * metricsinfo.C: initialize LyXFont before changing attribute.
2163 (fixes the 'math in \emph is upright' bug)
2165 2003-10-06 André Pönitz <poenitz@gmx.net>
2167 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2169 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
2172 * paragraph_pimpl.C: Small fixes to build using STLport
2174 2003-10-02 André Pönitz <poenitz@gmx.net>
2177 * text3.C: move handling of LFUN_DEPTH *; fix #1360
2179 2003-10-01 André Pönitz <poenitz@gmx.net>
2181 * factory.C: assert early
2183 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2185 * lyx_main.C: remove the global debug object
2187 * debug.h: adjust for new debugstream
2189 * debug.C: adjust for new debugstream and keep the global debug
2192 2003-09-22 Angus Leeming <leeming@lyx.org>
2194 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2195 of g++ which otherwise complain that the scoped_ptr destructor can't delete
2196 an incomplete class LyXFont.
2198 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2200 * factory.C: bug fix in branches
2202 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2204 * lyxfunc.C (processKeySym): adjust
2206 (dispatch): change arg name from ev to func, adjust
2207 (sendDispatchMessage): ditto
2209 * lyx_main.C (defaultKeyBindings): adjust keybindings
2210 (deadKeyBindings): ditto
2212 * kbsequence.C (addkey): return a FuncRequest
2214 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2216 * kbmap.C (bind): take a FuncRequest as arg, adjust
2219 (defkey): change to take a FuncRequest as arg, adjust
2220 (findbinding): take a FuncRequest as arg, adjust.
2222 * funcrequest.h (operator=): added
2224 * funcrequest.C (FuncRequest): default kb_action changed from
2225 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2227 * buffer.C (dispatch): simplify
2228 (dispatch): adjust to take a FuncRequest as arg, adjust
2230 * boost.C (assertion_failed): change assertion message slightly
2232 * ToolbarBackend.C (read): simplify
2234 * MenuBackend.C (binding): adjust call to findbinding, add a
2235 message if no binding is found.
2237 (expandToc): correct by adding a empty FuncRequest
2239 * LyXAction.C: include <boost/assert.hpp>
2240 (isPseudoAction): delete function
2241 (LookupFunc): change name to...
2242 (lookupFunc): this. change return type to FuncRequest.
2243 (getActionName): take kb_action as arg, simplify
2244 (funcHasFlag): add an assert, simplify.
2246 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2248 * toc.C (action): return a FuncRequest, simplify
2250 * lyxfunc.C (processKeySym): adjust
2251 (getStatus): delete version that takes an int.
2253 (dispatch): delete version that takes action as int
2255 (sendDispatchMessage): simplify and adjust
2257 * funcrequest.C (getArg): take unsigned int as arg
2259 * ToolbarBackend.C (read): adjust
2260 (add): delete version that takes func as a string.
2261 (getIton): take a FuncRequest as arg
2263 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2266 * MenuBackend.C (MenuItem): add a new construct that only takes a
2267 Kind, simplify the constructor use for submenus.
2269 (expandLastfiles): adjust
2270 (expandDocuments): adjust
2271 (expandFormats): adjust
2272 (expandFloatListInsert): adjust
2273 (expandFloatInsert): adjust
2274 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2276 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2277 Remove class variables lyx_pseudo_map and lyx_arg_map
2279 * LyXAction.C (searchActionArg): delete function
2280 (getPseudoAction): delete function
2281 (retrieveActionArg): delete function
2282 (LookupFunc): make it return kb_action, simplify.
2283 (getActionName): simplify
2285 * factory.C (createInset): fix new bug
2287 2003-09-19 Angus Leeming <leeming@lyx.org>
2289 * CutAndPaste.C (pasteSelection): remove fudge used to set the
2290 masterFilename_ parameter in the include inset.
2292 * factory.C (createInset): changes due to the changes to InsetInclude.
2294 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2296 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2298 2003-09-18 Angus Leeming <leeming@lyx.org>
2301 * BufferView.C: pass the buffer when calling Inset::getLabelList,
2302 Inset::fillWithBibKeys.
2303 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2305 2003-09-18 Angus Leeming <leeming@lyx.org>
2307 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2309 (ctor): pass and store a 'Buffer const &'
2310 (buffer): new member function.
2312 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2313 '*this' to the LaTeXFeatures ctor.
2315 2003-09-18 Angus Leeming <leeming@lyx.org>
2321 * text.C: rename EnumLColor as LColor_color.
2323 2003-09-18 Angus Leeming <leeming@lyx.org>
2325 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2326 remove #include "insets/insetbase.h" from cursor.h.
2328 2003-09-18 Angus Leeming <leeming@lyx.org>
2330 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2331 InsetOld_code to remove #include "inset.h".
2333 * iterators.C: add #include "insets/inset.h"
2335 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
2337 * BufferView.C: remove more locking stuff that apparently doesn't
2338 do anything sensible.
2340 2003-09-16 André Pönitz <poenitz@gmx.net>
2343 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2346 2003-09-16 Angus Leeming <leeming@lyx.org>
2348 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2350 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2353 * paragraph.h: remove #include "lyxfont.h". Forward declare
2356 2003-09-16 Angus Leeming <leeming@lyx.org>
2358 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2359 of support/textutils.h.
2360 (isWord): move the contents of support/textutils.h's IsWordChar here.
2366 * text2.C: add #include "paragraph.h".
2369 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2371 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2377 * LaTeX.C: use namespace alias for lyx::support::os
2379 2003-09-16 Angus Leeming <leeming@lyx.org>
2382 * bufferview_funcs.C:
2385 * paragraph_pimpl.C:
2387 * text.C: add #include "LColor.h".
2389 2003-09-16 Angus Leeming <leeming@lyx.org>
2391 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2392 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2394 Store the FontBits::color variable as an int rather than as an
2395 LColor::colorso that we can move LColor.h out of the lyxfont.h header
2398 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2399 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2400 string calls together.
2402 * lyxrc.C: add #include "LColor.h".
2404 2003-09-15 Angus Leeming <leeming@lyx.org>
2406 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2409 2003-09-15 Angus Leeming <leeming@lyx.org>
2411 * LColor.h: add an EnumLColor wrapper for LColor::color.
2413 * lyxfont.[Ch] (color, setColor, realColor):
2414 * lyxtext.h, text.C (backgroundColor):
2415 pass EnumLColor args to/from the functions, rather than LColor::color
2419 * lyxtext.h: forward declare EnumLColor.
2421 * lyx_main.C: add #include "LColor.h".
2423 2003-09-15 Angus Leeming <leeming@lyx.org>
2425 * .cvsignore: add lyx-gtk.
2427 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2432 * ParagraphParameters.C
2436 * bufferview_funcs.C
2446 * vc-backend.C: remove usage of STRCONV
2448 2003-09-15 Angus Leeming <leeming@lyx.org>
2450 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2451 explicitly define the color passed to the painter.
2453 2003-09-15 Angus Leeming <leeming@lyx.org>
2455 * bufferparams.C (BufferParams): reorder member initializers to avoid
2458 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
2460 * CutAndPaste.C (pasteSelection): remove an outdated #warning
2461 * text.C (updateRowPositions): remove an unusual nop
2463 2003-09-12 André Pönitz <poenitz@gmx.net>
2465 * BufferView_pimpl.C:
2474 * Counters.[Ch]: finish the 'automatic counters' job
2476 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2478 * aspell.C: include <boost/assert.cpp> (compile fix)
2480 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
2482 * boost.C (assertion_failed): use lyx::support::abort instead of
2485 2003-09-10 Angus Leeming <leeming@lyx.org>
2487 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2488 with their _fwd progeny.
2490 2003-09-09 Angus Leeming <leeming@lyx.org>
2492 134 files throughtout the source tree: replace 'using namespace abc;'
2493 directives with the appropriate 'using abc::xyz;' declarations.
2495 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2497 * boost.C (emergencyCleanup): moved here from LAssert.c
2498 (assertion_failed): new function, called by BOOST_ASSERT
2500 * several files: change Assert to BOOST_ASSERT
2502 2003-09-09 Angus Leeming <leeming@lyx.org>
2504 * buffer.[Ch]: Add an Impl class and move Buffer's member
2505 variables into it. As a result move several header files out of
2508 Add header files to lots of .C files all over the tree as a result.
2510 2003-09-09 Angus Leeming <leeming@lyx.org>
2512 * buffer.[Ch]: make Buffer's member variables private. Add
2515 Lots of changes all over the tree as a result.
2517 2003-09-08 Angus Leeming <leeming@lyx.org>
2519 * graph.C: #include <config.h>.
2521 2003-09-08 Angus Leeming <leeming@lyx.org>
2525 * BufferView_pimpl.C:
2554 * toc.C: remove redundant using directives.
2556 2003-09-07 Angus Leeming <leeming@lyx.org>
2558 * LaTeXFeatures.h: remove #include "support/types.h".
2559 * ToolbarBackend.h: remove #include <algorithm>.
2560 * changes.h: remove #include <ctime>.
2561 * debug.h: remove #include <iosfwd>.
2562 * graph.h: remove #include "support/std_string.h".
2563 * lyx_main.h: remove #include <csignal>.
2564 * lyxlex_pimpl.h: remove #include <fstream>.
2565 * sgml.h: remove #include <algorithm>, <utility>.
2566 * toc.h: remove #include "support/std_ostream.h".
2567 Add #include <iosfwd>.
2569 2003-09-07 Angus Leeming <leeming@lyx.org>
2571 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2573 * converter.h: forward declare LatexRunParams.
2574 * encoding.h: remove #include "lyxrc.h".
2575 * lyxtext.h: remove #include "LColor.h".
2576 * lyxtextclass.h: remove #include "support/types.h".
2577 * trans.h: remove #include "tex-accent.h".
2578 * trans_mgr.h: remove #include "tex-accent.h".
2579 * insets/inset.h: remove #include "support/types.h", <vector>.
2580 * insets/insetcollapsable.h: remove #include "LColor.h".
2581 * insets/insetinclude.h: remove #include "dimension.h".
2582 * insets/insetlatexaccent.h: remove #include "dimension.h".
2583 * insets/insetoptarg.h:: remove #include "insettext.h".
2584 * insets/insettext.h: remove #include "dimension.h",
2585 <boost/shared_ptr.hpp>
2587 * insets/renderers.h: add #include "dimension.h".
2588 * insets/updatableinset.h: add #include "support/types.h".
2590 * many .C files: Associated changes.
2592 2003-09-06 Angus Leeming <leeming@lyx.org>
2594 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2595 one, inside testInvariant.
2597 * PrinterParams.C: new file.
2598 * PrinterParams.[Ch]: move the function bodies out of line.
2600 2003-09-06 Angus Leeming <leeming@lyx.org>
2602 * ParagraphParameters.h: forward declare ParameterStruct rather than
2603 including its header file.
2604 (depth): moved out-of-line.
2606 2003-09-06 Angus Leeming <leeming@lyx.org>
2608 * BufferView_pimpl.h:
2611 * lyxfunc.h: forward declare LyXKeySym rather than
2612 #include "frontends/LyXKeySym.h".
2614 * BufferView_pimpl.C:
2617 * lyxfunc.C: associated changes.
2619 2003-09-06 Angus Leeming <leeming@lyx.org>
2621 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2622 As a result, can remove the #include "insets/inset.h" from BufferView.h
2624 2003-09-06 Angus Leeming <leeming@lyx.org>
2626 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2627 As a result, can remove the #include "insets/inset.h" from BufferView.h
2629 2003-09-06 Angus Leeming <leeming@lyx.org>
2635 * bufferview_funcs.C:
2636 * BufferView_pimpl.C:
2641 * ParagraphParameters.C:
2646 * frontends/controllers/ControlDocument.C:
2647 * insets/insetcaption.C: rearrange the #includes into some sort of
2650 * buffer.h: remove #includes ErrorList.h, undo.h
2652 2003-09-06 Angus Leeming <leeming@lyx.org>
2654 * support/types.h: add a 'depth_type' typedef, used to store the
2655 nesting depth of a paragraph.
2658 * ParameterStruct.h: use this lyx::depth_type typedef rather than
2659 defining explicitly.
2662 * paragraph_funcs.h:
2663 * ParagraphParameters.h:
2664 * sgml.h: use lyx::depth_type rather than Paragraph or
2665 ParameterStruct's depth_type.
2668 * paragraph_funcs.h: no need to #include paragraph.h anymore.
2671 * BufferView_pimpl.C:
2673 * ParagraphParameters.C:
2676 * bufferview_funcs.C:
2683 * frontends/LyXView.C:
2684 * frontends/controllers/ControlDocument.C:
2685 * frontends/controllers/ControlErrorList.C:
2686 * insets/insetbibitem.C:
2687 * insets/insetbranch.C:
2688 * insets/insetcaption.C:
2689 * insets/insetcollapsable.C:
2690 * insets/insetenv.C:
2691 * insets/insetert.C:
2692 * insets/insetfloat.C:
2693 * insets/insetfoot.C:
2694 * insets/insetfootlike.C:
2695 * insets/insetnewline.C:
2696 * insets/insetquotes.C:
2697 * insets/insettabular.C:
2698 * insets/insettext.C:
2699 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2701 * frontends/controllers/ControlChanges.C: #include "changes.h".
2703 2003-09-06 Angus Leeming <leeming@lyx.org>
2705 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2706 than #including paragraph.h.
2709 * RowList.h: deleted. Superfluous.
2719 * insets/insettext.h: use ParagraphList_fwd.h rather than
2722 * paragraph.h: don't forward declare ParagraphList.
2725 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2726 rather than ParagraphList.h. paragraph.h is still needed for the
2727 Paragraph::depth_type parameters.
2729 * textcursor.h: enable it to compile stand-alone in light of the
2732 * bufferview_funcs.C:
2744 * frontends/controllers/ControlParagraph.C:
2745 * frontends/controllers/ControlTabular.C:
2746 * insets/insetmarginal.C:
2747 * insets/insetminipage.C:
2748 * insets/insetnote.C:
2749 * insets/insetoptarg.C: add header files needed to compile again.
2751 2003-09-06 Angus Leeming <leeming@lyx.org>
2753 * RowList_fwd.h: new file, forward-declaring Row rather than
2754 #including lyxrow.h.
2759 * insets/insettext.h: use it instead of RowList.h
2761 * bufferview_funcs.C:
2768 * text3.C: #include "RowList.h".
2770 2003-09-05 Angus Leeming <leeming@lyx.org>
2772 * factory.C (createInset):
2773 * vspace.C (c-tor): replace sscanf call with an istringstream.
2774 * ispell.C: re-add missing HP/UX headers.
2775 * lyxserver.C: re-add missing os2 headers.
2777 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
2786 * text3.C: re-add missing system headers, needed for 2.95.2.
2788 2003-09-05 Angus Leeming <leeming@lyx.org>
2790 Changes most place everywhere due to the removal of using directives
2791 from support/std_sstream.h.
2793 2003-09-05 Angus Leeming <leeming@lyx.org>
2795 Replace LString.h with support/std_string.h,
2796 Lsstream.h with support/std_sstream.h,
2797 support/LIstream.h with support/std_istream.h,
2798 support/LOstream.h with support/std_ostream.h.
2800 Changes resulting throughout the tree.
2802 2003-09-05 Angus Leeming <leeming@lyx.org>
2804 * sgml.h: ensure that the header file can be compiled stand-alone.
2805 * *.C: strip out redundant #includes. (320 in total.)
2807 2003-09-04 Angus Leeming <leeming@lyx.org>
2809 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2810 here (from getPackages).
2812 * debug.[Ch]: add a new EXTERNAL tag.
2814 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2816 * text2.C (cursorEnd): simplify
2818 (getColumnNearX): adjust
2820 * text.C (computeBidiTables): adjust
2823 * rowpainter.C (paintChars): adjust
2824 (paintSelection): adjust
2825 (paintChangeBar): adjust
2828 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2830 (numberOfSeparators): adjust
2832 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2838 * text3.C: Restricts the mouse click functionality
2839 of insets like bibtex, include, toc and floatlist to the visible
2840 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2841 up the dialogs. Cursor has to be in front of the inset (i.e.
2842 start of row) for this to function.
2844 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2846 * bufferview_funcs.C (currentState): output row information
2848 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2850 * bufferview_funcs.C (currentState): output paragraph position
2852 2003-09-04 Angus Leeming <leeming@lyx.org>
2854 * FloatList.h: move out #include "Floating.h".
2855 * LaTeX.h: move out #include "DepTable.h".
2856 * LyXAction.h: move out #include "funcrequest.h".
2857 * buffer.h: move out #include "author.h", "iterators.h".
2858 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2859 * lyx_main.h: move out #include "errorlist.h".
2860 * lyxfunc.h: move out #include "FuncStatus.h".
2861 * lyxtext: move out #include "lyxcursor.h".
2862 * paragraph_pimpl.h: move out #include "counters.h".
2864 2003-09-03 Angus Leeming <leeming@lyx.org>
2866 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2867 preamble_snippets list, enabling us to add snippets to the preamble
2868 only if the snippet was not there already.
2870 2003-09-04 Angus Leeming <leeming@lyx.org>
2872 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2874 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2876 * lyxfunc.C (dispatch): if fitCursor did something be sure to
2879 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2881 * BranchList.C: point fix, earlier forgotten
2883 2003-09-02 Angus Leeming <leeming@lyx.org>
2885 * box.C (contains): renamed from 'contained' after a fantastic
2888 2003-09-02 John Levon <levon@movementarian.org>
2894 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2896 2003-09-02 John Levon <levon@movementarian.org>
2898 * text2.C: simplification of cursorEnd(), including partial
2901 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2903 * buffer.C (readFile): add a space
2905 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
2907 * BufferView_pimpl.C (update): remove bogus fitCursor() call
2909 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2911 * buffer.C (readFile): new function, take a filename and a
2912 ParagraphList::iterator
2914 (readFile): adjust, make it private. don't use setStream, make
2915 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2916 always contain the filename.
2918 * BufferView.C (insertLyXFile): simplify and make it work for
2921 2003-08-30 John Levon <levon@movementarian.org>
2923 * Makefile.am: fix dist (from Kayvan)
2925 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2927 * most files: change to use const Buffer refs
2929 2003-08-27 André Pönitz <poenitz@gmx.net>
2931 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2932 on top of ownerPar().
2934 2003-08-27 John Levon <levon@movementarian.org>
2936 * funcrequest.C: properly initialise POD members
2938 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2940 * lyxtext.h (top_y): move top_y from here
2945 * BufferView_pimpl.[Ch]: to here
2946 * frontends/screen.C:
2947 * insets/insettabular.C:
2948 * insets/insettext.C: adjust
2949 * rowpainter.[Ch] (paintRows): remove LyXText & argument
2951 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2954 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2956 2003-08-26 André Pönitz <poenitz@gmx.net>
2958 * paragraph_func.[Ch] (outerPar): new function
2961 * paragraph_funcs.C:
2962 * paragraph_funcs.h:
2963 * paragraph_pimpl.C:
2964 * text2.C: remove Inset::par_owner
2966 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2971 * text2.C: eliminates the needFullRow/display() stuff
2972 altogether, putting the logic in metrics/draw in the insets.
2974 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
2976 * text2.C (redoParagraphInternal, redoParagraphs):
2977 * text.C (redoParagraph): add a call to updateRowPositions at the
2978 end of each 'metrics-like' call. Remove all others.
2979 (getRow): remove the 'y-computing' version.
2980 (getRowNearY): do not compute nor return the real y. Solve the
2981 'y < 0' problem and simplify.
2983 2003-08-22 Angus Leeming <leeming@lyx.org>
2985 * *.[Ch]: clean-up of licence and author blurbs.
2986 Also move config.h out of a few .h files and into a few .C files.
2988 2003-08-22 André Pönitz <poenitz@gmx.net>
2990 * lyxrow.[Ch]: add x_ and *fill_ members
2995 * text2.C: adjust/remove prepareToPrint() calls
2997 2003-08-22 André Pönitz <poenitz@gmx.net>
2999 * lyxrow.[Ch]: add end_ member
3001 * lyxrow_funcs.C: use LyXRow::end_
3003 * lyxtext.h (singleWidth): add LyXFont parameter
3006 * text2.C: adjust LyXText::singleWidth() calls
3008 * text.C (redoParagraph): simplify row breaking logic
3011 2003-08-19 André Pönitz <poenitz@gmx.net>
3013 * funcrequest.C: initialize button_ member
3016 * rowpainter.[Ch]: interface consolidation
3018 2003-08-18 André Pönitz <poenitz@gmx.net>
3021 * BufferView_pimpl.C:
3023 * paragraph_funcs.C:
3025 * text3.C: remove LyXScreen::draw() and fitCursor calls
3027 * BranchList.h: remove spurious semicolons
3029 * MenuBackend.C: fix branchlist related crash
3031 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
3039 * bufferparams.[Ch]:
3043 * text3.C: implements the 'branch inset'
3044 idea. This allows the output of various versions of a document
3045 from a single source version, selectively outputing or suppressing
3046 output of parts of the text.
3047 This implementation contains a 'branch list editor' in a separate
3048 tab of the document settings dialog. Branches are user definable
3049 and have a "display colour" to distinguish them on-screen.
3051 ColorHandler was somewhat cleaned up.
3052 (1) make possible a dynamically growing LColor list by allowing
3053 the graphic context cache to grow along (vector);
3054 (2) eliminate an IMHO unnecessary step in colour allocation.
3056 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
3058 * BufferView_pimpl.C: compile fix
3060 2003-08-15 André Pönitz <poenitz@gmx.net>
3062 * rowpainter.C: remove extra metrics calls
3064 * lyxtext.h: merge the two constructors into a single one,
3065 pass reference to owner's par list
3067 * BufferView_pimpl.C:
3071 2003-08-15 André Pönitz <poenitz@gmx.net>
3073 * lyxrow_funcs.[Ch]:
3076 * paragraph_funcs.C:
3081 * text_funcs.C: split LyXText::rowlist_ into individual
3082 Paragraph::rows_ chunks
3085 * BufferView_pimpl.[Ch]:
3088 * text3.C: remove toggleSelection()
3090 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
3092 * bufferlist.C: beautify two alerts (shorter text of buttons)
3093 * buffer.C: Remove redundant ' ' from message
3095 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3096 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3097 rename VALIGN_CENTER to VALIGN_MIDDLE
3099 2003-08-11 André Pönitz <poenitz@gmx.net>
3101 * lyxtext.h (getPar):
3102 * text.C: new function
3104 2003-08-11 André Pönitz <poenitz@gmx.net>
3107 * tracer.[Ch]: remove unneeded files
3109 * InsetList.[Ch]: remove resizeInsetsLyXText()
3114 * text3.C: merge insertParagraphs() and appendParagraph()
3115 remove breakAgain(), update()
3117 * BufferView_pimpl.[Ch]:
3118 * bufferview_funcs.[Ch]:
3122 * tabular.C: adjust after text & InsetList changes.
3124 2003-08-08 André Pönitz <poenitz@gmx.net>
3126 * text.C (insertChar, backspace): replace rowlist fiddling
3127 with rebreak of full par
3130 * text.C (breakAgainOneRow, redoHeightOfParagraph,
3131 checkParagraph, updateInset): removed
3133 2003-08-07 André Pönitz <poenitz@gmx.net>
3136 * text3.C: merge some LFUN handlers, remove dead code
3138 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3140 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3142 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
3144 * text2.C (DEPM): fix part of bug 1255 and 1256
3146 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3148 * BufferView_pimpl.C (workAreaDispatch): change to use
3149 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3150 that are no mouse related.
3152 2003-08-05 André Pönitz <poenitz@gmx.net>
3155 * BufferView_pimpl.[Ch]:
3156 * bufferview_funcs.C:
3158 * text3.C: rip out "deep update"
3160 * textcursor.[Ch] (last_sel_cursor): remove unused member
3162 2003-08-04 André Pönitz <poenitz@gmx.net>
3165 * BufferView_pimpl.[Ch]:
3166 * ParagraphParameters.C:
3167 * bufferview_funcs.C:
3173 * text3.C: replace "complicated" BufferView::update(...) calls with
3176 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3178 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
3180 * Makefile.am (lyx_SOURCES): add paper.h
3182 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3184 * Makefile.am: move things around so that both lyx-qt and
3185 lyx-xforms can be built (according to --with-frontend). Then lyx
3186 is a symbolic link to lyx-[firstfrontend]
3188 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
3190 * Always use std::endl with lyxerr
3192 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
3194 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3196 2003-08-01 André Pönitz <poenitz@gmx.net>
3199 * BufferView_pimpl.[Ch]:
3201 * text3.C: merge BufferView::repaint() and BufferView::update()
3203 2003-08-01 José Matos <jamatos@lyx.org>
3205 * buffer.[Ch]: file_format is no longer a buffer data element.
3207 2003-08-01 André Pönitz <poenitz@gmx.net>
3212 * text2.C: make redoParagraph more independent of current cursor
3214 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3216 * text2.C: remove unneeded members
3218 2003-07-30 André Pönitz <poenitz@gmx.net>
3220 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3222 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3223 create a single function...
3225 * paragraph_funcs.C (moveItem): ... here.
3228 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3230 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3232 * LColor.[Ch]: Add comment and greyedout logical colors.
3234 2003-07-30 André Pönitz <poenitz@gmx.net>
3236 * tabular.C: don't use Assert too heavily. This crashes where it
3239 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
3241 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3242 is disabled (bug 1232)
3244 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3246 * factory.C: limited 'arg' scope
3248 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3250 * factory.C: fixed Note submenu issues
3252 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3254 * factory.C: submenu for Note/Comment/Greyedout
3256 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
3259 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3261 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
3264 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3265 greyedout. Patch provided by Jürgen Spitzmüller.
3267 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3269 * kbmap.C (read): fix error message when reading bind files
3271 2003-07-29 Angus Leeming <leeming@lyx.org>
3273 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3274 certainly does not do what it purports to do. I am doing it, and
3275 us, a favour by killing it.
3277 2003-07-28 José Matos <jamatos@lyx.org>
3279 * buffer.C (readBody, do_writeFile):
3280 * paragraph.C(readParagraph): \end_document replaces \the_end.
3282 2003-07-29 André Pönitz <poenitz@gmx.net>
3285 * BufferView_pimpl.[Ch]:
3289 * textcursor.[Ch]: remove toggleToggle & Co
3291 2003-07-28 José Matos <jamatos@fep.up.pt>
3293 * buffer.C (readParagraph):
3294 * params_func (readParToken, readParagraph):
3295 * paragraph.C (write): \layout -> \begin_layout.
3297 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3299 * lyxlex_pimpl.C (setFile): clean up slightly.
3301 * bufferparams.h: add compressed var
3303 * buffer_funcs.C (readFile): adjust for LyXLex change
3304 (newFile): ditto + simplify
3306 * buffer.C (writeFile): handle writing of compressed files
3308 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3309 Check if the file is compressed and set a bufferparm if so.
3311 * Makefile.am (lyx_LDADD): remove explicit -lz
3313 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3315 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3316 makeDocBookFile): put the real LyX version in the first line of
3320 * version.C.in: remove lyx_docversion
3322 * tabular.C (write_attribute): add a template-based version to
3323 write enums properly
3325 2003-07-28 André Pönitz <poenitz@gmx.net>
3330 * text3.C: use doubles again for x-coordinates. They are needed.
3332 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3334 * messages.C (getLocaleDir): use lyx_localedir()
3336 * lyxlex_pimpl.C (setFile): compress stuff
3338 * buffer.C (writeFile): add some compression stuff
3339 (do_writeFile): new func, dont call expliti close... will this
3342 * Makefile.am (lyx_LDADD): add -lz
3344 2003-07-28 José Matos <jamatos@fep.up.pt>
3346 * buffer.C: increment file format.
3347 * paragraph_funcs (readParagraph, readParToken):
3348 * paragraph.C (readParagraph): add \end_layout.
3350 2003-07-27 Angus Leeming <leeming@lyx.org>
3352 * Makefile.am: remove special casing for configure-time setting of
3353 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3355 * lyx_main.C (init): remove all Jean-Marc's magic setting of
3356 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3358 2003-07-26 André Pönitz <poenitz@gmx.net>
3360 * paragraph_func.[Ch]:
3361 * paragraph.C (realizeFont): inline it whereever it is used
3366 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3369 2003-07-26 André Pönitz <poenitz@gmx.net>
3373 * text2.C: get rid of LyXText::need_break_row
3375 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3377 * toc.[Ch]: put namespace toc inside namespace lyx
3379 * MenuBackend.C (expandToc2): adjust for lyx::toc
3382 * lyxfunc.C (dispatch): adjust for lyx::find
3384 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3385 lyx::find instead. Reorganize a bit.
3386 (LyXReplace): rename to replace
3387 (LyXFind): rename to find
3389 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3392 2003-07-26 André Pönitz <poenitz@gmx.net>
3394 * text.C (setHeightOfRow): restrict scope of temporary variable
3396 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
3397 code (never has been used?)
3399 2003-07-27 Asger Alstrup <alstrup@local>
3401 * text.C (fill): Optimise algorithm to exploit that we can reuse
3402 the LyXFont for many characters.
3403 (setHeightOfRow): Same thing.
3404 (rowBreakPoint): Same thing.
3406 2003-07-26 Asger Alstrup <alstrup@local>
3408 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3410 * text.C (singleWidth): Spurious font copying in hot-spot
3411 singleWidth avoided. Reorder tests for arabic for efficiency.
3413 * text.C (fill): handle empty paragraphs better.
3415 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3418 * encoding.h: add includes
3420 * lyxrc.C: remove reading of bind files
3422 * lyx_main.C (init): setup bindings and menus only if we have a
3425 * kbmap.C (read): new method. Do the actual reading of bind
3428 * converter.C (dvipdfm_options):
3431 (output): adapt PAPER_* enums.
3433 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3435 * bufferparams.h: remove paper-related enums from there
3437 * paper.h: New file. A trivial header file to hold paper-related
3438 enums. It should later expand to contain many paper-related
3441 * lyxrc.C: declare extern displayTranslator
3443 2003-07-27 José Matos <jamatos@fep.up.pt>
3445 * tabular.[Ch] (linuxdoc): add support for tables and figures
3448 2003-07-27 José Matos <jamatos@fep.up.pt>
3450 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3451 consistency in both functions.
3452 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3454 2003-07-26 Asger Alstrup <alstrup@local>
3456 * rowpainter.C (paintRows): Change algorithm to work directly on
3457 the insets rather than asking every character in the document
3458 whether its an inset.
3460 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
3462 * buffer.C (openFileWrite): factorize some code
3464 2003-07-26 Angus Leeming <leeming@lyx.org>
3467 * lyx_main.[Ch]: replace occurances of system_tempdir with
3470 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3472 * rename Inset to InsetOld
3474 2003-07-25 Asger Alstrup <alstrup@diku.dk>
3476 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3477 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3478 which I think is a bit clearer. EDIT is gone, since it was
3479 premature optimisation, and broken for mathed anyway.
3480 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3481 with cursor positioning in insets as well (math insets still do not
3482 work, but that's a different story anyway.) It mysteriously
3483 crashes sometimes with undo in the first paragraph, but I'm fairly
3484 confident that this is a compiler bug.
3486 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3488 * paragraph.C (Paragraph): adjust for new clone return type
3490 (copyIntoMinibuffer): ditto
3492 2003-07-25 Asger Alstrup <alstrup@lyx.org>
3494 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3495 by not having a special case, and always doing a full rebreak of
3496 the document after undo.
3498 2003-07-23 Angus Leeming <leeming@lyx.org>
3500 * factory.C (createInset): InsetExternal::setParams now takes a
3503 2003-07-23 Angus Leeming <leeming@lyx.org>
3505 * factory.C (createInset): changed interface to the external and
3506 graphics mailers' string2params functions.
3508 2003-07-23 Angus Leeming <leeming@lyx.org>
3510 * factory.C (createInset): pass a
3511 Buffer const * parameter to InsetExternalMailer's string2params.
3513 2003-07-22 John Levon <levon@movementarian.org>
3515 * Thesaurus.h: include the right aiksaurus header
3517 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3519 * MenuBackend.C (expand): check menu shortcuts unconditionally
3521 2003-07-21 Angus Leeming <leeming@lyx.org>
3523 * factory.C (createInset): pass a
3524 buffer_path parameter to InsetGraphicsMailer's string2params.
3526 2003-07-21 Angus Leeming <leeming@lyx.org>
3528 * BufferView_pimpl.C (buffer):
3531 * lyxfunc.C (dispatch):
3532 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3533 rather than the grfx shortcut.
3535 2003-07-21 André Pönitz <poenitz@gmx.net>
3537 * rowpainter.C: remove unused variables
3540 * tabular_funcs.h: move to tabular.C
3541 * Makefile.am: adjust
3543 * tabular.[Ch]: basic optical cleaning
3545 * author.h: pass references, not values
3547 2003-07-18 André Pönitz <poenitz@gmx.net>
3555 * text3.C: two-phase drawing for InsetText and InsetTabular
3556 some float -> int changes.
3558 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3560 * lyx_main.C: fix the fix
3562 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3564 * lyx_main.C: fix a crash in batch mode if no files specified
3567 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
3569 * format.[Ch] (papersize): moved to BufferParams
3570 * converter.[Ch] (dvips_options): moved to BufferParams
3571 (dvipdfm_options): moved to anon namespace
3572 * bufferparams.[Ch]: added above functions.
3574 2003-07-17 André Pönitz <poenitz@gmx.net>
3578 * text2.C: don't call inset->update() anymore
3580 * metricsinfo.[Ch]: add convenience constructor
3582 2003-07-16 André Pönitz <poenitz@gmx.net>
3587 * text2.C: replace the LyXCursor::irow_ member with
3588 on-demand computation of the value
3590 2003-07-16 John Levon <levon@movementarian.org>
3592 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3594 2003-07-15 André Pönitz <poenitz@gmx.net>
3597 * text2.C: remove no more needed refresh_row
3599 2003-07-15 André Pönitz <poenitz@gmx.net>
3604 * text3.C: refresh_status tristate -> need_update bool
3606 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
3608 * lyxtext.h (init): remove reinit argument (act as if always true)
3609 * text2.C: adjust to that
3611 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3613 * bufferview_funcs.[Ch]: introduce function replaceSelection()
3614 * text3.C: use it to delete selections in some cases
3615 (bugs 441, 673, 702, 954).
3617 2003-07-14 André Pönitz <poenitz@gmx.net>
3619 * rowpainter.[Ch]: reduce interface
3621 2003-07-14 André Pönitz <poenitz@gmx.net>
3623 * BufferView_pimpl.C:
3624 * text2.C: adjust after removing unused BufferView * argument
3626 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
3628 * text2.C (init): fix a crash fired on resize
3630 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
3632 * buffer.[Ch]: added new closing signal
3633 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3634 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3635 BufferView::Pimpl via the closing the signal
3637 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
3639 * buffer.[Ch]: take out all bv-related from buffer
3641 * BufferView_pimpl.[Ch]: connect to new signals
3642 * CutAndPaste.C: removed useless asserts
3643 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3646 * lyxfunc.C: moved view-related funciontality from vc here
3647 * paragraph.C: removed outdated comments
3650 2003-07-10 André Pönitz <poenitz@gmx.net>
3652 * BufferView_pimpl.C:
3656 * text2.C: remove InsetText::InnerCache, clean up consequences
3658 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
3660 * ispell.C: fix two typos in error messages
3662 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
3664 * Extend Note inset to other forms of annotation like Comment
3665 and Greyedout. Right button click gives dialog.
3667 Files modified or added (+):
3671 * ControlNote.[Ch] +
3673 * Makefile.am in frontends/xforms, frontends/xforms/forms,
3674 frontends/controllers
3678 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3680 * aspell.C: add missing namespace lyx::support
3682 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
3684 * BufferView.[Ch] (newFile): Add
3685 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3686 * LaTeX.[Ch] (message): added this signal and use it
3687 * buffer.[Ch] (busy, message): added these signals and use them
3688 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3692 * importer.C: use buffer signals instead of direct bv calling
3693 * lyx_cb.[Ch] (ShowMessage): removed
3696 * paragraph_funcs.C:
3697 * text2.C: use buffer signals
3699 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3701 * introduce namespace lyx::graphics
3703 2003-07-02 André Pönitz <poenitz@gmx.net>
3705 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3707 2003-07-01 André Pönitz <poenitz@gmx.net>
3714 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3715 text*.C to text_func.C
3717 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3719 * introduce namespace lyx::support
3721 2003-06-30 André Pönitz <poenitz@gmx.net>
3726 * text.C: re-enable --with-included-string
3728 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3730 * textcursor.C: add <config.h>
3732 * text.C (getWord): remove const from word_location arg
3734 * lyxvc.C (getLogFile): fix const type order
3736 * lyxtext.h: remove const from word_location arg, add arg name
3738 * lyxlayout.h: currect type on labeltype.
3740 * importer.C: correct \file
3742 * converter.C (intToFormat): use std:: on ret val, ws changes
3744 * bufferlist.h: correct \file
3746 * buffer.C (makeLinuxDocFile): fix const type order
3747 (makeDocBookFile): ditto
3748 (fillWithBibKeys): use std:: on stdlib args.
3750 * CutAndPaste.C: fix authors.
3751 (availableSelections): use std:: on return vector
3753 2003-06-27 André Pönitz <poenitz@gmx.net>
3755 * BufferView_pimpl.C:
3756 * bufferview_funcs.C:
3764 * text3.C: remove LyXCursor::row_ member
3767 * text.C: rename fullRebreak() to partialRebreak() and implement
3768 a fullRebreak() that really bereks fully
3770 * textcursor.h: new struct for cursor-related data
3772 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
3774 * lyx_main.C (LyX): get full path of document loaded on the
3777 2003-06-26 André Pönitz <poenitz@gmx.net>
3779 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3780 remove unused/broken operator>,<,>=.
3782 * text.C: remove only use of broken operator<= in an Assert().
3784 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3786 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3787 moved errorlist_.clear to showErrorList
3789 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3791 * converter.C (scanLog, runLaTeX):
3792 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3793 move the bv->showErrorList call to the callers
3794 * lyxfunc.C: i.e. here...
3796 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3797 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3798 namespace, the second to...
3799 * buffer_funcs (BufferFormat, parseErrors): added
3800 * errorlist.C (ErrorList(TeXErrors const &)): removed
3802 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3804 * ToolbarBackend.C (getIcon): complain when icon cannot be found
3806 2003-06-24 "Garst R. Reese" <reese@isn.net>
3810 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3812 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3814 * version.C.in: change docversion to 1.4
3816 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
3818 * buffer.C: fix a bug just introduced
3820 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3822 * buffer.[Ch]: added the parseError signal and use it, removed
3824 * BufferView.[Ch] (addError): moved to ...
3825 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3826 to the Buffer::parseError signal to catch (guess what) parse errors
3827 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3829 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3831 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3832 ability to create a buffer and to return an existing one from
3833 the list. Moved these functions to...
3834 * buffer_funcs.[Ch]: added
3835 * BufferView.[Ch] (loadLyXFile): added
3836 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3837 job removed from bufferlist::loadLyXFile.
3838 * buffer.C (setReadOnly): make it work without view
3839 (i.e added an if (users))
3841 2003-06-19 Angus Leeming <leeming@lyx.org>
3844 * LyXAction.C (init):
3845 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3846 with LFUN_DIALOG_SHOW <name> <data>.
3848 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3850 * CutAndPaste.C (availableSelections): small compilation fix for
3851 ancient (gcc 2.9x) compilers
3853 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3855 * text3.C (cursorNext): add tmp var
3857 * text2.C (updateCounters): for function calling out of for clause
3858 (replaceSelectionWithString): ditto
3859 (insertStringAsParagraphs): ditto
3860 (getColumnNearX): add tmp var
3861 (setCursorFromCoordinates): add tmp var
3862 (cursorDownParagraph): add tmp var
3863 (deleteEmptyParagraphMechanism): add tmp var
3865 * text.C (insertChar): add tmp var
3867 * rowpainter.C (paintDepthBar): add tmp var
3869 * CutAndPaste.C (availableSelections): potentially check all
3870 paragraphs in a cut to fill the shown strings.
3872 2003-06-18 André Pönitz <poenitz@gmx.net>
3874 * kbmap.[Ch]: use vector<> instead of list<>
3876 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3878 * text3.C (dispatch): handle arg to LFUN_PASTE, call
3879 pasteSelection with index
3881 * text2.C (pasteSelection): modify, call pasteSelection with index
3883 * paragraph.C (asString): reimplement version with no interval to
3884 call the one with interval.
3886 * lyxtext.h: add index arg to pasteSelection
3888 * MenuBackend.C (MenuItem): handle PasteRecent
3889 (Menu::read::Menutags): add md_pasterecent
3891 (expandPasteRecent): new function
3894 * MenuBackend.h: add PasteRecent to MenuItem::Kind
3896 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3898 (availableSelections): new function
3900 2003-06-17 Angus Leeming <leeming@lyx.org>
3902 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3904 2003-06-17 Angus Leeming <leeming@lyx.org>
3907 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3909 * lyxfunc.C (dispatch): invoke it.
3911 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3913 * iterators.C (operator++, ParPosition): reintroduce some
3914 const_cast for the benefit of older compilers.
3916 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3918 * text3.C (dispatch): do not modify clipboard when doing
3919 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3920 LFUN_DELETE_SKIP on a selection selection
3922 2003-06-16 André Pönitz <poenitz@gmx.net>
3928 * tabular.[Ch]: IU of clone() and getLabelList();
3930 2003-06-13 André Pönitz <poenitz@gmx.net>
3932 * tabular.h: compactification
3934 2003-06-12 André Pönitz <poenitz@gmx.net>
3938 * tabular_funcs.h: some renaming plus whitespace
3940 2003-06-12 André Pönitz <poenitz@gmx.net>
3943 * BufferView_pimpl.C:
3949 * toc.C: Return a Paragraph & for ParIterator::operator*()
3951 2003-06-11 John Levon <levon@movementarian.org>
3955 * ToolbarBackend.C: add "Toolbars" section and
3958 2003-06-10 Angus Leeming <leeming@lyx.org>
3961 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3963 * lyxfunc.C (dispatch): invoke it.
3965 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3967 * main.C: protect <ios> with HAVE_IOS
3968 (main): protect sync_with_stdio with HAVE_IOS
3970 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
3972 * text2.C (cutSelection): adjust
3973 (pasteSelection): adjust
3975 * messages.C: handle get of empty string
3977 * main.C (main): use sync_with_stdio(false)
3979 * lyxfunc.C (dispatch): adjust
3981 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3982 (WriteAs): remove unneeded BufferView arg.
3984 * bufferparams.h: use correct types on papersize, papersize2 and
3987 * bufferparams.C (readToken): adjust for type
3988 (writeLaTeX): add missing cases to switch.
3990 * bufferlist.C (quitWriteBuffer): adjust
3993 * buffer.C (asciiParagraph): remove some commented code.
3995 * CutAndPaste.C: remove current_view extern variable.
3996 (cutSelection): add BufferParams arg.
3997 (eraseSelection): add BufferParams arg.
3998 (pasteSelection): add Buffer const & arg
4000 2003-06-07 John Levon <levon@movementarian.org>
4003 * paragraph_funcs.C:
4004 * paragraph_pimpl.C:
4008 * paragraph.C: allow InsetERT to freely space lines,
4009 and some consolidation of code
4011 2003-06-06 José Matos <jamatos@fep.up.pt>
4013 * buffer.C (makeDocBookFile): fix bug #821
4015 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
4017 * BufferView_pimpl.C (dispatch): use Dialogs::visible
4019 2003-06-04 Angus Leeming <leeming@lyx.org>
4021 * buffer.C: bump format to 224.
4023 2003-06-05 André Pönitz <poenitz@gmx.net>
4025 * text2.C (redoParagraphs): remove two const_cast<>
4027 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4029 * ParagraphList.h: remove last remnants of NO_STD_LIST
4031 2003-06-03 Angus Leeming <leeming@lyx.org>
4033 * factory.C (createInset): small change to the way InsetExternal's params
4036 2003-06-04 André Pönitz <poenitz@gmx.net>
4038 * buffer.h: use Undo directly instead of shared_ptr<Undo>
4040 * paragraph_pimpl.h:
4041 * paragraph.[Ch]: some Inset -> UpdatableInset changes
4043 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4045 * undo_funcs.C: make some simple cases of undo work again
4047 2003-06-03 John Levon <levon@movementarian.org>
4049 * ispell.C: HPUX doesn't have sys/select.h
4052 2003-06-03 John Levon <levon@movementarian.org>
4054 * CutAndPaste.C: update tabular and include inset
4059 * paragraph.C: remove owningBuffer(), don't pass Buffer
4062 * factory.C: insetGraphicsParams changed
4064 2003-06-02 John Levon <levon@movementarian.org>
4070 * text3.C: remove insetparent
4072 2003-06-02 John Levon <levon@movementarian.org>
4075 * buffer.C: fix inset_iterator.end(), move out of line
4078 2003-06-01 John Levon <levon@movementarian.org>
4080 * text3.C: use a proper cut/paste when doing inset
4081 insert (from Jürgen Spitzmüller)
4083 2003-06-01 John Levon <levon@movementarian.org>
4085 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4087 2003-05-30 André Pönitz <poenitz@gmx.net>
4089 * rowpainter.C: unify second drawing phase
4091 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4093 * trans_mgr.C: remove one case of current_view
4095 * text2.C (cursorBottom): delete NO_STD_LIST stuff
4097 * paragraph_funcs.h: remove paragraph.h include
4099 * paragraph.h: delete NO_STD_LIST stuff
4101 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4103 * buffer.h: remove paragraph.h include
4105 * ParagraphList.C: delete file
4107 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4109 * toc.C (getTocList): adjust
4111 * paragraph_pimpl.C (validate): adjust
4113 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4115 * paragraph.C (Paragraph): adjust
4116 (getPositionOfInset): use const_iterator, adjust
4117 (bibitem): use const_iterator, adjust
4118 (setInsetOwner): adjust
4120 * iterators.C (operator++): adjust
4122 * InsetList.[Ch]: Replace selfmade iterator with standard
4123 vector::iterator also introduce const_iterator. Remove getPos,
4124 getInset and setInset from InsetTable. Adjust accordingly.
4126 * BufferView.C (lockInset): adjust
4127 (ChangeInsets): adjust
4129 * tabular.[Ch]: delete commented same_id functions
4131 2003-05-28 John Levon <levon@movementarian.org>
4133 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4135 2003-05-28 André Pönitz <poenitz@gmx.net>
4137 * metricsinfo.[Ch]: remove 'fullredraw' member
4139 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
4141 * lyxtextclass.C (operator): remove caching.
4143 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4147 * text2.C (cursorBottom): adjust
4148 (setCounter): use ParagraphList::find, adjust
4150 * text.C (workWidth): use ParagraphList::find, adjust
4152 * lyxcursor.C (LyXCursor): adjust
4154 * buffer.C (inset_iterator): adjust
4156 * ParagraphList.h: make iterator(value_type) private, make
4157 ParagraphList a friend of iterator.
4159 * ParagraphList.C (find): new function
4161 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4163 2003-05-27 André Pönitz <poenitz@gmx.net>
4165 * dimension.[Ch]: a -> asc, d -> des, w -> wid
4167 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4169 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4171 2003-05-26 John Levon <levon@movementarian.org>
4173 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4175 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4177 * remove same_id from function signatures, adjust.
4179 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4181 * undo_funcs.C (createUndo): use the id functions directly, adjust.
4183 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4185 * paragraph.C (Paragraph): get rid of same_ids parameter
4187 * ParagraphList.C (insert): adjust
4190 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4192 * paragraph_funcs.C (breakParagraph): adjust
4193 (breakParagraphConservative): adjust
4195 * buffer.C (readParagraph): adjust
4197 * ParagraphList.C (insert): take a reference instead of a pointer
4200 * paragraph.[Ch] (id): new function
4202 * bufferlist.C (newFile): adjust
4204 * ParagraphList.C (ParagraphList): adjust
4206 (push_back): take a reference instead of a pointer.
4208 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4210 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4213 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4214 set else use old code.
4216 * ParagraphList.C: remove all NO_NEXT code and only compile this
4217 code of NO_STD_LIST is set.
4219 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4221 * BufferView_pimpl.C:
4231 * graphics/GraphicsConverter.C:
4232 * graphics/PreviewLoader.C: header adjustment
4234 2003-05-23 Angus Leeming <leeming@lyx.org>
4236 * LaTeXFeatures.[Ch] (useBabel): new method.
4237 * bufferparams.C (writeLaTeX): use it.
4239 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4241 * ParagraphList.h (set): remove unused function.
4243 2003-05-23 André Pönitz <poenitz@gmx.net>
4246 * BufferView_pimpl.C:
4250 * undo_funcs.C: setUndo reworked
4252 * iterators.[Ch]: add access to topmost ParagraphList
4254 * lyxtext.[Ch] (workWidth): add a const
4256 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4258 * texrow.[Ch] (increasePos): remove function
4259 * exporter.C (export): removed unused var and outdated comment
4261 2003-05-23 Angus Leeming <leeming@lyx.org>
4263 * latexrunparams.h: rename fragile as moving_arg.
4264 * paragraph.C (simpleTeXOnePar): ditto.
4265 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4267 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4269 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4271 (textUndoOrRedo): comment out a currently unused var.
4273 * paragraph.h (NO_NEXT): enable NO_NEXT
4275 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4277 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4279 * exporter.C (Export): adjust for removeAutoInsets removal.
4281 * buffer.C (runChktex): adjust for removeAutoInsets removal.
4283 * LyXAction.C (init): remove LFUN_REMOVEERRORS
4285 * BufferView.[Ch] (removeAutoInsets): delete function
4287 2003-05-22 Angus Leeming <leeming@lyx.org>
4289 * latexrunparams.h: add a free_spacing variable.
4291 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4292 to pass moving_arg, as the data is stored in runparams.fragile.
4294 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4295 to Inset::latexOptional or to simpleTeXOnePar.
4297 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4298 free_spacing arg to Inset::latexOptional.
4300 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4303 2003-05-22 Angus Leeming <leeming@lyx.org>
4305 * latexrunparams.h: add fragile and use_babel variables.
4307 * bufferparams.[Ch] (writeLaTeX): return use_babel.
4308 * buffer.C (makeLaTeXFile): store this returned value in
4309 runparams.use_babel, thus passing it to the inset::latex methods.
4311 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4312 simpleTeXSpecialChars as it is now stored in runparams.fragile.
4314 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4315 longer has a fragile arg, as it is stored in runparams.fragile.
4317 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4318 moving_arg parameter as the data is stored in runparams.fragile.
4320 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4321 a fragile parameter as the data is stored in runparams.fragile.
4323 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4325 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4327 2003-05-22 Angus Leeming <leeming@lyx.org>
4329 * latexrunparams.h: add a 'bool nice' which defaults to false.
4331 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4332 now encapsulated within runparams.
4334 * bufferlist.C (updateIncludedTeXfiles):
4335 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4337 2003-05-22 Angus Leeming <leeming@lyx.org>
4339 * latexrunparams.h: new file containing struct LatexRunParams.
4340 * Makefile.am: add new file.
4342 * LaTeX.[Ch] (c-tor, run):
4343 * buffer.[Ch] (makeLaTeXFile):
4344 * bufferlist.[Ch] (updateIncludedTeXfiles):
4345 * converter.C (convert, scanLog):
4346 * converter.[Ch] (runLaTeX):
4347 * exporter.C (Export):
4348 * paragraph.[Ch] (simpleTeXOnePar):
4349 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4350 * paragraph_funcs.[Ch] (latexParagraphs):
4351 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4352 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4353 pass around a LatexRunParams parameter.
4355 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4357 * paragraph.[Ch]: remove unused constructor
4359 * ParagraphList.C (erase): new function, taking two iterators
4361 2003-05-22 André Pönitz <poenitz@gmx.net>
4363 * undo_funcs.C: remove duplicated code
4365 * iterator.[Ch]: operator=
4367 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4369 * tabular.C (SetMultiColumn): ws changes
4371 * rowpainter.C (paintFirst): get rid of a ->previous
4373 * lyx_cb.C (getPossibleLabel): parlist simplification
4375 * BufferView.C (ChangeInsets): simplify slightly.
4377 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4379 * LyXAction.C: new lfun space-insert, kill protected-space-insert
4380 * lfuns.h: new LFUN_SPACE
4381 * lyxfunc.C: protected space has a new lfun
4382 * paragraph_funcs.C: read new space insets
4384 * factory.C: handle new space insets
4386 2003-05-22 André Pönitz <poenitz@gmx.net>
4389 * BufferView_pimpl.C:
4392 * undo_funcs.C: return a ParIterator from getParFromID.
4394 * iterators.[Ch]: add two const's
4396 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4398 * toc.C (getTocList): adjust
4400 * iterators.[Ch]: rework for parlist
4402 * buffer.C (par_iterator_begin): adjust
4403 (par_iterator_end): adjust
4405 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4407 * BufferView.C (removeAutoInsets): adjust
4408 (ChangeInsets): adjust
4410 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
4412 * text.C (top_y): fix bug 1110
4414 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
4416 * errorlist.[Ch]: added
4419 * BufferView_pimpl.C:
4420 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4423 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4425 * Makefile.am: ensure that lyx is relinked upon changes to the
4426 various "convenience" libs.
4428 2003-05-20 Angus Leeming <leeming@lyx.org>
4430 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4431 files are compiled in alphabetical order again.
4433 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4435 2003-05-19 Angus Leeming <leeming@lyx.org>
4437 * gettext.[Ch]: remove "char const * _(char const *)".
4439 2003-05-19 André Pönitz <poenitz@gmx.net>
4441 * dimension.[Ch]: promote from mathed/dimension.[Ch]
4450 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4452 2003-05-19 André Pönitz <poenitz@gmx.net>
4456 * lyxtextclass.[Ch]:
4458 * paragraph_funcs.[Ch]:
4460 * text3.C: more insetenv work
4462 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
4464 * ParagraphParameters.C (params2string): small bug fixed
4466 2003-05-16 André Pönitz <poenitz@gmx.net>
4469 * bufferview_funcs.C: patch from Kornel Benko to prevent
4470 crash when _(...) is called twice in a statement
4472 2003-05-16 André Pönitz <poenitz@gmx.net>
4479 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4481 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
4483 * lyx_main.C (init): remove spurious static_cast
4485 2003-05-14 André Pönitz <poenitz@gmx.net>
4487 * BufferView.C: fix format string
4489 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
4491 * BufferView.[Ch] (insertErrors): removed
4492 * BufferView.[Ch] (showErrorList): added
4493 * buffer.C (runChkTeX):
4494 * converter.C (scanLog): call showErrorList instead of inserterrors
4496 2003-05-13 André Pönitz <poenitz@gmx.net>
4498 * BufferView_pimpl.C:
4500 * bufferview_func.C:
4507 * tabular_funcs.h: tostr() from its own header
4509 * ParagraphParameters.C:
4514 * text3.C: STRCONV()
4516 2003-05-12 André Pönitz <poenitz@gmx.net>
4519 * BufferView_pimpl.C:
4523 * ParagraphParameters.C:
4527 * bufferview_funcs.C:
4540 * paragraph_funcs.C:
4544 * text3.C: boost::format -> bformat all over the place
4547 2003-05-09 André Pönitz <poenitz@gmx.net>
4549 * LColor.[Ch]: Pimpl the #include <map> away
4551 2003-05-09 John Levon <levon@movementarian.org>
4553 * bufferlist.C: never remove emergency saves
4555 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4557 * Makefile.am: better lib building
4559 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4561 * texrow.[Ch]: remove dependency on Paragraph and just store a id
4563 * paragraph_pimpl.C (simpleTeXBlanks): adjust
4564 (simpleTeXSpecialChars): adjust
4565 (simpleTeXSpecialChars): adjust
4566 * paragraph.C (simpleTeXOnePar): adjust
4567 * buffer.C (makeLaTeXFile): adjust
4569 * Makefile.am (BOOST_LIBS): allow boost as system lib.
4571 * text2.C (changeDepth): parlist cleanup
4572 (getColumnNearX): ditto
4574 * rowpainter.C (getLabelFont): parlist cleanup
4576 * bufferlist.C (newFile): parlist cleanup
4578 * CutAndPaste.C (eraseSelection): parlist cleanup
4580 * BufferView_pimpl.C (trackChanges): parlist cleanup
4583 * BufferView.C (lockInset): parlist cleanup.
4584 (ChangeInsets): ditto
4586 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4588 * CutAndPaste.h: Update file header.
4590 * CutAndPaste.C: Update file header.
4591 Store the parts cut out of the Document in a limited_stack.
4592 (copySelection): adjust
4593 (pasteSelection): new function, takes the index in the limited stack.
4594 (nrOfParagraphs): adjust
4595 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4596 simplify error inset insertion.
4597 (checkPastePossible): adjust
4599 2003-05-06 John Levon <levon@movementarian.org>
4601 * text2.C: don't cast wrap inset to float
4603 2003-05-05 André Pönitz <poenitz@gmx.net>
4606 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4608 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4609 few naked Paragraph *.
4611 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
4613 * bufferparams.C: Output warning if a document with missing
4614 TeX document class is loaded
4615 * exporter.C: Disable TeX exports if the document class is missing
4618 * lyxtextclasslist.C: Handle new textclass.lst format; new method
4619 isTeXClassAvailable()
4621 2003-05-03 John Levon <levon@movementarian.org>
4624 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4625 explicit cursor show/hide
4627 * BufferView_pimpl.h:
4628 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4629 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4631 * lyxfunc.C: hide cursor before dispatching.
4636 * text3.C: remove explicit cursor hides
4638 2003-05-02 André Pönitz <poenitz@gmx.net>
4640 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4643 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4646 * text2.C: tiny whitespace
4648 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4650 * undo_funcs.C: almost only ws changes.
4652 * ParagraphList.C (splice): just return if pl is empty.
4654 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4656 * ParagraphList.C (splice): new function.
4658 * CutAndPaste.C (pasteSelection): use it
4660 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4662 * CutAndPaste.C (pasteSelection): remove the last next and
4663 previous from this file.
4665 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4667 * CutAndPaste.C (pasteSelection): more clean up, user proper
4668 ParagraphList functions for pasteing.
4670 * ParagraphList.C (insert): new function, three arg insert
4672 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4674 * ParagraphList.C (insert): new function, three arg insert
4676 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4679 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4681 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4683 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4685 * CutAndPaste.C (pasteSelection): remove some unneeded code.
4687 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4689 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4690 (copySelection): clean up a bit.
4691 (pasteSelection): use make_pair
4693 * ParagraphList.C (ParagraphList): implement copy constructor
4694 (operator=): implement, base on copy constructor.
4697 * paragraph.C (erase): return a bool
4699 * paragraph_pimpl.C (erasePos): remove function, move contents...
4700 (erase): ... here. Return a bool.
4701 (erase): call erase instead of erasePos.
4703 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
4705 * ParagraphList.h: define PitPosPair
4706 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4707 ParagraphList, fix a bug on pasting multiple pars
4708 * text2.C: change interface to C&P
4710 2003-04-30 André Pönitz <poenitz@gmx.net>
4712 * undo_func.C: revert part of yesterday's patch 2
4714 2003-04-30 John Levon <levon@movementarian.org>
4716 * LColor.C: s/tabular/table/
4718 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4720 * text3.C (dispatch): do not convert iterator -> pointer
4721 * undo_funcs.C (setCursorParUndo): ditto
4722 * text_funcs.C (transposeChars): ditto
4724 * text2.C (setLayout): ws changes only
4726 * text.C (breakParagraph): do not convert iterator -> pointer
4728 (acceptChange): ditto
4729 (rejectChange): ditto
4734 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4737 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4739 * text3.C (gotoInset): YABG (yet another bad getChar)
4741 2003-04-29 André Pönitz <poenitz@gmx.net>
4743 * paragraph.h: make operator= private unimplemented as long as
4746 * ParagraphList.C: whitespace
4749 * paragraph_pimpl.[Ch]:
4750 * paragraph_funcs.C:
4752 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
4755 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4757 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4759 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4760 * paragraph.[Ch] (erase):
4761 * paragraph_pimpl.[Ch] (erase): change return type and value
4762 * text2.C (cutSelection): some rework
4764 2003-04-28 John Levon <levon@movementarian.org>
4766 * bufferlist.C: changes for unsaved changes dialog
4768 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4770 * bufferlist.C (newFile): set language (messages_) for new
4773 * buffer.C (readFile): ws changes only.
4775 2003-04-28 André Pönitz <poenitz@gmx.net>
4780 * BufferView_pimpl.C:
4781 * BufferView.C: getParFromID related ParagraphList::iterator changes
4783 2003-04-28 André Pönitz <poenitz@gmx.net>
4785 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4788 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4790 * messages.C: remove one more localedir class variable.
4792 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4794 * messages.C (getLocaleDir): singleton generation function
4796 (Messages): add a default constructor.
4798 * main.C (main): do not setup localedir here, do not call
4801 * gettext.C (_): use it.
4802 (gettext_init): delete funciton
4804 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4806 * gettext.C (getLyXMessages): new singleton generating function.
4808 * buffer.C (updateDocLang): adjust
4810 * Makefile.am (messages.o): add target
4811 (main.o): remove target
4813 2003-04-27 John Levon <levon@movementarian.org>
4818 * lyxvc.C: specify cancel button in Alert::prompt
4820 2003-04-26 John Levon <levon@movementarian.org>
4825 * LyXAction.C: add LFUN_INSET_SETTINGS
4827 * lyxfunc.C: don't enable tabular-feature when there's
4828 just any locking inset
4830 2003-04-26 John Levon <levon@movementarian.org>
4832 * bufferlist.C: re-add Cancel to buffer close question
4834 * lyxfunc.C: fix import UI a bit
4836 2003-04-25 John Levon <levon@movementarian.org>
4838 * gettext.C: remove the broken asserts for now
4840 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4842 * messages.C: make case where setlocale cannot comply work better.
4844 * buffer.C (updateDocLang): new function
4845 (changeLanguage): use it
4848 * text2.C (setCounter): use B_ a bit.
4850 * lyxlayout.C (Read): be sure to trim the label strings.
4852 * messages.C (Messages): fix typo in comment
4854 * buffer.C (readFile): set message_ after file is loaded.
4855 (makeDocBookFile): remove double return
4856 (changeLanguage): reset message_ upon language change.
4857 (B_): new func, use this to get translated buffer strings.
4859 * main.C: add myself and Jean Marc as authors.
4861 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4863 * messages.[hC]: pimplify Messages, and three different pimpls to be
4864 used in different circumstances.
4866 * gettext.[Ch]: change for use with new message code.
4868 2003-04-24 André Pönitz <poenitz@gmx.net>
4870 * factory.C: support for eqref
4872 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4874 * messages.[Ch]: add missing char
4876 * Makefile.am (lyx_SOURCES): add messages.[Ch]
4878 * messages.[Ch]: New files
4880 2003-04-18 John Levon <levon@movementarian.org>
4884 * BufferView_pimpl.C:
4888 * text2.C: remove layout-copy/paste (bug 778)
4890 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4892 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4894 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4896 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4897 if they succeed. Act accordingly.
4899 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4901 * text2.C (setCharFont): adjust
4902 (setCounter): adjust
4903 (insertStringAsLines): adjust
4905 * text.C (leftMargin): adjust
4906 (setHeightOfRow): adjust
4908 * rowpainter.C (paintFirst): adjust
4911 * paragraph_funcs.C (depthHook): ParagraphList::iterators
4913 (isFirstInSequence): ditto
4914 (getEndLabel): ditto
4917 * paragraph.C (getParLanguage): comment out some hard stuff.
4919 * buffer.C (insertStringAsLines): take a ParagraphList as arg
4921 (simpleDocBookOnePar): ditto
4922 (makeDocBookFile): use ParagraphList::iterator
4924 * CutAndPaste.C (pasteSelection): adjust
4926 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4928 * text2.C (getFont): adjust
4929 (getLayoutFont): adjust
4930 (getLabelFont): adjust
4932 * paragraph_funcs.C (TeXOnePar): adjust
4934 * buffer.C (simpleLinuxDocOnePar): adjust
4935 (simpleDocBookOnePar): adjust
4937 * CutAndPaste.C (pasteSelection): adjust
4939 * BufferView.C (getEncoding): adjust
4941 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4943 2003-04-16 John Levon <levon@movementarian.org>
4945 * lyxfind.C: use parlist stuff for search/changes
4947 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4949 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4951 * text2.C (deleteEmptyParagraphMechanism): adjust
4953 * text2.[Ch] (ownerParagraph): delete func (both of them
4955 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4957 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4959 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4961 * ParagraphList.C: prepare for NO_NEXT
4963 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4965 * text2.C (getFont): adjust
4966 (getLayoutFont): adjust
4967 (getLabelFont): adjust
4969 * paragraph.C (getFont): adjust
4970 (getLabelFont): adjust
4971 (getLayoutFont): adjust
4973 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4975 2003-04-15 John Levon <levon@movementarian.org>
4979 * lyx_main.C: handle Include in .ui files
4981 2003-04-15 John Levon <levon@movementarian.org>
4983 * MenuBackend.C: make the doc files length shorter
4986 * ToolbarBackend.C: handle toolbar placement flags,
4989 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4991 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4994 * paragraph_funcs.C (TeXOnePar): adjust
4996 * paragraph.C (getLabelFont): add outerfont arg, adjust
4997 (getLayoutFont): ditto
4998 (simpleTeXOnePar): adjust
5000 * paragraph_pimpl.C (realizeFont): delete func
5002 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
5004 * text2.C (beforeFullRowInset): added a bad getchar check, removed
5005 row argument, constify cur argument.
5007 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5009 * text2.C (getFont): adjust
5010 (getLayoutFont): adjust
5011 (getLabelFont): adjust
5013 * paragraph_funcs.C (TeXOnePar): adjust
5014 (outerFont): new func...
5015 (realizeFont): ...moved out from here, changed this to facilitate
5018 * paragraph.C (getFont): take outerfont as arg, adjust
5019 (simpleTeXOnePar): add outerfont arg, adjust
5021 * buffer.C (simpleLinuxDocOnePar): adjust
5022 (simpleDocBookOnePar): adjust
5024 * CutAndPaste.C (pasteSelection): adjust
5026 * BufferView.C (getEncoding): adjust
5028 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5030 * text2.C (setCharFont): adjust
5031 (setCounter): adjust
5033 * text.C (leftMargin): adjust
5034 (setHeightOfRow): adjust
5036 * rowpainter.C (paintFirst): adjust
5039 * paragraph_pimpl.C (realizeFont): adjust
5041 * paragraph.C (isFirstInSequence): move from here...
5042 * paragraph_funcs.C (isFirstInSequence): ...to here
5044 * paragraph.C (outerHook): move from here...
5045 * paragraph_funcs.C (outerHook): ...to here
5047 * paragraph.C (depthHook): move from here...
5048 * paragraph_funcs.C (depthHook): ...to here
5050 * paragraph.C (getEndLabel): move from here...
5051 * paragraph_funcs.C (getEndLabel): ...to here
5053 * text2.C (realizeFont): move from here...
5054 * paragraph_funcs.C (realizeFont): ...to here
5056 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5058 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5060 2003-04-14 Angus Leeming <leeming@lyx.org>
5062 * LColor.[Ch]: scrap LColor mathcursor.
5064 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5066 * lyxlex.[Ch] (text): delete function
5067 * trans.C (Load): adjust
5068 * paragraph_funcs.C (readParToken): adjust
5070 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5072 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5073 vector<char> instead of a char[].
5075 * lyxlex_pimpl.C (getString): adjust
5077 (lex): use getString
5081 * lyxlex.C (text): use pimpl_->getString()
5085 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5087 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5088 (makeFontEntriesLayoutSpecific): temp var for par.size()
5089 (setLayout): temp var for ownerParagraphs().end()
5090 (fullRebreak): temp var for rows().end()
5091 (selectionAsString): temp var for boost::next(startpit), realize
5092 that the while really is a regular for loop.
5093 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5094 setCursor in one place.
5095 (setParagraph): temp vr for ownerParagraphs().end()
5096 (updateCounters): make the while loop a for loop
5097 (cutSelection): temp var for ownerParagraphs().end()
5098 (updateInset): make the do {} while() a regular for loop
5099 (getCursorX): use temp vars
5100 (setCurrentFont): use temp vars
5101 (getColumnNearX): use temp vars
5103 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5105 * text.C (transformChar): use temp var for getChar
5106 (computeBidiTables): use temp var for row->par()
5107 (fill): move temp vars for row->par() and pit->layout() earlier in
5109 (labelFill): use temp var for row->par()
5110 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5111 asc and desc, realize that pit never changes and that firstpit is
5112 just a duplicate and not needed. Exchange rit->par() with pit in a
5114 (breakAgain): use a temp var for boost::next(rit)
5115 (breakAgainOneRow): ditto
5116 (breakParagraph): use a temp var for rows().begin()
5117 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5118 (cursorRightOneWord): use temp var for cursor.par() and
5119 cursor.pos(), remove usage of tmpcursor.
5120 (cursorLeftOneWord): use temp var for cursor.par() and
5121 cursor.pos() only set cur at end of function.
5123 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5125 * text.C, text2.C: exchange all usage of Paragraph::next with
5126 boost::next(ParagraphList::iterator)
5128 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5130 * text2.C (cursorTop): simplify implementation
5131 (cursorBottom): ditto
5132 (setParagraph): use ParagraphList::iterator
5133 (setCurrentFont): adjust
5134 (getColumnNearX): adjust
5135 (cursorRight): adjust
5136 (cursorLeft): remove usage of Paragraph::previous
5137 (cursorUpParagraph): ditto
5138 (deleteEmptyParagraphMechanism): slight cleanup
5140 * text.C (isBoundary): take a Paragraph const & instead of a
5142 (addressBreakPoint): ditto
5143 (leftMargin): remove usage of Paragraph::previous.
5144 (setHeightOfRow): ditto
5145 (cursorLeftOneWord): ditto
5146 (selectNextWordToSpellcheck): ditto
5149 (breakParagraph): remove one usage of Paragraph::next
5150 (redoParagraph): ditto
5151 (acceptChange): ditto
5152 (insertChar): adjust
5153 (rowBreakPoint): adjust
5155 * bufferview_funcs.C (toggleAndShow): adjust
5157 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
5159 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5160 methods to access it.
5162 * text.C: Added updateRowPositions to compute all row positions.
5163 Make top_y and getRowNearY() to use the cached y position
5165 2003-04-11 John Levon <levon@movementarian.org>
5167 * text.C (rowBreakPoint): reintroduce the labelEnd
5168 checks, code copied from the row fill stuff. Deep voodoo.
5170 * text.C (fill): add a comment and debugging for the
5173 2003-04-11 John Levon <levon@movementarian.org>
5175 * text.C: make sure fullrow insets get wrapped to the next line,
5176 even when they're in a manual label
5178 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5180 * text2.C (insertParagraph): make it take ParagraphList::iterator
5182 (setLayout): make it return ParagraphList::iterator
5183 (redoParagraphs): ditto
5185 (checkParagraph): ditto
5187 * text.C (getRow): make getrow take ParagraphList::iterator as arg
5189 * text2.C: adjust several funcs.
5190 (realizeFont): take a ParagraphList::iterator as arg.
5191 (getLayoutFont): ditto
5192 (getLabelFont): ditto
5193 (setCharFont): ditto
5195 * text.C: adjust several funcs.
5197 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5199 * text.C (selectNextWordToSpellcheck): don't accidentally
5202 2003-04-10 John Levon <levon@movementarian.org>
5204 * ToolbarBackend.C (getIcon): special handling for
5207 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5209 * text2.C (cursorRight): a getChar assert fixed
5211 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5213 * text2.C (getFont): change to take a ParagraphList::iterator
5214 instead of Paragraph*
5215 Adjust several functions.
5217 * text.C (transformChar): change to take a ParagraphList::iterator
5218 instead of Paragraph*
5219 (singleWidth): ditto
5220 Adjust several functions.
5222 * rowpainter.C: adjust several functions
5223 * rowpainter.h:store a ParagraphList::iterator and not a
5227 2003-04-09 John Levon <levon@movementarian.org>
5232 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5233 and the "help" bits as well
5235 2003-04-09 John Levon <levon@movementarian.org>
5238 * ToolbarBackend.C: allow multiple toolbars
5240 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5242 * undo_funcs.C (setCursorParUndo): adjust
5244 * text_funcs.C (transposeChars): adjust
5246 * text3.C (gotoNextInset): adjust
5249 * text2.C (setLayout): adjust
5250 (changeDepth): adjust
5252 (redoParagraphs): adjust
5253 (selectionAsString): adjust
5254 (setParagraph): adjust
5255 (insertInset): adjust
5256 (cutSelection): adjust
5257 (copySelection): adjust
5258 (pasteSelection): adjust
5259 (insertStringAsLines): adjust
5260 (updateInset): adjust
5261 (setCursor): change to take a ParagraphList::iterator parameter
5262 (setCursorIntern): change to take a ParagraphList::iterator parameter
5263 (setCurrentFont): adjust
5264 (cursorLeft): adjust
5265 (cursorRight): adjust
5266 (deleteEmptyParagraphMechanism): adjust
5268 * text.C (breakParagraph): adjust
5269 (insertChar): adjust
5270 (acceptChange): adjust
5271 (rejectChange): adjust
5272 (selectNextWordToSpellcheck): adjust
5273 (changeCase): adjust
5277 * lyxfind.C (SearchForward): adjust
5278 (SearchBackward): adjust
5279 (nextChange): adjust
5281 * lyxcursor.C (par): adjust
5283 * lyxcursor.h: store a ParagraphList::iterator instead of a
5286 * lyx_cb.C (getPossibleLabel): adjust
5288 * bufferview_funcs.C (toggleAndShow): adjust
5290 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5293 * BufferView.C (removeAutoInsets): adjust
5294 (lockedInsetStoreUndo): adjust
5296 2003-04-09 John Levon <levon@movementarian.org>
5298 * ToolbarBackend.C: try icon without argument
5299 if with argument fails
5301 2003-04-08 John Levon <levon@movementarian.org>
5304 * ToolbarBackend.C: add getIcon(), handle tooltip,
5305 and change from "Icon" to "Item".
5307 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5309 * BufferView.C (lockInset): another bad getchar crunched
5311 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5313 * text2.C (changeDepth): do not setUndo on test_only (make undo work
5316 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
5318 * lyxfind.C (searchForward, searchBackwards): bug 782
5320 2003-04-07 John Levon <levon@movementarian.org>
5322 * paragraph.C: remove dead comment
5324 * text.C: remove troublesome depth-fiddling code
5325 in leftMargin() and rightMargin() (bug 1017)
5327 * text.C: fix breaking of rows in nested lists
5330 * text2.C (updateCounters): fix up depth values
5333 2003-04-07 John Levon <levon@movementarian.org>
5335 * BufferView_pimpl.C: clear message when doc finishes resizing,
5336 and after a mouse event
5338 * lyxfunc.C: clear message after exiting inset
5340 2003-04-07 John Levon <levon@movementarian.org>
5342 * bufferview_funcs.C: show math status not outside
5343 status in the statusbar
5345 2003-04-07 John Levon <levon@movementarian.org>
5347 * lyxfunc.C: note status changed after a depth change
5349 2003-04-04 Angus Leeming <leeming@lyx.org>
5351 * LaTeX.h: move AuxInfo operator==, != out of line.
5352 Remove LaTeX virtual destructor; nothing derives from it.
5353 Move operator()() out of public area and rename it startscript().
5354 Change protected for private.
5356 2003-04-04 Angus Leeming <leeming@lyx.org>
5359 * text2.C: remove unneeded #includes.
5361 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5363 * text2.C (dEPM): fix the heigth of the next row
5365 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5367 * text.C: squashed an invalid getChar requester + some ws changes
5369 2003-04-03 John Levon <levon@movementarian.org>
5371 * bufferview_funcs.h:
5372 * bufferview_funcs.C:
5375 * text2.C: make getStatus work for the env depth lfuns
5377 2003-04-03 John Levon <levon@movementarian.org>
5379 * bufferview_funcs.h:
5380 * bufferview_funcs.C:
5383 * text2.C: parlistize decDepth(), by merging it with incDepth()
5385 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5387 * lyxrow.h: store a ParagraphList::iterator instead of a
5388 Paragraph* and adjust other class functions to suit.
5390 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5393 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5395 * text2.C (setCursor): do not anchor to cursor row for the time being
5397 2003-04-02 John Levon <levon@movementarian.org>
5404 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5406 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5408 * paragraph.h: make ParagraphList and ParagraphList::iterator
5409 friends of Paragraph.
5411 * buffer.C (makeLinuxDocFile): move towards ParagraphList
5413 * ParagraphList.C: Use the private next_ and previous_ from
5416 2003-04-01 John Levon <levon@movementarian.org>
5420 * Makefile.am: rename, remove defaults gunk
5423 * MenuBackend.C: remove defaults gunk
5426 * Languages.C: remove defaults gunk
5429 * lyx_main.C: error out if files couldn't be found.
5431 2003-04-02 John Levon <levon@movementarian.org>
5433 * text2.C: make incDepth() use parlist
5435 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5437 * undo_funcs.C (firstUndoParagraph): adjust
5439 * text3.C (gotoInset): adjust
5440 (dispatch): adjust, and rewrite loop.
5442 * text2.C (init): adjust, and rewrite loop.
5443 (redoParagraphs): adjust
5444 (updateInset): adjust, and rewrite loop.
5445 (deleteEmptyParagraphMechanism): adjust
5447 * tabular.C (LyXTabular): adjust
5448 (SetMultiColumn): adjust
5451 * lyxtext.[Ch] (ownerParagraph): delete function
5452 (ownerParagraphs): new function returns a ParagraphList.
5454 * BufferView.C (removeAutoInsets): adjust
5455 (insertErrors): adjust
5456 (setCursorFromRow): adjust
5458 2003-04-01 Angus Leeming <leeming@lyx.org>
5460 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5463 2003-04-02 John Levon <levon@movementarian.org>
5469 * text_funcs.C: make transposeChars a free function
5471 * lyxrow_funcs.C: remove wrong comment
5473 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5476 * rowpainter.C: adjust
5481 * lyxrow_funcs. [Ch]: new files
5483 * lyxrow.[Ch]: remove next and previous pointers
5484 (next,previous): remove accessor functions
5485 (isParEnd): move to lyxrow_funcs
5486 (lastPos): move to lyxrow_funcs
5487 (nextRowIsAllInset): move to lyxrow_funcs
5488 (lastPrintablePos): move to lyxrow_funcs
5489 (numberOfSeparators): move to lyxrow_funcs
5490 (numberOfHfills): move to lyxrow_funcs
5491 (numberOfLabelHfills): move to lyxrow_funcs
5492 (hfillExpansion): move to lyxrow_funcs
5496 * bufferview_funcs.C (toggleAndShow): adjust
5498 * RowList.h: Remove class RowList from file leave just a
5501 * RowList.C: delete file
5503 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5506 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5508 * text3.C (cursorPrevious): adjust
5509 (cursorNext): adjust
5512 * text2.C (redoHeightOfParagraph): adjust
5513 (redoDrawingOfParagraph): adjust
5516 * text.C (breakParagraph): adjust
5517 (insertChar): adjust
5520 * rowpainter.C (RowPainter): adjust
5521 (leftMargin): simplify and adjust
5522 (most rowpainter functions): adjust.
5524 * rowpainter.h: store the row as RowList::iterator not as Row*
5526 * lyxcursor.C (row): taka RowList::iterator as arg
5529 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5532 2003-04-01 Angus Leeming <leeming@lyx.org>
5534 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5535 stuff like bool Bool.
5537 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5539 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5542 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5544 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5547 * lyxtext.h (rows): drop one version and leve a const variant that
5548 returns a RowList::iterator.
5550 2003-03-31 Angus Leeming <leeming@lyx.org>
5552 * text.C (fill): ensure that the signature is the same as that in the
5555 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
5557 * text2.C (redoParagraphs): adjust
5558 (updateCounters): adjust
5559 (checkParagraph): adjust
5560 (getColumnNearX): adjust and reformat a bit.
5562 * text.C (top_y): adjust
5564 (leftMargin): adjust
5565 (prepareToPrint): adjust
5567 (getRowNearY): adjust
5569 * lyxtext.h: make rowlist_ mutable.
5571 * RowList.h: add const_iterator
5572 * RowList.C: adjust for RowList::const_iterator.
5574 * text2.C (getCursorX): make it take a RowList::iterator as arg,
5577 2003-03-31 John Levon <levon@movementarian.org>
5580 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5582 * lyx_main.C: set default fonts from using lyx_gui funcs
5584 * exporter.C: pdf_mode moved from lyxrc
5587 * lyxfunc.C: changes from above
5589 2003-03-31 John Levon <levon@movementarian.org>
5591 * lyx_main.C: fix to the last fix
5593 2003-03-31 John Levon <levon@movementarian.org>
5595 * bufferlist.C: "Load original" -> "Load Original"
5601 * format.C: more Alert cleanups
5603 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5605 * text2.C (removeParagraph): make it take a RowList::iterator as
5607 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5608 (postRowPaint): make it take a RowList::iterator as arg, adjust.
5610 * text.C (anchor_row): make it take a RowList::iterator as arg,
5612 (computeBidiTables): make it take a const reference to Row instead
5613 of Row pointer, adjust.
5614 (leftMargin): make it take a RowList::iterator as arg, adjust.
5615 (rowBreakPoint): adjust
5616 (breakAgainOneRow): make it take a RowList::iterator as arg,
5618 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5620 * bufferview_funcs.C (toggleAndShow): adjust
5622 2003-03-30 John Levon <levon@movementarian.org>
5626 * boost-inst.C: moved to support
5628 * several files: changes as a result
5630 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5632 * text2.C (LyXText): adjust.
5634 (removeRow): make it take a RowList::iterator as arg, adjust.
5635 (fullRebreak): adjust
5636 (deleteEmptyParagraphMechanism): adjust
5637 (clearPaint): adjust
5640 * text.C (top_y): adjust
5641 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5642 (breakAgain): make it take a RowList::iterator as arg, adjust.
5643 (breakParagraph): adjust
5644 (insertChar): adjust
5647 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5648 need_break_row, and refresh_row.
5650 * text3.C (dispatch): adjust
5652 * text2.C (checkParagraph): adjust
5654 (setCursorFromCoordinates): adjust
5656 * text.C (top_y): adjust
5658 (getRow): make it return a RowList::iterator, adjust
5659 (getRowNearY): make it return a RowList::iterator, adjust
5661 * text2.C (init): adjust
5662 (insertRow): remove function
5663 (insertParagraph): adjust
5664 (redoParagraphs): adjust
5665 (fullRebreak): adjust
5666 (updateCounters): adjust
5668 * text.C (top_y): rewrite to use RowList iterators.
5670 (setHeightOfRow): rewrite to sue RowList iterators.
5671 (appendParagraph): adjust
5672 (breakAgain): adjust
5673 (breakAgainOneRow): adjust
5674 (breakParagraph): adjust
5676 (getRowNearY): adjust, and remove commented code.
5678 * lyxtext.h (firstRow): delete function
5679 (lastRow): delete function
5680 (rows): new function (const and non-const versions.)
5681 (insertRow): delete function
5683 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5685 2003-03-29 John Levon <levon@movementarian.org>
5687 * BufferView_pimpl.C: always update scrollbar top
5688 because pasting text when we're anchored could mean we
5689 miss an update altogether
5691 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5693 * text2.C (init): use rowlist_.end() and not 0.
5694 (insertRow): change to take a RowList::iterator as arg, adjust
5696 (insertParagraph): change to take a RowList::iterator as arg,
5698 (redoParagraphs): remove some debug msgs.
5700 * text.C (appendParagraph): change to take a RowList::iterator
5701 arg, adjust for this.
5702 (breakAgain): add an assert
5703 (breakAgainOneRow): ditto
5705 2003-03-29 John Levon <levon@movementarian.org>
5707 * text2.C: do not clear selection after inc/decDepth
5710 2003-03-29 John Levon <levon@movementarian.org>
5713 * buffer.C: fix broken strerrors according to Lars
5715 2003-03-29 John Levon <levon@movementarian.org>
5717 * converters.C: more Alert cleanups
5719 2003-03-29 John Levon <levon@movementarian.org>
5721 * bufferview_funcs.C: remove pointless Alert
5723 * buffer.C: fix confusing error message when
5724 a template is chmoded 000
5726 2003-03-29 John Levon <levon@movementarian.org>
5730 * BufferView_pimpl.C: Alert fixes
5734 * tabular-old.C: remove unused table compat reading
5736 2003-03-29 John Levon <levon@movementarian.org>
5741 * lyx_cb.C: more Alert cleanups
5743 * lyxfunc.C: don't allow chktex if not latex document
5745 2003-03-29 John Levon <levon@movementarian.org>
5749 * buffer.C: warnings pushed down from support/,
5752 2003-03-29 John Levon <levon@movementarian.org>
5754 * lyxfunc.C: safety check for C-r (revert)
5756 2003-03-29 John Levon <levon@movementarian.org>
5759 * bufferlist.C: several UI fixes using Alert::prompt.
5760 Fix the pointless looping quit code. Fix stupid revert
5765 * lyx_cb.C: use Alert::prompt
5767 * lyx_main.C: remove a silly question
5769 * lyxfunc.C: remove a couple of silly questions,
5772 2003-03-28 John Levon <levon@movementarian.org>
5774 * text2.C: fix bug 974 (End on empty par)
5776 2003-03-28 John Levon <levon@movementarian.org>
5778 * BufferView_pimpl.C:
5780 * lfuns.h: remove do-nothing math greek lfuns
5782 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5784 * lyxgluelength.h (isValidGlueLength): add default arg on
5785 parameter 2. Remove default arg from friend in class.
5787 * lyxlength.h (isValidLength): add default arg on parameter 2.
5788 Remove default arg from friend in class.
5790 * text2.C (LyXText): adjust, initialize refresh_row.
5794 (insertParagraph): adjst
5795 (redoParagraphs): adjust
5796 (fullRebreak): adjust
5797 (updateCounters): adjust
5798 (deleteEmptyParagraphMechanism): first attempt at fixing a
5801 * text.C (top_y): adjust
5802 (setHeightOfRow): adjust
5804 (getRowNearY): adjust
5806 * lyxtext.h: include RowList.h
5807 (~LyXText): not needed anymore, deleted.
5808 (firstRow): modify for RowList
5809 (lastRow): new function
5810 Delete firstrow and lastrow class variables, add a Rowlist
5811 rowlist_ class variable.
5813 * lyxrow.C (lastPos): use empty() and not !size() to check if a
5816 * RowList.C (insert): fix case where it == begin().
5818 2003-03-26 Angus Leeming <leeming@lyx.org>
5820 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5821 the thesaurus dialog.
5823 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5825 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5827 * RowList.[Ch]: new files
5829 * ParagraphList.C (erase): handle the case where it == begin
5832 2003-03-25 John Levon <levon@movementarian.org>
5836 * aspell.C: add new aspell support
5839 * lyxrc.C: Make use_pspell be use_spell_lib. Always
5842 2003-03-25 Angus Leeming <leeming@lyx.org>
5845 * LyXAction.C (init): new LFUN_INSET_INSERT.
5847 * BufferView_pimpl.C (dispatch): split out part of the
5848 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5850 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5853 2003-03-25 Angus Leeming <leeming@lyx.org>
5855 * lyxfunc.C (dispatch): changes to the Dialogs interface.
5857 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
5860 * text3.C: remove useless row->height(0)
5862 2003-03-25 John Levon <levon@movementarian.org>
5866 * text3.C: rename the refreshing stuff to better names
5868 2003-03-24 John Levon <levon@movementarian.org>
5870 * BufferView_pimpl.h:
5871 * BufferView_pimpl.C: update layout choice on a mouse
5874 2003-03-23 John Levon <levon@movementarian.org>
5876 * Makefile.am: fix commandtags.h reference
5878 2003-03-22 John Levon <levon@movementarian.org>
5880 * BufferView_pimpl.C:
5885 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5887 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
5890 * text.C: take the rtl methods out of line
5892 2003-03-21 André Pönitz <poenitz@gmx.net>
5894 * metricsinfo.[Ch]: new files containing structures to be passed around
5895 during the two-phase-drawing...
5897 2003-03-21 André Pönitz <poenitz@gmx.net>
5899 * lyxtextclass.C: read 'environment' tag.
5901 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
5903 * text2.C (removeRow): fix bug 964
5905 2003-03-20 John Levon <levon@movementarian.org>
5909 * text2.C: paint cleanups. Inset::update() dropped font
5912 2003-03-19 John Levon <levon@movementarian.org>
5914 * lyxfunc.C: only fitcursor/markDirty if available()
5916 2003-03-19 John Levon <levon@movementarian.org>
5918 * commandtags.h: rename to ...
5920 * lfuns.h: ... this, and renumber / cleanup
5922 2003-03-19 John Levon <levon@movementarian.org>
5924 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5925 fit the cursor after an lfun
5929 * BufferView_pimpl.h:
5930 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5932 * LyXAction.C: layout-character should have ReadOnly
5934 * ParagraphParameters.C:
5936 * bufferview_funcs.C:
5943 * undo_funcs.C: changes from above
5945 2003-03-18 John Levon <levon@movementarian.org>
5947 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5948 remove it from update()
5950 * lyxfunc.C: update layout choice after an lfun
5952 * text3.C: remove extra updateLayoutChoice()s
5954 2003-03-18 John Levon <levon@movementarian.org>
5956 * text.C: top_y change means full repaint, fix
5957 a drawing bug with cursor movement
5959 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5963 * text2.C: anchor row on setCursor
5965 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5967 * lyxtext.h: remove almost all mutable keywords
5970 * text3.C: remove const keywords accordingly
5972 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5974 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5976 (TeXEnvironment): ditto
5979 2003-03-17 John Levon <levon@movementarian.org>
5981 * text.C (rowBreakPoint): remove attempt to fix displayed
5982 math insets inside a manual label
5984 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5986 * lyxtext.h: remove BufferView* as first arg from almost all class
5988 * other files: adjust.
5990 2003-03-17 John Levon <levon@movementarian.org>
5994 * text2.C: more paint cleanups
5996 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5999 * rowpainter.C: remove "smart" background painting code
6001 2003-03-16 John Levon <levon@movementarian.org>
6006 * text3.C: add helper functions for setting refresh_row/y
6008 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
6010 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6011 newline inset which *can* get inserted in the pass_thru layouts.
6012 This is primarily for literate documents.
6014 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
6016 * buffer.C: increment LYX_FORMAT to 223
6018 2003-03-14 André Pönitz <poenitz@gmx.net>
6020 * textclass.h: prepare for environment handling, ws changes
6021 * lyxlayout.C: read latexheader and latexfooter tags
6023 2003-03-14 John Levon <levon@movementarian.org>
6025 * text2.C: rewrite ::status() a bit
6027 2003-03-13 John Levon <levon@movementarian.org>
6029 * lyxtext.h: add some docs
6031 2003-03-13 John Levon <levon@movementarian.org>
6036 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6038 2003-03-13 John Levon <levon@movementarian.org>
6040 * text3.C: fix appendix redrawing
6042 2003-03-13 John Levon <levon@movementarian.org>
6044 * text.C (setHeightOfRow):
6046 * rowpainter.C: make appendix mark have the text
6047 "Appendix" so the user knows what it is
6050 * LColor.C: s/appendixline/appendix/ from above
6052 2003-03-13 John Levon <levon@movementarian.org>
6054 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6056 * text.C: fix a getChar(pos) bug properly
6058 2003-03-13 Angus Leeming <leeming@lyx.org>
6061 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6062 Probably only temporary. Let's see how things pan out.
6064 * BufferView.C (unlockInset):
6065 * BufferView_pimpl.C (fitCursor):
6066 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6068 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6069 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6071 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6072 new functions that convert ParagraphParameters to and from a string.
6074 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6075 BufferView::Pimpl's dispatch.
6076 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6078 2003-03-13 André Pönitz <poenitz@gmx.net>
6082 * factory.C: make it aware of InsetEnv
6084 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6086 * text2.C (setCursor): never ask for one past last
6087 (setCursor): add some debugging messages.
6089 * text.C (singleWidth): never ask for one past last
6090 (singleWidth): ditto
6092 (rightMargin): ditto
6093 (rowBreakPoint): ditto
6094 (setHeightOfRow): ditto
6095 (prepareToPrint): ditto
6097 * rowpainter.C (paintBackground): never ask for one past last
6098 (paintText): never ask for one past last
6100 * paragraph_pimpl.C (getChar): make the assert stricter, never
6101 allow the one past last pos to be taken
6103 * paragraph.C (getChar): ws changes only
6105 * lyxrow.C (nextRowIsAllInset): never ask for one past last
6106 (numberOfSeparators): ditto
6107 (numberOfHfills): ditto
6109 2003-03-12 John Levon <levon@movementarian.org>
6115 * paragraph_funcs.C: fix per-buffer authorlists
6117 2003-03-12 John Levon <levon@movementarian.org>
6119 * text.C: fix newline in right address
6121 2003-03-12 Angus Leeming <leeming@lyx.org>
6123 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6124 duplicate those in LyXFunc::dispatch.
6128 * ToolbarDefaults.C:
6129 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6130 Add LFUN_FONTFREE_UPDATE.
6132 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6133 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6135 * bufferview_func.[Ch]: several new functions to facilliate
6136 transfer of data to and from the character dialog.
6138 2003-03-12 John Levon <levon@movementarian.org>
6143 * paragraph_funcs.C:
6144 * paragraph_pimpl.C:
6148 * text3.C: remove META_NEWLINE in favour of an inset
6151 * rowpainter.C: remove paintNewline (done by inset)
6153 2003-03-12 John Levon <levon@movementarian.org>
6155 * paragraph_pimpl.C: complain about bad getChar()s
6156 for a while at least
6158 2003-03-12 John Levon <levon@movementarian.org>
6161 * buffer.C: move paragraph read into a separate function,
6162 a little renaming to reflect that.
6165 * bufferparams.C: remove the author_ids map, not necessary now
6168 * factory.C: moved Buffer::readInset to here
6170 * paragraph_funcs.h:
6171 * paragraph_funcs.C: readParagraph free function moved from
6174 * tabular.C: name change
6176 2003-03-12 John Levon <levon@movementarian.org>
6179 * ParagraphParameters.C: move par params input to
6182 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6183 behave like a normal read from the stream wrt reading
6184 a line vs. a \\token
6186 2003-03-12 John Levon <levon@movementarian.org>
6189 * ParagraphParameters.h:
6190 * ParagraphParameters.C: move output code to a
6193 2003-03-12 John Levon <levon@movementarian.org>
6195 * BufferView.C (insertLyXFile):
6198 * tabular.C: use a parlist iterator for creating the
6201 2003-03-12 John Levon <levon@movementarian.org>
6203 * buffer.C: make current_change static local not
6206 2003-03-12 John Levon <levon@movementarian.org>
6208 * buffer.C: fix insertStringAsLines for change tracking
6210 2003-03-12 John Levon <levon@movementarian.org>
6217 * bufferparams.C: move author list into params. Rename some
6218 functions. Move the header reading into a separate token
6219 loop. Move the header token reading into BufferParams.
6221 2003-03-12 John Levon <levon@movementarian.org>
6223 * changes.C: put debug inside lyxerr.debugging() checks
6225 2003-03-11 André Pönitz <poenitz@gmx.net>
6227 * factory.C: make it aware of InsetHFill
6229 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6231 * buffer.C (latexParagraphs): move function from here...
6232 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6235 2003-03-10 Angus Leeming <leeming@lyx.org>
6237 * LyXAction.C (init): fix bug in poplating array with multiple entries
6238 with the same LFUN (spotted by JMarc).
6240 2003-03-10 John Levon <levon@movementarian.org>
6243 * text2.C: move getColumnNearX() near its
6246 2003-03-10 John Levon <levon@movementarian.org>
6248 * text.C: fix break before a minipage
6250 2003-03-10 John Levon <levon@movementarian.org>
6252 * text.C: fix the last commit
6254 2003-03-09 John Levon <levon@movementarian.org>
6258 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6259 bug 365 (don't break before insets unless needed). Don't
6260 return a value > last under any circumstances.
6262 2003-03-09 Angus Leeming <leeming@lyx.org>
6264 * BufferView_pimpl.C (trackChanges, dispatch): call
6265 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6267 2003-03-09 Angus Leeming <leeming@lyx.org>
6269 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6270 than Dialogs::showAboutlyx().
6272 2003-03-09 Angus Leeming <leeming@lyx.org>
6274 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6275 than Dialogs::showTabularCreate().
6277 2003-03-09 John Levon <levon@movementarian.org>
6281 * text2.C: 3rd arg to nextBreakPoint was always the same.
6284 2003-03-08 John Levon <levon@movementarian.org>
6291 * text2.C: Remove the "main" bit from the "main body"
6294 2003-03-08 John Levon <levon@movementarian.org>
6296 * text.C (leftMargin): The left margin of an empty
6297 manual label paragraph should not include the label width
6300 * text.C (prepareToPrint): don't attempt to measure hfills
6301 for empty manual label paragraphs - the answer should be 0
6303 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6305 * CutAndPaste.C: remove commented code and reindent.
6307 2003-03-08 John Levon <levon@movementarian.org>
6310 * lyxfunc.C: move reloadBuffer()
6313 * BufferView.C: to here
6315 * lyxvc.C: add comment
6318 * vc-backend.C: call bv->reload() to avoid
6319 getStatus() check on MENURELOAD
6321 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
6323 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6324 to an old format .dep file.
6326 2003-03-07 Angus Leeming <leeming@lyx.org>
6328 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6329 when the LFUN_MOUSE_RELEASE should have been handled by
6330 inset->localDispatch.
6332 2003-03-07 Angus Leeming <leeming@lyx.org>
6334 * BufferView_pimpl.C (dispatch):
6335 * LyXAction.C (init):
6336 * ToolbarDefaults.C (init):
6338 * lyxfunc.C (getStatus):
6339 remove LFUN_INSET_GRAPHICS.
6341 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6343 2003-03-07 Angus Leeming <leeming@lyx.org>
6346 * LyXAction.C (init):
6347 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6349 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6352 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6354 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6355 localDispatch method LFUN_INSET_DIALOG_UPDATE.
6357 2003-03-07 Angus Leeming <leeming@lyx.org>
6359 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6362 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6364 * ParagraphList.C (front): new function
6367 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
6369 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6370 and top_row_offset_. removed var first_y.
6372 * text2.C (LyXText, removeRow):
6374 * BufferView_pimpl.C:
6375 use these methods instead of using first_y
6377 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6379 * text2.C (pasteSelection): adjust for checkPastePossible
6381 * CutAndPaste.C: remove Paragraph * buf and replace with
6382 ParagraphList paragraphs.
6383 (DeleteBuffer): delete
6384 (cutSelection): change the tc type to textclass_type
6385 (copySelection): change the tc type to textclass_type
6386 (copySelection): adjust for ParagraphList
6387 (pasteSelection): change the tc type to textclass_type
6388 (pasteSelection): adjust for Paragraphlist
6389 (nrOfParagraphs): simplify for ParagraphList
6390 (checkPastePossible): simplify for ParagraphList
6391 (checkPastePossible): remove unused arg
6393 * ParagraphList.C (insert): handle the case where there are no
6396 * CutAndPaste.h: make CutAndPaste a namespace.
6398 * text3.C (dispatch): adjust
6400 * text.C (breakParagraph): add a ParagraphList as arg
6402 * paragraph_funcs.C (breakParagraph): change to take a
6403 BufferParams and a ParagraphList as args.
6404 (breakParagraphConservative): ditto
6405 (mergeParagraph): ditto
6406 (TeXDeeper): add a ParagraphList arg
6407 (TeXEnvironment): ditto
6410 * buffer.C (readLyXformat2): adjust
6411 (insertStringAsLines): adjust
6412 (latexParagraphs): adjust
6414 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6415 (cutSelection): adjust
6416 (pasteSelection): adjust
6418 * BufferView_pimpl.C (insertInset): adjust
6420 2003-03-05 Angus Leeming <leeming@lyx.org>
6423 * LyXAction.C (init):
6424 * BufferView_pimpl.C (dispatch):
6425 * lyxfunc.C (getStatus):
6426 remove LFUN_CHILD_INSERT.
6428 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6430 2003-03-05 Angus Leeming <leeming@lyx.org>
6433 * LyXAction.C (init):
6434 * src/factory.C (createInset):
6435 * lyxfunc.C (getStatus):
6436 * text3.C (dispatch):
6437 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6439 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6441 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6443 * ParagraphList.C (insert): handle insert right before end()
6444 (erase): fix cases where it can be first or last paragraph.
6446 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6448 * paragraph_funcs.C (TeXEnvironment): remove all usage of
6449 Paragraph::next and Paragraph::previous
6452 * text.C (breakParagraph): adjust
6454 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6455 BufferParams& as arg.
6456 (breakParagraph): use ParagraphList::insert
6457 (breakParagraphConservative): take a Buffer* instead of a
6458 BufferParams& as arg.
6459 (breakParagraphConservative): use ParagraphList::insert.
6461 * buffer.C (insertStringAsLines): un-const it
6462 (insertStringAsLines): adjust
6464 * ParagraphList.C (insert): new function
6466 * CutAndPaste.C (pasteSelection): adjust
6468 * text.C (backspace): adjust
6470 * tabular.C (SetMultiColumn): adjust
6472 * CutAndPaste.C (cutSelection): adjust
6473 (pasteSelection): adjust
6475 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6476 Buffer const * as arg
6478 * ParagraphList.C (erase): new function
6479 * paragraph_funcs.C (mergeParagraph): use it
6480 (mergeParagraph): make it take a Buffer* instead of a
6481 BufferParams* as arg
6483 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6485 (breakParagraphConservative): ditto
6487 * paragraph.h: remove the breakParagraph friend
6489 * paragraph.C (eraseIntern): new function
6490 (setChange): new function
6492 * paragraph_funcs.C (mergeParagraph): make it take a
6493 ParagraphList::iterator instead of a Paragraph *, adjust
6496 * paragraph.h: move an #endif so that the change tracking stuff
6497 also works in the NO_NEXT case.
6499 2003-03-04 Angus Leeming <leeming@lyx.org>
6502 * LyXAction.C: new LFUN_INSET_MODIFY.
6504 * BufferView_pimpl.C (dispatch): if an inset is found to be open
6505 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6507 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6509 * several files: ws changes only
6511 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6512 (TeXEnvironment): ditto
6515 * buffer.C (makeLaTeXFile): adjust
6516 (latexParagraphs): make it take ParagraphList::iterator as args
6518 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6520 * buffer.C (latexParagraphs): adjust
6522 * paragraph.C (TeXOnePar): move function...
6523 (optArgInset): move function...
6524 (TeXEnvironment): move function...
6525 * paragraph_pimpl.C (TeXDeeper): move function...
6526 * paragraph_funcs.C: ...here
6528 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6530 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6532 * buffer.C (readInset): remove compability code for old Figure and
6535 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6537 * buffer.C: ws changes
6540 * BufferView_pimpl.C: ditto
6543 * bufferlist.h: ditto
6547 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
6549 * converter.[Ch]: split into itself +
6552 * Makefile.am: += graph.[Ch] + format.[Ch]
6559 * lyxrc.C: added #include "format.h"
6561 2003-02-27 Angus Leeming <leeming@lyx.org>
6563 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6566 * factory.C (createInset): add "label" to the factory.
6568 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6569 string and do no more.
6571 2003-02-27 Angus Leeming <leeming@lyx.org>
6574 * LyXAction.C (init):
6575 * factory.C (createInset):
6576 * BufferView_pimpl.C (dispatch):
6577 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6579 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6581 * lyxfunc.C (dispatch):
6582 * text3.C (dispatch): pass name to params2string.
6584 2003-02-26 Angus Leeming <leeming@lyx.org>
6586 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6588 Rearrange the ~includes. Strip out the unnecessary ones.
6590 * factory.C (createInset): reformat.
6591 create new insets for the various LFUN_XYZ_APPLY lfuns.
6593 2003-02-26 John Levon <levon@movementarian.org>
6596 * lyxrow.C: add isParStart,isParEnd helpers
6598 * paragraph.h: make isInserted/DeletedText take refs
6600 * paragraph_funcs.h:
6601 * paragraph_funcs.C: remove #if 0'd code
6606 * text.C: use lyxrow helpers above.
6607 Move draw and paint routines to RowPainter.
6608 Make several methods use refs not pointers.
6609 Make backgroundColor() const.
6610 Add markChangeInDraw(), isInInset().
6611 Merge changeRegionCase into changeCase.
6612 Make workWidth() shouldn't-happen code into an Assert.
6615 * rowpainter.C: new class for painting a row.
6618 * vspace.C: make inPixels take a ref
6620 2003-02-26 Angus Leeming <leeming@lyx.org>
6622 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6625 2003-02-25 John Levon <levon@movementarian.org>
6627 * ispell.C: give the forked command a more accurate name
6629 2003-02-22 John Levon <levon@movementarian.org>
6632 * toc.C: make TocItem store an id not a Paragraph *
6635 2003-02-21 Angus Leeming <leeming@lyx.org>
6637 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6638 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6639 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6640 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6641 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6642 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6644 * BufferView_pimpl.C (dispatch):
6645 * LyXAction.C (init):
6646 * factory.C (createInset):
6647 * lyxfunc.C (getStatus, dispatch):
6648 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6650 2003-02-21 Angus Leeming <leeming@lyx.org>
6652 * BufferView_pimpl.C (MenuInsertLyXFile):
6653 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6654 * lyxfunc.C (menuNew, open, doImport):
6655 no longer pass a LyXView & to fileDlg.
6657 2003-02-21 Angus Leeming <leeming@lyx.org>
6659 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6660 * LyXAction.C: change, BIBKEY to BIBITEM.
6661 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6662 Change InsetBibKey to InsetBibitem.
6663 Change BIBKEY_CODE to BIBITEM_CODE.
6664 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6665 * factory.C: replace insetbib.h with insetbibitem.h.
6666 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6667 * paragraph.C: replace insetbib.h with insetbibitem.h.
6668 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6669 Change bibkey() to bibitem().
6670 * text.C: remove insetbib.h.
6671 * text2.C: replace insetbib.h with insetbibitem.h.
6672 change bibkey() to bibitem().
6673 * text3.C: remove insetbib.h.
6674 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6676 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6678 * lyxrc.C (output): enclose user email in quotes (in case there are
6681 2003-02-18 John Levon <levon@movementarian.org>
6683 * buffer.h: add std::
6685 2003-02-17 John Levon <levon@movementarian.org>
6691 * pspell.C: reworking. Especially in ispell, a large
6692 number of clean ups and bug fixes.
6694 * lyxfunc.C: fix revert to behave sensibly
6696 2003-02-17 André Pönitz <poenitz@gmx.net>
6699 * commandtags.h: new LFUN_INSERT_BIBKEY
6709 * paragraph_func.C: remove special bibkey handling
6711 2003-02-17 John Levon <levon@movementarian.org>
6713 * text.C (Delete): fix case where delete at the end of
6714 the very first paragraph would not merge the pars
6716 2003-02-17 John Levon <levon@movementarian.org>
6718 * lyxrow.C: fix lastPrintablePos()
6720 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6722 * bufferparams.C (writeLaTeX): add a std:here
6724 * buffer.C: and remove a using directive there
6726 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6728 * buffer.C (makeLaTeXFile): move the code that generates the
6731 * bufferparams.C (writeLaTeX): ... in this new method
6733 * LaTeXFeatures.C (getEncodingSet): make const
6734 (getLanguages): make const
6736 * MenuBackend.C (binding): returns the binding associated to this
6738 (add): sets the status of each item by calling getStatus. Adds
6740 (read): add support for OptSubMenu
6741 (expand): remove extra separator at the end of expanded menu
6743 2003-02-15 John Levon <levon@movementarian.org>
6746 * BufferView_pimpl.C:
6748 * bufferlist.C: remove pointless BufferStorage bloat. Remove
6749 inset code that had no actual effect. Remove unneeded status
6752 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6754 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6757 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
6759 * text.C (drawLengthMarker): also draw an arrow marker for
6760 symbolic lengths (medskip...)
6762 2003-02-14 John Levon <levon@movementarian.org>
6765 * tabular.C: better method names
6767 2003-02-14 John Levon <levon@movementarian.org>
6769 * BufferView_pimpl.C:
6774 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6775 it's a more accurate name. Remove some pointless uses.
6777 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6779 * text2.C (LyXText): change order of initilizers to shut off
6782 2003-02-14 John Levon <levon@movementarian.org>
6784 * buffer.C: use ParIterator for getParFromID()
6788 * paragraph_pimpl.h:
6789 * paragraph_pimpl.C: remove unused getParFromID()
6791 2003-02-14 John Levon <levon@movementarian.org>
6793 * buffer.C: remove some very old #if 0'd parse code
6795 2003-02-13 John Levon <levon@movementarian.org>
6799 * text2.C: move hfillExpansion(), numberOfSeparators(),
6800 rowLast(), rowLastPrintable(), numberofHfills(),
6801 numberOfLabelHfills() ...
6804 * lyxrow.C: ... to member functions here.
6809 * text.C: remove LyXText::beginningOfMainBody(), and call
6810 p->beginningOfMainBody() directly. Move the check for
6811 LABEL_MANUAL into the latter.
6818 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6824 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6825 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6827 2003-02-13 John Levon <levon@movementarian.org>
6829 * CutAndPaste.C: remove debug
6831 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6833 * paragraph.C (asString): remove two unused variables
6835 * lyxtextclass.C (readTitleType):
6837 (LyXTextClass): handle new members titletype_ and titlename_
6839 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6841 2003-02-09 John Levon <levon@movementarian.org>
6844 * buffer.C: replace hand-coded list with a map for the dep clean
6846 2003-02-08 John Levon <levon@movementarian.org>
6848 * LaTeX.C: consolidate code into showRunMessage() helper
6850 2003-02-08 John Levon <levon@movementarian.org>
6855 * BufferView.C: change setSelectionOverString() to setSelectionRange()
6856 and pass the size in explicitly
6858 * BufferView_pimpl.h:
6859 * BufferView_pimpl.C:
6861 * BufferView.C: add getCurrentChange()
6863 * BufferView_pimpl.h:
6864 * BufferView_pimpl.C: handle change lfuns
6866 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6867 for changes. Mark pasted paragraphs as new.
6869 * support/lyxtime.h:
6870 * support/lyxtime.C:
6871 * DepTable.C: abstract time_t as lyx::time_type
6874 * LColor.C: add colours for new text, deleted text, changebars
6876 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6877 package use "usenames" option.
6881 * LyXAction.C: add change lfuns
6885 * author.C: author handling
6888 * buffer.C: add a per-buffer author list, with first entry as
6889 current author. Handle new .lyx tokens for change tracking. Output
6890 author list to .lyx file. Output dvipost stuff to .tex preamble.
6891 Bump lyx format to 222.
6894 * bufferlist.C: add setCurrentAuthor() to reset current author details
6898 * bufferparams.C: add param for tracking
6900 * bufferview_funcs.C: output change info in minibuffer
6904 * changes.C: add change-tracking structure
6907 * debug.C: add CHANGES debug flag
6910 * lyxfind.C: add code for finding the next change piece
6913 * lyxrc.C: add user_name and user_email
6916 * lyxrow.C: add a metric for the top of the text line
6919 * text.C: implement accept/rejectChange()
6922 * text.C: paint changebars. Paint new/deleted text in the chosen
6923 colours. Strike through deleted text.
6927 * paragraph_pimpl.h:
6928 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6929 in the current change to the insert functions. Rework erase to
6930 mark text as deleted, adding an eraseIntern() and a range-based
6931 erase(). Implement per-paragraph change lookup and
6934 * paragraph_funcs.C: Fixup paste for change tracking.
6936 * tabular.C: mark added row/columns as new.
6938 * text.C: fix rowLast() to never return -1. Don't allow
6939 spellchecking of deleted text. Track transpose changes. Don't
6940 allow paragraph break or merge where appropriate.
6942 * text2.C: leave cursor at end of selection after a cut.
6944 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6946 * text.C (getLengthMarkerHeight):
6947 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6948 visible on screen too.
6950 2003-02-07 John Levon <levon@movementarian.org>
6952 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6954 2003-02-05 Angus Leeming <leeming@lyx.org>
6956 * lyxserver.C (read_ready): revert my patch of 11 September last year
6957 as it sends PC cpu through the roof. Presumably this means that
6958 the lyxserver will no longer run on an Alpha...
6960 2003-01-30 Angus Leeming <leeming@lyx.org>
6962 * factory.C (createInset): create an InsetCommandParam of type "index"
6963 and use it to 'do the right thing'.
6965 * text2.C (getStringToIndex): ensure that cursor position is always
6966 reset to the reset_cursor position.
6968 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6970 * lyxfunc.C (getStatus): "buffer-export custom" should never be
6973 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
6977 * lyxfunc.C: Output messages with identical spelling, punctuation,
6980 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
6982 * MenuBackend.C (expandFormats): List only viewable export formats
6985 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6988 * lyxfunc.C (getStatus): Make sure that formats other than
6989 "fax" can also be disabled
6991 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6993 * text3.C (dispatch): put the lfuns that insert insets in 3
6994 groups, and call doInsertInset with appropriate arguments.
6995 (doInsertInset): new function, that creates an inset and inserts
6996 it according to some boolean parameters.
6998 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7000 * buffer.C (readFile): remember to pass on 'par' when calling
7001 readFile recursively.
7003 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7005 * MenuBackend.C (expandFormats): add "..." to import formats.
7007 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
7009 * paragraph.C (asString): Remove XForms RTL hacks.
7011 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
7012 * buffer.C: fix typo
7014 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7016 * Makefile.am (LIBS): delete var
7017 (lyx_LDADD): add @LIBS@ here instead.
7019 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
7021 * Clarify the meaning of "wheel mouse jump"
7023 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7025 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7028 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7030 * importer.C (Loaders): do not preallocate 3 elements in the
7031 vector, since one ends up with 6 elements otherwise
7033 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7035 * DepTable.C (write): write the file name as last element of the
7036 .dep file (because it may contain spaces)
7037 (read): read info in the right order
7039 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7041 * paragraph_pimpl.C (simpleTeXBlanks):
7042 (simpleTeXSpecialChars):
7043 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7045 * tabular.C (latex): add some missing case statements. Reindent.
7047 * MenuBackend.C (expandToc): remove unused variable.
7049 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
7058 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7061 2003-01-05 John Levon <levon@movementarian.org>
7064 * BufferView.C: add getEncoding()
7067 * kbsequence.C: do not store last keypress
7070 * lyxfunc.C: store last keypress here instead. Pass encoding
7073 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7075 * lyx_main.C (init): remove annoying error message when following
7076 symbolic links (bug #780)
7078 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7080 * text.C (insertChar):
7081 * lyxrc.C (getDescription): remove extra spaces
7083 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7085 * lyxrc.C (getDescription): remove extra spaces
7087 2002-12-20 John Levon <levon@movementarian.org>
7089 * text3.C: hack fix for page up/down across tall rows
7091 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7093 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7096 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7098 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7099 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7100 thesaurus is not compiled in
7102 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
7104 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
7106 2002-12-16 Angus Leeming <leeming@lyx.org>
7109 * lyx_main.C (init): remove override_x_deadkeys stuff.
7111 2002-12-12 John Levon <levon@movementarian.org>
7113 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7114 insert. Only remove shift modifier under strict
7117 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7119 * MenuBackend.C (expandToc): fix crash.
7121 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7123 * MenuBackend.C (expandToc): gettext on float names.
7125 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7127 * lyxlength.[Ch]: set default unit to UNIT_NONE,
7128 implement bool empty() [bug 490]
7130 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7132 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7134 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7136 * several files: ws changes
7138 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7140 * text2.C (setCounter): clean up a bit, use boost.format.
7141 (updateCounters): initialize par upon declaration.
7143 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7144 if the layout exists. We do not just store the layout any more.
7145 (SwitchLayoutsBetweenClasses): use boost.format
7147 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7149 * converter.C (convert): if from and to files are the same, use a
7150 temporary files as intermediary
7152 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7155 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7157 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
7159 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7161 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7163 * tabular.C (asciiPrintCell): use string(size, char) instead of
7166 * sgml.C (openTag): fix order of arguments to string constructor
7169 * lyxfunc.C (dispatch): use boost.format
7171 * lots of files: change "c" -> 'c'
7173 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
7175 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7177 2002-11-25 Angus Leeming <leeming@lyx.org>
7179 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7181 * lyx_main.C (init): compile fix.
7183 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7185 * lyx_cb.C (start): boost.formatify
7186 do not include <iostream>
7188 * lengthcommon.C: ws only
7190 * boost-inst.C,BoostFormat.h: add more explict instantations
7192 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7194 * lots of files: handle USE_BOOST_FORMAT
7196 2002-11-21 John Levon <levon@movementarian.org>
7198 * pspell.C: fix compile
7200 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7202 * lyxfunc.C (dispatch): use boost::format
7206 * lyxfont.C (stateText): use boost::format
7208 * lyx_main.C (LyX): use boost::format
7210 (queryUserLyXDir): ditto
7213 (typedef boost::function): use the recommened syntax.
7215 * importer.C (Import): use boost::format
7217 * debug.C (showLevel): use boost::format
7219 * converter.C (view): use boost::format
7224 * bufferview_funcs.C (currentState): use boost::format
7226 * bufferlist.C (emergencyWrite): use boost::format
7228 * buffer.C (readLyXformat2): use boost::format
7229 (parseSingleLyXformat2Token): ditto
7231 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7233 * LaTeX.C (run): use boost::format
7235 * Chktex.C (scanLogFile): use boost::format
7237 * BufferView_pimpl.C (savePosition): use boost::format
7238 (restorePosition): ditto
7239 (MenuInsertLyXFile): ditto
7241 * BoostFormat.h: help file for explicit instation.
7243 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
7245 * tabular.C (latex): Support for block alignment in fixed width
7248 2002-11-17 John Levon <levon@movementarian.org>
7250 * BufferView_pimpl.C:
7252 * lyxfunc.C: split filedialog into open/save
7254 2002-11-08 Juergen Vigna <jug@sad.it>
7256 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7257 by my last patch (hopefully).
7259 2002-11-08 John Levon <levon@movementarian.org>
7268 * toc.C: ParConstIterator, and use it (from Lars)
7270 2002-11-07 Ben Stanley <bds02@uow.edu.au>
7272 * lyxtextclass.[Ch]: revise and add doxygen comments
7274 2002-11-07 John Levon <levon@movementarian.org>
7276 * text.C: fix progress value for spellchecker
7278 * toc.C: fix navigate menu for insetwrap inside minipage
7280 * paragraph_funcs.C: added FIXME for suspect code
7282 2002-11-07 John Levon <levon@movementarian.org>
7284 * BufferView_pimpl.C: fix redrawing of insets
7287 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7289 * text2.C (updateCounters): fix bug 668
7291 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
7293 * text3.C (dispatch): Do not make the buffer dirty when moving the
7296 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7298 * vc-backend.C: STRCONV
7301 * text2.C (setCounter): STRCONV
7303 * paragraph.C (asString): STRCONV
7305 * lyxlength.C (asString): STRCONV
7306 (asLatexString): ditto
7308 * lyxgluelength.C (asString): STRCONV
7309 (asLatexString): ditto
7311 * lyxfunc.C (dispatch): STRCONV
7314 * lyxfont.C (stateText): STRCONV
7316 * importer.C (Import): STRCONV
7318 * counters.C (labelItem): STRCONV
7319 (numberLabel): ditto
7320 (numberLabel): remove unused ostringstream o
7325 * bufferview_funcs.C (currentState): STRCONV
7327 * buffer.C (readFile): STRCONV
7328 (asciiParagraph): ditto
7329 (makeLaTeXFile): ditto
7331 * Spacing.C (writeEnvirBegin): STRCONV
7333 * LaTeXFeatures.C (getLanguages): STRCONV
7334 (getPackages): ditto
7336 (getBabelOptions): ditto
7337 (getTClassPreamble): ditto
7338 (getLyXSGMLEntities): ditto
7339 (getIncludedFiles): ditto
7343 (scanAuxFile): ditto
7346 * LString.h: add the STRCONV macros
7348 * BufferView_pimpl.C (savePosition): STRCONV
7349 (restorePosition): ditto
7350 (MenuInsertLyXFile): ditto
7352 * vc-backend.C (scanMaster): change from submatch[...] to
7355 * funcrequest.C: include config.h
7357 * factory.C: include config.h
7359 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7361 * box.C: include config.h
7363 * LaTeX.C (scanAuxFile): change from submatch[...] to
7367 2002-10-25 Angus Leeming <leeming@lyx.org>
7369 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7371 * ispell.[Ch] (setError): new method.
7372 * ispell.C (c-tor): move out child process into new class LaunchIspell.
7373 Use setError() insetead of goto END.
7375 * lyx_cb.C (AutoSave): move out child process into new class
7378 2002-10-30 John Levon <levon@movementarian.org>
7380 * text3.C: make start appendix undoable
7382 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
7384 * lyxlength.C (inPixels): Fix returned value.
7386 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7389 2002-10-24 Angus Leeming <leeming@lyx.org>
7391 * lyxgluelength.h: no need to forward declare BufferParams
7392 or BufferView, so don't.
7394 2002-10-21 John Levon <levon@movementarian.org>
7396 * BufferView.C: menuUndo ->undo, redo
7398 * BufferView.h: document, remove dead, make some methods private
7400 * paragraph_funcs.h:
7401 * paragraph_funcs.C:
7402 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7407 * sgml.C: move sgml open/close tag into sgml.C
7409 * bufferview_funcs.h: unused prototype
7412 * lyxfunc.C: remove unused
7415 * text.C: remove unused
7417 2002-10-21 John Levon <levon@movementarian.org>
7421 * BufferView_pimpl.h:
7422 * BufferView_pimpl.C: fix mouse wheel handling based on
7423 patch from Darren Freeman
7425 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
7427 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7429 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
7431 * lyxlength.C (inPixels): Fix hanfling of negative length.
7432 Fix LyXLength::MU case.
7434 2002-10-16 John Levon <levon@movementarian.org>
7436 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7438 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7440 * converter.C (view): add support for $$i (file name) and $$p
7441 (file path) for the viewer command. If $$i is not specified, then
7442 it is appended to the command (for compatibility with old syntax)
7444 2002-10-14 Juergen Vigna <jug@sad.it>
7446 * undo_funcs.C (textHandleUndo): alter the order in which the
7447 new undopar is added to the LyXText, as we have to set first
7448 the right prev/next and then add it as otherwise the rebuild of
7449 LyXText is not correct. Also reset the cursor to the right paragraph,
7450 with this IMO we could remove the hack in "redoParagraphs()".
7452 2002-10-09 Angus Leeming <leeming@lyx.org>
7454 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7455 to turn off an optimisation if a new inset is to be inserted.
7457 2002-10-11 André Pönitz <poenitz@gmx.net>
7459 * lyxtext.h: make some functions public to allow access
7460 from inset/lyxtext for handling LFUN_PRIOR/NEXT
7462 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7464 * text3.C (dispatch): when changing layout, avoid an infinite loop
7467 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7469 * lyxrc.C (read): treat a viewer or converter command of "none" as
7472 * MenuBackend.C (expandFormats): for an update, also allow the
7473 formats that are not viewable
7475 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7476 script if it is newer than the lyxrc.defaults in user directory
7478 2002-10-07 André Pönitz <poenitz@gmx.net>
7480 * text.C: Vitaly Lipatov's small i18n fix
7482 2002-09-25 Angus Leeming <leeming@lyx.org>
7484 * ispell.h: doxygen fix.
7486 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
7488 * buffer.h (readFile): Add a new argument to the method, to allow
7489 reading of old-format templates.
7491 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
7493 * toc.C (getTocList): Get TOC from InsetWrap.
7495 2002-09-16 John Levon <levon@movementarian.org>
7497 * lyxfunc.C: check tabular for cut/copy too
7499 2002-09-12 John Levon <levon@movementarian.org>
7504 * factory.C: add header
7506 * paragraph_funcs.h:
7507 * paragraph_funcs.C: cleanup
7509 2002-09-11 John Levon <levon@movementarian.org>
7511 * PrinterParams.h: odd/even default to true
7513 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
7515 * PrinterParams.h: update printer parameters for new xforms dialog
7517 2002-09-11 Angus Leeming <leeming@lyx.org>
7519 * lyxserver.C (read_ready): re-write to make it more transparent
7520 and to make it work in coherent fashion under Tru64 Unix.
7522 2002-09-11 André Pönitz <poenitz@gmx.net>
7526 * text3.C: implement LFUN_WORDSEL
7528 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7530 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7531 make floatlist_ a boost::shared_ptr<FloatList>
7533 * lyxtextclass.C: include FloatList.h
7534 (LyXTextClass): initialize floatlist_
7535 (TextClassTags): add TC_NOFLOAT
7536 (Read): match "nofloat" to TC_NOFLOAT and use it.
7537 (readFloat): modify call to floatlist_
7541 * FloatList.[Ch] (FloatList): remove commented out float
7543 (erase): new function
7545 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7547 * MenuBackend.C (expandToc): fix crash when there is no document
7550 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
7552 * many files: Add insetwrap.
7554 2002-09-09 John Levon <levon@movementarian.org>
7556 * text2.C: remove confusing and awkward depth wraparound
7558 2002-09-09 John Levon <levon@movementarian.org>
7560 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7563 * buffer.C: remove getIncludeonlyList()
7566 * lyxfunc.C: remove headers
7568 2002-09-09 Juergen Vigna <jug@sad.it>
7570 * text.C (getColumnNearX): fix form Michael this is most
7571 probably a cut&paste bug.
7573 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7575 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7577 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7578 references, ws changes.
7580 * text2.C (init): update counters after init
7581 (insertParagraph): no need to set counter on idividual paragraphs.
7582 (setCounter): access the counters object in the textclass object
7583 on in the buffer object.
7584 (updateCounters): ditto
7586 * lyxtextclass.C: include counters.h, add variable ctrs_ as
7587 shared_ptr<Counters> to avoid loading counters.h in all
7589 (LyXTextClass): initialize ctrs_
7590 (TextClassTags): add TC_COUNTER, and ...
7591 (Read): use it here.
7592 (CounterTags): new tags
7593 (readCounter): new function
7594 (counters): new funtion
7595 (defaultLayoutName): return a const reference
7597 * counters.C (Counters): remove contructor
7598 (newCounter): remove a couple of unneeded statements.
7599 (newCounter): simplify a bit.
7600 (numberLabel): some small formatting changes.
7602 * buffer.[Ch]: remove all traces of counters, move the Counters
7603 object to the LyXTextClass.
7605 2002-09-06 Alain Castera <castera@in2p3.fr>
7607 * tabular.C: uses \tabularnewline; uses >{...} construct from array
7608 package to set the horizontal alignment on fixed width columns.
7611 * lyx_sty.h: added tabularnewline macro def.
7613 * LaTeXFeatures.C: added NeedTabularnewline macro feature
7615 2002-09-06 John Levon <levon@movementarian.org>
7617 * LyXAction.C: tooltips for sub/superscript
7619 * MenuBackend.C: a bit more verbose
7621 * lyxfunc.C: tiny clean
7623 * undo_funcs.C: document undo_frozen
7625 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7627 * counters.C (Counters): add missing algorithm counter.
7629 * text2.C (setCounter): lookup the counter with layouts latexname
7630 instead of by section number.
7631 (setCounter): use a hackish way to lookup the correct enum
7633 a float name->type change
7634 reset enum couners with counter name directly instead of depth value.
7636 * counters.C (Counters): remove the push_backs, change to use the
7637 float type not the float name.
7638 (labelItem): remove unused string, float name->type change
7640 * counters.h: don't include vector, loose the enums and sects vectors
7642 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7644 * lyxtextclass.C (TextClassTags): add TC_FLOAT
7645 (Read): add float->TC_FLOAT to textclassTags
7646 (Read): and handle it in the switch
7647 (readFloat): new function
7649 * FloatList.C (FloatList): comment out the hardcoded float
7652 * lyxlayout.h: ws change.
7654 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
7656 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7658 2002-09-03 Angus Leeming <leeming@lyx.org>
7660 * BufferView_pimpl.h: qualified name is not allowed in member
7661 declaration: WorkArea & Pimpl::workarea() const;
7663 * factory.C: added using std::endl directive.
7665 * text3.C: added using std::find and std::vector directives.
7667 2002-08-29 André Pönitz <poenitz@gmx.net>
7670 * text2.C: remove unused member number_of_rows
7673 * BufferView2.C: remove file, move contents to...
7674 * BufferView.C: ... here
7676 * BufferView_pimpl.C:
7677 * factory.C: move more inset creation to factory
7679 * vspace.C: avoid direct usage of LyXText, ws changes
7682 don't provide direct access to WorkArea, use two simple
7683 acessors haveSelction() and workHeight() instead
7686 2002-08-29 John Levon <levon@movementarian.org>
7688 * BufferView_pimpl.C (dispatch): do not continue when
7691 2002-08-28 André Pönitz <poenitz@gmx.net>
7693 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7696 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7698 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
7700 * buffer.C: increment LYX_FORMAT to 221
7702 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7703 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7705 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7707 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7709 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7711 * factory.C (createInset): use LyXTextClass::floats
7713 * MenuBackend.C (expandFloatListInsert):
7714 (expandFloatInsert):
7717 * text2.C (setCounter):
7719 * LaTeXFeatures.C (useFloat):
7720 (getFloatDefinitions):
7722 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7724 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7725 floatlist_, with accessor floats().
7727 * FloatList.h: remove global FloatList
7729 2002-08-26 André Pönitz <poenitz@gmx.net>
7731 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7735 * BufferView_pimpl.C:
7736 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7738 2002-08-25 John Levon <levon@movementarian.org>
7740 * LyXAction.C: fix margin note description
7742 2002-08-24 John Levon <levon@movementarian.org>
7746 * bufferview_funcs.C:
7748 * undo_funcs.C: cleanups
7750 * lyxfunc.C: disable CUT/COPY when no selection
7752 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
7754 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7755 in "enum UNIT"; e.g. PTW for Percent of TextWidth
7757 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7758 Add backward compatibility to "mono", "gray" and "no".
7760 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
7762 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7763 (and file_format >= 200).
7765 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7767 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7769 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7771 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7773 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
7775 * BufferView_pimpl.C:
7782 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7783 inset and code to make it work with the paragraph code. The inset
7784 can be anywhere in the paragraph, but will only do the expected
7785 thing in LaTeX if the layout file contains the parameter line
7787 (or more generally, a nonzero value) for that layout.
7789 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7791 * paragraph.h: remove the declaration of undefined counters class
7794 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
7796 * text2.C (setCounter): fixed enumeration mis-count as reported by
7797 Dr. Richard Hawkins.
7799 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7801 * paragraph_funcs.h: remove some unneeded includes
7803 * text.C (backspace): pasteParagraph now in global scipe
7805 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7806 (pasteSelection): ditto
7808 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7809 * paragraph_funcs.C (pasteParagraph): ... here
7811 2002-08-20 André Pönitz <poenitz@gmx.net>
7813 * commandtags.h: new LFUNs for swapping/copying table row/colums
7816 * lyxfunc.C: support for new lfuns
7818 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7821 * buffer.[Ch]: remove NO_COMPABILITY stuff
7823 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
7825 * boost.C (throw_exception): new file, with helper function for
7826 boost compiled without exceptions.
7831 * ParameterStruct.h:
7832 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7834 * bufferlist.C (emergencyWriteAll): use boost bind
7836 * BufferView_pimpl.C (moveCursorUpdate): remove inline
7838 * text.C: include paragraph_funcs.h
7839 (breakParagraph): breakParagraph is now in global scope
7841 * paragraph_funcs.[Ch]: new files
7843 * paragraph.C (breakParagraph,breakParagraphConservative): move to
7846 * buffer.C: include paragraph_funcs.h
7847 (insertStringAsLines): breakParagraph is now in global scope
7849 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7852 * CutAndPaste.C: include paragraph_funcs.h
7853 (cutSelection): breakParagraphConservative is now in global scope
7854 (pasteSelection): ditto
7856 * buffer.h: declare oprator== and operator!= for
7857 Buffer::inset_iterator
7859 * bufferlist.C (emergencyWrite): don't use fmt(...)
7861 * text3.C: add using std::endl
7863 * BufferView.C (moveCursorUpdate): remove default arg
7865 2002-08-20 André Pönitz <poenitz@gmx.net>
7867 * buffer.[Ch]: move inline functions to .C
7870 * BufferView_pimpl.C:
7872 * buffer.[Ch]: use improved inset_iterator
7875 * paragraph.[Ch]: write one paragraph at a time
7877 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
7879 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7880 style if style is not specified.
7882 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7884 * text2.C (setCounter): when searching for right label for a
7885 caption, make sure to recurse to parent insets (so that a caption
7886 in a minipage in a figure float works) (bug #568)
7888 2002-08-20 André Pönitz <poenitz@gmx.net>
7890 * text3.C: new file for LyXText::dispatch() and helpers
7892 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7894 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7896 2002-08-19 André Pönitz <poenitz@gmx.net>
7899 * text.C: new LyXText::dispatch()
7901 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7903 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
7905 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7907 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7910 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7912 * Makefile.am: use $(variables) instead of @substitutions@
7914 2002-08-15 André Pönitz <poenitz@gmx.net>
7917 * BufferView_pimpl.C: streamlining mathed <-> outer world
7921 * LyXAction.C: remove unused LFUN_MATH
7923 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7925 * paragraph.[Ch]: add some NO_NEXT ifdefs.
7927 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7929 * paragraph.C (Paragraph): reformat a bit
7930 (cutIntoMinibuffer): use builtin InsetList function instad of
7934 * buffer.C: include boost/bind.hpp, add using std::for_each
7935 (writeFileAscii): use ParagraphList iterators
7936 (validate): use for_each for validate traversal of paragraphs
7937 (getBibkeyList): use ParagraphList iterators
7938 (resizeInsets): use for_each to resizeInsetsLyXText for all
7940 (getParFromID): use ParagraphList iterators
7942 * BufferView2.C (lockInset): use paragraph list and iterators
7944 2002-08-14 John Levon <levon@movementarian.org>
7946 * lyxserver.C: remove spurious xforms include
7948 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7950 * lyxfunc.C (getStatus): disable math-extern outside of math mode
7952 2002-08-13 André Pönitz <poenitz@gmx.net>
7955 * lyxfunc.C: further cleaning
7957 2002-08-13 André Pönitz <poenitz@gmx.net>
7959 * funcrequest.h: new constructor
7961 * funcrequest.C: move stuff here from .h
7964 * BufferView_pimpl.C:
7967 * lyxfunc.C: subsequent changes
7969 * lyxfunc.h: new view() member function
7971 * lyxfunc.C: subsequent changes
7973 2002-08-13 Angus Leeming <leeming@lyx.org>
7976 * BufferView_pimpl.C:
7984 changes due to the changed LyXView interface that now returns references
7985 to member variables not pointers.
7987 2002-08-13 Angus Leeming <leeming@lyx.org>
7989 * WordLangTuple (word, lang_code): return references to strings,
7994 * lyxtext.h: forward-declare WordLangTuple.
7999 * text.C: #include "WordLangTuple.h".
8002 * text.C: (selectNextWordToSpellcheck): constify return type.
8004 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
8010 * paragraph_pimpl.h:
8013 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8015 Made updateCounter always count from start of buffer, and removed
8016 second argument (par).
8017 Reverted floats number display to '#'. Perhaps I'll try again when the
8018 code base is sanitized a bit.
8020 2002-08-12 Angus Leeming <leeming@lyx.org>
8022 * buffer.[Ch] (getLabelList): constify.
8024 2002-08-07 André Pönitz <poenitz@gmx.net>
8026 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8028 * funcrequest.h: extension to keep mouse (x,y) position
8030 2002-08-12 Juergen Vigna <jug@sad.it>
8032 * BufferView2.C (insertErrors): forbid undo when inserting error
8035 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8037 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8039 * ParagraphList.[Ch]: new files
8041 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8043 * BufferView2.C (lockInset): ParagraphList changes
8046 * bufferlist.C: ditto
8050 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8052 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8053 unused class variable counter_,
8055 * paragraph.[Ch] (getFirstCounter): delete unused function
8057 * counters.C: include LAssert.h
8058 (reset): add a new function with no arg, change other version to
8059 not have def. arg and to not allow empty arg.
8061 * text2.C (setCounter): remove empty arg from call to Counters::reset
8063 2002-08-11 John Levon <levon@movementarian.org>
8065 * Makefile.am: add WordLangTuple.h
8067 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8069 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8070 lyxfunc.C lyxlex_pimpl.C: ws changes only.
8072 * insets/insettext.C: InsetList changes
8074 * graphics/GraphicsSupport.C (operator()): InsetList changes
8076 * toc.C (getTocList): InsetList changes
8078 * paragraph_pimpl.[Ch]: InsetList changes
8080 * paragraph.[Ch]: InsetList changes
8082 * buffer.C (inset_iterator): InsetList changes
8083 (setParagraph): ditto
8084 * buffer.h (inset_iterator): ditto
8085 * iterators.C (operator++): ditto
8086 * iterators.h: ditto
8088 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8090 * InsetList.[Ch]: new files, most InsetList handling moved out of
8093 * BufferView2.C (removeAutoInsets): InsetList changes
8095 (ChangeInsets): ditto
8097 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8099 * paragraph_pimpl.h (empty): new function
8101 * paragraph.[Ch] (empty): new function
8103 * other files: use the new Paragraph::empty function
8105 2002-08-09 John Levon <levon@movementarian.org>
8107 * lyxtext.h: remove unused refresh_height
8109 2002-08-09 John Levon <levon@movementarian.org>
8116 * paragraph.C: move sgml char escaping out of paragraph
8119 * paragraph.C: remove id setter
8123 * paragraph_pimpl.C: remove dead tex_code_break_column
8125 * bufferview_funcs.C: small cleanup
8127 * lyxfunc.C: remove dead proto
8129 * lyxtext.h: make some stuff private. Remove some dead stuff.
8131 * lyxgluelength.C: make as[LyX]String() readable
8133 2002-08-08 John Levon <levon@movementarian.org>
8138 * ToolbarDefaults.C:
8141 * toc.C: lyxaction cleanup
8143 2002-08-08 John Levon <levon@movementarian.org>
8145 * BufferView2.C: small cleanup
8148 * lyxfind.C: move unnecessary header into the .C
8150 2002-08-08 John Levon <levon@movementarian.org>
8152 * funcrequest.h: just tedious nonsense
8155 * lyx_main.C: cleanups
8158 * vspace.C: remove dead header lyx_main.h
8160 2002-08-07 Angus Leeming <leeming@lyx.org>
8163 * paragraph_pimpl.h:
8164 Forward declare class Counters in paragraph.h by moving the ctrs member
8165 variable into Paragraph::Pimpl.
8166 (counters): new method, returning a reference to pimpl_->ctrs.
8168 * text2.C: ensuing changes.
8170 2002-08-07 John Levon <levon@movementarian.org>
8172 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8174 * BufferView_pimpl.C: announce X selection on double/triple
8177 * lyx_main.C: use correct bool in batch dispatch
8179 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8181 2002-08-07 André Pönitz <poenitz@gmx.net>
8183 * funcrequest.h: new class to wrap a kb_action and its argument
8186 * BufferView_pimpl[Ch]:
8190 * lyxrc.C: subsequent changes
8193 2002-08-07 John Levon <levon@movementarian.org>
8195 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8196 document options change.
8198 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8203 * makefile.am: move counters functionality over from
8204 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8206 2002-08-06 John Levon <levon@movementarian.org>
8208 * WordLangTuple.h: new file for word + language code tuple
8219 * BufferView2.C: use WordLangTuple
8222 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8224 2002-08-06 John Levon <levon@movementarian.org>
8226 * lyx_main.C: fix cmdline batch handling
8228 2002-08-06 André Pönitz <poenitz@gmx.net>
8230 * lyxrc.C: set default for show_banner to true
8232 2002-08-06 John Levon <levon@movementarian.org>
8234 * pspell.C: fix a crash, and allow new aspell to work
8236 2002-08-06 John Levon <levon@movementarian.org>
8239 * kbmap.C: small cleanup
8242 * vspace.C: add const
8244 2002-08-05 John Levon <levon@movementarian.org>
8246 * LyXAction.C: back to tabular-insert
8248 2002-08-04 John Levon <levon@movementarian.org>
8251 * BufferView.C: cosmetic change
8253 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8263 * BufferView2.C: purge all "Lyx" not "LyX" strings
8266 * lyxcursor.C: attempt to add some documentation
8271 * ToolbarDefaults.C:
8272 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8273 merge with LFUN_TABULAR_INSERT
8280 * pspell.C: split up i/pspell implementations into separate
8281 files, many cleanups
8283 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8285 * text2.C: some cleanup
8287 * lyxfunc.C: don't check for isp_command == "none" any more, it
8288 didn't make any sense
8290 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8295 * makefile.am: move counters functionality over
8296 from text2.C/paragraph.[Ch] to counters.[Ch], and
8298 2002-08-02 John Levon <levon@movementarian.org>
8300 * buffer.C: s/lyxconvert/lyx2lyx/
8302 2002-08-02 Angus Leeming <leeming@lyx.org>
8304 * lyxlex.C: revert John's change as it breaks reading of the user
8307 2002-08-02 Angus Leeming <leeming@lyx.org>
8309 * importer.C (Import):
8310 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8311 changes due to LyXView::view() now returning a boost::shared_ptr.
8313 2002-08-02 John Levon <levon@movementarian.org>
8315 * lyxlex.C: small cleanup
8317 2002-08-02 John Levon <levon@movementarian.org>
8319 * text2.C (status): small cleanup, no logic change
8321 2002-08-01 John Levon <levon@movementarian.org>
8324 * buffer.C (writeFile): don't output alerts, caller
8328 * lyx_cb.C: from above
8330 * lyxfunc.C: allow to open non-existent files
8332 2002-07-31 John Levon <levon@movementarian.org>
8334 * lyxserver.C: don't let incidental errors get
8337 2002-07-30 John Levon <levon@movementarian.org>
8339 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8341 2002-07-30 John Levon <levon@movementarian.org>
8344 * lyxserver.C: remove I/O callback too
8346 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8348 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8351 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8353 * many files: strip,frontStrip -> trim,ltrim,rtrim
8355 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8357 * PrinterParams.h: remove extern containsOnly, and include
8358 support/lstrings.h instead.
8360 * LaTeX.C (scanAuxFile): modify because of strip changes
8362 * buffer.C (makeLaTeXFile): ditto
8363 * bufferparams.C (writeFile): ditt
8364 * lyxfont.C (stateText): ditto
8365 * lyxserver.C (read_ready): ditto
8366 * vc-backend.C (scanMaster): ditto
8368 * BufferView_pimpl.h: ws changes
8370 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8372 2002-07-26 André Pönitz <poenitz@gmx.net>
8374 * kb_sequence.C: remove unnedred usings
8376 2002-07-26 Juergen Vigna <jug@sad.it>
8378 * lyxfind.C (LyXReplace): we have to check better if the returned
8379 text is not of theLockingInset()->getLockingInset().
8381 2002-07-25 Juergen Vigna <jug@sad.it>
8383 * lyxfind.C (LyXReplace): don't replace if we don't get the
8386 * undo_funcs.C (createUndo): remove debugging code.
8388 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
8390 * buffer.C (parseSingleLyXformat2Token): Use default placement
8391 when reading old floats.
8393 * FloatList.C (FloatList): Change the default placement of figure
8394 and tables to "tbp".
8396 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
8398 * MenuBackend.C: using std::max
8400 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8402 * MenuBackend.C (expandToc):
8403 (expandToc2): code moved from xforms menu frontend. It is now
8404 generic and TOCs are transparent to menu frontends.
8406 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8408 * toc.C (getTocList): protect against buf=0
8410 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8411 Menu as first parameter. Now, this calls itself recursively to
8412 expand a whole tree (this will be useful for TOC handling)
8413 (expandFloatInsert): remove 'wide' version of floats
8415 * MenuBackend.h (submenuname): returns the name of the submenu.
8416 (submenu): returns the submenu itself, provided it has been
8417 created by MenuBackend::expand
8419 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8421 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8422 insets which have noFontChange == true. (bug #172)
8424 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8426 * BufferView_pimpl.C: add connection objects and use them...
8429 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8431 * MenuBackend.C (expandLastfiles):
8434 (expandFloatListInsert):
8435 (expandFloatInsert):
8436 (expand): split expand in parts
8438 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8440 * lyx_gui.C: use lyx_gui::exit()
8442 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8444 * LyXAction.C: show the failing pseudo action
8446 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
8448 * buffer.C (readFile): Run the lyxconvert script in order to read
8451 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8455 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8457 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8461 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8463 2002-07-22 Herbert Voss <voss@lyx.org>
8466 * lyxlength.[Ch]: add support for the vertical lengths
8468 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
8470 * toc.[Ch]: std:: fixes
8472 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8474 * lyxrc.C: do not include lyx_main.h
8476 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8482 * BufferView2.C: include "lyxlex.h"
8485 * bufferparams.h: do not #include "lyxlex.h"
8487 * lyxtextclasslist.C (Add): remove method
8488 (classlist): renamed to classlist_
8490 * paragraph_pimpl.C:
8494 * bufferview_funcs.C:
8499 * toc.C (getTocList): use BufferParams::getLyXTextClass
8501 * toc.C (getTocList): use InsetFloat::addToToc
8503 * toc.[Ch]: new files, containing helper functions to handle table
8506 * lyxfunc.C (dispatch): no need to remove spaces around command
8508 (getStatus): handle LFUN_SEQUENCE by returning the status of the
8509 first command of the sequence; it is not very clever, but I do not
8510 have a better idea, actually
8512 * LyXAction.C (LookupFunc): make sure to remove space at the
8513 beginning and end of the command
8515 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8517 * MenuBackend.C (getMenubar): new method: return the menubar of
8519 (read): treat differently reading of menu and menubar (in
8520 particular, the menubar has no name now)
8521 (Menu::menubar): remove
8523 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8526 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8528 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8529 a bibitem inset in a RTL paragraph.
8531 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
8533 * paragraph_pimpl.C: constify
8535 * BufferView_pimpl.C:
8537 * lyxfunc.C: fix dispatch in a nicer way
8539 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8541 * lyxfunc.C (dispatch):
8542 * BufferView_pimpl.C:
8543 * BufferView_pimpl.h:
8545 * BufferView.h: rename Dispatch() to dispatch()
8547 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8549 * lyxlayout.C (Read): honor DependsOn tag
8551 * lyxlayout.[Ch] (depends_on): new method
8553 * version.C.in: update lyx_docversion
8555 * LaTeXFeatures.C (getMacros): only define \LyX when needed
8557 * paragraph.C (validate): remove from here...
8558 * paragraph_pimpl.C (validate): ... and move here
8559 (isTextAt): make it const
8561 * buffer.C (getLists): ws cleanup
8563 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8565 * language.C (read): Use iso8859-1 encoding in latex_lang
8566 (this prevents LyX from crashing when using iso10646-1 encoding).
8568 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8570 * text2.C (toggleInset): if cursor is inside an inset, close the
8571 inset and leave cursor _after_ it
8573 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8575 * lyxfunc.C: move minibuffer completion handling out of here
8577 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8579 * BufferView_pimpl.C:
8580 * LaTeX.C: fix dispatch calls
8582 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
8584 * text.C (drawChars): Fix Arabic text rendering.
8586 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
8590 * lyxfunc.C: remove message-push/pop
8594 * lyxfunc.C: rationalise some code by removing verboseDispatch
8595 in favour of a bool argument to dispatch()
8597 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8599 * lyx_main.C (init): make sure to read symlinks as absolute paths
8601 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8604 * lyxfunc.C: no need for commandshortcut to be a member
8606 2002-07-15 André Pönitz <poenitz@gmx.net>
8608 * converter.C: add support for $$s (scripts from lib/scripts dir)
8609 * lyx_main.C: white space
8611 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8615 * lyxrc.C: remove second exit confirmation
8617 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8622 * BufferView_pimpl.h:
8623 * BufferView_pimpl.C:
8624 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8626 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8628 * MenuBackend.C (expand): add numeric shortcuts to document menu
8630 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8632 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8634 * lyxfont.C (setLyXFamily):
8641 * buffer.C (asciiParagraph): use ascii_lowercase
8643 2002-07-15 Mike Fabian <mfabian@suse.de>
8645 * lyxlex_pimpl.C (search_kw):
8646 * lyxlex.C (getLongString):
8647 * converter.h (operator<):
8648 * converter.C (operator<):
8649 * buffer.C (parseSingleLyXformat2Token):
8651 * ToolbarDefaults.C (read):
8652 * MenuBackend.C (checkShortcuts):
8654 * LColor.C (getFromGUIName):
8655 (getFromLyXName): use the compare_ascii_no_case instead of
8656 compare_no_case, because in turkish, 'i' is not the lowercase
8657 version of 'I', and thus turkish locale breaks parsing of tags.
8659 2002-07-16 Angus Leeming <leeming@lyx.org>
8661 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8662 now takes a Buffer const & argument.
8664 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
8666 * BufferView.C (resize): check there's a buffer to resize
8668 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
8670 * lyxfunc.C: remove dead code
8673 * lyxserver.C: use lyx_guii::set_read_callback
8675 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
8677 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8678 an inset in a RTL paragraph.
8680 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8682 * lyxfunc.C: repaint after a font size update
8684 2002-07-15 André Pönitz <poenitz@gmx.net>
8686 * lyxlength.C: inBP should be able to return negative values
8688 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8690 * lyxfunc.C: use lyx_gui::update_fonts()
8692 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8694 * lyxfunc.C: use lyx_gui::update_color()
8696 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8702 * lyxrc.C: remove file->new asks for name option, and let
8703 buffer-new take an argument
8705 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8707 * BufferView_pimpl.C: remove unneeded extra repaint()
8709 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
8711 * LyXAction.C: allow command-sequence with NoBuffer
8713 * lyxfunc.C: don't insist on trailing ';' for command-sequence
8715 2002-07-10 Angus Leeming <leeming@lyx.org>
8717 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8719 2002-07-09 Angus Leeming <leeming@lyx.org>
8721 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8723 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8725 * lengthcommon.h: whitespace
8727 * lyxfunc.C: update scrollbar after goto paragraph
8729 * lyxtext.h: factor out page break drawing, and fix it so
8730 page break/added space paints as selected nicely
8732 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8734 * BufferView_pimpl.C: add FIXMEs, clean up a little
8736 2002-07-09 André Pönitz <poenitz@gmx.net>
8738 * lyxfont.[Ch]: support for wasy symbols
8740 2002-07-08 André Pönitz <poenitz@gmx.net>
8742 * BufferView_pimpl.C: apply John's patch for #93.
8744 2002-07-05 Angus Leeming <leeming@lyx.org>
8746 * BufferView_pimpl.C (buffer): generate previews if desired.
8748 * LColor.h: add "preview" to the color enum.
8750 * LColor.C (LColor): add a corresponding entry to the items array.
8752 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8755 2002-07-05 Angus Leeming <leeming@lyx.org>
8757 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8758 The body of the code is now in the method that is passed an ostream &
8759 rather than a file name.
8760 Pass an additional only_preamble parameter, useful for the forthcoming
8763 2002-07-03 André Pönitz <poenitz@gmx.net>
8765 * lyxfunc.C: simplify getStatus() a bit for math stuff
8767 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8769 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8771 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8773 * text.C (changeRegionCase): do not change case of all the
8774 document when region ends at paragraph end (bug #461)
8776 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8778 * paragraph.C (startTeXParParams):
8779 (endTeXParParams): add \protect when necessary
8781 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8783 * BufferView_pimpl.C (workAreaExpose): remove warning
8785 2002-06-27 Angus Leeming <leeming@lyx.org>
8787 * Makefile.am: add lyxlayout_ptr_fwd.h.
8789 2002-06-26 André Pönitz <poenitz@gmx.net>
8791 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8793 2002-06-25 Angus Leeming <leeming@lyx.org>
8795 * lyxfunc.C (dispatch): Comment out the call to
8796 grfx::GCache::changeDisplay. The method no longer exists now that the
8797 pixmap generation part of the graphics loader has been moved into
8800 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8802 * text2.C: layout as layout
8804 * text.C: layout as layout
8806 * tabular.C (OldFormatRead): layout as layout
8808 * paragraph_pimpl.C (TeXDeeper): layout as layout
8809 (realizeFont): layout as layout
8811 * paragraph.C (writeFile): layout as layout
8812 (validate): layout as layout
8813 (getFont): layout as layout
8814 (getLabelFont): layout as layout
8815 (getLayoutFont): layout as layout
8816 (breakParagraph): layout as layout
8817 (stripLeadingSpaces): layout as layout
8818 (getEndLabel): layout as layout
8819 (getMaxDepthAfter): layout as layout
8820 (applyLayout): layout as layout
8821 (TeXOnePar): layout as layout
8822 (simpleTeXOnePar): layout as layout
8823 (TeXEnvironment): layout as layout
8824 (layout): layout as layout
8825 (layout): layout as layout
8827 * lyxtextclass.C (compare_name): new functor to work with
8828 shared_ptr, layout as layout
8829 (Read): layout as layout
8830 (hasLayout): layout as layout
8831 (operator): layout as layout
8832 (delete_layout): layout as layout
8833 (defaultLayout): layout as layout
8835 * lyxlayout_ptr_fwd.h: new file
8837 * lyxlayout.C (Read): layout as layout
8839 * lyx_cb.C (MenuInsertLabel): layout as layout
8841 * bufferlist.C (newFile): layout as layout
8843 * buffer.C (readLyXformat2): layout as layout
8844 (parseSingleLyXformat2Token): layout as layout
8845 (insertStringAsLines): layout as layout
8846 (asciiParagraph): layout as layout
8847 (latexParagraphs): layout as layout
8848 (makeLinuxDocFile): layout as layout
8849 (simpleLinuxDocOnePar): layout as layout
8850 (makeDocBookFile): layout as layout
8851 (simpleDocBookOnePar): layout as layout
8852 (getLists): layout as layout
8854 * LaTeXFeatures.C (getTClassPreamble): layout as layout
8856 * CutAndPaste.C (cutSelection): layout as layout
8857 (pasteSelection): layout as layout
8858 (SwitchLayoutsBetweenClasses): layout as layout
8860 * BufferView_pimpl.C (Dispatch): layout as layout
8861 (smartQuote): layout as layout
8863 * BufferView2.C (unlockInset): layout as layout
8865 2002-06-24 André Pönitz <poenitz@gmx.net>
8867 * lyxfunc.C: fix #487
8869 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8873 * lyxfunc.C: remove display_shortcuts, show_banner
8875 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8877 * Buffer_pimpl.C: oops, update on resize
8879 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8886 * BufferView.C: use repaint()
8888 * BufferView_pimpl.h:
8889 * BufferView_pimpl.C: s/updateScreen()/repaint()/
8890 as it's a clearer description. Remove superfluous
8893 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8895 * text.C: fix bug 488. Not ideal, but getting
8896 getWord() to work properly for the insets that
8897 matter is more difficult ...
8899 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8901 * BufferView_pimpl.C:
8904 * lyxfunc.C: remove the six million index lyxfuncs to just
8905 one, and DTRT (bug 458)
8907 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8911 * BufferView_pimpl.h:
8912 * BufferView_pimpl.C: clean up resize() stuff,
8913 and unnecessary updateScreen()s
8915 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8919 * BufferView_pimpl.h:
8920 * BufferView_pimpl.C:
8923 * minibuffer.C: remove focus management of workarea,
8924 not needed. Use screen's greyOut()
8926 2002-06-17 Herbert Voss <voss@lyx.org>
8928 * converter.C: (convert) do not post a message, when converting
8929 fails, let the calling function decide what to do in this case
8931 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
8933 * lyxfunc.C: tidy up a little
8935 2002-06-16 <alstrup@diku.dk>
8937 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8938 Got rid of FORMS_H_LOCATION include. Now we are
8941 2002-06-15 LyX Development team <lyx@rilke>
8943 * buffer.[Ch] (sgmlOpenTag):
8944 (sgmlCloseTag): Added support for avoiding pernicious mixed
8945 content. Return number of lines written.
8948 (makeDocBookFile): Fixed calls to sgml*Tag.
8949 Simple white space clean.
8951 (simpleDocBookOnePar): Simple white space clean.
8953 * tabular.[Ch] (docBook): Renamed to docbook and got another
8954 argument to related with the pernicious mixed content.
8956 (docbookRow): Fixed calls for docbook inset method.
8958 2002-06-15 Lyx Development team <larsbj@birdstep.com>
8960 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8961 so it's X11 independent.
8965 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8967 2002-06-15 Lyx Development team <lyx@electronia>
8969 * intl.h: Renamed getTrans to getTransManager.
8971 2002-06-14 Angus Leeming <leeming@lyx.org>
8973 * Makefile.am: nuke forgotten stl_string_fwd.h.
8975 2002-06-12 Angus Leeming <leeming@lyx.org>
8977 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8979 2002-06-13 Angus Leeming <leeming@lyx.org>
8982 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8984 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
8986 * kbmap.C (getiso): add support for cyrillic and greek
8988 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8992 * BufferView_pimpl.h:
8993 * BufferView_pimpl.C: move bogus scrolling logic
8996 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8999 * BufferView_pimpl.C: view->resize() change
9001 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9003 * BufferView_pimpl.C: topCursorVisible
9006 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9010 * lyx_gui.C: move to frontends/
9014 * lyx_main.C: changes from above
9016 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9023 * lyx_main.C: minor tidy
9025 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9027 * BufferView_pimpl.h:
9028 * BufferView_pimpl.C:
9030 * BufferView.C: make painter() const,
9033 * BufferView2.C: use screen() accessor
9036 * lyx_main.C: some minor cleanup
9038 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9040 * BufferView_pimpl.h:
9041 * BufferView_pimpl.C: remove enter/leaveView,
9044 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9049 * BufferView_pimpl.h:
9050 * BufferView_pimpl.C: only construct screen once,
9053 * lyxrc.C: remove pointless comment
9055 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9058 * BufferView.C: remove active() and belowMouse()
9060 * BufferView_pimpl.h:
9061 * BufferView_pimpl.C: use workarea() not workarea_,
9062 and make it use a scoped_ptr instead
9064 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9066 * lyx_gui.C: add debug message on BadWindow
9068 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9070 * sp_spell.C: fdopen is not part of the C++ standard.
9072 * paragraph.C (InsetIterator): use >= instead of ==
9074 2002-06-07 Angus Leeming <leeming@lyx.org>
9076 Fixes needed to compile with Compaq cxx 6.5.
9077 * BufferView_pimpl.C:
9084 * lyxtextclasslist.C:
9089 all c-library variables have been moved into namespace std. Wrap
9090 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9095 Add a using std::abs declaration.
9097 * kbmap.h (modifier_pair):
9098 * paragraph.h (InsetTable, InsetList):
9099 * lyxfont.h (FontBits):
9100 type definition made public.
9102 * bufferlist.C (emergencyWriteAll): the compiler complains that
9103 there is more than one possible lyx::class_fun template to choose from.
9104 I re-named the void specialisation as lyx::void_class_fun.
9106 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9108 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9109 the compiler is is unable to find tostr in write_attribute.
9111 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9113 * buffer.C (sgmlError): hide #warning
9115 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9117 * xtl/*: get rid of xtl, which is not in use anyway
9119 * LyXAction.C (init):
9120 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9121 were unimplemented xtl experimentation
9123 2002-06-04 André Pönitz <poenitz@gmx.net>
9125 * lyxfunc.C: disable array operation on simple formulae
9127 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
9129 * converter.C: constify a bit
9131 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
9133 * lyx_gui.C: check xforms version correctly
9135 2002-04-30 Herbert Voss <voss@lyx.org>
9137 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9140 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
9142 * lyxvc.C: fix bug 416 (make sure buffer is saved before
9143 attempt to register it with a VCS)
9145 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9147 * lyx_main.C (init): honor variables LYX_DIR_13x and
9150 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9154 * lyx_main.C: fix a crash on bad command line,
9155 and give a useful exit status on error
9157 * lyxfunc.C (doImport): allow -i lyx to work
9159 2002-03-30 André Pönitz <poenitz@gmx.net>
9161 * lyxfunc.C: mathed font changes
9163 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9178 * trans_mgr.h: srcdocs, and some minor cleanups
9180 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9182 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9183 call getFont all the time)
9185 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9187 * switch from SigC signals to boost::signals
9189 2002-05-29 André Pönitz <poenitz@gmx.net>
9191 * paragraph_pimpl.C (getChar): don't call size() too often...
9193 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9195 * paragraph_pimpl.C (insertChar): do not try to update tables when
9196 appending (pos == size())
9198 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9199 in order to reduce drastically the number of comparisons needed to
9200 parse a large document
9202 2002-05-29 André Pönitz <poenitz@gmx.net>
9208 * textclasslist.[Ch]:
9209 * sp_ispell.h: whitespace change
9211 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9213 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9214 lyxaction directly now.
9216 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
9220 * lyxvc.C: remove unused headers
9222 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9229 * undo_funcs.C: some cleanups. Use shared_ptr
9230 and a template for the undo stacks.
9232 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9234 * BufferView_pimpl.h:
9235 * BufferView_pimpl.C:
9242 * text2.C: use key_state/mouse_state
9244 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9246 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9249 * chset.C: change include order
9250 (loadFile): use boost regex and get rid of LRegex and LSubstring
9252 * Makefile.am (BOOST_LIBS): new variable
9255 * LaTeX.C: change include order.
9256 (scanAuxFile): use boost regex and get rid of LRegex and
9260 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9265 * FontInfo.C: moved to frontends/xforms/
9268 * FontLoader.C: moved into frontends for GUIIzation
9273 * lyxfunc.C: changes from above
9275 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9277 * LColor.C: remove spurious X include
9279 * BufferView_pimpl.C:
9284 * text2.C: move font metrics to frontends/
9286 2002-05-24 Juergen Vigna <jug@sad.it>
9288 * undo_funcs.C (textHandleUndo): fix the cursor selection after
9289 setting the undo_cursor.
9291 * ParagraphParameters.h: include local includes first.
9293 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9295 * BufferView_pimpl.C:
9296 * BufferView_pimpl.h:
9300 * screen.C: move WorkArea into frontends/
9306 * BufferView2.C: move LyXScreen into frontends/
9310 * lyx_gui.C: move lyxlookup into frontends/xforms/
9312 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9315 * BufferView_pimpl.C:
9325 * bufferview_funcs.C:
9338 * vc-backend.C: move LyX/XFormsView into frontends/
9340 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9352 * text2.C: move Painter to frontends/
9354 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9356 * buffer.C: comment out some some code that depend upon lyx_format
9359 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9360 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9362 * buffer.h (NO_COMPABILITY): turn off compability
9364 * ColorHandler.C: include scoped_array.hpp
9366 * font.C: Use more specific smart_ptr header.
9369 * ShareContainer.h: ditto
9373 * BufferView_pimpl.h: ditto
9374 * ColorHandler.h: ditto
9376 * kbmap.C (defkey): change call to shared_ptr::reset
9378 2002-05-21 Juergen Vigna <jug@sad.it>
9380 * buffer.C (insertErtContents): fix to insert ert asis if it is
9381 non empty. Skip it completely if it contains only whitespaces.
9383 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
9385 * BufferView_pimpl.C:
9386 * BufferView2.C: clear selection on paste (bug 393)
9388 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9390 * DepTable.C: include ctime
9392 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
9394 * buffer.C (latexParagraphs): Add new argument (moving_arg).
9396 2002-05-14 Juergen Vigna <jug@sad.it>
9398 * text.C (breakParagraph): fixed function to honor the keepempty
9399 layout in the right maner and also to permit the right breaking
9400 algorithm on empty or non empyt keepempty paragraphs.
9402 * paragraph.C (breakParagraph): we have to check also if the par
9403 is really empty (!size()) for isempty otherwise we do the wrong
9406 2002-05-10 Juergen Vigna <jug@sad.it>
9408 * buffer.[Ch] : The following are only changes to the ert
9409 compatibility read reading old LaTeX layout and font stuff and
9410 convert it to ERTInsets.
9412 * buffer.h: added isErtInset().
9414 * buffer.C (struct ErtComp): add a fromlayout bool to check
9415 if we're inside a LaTeX layout.
9416 (isErtInset): new helper function.
9417 (insertErtContents): look for other ert insets before this one
9418 and insert the contents there, so that we don't have subsequent
9419 ERT insets with nothing between them. This way we create only one
9420 inset with multiple paragraphs. Also check if we don't insert only
9421 spaces ' ' as they are ignored anyway afterwards in the .tex file
9422 so if we have only spaces we will ignore this latex part in the
9424 (parseSingleLyXformat2Token \\layout): better compatibility when
9425 reading layout-latex stuff.
9426 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9428 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9429 stuff after reading the inset only get the information back from
9432 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
9434 * buffer.C (makeLaTeXFile): Put language options after loading babel.
9436 * LaTeXFeatures.C (getBabelOptions): New method.
9438 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9440 * BufferView_pimpl.C (Dispatch): work around missing argument for
9443 2002-05-08 Juergen Vigna <jug@sad.it>
9445 * text.C (leftMargin): handle paragraph leftindent.
9447 * paragraph.C (writeFile): write the new \\leftindent tag.
9448 (validate): handle leftindent code.
9449 (TeXEnvironment): handle paragraphleftindent code again.
9451 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9453 * buffer.C (parseSingleLyXformat2Token): added compatibility code
9454 for paragrap_extra indent code and new token \\leftindent.
9455 (latexParagraphs): handle the leftindent as environment.
9457 * ParameterStruct.h: added leftindent support.
9459 * ParagraphParameters.C (leftIndent): added support functions for
9460 the paragraph left indent.
9462 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9465 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
9467 * paragraph.C (isRightToLeftPar): Return false for a paragraph
9470 * text.C (computeBidiTables): No bidi in insetERT.
9472 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9475 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9477 * version.C.in: pre 5
9479 2002-05-02 José Matos <jamatos@fep.up.pt>
9480 * buffer.C (makeDocBookFile): white space changes, add newline to
9482 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9484 * tabular.C (docBook): fix typo.
9486 2002-05-03 Juergen Vigna <jug@sad.it>
9488 * screen.C (drawFromTo): recalculate the rowpointer if we had a
9489 change in LyXText as we can not be sure it was not freed.
9490 (drawOneRow): remove unused code.
9492 * text.C (drawInset): redo the calculation of the need_break_row as
9493 it could have a row which was already freed.
9494 (draw): look at the return value of drawInset and return false if
9495 it also returned false.
9496 (paintRowText): look at the return value of draw and return false if
9497 it also returned false.
9499 * lyxtext.h: added bool return type to drawInset() and draw() so that
9500 if we have a change in the row so that the rowbreak has to be redone
9501 we abort drawing as it will be called again.
9503 2002-05-02 Juergen Vigna <jug@sad.it>
9505 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9506 a change in the maintext also if we're inside an inset.
9507 (Dispatch): set the cursor again after a break line and after the
9508 screen has been updated as it could be we're in a different row.
9510 * text2.C (fixCursorAfterDelete): check to make sure we don't request
9511 to set the cursor behind the pargraph with > size().
9512 (setCursor): check also for the same paragraph when checking where
9513 to put the cursor if we have a NFR inset.
9515 * buffer.C (parseSingleLyXformat2Token): move the compatibility
9516 parts of layout read further up as it still was in the wrong
9519 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9521 * screen.C (drawFromTo): change sine fullRebreak always return
9524 * buffer.C (parseSingleLyXformat2Token): reindent some
9526 * BufferView_pimpl.C (update): change since fullRebreak always
9528 (Dispatch): git rid of the last hardcoded "Standard"s.
9530 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9532 * text2.[Ch] (fullRebreak): make it return void now that we always
9535 2002-04-30 Juergen Vigna <jug@sad.it>
9537 * buffer.C (parseSingleLyXformat2Token): reset the font before the
9538 ert compatibility check for "latex" layout.
9540 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
9542 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9543 minipages: use col% instead of p%, and also use the current font.
9544 (makeLaTeXFile): Fix use babel condition.
9545 (parseSingleLyXformat2Token): Correct font when reading old floats.
9547 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
9549 * BufferView_pimpl.C (Dispatch): Check that float type exists when
9550 inserting list of floats.
9552 2002-04-25 Herbert Voss <voss@lyx.org>
9554 * MenuBackend.C (expand): don't add the graphics extensions to the
9557 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9559 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9560 non-existing layout, do not complain if it was the default layout
9561 of the original class (bug #342)
9563 2002-04-24 Juergen Vigna <jug@sad.it>
9565 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9566 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9568 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
9570 * buffer.C (getBibkeyList): If using \bibliography, return the
9571 option field with the reference itself. Enables us to provide natbib
9572 support when using \bibliography.
9574 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
9576 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9578 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9579 natbib is provided by the LaTeX class.
9581 2002-04-23 Juergen Vigna <jug@sad.it>
9583 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9586 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9588 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9590 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9592 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9593 ensuremath around textordmasculine, textordfeminine and
9596 2002-04-19 Juergen Vigna <jug@sad.it>
9598 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9599 reinitializing the buffer otherwise row-dimensions may be wrong.
9600 (update): reset also the selection cursors if they do exits otherwise
9601 their x/y positions may be wrong.
9603 * text2.C (cursorDown): don't enter the inset if we came from a row
9604 above and are one row over the inset.
9606 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9607 really leaving an inset.
9609 2002-04-18 Juergen Vigna <jug@sad.it>
9611 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9612 of the selected paragraph does not have the selected layout also if
9615 * text2.C (setLayout): fixed bug which did not change last selected
9618 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9619 changed the read and substituted \\end_float with \\end_inset!
9621 * BufferView_pimpl.C (cursorPrevious):
9622 (cursorNext): fixed to make it work with rows heigher than the work
9623 area without moving the cursor only the draw of the row.
9624 (workAreaMotionNotify): fix jumping over high rows.
9626 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9628 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9631 2002-04-16 Juergen Vigna <jug@sad.it>
9633 * text2.C (setCursor): set also the irow().
9634 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9636 (cursorDown): support for locking an inset if the x_fix value goes
9637 inside it. That way I can transverse insets too with cursor up/down.
9639 * lyxrow.h: added irow helper function same as other (i) functions.
9641 * BufferView_pimpl.C (cursorPrevious):
9642 (cursorNext): fixed for insets!
9644 2002-04-15 Juergen Vigna <jug@sad.it>
9646 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9647 position otherwise it is wrong in some cases.
9649 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9650 inside the inset before the call.
9652 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
9654 * buffer.[Ch] (getBibkeyList): make it const.
9656 2002-04-12 Juergen Vigna <jug@sad.it>
9658 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9660 * text2.C (getCursorX): new helper function
9661 (setCursor): compute also ix_
9662 (setCursorFromCoordinates): set also ix.
9664 * lyxcursor.h: added ix_ and helper functions.
9666 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9668 * buffer.C (insertStringAsLines): dont break paragraph if the this
9669 paragraph is inside an inset which does not permit it!
9671 * text.C (breakParagraph): honor keepempty flag and break the paragraph
9672 also with no chars on this paragraph.
9673 (paintRowText): only paint stuff if it's inside the workarea!
9675 * paragraph.C (breakParagraph): honor keepempty flag and break the
9676 paragraph always below not above.
9678 * BufferView2.C (unlockInset): update the paragraph layout on inset
9679 unlock as we changed paragraph in such a case.
9681 * lyxfind.C (LyXFind): clear the former selection if not found!
9683 * text2.C (insertInset): freeze Undo after setUndo so that it is not
9684 again called in insertChar().
9686 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9687 an inset which uses the whole row!
9688 (rightMargin): ditto.
9689 (insertChar): force a rebreak if we inserted an inset!
9691 2002-03-28 Herbert Voss <voss@lyx.org>
9693 * lyxlength.[Ch]: add inBP() to get the right PS-point
9694 units (BigPoint). With inPixels we have rounding errors
9696 2002-04-11 Juergen Vigna <jug@sad.it>
9698 * text2.C (setCursorFromCoordinates): set iy to the right value.
9699 (setCursor): add check if row->previous exists!
9701 * buffer.C (parseSingleLyXformat2Token): reset font after read of
9702 an old float_type as this was the case in the old code!
9704 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9706 * BufferView2.C (showLockedInsetCursor): use iy
9707 (fitLockedInsetCursor): ditto
9709 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9710 locked insets as there we have the right value now.
9712 * lyxcursor.C: added iy_ variable and iy functions to set to the
9713 baseline of cursor-y of the locked inset.
9715 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9716 (setCursor): fixed for insets which need a full row.
9718 * text.C (rowLastPrintable): don't ignore the last space when before
9719 an inset which needs a full row.
9720 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9721 as last character of a row when before a inset which needs a full row.
9723 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9725 * version.C.in: update date
9727 * text2.C (fullRebreak): try to always return true and see what
9730 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9732 * MenuBackend.C (expand): use Floating::listName
9734 * FloatList.C (FloatList): add listName argument to the built-in
9737 * Floating.[Ch]: add listName member, which is the 'List of XXX'
9738 text associated with the float.
9740 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9742 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9744 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9746 * ShareContainer.h: add a couple of missing typenames.
9748 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
9750 * lyxrc.C (getDescription): use _() correctly rather than N_().
9752 2002-03-28 Herbert Voss <voss@lyx.org>
9754 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9755 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9757 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9759 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9760 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9762 2002-03-29 Juergen Vigna <jug@sad.it>
9764 * lyxfunc.C (dispatch): add a missing fitCursor call.
9766 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9767 it was scrolled by a cursor move, so return the bool status.
9769 * BufferView.C (fitCursor): return the bool flag also to the outside
9770 world as this is needed.
9772 * screen.C (toggleToggle): don't subtract the offset if it's positive.
9774 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9775 call the edit() as it is not needed (and wrong) IMO.
9776 (workAreaButtonPress): set the screen_first variable before evt.
9777 unlock the inset as this may change screen_first and then we have
9778 a wrong y position for the click!
9780 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9782 * MenuBackend.C (expand): another translation that I missed
9784 2002-03-28 Juergen Vigna <jug@sad.it>
9786 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9788 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9790 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9792 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9794 * MenuBackend.C (expand): fix export/view/update when there is no
9797 2002-03-27 Herbert Voss <voss@lyx.org>
9799 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9802 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9804 * bufferview_funcs.C (currentState): only show paragraph number
9805 for is DEVEL_VERSION is set.
9807 * lyxfunc.C (dispatch): put warning in INFO channel
9809 * MenuBackend.C (expand): translate the name of floats
9811 * FloatList.C (FloatList): mark the float names for translation
9813 * converter.C (convert): use LibScriptSearch
9815 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9817 * MenuBackend.C (defaults): fix default menu (we might as well get
9820 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9822 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9825 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9827 * lyxvc.C: reorder includes.
9829 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
9831 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9834 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
9836 * CutAndPaste.C: change layouts earlier on paste
9837 to avoid crashing when calling getFont()
9839 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
9841 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9844 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9846 * WorkArea.C: remove 'Pending' debug message.
9848 * most files: ws cleanup
9850 * buffer.[Ch]: ws changes
9852 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9854 2002-03-21 Juergen Vigna <jug@sad.it>
9856 * tabular.C (SetMultiColumn): collapse also the contents of the
9857 cells and set the last border right. Added a Buffer const * param.
9859 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9861 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9864 2002-03-19 Juergen Vigna <jug@sad.it>
9866 * text2.C (clearSelection): reset also xsel_cache.
9868 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9869 where it needs to be called (John tells us to do so too :)
9870 (selectionLost): reset sel_cache.
9872 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9874 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9876 * text2.C (setCursorIntern): put debuging code in INSETS channel
9878 2002-03-19 André Pönitz <poenitz@gmx.net>
9880 * lyxfunc.C: tiny whitespace change
9882 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9884 * ToolbarDefaults.C (init):
9885 * LyXAction.C (init):
9887 * BufferView_pimpl.C (Dispatch):
9888 * lyxfunc.C (dispatch): remove LFUN_DEPTH
9890 2002-03-19 Allan Rae <rae@lyx.org>
9892 * exporter.C (Export): removeAutoInsets before doing anything else.
9893 While I've just introduced a dependency on BufferView this really is
9894 the best place to clean the buffer otherwise you need to cleanup in
9895 a dozen places before calling export or cleanup in a dozen functions
9898 * converter.C (runLaTeX):
9899 (scanLog): Better handling of removeAutoInsets and screen updates.
9901 * lyxfunc.C (dispatch): small whitespace changes
9903 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9905 * WorkArea.C (C_WorkAreaEvent): return a value.
9906 (event_cb): return 1 if we handled the event, 0 otherwise.
9908 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9910 2002-03-18 Juergen Vigna <jug@sad.it>
9912 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9913 (GetAdditionalWidth): ditto.
9917 * BufferView2.C (copy): use getLyXText() so that we do it inside an
9918 inset if we're there actually (probably not used right now but this
9919 is the direction to go for unifying code).
9920 (paste): disable code to clear the selection.
9922 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9923 inside an InsetText and move the check further up as it is in the
9926 * text2.C (pasteSelection): set a selection over the pasted text.
9928 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
9930 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9931 and libgraphics to build on Cygwin.
9933 2002-03-15 Juergen Vigna <jug@sad.it>
9935 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9936 inserting an Inset into the paragraph. I know this is not the best
9937 fix but we already use current_view in CutAndPaste so we will remove
9938 all of it's using at the same time.
9940 * buffer.C (sgmlError): deactivated function till it is rewritten in
9941 the right mode, now it can create problems.
9943 * paragraph.C (isLineSeparator): check if getInset returns != 0,
9944 before accessing it.
9946 2002-03-14 Juergen Vigna <jug@sad.it>
9948 * undo_funcs.C (textHandleUndo): do the right thing when updating
9949 the inset after the undo/redo.
9951 * text2.C (setCursor): just some testcode for #44 not ready yet.
9953 * undo_funcs.C (textHandleUndo): set the next() and previous()
9954 pointers of the paragraph to 0 before deleting otherwise we have
9955 problems with the Paragraph::[destructor].
9957 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9958 on a paragraph insertion.
9960 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9962 * buffer.C (asciiParagraph): use += operator for char append to
9965 * paragraph.C (getFontSettings): compare >= not just >
9966 (highestFontInRange): ditto
9969 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9971 * paragraph.C: change several algorithm to be more appripriate for
9972 the problem domain. This is lookip in FontList and in the InsetList.
9974 2002-03-13 André Pönitz <poenitz@gmx.net>
9977 * LyXAction.C: remove unused LFUN_MATH_MACROARG
9979 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
9984 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9986 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9988 * Painter.C (display): anon helper function, adjust code for this
9990 (pixmap): remove function.
9992 * Painter.h: remove private display variable.
9994 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9996 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
9998 * WorkArea.[Ch]: remove figinset_canvas cruft.
10000 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10002 * lyxtextclass.C (operator): add one item cache optimization.
10004 * bufferlist.h: doxy changes
10006 * bufferlist.C: ws changes
10008 * DepTable.[Ch] (ext_exist): place const in the right spot.
10010 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10012 (workAreaExpose): call resizeInsets when the with BufferView changes.
10013 (Dispatch): adjust for protectedBlank removal
10014 (specialChar): call updateInset if the insert went ok.
10016 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10017 specialChar instead.
10019 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10021 * BufferView.h: doxy change
10023 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10025 * lyxtextclass.C (operator[]): remove non-const version
10026 (defaultLayout): remove non-const version
10028 2002-03-12 Juergen Vigna <jug@sad.it>
10030 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10031 did resize the LyXText too.
10033 * buffer.C (readLyXformat2): set layout information on newly allocated
10036 * tabular.C (OldFormatRead): set layout information on the paragraph.
10038 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10040 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10042 2002-03-11 Juergen Vigna <jug@sad.it>
10044 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10046 (resizeCurrentBuffer): force also the insets to resize themselfes.
10047 (moveCursorUpdate): fixed up for InsetText.
10049 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
10052 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10053 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10054 value of Dialogs::tooltipsEnabled().
10055 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10057 2002-03-08 Juergen Vigna <jug@sad.it>
10059 * BufferView_pimpl.C (updateInset): update inset inside inset also
10060 if it isn't inside theLockingInset().
10062 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10064 * buffer.C (asciiParagraph): redo some of the word and line length
10066 (getLists): look for Caption instead of caption.
10068 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10070 * buffer.C (Buffer): initialize niceFile to true
10072 (makeLinuxDocFile):
10073 (makeDocBookFile): make sure niceFile is true on exit
10075 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10077 * buffer.C (makeLaTeXFile): escape ~ in \input@path
10079 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
10081 * LyXSendto.C: remove.
10082 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10083 * lyx_gui.C: remove now-redundant comment.
10084 * ColorHandler.h: remove forward declaration of class WorkArea.
10085 * lyxfunc.C: remove #include "WorkArea.h".
10087 2002-03-07 Juergen Vigna <jug@sad.it>
10089 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10090 got moved away with the DEPM and also set the inset_owner always
10091 right which before could have been omitted.
10093 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10095 * buffer.C (parseSingleLyXformat2Token): use default layout is the
10096 wanted layout is not found.
10098 2002-03-07 Juergen Vigna <jug@sad.it>
10100 * CutAndPaste.C (cutSelection): another layout settings forgotten.
10102 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10104 * paragraph.C (breakParagraph): use default layout not layout of
10106 (Paragraph): clear ParagraphParameters.
10108 2002-03-06 Juergen Vigna <jug@sad.it>
10110 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10111 otherwise it would not be a valid lenght. Fixed a special case in
10112 the minipage compatibility read where we end the document with a
10115 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10116 was set as it could be 0 for InsetTexts first entry.
10118 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10120 * paragraph.C (writeFile): if layout is empty write out
10121 defaultLayoutName().
10123 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10124 file without named layout we set layout to defaultLayoutName().
10126 2002-03-06 Juergen Vigna <jug@sad.it>
10128 * CutAndPaste.C (copySelection): set layout for new paragraph.
10130 * text.C (prepareToPrint): leave ERT inset left aligned
10131 (leftMargin): don't indent paragraphs inside ERT insets
10133 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10135 * paragraph.C (breakParagraph): dont call clear do the work manually
10137 * paragraph.[Ch] (clear): remove function
10139 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10141 * paragraph.C (Paragraph): dont call clear, the work has already
10144 * lyxtextclass.C (operator): assert if n is empty
10146 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10147 work manually instead.
10149 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10151 * BufferView_pimpl.C: protect selectionLost against text == 0
10153 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10155 * text.C (breakParagraph): fix a setting layout to '0' problem.
10157 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10159 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10160 final location of file, for the included files, and graphics.
10162 2002-03-05 Juergen Vigna <jug@sad.it>
10164 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10166 2002-03-04 Juergen Vigna <jug@sad.it>
10168 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10170 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10171 last column of multicolumn cells.
10172 (SetWidthOfMulticolCell): recalculate NMC and real columns.
10174 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
10176 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10177 file if it doesn't go to a temporary file.
10179 * buffer.C (sgmlOpenTag):
10180 (sgmlCloseTag): remove extra newline insertion.
10182 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10184 * text.C (getRowNearY): comment out debug msg
10186 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10188 * text2.C: first -> first_y
10190 * text.C (getRowNearY): add some attemts at a possible
10191 optimization, not working.
10193 * tabular.[Ch]: add BufferParams to several function so that newly
10194 created paragraph can be initialized to he default layotu for the
10197 * tabular-old.C (ReadOld): add buf->params to call of Init
10199 * screen.C: rename text->first to text->first_y
10201 * paragraph.C (breakParagraph): always set layout in the broken
10204 * lyxtextclass.C (Read): remove lowercase
10207 (delete_layout): ditto
10209 * lyxtext.h: rename first -> first_y
10211 * lyxlayout.C (Read): remove lowercase
10214 (obsoleted_by): ditto
10216 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10218 * buffer.C (insertErtContents): add params are to InsetERT
10219 (parseSingleLyXformat2Token): add code to check if a paragraphs
10220 layout really exist.
10221 (parseSingleLyXformat2Token): add params to several inset
10223 (asciiParagraph): remove lowercase, do the layout comparisons with
10226 * BufferView_pimpl.C (cursorNext): first -> first_y
10227 (resizeCurrentBuffer): first -> first_y
10228 (updateScrollbar): first -> first_y
10229 (scrollCB): first -> first_y
10230 (workAreaMotionNotify): first -> first_y
10231 (workAreaButtonPress): first -> first_y
10232 (checkInsetHit): first -> first_y
10233 (cursorPrevious): first -> first_y
10234 (cursorNext): first -> first_y
10235 (Dispatch): add buffer_->params to severl inset contructors
10237 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10239 * lyxlayout.C (Read): remove some debug info that I forgot.
10241 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10242 clean up the code slightly.
10243 (makeLinuxDocFile): ditto
10244 (makeDocBookFile): ditto
10246 * text2.C: layout as string
10248 * text.C: layout as string
10250 * paragraph_pimpl.C: layout as string
10252 * paragraph.[Ch]: layout as string
10254 * lyxtextclasslist.[Ch]: layout as string
10256 * lyxtextclass.[Ch]: layout as string
10258 * lyxtext.h: layout as string
10260 * lyxlayout.[Ch]: layout as string
10262 * lyx_cb.C: layout as string
10264 * bufferview_funcs.C: layout as string
10266 * bufferparams.C: layout as string
10268 * buffer.C: layout as string
10270 * LyXView.[Ch]: layout as string
10272 * LaTeXFeatures.[Ch]: layout as string
10274 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10276 * BufferView_pimpl.C: change current_layout to string, remove
10281 (workAreaButtonRelease): layout as string
10283 * BufferView2.C (unlockInset): adjust
10285 * vspace.C (asLatexCommand): use an explict temp variable.
10287 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10289 * Makefile.am: use FRONTEND_*
10291 2002-03-01 Juergen Vigna <jug@sad.it>
10293 * tabular.C (SetWidthOfMulticolCell): changed to something better
10294 I hope but still work in progress.
10295 (recalculateMulticolumnsOfColumn): renamed function from
10296 recalculateMulticolCells as it is more appropriate now.
10297 (SetWidthOfCell): calculate multicols better.
10299 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10301 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10303 * lyxfunc.C (processKeySym): print sequence also if it is
10304 `deleted' (complete)
10306 * kbsequence.C (print): print sequence even if it is deleted
10307 (complete would be a better word, actually).
10309 * lyxfunc.C (dispatch): print complete options after a prefix key
10311 * vspace.C (asLatexCommand): rewrite in a slightly different form.
10313 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
10315 * text2.C (setCharFont): eliminate setCharFont code duplication.
10317 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10319 * BufferView_pimpl.C (Dispatch): remove bogus handling of
10320 LFUN_TABULAR_FEATURE (bug #177)
10322 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
10324 * Makefile.am: remove figure.h
10326 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
10328 * Bufferview_pimpl.C:
10340 * text2.C: remove #include "lyx_gui_misc.h".
10342 * LaTeX.C: added #include <cstdio>
10344 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10346 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10347 that the paragraph following this one can have.
10349 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10351 * vspace.C (asLatexCommand): fix bogus gcc warning
10353 * Makefile.am (lyx_SOURCES): remove vms_defines.h
10355 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
10357 * text2.C (setLayout): get rid of redundant code
10359 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
10361 * text2.C (incDepth): make sure depth cannot be increased beyond
10364 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
10366 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10367 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10369 * PainterBase.h (image):
10370 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10371 a LyXImage const *.
10373 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10377 * BufferView_pimpl.C:
10378 * BufferView_pimpl.h:
10398 * sp_spell.C: remove fig inset, and the crap house of
10399 cards that follows it
10401 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10406 * os2_errortable.h:
10407 * nt_defines.h: move .h into support/
10409 * vms_defines.h: remove
10411 * WorkArea.C: add space in debug output
10415 * buffer.C: add WITH_WARNINGS
10419 * bufferlist.C: s/retrive/retrieve/, add docs
10428 * chset.C: add docs
10430 * lyxgui.C: add ID to X error handler
10432 * lyxtestclass.c: fix typo
10434 2002-02-26 Juergen Vigna <jug@sad.it>
10436 * tabular_funcs.C (write_attribute): changed so that some default
10437 attributes are not written at all.
10438 (getTokenValue): set default values before trying to read the
10439 value so we have the return value always set as default if we don't
10440 find the token we search for.
10442 * tabular.C (Write): write bools as bools not as strings!
10444 2002-02-22 Juergen Vigna <jug@sad.it>
10446 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10447 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10449 * text.C (leftMargin): don't add an indent for paragraphs inside
10450 tabular cells (fix #208).
10452 2002-02-21 José Matos <jamatos@fep.up.pt>
10454 * tabular.C (docBook): fixed support for long tables.
10456 2002-02-20 Juergen Vigna <jug@sad.it>
10458 * text2.C (getFont): get the drawing font of the Inset if this
10459 paragraph is inside an inset (only important for InsetERT for now).
10461 * buffer.C (insertErtContents): use new lanugage params in ERT
10464 * CutAndPaste.C: commenting out seemingly uneeded code.
10466 2002-02-19 Allan Rae <rae@lyx.org>
10468 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10469 Iterators might be simple to use but they also get invalidated.
10470 (removeAutoInsets): renamed saved cursor tracking variables and added
10471 some comments to clarify what everything does.
10473 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
10480 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10481 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10484 * vc-backend.h: remove #include "support/syscall.h"
10488 * converter.C: rearrange #includes in Lars' approved fashion.
10490 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10491 forward declare class Timeout in the header file.
10493 * XFormsView.C: changes due to the above.
10495 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10496 similar to LyXView.
10498 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10499 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10501 2002-02-18 José Matos <jamatos@fep.up.pt>
10503 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10506 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10508 * a lot of small ws changes
10509 * add a lot of using std::XXX
10510 * use std construcs some places where approp.
10511 * use some exisint stuff from lyxfunctional where approp.
10512 * Make file changes to use partial linking (lets test this now...)
10514 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10518 remove #include "support/syscontr.h" as it's redundant. Always has been.
10526 change Systemcalls::System to Systemcalls::Wait and
10527 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10528 No change of functionality, just reflects the stripped down Systemcalls
10531 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10533 * debug.[Ch]: add a GRAPHICS type to the enum.
10535 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10537 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10539 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10542 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10544 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10545 match the changes below.
10547 * text2.C (toggleInset): if there is not editable inset at cursor
10548 position, try to see if cursor is _inside_ a collapsable inset
10551 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10553 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10554 document menu has a nice checkbox
10556 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10558 * lyxlength.C (asLatexString): change PW to output as percent of
10561 * lengthcommon.C: change '%' to 't%'
10563 * lyxfunc.C (dispatch): a few comments from Martin
10565 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
10569 * BufferView_pimpl.h:
10570 * BufferView_pimpl.C: clear our selection when X tells us we've lost
10573 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10575 * vspace.C (inPixels): fix compiler warning
10577 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10579 * lyxfunc.C (getStatus): fix status message for disabled commands.
10581 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
10583 * BufferView_pimpl.C: fix crash on close buffer
10584 during selection (#227)
10586 2002-01-27 Herbert Voss <voss@lyx.org>
10588 * buffer.C: link old Figure to new graphic inset
10590 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
10592 * FontLoader.C (getFontinfo): Change the latex font names in order
10593 to match the names of type1inst.
10595 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10597 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10599 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10600 (extchanged): ditto
10602 (remove_files_with_extension): ditto
10603 (remove_file): ditto
10606 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10607 document is smaller than the work area height. Do not initialize
10608 static variables to 0.
10610 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10612 * lyx_gui.C (init): give the toolbar tooltips a normal font.
10614 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10615 LFUN_LAYOUT_PARAGRAPHS.
10617 * tabular.C (GetCellFromInset): new method. Finds an inset in a
10618 tabular. It is possible to provide a possible cell, which will
10619 typically be the actcell from the corresponding insettabular
10621 * lyxfunc.C (getStatus): small cleanup; disable
10622 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10625 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10627 * tabular.C (Validate): remove broken optimization (fixes bug #201)
10629 * paragraph.C (startTeXParParams):
10630 (endTeXParParams): new methods. The LaTeX code to
10631 start/end paragraph formatting
10632 (simpleTeXOnePar): call startTeXParParams also when paragraph is
10633 empty (fixes bug #200)
10635 * vspace.C (inPixels): adapt to the change below
10636 (inPixels): [later] more cleanups (remove unused variables)
10638 * lyxlength.C (inPixels): change to use a width and a height as
10641 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10643 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10644 Replaced with \paperwidth
10646 * DepTable.C (insert): add std:: qualifier
10648 2002-01-18 Allan Rae <rae@lyx.org>
10650 * text2.C (removeRow): add comment. Should other refresh_?? vars be
10653 * text.C (drawInset): Turned out I didn't know enough about how
10654 rebreaking worked. This fixes most of the redraw problems. I see
10655 an occasional cursor trail when a line is broken now and the cursor
10656 placement can seem out by a few pixels also after a rebreak.
10658 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10660 * buffer.C (parseSingleLyXformat2Token): update because minipage
10661 width is now a LyXLength
10663 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10665 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10668 2002-01-17 Juergen Vigna <jug@sad.it>
10670 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10672 * BufferView2.C (lockInset): call edit() so that theLockingInset()
10673 is set correctly and the inset is updated correctly.
10675 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10677 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10678 the beginning of the loop.
10680 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
10682 * lyxrc.C: improve help for use_scalable_fonts
10684 2002-01-17 Allan Rae <rae@lyx.org>
10686 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10688 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10690 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10691 make sure to set their inset_owner to the right value (bug #171)
10693 2001-12-12 Ben Stanley <bds02@uow.edu.au>
10696 * DepTable.C: Implement mtime checking to reduce time spent doing
10699 2002-01-16 Juergen Vigna <jug@sad.it>
10701 * tabular.C (GetAdditionalHeight): one of error fixed.
10703 * lyxrc.C (output): small fix in writing use_pspell.
10705 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
10707 * sp_base.h: #include LString.h
10709 2002-01-16 Allan Rae <rae@lyx.org>
10711 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
10712 Can someone check this please?
10714 * text.C (drawInset): It was possible that p.row would be removed by
10715 breakAgainOneRow upsetting a few other settings. There may be another
10716 small tweak possible by setting need_break_row = 0 when p.row has been
10717 removed but I don't know enough about the logic here.
10719 2002-01-15 Allan Rae <rae@lyx.org>
10721 * text.C (insertChar): removed conditional truism.
10723 * BufferView2.C (removeAutoInsets): More tweaks.
10724 cur_par_prev could be a stray pointer. Check for trailing empty line
10725 in case last line was cur_par and only had an error inset on it.
10727 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10729 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10732 * vc-backend.C (most methods):
10733 * exporter.C (Export):
10734 * converter.C (convert):
10736 * LyXSendto.C (SendtoApplyCB):
10737 * lyxfunc.C (dispatch):
10741 * lyx_cb.C (AutoSave):
10743 * BufferView_pimpl.C (MenuInsertLyXFile):
10744 * buffer.C (runChktex): use Buffer::filePath().
10746 * buffer.h: rename filename to filename_; rename filepath to
10747 filepath_ and make it private
10748 (filePath): new method
10750 * buffer.C (writeFile): use fileName()
10753 * lyx_main.C (init): fix starting of LyX when the binary is a
10754 link from so,ewhere else.
10756 * minibuffer.C: include <cctype> for isprint
10758 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10760 * buffer.C (parseSingleLyXformat2Token): changes associated with the
10761 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10762 name clash with InsetCollapsable's width function.
10764 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10766 * lastfiles.C: include <iterator>
10768 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10770 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10773 * buffer.C (makeLaTeXFile): ditto.
10774 Also make loop operation more transparent.
10776 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10778 * ToolbarDefaults.C: remove trailing comma closing namespace.
10780 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10782 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10785 * trans.C (Load): comment out unused variable, allowed.
10787 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10789 * minibuffer.[Ch] (append_char): new method to recieve input from the
10790 drop-down completion browser. If a key was pressed, then recieve this
10791 char and append it to the existing string.
10792 (peek_event): modify the positioning data passed to the completion
10793 browser so that it can be placed above the minibuffer rather than below.
10794 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10796 * LyXAction.C (init): alloe error-next for readonly documents.
10798 * BufferView2.C (ChangeRefsIfUnique): use standard version of
10801 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10803 * bufferlist.C (readFile): create the buffer _after_ checking that
10806 * lyxfunc.C (verboseDispatch): fix handling of arguments
10808 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10810 * lyxrc.C: use string::erase() instead of initializing to "".
10813 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10815 * BufferView_pimpl.h:
10816 * BufferView_pimpl.C:
10819 * text2.C: tell X when we have made a selection for copying
10821 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10823 * BufferView_pimpl.C (MenuInsertLyXFile):
10824 * lyxfunc.C (menuNew):
10826 (doImport): add shortcuts to directory buttons
10828 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10831 * lyxfunc.C (setStatusMessage):
10832 (getStatusMessage): new methods
10833 (getStatus):use setStatusMessage instead of setErrorMessage
10834 (dispatch): when function is disabled, set error message here
10835 [instead of in getStatus previously]
10837 * BufferView_pimpl.C (workAreaButtonRelease): update
10838 toolbar/menubar here too.
10840 2002-01-13 Allan Rae <rae@lyx.org>
10842 * BufferView2.C (removeAutoInsets): finished off earlier fix.
10843 Now seems indestructible. Remaining task is to audit all other
10844 code affected by deleteEmptyParagraphMechanism. One small quirk
10845 left is that an empty document with an error in the preamble can
10846 be made to report an error but no error box appears. I don't know
10848 (removeAutoInsets): Improved comments.
10850 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
10853 * Thesaurus.C: update for Aiksaurus 0.14
10855 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10857 * text2.C (firstParagraph): removed member function, all uses
10858 replaces with ownerParagraph
10859 (redoParagraphs): here
10860 (updateInset): here
10861 (toggleAppendix): here
10862 * BufferView2.C (insertErrors): here
10863 (setCursorFromRow): here
10865 2002-01-13 Allan Rae <rae@lyx.org>
10867 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10868 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10869 There is still a way to segfault this although you may have to do this
10870 multiple times: Have an InsetERT with an unknown command in it.
10871 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10872 <down-arrow>, <Enter> again, View->DVI, BANG!
10874 * text2.C (setCursor):
10875 (deleteEmptyParagraphMechanism):
10876 * lyxtext.h (setCursor):
10877 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10878 Making use of the return value may help fix other bugs.
10880 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10882 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10884 * LyXView.C (updateMenubar): call MenuBar::update here
10885 (updateToolbar): but not here
10886 (showState): do not update toolbar/menubar
10888 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10889 should need to care about that.
10891 * lyxfunc.C (verboseDispatch): simplify a bit
10892 (getStatus): have a version which takes a pseudoaction, and
10893 another which requires a (kb_action,string).
10895 * LyXAction.C (retrieveActionArg): make it work also when action
10896 is not a pseudo-action.
10897 (getActionName): simplify a bit
10900 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10902 * lyxfunc.C (verboseDispatch): new families of methods with
10903 several ways to specify a command and a bool to indicate whether
10904 the command name and shortcut should be displayed in minibuffer
10905 (eventually, we could extend that to a finer bitmask like
10906 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10907 (dispatch): the pristine dispatch command which just, well,
10908 dispatchs! Note it still sets its result to minibuffer; I'm not
10911 * lyxfunc.h: remove setHintMessage
10913 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10915 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10917 * BufferView_pimpl.C (specialChar): delete new inset if we have
10918 not been able to insert it.
10920 * kbmap.C: revert to using int instead of kb_action, since all we
10921 are dealing with is pseudo-actions.
10923 * LyXAction.C (searchActionArg): change to return int instead of
10924 kb_action, since the result is a pseudoaction.
10926 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
10928 * buffer.C (insertErtContents): Fix (partially) the font bug.
10930 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10932 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10933 as the other one is broken on my machine!
10935 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
10938 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10940 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
10942 * lyxrc.[Ch]: change names and descriptions of popup font variables to
10943 reflect their actual use. Provide compatibility code for older lyxrc
10946 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10948 change names of popup font variables in line with the changes to lyxrc.C
10950 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10952 * buffer.C (asciiParagraph): avoid outputing a word twice after
10955 * lyxrc.C (getDescription): document that document_path and
10956 template_path can be empty.
10958 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10960 * LaTeXFeatures.C (getMacros):
10961 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10963 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10965 * LaTeXFeatures.C (useFloat): require "float" here instead of in
10967 (getPackages): rename feature "floats" to "float". Use an array to
10968 iterate over 'simple' features (i.e. just a \usepackage). Add
10969 handling of "amsmath" (renamed from "amsstyle").
10971 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
10973 * LaTeXFeatures.C (require): Prevent duplicate entries in the
10976 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
10978 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10979 FuncStaus::FuncStatus & FuncStaus::some_method().
10981 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
10983 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10984 of the func_satus stuff. Edited and massaged in various ways by
10987 * lyxfunc.C (getStatus): use FuncStatus
10989 2002-01-08 Juergen Vigna <jug@sad.it>
10991 * text.C (nextBreakPoint): use function Inset::isChar().
10993 * paragraph.C (TeXOnePar): use function
10994 Inset::forceDefaultParagraphs.
10996 * buffer.C (latexParagraphs): use function
10997 Inset::forceDefaultParagraphs.
10999 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11001 * lyx_gui.C (init): set the style of the menu popups to
11002 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11004 2002-01-07 Juergen Vigna <jug@sad.it>
11006 * text.C (setHeightOfRow): small fix
11007 (prepareToPrint): don't look at alignment if we don't have the place
11010 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11012 * box.C: New file. Move the Box methods and functions out of box.h,
11013 following Lars' suggestion.
11015 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11017 * box.h: #include "support/LOstream.h", needed for inlined function.
11020 * lyxtextclasslist.C: added some using std declarations.
11022 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
11024 * box.h: make signed dimensions to allow insets wider than
11025 the screen (bug #162)
11027 * BufferView_pimpl.C: add some insetHit debug
11029 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
11031 * vc-backend.C: add FIXME
11033 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11035 * lyxfunc.C (getStatus): enable code for showing math font status
11038 2002-01-07 Juergen Vigna <jug@sad.it>
11040 * text.C (nextBreakPoint): removed debug output not needed anymore.
11042 2002-01-06 Juergen Vigna <jug@sad.it>
11044 * text.C (nextBreakPoint): fixed up this function we had this bug
11045 since ever but now hopefully we break row better.
11046 (insertChar): we have to check if an inset is the next char as it
11047 could now happen that a large inset is causing a break.
11049 2002-01-05 Juergen Vigna <jug@sad.it>
11051 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11052 if it doesn't like to be drawed.
11054 2002-01-04 Juergen Vigna <jug@sad.it>
11056 * BufferView2.C (lockInset): forgot to set a cursor.
11058 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11060 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
11062 * FormMathsPanel.C:
11065 * form_maths_panel.C:
11066 * form_maths_panel.h:
11067 * form_maths_panel.fd: implemented sub- and super- buttons in math
11070 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11071 (or ^ space) to be used as in TeX (req'd by André).
11073 * lyxfunc.C: Allow ^ and _ again to be used both as
11074 super/subscript (mathed) and as themselves (in text).
11076 2002-01-03 Allan Rae <rae@lyx.org>
11078 * LyXView.C (updateWindowTitle): Setup a short icon title of either
11079 "LyX" or the filename of the current buffer if it has one. This is a
11080 modified form of John Levon's patch.
11082 * XFormsView.C (setWindowTitle): also set icon title.
11084 * LyXView.h (setWindowTitle): signature changed.
11085 * XFormsView.h (setWindowTitle): ditto.
11087 2002-01-02 Juergen Vigna <jug@sad.it>
11089 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11091 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11093 * screen.C (topCursorVisible): introduce a temp var for
11094 text->cursor.row(), handle the case where this row is null. (kindo
11097 * text2.C (setCursor): add a couple of asserts.
11099 * paragraph.h (inset_iterator): add -> operator
11101 * paragraph.[Ch] (autoDeleteInsets): remove member function
11103 * BufferView2.C (removeAutoInsets): rewrite to handle the old
11104 cursor pos correctly and handle inset deletion by itself.
11105 (insertErrors): move iterator declaration out of for expression
11107 * lyxtextclass.C: add <algorithm>
11109 * Makefile.am: added the new files to sources, removed layout.C
11111 * layout.C: removed file
11113 * layout.h: remove LYX_DUMMY_LAYOUT
11115 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11119 * lyxtextclass.[Ch]:
11120 * lyxtextclasslist.[Ch]: new files
11122 * include order changes to a lot of files, also changes because of
11125 2001-12-27 Juergen Vigna <jug@sad.it>
11127 * buffer.C (asciiParagraph): more fixes.
11129 * tabular.C (ascii): make ascii export support export of only the
11130 data separated by a column-delimiter.
11131 (ascii): better support for ascii export.
11133 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11135 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11137 * tabular_funcs.C: use a "using std::getline" instead of the
11138 previous fix from Angus (necessary for cxx + lyxstring)
11140 2001-12-24 Juergen Vigna <jug@sad.it>
11142 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11144 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11145 problems. First check a minipage also if we have some ert-contents
11146 (not only on par->size(), second set the right depth of the paragraph
11147 on the relink to the root-paragraph-list!
11149 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11150 which then did not anymore update the main paragraphs on undo/redo!
11152 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11154 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11155 code. Support all font-changing funcs (even those which are not in
11156 menu currently). Support for reporting font settings in
11157 mathed (disabled until Andre provides a function on mathed's side).
11159 * func_status.h (toggle): small helper function to set toggle
11162 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
11164 * tabular_funcs.C: getline -> std::getline
11166 2001-12-21 Juergen Vigna <jug@sad.it>
11168 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11169 accessed and could be 0 (I couldn't generate this but it seems
11172 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11174 * tabular_funcs.C: add LIstream.h, move write_attribute to..
11175 * tabular_funcs.h: here and include iosfwd
11177 2001-12-20 Juergen Vigna <jug@sad.it>
11179 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11180 inside inset but undo_par was.
11182 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11184 * Thesaurus.C: always include <config.h> in sources.
11188 * box.h: do not include <config.h> in header files
11190 * text.C (paintLastRow): remove unused variable
11192 * text.C (transformChar):
11194 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11196 * Painter.C (text):
11197 * font.C (width): rewrite to use uppercase() instead of
11200 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11202 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
11204 * lyxfind.C: clean up of find failure position change
11206 2001-12-20 Juergen Vigna <jug@sad.it>
11208 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11210 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11211 (TeXRow): added to LaTeX a single tabular row.
11212 (TeXLongtableHeaderFooter): added to output LT-h/f data.
11213 (Latex): simplified and finally good LT-h/f support.
11214 (various_functions): just small adaptions for LT-h/f support.
11216 * tabular_funcs.[hC]: added and moved here all not classfunctions
11219 2001-12-19 Juergen Vigna <jug@sad.it>
11221 * tabular.[Ch]: better support for longtabular options (not finished
11224 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11226 * text.C (paintLastRow): use the label font instead of the font of
11227 the last character to compute the size of *_BOX. This makes more
11228 sense and avoids a crash with empty paragraphs.
11229 Use Painter::rectangle to draw EMPTY_BOX.
11231 2001-12-19 Juergen Vigna <jug@sad.it>
11233 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11234 the paragraphs if the replaced paragraph is not the first one!
11235 Tried to delete not used paragraphs but does not work yet so for
11236 now it's inside #ifdef's and by default off!
11238 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11240 * MenuBackend.C: include "lyx_main.h" instead of declaring
11241 lastfiles (actually was declared as LastFiles* instead of a
11244 2001-12-17 Juergen Vigna <jug@sad.it>
11246 * tabular.C (AppendColumn): applied John's fix
11248 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
11252 * BufferView_pimpl.h:
11253 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11256 * box.h: new start of class for above
11258 * lyxfunc.C: ignore space-only minibuffer dispatches.
11259 Show the command name when it doesn't exist
11261 * minibuffer.C: don't add empty lines to the history
11263 * minibuffer.C: add a space on dropdown completion
11265 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
11267 * text.C: fix line above/below drawing in insets
11269 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11271 * lyxlength.C (LyXLength): Initialize private variables.
11273 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
11275 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11276 when inserting error insets.
11278 2001-12-13 Juergen Vigna <jug@sad.it>
11280 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11281 actually sometimes the before-paragraph.
11282 (setUndo): don't clear the redostack if we're not actually undoing!
11284 2001-12-06 Juergen Vigna <jug@sad.it>
11286 * undo_funcs.C (textHandleUndo): well after John's hint I got here
11287 and fixed redoing of main paragraph, so we can use it now ;)
11289 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11291 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11293 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11296 2001-12-13 André Pönitz <poenitz@gmx.net>
11299 * undo_func.C: minor cleanup
11301 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11303 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11304 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11305 font in urw-fonts package which is marked as -urw-fontspecific and
11306 does not work (incidentally, changing the encoding in the
11307 fonts.dir of this package to -adobe-fontspecific fixes the
11310 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11311 is a crash when undoing first paragraph (Juergen, please take a
11312 look). THis does not mean the undo fix is wrong, just that it
11315 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11316 the (Paragraph*) version when needed instead of duplicating the
11319 * text.C (workWidth): use Inset::parOwner to find out where the
11320 inset has been inserted. This is a huge performance gain for large
11321 documents with lots of insets. If Inset::parOwner is not set, fall
11322 back on the brute force method
11324 * paragraph_pimpl.C (insertInset):
11325 * paragraph.C (Paragraph):
11326 (cutIntoMinibuffer): set parOwner of insets when
11327 inserting/removing them
11329 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11331 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
11337 * mathed/formulabase.C:
11338 * mathed/math_cursor.[Ch]:
11339 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11342 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11344 * lyxlength.[Ch] (operator!=): new function
11346 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11348 * text.C (workWidth): use Inset::parOwner to find out where the
11349 inset has been inserted. This is a huge performance gain for large
11350 documents with lots of insets. If Inset::parOwner is not set, fall
11351 back on the brute force method
11353 * paragraph_pimpl.C (insertInset):
11354 * paragraph.C (Paragraph):
11355 (cutIntoMinibuffer): set parOwner of insets when
11356 inserting/removing them
11358 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11360 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11362 * tabular-old.C (getTokenValue):
11363 * tabular.C (getTokenValue):
11364 (write_attribute): new versions for LyXLength
11365 (everywhere): adjust the use of widths
11367 * tabular.h: change the type of widths from string to LyXLength
11369 2001-12-11 Ben Stanley <bds02@uow.edu.au>
11371 * paragraph.C: fixed missing line number count when exporting
11372 Environments to LaTeX file
11374 * buffer.C: added informational message for checking line numbers.
11376 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11378 * text2.C (deleteEmptyParagraphMechanism): if there is only one
11379 paragraph, do the 'double space' part, but not the 'empty
11382 * text.C (workWidth): small optimization
11383 (getLengthMarkerHeight): use minimal size for negative lengths.
11385 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
11387 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11389 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11391 2001-12-11 André Pönitz <poenitz@gmx.net>
11394 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11396 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11398 * text2.C: keep selection on a setFont()
11400 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11402 * lyx_cb.C: another bv->text misuse, from insert label
11404 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11407 * kbsequence.C: re-instate nmodifier mask
11409 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
11411 * lyx_main.h: make lyxGUI private.
11413 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11415 * lyxfind.C: place the cursor correctly on failed search
11417 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11419 * text.C (getLengthMarkerHeight): for small heights, the arrows
11420 are not always on top/bottom of the text
11421 (drawLengthMarker): smaller arrows; take the left margin in
11422 account; draw also vfills.
11424 (paintLastRow): remove special code for vfill and standard spaces,
11425 since everything is handled in drawLengthMarker now.
11427 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11429 * buffer.C (insertErtContents): try to handle font and language
11430 interaction a bit better.g
11432 * ColorHandler.C (updateColor): change the hash to cover the whole
11433 LColor enum, ws cleanup
11434 (getGCLinepars): ditto
11435 (getGCLinepars): only lookup in the linecache once.
11437 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
11439 * iterators.C (operator++): Make the iterator more robust
11441 * BufferView2.C (removeAutoInsets): Use paragraph iterators
11443 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11445 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11448 * text.C: better added space drawing
11450 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11453 * BufferView2.C: fix layout combo update on inset unlock
11455 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11457 * Makefile.am: don't compile unused files
11459 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11463 * LyXAction.C: remove old LFUN_LAYOUTNO
11465 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11467 * paragraph_pimpl.h:
11468 * paragraph_pimpl.C: isTextAt() doesn't need font param
11470 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11473 * lyxlex.C: little cleanup
11475 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11477 * BufferView_pimpl.C: fix insertAscii for insets
11479 2001-12-05 Juergen Vigna <jug@sad.it>
11481 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11482 set the right font on the "multi" paragraph paste!
11484 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11490 * lyxlength.C: remove out-commented code.
11492 * BufferView_pimpl:
11506 * vc-backend.C: change "while(" to "while ("
11508 * lyxlength.[Ch]: add zero function to check if length is zero or
11510 * lyxgluelength.C: use it
11512 2001-12-05 Allan Rae <rae@lyx.org>
11514 * lyxlength.C: Attempted a fix for the abs(int) header selection.
11515 Works for 2.95.3, from what I understand of Garst's reports this should
11516 work for other g++ versions. We're screwed if the abs(int) definition
11517 changed between bugfix releases of gcc.
11519 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11521 * text.C: fix chapter label offset !
11523 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11526 * text.C: fix hfill at end of line, clean up
11528 2001-12-04 Juergen Vigna <jug@sad.it>
11530 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11531 that we force an update of the inset and it's owners if neccessary.
11533 2001-12-03 Juergen Vigna <jug@sad.it>
11535 * text.C (rowLast): simplified code
11537 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11539 * lyxfunc.C: fix show options on timeout
11541 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11543 * screen.C (topCursorVisible): scroll half a page when the cursor
11544 reached top of bottom of screen
11546 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
11548 * minibuffer.C: deactivate on loss of focus
11550 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11552 * vspace.[Ch] (operator!=): add operator.
11554 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
11556 * BufferView_pimpl.C: refuse to open an inset when
11557 there's a selection.
11559 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
11561 * BufferView_pimpl.C: allow to click on RHS of full row insets
11563 2001-11-30 Juergen Vigna <jug@sad.it>
11565 * tabular.C (LyXTabular): add a same_id to set the same id's in the
11566 insets for undo reasons.
11568 2001-11-28 André Pönitz <poenitz@gmx.net>
11570 * vspace.[Ch]: cosmetical changes
11572 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11582 * kbsequence.C: part re-write of old kb code
11585 * WorkArea.C: remove Lgb_bug_find_hack
11587 2001-11-30 José Matos <jamatos@fep.up.pt>
11589 * buffer.C (makeDocBookFile): add a comment to point a hack.
11590 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11591 Fixed a double write of labels.
11593 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11596 * LaTeX.h Fixed bug in LaTeX class where it would not
11597 re-run latex if no depfiles were changed, but the .dvi was removed.
11599 2001-11-28 André Pönitz <poenitz@gmx.net>
11601 * all the files from the change on 2001/11/26:
11602 use lyx::layout_type instead of LyXTextClass::size_type
11603 use lyx::textclass_type instead of LyXTextClassList::size_type
11605 2001-11-29 Juergen Vigna <jug@sad.it>
11607 * text.C: added support for paragraph::isFreeSpacing()
11609 * buffer.C: same as above
11611 * paragraph.h: inserted isFreeSpacing() function to enable
11612 FreeSpacing inside InsetERT.
11614 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11615 of the paragraph's in the cut/copy buffer to 0!
11617 * text2.C (removeRow): remove the assert as it can!
11619 * lyxtext.h: added helper function firstRow returning firstrow and
11620 made firstrow private again.
11622 * BufferView2.C (lockInset): don't relock if we're already locked!
11624 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11625 the only paragraph.
11626 (removeRow): added Assert::(firstrow)
11628 * debug.C: forgot to add INSETTEXT here.
11630 2001-11-28 Juergen Vigna <jug@sad.it>
11632 * sp_spell.C (initialize): changed error text to more general
11633 spellchecker command use (not only ispell!)
11635 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11637 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11639 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11641 * vspace.C: initialise lyxgluelength on failure
11643 2001-11-28 Allan Rae <rae@lyx.org>
11645 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11646 declaration & definition that looks like a function declaration.
11648 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11650 * BufferView2.C (copy):
11651 (copyEnvironment): do not clear the selection when doing a copy.
11653 * text.C (paintFirstRow): compilation fix
11655 2001-11-27 Ben Stanley <bds02@uow.edu.au>
11657 * tabular.C (Latex): correct line count when writing latex.
11659 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
11661 * paragraph_pimpl.h:
11662 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11665 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11669 * LColor.C: change vfillline->added_space
11671 * text.C: add markers and text for added space
11673 * vspace.C: fix comment
11675 2001-11-28 André Pönitz <poenitz@gmx.net>
11677 * paragraph.C: whitespace changes
11678 * all the other files from the change on 2001/11/26:
11679 change *::pos_type into lyx::pos_type
11681 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
11683 * buffer.C (parseSingleLyXformat2Token): Set the language to the
11684 language of the document when inserting error insets.
11686 2001-11-26 André Pönitz <poenitz@gmx.net>
11688 * BufferView_pimpl.[Ch]:
11696 * paragraph_pimpl.[Ch]:
11699 * text2.C: reduce header dependencies, introduce type for positions
11701 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11703 * <various>: change to use Alert.h
11705 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
11707 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11708 when encountering an unknown token.
11709 (readLyXformat2): Show an error message if there were unknown tokens.
11711 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
11714 * BufferView_pimpl.C:
11718 * text2.C: use par->isInset()
11720 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11722 * paragraph_pimpl.h:
11723 * paragraph_pimpl.C: cleanup
11725 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11727 * text2.C (removeRow):
11728 * text.C (setHeightOfRow): remove useless (and costly) call to
11731 2001-11-20 Allan Rae <rae@lyx.org>
11733 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11734 Now need Inset*::checkInsertChar() to return true for appropriate
11735 cases so that the characters in the minibuffer will actually be
11738 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11740 * text.C: change the order of the includes.
11741 (workWidth): initialize it at once.
11742 (workWidth): make maxw unsigned
11743 (setHeightOfRow): remove unused variable (inset)
11744 (selectSelectedWord): remove unused variable (inset)
11745 (paintRowText): fix drawing of hfill characters, and clean up a bit.
11747 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11749 * lyxserver.C (emergencyCleanup): do not try to close pipes if
11750 server is not running.
11752 (closeConnection): add debug info when server is disabled.
11754 * ColorHandler.C (getGCForeground): send debug message to GUI
11757 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11759 * kbmap.C (bind): modify because return conventions of
11760 kb_sequence::parse have changed.
11762 * kbsequence.C (parse): only ignore spaces and not any stupid
11763 control character. This avoids tests like s[i] <= ' ', which are
11764 guaranteed to fail with 8bit characters and signed chars.
11765 Change return code to string::npos when there have been no error
11766 (0 was a bad idea when error is at first character)
11768 2001-11-14 José Matos <jamatos@fep.up.pt>
11771 * buffer.C (simpleDocBookOnePar): removed unused argument.
11773 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11775 * text.C (selectNextWordToSpellcheck): do not test explicitely for
11776 insets which are part of a word. Paragraph::isLetter takes care of
11777 that now. Use Paragraph::isInset to identify insets.
11778 (selectSelectedWord): do not test for hyphenation break.
11780 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11781 that protected spaces are considered as spaces.
11783 * paragraph.C (isLetter): cleanup the code for ispell extras; use
11786 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
11789 * lyxserver.C: fix it. and small cleanup.
11791 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11793 * BufferView_pimpl.C: use inline helpers
11796 * LaTeXFeatures.C: fix typos
11799 * Spacing.C: move spacing_string into class
11801 * ToolbarDefaults.C: move stuff into namespace anon
11803 * layout.h: update enum
11805 * lyxfunc.C: use better debug
11807 * minibuffer.h: fix typo
11811 * WorkArea.C: add and use Debug::WORKAREA
11815 * text2.C: code re-organisation, inline helpers
11817 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
11819 * Layout.C: replaced a few cases of std::vector.size() == 0 with
11820 std::vector.empty().
11822 2001-11-09 Allan Rae <rae@lyx.org>
11824 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11825 '\n's after tables. Tabular and ERT inset work now makes this no
11828 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11831 * minibuffer.C: fix crash, improve drop-down completion
11833 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
11836 * lyxserver.C: invalidate fd's when doing endPipe()
11838 2001-11-08 José Matos <jamatos@fep.up.pt>
11840 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11841 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11844 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11846 2001-11-07 José Matos <jamatos@fep.up.pt>
11849 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11852 * buffer.C (sgmlOpenTag):
11853 * buffer.C (sgmlCloseTag): removed debug info.
11855 * buffer.h (sgmlOpenTag):
11856 * buffer.h (sgmlCloseTag): made public.
11858 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11860 * buffer.C (saveParamsAsDefaults):
11861 * lyx_cb.C (MenuLayoutSave): remove
11863 * LyXAction.C (init):
11865 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11867 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11869 * buffer.C (setPaperStuff): removed from here...
11871 * bufferparams.C (setPaperStuff): ... and moved there.
11873 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
11877 * XFormsView.C: add support for drop-down completion
11879 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
11881 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11884 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11886 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11889 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
11891 * lyx_main.C: change ref to known bugs
11893 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
11895 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11896 to work around older babel problems.
11898 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11900 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11902 2001-10-24 Juergen Vigna <jug@sad.it>
11904 * tabular-old.C (ReadOld): below variable changes reflected.
11906 * tabular.[Ch]: added ltType struct for longtable header/footer
11907 defines and changed all instances where they are used. Added
11908 future support for double top/bottom rows.
11910 2001-10-24 José Matos <jamatos@fep.up.pt>
11912 * buffer.h (docbookHandleCaption):
11913 * buffer.C (docbookHandleCaption): removed unused function.
11914 (makeDocBookFile): moved docbook supported version to v4.1.
11916 2001-10-24 José Matos <jamatos@fep.up.pt>
11919 * tabular.C (docbookRow): new function to export docbook code of a row.
11920 (DocBook): now honors the longtable flags.
11922 2001-10-23 José Matos <jamatos@fep.up.pt>
11925 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11926 of the lyx defined sgml entities used in a docbook/linuxdoc document.
11928 * buffer.C (makeLinuxDocFile):
11929 (makeDocBookFile): reworked the preamble, more clean, and with
11930 support for lyx defined entities. Changed the document declaration
11931 to be more XML friendly.
11933 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11934 if we need to output XML that should be done with a filter.
11936 2001-10-22 Juergen Vigna <jug@sad.it>
11938 * sp_pspell.h (class PSpell): add alive function needed in the
11939 controller to see if the spellchecker could be started.
11941 2001-10-22 Juergen Vigna <jug@sad.it>
11943 * buffer.C (insertStringAsLines): modify the font for inserting
11944 chars in certain conditions by calling checkInsertChar(font).
11946 2001-10-19 Juergen Vigna <jug@sad.it>
11948 * text.C (workWidth): use getRow instead of wrong algorithm.
11949 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11951 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
11956 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11958 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11960 * text.C (workWidth): do not search for the exact row when
11961 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11962 optimization for big documents.
11964 2001-10-18 Juergen Vigna <jug@sad.it>
11966 * text.C (workWidth): new function with added Inset * parameter.
11968 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11970 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11972 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11973 change return type of getColumnNearX.
11976 * text.C (changeRegionCase): use uppercase/lowercase instead of
11979 (rightMargin): simplify code by factoring out the uses of
11984 (appendParagraph): use Paragraph::size_type
11986 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11988 * vspace.C (asLatexString): add a missing break
11990 2001-10-15 Herbert Voss <voss@perce.de>
11992 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11994 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11996 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11999 2001-10-10 André Pönitz <poenitz@gmx.net>
12001 * lyxfunc.C: removed greek_kb_flag.
12003 2001-10-10 Herbert Voss <voss@perce.de>
12005 * lyx_main.C: delete global string help_lyxdir.
12007 2001-10-09 Herbert Voss <voss@perce.de>
12009 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12011 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12013 * lyx_main.C: added global string help_lyxdir.
12015 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12017 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
12019 * lyxrc.C (set_font_norm_type): support iso8859-4
12021 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
12023 * LaTeX.C (deplog): add another regex for MikTeX
12025 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
12027 * lyxrc.C (set_font_norm_type): support iso8859-3
12029 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12031 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12033 * LaTeXFeatures.C: remove special case of french and index
12035 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12036 before \begin{document}). This solves several incompatibilities.
12038 2001-10-03 Garst Reese <reese@isn.net>
12040 * lyx_cb.C: change CheckTex error msg.
12042 2001-10-03 José Matos <jamatos@fep.up.pt>
12044 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12046 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12048 * .cvsignore: update
12050 * lyx_main.C (commandLineVersionInfo): use new style version info.
12052 * buffer.C (writeFile):
12054 (makeLinuxDocFile):
12055 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12057 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12059 * version.h: update to use stuff in version.C
12061 * version.C.in: new file. Contains version information determined
12062 at compile time. This is a merging of version.h and
12065 2001-10-03 Juergen Vigna <jug@sad.it>
12067 * BufferView_pimpl.C (update): don't change "dirty" status in
12070 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
12072 * WorkArea.C (c-tor): re-position version string slightly.
12074 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
12076 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12077 revert to previous code.
12079 WorkArea.[Ch]: (show, destroySplash): methods removed.
12081 WorkArea.C: rework code so that it's an amalgam of the codes before and
12082 after the splash screen was moved to WorkArea.
12084 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12087 * vspace.C (inPixels):
12090 * buffer.C (insertStringAsLines):
12091 (asciiParagraph): fix types to be large enough
12093 * lyxlex_pimpl.h: change member status from short to int
12095 * layout.h: fix type of endlabeltype
12098 * kbsequence.C (parse): change return type to string::size_type
12100 * LaTeX.C (updateBibtexDependencies): comment out unneeded
12103 * Bullet.C (bulletSize):
12104 (bulletEntry): do not use short ints as parameters
12106 * BufferView2.C (insertLyXFile): change a char to an int.
12108 * WorkArea.C (WorkArea): remove unneeded floats in computation
12110 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
12112 * buffer.C (asciiParagraph): Treat '\\' as other chars.
12114 * paragraph.C (asString): Do not ignore newline/hfill chars when
12115 copying to the clipboard.
12117 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
12119 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12120 after a multi-line inset.
12122 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
12124 * paragraph.C (validate): Set NeedLyXFootnoteCode
12126 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12128 * lyxfont.C (LyXSizeNames): changed increase-error to increase
12129 and decrease-error to decrease.
12131 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12133 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12134 it more readable (should be equivalent)
12136 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
12138 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12140 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12142 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12143 of a cursor (row, etc.) after a character has been deleted
12144 (deleteEmptyParagraphMechanism): call the method above on _all_
12145 cursors held by the LyXText when a double space has been
12148 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12150 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12152 (resizeCurrentBuff): remove code to destroy the old splash dialog.
12154 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12155 background. Use greyOut() and the new show() methods to toggle between
12156 the foreground and background. Add code to remove the splash after
12157 its initial showing.
12159 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12160 (create_forms): no longer call Dialogs::showSplash.
12162 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12164 * .cvsignore: add version_info.h
12166 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12168 * version_info.h.in: new file
12170 * Makefile.am: add version_info.h.in
12172 * lyx_main.C (commandLineVersionInfo): use version_info defined in
12173 version_info.h instead of VERSION_INFO
12175 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
12177 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12178 The ERT inset now returns string().
12180 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
12182 * lyxtext.h, text.C (selectNextWord): renamed as
12183 selectNextWordToSpellcheck.
12185 * text.C (selectNextWordToSpellcheck): Modified to not select
12186 words inside an ERT inset.
12188 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12190 * lyx_cb.C (MenuLayoutSave): change a bit the question
12192 * sp_base.h: include <sys/types.h>
12194 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
12196 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12198 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
12200 * several files: fix typos in user-visible strings
12202 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12204 * text2.C (pasteSelection): do not set the selection, since it
12205 will be cleared later. Actually, the intent was to fix the way the
12206 selection was set, but I figured rmoving the code was just as good.
12208 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
12210 * FontLoader.C (available): Check if font is available without
12213 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
12215 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12217 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
12219 * lyxrc.[Ch]: added display_graphics variable and associated code.
12221 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12223 * bufferparams.C (hasClassDefaults): new method. Returns true if
12224 the buffer parameters correspond to known class defaults
12226 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
12228 * XFormsView.C (show): set minimum size to the main window.
12230 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12232 * text2.C (copySelection):
12234 * lyxfind.C (LyXReplace):
12235 * BufferView_pimpl.C (Dispatch): pass the correct flag to
12236 LyXText::selectionAsString.
12238 * paragraph.C (asString): add "label" argument to the second form
12240 * text2.C (selectionAsString): add "label" argument and pass it to
12241 Paragraph::asString.
12243 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12245 * lyx_main.C (commandLineHelp): remove version information
12247 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
12249 * lyx_main.C: add -version commandline option
12251 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12253 * paragraph.h: make the optional constructor arg required instead.
12254 some modifications to other files because of this.
12256 * minibuffer.C (C_MiniBuffer_peek_event): make it static
12258 * lyxserver.C (C_LyXComm_callback): make it static
12260 * lyx_main.C (error_handler): make it static
12262 * lyx_gui.C (LyX_XErrHandler): make it static
12264 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12266 * WorkArea.C: make the extern "C" methods static.
12268 * Makefile.am (lyx_LDADD): simplify
12270 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12272 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12273 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12275 * LyXAction.C (init):
12276 * lyxfunc.C (dispatch): associated code removal.
12278 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12280 * lyxfont.h (isSymbolFont): shut off warning
12282 * text.C (setHeightOfRow):
12283 (getVisibleRow): fix crash with empty paragraphs which have a
12286 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
12288 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12291 2001-09-04 José Matos <jamatos@fep.up.pt>
12294 * tabular.C (docbook): rename docBook method to docbook.
12296 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12298 * Makefile.am: add dependencies to main.o.
12300 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
12302 * FontLoader.C (available): Return false if !lyxrc.use_gui
12304 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
12306 * FontInfo.C (query):
12307 * converter.C (view):
12308 * importer.C (Import):
12309 * exporter.C (Export): Can not -> cannot.
12311 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
12313 * BufferView_pimpl.C: allow to create index inset even if
12316 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12318 * buffer.C (getLists): replace boost::tie code with an explicit pair
12319 as boost::tie can break some compilers.
12321 * iterators.h: Added a std:: declaration to the return type of
12324 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
12326 * lyxrc.C: add help for view_dvi_paper_option, default to safe
12329 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
12331 * iterators.[Ch]: New files. Provide paragraph iterators.
12333 * buffer.C (changeLanguage): Use paragraph iterators.
12334 (isMultiLingual): ditto
12336 * BufferView2.C (ChangeInsets): Use paragraph iterators.
12338 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
12340 * FontLoader.C: Support for cmr font.
12342 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
12344 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12345 (available): New method.
12347 * FontInfo.C (getFontname): Use scalable fonts even when
12348 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12351 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12353 * converter.C (Formats::view): reverted! Incorrect fix.
12355 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12357 * converter.C (Formats::view): only output the -paper option
12358 if the dvi viewer is xdvi, thereby fixing bug #233429.
12360 2001-08-23 Herbert Voss <voss@perce>
12362 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12364 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
12366 * Spacing.h (Spacing): Set space to Default on in the default
12369 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
12371 * vc-backend.h (RCS::versionString): add RCS to version
12372 (CVS::versionString): add CVS to version
12374 * vc-backend.C (scanMaster): do not add CVS to version.
12375 (scanMaster): do not add RCS to version
12377 * lyxvc.C (versionString): new method
12379 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12381 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12383 * Spacing.C (set): initialize fval
12385 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
12387 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12390 2001-08-16 Juergen Vigna <jug@sad.it>
12392 * lyxfunc.C (dispatch): implemented the new FINISHED states.
12394 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12396 * BufferView_pimpl.C:
12399 * text2.C: setParagraph takes linespacing now
12401 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
12403 * LyxAction.C: add internal LFUN_CITATION_INSERT
12405 * LyXView.C: actually apply fix
12407 * bufferlist.C: fix open non-existent file
12409 * lyxfind.C: fix indentation
12411 * lyxfunc.C: remove unneeded assert, fix typo
12413 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12415 * MenuBackend.C: use "Floatname List"
12417 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
12419 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12420 when converting LaTeX layout to insetERT.
12421 Generate a non-collapsed float when reading old float
12423 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12425 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12428 2001-08-13 Juergen Vigna <jug@sad.it>
12430 * text.C (fill): return 0 instead of 20 as this seems to be the more
12433 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12435 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12438 2001-08-13 Juergen Vigna <jug@sad.it>
12440 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12442 (SearchBackward): comment out the unlocking of the inset_owner this
12443 should not be needed!
12445 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
12447 * Many files: Remove inherit_language, and add latex_language
12449 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12450 collapsible insets.
12452 2001-08-10 Juergen Vigna <jug@sad.it>
12454 * text.C (prepareToPrint): fixed hfill-width in draw!
12456 * BufferView2.C (selectLastWord): save the selection cursor as this
12457 now is cleared in the function LyXText::clearSelection!
12459 2001-08-08 Juergen Vigna <jug@sad.it>
12461 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12462 BACKSPACE type functions.
12464 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12465 is only cutted from the document but not put in the cut-buffer, where
12466 still the old stuff should be.
12468 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12470 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12472 * tabular.C (SetWidthOfCell): fixed special case where the width
12474 (LeftLine): handle '|' in align_special.
12476 (LeftAlreadyDrawed): ditto
12477 (SetWidthOfCell): ditto
12479 2001-08-07 Juergen Vigna <jug@sad.it>
12481 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12483 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12485 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12486 * lyxlex.[hC]: ditto
12488 2001-08-06 Juergen Vigna <jug@sad.it>
12490 * text.C (getVisibleRow): fix up row clearing a bit.
12492 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12494 * minibuffer.C: make sure the X server sees the changes in the input.
12496 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12498 * paragraph.C (getFont): split into...
12499 (getLabelFont): this
12500 (getLayoutFont): and this
12501 * paragraph_pimpl.C (realizeFont): calling this
12503 * text2.C (getFont): split into...
12504 (getLayoutFont): this
12505 (getLabelFont): and this
12506 (realizeFont): all three calling this
12508 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12511 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12513 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12515 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
12517 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12518 layouts from the Quote inset insertion.
12520 2001-08-03 Juergen Vigna <jug@sad.it>
12522 * BufferView_pimpl.C (update): do the fitCursor only at the end!
12524 * screen.C (drawFromTo): don't call fitcursor here and do the loop
12525 only if status not is already CHANGED_IN_DRAW (second level).
12527 * text.C (draw): don't set the need_break_row when inside an
12530 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12532 * buffer.C (parseSingleLyXformat2Token): handle more latex
12535 * bufferview_funcs.[hC]: change function names to
12536 begin with small char, adjust other files.
12538 2001-08-02 André Pönitz <poenitz@gmx.net>
12541 BufferView_pimpl.C: remove broken special code for math-greek
12543 2001-08-02 Juergen Vigna <jug@sad.it>
12545 * BufferView_pimpl.C (update): redone this function so that we
12546 update the text again if there was a CHANGE_IN_DRAW.
12548 * screen.C (cursorToggle): removed LyXText parameter and recoded.
12549 (drawFromTo): added a new internal bool which is used by draw() and
12551 (general): some cursor drawing problems fixed.
12553 2001-08-01 Juergen Vigna <jug@sad.it>
12555 * lyxfind.C (LyXFind): fixed
12556 (SearchForward): ditto
12557 (SearchBackward): ditto
12559 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12560 spurius drawing of the cursor in the main area.
12562 * text2.C (status): small fix which could lead to a segfault!
12563 (clearSelection): remove unneeded BufferView param.
12565 2001-08-01 André Pönitz <poenitz@gmx.net>
12567 * lyxfunc.C: small change due to changed mathed interface
12569 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12571 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12573 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
12575 * lyxfunc.c: fail gracefully if file doesn't exist
12580 * BufferView_pimpl.C: IsDirWriteable() proto changed
12582 * LyXView.C: fix updateWindowTitle() to store the last title
12584 2001-07-31 Juergen Vigna <jug@sad.it>
12586 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12587 the font (wrong since using of Paragraph::highestFontInRange).
12589 * paragraph.C (highestFontInRange): added a default_size parameter.
12591 * text.C (getVisibleRow): minor clear row changes (still not perfect).
12592 (setHeightOfRow): reformat
12594 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12596 * converter.[hC] + affected files: move to (inital-char)lowercase
12599 * ParagraphParameters.C (ParagraphParameters): remove commented code
12601 * PainterBase.[Ch]: remove commented code
12603 * LaTeXFeatures.h: add "bool floats" for float.sty
12605 * LaTeXFeatures.C (LaTeXFeatures): init floats
12606 (require): handle float
12607 (getPackages): do it with floats
12609 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12611 * BufferView_pimpl.C (Dispatch): improve handling of
12612 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12614 * commandtags.h: #include lyxfont.h here temporarily to avoid
12617 * bufferlist.h: include LString.h here.
12619 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12621 * text2.C (getStringToIndex): new method.
12623 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
12625 * *: Reduced header file dependencies all over.
12627 2001-07-30 Baruch Even <baruch@lyx.org>
12629 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12631 2001-07-29 Baruch Even <baruch@lyx.org>
12633 * buffer.C (readInset): Changed GRAPHICS to Graphics.
12635 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12637 * ParameterStruct.h (endif): add a default constructor to make
12638 sure that all variables is initialized.
12640 * ParagraphParameters.C (ParagraphParameters): adjust
12642 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12644 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12645 index; also, check that there is something to index, and that it
12646 does not span over several paragraphs.
12647 (doubleClick): use WHOLE_WORD_STRICT for double click.
12649 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12651 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12654 2001-07-26 Baruch Even <baruch@lyx.org>
12656 * buffer.C (readInset): Changed to call up InsetGraphics when reading
12657 an InsetFig figure, backwards compatible reading of old figure code.
12659 2001-07-27 Juergen Vigna <jug@sad.it>
12661 * text2.C: font.realize function adaption.
12663 * text.C (draw): add a warnings lyxerr text if needed.
12665 * layout.C: font.realize function adaption.
12667 * language.C: add inherit_language and implement it's handlings
12669 * bufferview_funcs.C (StyleReset): remove language parameter from
12670 font creation (should be language_inherit now).
12672 * bufferparams.C (writeFile): handle ignore_language.
12674 * paragraph.C (getFontSettings): the language has to be resolved
12675 otherwise we have problems in LyXFont!
12677 * lyxfont.C (lyxWriteChanges): added document_language parameter
12678 (update): removed unneeded language parameter
12680 * paragraph.C (validate): fixed wrong output of color-package when
12681 using interface colors for certain fonts in certain environments,
12682 which should not seen as that on the final output.
12684 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
12686 * BufferView_pimpl.C:
12691 * LyXAction.C: add thesaurus support
12694 * lyxfind.C: add "once" parameter, for thesaurus, to not
12695 move to the next match
12697 2001-07-26 Juergen Vigna <jug@sad.it>
12699 * lyxfont.C (realize): honor ignore_language too!
12702 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12704 * text.C (draw): one place more for ignore_language to not draw
12707 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
12709 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12711 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12713 * buffer.C (parseSingleLyXformat2Token): a more general fix for
12714 the minipage conversion problem.
12716 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12718 * buffer.C (parseSingleLyXformat2Token): check minipage if we
12721 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12723 * BufferView.h: don't forward declare WorkArea
12725 * BufferView.C: don't include WorkArea.h
12727 2001-07-25 André Pönitz <poenitz@gmx.net>
12731 * lyxfunc.C: new LFUN 'math-space'
12733 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12735 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12737 * text2.C (toggleInset): call open/close
12739 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12741 * lyxfunc.C (dispatch): add debug for the disabled case
12743 * font.C (buttonText): make similar to rectText
12745 * buffer.C (readInset): comment out parsing of insetlist and
12748 * PainterBase.C (rectText): small correction
12750 * BufferView_pimpl.C: comment out insettheorem and insetlist
12751 * LyXAction.C: ditto
12752 * commandtags.h: ditto
12754 2001-07-24 Juergen Vigna <jug@sad.it>
12756 * text.C (draw): honor the ignore_language.
12758 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12760 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12762 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12765 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12767 * lyxtext.h: remove unused (and unimplemented) methods
12769 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12771 * text.C (getVisibleRow): honor background color
12774 * Painter.h: remove default color argument for fillRectangle
12776 * text.C (backgroundColor): new method
12778 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12780 * text.C (getVisibleRow): adjust
12782 * font.[Ch] (rectText): new method, metrics
12783 (buttonText): new method, metrics
12785 * PainterBase.[hC]: make rectText and buttonText always draw and take
12788 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12790 * ToolbarDefaults.C (read):
12791 * MenuBackend.C (read): allow escaping in all strings
12793 * BufferView_pimpl.C (insertAndEditInset): new method.
12794 (Dispatch): use insertAndEditInset whenever appropriate.
12796 * BufferView_pimpl.C (insertNote): removed
12798 * BufferView_pimpl.C (smartQuote): new method, moved from
12799 BufferView; if an insetquote cannot be inserted, insert a '"'
12802 * BufferView2.C: remove insertCorrectQuote();
12804 * lyxfunc.C (getStatus): Add support for all remaingin
12805 inset-insert lfuns.
12807 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12809 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12810 command (necessary to pass " as parameter of self-insert.
12812 * text.C (selectWordWhenUnderCursor):
12813 (selectWord): add word_location parameter
12814 (selectWordWhenUnderCursor): same + remove special code for word
12816 (selectNextWord): use kind() to guess type of insetspecialchar,
12819 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12820 (insertErtContents): create ert insets as collapsed.
12821 (readInset): better compatibility code for Info inset.
12823 2001-07-20 Juergen Vigna <jug@sad.it>
12825 * lyxfunc.C (dispatch): use always LyXFind now!
12827 * text2.C (init): add a reinit flag so that the LyXText can be
12828 reinited instead of deleted and reallocated (used in InsetText).
12830 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12836 2001-07-18 Juergen Vigna <jug@sad.it>
12838 * text.C (selectNextWord): handle insets inside inset by calling
12839 always the bv->text functions so that we can go up the_locking_inset!
12841 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12842 in strange locations when inside an inset!
12844 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12845 handling to include insets.
12847 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12849 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12851 * LyXAction.C (init):
12853 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12854 LIGATURE_BREAK, since the name is so stupid.
12856 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12858 * buffer.C (readInset): enable reading of new InsetNotes as well as old
12861 * FontLoader.C: remove FORMS_H_LOCATION cruft.
12863 * sp_form.[Ch]: remove.
12865 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12867 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12870 * src/buffer.C (readInset): ditto.
12872 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12874 * BufferView_pimpl.C (specialChar): new method. Obsoletes
12875 menuSeparator(), endOfSentenceDot(), ldots() and
12876 hyphenationPoint(), which are therefore removed.
12877 (Dispatch): handle LFUN_HYPHENATION_BREAK.
12879 * LyXAction.C (init):
12880 * commandtags.h: add LFUN_HYPHENATION_BREAK.
12882 * paragraph.C (getWord): removed.
12884 * BufferView_pimpl.C (Dispatch): use last word or selection for
12885 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12887 * lyx_main.C (queryUserLyXDir): do not ask before creating
12888 user_dir, except if it has been named explicitely.
12890 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12892 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12893 a document of zero size.
12895 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
12897 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12898 approriately in the c-tor and in require().
12899 (getPackages): output the appropriate LaTeX for natbib support.
12901 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12902 variables "use_natbib" and "use_numerical_citations" when reading the
12904 (readInset): read the various natbib cite commands.
12905 (validate): white-space change.
12907 * bufferparams.[Ch]: new variables "bool use_natbib" and
12908 "bool use_numerical_citations".
12909 (writeFile): output them in the LyX file.
12911 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12913 * lyxfunc.C (getStatus): add support for all the inset insertion
12916 * text2.C (insertInset):
12917 * paragraph.C (insetAllowed):
12918 * BufferView_pimpl.C (insertInset): update to take in account the
12919 renaming of insertInsetAllowed
12921 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12923 * text2.C (getInset): new method. returns inset at cursor position.
12925 * BufferView_pimpl.C (Dispatch): changes because of this.
12927 * LyXAction.C (init): rename open-stuff to inset-toggle.
12929 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12931 * text2.C (toggleInset): renamed from openStuff; use
12934 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
12936 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12938 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12940 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
12942 * buffer.C (readLyXformat2): Add filename to the error dialog
12944 2001-07-18 Juergen Vigna <jug@sad.it>
12946 * tabular.C (GetCellNumber): put an assert here instead of the check!
12948 2001-07-17 Juergen Vigna <jug@sad.it>
12950 * BufferView_pimpl.C (toggleSelection): adapted too.
12952 * text.C (selectNextWord): adapted for use with insets.
12953 (selectSelectedWord): ditto
12955 2001-07-17 Juergen Vigna <jug@sad.it>
12957 * sp_spell.C (PSpell): fix initialitation order.
12959 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12961 * paragraph.C: spacing
12963 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
12965 * sp_spell.C: repair language selection for pspell
12967 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12969 * lyxfunc.h: change more methods to begin with lower char.
12971 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
12973 * buffer.C (parseSingleLyXformat2Token): Generate error insets
12974 for unknown layouts.
12976 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
12978 * buffer.C (readLyXformat2): Generate an error dialog if there are
12981 2001-07-16 Juergen Vigna <jug@sad.it>
12983 * sp_spell.C: always compile ISpell part.
12985 * lyxrc.C: added use_pspell entry and it's handling.
12987 2001-07-13 Juergen Vigna <jug@sad.it>
12989 * sp_spell.C: removed double includes.
12991 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
12993 Consistent use of Lsstream.h:
12994 * Lsstream.h: added using std::stringstream for consistencies sake.
12996 * buffer.C: removed using std::stringstream
12998 * lyxfont.C (stateText):
12999 * paragraph.C (asString):
13000 * text.C (selectNextWord, selectSelectedWord):
13001 * text2.C (setCounter):
13002 * vspace.C (asString, asLatexString):
13003 std::ostringstream -> ostringstream.
13005 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13007 * LyXAction.C: add LFUN_HELP_ABOUTLYX
13008 * commandtags.h: add LFUN_HELP_ABOUTLYX
13009 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13011 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13013 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13015 * lyx_gui_misc.C: remove spellchecker
13016 * lyxfunc.C: showSpellchecker
13018 * sp_ispell.h: added
13019 * sp_pspell.h: added
13020 * sp_spell.C: added
13021 * sp_form.[Ch]: removed
13022 * spellchecker.[Ch]: removed
13024 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
13026 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13028 (simpleTeXSpecialChars): Simply print the input character without
13029 any special translation if pass_thru is set.
13031 * layout.h: Added bool pass_thru to layout class for being able to
13032 implement pass through of a paragraph for Literate Programming.
13034 * layout.C: add LT_PASS_THRU to LayoutTags enum.
13035 * layout.C (LyXLayout): set pass_thru to flase in constructor.
13036 * layout.C (Read): add "passthru" to list of layout tags and add
13037 code to set the pass_thru boolean when it is read.
13039 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13041 * trans_decl.h: remove allowed from KmodInfo
13043 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13044 remove allowed code
13047 * paragraph_pimpl.C (erase): use boost::prior
13049 * Painter.C (text): use data() instead of c_str() when length is
13051 * WorkArea.C (putClipboard): ditto
13052 * font.h (width): ditto
13054 * BufferView2.C: use it-> instead of (*it). for iterators
13056 * paragraph_pimpl.C: ditto
13057 * paragraph.C: ditto
13058 * minibuffer.C: ditto
13059 * language.C: ditto
13061 * encoding.C: ditto
13062 * counters.C: ditto
13063 * converter.C: ditto
13065 * Variables.C: ditto
13066 * TextCache.C: ditto
13067 * MenuBackend.C: ditto
13068 * LyXAction.C: ditto
13070 * FloatList.C: ditto
13071 * DepTable.C: ditto
13072 * ColorHandler.C (LyXColorHandler): ditto
13074 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13076 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13078 * text2.C (openStuff): reintroduce this method (which had been
13079 nuked in NEW_INSETS frenzy).
13081 * lyxfunc.C (Dispatch): when an action has not been handled, use
13082 its name in the error message, not its number.
13084 * paragraph.C (inInset): change method name to begin with lowercase.
13087 * text2.C: updates because of this.
13089 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13091 * ToolbarDefaults.C (add): add spaces in error message
13093 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13095 * buffer.C (readLyXformat2): initialize the ert comp. variables.
13096 (readLyXformat2): rename return_par to first_par, use lyxlex's
13097 pushToken and remove the manual push handling.
13098 (parseSingleLyXformat2Token): add another ert comp. variable:
13099 in_tabular, rename return_par to first_par. handle newlines better
13101 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13103 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13105 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13107 * text2.C (getParFromID): removed
13109 * buffer.C (getParFromID): new method moved form lyxtext.
13110 * BufferView2.C (insertErrors): adjust
13111 (setCursorFromRow): adjust
13112 * BufferView_pimpl.C (restorePosition): adjust
13113 * lyxfunc.C (Dispatch): adjust
13114 * undo_funcs.C (textUndo): adjust
13116 (textHandleUndo): adjust
13117 (textHandleUndo): adjust
13119 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13121 * buffer.C: up' the LYX_FORMAT
13123 * lyxfont.h: turn NO_LATEX on as default
13125 * buffer.C (insertErtContents): new methods of tex style compability.
13126 (parseSingleLyXformat2Token): use it several places.
13127 * tabular.C (OldFormatRead): and here
13129 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13131 * text2.C: remove some commented code.
13134 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13135 * trans.C: changes because of the above.
13137 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
13139 * text2.C (setCounter): Fix counters bug with bibliography layout.
13141 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13143 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13144 own member functions
13145 (simpleTeXSpecialChars): ditto
13147 2001-07-06 Juergen Vigna <jug@sad.it>
13149 * a lot of files: changed the access to LyXText::status and the
13150 call of undo-functions.
13152 * undo.[Ch]: added a inset_id to the undo informations.
13154 * undo_funcs.[Ch]: added and moved here all undo functions.
13156 * lyxtext.h: give the status enum a weight, made status_ a private
13157 variable and made accessor functions for it, removed the whole bunch
13158 of undo-functions as they are now in their own file, make some
13159 functions publically available. Added function ownerParagraph with
13162 * paragraph.[Ch]: added "bool same_ids" to the constructor,
13163 made InInset() a const function, added getParFromID() function.
13165 * buffer.[Ch]: added const version for inset_iterator functions,
13166 added getInsetFromID() function.
13168 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13169 changed undo functions for new version.
13171 2001-07-05 Juergen Vigna <jug@sad.it>
13173 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13174 unknow mechanism does not call the proper constructor but only this
13175 one also if I request the other!?
13177 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13179 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13181 * text2.C (LyXText): use initialization lists.
13183 * lyxtext.h (Selection): initialize set_ and mark_
13184 (init): remove method
13186 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
13188 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13190 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13192 * screen.[Ch]: change method names to begin with lowercase
13194 * BufferView_pimpl.C (updateScrollbar): simplify further and
13195 hopefully make it a bit faster.
13197 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13199 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13200 calling directly xforms functions.
13202 * Painter.C (Painter):
13203 * lyx_cb.C (MenuWrite):
13204 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13207 * lyx_gui.C: remove bogus guiruntime extern declaration.
13209 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13211 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13213 (redoDrawingOfParagraph): ditto
13214 (redoParagraphs): ditto
13215 (cutSelection): don't create a object for CutAndPaste use the
13216 static method directly
13217 (pasteSelection): ditto
13219 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13222 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13224 * modifications to some other files because of this.
13226 * Makefile.am (lyx_SOURCES): add XFormsView
13228 * XFormsView.[Ch]: new files
13230 * LyXView.[Ch]: make LyXView a base class for the gui handling for
13231 the main window. Move the gui dependent stuff to XFormsView
13233 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13235 * tabular.C (GetCellInset): update cur_cell also in the row/col
13236 version of this function.
13238 * lyxfunc.C: no need to include figure_form.h here.
13244 * lyxvc.C: no need to include forms.h here.
13246 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13248 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13250 * lyxfunc.C (Dispatch):
13252 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13253 constructor argument.
13255 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13257 * paragraph.C (Paragraph): dont't clear, and just set layout.
13258 (makeSameLayout): use params's copy contructor.
13260 * ParagraphParameters.[Ch] (makeSame): delete method
13262 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
13264 * Variables.[Ch]: fix indentation, rename set to isSet
13266 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13268 * lyxfunc.C (Dispatch): fix typo
13270 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13272 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13275 * bufferlist.C: include assert.h for emergencyWrite().
13277 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13279 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13280 give up at last (bug #425202) !
13282 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
13288 * spellchecker.C: strip spellchecker options and bring up
13289 preferences tab instead
13291 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13293 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13294 the istringstream constructor
13296 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13298 * paragraph.C (getLayout): fix return value
13300 * paragraph.h: do not declare getLayout as inline.
13302 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13304 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13306 * lyxcursor.h (operator<): new func
13307 (operator>): new func
13308 (operator>=): new func
13309 (operator<=): new func
13311 * text.C (changeCase): use selection.start and selection.end
13312 (changeRegionCase): require from to be <= to. Require par to be a
13315 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13317 2001-06-27 Juergen Vigna <jug@sad.it>
13319 * text.C (cursorLeftOneWord): changed to return the cursor and added
13320 overlay with BufferView * parameter which calls this one.
13322 (selectWord): use new getWord function.
13323 (changeCase): renamed from changeWordCase as and extended to work
13324 also on selections.
13326 * lyxtext.h: added enum word_location
13328 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13329 changeCase as this operates now also on selections.
13331 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
13333 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13335 * many files: send debug output to Debug::INFO instead of
13338 * converter.C (View):
13340 (Move): send debug output to Debug::FILES instead of console.
13342 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
13344 * lyxfunc.C (getStatus): use func_status
13346 * func_status.h: new header, describing the results of
13347 LyXFunc::getStatus;
13349 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13352 2001-06-25 The LyX Project <jug@sad.it>
13354 * buffer.C (sgmlOpenTag):
13356 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
13358 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13360 * text2.C: remove some dead code
13362 * tabular.C (GetCellInset): store the last cell checked (gotten)
13364 * tabular.h: add the helper for the speedup
13366 * lyxtext.h: remove some dead code
13368 2001-06-26 The LyX Project <Asger>
13370 * paragraph.C: Change export to LaTeX of alignment to
13371 \begin{center} and family for better roundtrip work with reLyX.
13373 * Tune the math drawing a bit.
13375 2001-06-25 The LyX Project <Asger>
13377 * LColor.C (LColor): New color for math background. New color
13380 2001-06-25 The LyX Project <jug@sad.it>
13382 * lyxfunc.C (MenuNew): remove extra check for .lyx file
13384 * lyxfunc.C (Open):
13385 * bufferlist.C (newFile): do not restrict to files ending with
13388 * BufferView_pimpl.C (MenuInsertLyXFile):
13390 2001-06-24 The LyX Project <jug@sad.it>
13392 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13395 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13397 * lyxtext.h: rename most methods to begin with a small char.
13398 Lots of changes because of this.
13400 * paragraph.C (Paragraph): do not call fitToSize
13401 (erase): call Pimpl::erase
13402 (insertChar): call Pimpl::insertChar
13403 (insertInset): call Pipl::insertInset
13404 (breakParagraph): do not call fitToSize
13405 (breakParagraphConservative): do not call fitToSize
13406 (fitToSize): remove method
13408 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13410 2001-06-24 The LyX Project <Asger>
13412 * Fix Qt compilation^2
13414 2001-06-24 The LyX Project <jug@sad.it>
13416 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13417 depthHook(getDepth()-1).
13420 * ParagraphParameters.h:
13421 * ParameterStruct.h: change type of depth to unsigned int ==
13422 depth_type. Many adaptations to other files before of that.
13424 2001-06-24 The LyX Project <Asger>
13426 * Fix Qt compilation.
13428 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13430 * paragraph.h: renamed several methods to begin with small letter.
13431 several changes to many parts of the code because of this.
13433 2001-06-23 The LyX Project <jug@sad.it>
13435 * text2.C (InsertStringAsLines): renamed from InsertStringA;
13436 rewritten to discard all double spaces when KeepEmpty is off
13437 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13438 to only handle newlines but not fiddle with spaces and friends.
13440 * lyxfunc.C (MenuNew): when doing 'new from template', use
13441 template_path as default directory
13443 2001-06-23 The LyX Project <Asger>
13445 * Clean-up of header file includes all over
13446 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13448 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13450 * paragraph.h: renamed from lyxparagraph.h
13452 2001-06-23 Asger <lyx@violet.home.sad.it>
13454 * Buffer.h: Removed Buffer::resize
13455 * BufferList.h: Removed BufferList::resize
13456 * LyXView.h: Added LyXView::resize. This way, we will only reflow
13457 the document lazily when we change the width, or the font settings.
13459 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13461 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13463 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13465 * buffer.h: remove out of date comment
13467 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13470 * screen.C: fix "theoretical" GC leak
13472 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13474 * LaTeX.C (scanAuxFile):
13475 (deplog): remove trailing \r when reading stream (useful under
13478 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
13480 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13481 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13482 and BufferView::theLockingInset(Inset*), so should use them and not
13483 access bv_->text->the_locking_inset directly.
13485 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13487 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13490 * tex-defs.h: remove old unused file
13492 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
13494 * BufferView_pimpl.C: fix typo, remove minibuffer message
13495 when buffer has loaded
13497 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13499 * lyxfunc.C (Dispatch): use stringstream
13500 (MenuNew): use stringstream
13501 (Open): use stringstream
13503 * importer.C (Import): use stringstream
13505 * bufferview_funcs.C (CurrentState): use stringstream
13507 * LaTeX.C (run): use stringstream
13509 * BufferView_pimpl.C (savePosition): use stringstream
13510 (restorePosition): use stringstream
13511 (MenuInsertLyXFile): use stringstream
13513 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
13526 * vspace.C: removed // -*- C++ -*- as first line.
13529 * version.h: added // -*- C++ -*- as first line.
13531 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13533 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13535 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13538 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13540 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13543 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13545 * gettext.C: include LString.h even when --disable-nls is on.
13547 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
13549 * converter.h (Get): changed argument type from int to
13550 FormatList::size_type to avoid unnecessary conversion.
13552 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13555 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13557 * gettext.h: include LString.h even when --disable-nls is on.
13559 2001-06-07 Juergen Vigna <jug@sad.it>
13561 * text.C (BreakAgain): subst spaces with tabs.
13563 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13564 (resizeInsetsLyXText): set force on resizeLyXText.
13566 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13568 * gettext.h (gettext_init):
13569 (locale_init): use a real definition instead of a macro
13571 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13573 * Bufferview_pimpl.C:
13575 * LColor.C: further lcolor tidies
13577 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13579 * BufferView_pimpl.C (updateScrollbar): simplify.
13581 * BufferView2.C: don't include insets/insetinfo.h, change
13582 prototype for insertInset and call the Pimpl version. let
13583 updateInset call Pimpl version.
13585 * BufferView.h: move inset_slept to BufferView::Pimpl, move
13586 gotoInset to BufferView::Pimpl
13588 2001-06-01 Juergen Vigna <jug@sad.it>
13590 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13591 inside a LockingInset (is the update needed at all?).
13593 2001-05-31 Juergen Vigna <jug@sad.it>
13595 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13596 here not the old one otherwise how should we compare it afterwards
13599 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13604 * FontInfo.C: bring C functions into global namespace when
13607 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13609 * LString.h: make sure config.h has been loaded before LString.h.
13611 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13612 (one for each char read by EatLine!).
13614 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13617 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13619 * paragraph.C (BreakParagraph): set the inset_owner in the new par
13620 to the same as the par we break from
13622 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
13624 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13626 * MenuBackend.C (expand): also create menu entries for wide
13627 versions of the floats.
13629 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13631 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13633 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13634 frontends/Makefile.am
13640 * tabular.C (getTokenValue): add std::
13642 * tabular-old.C (getTokenValue): add std::
13643 (getTokenValue): ditto
13644 (getTokenValue): ditto
13646 * screen.C (ToggleSelection): adjust
13648 * lyxtext.h: put selection cursors inside a Selection struct.
13650 * lyxfunc.C (moveCursorUpdate): adjust
13652 * lyxfont.C (latexWriteStartChanges): add std::
13654 * lyxfind.C: adjust
13656 * font.h: delete with(char const *, LyXFont const &)
13658 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13660 * FontInfo.C (getFontname): add std::
13662 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13663 (workAreaButtonPress): adjust
13664 (tripleClick): adjust
13666 (moveCursorUpdate): adjust
13669 * BufferView2.C (gotoInset): adjust
13671 2001-05-30 Juergen Vigna <jug@sad.it>
13673 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13674 to check pspell I add this as default as I now have new pspell
13675 libraries and they seem to use this.
13677 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13679 * text2.C (CutSelection): make the cursor valid before the call to
13682 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13684 * kbsequence.C (parse): de-uglify a bit the parsing code, which
13685 relied on 0 terminated strings and other horrors. Bug found due to
13686 the new assert in lyxstring!
13688 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13691 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13693 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13696 * lyxfunc.C (processKeySym): change method of getting to the
13699 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13700 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13701 * BufferView_pimpl.[Ch]: here as private methods.
13703 2001-05-28 Juergen Vigna <jug@sad.it>
13705 * text.C (SetHeightOfRow): added the update() call again as it is
13706 needed to initialize inset dimensions!
13708 2001-05-16 Juergen Vigna <jug@sad.it>
13710 * text2.C (SetCharFont): Add new function with BufferView * and
13711 bool toggleall parameters for setting insets internal fonts.
13712 (SetFont): Freeze the undo as we may change fonts in Insets and
13713 all this change should be inside only one Undo!
13715 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13716 setting font's in insets as for them we have the SetFont function!
13718 2001-05-15 Juergen Vigna <jug@sad.it>
13720 * text2.C (ClearSelection): to be sure we REALLY don't have any
13723 * tabular.C (TeXCellPreamble): fixed the left border problem for
13726 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
13728 * LaTeX.C (deplog): Make sure that the main .tex file is in the
13731 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13733 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13734 LFUN_BREAKPARAGRAPH.
13736 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13737 help test to "internal only", similar for LFUN_INSERT_URL
13739 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13740 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13741 auto_region_delete and deadkeys.
13743 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
13746 * LColor.C: remove some dead entries, tidy a little
13748 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13750 * lyxfunc.C (processKeySym): comment the Escape handling, remove
13752 (Dispatch): implement LFUN_ESCAPE
13754 * commandtags.h: add LFUN_ESCAPE
13756 * LyXAction.C (init): add entry for LFUN_ESCAPE
13758 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13759 Remove commented code.
13760 (insertNote): moved here
13761 (open_new_inset): moved here
13763 * BufferView[2].[Ch]: move insertNote and open_new_inset to
13766 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13768 * kbmap.C (findbinding): clean it up and make it work correctly.
13770 * lyx_main.C (init): do not pass argc and argv as parameters
13772 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
13774 * buffer.C: fix path for OS/2 & Win32
13778 * lyx_main.C: Added os:: class.
13780 * os2_defines.h: update
13782 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13784 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13785 better by trying again with reduced state.
13787 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13789 * lyxrc.C (read): print error about invalid key sequence only when
13790 debugging (because not all latinX keysyms are known to some X
13793 * kbsequence.C (getiso): add a few std:: qualifiers
13794 (getiso): comment out extra return statement.
13796 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
13798 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13800 (Dispatch): enhance the accent inset a bit. (not perfect)
13802 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13804 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13806 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13808 * bufferlist.C (emergencyWrite): fix assert() call
13810 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
13812 * text.C (InsertChar): Added trivial patch to only send the "you
13813 can not do multiple spaces this way" message once during a
13816 2001-05-08 Baruch Even <baruch@lyx.org>
13818 * Makefile.am: Changed order of libraries to get LyX to link properly
13819 with the gnome frontend.
13821 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13823 * LaTeXFeatures.h: add a std:: qualifier
13825 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13827 * paragraph.C (String): use stringstream
13829 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13831 * paragraph.C (writeFile): remove footflag arg
13833 * buffer.C (makeLaTeXFile): use stringstream
13834 (latexParagraphs): remove footnot gurba
13836 * LaTeXFeatures.C (getPackages): use stringstream
13837 (getMacros): likewise
13838 (getTClassPreamble): likewise
13839 (getFloatDefinitions): new method
13841 * paragraph.C (writeFile): reindent
13844 * WorkArea.h: revert the xpos + etc changes.
13846 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13848 * lyxparagraph.[Ch]: add copy constructor, remove Clone
13850 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13851 (pasteSelection): likewise
13852 * text2.C (CreateUndo): likewise
13854 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13856 * minibuffer.C (peek_event): temporarily reduce the functionality
13857 of the minibuffer (to allow args on lfuns)
13859 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13860 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13862 * buffer.C (readInset): add compability reading of old float
13863 lists, add reading of new style float list.
13864 (readInset): avoid reevaluation of inscmd.getCmdName()
13865 (getLists): reindent
13867 * MenuBackend.C (MenuItem): implement parsing of
13868 md_floatlistinsert and md_floatinsert.
13869 (expand::LastFiles): move initalizaton of iterators out of loop,
13870 avoid reevaluation.
13871 (expand::Documents): introduce typdedef vector<string> Strings,
13873 (expand::ExportFormats): introduce typedef vector<Format const *>
13874 Formats, and use it.
13875 (expand): implement FloatListInsert and FloatInsert.
13877 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13878 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13879 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13881 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13883 (Dispatch::LFUN_FLOAT_LIST): implement
13885 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13887 * LaTeX.C (run): Fix problem with --export code.
13889 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13891 * BufferView.[Ch] (workarea): removed.
13892 (getClipboard) new method; wrapper for workarea()->getClipboard()
13894 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13897 * WorkArea.h (width, height, xpos, ypos): These methods all
13898 returned the dimensions of the work_area sub-area of WorkArea,
13899 resulting in a position error if the WorkArea were resized. Now
13900 return the dimensions of the entire WorkArea.
13902 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13904 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13906 * LaTeX.C (deplog): correct the syntax of regex reg1
13908 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13910 * undo.C: remove !NEW_INSETS cruft
13912 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13914 * text2.C: remove !NEW_INSETS cruft
13916 * text.C: remove !NEW_INSETS cruft
13918 * tabular.C: remove !NEW_INSETS cruft
13920 * spellchecker.C: remove !NEW_INSETS cruft
13922 * lyxtext.h: remove !NEW_INSETS cruft
13924 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13926 * lyxfunc.C: remove !NEW_INSETS cruft
13928 * lyxfind.C: remove !NEW_INSETS cruft
13930 * lyx_cb.C: remove !NEW_INSETS cruft
13932 * figureForm.C: remove !NEW_INSETS cruft
13934 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13936 * buffer.[Ch]: remove !NEW_INSETS cruft
13938 * ToolbarDefaults.C: remove !NEW_INSETS cruft
13940 * CutAndPaste.C: remove !NEW_INSETS cruft
13942 * BufferView_pimpl.C: remove !NEW_INSETS cruft
13944 * BufferView2.C: remove !NEW_INSETS cruft
13946 * BufferView.h: remove !NEW_INSETS cruft
13948 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13950 * Lsstream.h: include LString.h before the sstream headers to
13951 fix problem with gcc 2.95.3 and lyxstring
13953 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13955 * lyx_main.C: add using directives when needed for C functions
13956 declared in std:: namespace.
13958 2001-04-27 Juergen Vigna <jug@sad.it>
13960 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13961 (SetHeightOfRow): comment out the update call should not be needed!
13963 2001-04-13 Juergen Vigna <jug@sad.it>
13965 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13966 (LyXTabular): tried to minimize operator= operations (and realized
13967 hopfully Lars wish).
13969 2001-04-27 Juergen Vigna <jug@sad.it>
13971 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13973 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13975 * lyxfunc.C (Dispatch): hack to make listof algorithm work
13977 * buffer.C (readInset): hack to make listof algorithm work
13979 * BufferView_pimpl.C: hack to make listof algorithm work
13981 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13983 * LyXAction.C: removed all !NEW_INSETS cruft
13984 (init): moved lfun_item in method
13986 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13988 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13990 * BufferView2.C (theLockingInset): white space.
13992 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13994 * minibuffer.C: include <iostream>
13996 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13998 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14000 * commandtags.h: add LFUN_TRANSPOSE_CHARS
14002 * text.[Ch] (TransposeChars): new method
14004 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14006 * call message directly through LyXView instead of through LyXFunc
14007 * BufferView2.C: adjust
14008 * BufferView_pimpl.C: adjust
14009 * FontLoader.C: adjust
14011 * bufferview_funcs.C: adjust
14012 * converter.C: adjust
14013 * figureForm.C: adjust
14014 * importer.C: adjust
14016 * lyx_gui_misc.C: adjust
14017 * lyxfunc.C: adjust
14020 + more files in subdirs
14022 * lyxparagraph.h (size): move up int file
14025 * adjust all uses of Assert to lyx::Assert.
14027 * BufferView2.C (ChangeCitationsIfUnique): adjust for
14028 lyxfunctional in namespace lyx
14029 * layout.C (hasLayout): ditto
14032 (delete_layout): ditto
14033 (NumberOfClass): ditto
14034 * converter.C (GetFormat): ditto
14039 * bufferlist.C (getFileNames): ditto
14040 (emergencyWriteAll): ditto
14043 * MenuBackend.C (hasSubmenu): ditto
14046 * BufferView_pimpl.C (getInsetByCode): ditto
14048 2001-04-18 Juergen Vigna <jug@sad.it>
14050 * vspace.C (asLatexString): fixed the 100% problem.
14052 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14054 * lyxfunc.C (Dispatch):
14056 * minibuffer.h: add a few std:: qualifiers
14058 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14060 * minibuffer.[Ch]: reimplement so that commands is initiated and
14061 run from lyxfunc, simplified som handling, and made the completion
14062 and history code for complete. wip.
14064 * lyxfunc.C (processKeySym): call message
14065 (miniDispatch): new temporary method
14066 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14067 (LFUN_MESSAGE): implement
14068 (LFUN_MESSAGE_PUSH): implement
14069 (LFUN_MESSAGE_POP): implement
14070 (initMiniBuffer): the initial/defualt minibuffer message.
14072 * lyxfont.[Ch]: inline some more getters
14074 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14076 * lyx_gui_misc.[Ch] (WriteStatus): remove method
14078 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14079 (AutoSave): use LFUN_MESSAGE
14080 (Reconfigure): ditto
14082 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14084 * figureForm.C: use LFUN_MESSAGE
14086 * converter.C (runLaTeX): use LFUN_MESSAGE
14088 * bufferview_funcs.C: use LFUN_MESSAGE
14090 (changeDepth): ditto
14092 * bufferparams.h: use boost::
14094 * bufferlist.h: inherit privately from noncopyable
14096 * bufferlist.C (loadLyXFile): remove some commented code.
14098 * buffer.C (runChktex): use LFUN_MESSAGE
14100 * ShareContainer.h: inherit privately from noncopyable
14102 * ParagraphParameters.[hC] (depth): inline it.
14104 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14106 (message): new method
14107 (messagePush): ditto
14108 (messagePop): ditto
14109 (show): init minibuffer
14110 (showState): direct call
14112 * LaTeX.[Ch]: inherit privately from noncopyable
14113 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14114 instead of WriteStatus.
14116 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14118 * BufferView_pimpl.C (buffer): don't init minibuffer
14119 (workAreaButtonPress): use LFUN_MESSAGE
14120 (workAreaButtonRelease): ditto
14121 (savePosition): ditto
14122 (restorePosition): ditto
14123 (MenuInsertLyXFile): ditto
14124 (workAreaExpose): don't init minibuffer
14125 (update): remove commented code, simplify
14127 * BufferView2.C (openStuff): use LFUN_MESSAGE
14128 (toggleFloat): ditto
14131 (copyEnvironment): ditto
14132 (pasteEnvironment): ditto
14137 (updateInset): remove some commented code
14139 * lastfiles.h: inherit privately from noncopyable
14142 * lyx_main.h: ditto
14144 * lyxlex_pimpl.h: ditto
14146 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14147 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14148 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14150 * LyXAction.h: inherit privately from noncopyable, add methods
14151 func_begin, func_end, returning iterators to the func map.
14153 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14154 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14155 (func_begin): new method
14156 (func_end): new method
14158 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14160 (copySelection): ditto
14161 (pasteSelection): ditto
14163 * BufferView.C: whitespace change
14164 * BufferView.h: inherit privately from noncopyable
14166 2001-04-16 Allan Rae <rae@lyx.org>
14168 * tabular-old.C (l_getline):
14169 * spellchecker.C (sc_check_word):
14170 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14171 an unrecognised preprocessor directive. So ensure they're wrapped.
14173 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
14175 * src/exporter.C (Export): Give an error message when path to file
14178 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
14180 * LaTeX.C (deplog): Always check that foundfile exists.
14182 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14185 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14187 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14189 * tabular.[Ch] (getLabelList): implement new method
14191 * minibuffer.h: comment ouf setTiimer
14193 * minibuffer.C (ExecutingCB): constify res
14194 (peek_event): constify s
14195 (Set): constify ntext
14196 (Init): constify nicename
14198 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14200 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14201 (savePosition): use two params to Minibuffer::Set
14202 (restorePosition): ditto
14204 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14206 * lyx_main.C: include language.h
14208 * Makefile.am (lyx_main.o): add language.h
14210 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14216 * CutAndPaste.C: include gettext.h
14218 * lyxfont.h: remove old hack with ON and OFF.
14221 * lyxfont.h: do not include language.h...
14226 * bufferview_funcs.C:
14232 * paragraph.C: ... but do it here instead
14234 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14236 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14238 * tabular.C: small reformat
14240 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14243 (BreakParagraph): ditto
14244 (SetOnlyLayout): ditto
14247 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14250 * lastfiles.C: removed most using decl, add std:: where needed
14252 * buffer.C: ws changes
14254 * MenuBackend.C (class compare_format): put into anon namespace
14255 (expand): constify label, names, action, action2
14258 * text.C (SingleWidth): constify font
14259 (IsBoundary): constify rtl2
14260 (GetVisibleRow): constify ww
14262 * LaTeX.C (deplog): constify logfile
14264 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14266 (workAreaExpose): constify widthChange, heightChange
14268 * lyxrow.C (par): moved
14271 * lyxrow.h: as inlines here
14273 * lyxfont.h (shape): moved from lyxfont.C
14274 (emph): moved from lyxfont.C
14276 * lyxfont.C (LyXFont): use initialization list for all
14278 (shape): move to lyxfont.h as inline
14279 (emph): move to lyxfont.h as inline
14282 2001-04-04 Juergen Vigna <jug@sad.it>
14284 * vspace.C: had to include stdio.h for use of sscanf
14286 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
14289 * BufferView_pimpl.h: remove xforms cruft. Both classes are
14290 independent of xforms.
14292 2001-04-02 Juergen Vigna <jug@sad.it>
14294 * spellchecker.C: fixed namespace placing!
14296 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
14298 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14299 the LyXParagraph * is 0.
14301 2001-03-29 Juergen Vigna <jug@sad.it>
14303 * vspace.C: added support for %, c%, p%, l%.
14304 (stringFromUnit): added helper function.
14305 (asLatexString): changed to give right results for the %-values.
14307 * buffer.C: convert the widthp in a width%.
14309 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
14311 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14314 * figureForm.[Ch]: stripped the FD_from_figure manipulation
14315 code out of lux_cb.[Ch], ready for its (imminent?) removal.
14317 * lyx_cb.[Ch]: see above.
14319 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14323 * lyx.[Ch]: replaced by figure_form.[Ch].
14327 * lyxfunc.C: changed headers associated with above changes.
14329 2001-03-27 Juergen Vigna <jug@sad.it>
14331 * BufferView_pimpl.C: set the temporary cursor right!
14333 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
14335 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14337 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
14339 * LString.h: removed "using std::getline"!
14341 * BufferView_pimpl.C (Dispatch): changes due to changes in
14342 InsetInclude::Params.
14344 * buffer.C (tag_name): removed redundant break statements as they were
14345 producing lots of warnings with my compiler.
14347 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14349 * LString.h: add "using std::getline" when using the real <string>.
14351 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
14353 * buffer.C: removed bitset usage.
14354 PAR_TAG moved to an anonymous name space.
14355 (tag_name): new funtion, also in the anonymous namespace.
14356 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14357 (makeDocBookFile): clean code. Completed transition from string arrays
14359 (SimpleDocBookOnePar): code clean.
14361 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14363 * tabular.C: add some comments.
14365 2001-03-22 Juergen Vigna <jug@sad.it>
14367 * buffer.C (parseSingleLyXformat2Token): redone the minipage
14368 compatibility read a bit and fixed bug with minipage in different
14371 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
14373 * buffer.C (pop_tag): removed.
14374 (push_tag): removed.
14375 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14376 array replaced with vector. Added support for CDATA sections.
14377 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14379 (makeDocBookFile): XML conformant declaration of CDATA section,
14380 fixed bug related to <emphasis> in the first paragraph char.
14381 (sgmlOpenTag): exclude empty tags.
14382 (sgmlCloseTag): ditto.
14384 * buffer.h (pop_tag): removed.
14385 (push_tag): removed.
14387 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
14389 * language.h (Languages): added size_type and size().
14391 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14393 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14394 response on compability reading of minipages. One probliem is that
14395 the old usage of minipages was «flertydig»
14397 * several files here and in subdirs: don't use static at file
14398 scope use anon namespaces instead.
14400 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
14402 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14403 LaTeX output. This is necessary for Literate document
14406 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14408 * buffer.C: insert hfill when needed.
14410 * tabular.C (l_getline): use string::erase, small whitespace change.
14412 * BufferView_pimpl.C: try the anon namespace.
14413 * WorkArea.C: ditto
14415 2001-03-16 Juergen Vigna <jug@sad.it>
14417 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14418 otherwise it won't open options-dialogs.
14420 * buffer.C: honor pextraWidth(p) on converting minipages.
14422 * tabular.C (l_getline): changed the functions to strip trailing \r.
14424 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
14426 * BufferView_pimpl.C:
14427 * minibuffer..C: added "using SigC::slot" declaration.
14429 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14431 * lyxlex_pimpl.h: noncopyable is in namespace boost.
14437 * paragraph.C: ditto
14439 * lyxtext.h: NO_PEXTRA
14441 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14443 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14444 * ParameterStruct.h: ditto
14445 * ParagraphParameters.h: ditto
14446 * lyxparagraph.h: ditto
14448 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14450 * buffer.C: add compability for minipage alignment.
14451 (latexParagraphs): remove unwanted pextra check.
14453 * several files: remove CXX_WORKING_NAMESPACES
14455 * buffer.C (pop_tag): tie is in namespace boost
14457 * BufferView.h: noncopyable is in namespace boost
14459 * lyx_main.h: ditto
14462 * lastfiles.h: ditto
14463 * bufferlist.h: ditto
14464 * ShareContainer.h: ditto
14466 * LyXAction.h: ditto
14469 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14471 * Merging changes from BRANCH_MVC back into HEAD.
14473 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14475 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
14477 * BufferView_pimpl.C: change from intl.C
14481 * Makefile.am: move combox.*
14487 * intl.C: remove dialog (covered by prefs)
14489 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14491 * lyxfunc.C (Dispatch): removed redundant break statement.
14493 2001-03-14 Juergen Vigna <jug@sad.it>
14495 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14497 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14499 * buffer.C: add hack to fix compability reading of minipages.
14501 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
14503 * buffer.C (getLists): Cleanup.
14505 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14507 * lyxfont.C (update): don't honor toggleall on font size.
14509 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
14513 * Makefile.am: moved to frontends/xforms/
14517 * BufferView_pimpl.C: changes for moved mathpanel
14519 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14521 * gettext.h: fix gettext_init() in --disable-nls
14523 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14525 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14527 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
14530 * lyx.h: strip external form
14532 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14534 * BufferView_pimpl.C: add comment, destroySplash()
14536 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14538 * BufferView_pimpl.C:
14542 * lyxfunc.C: use re-worked insetinclude
14544 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14546 * buffer.C: add using std::stringstream.
14548 * lyx_cb.C: readd using std::ios.
14550 * buffer.C: add using std::map.
14552 * BufferView_pimpl.C: add using std::vector.
14554 * ShareContainer.h: add std:: to swap.
14556 * buffer.h: add some typedefs
14557 * buffer.C (getLists): use them
14558 (getLists): renamed from getTocList.
14559 add a counter for the different float types and use it in the
14561 (getLists): use the same counter for the NEW_INSETS and the "non"
14564 * lyx_cb.h: remove unused items, includes, using etc.
14566 * ShareContainer.h: remove some commented code, add more comments
14567 and "documentation".
14569 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14571 * buffer.C (getTocList): make the list also when NEW_INSETS is
14574 * buffer.h: remove TocType
14576 * buffer.C (getTocList): change to return a map<string,
14577 vector<TocItem> >, implement for dynamic number of list.
14579 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14580 * text2.C (PasteSelection): adjust
14581 * CutAndPaste.C (pasteSelection): adjust
14583 * FloatList.C (FloatList): update from the new_insets branch.
14584 * Floating.[Ch]: ditto
14585 * LaTeXFeatures.C: ditto
14587 * lyxlex_pimpl.C: ditto
14589 * paragraph.C (Last): remove when NEW_INSETS is defined.
14591 * other file: changes because of the above.
14593 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14595 * lyxparagraph.h: rename next to next_, previous to previous_,
14596 make them private for NEW_INSETS. Rename Next() to next(),
14597 Previous() to previous().
14599 * other files: changes because of the above.
14601 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
14604 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14607 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14609 * main.C (main): pass lyx_localedir to gettext_init().
14611 * gettext.h: remove locale_init and gettext_init macros
14613 * gettext.C (locale_init): new function
14614 (gettext_init): new function
14616 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14619 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
14621 * Moved credits to frontends:
14622 * credits.[Ch]: removed
14623 * credits_form.[Ch]: removed
14624 * lyx_gui_misc.C: remove credits stuff
14627 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14629 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14631 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14632 unneeded destructor.
14634 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14635 a standalone pointer again.
14637 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14639 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
14645 * ToolbarDefaults.C:
14654 * BufferView_pimpl.C: use new file dialog in GUII
14657 * lyx_cb.C: remove LayoutsCB to Toolbar
14659 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14661 * ShareContainer.h (get): add std:: qualifier
14663 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14665 * ShareContainer.h: define a proper ShareContainer::value_type
14666 type (and use typename to please compaq cxx)
14668 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14670 * lyxparagraph.h: move serveral local vars to
14671 ParameterStruct/ParagraphParameters., use ShareContainer in
14672 FontTable., make vars in FontTable private and add getter and
14675 * paragraph.C: changes because of the above.
14677 * lyxfont.h: remove copy constructor and copy assignment. (the
14678 default ones is ok), move number inside FontBits. move inlines to
14681 * lyxfont.C: add number to initializaton of statics, move several
14682 inlines here. constify several local vars. some whitespace
14683 cleanup. Dont hide outerscope variables.
14685 * Spacing.h: add two new constructors to match the set methods.
14687 * ShareContainer.h: new file, will perhaps be moved to support
14689 * ParameterStruct.h: new file
14691 * ParagraphParameters.h: new file
14693 * ParagraphParameters.C: new file
14695 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14696 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14698 * BufferView_pimpl.C: ParagraphParameter changes.
14699 * buffer.C: Likewise.
14700 * bufferview_funcs.C: Likewise.
14701 * text.C: Likewise.
14702 * text2.C: Likewise.
14704 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14706 * lyxfind.C (LyXReplace): do not redefine default argument in
14708 (IsStringInText): ditto
14709 (SearchForward): ditto
14710 (SearchBackward): ditto
14712 2001-03-06 Juergen Vigna <jug@sad.it>
14714 * lyxfind.C (IsStringInText): put parentes around expressions.
14716 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
14718 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14720 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
14722 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14724 * stl_string_fwd.h: add comment
14726 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14729 * tabular.C: remove unused DocBook methods
14735 killed DO_USE_DEFAULT_LANGUAGE
14737 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14739 * lyx_gui.C: do not include language.h.
14741 * bufferview_funcs.C (ToggleAndShow): do not provide optional
14742 arguments in function implementation.
14744 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14746 * BufferView_pimpl.C: add <ctime>
14748 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14750 * BufferView_pimpl.C: add using std::find_if
14752 2001-02-27 José Matos <jamatos@fep.up.pt>
14754 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14757 2001-02-11 José Matos <jamatos@fep.up.pt>
14759 * buffer.C (makeDocBookFile): command styles now have a parameter as
14760 "title" by default.
14762 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
14764 * layout_forms.[Ch]: removed
14765 * lyx_cb.[Ch]: out character
14766 * lyx_gui.C: out character
14767 * lyx_gui_misc.C: out character
14768 * bufferview_funcs.C: : out character,
14769 added toggleall as parameter in ToggleAndShow
14771 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
14773 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14775 * text2.C (SetCurrentFont): Disable number property at boundary.
14777 2001-02-26 Juergen Vigna <jug@sad.it>
14779 * lyxfunc.C (getStatus): added a string argument override function so
14780 that this is correctly called from LyXFunc::Dispatch if it contains a
14781 do_not_use_argument which is used!
14782 (Dispatch): added check for "custom" export and call appropriate func.
14784 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
14786 * lyxrc.C: Add language_command_local, language_use_babel and
14787 language_global_options.
14789 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14791 * buffer.C (makeLaTeXFile): Use language_use_babel and
14792 language_global_options.
14794 2001-02-23 Juergen Vigna <jug@sad.it>
14796 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14797 which works with LyXText and putted it inside BufferView. Here now we
14798 only call for that part the BufferView::Dispatch() function.
14800 * BufferView.C (Dispatch): added.
14802 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14803 functions which needs to use a LyXText over from LyXFunc.
14804 (MenuInsertLyXFile): added
14805 (getInsetByCode): added
14806 (moveCursorUpdate): added
14807 (static TEXT): added
14809 2001-02-22 Juergen Vigna <jug@sad.it>
14811 * BufferView_pimpl.C (update): call a status update to see if LyXText
14814 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14816 * vc-backend.C (revert): implement for CVS
14817 (getLog): implement for CVS
14819 2001-02-20 Juergen Vigna <jug@sad.it>
14821 * text2.C (ClearSelection): added BufferView param for inset_owner call
14823 * lyxfunc.C (TEXT): added this function and use it instead of
14824 directly owner->view()-text of getLyXText().
14826 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
14828 * src/layout_forms.C: out preamble
14829 * src/layout_forms.h: out preamble
14830 * src/lyx_cb.C: out preamble
14831 * src/lyx_cb.h: out preamble
14832 * src/lyx_gui.C: out preamble
14833 * src/lyx_gui_misc.C: out preamble
14834 * src/lyxfunc.C: connect with guii preamble
14836 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
14838 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14840 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
14842 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14843 whether to run bibtex.
14845 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
14847 * Makefile.am (lyx_SOURCES): Remove BackStack.h
14849 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14851 * Makefile.am (lyx_SOURCES): removed bibforms.h
14853 * vspace.h: doxygen
14855 * text.C (GetVisibleRow): make several local vars const
14857 * tabular.C: small cleanup.
14859 * lyxserver.C (callback): use compare instead of strncmp
14861 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14862 inlines to after class or to paragraph.C
14864 * lyxfont.h: remove friend operator!=
14866 * converter.h: move friend bool operator< to non friend and after
14869 * combox.h: small cleanup
14871 * buffer.h: doxygen, remove unused constructor, move inclas inlies
14872 to inlines after class def.
14874 * buffer.C (pop_tag): use string operations instead of strcmp
14876 * bmtable.c: doxygen, small cleanup
14878 * LaTeX.h: remove friend operator==
14880 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
14892 * BufferView_pimpl.C:
14893 * BufferView.[Ch]: remove cruft
14895 2001-02-14 Juergen Vigna <jug@sad.it>
14897 * lyxfunc.C: removed #if 0 unused code
14899 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14901 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14903 * text2.C (SetSelection): added a BufferView * parameter
14905 2001-02-13 Juergen Vigna <jug@sad.it>
14907 * lyxfunc.C (Dispatch): fixed protected blank problem.
14908 * BufferView2.C (protectedBlank): added LyxText * parameter.
14910 * tabular.C (AppendRow): forgot to set row_info of newly added row.
14911 (AppendColumn): same as above for column_info.
14913 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14914 (moveCursorUpdate): use a LyXText param for support of InsetText.
14916 * BufferView_pimpl.C (doubleClick): added support for InsetText.
14917 (tripleClick): ditto
14919 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14921 * BufferView_pimpl.C (update): added LyXText param to honor insets.
14923 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14925 * text2.C (SetSelection): set correct update status if inset_owner
14926 (ToggleFree): ditto
14928 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
14930 * tabular.C: remove some commented code.
14932 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
14934 * BufferView_pimpl.C: call hideSplash()
14936 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14939 * bibforms.h: remove
14942 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14943 add LFUN_CHILD_CREATE
14945 * counters.h: fix tiny typo
14950 * lyx.C: move splash to frontends/xforms/
14952 * lyx_gui_misc.C: move Include and Bibform to frontends
14954 * lyxvc.h: clarify comment
14956 * vspace.C: tiny housekeeping
14958 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
14960 * text.C (PrepareToPrint): RTL Fix.
14962 * paragraph.C (GetUChar): New method.
14963 (String): Use GetUChar.
14965 * buffer.C (asciiParagraph): Use GetUChar.
14967 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
14969 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14971 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
14974 * buffer.C: rename to getLogName(), handle
14975 build log / latex log nicely
14977 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14980 * MenuBackend.h: remove support for reference menuitem type.
14982 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
14984 * BufferView_pimpl.C: housekeeping
14985 * BufferView_pimpl.h:
14990 * minibuffer.h: move Timeout GUI-I
14992 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
14994 * lyxrc.C (read): Update converters data-structures.
14996 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
14998 * LaTeX.h (operator!=): add operator != for Aux_Info
15000 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
15002 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15004 * LaTeXLog.C: deleted, useful code moved to Buffer
15007 * buffer.C: new function getLatexLogName()
15013 * lyxfunc.C: use frontends for LaTeX and VC logs
15015 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15017 * LaTeX.h: yet another std:: that Allan forgot.
15019 * Variables.C (set): renamed from isset(), because this clashes
15020 with some HP-UX macros (grr).
15022 2001-02-06 Allan Rae <rae@lyx.org>
15024 * LaTeX.h: Another bug fix. Missing std:: this time.
15026 2001-02-04 Allan Rae <rae@lyx.org>
15028 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15029 floats problem. I've left it commented out because it's not quite
15030 correct. It should also test that the current object is a table or
15031 figure inset. But I haven't gotten around to figuring out how to do
15032 that. I *think* it'll be something like: "table" == inset.type()
15034 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15037 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
15039 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15040 all the citation/databases/styles in the auxilary file.
15041 (run): Rerun latex if there was a babel language error.
15043 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
15045 * text.C (Backspace): Preserve the font when changing newline char
15047 (BreakParagraph): If the cursor is before a space, delete the space.
15049 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15051 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
15053 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15054 new argument (code).
15055 (ChangeCitationsIfUnique): New method.
15057 * paragraph.C (GetPositionOfInset): Handle bibkey.
15059 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15061 * BufferView_pimpl.h: change type of Position::par_pos to
15062 LyXParagraph::size_type.
15064 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
15066 * BufferView_pimpl.C (savePosition, restorePosition): Write
15067 messages to minibuffer.
15069 2001-01-28 José Matos <jamatos@fep.up.pt>
15071 * buffer.C (makeDocBookFile): adds support for document language.
15072 A silly restriction on the name of LatexCommand types where removed.
15073 Added support for CDATA sections, allows to chars unescaped, used
15074 among others in code, to avoid escape < and >.
15076 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15078 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15079 saved positions instrad of a stack. Furthermore, a position is
15080 stored using paragraph id/paragraph position.
15082 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15083 Remove LFUN_REF_BACK.
15085 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15087 * converter.C (dvipdfm_options): New method.
15089 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
15091 * vspace.C (isValidLength): Fix for empty input string.
15093 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15095 * LyXAction.C (init): change description of LFUN_FIGURE to
15098 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15100 * LaTeX.C: add using directive
15102 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15104 * MenuBackend.C (expand): Fix the sorting of the formats.
15106 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
15108 * lyx_main.C: tiny error message fix
15110 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15112 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15113 calling fl_initialize(). This fixes the problem with ',' as
15114 decimal separator in text files.
15116 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15118 * trans.C (process): Fix the keymap bug.
15120 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
15122 * LaTeX.C (scanAuxFiles): New method. Provides support for
15123 multiple bibliographies (when using the bibtopic/bibunits pacakges).
15124 (scanLogFile) Scan for "run BibTeX" messages.
15126 * buffer.C (makeLaTeXFile): Do not load the ae package when using
15127 OT1 font encoding. Also, load the aecompl package if the ae
15130 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15132 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15134 * texrow.C (increasePos): turn two error messages into debug
15137 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
15139 * LaTeX.C (scanAux): Handle the \@input macro.
15140 (runBibTeX): Use scanAux().
15142 * language.C (latex_options_): New field.
15144 * LaTeXFeatures.C (getMacros): Add language macros.
15146 * buffer.C (makeLaTeXFile): Small fix.
15148 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15150 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15152 * text2.C: add a using directive.
15154 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
15159 * lyxfunc.C: kill LyXBell.
15161 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
15163 * text.C (IsBoundary): Remove the error message
15165 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15167 * lyxrc.C (setDefaults): Correct initialization value for
15170 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
15172 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15175 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15176 and GotoNextNote().
15178 * src/LyXAction.C: Added reference-next.
15180 * text.C (InsertChar): Use contains instead of strchr.
15182 * lyx_cb.C (MenuInsertLabel): Enable default value code.
15184 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
15186 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15187 alignment commands (when needed).
15189 * text.C (InsertChar): Add ':' to number separator chars.