1 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3 * lyxrc.[Ch]: add lyxrc bibtex_command
4 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
6 * buffer.C: increment file format to 231.
8 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
10 * dociterator.C: implement forwardPar
11 * iterators.[Ch]: remove, replaced by
12 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
25 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
27 * CutAndPaste.C (pasteSelection): fix 2 crashes
28 (eraseSelection): fix a crash
29 * paragraph_funcs.C: remove a warning
31 2004-03-28 Angus Leeming <leeming@lyx.org>
34 * LyXAction.C (init): new LFUN_PRINT.
36 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
38 2004-03-27 Angus Leeming <leeming@lyx.org>
41 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
43 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
45 2004-03-27 Angus Leeming <leeming@lyx.org>
47 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
48 insetlist always contains non-null pointers to insets.
50 2004-03-26 Angus Leeming <leeming@lyx.org>
52 * src/BufferView_pimpl.C:
56 * src/output_plaintext.C:
58 * src/paragraph_funcs.C:
62 * src/frontends/controllers/ControlErrorList.C:
63 * src/frontends/gtk/FileDialogPrivate.C:
64 * src/frontends/gtk/GPainter.C:
65 * src/frontends/gtk/GToolbar.C:
66 * src/frontends/qt2/QRef.C:
67 * src/mathed/math_scriptinset.C: squash compiler warnings.
69 2004-03-26 Angus Leeming <leeming@lyx.org>
71 * ispell.C (LaunchIspell::start):
72 * lyx_cb.C (AutoSaveBuffer::start):
73 invoke run(DontWait) rather than runNonBlocking().
75 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
77 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
79 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
81 * kbsequence.C (print): adjust
83 * kbmap.C (printKeySym): rename and change signature
84 (printKey): use LyXKeySym::print()
86 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
88 * undo.C: add using std::advance to compile for stlport
90 2004-03-24 Angus Leeming <leeming@lyx.org>
92 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
93 it leads to a crash when no buffer is present.
95 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
96 Martin Vermeer <martin.vermeer@hut.fi>
98 * lyxfunc.C (dispatch):
99 * bufferparams.C (readToken): use the new LColor::setColor
101 * LColor.[Ch] (setColor): new version that takes two strings as
102 argument and creates a new color entry if necessary
104 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
106 * buffer.C (makeLaTeXFile): if the main latex file that is
107 processed is usually a subdocument of some master, then pretend
108 for a while that it is actually the master
110 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
112 * buffer.C (getLabelList):
113 (getBibkeyList): use getMasterBuffer()
114 (getMasterBuffer): new method. Returns the main document in the
115 case where one is using included documents.
117 2004-03-25 André Pönitz <poenitz@gmx.net>
121 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
123 * ParagraphList_fwd.h: change ParagraphList to a std::vector
125 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
126 text*.C over here. Rename namespace CutAndPaste to lyx::cap
128 * ParameterStruct.h: merge with ParagraphParameters
130 * lyxtext.h: remove LyXText::parOffset() and getPar()
132 * text3.C: Remove all 'manual' update calls. We do now one per user
133 interaction which is completely sufficient.
137 * BufferView_pimpl.C:
140 * ParagraphParameters.[Ch]:
152 * output_docbook.[Ch]:
154 * output_linuxdoc.[Ch]:
155 * output_plaintext.[Ch]:
157 * paragraph_funcs.[Ch]:
158 * paragraph_pimpl.[Ch]:
166 * frontends/controllers/ControlDocument.C:
167 * frontends/controllers/ControlErrorList.C:
168 * frontends/controllers/ControlSpellchecker.C:
171 * insets/insetbase.h:
172 * insets/insetbibitem.C:
174 * insets/insetbranch.C:
175 * insets/insetcaption.C:
176 * insets/insetcharstyle.C:
177 * insets/insetcharstyle.h:
178 * insets/insetcollapsable.C:
179 * insets/insetcollapsable.h:
181 * insets/insetfloat.C:
182 * insets/insetfoot.C:
183 * insets/insetmarginal.C:
184 * insets/insetnote.C:
185 * insets/insetoptarg.C:
186 * insets/insettabular.C:
187 * insets/insettext.C:
188 * insets/insettext.h:
189 * insets/insetwrap.C:
190 * mathed/math_mboxinset.C:
191 * mathed/math_nestinset.C:
192 * mathed/math_scriptinset.C:
193 * mathed/math_scriptinset.h:
196 2004-03-24 Angus Leeming <leeming@lyx.org>
198 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
199 deal with any child processes that have finished but are waiting to
200 communicate this fact to the rest of LyX.
202 2004-03-24 Angus Leeming <leeming@lyx.org>
204 64-bit compile fixes.
206 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
207 (c-tor): pass lyx::pos_types rather than ints.
209 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
212 * text.C (Delete): compile fix.
213 (getPar): ensure that function declaration is the same as that in
216 2004-03-23 Angus Leeming <leeming@lyx.org>
218 * ispell.C (LaunchIspell):
219 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
220 a boost::shred_ptr rather than a std::auto_ptr.
222 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
224 * lyxfunc.C (getStatus): handle read-only buffers correctly;
225 handle LFUN_FILE_INSERT_*
227 * lyxrc.C (setDefaults, getDescription, output, read):
228 * lyxrc.h: remove ps_command
230 2004-03-22 Angus Leeming <leeming@lyx.org>
232 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
233 Ensure that error_handler is processed once only and that all data
234 is saved before attempting to output any warning messages.
236 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
238 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
240 * tabular.C (TeXRow): crash fix (from Kayvan and André)
242 2004-03-19 André Pönitz <poenitz@gmx.net>
244 * cursor.[Ch] (reset): take main text inset as argument
247 * BufferView_pimpl.C: adjust
249 * paragraph.[Ch]: fix completely broken operator=()
251 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
253 * LColor.C (getFromLyXName): make sure that the color name is used
256 2004-03-17 Angus Leeming <leeming@lyx.org>
259 * LyXAction.C (init): remove LFUN_FORKS_KILL.
261 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
262 dialog and to kill a forked process.
264 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
266 * text2.C (setCursorFromCoordinates): fix font problem
268 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
270 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
271 bogus "rebuild cursor" code
273 2004-03-11 André Pönitz <poenitz@gmx.net>
275 * buffer.[Ch]: use InsetText instead of LyXText as container for
278 * dociterator.[Ch]: drop the BufferView * member which is not needed
279 anymore after the change to buffer.C
285 * BufferView_pimpl.[Ch]:
287 * cursor_slice.[Ch]: adjust
289 * text3.C: fix bug in mathDispatch
291 2004-03-08 André Pönitz <poenitz@gmx.net>
293 * undo.[Ch]: use 'StableDocumentIterator' as base for
296 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
299 * bufferparams.[Ch]: add jurabib support and param.
301 * LaTeX.C: add FIXME/comment.
303 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
305 * buffer.C: increment file format to 230.
307 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
309 * cursor.C (dispatch): avoid infinite loops
311 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
313 * rowpainter.C (paintSelection): fix x coordinates
315 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
317 * text.C (rowBreakPoint): fix breaking before displayed insets
319 2004-03-01 André Pönitz <poenitz@gmx.net>
321 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
323 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
327 * BufferView_pimpl.C:
335 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
341 * BufferView_pimpl.C: rename textwidth -> maxwidth,
342 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
344 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
346 * Bidi.[Ch] (computeTables): const correctness
347 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
348 fill_hfill, fill_label_hfill and x from Row
349 * lyxtext.h: prepareToPrint returns a RowMetrics
350 * rowPainter.C: adjust
351 * text.C (prepareToPrint): use width, not textWidth. adjust
352 (redoParagraphInternal, cursorX): adjust
353 * text2.C (getColumnNearX): adjust
354 (init): put a default value to the top LyXText::width
356 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
358 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
360 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
362 * lyxtext.h: add FontIterator class
364 * text.C (FontIterator, operator*, operator->, operator++): add
365 (rowBreakPoint, setRowWidth): adjust (fixing a
368 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
370 * BufferView_pimpl.C (workAreaDispatch): allow also
371 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
373 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
375 * text.C (rowBreakPoint): fix a bug showing with very large insets
377 2004-02-25 André Pönitz <poenitz@gmx.net>
380 * cursor.[Ch]: move some mathed specific code to mathed
382 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
384 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
385 use_tempdir in preferences
386 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
388 * lyx_main.C: ensure that tempdir is valid
389 * lyxlex.h: correct typo
390 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
391 * paragraph.[Ch] (isMultiLingual): make const
392 * cursor.[Ch] (openable): make const
394 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
396 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
398 2004-02-20 André Pönitz <poenitz@gmx.net>
400 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
402 * cursor.[Ch]: prepare for localized getStatus()
408 * text3.C: streamlines the LyXText cursor movement handlers a bit.
410 2004-02-20 André Pönitz <poenitz@gmx.net>
412 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
414 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
416 * text2.C (setCursorFromCoordinates): switch to absolute coords
419 * text3.C (dispatch): adjust
421 2004-02-16 André Pönitz <poenitz@gmx.net>
423 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
426 * cursor_slice.[Ch]: remove unneeded acessor function
428 * lyxtext.h: rename rtl() to isRTL()
436 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
438 * rowpainter.C (paintSelection): coord fix
440 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
442 * Spacing.C: compile fix
444 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
446 * cursor.C (dispatch): restore current_ before returning
448 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
450 * text2.C (cursorUp, cursorDown): fix coords
453 2004-02-12 André Pönitz <poenitz@gmx.net>
458 * text3.C: add LCursor & parameter to most cursor movement functions
459 remove usage of LyXText::cursorRow() and cursorPar()
461 * cursor.[Ch]: add textRow() needed members
464 * BufferView_pimpl.C:
467 * BufferView_pimpl.C: adjust
469 2004-02-11 André Pönitz <poenitz@gmx.net>
473 * BufferView_pimpl.C: shift undo/redo handling
475 * cursor.[Ch]: fix mathed crash
478 * lyxtext.h: move selectionAsText to LCursor
486 * rowpainter.C: fix excessive drawing
488 2004-02-06 André Pönitz <poenitz@gmx.net>
491 * BufferView_pimpl.[Ch]:
492 * text3.C: move some text specific LFUN handling
494 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
496 * text3.C (checkInsetHit): adjust coords
497 * text2.C (getColumnNearX): adjust coords
498 (edit): adjust coords
499 * text.C (getRowNearY): add two asserts
501 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
504 * format.C: add using std::distance to compile on gcc 2.95/stlport
506 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
508 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
510 2004-02-04 André Pönitz <poenitz@gmx.net>
512 * BufferView.[Ch] (insertInset):
513 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
518 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
520 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
521 on the default clause of the switch
522 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
523 wasn't catched by LCursor::dispatch
525 2004-02-03 André Pönitz <poenitz@gmx.net>
528 * cursor.[Ch]: some additional asserts
530 * undo.[Ch]: remove LyXText dependency in interface
534 * lyxtext.h (firstPar, lastPar): remove dead functions
539 * paragraph.[Ch]: adjust
541 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
543 * lyxfind.C (find): fix argument order in call to ::find
545 2004-02-02 André Pönitz <poenitz@gmx.net>
547 * cursor.[Ch]: remove direct access to anchor
549 * text.C: remove findText() hack
551 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
553 * iterators.[Ch] (lockPath): remove in favour of...
554 * BufferView.[Ch] (setCursor): this addition
555 * BufferView.C (putSelectionAt): adjust
556 * undo.C (performUndoOrRedo): adjust
557 * lyxfunc.C (dispatch): adjust
559 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
561 * iterators.C (lockPath): add a missing slice
562 * undo.C (performUndoOrRedo): remove redundant positioning code
564 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
566 * vc-backend.C (scanMaster): ";" -> ';'
568 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
570 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
573 * lyxtextclass.C (compare_name): rename to...
574 (LayoutNamesEqual): ...this
576 * lyxlex_pimpl.C (compare_tags): inherit from
577 std::binary_function, put back into anon namespace
579 * lyxfind.C (MatchString): inherig from std::binary_function
580 (findChange): use empty() istead of !size()
582 * format.C (FormatNamesEqual): new functor
589 * converter.C (compare_Converter): rename to...
590 (ConverterEqual): ...this, and fixup a bit.
591 (getConverter): use it, and make function const
592 (getNumber): use it, and make function const
596 * bufferlist.C: add using boost::bind
598 * MenuBackend.C (MenuNamesEqual): new functor
599 (hasMenu): use it, and make function const
600 (hasSubmenu): use nested bind to get rid of compare_memfun.
602 2004-01-30 André Pönitz <poenitz@gmx.net>
604 * BufferView_pimpl.C:
615 * text3.C: move some of the edit(x,y) handling to the insets
616 some coordinate changes.
618 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
620 * text.C: add using statements for std::advance and std::distance
622 * paragraph.C: add using statement for std::distance
624 * lyxfind.C: add using statement for std::advance
626 * cursor.C (region): remove std:: from swap
627 (openable): use nucleus in stead of operator->
629 * BufferView.C: add using statements for std::distance and std::swap
631 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
633 * iterators.C: Remove the pimple, move the needed structures to
634 the header file. Create accessor for the positions stack.
635 (asPosIterator): remove function
637 * PosIterator.C (PosIterator): move constructors to top of file
638 (PosIterator): reimplement the constructor taking a ParIterator in
640 (setFrom): new function
641 (operator!=): inline it
643 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
645 * lyxfind.C (replaceAll): use std::advance
647 * iterators.h: inherit from std::iterator.
649 * PosIterator.C (advance, distance): remove
650 * PosIterator.h: interit from std::iterator.
652 2004-01-26 André Pönitz <poenitz@gmx.net>
655 * BufferView_pimpl.[Ch]:
659 * bufferview_funcs.C:
670 * output_plaintext.C:
672 * paragraph_funcs.[Ch]:
673 * paragraph_pimpl.[Ch]:
679 * text3.C: more IU: dumps most of the rest of the mathcursor
680 implementation into cursor.[Ch]; "globalize" a bit of it.
682 2004-01-25 Angus Leeming <leeming@lyx.org>
684 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
686 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
688 * LaTeXFeatures.h: add nice_ and nice() const
689 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
691 2004-01-20 André Pönitz <poenitz@gmx.net>
694 * BufferView_pimpl.C:
696 * bufferview_funcs.C:
709 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
710 LCursor and mathcursor parts to LCursor and InsetBase.
712 2004-01-15 André Pönitz <poenitz@gmx.net>
714 * cursor_slice.[Ch]: add a few covienience functions
716 * funcrequest.[Ch]: remove BufferView * member
718 * BufferView_pimpl.C:
725 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
727 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
729 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
730 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
732 2004-01-13 André Pönitz <poenitz@gmx.net>
735 * lyxtext.h: hide cursor and selection anchor behind accessor function
738 * BufferView_pimpl.[Ch]:
740 * bufferview_funcs.C:
750 * cursor_slice.[Ch]: some integer type changes for inset unification
752 * lyxcursor.[hC]: remove, it's CursorSlice now.
755 * BufferView_pimpl.[Ch]:
756 * bufferview_funcs.C:
762 * textcursor.[Ch]: adjust
764 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
766 * text2.C (undoSpan): add and use
767 * text.C (breakParagraph): use undoSpan (fix bug 578)
770 2004-01-08 Angus Leeming <leeming@lyx.org>
772 * BufferView_pimpl.C (MenuInsertLyXFile):
773 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
774 * lyxfunc.C (menuNew, open, doImport):
775 FileFilterList change to the FileDialog open and save functions.
777 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
779 * ShareContainer.h: make isEqual and isUnique adaptable
781 * CutAndPaste.C: make resetOwnerAndChanges adaptable
783 2004-01-07 Angus Leeming <leeming@lyx.org>
786 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
788 * BufferView_pimpl.C (dispatch): act on these LFUNs.
790 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
791 functions replacing find, replace and replaceAll.
793 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
794 LFUN_WORDFIND(FORWARD|BACKWARD).
796 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
798 * text.C (breakParagraph): remove an outdated #warning
800 2004-01-07 André Pönitz <poenitz@gmx.net>
802 * lyxfind.C: somewhat clearer logic
804 * text.C: prevent crash in cursorX on unitialized row cache
806 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
808 * lyxcursor.[Ch] (operator>): add
809 * textcursor.C (selStart, selEnd): use std::min and std::max
811 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
813 * Chktex.C: include boost/format.hpp
815 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
817 * InsetList.C: replace functor MathcIt with adaptable functor
819 (insetIterator): modify accordingly
821 * BranchList.h: move the BranchNamesEqual functor here from...
822 * BranchList.C: ... to here
824 * BranchList.C: new BranchListEqual fuctor, use it. Remove
826 (add): replace a finding loop with std::find_if.
828 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
830 * output_docbook.C: moving LatexParam functionality into
833 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
835 * buffer.C: increment format to 229.
837 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
840 * lyx_sty.[Ch]: remove minipageindent_def
846 * text3.C: remove LFUN_INSET_MINIPAGE
848 2003-12-28 Angus Leeming <leeming@lyx.org>
850 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
852 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
854 * text2.C (setParagraph): fix off-by-one crash
856 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
858 * output_docbook.C: header stuff for AGU
860 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
862 * text2.C (redoCursor): remove
865 * BufferView_pimpl.C: remove calls to redoCursor and
866 setCursor(cursor.par(), cursor.pos()) all around
868 2003-12-15 Angus Leeming <leeming@lyx.org>
870 * buffer.C: up the format to 228.
872 2003-12-15 André Pönitz <poenitz@gmx.net>
874 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
879 * BufferView_pimpl.C:
888 2003-12-15 Angus Leeming <leeming@lyx.org>
890 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
891 than getFromGUIName to manipulate the color.
893 2003-12-14 Angus Leeming <leeming@lyx.org>
895 * BranchList.[Ch]: minimize the API.
896 (Branch::getBranch, getColor): now return a 'const &'.
897 (Branch::setSelected) now returns a bool set to true if the
898 selection status changes.
899 (BranchList::clear, size, getColor, setColor, setSelected,
900 allBranches, allSelected, separator): removed.
901 (BranchList::find): new functions, returning the Branch with
903 (BranchList::add, remove): return a bool indicating that
904 the operation was successful.
906 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
907 new InsetBranch::isBranchSlected member function.
909 * LColor.[Ch]: mimimize the API.
910 (fill): renamed as addColor and made private.
911 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
912 versions of these functions taking a string arg have been removed.
914 * bufferparams.C (readToken):
915 * lyxfunc.C (dispatch):
916 * lyxrc.C (read): changes due to the altered BranchList and
919 * factory.C (createInset, readInset): changes due to altered
922 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
925 * lyxfunc.C: remove insetminipage. "minipage-insert"
926 now produces a frameless minipage box inset.
928 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
930 * textcursor.[Ch] (selStart,selEnd): add new methods
931 remove selection::start, end, use LyXCursor::operator<
932 * lyxcursor.[Ch] (operator<): add
933 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
934 * BufferView.[Ch] (unsetXSel): add
935 * text2.C (clearSelection): use unsetXSel,adjust
938 * rowpainter.C: adjust
939 * bufferview_funcs.C (put_selection_at): adjust
941 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
943 * BufferView_pimpl.C: small coord. correction
945 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
947 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
948 dragging over the splash screen.
950 2003-12-11 Angus Leeming <leeming@lyx.org>
952 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
953 as it is now handled in LyXText::dispatch.
955 * text3.C (doInsertInset): remove a level of nesting.
957 2003-12-11 Angus Leeming <leeming@lyx.org>
959 * factory.C (createInset): changes due to the changed interface to
960 InsetCommandMailer::string2params.
962 2003-12-10 Angus Leeming <leeming@lyx.org>
964 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
965 'dialog-show-new-inset <inset name>'
967 2003-12-10 Angus Leeming <leeming@lyx.org>
969 * buffer.C: up the format to 227.
971 * factory.C: the box inset is now identified simply by 'Box'.
973 2003-12-10 Angus Leeming <leeming@lyx.org>
975 * buffer.C: up the format to 226.
977 * factory.C: the note inset is now identified simply by 'Note'.
979 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
981 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
982 when a pit is enough. Standarize a couple of loops.
984 2003-12-05 Angus Leeming <leeming@lyx.org>
986 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
987 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
988 data to the re-worked "log" dialog.
990 2003-12-03 André Pönitz <poenitz@gmx.net>
998 * text2.C: use Inset::getText instead of Inset::getParagraph
1000 2003-12-03 André Pönitz <poenitz@gmx.net>
1004 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1005 InsetText::read() as LyXText::read()
1007 2003-12-02 Angus Leeming <leeming@lyx.org>
1009 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1010 type. Add a comment in the implementation that the function uses
1011 the stream's bad() function rather than fail() as the std::streams
1014 2003-12-02 André Pönitz <poenitz@gmx.net>
1016 * lyxlex.[Ch]: make interface more similar to std::stream
1018 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1020 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1022 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1024 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1026 * vspace.[Ch]: remove VSpace::NONE
1028 2003-12-01 André Pönitz <poenitz@gmx.net>
1031 * lyxtext.h: move ParagraphList member to LyXText
1032 rename LyXText::ownerParagraphs to LyXText::paragraph
1035 * bufferview_funcs.C:
1045 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1047 * undo.C: fix cursor positioning
1049 2003-12-01 John Levon <levon@movementarian.org>
1051 * BufferView_pimpl.C: fix a crash on exit with
1054 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
1056 * BranchList.C: fix setSelected() method.
1058 2003-11-28 André Pönitz <poenitz@gmx.net>
1060 * ParagraphParameters.[Ch]:
1061 * ParameterStruct.h: remove space above/below from Paragraph to
1064 * BufferView_pimpl.C:
1070 * paragraph_funcs.C:
1076 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1078 * factory.C: Syntax change for CharStyles
1080 2003-11-28 André Pönitz <poenitz@gmx.net>
1085 * buffer.[Ch]: move LyXText member
1087 2003-11-28 André Pönitz <poenitz@gmx.net>
1089 * BufferView.[Ch]: make LyXText * text a private member
1091 * BufferView_pimpl.C:
1102 * output_plaintext.C: cleanup
1104 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1107 * lyxtextclass.[Ch]: parametrize SGML document header
1109 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1112 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1115 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1117 * text2.C (setFont): rework using PosIterator (no more recursive)
1118 (setCharFont): no more needed
1119 (setLayout): no more selection cursors fiddling (done by redoCursor)
1120 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1121 destroy remaining ones)
1123 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
1125 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1127 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1130 * text3.C: adjust + re-allow multi par depth changes
1131 * textcursor.C: simplify a bit
1133 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
1139 * src/output_docbook.C:
1140 * src/output_latex.C:
1145 * src/text2.C: Introducing a number of tags parametrizing various
1146 XML formats that we may want to support
1148 2003-11-25 André Pönitz <poenitz@gmx.net>
1150 * InsetList.[Ch] (begein, end): inline as suggested by profiler
1152 * lyxtext.h (leftMargin/rightMargin): simplify interface
1159 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1161 * lyxfunc.C (dispatch): propogate the bibtex databases from the
1162 master file to any child files. Fixes bug 546.
1164 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1166 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1168 2003-11-24 André Pönitz <poenitz@gmx.net>
1170 * rowpainter.C: simplification
1172 * text2.C (updateCounters): remove call to redoParagraph on
1173 changed labels as this is far too expensive.
1175 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1177 * converter.C (convert): fix a crash: this function gets
1178 called with buffer == 0 from importer code.
1180 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1182 * text3.C (cursorPrevious): make sure that we do not compare
1183 iterators form different containers.
1186 * rowpainter.C (paintSelection): make sure that we do not compare
1187 iterators from different containers.
1189 * text3.C (dispatch): [PRIOR] make sure that we do not compare
1190 iterators from different ParagraphList containers.
1193 * text2.C (LyXText): change order of initialization slightly
1194 (operator=): new function. copy all variables except cache_par_
1195 (moveUp): make sure that we do not compare iterators from
1196 different ParagraphList constainers.
1199 * text.C (firstPar): new function
1200 (lastPar): new function
1201 (endPar): new function
1203 * lyxtext.h: move things around and group public functions, public
1204 variables, private functions, private variables
1206 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1208 * factory.C: change call to InsetERT constructor to avoid
1209 additional invocation of method status
1210 * text2.C (toggleInset): remove redundant update() call
1211 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1212 instead of a Bufferview pointer
1214 2003-11-21 André Pönitz <poenitz@gmx.net>
1216 * rowpainter.C: simplification
1218 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1220 * text3.C (dispatch): make possible to extend a word/row selection
1223 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1225 * lyxtext.h: x0_,y0_ -> xo_,yo_
1226 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1227 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1228 * rowpainter.C (paintRows): paint full paragraphs
1230 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1232 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1235 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1237 * lyxtext.h: add x0_, y0_
1238 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1239 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1241 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
1243 * text2.C (setCursorIntern): move the x_target update here *
1244 * text3.C: change some bv() to true/false in calls to
1245 cursorUp/Down/Right/Left
1246 * cursor.C: use helper function.
1248 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1250 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1251 * paragraph_funcs.[Ch]: correct comment
1252 * rowpainter.C: do not paint selections away from bv->cursor()
1253 Fix a long standing selection painting bug.
1254 * text3.C: generalize mouse-selection code to LyXTexts other that
1256 * textcursor.C: do not use y coords if we can use par offsets
1258 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1260 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1261 cursor position after e.g. inset insert)
1263 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
1265 * lyxfind.C (replace): adjust to locking removal + some
1268 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
1270 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1273 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
1276 * output_docbook.C: XML sanitation: new layout
1277 parameters InnerTag and CommandDepth
1279 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
1281 * BufferView_pimpl.C:
1283 * text3.C: Fix the insertion and modification of button-style
1286 2003-11-13 André Pönitz <poenitz@gmx.net>
1288 * InsetList.[Ch]: remove deleteLyXText
1290 * paragraph.[Ch]: cache beginOfBody position
1295 * text3.C: remove superfluous update() calls
1299 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1301 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1302 * BufferView.C (fitLockedInsetCursor): remove
1303 * cursor.[Ch] (getDim): add
1304 * text.C (getRowNearY): add faster version
1305 * text3.C: remove some update calls
1307 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1319 * text3.C: The Character Style /XML short element patch.
1321 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
1324 * factory.C: Small step to solving 'unable to insert some insets'
1327 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1329 * cursor.[Ch] (updatePos): new function for updating the y
1330 position of the tip inset
1331 * bufferview_funcs.C (put_selection_at):
1332 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1334 2003-11-11 André Pönitz <poenitz@gmx.net>
1336 * text.C: remove big comment on invalid Paragraph pointers as it is
1339 2003-11-11 André Pönitz <poenitz@gmx.net>
1341 * text_funcs.[Ch]: merge with ...
1349 * Makefile.am: remove text_funcs.[Ch]
1351 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1353 * cursor.C (getPos): return absolute cached y coord
1355 * BufferView_pimpl.C (fitCursor): new simplistic code
1356 (workAreaDispatch): add a fitCursor call
1358 2003-11-10 André Pönitz <poenitz@gmx.net>
1361 * BufferView_pimpl.[Ch]: merge update() and updateInset()
1363 2003-11-10 André Pönitz <poenitz@gmx.net>
1365 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1366 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1367 indicate that the cursor needs to leave an inset
1369 * lyxtext.h: remove inset locking
1371 * cursor.[Ch]: re-implement functionality provided by inset locking
1374 * BufferView_pimpl.[Ch]:
1376 * bufferview_funcs.[Ch]:
1388 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1390 * PosIterator.[Ch]: replace the stack with a vector, add inset
1392 * iterators.[C]: adjust
1394 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1396 * lyxfind.C (replaceAll): mark the buffer dirty if something was
1398 * paragraph_funcs.C (readParToken): put the correct id in the
1399 error item, not the id of the top paragraph
1401 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1403 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1404 * bufferview_funcs.C (put_selection_at): use the above
1406 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1408 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1410 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1412 * output_linuxdoc.h:
1413 * output_plaintext.h:
1415 * output_docbook.h: add #include statements
1417 2003-11-05 José Matos <jamatos@lyx.org>
1419 * output_docbook.[Ch]:
1420 * output_latex.[Ch]:
1421 * output_linuxdoc.[Ch]:
1422 * output_plaintext.[Ch]: New files for output formats.
1423 * output.[Ch]: New file for helper functions.
1426 * paragraph_funcs.[Ch]: output functions moved to new files.
1428 * outputparams.h: rename of latexrunparams.h
1436 * paragraph_funcs.[Ch]:
1437 * paragraph_pimpl.[Ch]:
1438 * tabular.[Ch]: rename ascii to plaintext
1439 and LatexRunParams to OutputParams.
1441 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1443 * iterators.[Ch] (text): require bv argument
1444 * undo.C (recordUndo):
1445 * lyxfunc.C (dispatch):
1446 * bufferview_funcs.C (put_selection_at): adjust
1448 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
1450 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1452 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1454 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1457 2003-11-04 André Pönitz <poenitz@gmx.net>
1459 * cursor.[Ch]: restructure
1462 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1464 * iterators.[Ch] (asCursor): remove
1466 * lfuns.h: remove LFUN_INSET_EDIT
1472 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1474 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1476 * lyxfind.[Ch]: complete overhaul
1477 * BufferView_pimpl.C:
1479 * paragraph.[Ch] (insert): add
1481 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1485 * text.C: remove dead spellcheck code
1487 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1489 * dispatchresult.h: add a val setter
1491 * cursor.C (dispatch): use a tempvar for data_[i]
1493 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1495 * PosIterator.[Ch]: compile fix
1497 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1499 * text.C (cursorPar): deactivate the cursor cache
1501 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1503 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1505 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1507 * text3.C (dispatch): adjust for new DisptchResult semantics.
1509 * lyxfunc.C (dispatch): handle update when return from
1510 Cursor::dispatch, adjust for new DispatchResult semantics.
1512 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1513 DispatchResult(true) mean to not update. Add class functions for
1514 setting dispatched and update, as well as reading.
1516 * cursor.C (dispatch): don't handle update here
1518 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1520 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1521 * trans_mgr.C: adjust
1523 * paragraph_funcs.C (readParToken): exception safety
1525 * lyxvc.h: store the vcs pointer in a scoped_ptr
1528 * lyxsocket.C (serverCallback): exception safety
1530 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1532 * ispell.C (clone): make it return a auto_ptr
1534 * factory.C (createInset): exception safety
1535 (readInset): exception safety
1537 * bufferlist.C (newBuffer): exception safety
1539 * Thesaurus.C (Thesaurus): use initialization for aik_
1541 * MenuBackend.C (expandToc): exception safety.
1543 2003-11-03 André Pönitz <poenitz@gmx.net>
1547 * bufferview_funcs.C: remove getInsetFromId()
1550 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1556 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1558 * PosIterator.C (distance, advance): new
1559 * bufferview_funcs.[Ch] (put_selection_at): new
1560 * iterators.[Ch] (lockPath): new
1562 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
1564 * iterators.[Ch] (asPosIterator): added
1565 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1566 * PosIterator.[Ch]: added
1568 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1572 * cursor.C (dispatch):
1573 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1575 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1576 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1577 contructor, add a class function dispatched. Remove operator>=
1579 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1581 * debug.C: only use the default constructor for debugstream
1584 * main.C (main): include debug.h and setup the lyxerr streambuf
1587 2003-10-31 José Matos <jamatos@lyx.org>
1589 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1591 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1592 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1593 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1594 * paragraph_pimpl.C (simpleTeXSpecialC):
1595 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1596 add LatexRunParams argument.
1598 * exporter.C (Export): change call accordingly.
1600 * latexrunparams.h: add new member to take care of the other backends.
1601 2003-10-30 José Matos <jamatos@lyx.org>
1603 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1604 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1605 factorise code for paragraph output.
1607 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1610 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1612 * text3.C (dispatch):
1613 * lyxfunc.C (dispatch):
1614 * cursor.C (dispatch):
1615 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1617 * dispatchresult.h: make the dispatch_result_t ctor explicit
1619 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1622 * buffer.C: small refactoring of docbook stuff
1624 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1626 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1629 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1631 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1632 operator dispatch_result_t, and operators for == != and >=
1634 * cursor.C (dispatch): adjust for operator dispatch_result_t
1635 removal. comment out call to update
1637 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1639 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1647 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1650 * dispatchresult.h: new file, DispatchResult broken out of
1653 * Makefile.am (lyx_SOURCES): add dispatchresult.h
1655 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1657 * text.C (rowBreakPoint): put a hack inside #if 0
1659 2003-10-28 André Pönitz <poenitz@gmx.net>
1663 * paragraph_funcs.C:
1666 * text2.C: general cleanup (lots of small stuff)
1668 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1670 * text2.C (cursorEnd): simple fix to the "end key goes to one
1671 before the end on last row" bug
1673 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1675 * text.C (backspace): fix the "zombie characters"
1677 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1679 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1681 2003-10-27 André Pönitz <poenitz@gmx.net>
1683 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1685 * factory.C: handle new InsetPagebreak, InsetLine
1687 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1688 and move handling into new InsetPagebreak, InsetLine
1690 * BufferView_pimpl.C:
1692 * ParagraphParameters.C:
1693 * ParameterStruct.h:
1698 * paragraph_funcs.C:
1699 * paragraph_pimpl.C:
1705 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1708 * lyxrow_funcs.[Ch]:
1714 * text3.C: remove lastPos uses in favour of Row::endpos
1716 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1718 * undo.C (performUndoOrRedo): fix two crashes by setting a
1719 cursor by hand and reordering some calls. Use bv->lockInset instead
1720 of inset->edit because the latter loses cursor information
1722 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
1724 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1726 (rowBreakPoint): fix width. change point to point + 1.
1727 Add a missing check.
1729 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
1732 * lyxfunc.C: fix (at least partly) the problems
1733 with the Nav menu and headers inside branch insets
1736 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
1738 * paragraph.C (getChar): add strong asserts
1740 * lyxrow_funcs.C (lastPos): remove hideous hack
1742 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1743 (fill): adjust to that (avoid an infinite loop)
1745 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1747 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1749 2003-10-23 André Pönitz <poenitz@gmx.net>
1751 * RowList_fwd.h: change list<> to vector<> to gain speed
1752 after suggestion from Alfredo
1754 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1756 * lyxtext.h: move the bidi stuff from here...
1759 * Bidi.[Ch]: ... to here
1761 2003-10-23 André Pönitz <poenitz@gmx.net>
1764 * text.C (isLastRow, isFirstRow): new functions
1766 * paragraph.h: new width cache member
1768 * rowpainter.C: replace RowList::iterator with Row & where possible
1770 * lyxfunc.C: replace several view()->text with a single call
1772 * toc.C: fix 'unused' warning
1774 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1776 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1777 when woring with stream::pos_type
1778 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1780 2003-10-22 André Pönitz <poenitz@gmx.net>
1783 * text.C: use Row & instead of RowList::iterator
1785 * lyxrow.h: rename end() to endpos()
1791 2003-10-22 Angus Leeming <leeming@lyx.org>
1793 * buffer.[Ch] (fully_loaded): new member function, returning true
1794 only when the file has been loaded fully.
1795 Used to prevent the premature generation of previews and by the
1796 citation inset to prevent computation of the natbib-style label.
1798 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1799 templates are all set up.
1801 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1803 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
1805 * text.C: fixed an "oops" in the "is a bit silly"
1808 2003-10-21 André Pönitz <poenitz@gmx.net>
1810 * FuncStatus.[Ch]: small stuff, whitespace
1812 * lyxfont.[Ch]: operator<<() for debug reasons
1816 * lyxtext.h: whitespace, spelling
1818 * paragraph.C: naming of variables
1821 * text2.C: small stuff
1824 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1826 * text.C: (1) finish off the inset display() work;
1827 (2) fix the "is a bit silly" bug (accessing char
1830 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1832 * text.C: re-introduce display() for insets, fixing the
1833 various bugs (stretch of line above, math inset
1836 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1838 * text.C (rightMargin): remove spurious semicolon
1840 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1843 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
1845 * text3.C: fix one crash due to wrong cursor def
1847 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1849 * vc-backend.C (scanMaster): make the regex static
1851 * LaTeX.C (scanAuxFile): make the regexs static
1853 * text3.C (doInsertInset, dispatch, dispatch):
1854 * text2.C (cursorUp, cursorDown):
1855 * text.C (selectNextWordToSpellcheck):
1856 * BufferView_pimpl.C (dispatch):
1857 * lyxfunc.C (dispatch): localDispatch -> dispatch
1859 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1861 * lyxsocket.C: include <cerrno>
1863 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1865 * lyxfunc.C (dispatch): remove textcache stuff
1867 * bufferlist.C (release): remove textcache stuff
1870 * TextCache.C: delete file
1871 * TextCache.h: delete file
1873 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1875 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1876 delete of the bv_->text.
1877 (resizeCurrentBuffer): remove texcache stuff
1878 (workAreaResize): ditto
1880 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1882 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1885 2003-10-16 André Pönitz <poenitz@gmx.net>
1892 * text3.C: speed up by storing y positions per paragraph plus per-row
1893 offset instead of having a 'full' y position in the row.
1895 2003-10-15 André Pönitz <poenitz@gmx.net>
1899 * undo.[Ch]: make undo aware of inner insets
1901 2003-10-14 Angus Leeming <leeming@lyx.org>
1903 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1904 static member functions LyX::ref() and LyX::cref.
1905 (lastfiles): new accessor functions for the new lastfiles_ member var.
1906 (addLyXView, views_): add a new LyXView to the list of views_.
1907 (updateInset): loop over all LyXViews to call their own updateInset
1908 member function, returning a pointer to the Buffer owning the inset.
1910 * BufferView_pimpl.C (loadLyXFile):
1911 * MenuBackend.C (expandLastfiles):
1912 * bufferlist.C (MenuWrite, QuitLyX):
1913 lastfiles is no longer a global variable.
1914 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1916 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1917 static function. Access through LyX::cref().emergencyCleanup().
1919 2003-10-14 André Pönitz <poenitz@gmx.net>
1921 * iterators.[Ch]: new direct access to innermost LyXText and Inset
1923 * undo.[Ch]: restoring part of 'undo in insets'
1926 * undo_funcs.[Ch]: merge with undo.[Ch]
1928 * tabular.C: small cleansing stuff
1930 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
1932 * paragraph_funcs.C (readParToken): report unknown insets as error
1933 boxes. Use the outer paragraph as location (also for unknown
1936 * factory.C (readInset): do not abort on reading an unknown inset.
1937 Eat it and return 0.
1939 2003-10-13 Angus Leeming <leeming@lyx.org>
1941 * lyx_main.C (LyX): remove call to setDisplayTranslator().
1943 * lyxrc.C: displayTranslator is now a function,
1944 declared in GraphicsTypes.h.
1946 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1948 * format.C: new placeholder $$a to pass the socket address.
1950 * bufferlist.[Ch]: new function getBufferFromTmp.
1952 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1953 files in the temporary dir.
1955 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1957 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1959 * Makefile.am: add lyxsocket.[Ch].
1961 * lyx_main.C (error_handler): handle SIGPIPE.
1963 2003-10-13 André Pönitz <poenitz@gmx.net>
1965 * BufferView_pimpl.C:
1970 * undo_funcs.[Ch]: use paroffset_type instead of
1971 ParagraphList::iterators to prevent multiple conversion
1972 (and get a more robust interface)
1974 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1976 * lyxfunc.C (dispatch): RESULT -> dispatch_result
1978 * text3.C (dispatch): ditto
1980 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1982 * LaTeX.C (handleFoundFile): move the static to smaller scope,
1983 move the onlyfile, use onlyfile instead of foundfile in a couple
1986 * DepTable.C (update): flush the error stream a bit more
1988 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1990 * lyxserver.C (callback): adjust
1992 * lyxfunc.C (getStatus): add a missing brace in commented code
1993 (ensureBufferClean): reindent
1994 (dispatch): delete version taking a string
1996 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1998 * LaTeX.C (deplog): move found file handlig from here...
1999 (handleFoundFile): .. to new function here.
2000 (deplog): make sure to discover several files mentioned on the
2003 2003-10-10 André Pönitz <poenitz@gmx.net>
2010 * text3.C: fix some of the tabular crashes
2012 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2014 * MenuBackend.C (binding): put debug message into Debug::KBMAP
2016 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2018 2003-10-09 André Pönitz <poenitz@gmx.net>
2020 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2023 * BufferView_pimpl.C:
2024 * bufferview_funcs.C:
2035 * undo_funcs.C: adjust
2037 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2039 * text2.C (incrementItemDepth): new function, use a backtracking
2040 algorithm to discover the correct item depth.
2041 (resetEnumCounterIfNeeded): new function, use a backtracking
2042 algorithm to discover if counter reset is needed.
2043 (setCounter): use them. Simplify a bit. Add different labels for
2044 different item depths for itemize.
2046 * paragraph.C (Paragraph): remove initialization of enumdepth
2049 * paragraph.h: get rid of enumdepth, and use itemdepth both for
2050 enumerate and itemize. Change the type of itemdepth to signed char.
2052 2003-10-08 André Pönitz <poenitz@gmx.net>
2054 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2059 * tabular.[Ch]: fix crash after 'row-insert'
2061 2003-10-08 Angus Leeming <leeming@lyx.org>
2063 Fix doxygen warnings.
2065 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2066 Remove CutAndPaste:: prefix from header file declaration.
2068 * LColor.h (fill): remove LColor:: prefix from declaration.
2070 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2071 use lyx::depth_type rather than Paragraph::depth_type so that
2072 header file and .C file match.
2074 * converter.h (intToFormat): remove Converters:: prefix from declaration.
2076 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2077 * aspell.C: \file aspell_local.C -> \file aspell.C
2078 * gettext.C: \file gettext.C -> \file src/gettext.C
2079 * gettext.h: \file gettext.h -> \file src/gettext.h
2080 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2081 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2082 * text.C: \file text.C -> \file src/text.C
2084 * toc.C: move comment so that doxygen is not confused.
2086 2003-10-07 Angus Leeming <leeming@lyx.org>
2088 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2090 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2093 * aspell_local.h: add forgotten std::string's.
2095 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2102 * text3.C: The Box patch. Fancybox support, minipage, parbox
2104 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2110 * ParagraphParameters.h:
2120 * lyxtextclasslist.h:
2123 * paragraph_pimpl.C:
2124 * textcursor.h: add <string> and other small fixes to make Lars'
2125 std::string patch compile with STLport.
2127 2003-10-06 Angus Leeming <leeming@lyx.org>
2129 * LColor.h: Add missing #include <string>.
2131 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2133 * All most all file in all subdirs: Make <string> be the prefered
2134 way of getting to std::string, add using declarations.
2136 2003-10-06 André Pönitz <poenitz@gmx.net>
2138 * metricsinfo.C: initialize LyXFont before changing attribute.
2139 (fixes the 'math in \emph is upright' bug)
2141 2003-10-06 André Pönitz <poenitz@gmx.net>
2143 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2145 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
2148 * paragraph_pimpl.C: Small fixes to build using STLport
2150 2003-10-02 André Pönitz <poenitz@gmx.net>
2153 * text3.C: move handling of LFUN_DEPTH *; fix #1360
2155 2003-10-01 André Pönitz <poenitz@gmx.net>
2157 * factory.C: assert early
2159 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2161 * lyx_main.C: remove the global debug object
2163 * debug.h: adjust for new debugstream
2165 * debug.C: adjust for new debugstream and keep the global debug
2168 2003-09-22 Angus Leeming <leeming@lyx.org>
2170 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2171 of g++ which otherwise complain that the scoped_ptr destructor can't delete
2172 an incomplete class LyXFont.
2174 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2176 * factory.C: bug fix in branches
2178 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2180 * lyxfunc.C (processKeySym): adjust
2182 (dispatch): change arg name from ev to func, adjust
2183 (sendDispatchMessage): ditto
2185 * lyx_main.C (defaultKeyBindings): adjust keybindings
2186 (deadKeyBindings): ditto
2188 * kbsequence.C (addkey): return a FuncRequest
2190 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2192 * kbmap.C (bind): take a FuncRequest as arg, adjust
2195 (defkey): change to take a FuncRequest as arg, adjust
2196 (findbinding): take a FuncRequest as arg, adjust.
2198 * funcrequest.h (operator=): added
2200 * funcrequest.C (FuncRequest): default kb_action changed from
2201 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2203 * buffer.C (dispatch): simplify
2204 (dispatch): adjust to take a FuncRequest as arg, adjust
2206 * boost.C (assertion_failed): change assertion message slightly
2208 * ToolbarBackend.C (read): simplify
2210 * MenuBackend.C (binding): adjust call to findbinding, add a
2211 message if no binding is found.
2213 (expandToc): correct by adding a empty FuncRequest
2215 * LyXAction.C: include <boost/assert.hpp>
2216 (isPseudoAction): delete function
2217 (LookupFunc): change name to...
2218 (lookupFunc): this. change return type to FuncRequest.
2219 (getActionName): take kb_action as arg, simplify
2220 (funcHasFlag): add an assert, simplify.
2222 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2224 * toc.C (action): return a FuncRequest, simplify
2226 * lyxfunc.C (processKeySym): adjust
2227 (getStatus): delete version that takes an int.
2229 (dispatch): delete version that takes action as int
2231 (sendDispatchMessage): simplify and adjust
2233 * funcrequest.C (getArg): take unsigned int as arg
2235 * ToolbarBackend.C (read): adjust
2236 (add): delete version that takes func as a string.
2237 (getIton): take a FuncRequest as arg
2239 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2242 * MenuBackend.C (MenuItem): add a new construct that only takes a
2243 Kind, simplify the constructor use for submenus.
2245 (expandLastfiles): adjust
2246 (expandDocuments): adjust
2247 (expandFormats): adjust
2248 (expandFloatListInsert): adjust
2249 (expandFloatInsert): adjust
2250 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2252 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2253 Remove class variables lyx_pseudo_map and lyx_arg_map
2255 * LyXAction.C (searchActionArg): delete function
2256 (getPseudoAction): delete function
2257 (retrieveActionArg): delete function
2258 (LookupFunc): make it return kb_action, simplify.
2259 (getActionName): simplify
2261 * factory.C (createInset): fix new bug
2263 2003-09-19 Angus Leeming <leeming@lyx.org>
2265 * CutAndPaste.C (pasteSelection): remove fudge used to set the
2266 masterFilename_ parameter in the include inset.
2268 * factory.C (createInset): changes due to the changes to InsetInclude.
2270 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2272 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2274 2003-09-18 Angus Leeming <leeming@lyx.org>
2277 * BufferView.C: pass the buffer when calling Inset::getLabelList,
2278 Inset::fillWithBibKeys.
2279 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2281 2003-09-18 Angus Leeming <leeming@lyx.org>
2283 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2285 (ctor): pass and store a 'Buffer const &'
2286 (buffer): new member function.
2288 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2289 '*this' to the LaTeXFeatures ctor.
2291 2003-09-18 Angus Leeming <leeming@lyx.org>
2297 * text.C: rename EnumLColor as LColor_color.
2299 2003-09-18 Angus Leeming <leeming@lyx.org>
2301 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2302 remove #include "insets/insetbase.h" from cursor.h.
2304 2003-09-18 Angus Leeming <leeming@lyx.org>
2306 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2307 InsetOld_code to remove #include "inset.h".
2309 * iterators.C: add #include "insets/inset.h"
2311 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
2313 * BufferView.C: remove more locking stuff that apparently doesn't
2314 do anything sensible.
2316 2003-09-16 André Pönitz <poenitz@gmx.net>
2319 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2322 2003-09-16 Angus Leeming <leeming@lyx.org>
2324 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2326 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2329 * paragraph.h: remove #include "lyxfont.h". Forward declare
2332 2003-09-16 Angus Leeming <leeming@lyx.org>
2334 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2335 of support/textutils.h.
2336 (isWord): move the contents of support/textutils.h's IsWordChar here.
2342 * text2.C: add #include "paragraph.h".
2345 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2347 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2353 * LaTeX.C: use namespace alias for lyx::support::os
2355 2003-09-16 Angus Leeming <leeming@lyx.org>
2358 * bufferview_funcs.C:
2361 * paragraph_pimpl.C:
2363 * text.C: add #include "LColor.h".
2365 2003-09-16 Angus Leeming <leeming@lyx.org>
2367 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2368 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2370 Store the FontBits::color variable as an int rather than as an
2371 LColor::colorso that we can move LColor.h out of the lyxfont.h header
2374 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2375 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2376 string calls together.
2378 * lyxrc.C: add #include "LColor.h".
2380 2003-09-15 Angus Leeming <leeming@lyx.org>
2382 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2385 2003-09-15 Angus Leeming <leeming@lyx.org>
2387 * LColor.h: add an EnumLColor wrapper for LColor::color.
2389 * lyxfont.[Ch] (color, setColor, realColor):
2390 * lyxtext.h, text.C (backgroundColor):
2391 pass EnumLColor args to/from the functions, rather than LColor::color
2395 * lyxtext.h: forward declare EnumLColor.
2397 * lyx_main.C: add #include "LColor.h".
2399 2003-09-15 Angus Leeming <leeming@lyx.org>
2401 * .cvsignore: add lyx-gtk.
2403 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2408 * ParagraphParameters.C
2412 * bufferview_funcs.C
2422 * vc-backend.C: remove usage of STRCONV
2424 2003-09-15 Angus Leeming <leeming@lyx.org>
2426 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2427 explicitly define the color passed to the painter.
2429 2003-09-15 Angus Leeming <leeming@lyx.org>
2431 * bufferparams.C (BufferParams): reorder member initializers to avoid
2434 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
2436 * CutAndPaste.C (pasteSelection): remove an outdated #warning
2437 * text.C (updateRowPositions): remove an unusual nop
2439 2003-09-12 André Pönitz <poenitz@gmx.net>
2441 * BufferView_pimpl.C:
2450 * Counters.[Ch]: finish the 'automatic counters' job
2452 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2454 * aspell.C: include <boost/assert.cpp> (compile fix)
2456 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
2458 * boost.C (assertion_failed): use lyx::support::abort instead of
2461 2003-09-10 Angus Leeming <leeming@lyx.org>
2463 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2464 with their _fwd progeny.
2466 2003-09-09 Angus Leeming <leeming@lyx.org>
2468 134 files throughtout the source tree: replace 'using namespace abc;'
2469 directives with the appropriate 'using abc::xyz;' declarations.
2471 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2473 * boost.C (emergencyCleanup): moved here from LAssert.c
2474 (assertion_failed): new function, called by BOOST_ASSERT
2476 * several files: change Assert to BOOST_ASSERT
2478 2003-09-09 Angus Leeming <leeming@lyx.org>
2480 * buffer.[Ch]: Add an Impl class and move Buffer's member
2481 variables into it. As a result move several header files out of
2484 Add header files to lots of .C files all over the tree as a result.
2486 2003-09-09 Angus Leeming <leeming@lyx.org>
2488 * buffer.[Ch]: make Buffer's member variables private. Add
2491 Lots of changes all over the tree as a result.
2493 2003-09-08 Angus Leeming <leeming@lyx.org>
2495 * graph.C: #include <config.h>.
2497 2003-09-08 Angus Leeming <leeming@lyx.org>
2501 * BufferView_pimpl.C:
2530 * toc.C: remove redundant using directives.
2532 2003-09-07 Angus Leeming <leeming@lyx.org>
2534 * LaTeXFeatures.h: remove #include "support/types.h".
2535 * ToolbarBackend.h: remove #include <algorithm>.
2536 * changes.h: remove #include <ctime>.
2537 * debug.h: remove #include <iosfwd>.
2538 * graph.h: remove #include "support/std_string.h".
2539 * lyx_main.h: remove #include <csignal>.
2540 * lyxlex_pimpl.h: remove #include <fstream>.
2541 * sgml.h: remove #include <algorithm>, <utility>.
2542 * toc.h: remove #include "support/std_ostream.h".
2543 Add #include <iosfwd>.
2545 2003-09-07 Angus Leeming <leeming@lyx.org>
2547 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2549 * converter.h: forward declare LatexRunParams.
2550 * encoding.h: remove #include "lyxrc.h".
2551 * lyxtext.h: remove #include "LColor.h".
2552 * lyxtextclass.h: remove #include "support/types.h".
2553 * trans.h: remove #include "tex-accent.h".
2554 * trans_mgr.h: remove #include "tex-accent.h".
2555 * insets/inset.h: remove #include "support/types.h", <vector>.
2556 * insets/insetcollapsable.h: remove #include "LColor.h".
2557 * insets/insetinclude.h: remove #include "dimension.h".
2558 * insets/insetlatexaccent.h: remove #include "dimension.h".
2559 * insets/insetoptarg.h:: remove #include "insettext.h".
2560 * insets/insettext.h: remove #include "dimension.h",
2561 <boost/shared_ptr.hpp>
2563 * insets/renderers.h: add #include "dimension.h".
2564 * insets/updatableinset.h: add #include "support/types.h".
2566 * many .C files: Associated changes.
2568 2003-09-06 Angus Leeming <leeming@lyx.org>
2570 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2571 one, inside testInvariant.
2573 * PrinterParams.C: new file.
2574 * PrinterParams.[Ch]: move the function bodies out of line.
2576 2003-09-06 Angus Leeming <leeming@lyx.org>
2578 * ParagraphParameters.h: forward declare ParameterStruct rather than
2579 including its header file.
2580 (depth): moved out-of-line.
2582 2003-09-06 Angus Leeming <leeming@lyx.org>
2584 * BufferView_pimpl.h:
2587 * lyxfunc.h: forward declare LyXKeySym rather than
2588 #include "frontends/LyXKeySym.h".
2590 * BufferView_pimpl.C:
2593 * lyxfunc.C: associated changes.
2595 2003-09-06 Angus Leeming <leeming@lyx.org>
2597 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2598 As a result, can remove the #include "insets/inset.h" from BufferView.h
2600 2003-09-06 Angus Leeming <leeming@lyx.org>
2602 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2603 As a result, can remove the #include "insets/inset.h" from BufferView.h
2605 2003-09-06 Angus Leeming <leeming@lyx.org>
2611 * bufferview_funcs.C:
2612 * BufferView_pimpl.C:
2617 * ParagraphParameters.C:
2622 * frontends/controllers/ControlDocument.C:
2623 * insets/insetcaption.C: rearrange the #includes into some sort of
2626 * buffer.h: remove #includes ErrorList.h, undo.h
2628 2003-09-06 Angus Leeming <leeming@lyx.org>
2630 * support/types.h: add a 'depth_type' typedef, used to store the
2631 nesting depth of a paragraph.
2634 * ParameterStruct.h: use this lyx::depth_type typedef rather than
2635 defining explicitly.
2638 * paragraph_funcs.h:
2639 * ParagraphParameters.h:
2640 * sgml.h: use lyx::depth_type rather than Paragraph or
2641 ParameterStruct's depth_type.
2644 * paragraph_funcs.h: no need to #include paragraph.h anymore.
2647 * BufferView_pimpl.C:
2649 * ParagraphParameters.C:
2652 * bufferview_funcs.C:
2659 * frontends/LyXView.C:
2660 * frontends/controllers/ControlDocument.C:
2661 * frontends/controllers/ControlErrorList.C:
2662 * insets/insetbibitem.C:
2663 * insets/insetbranch.C:
2664 * insets/insetcaption.C:
2665 * insets/insetcollapsable.C:
2666 * insets/insetenv.C:
2667 * insets/insetert.C:
2668 * insets/insetfloat.C:
2669 * insets/insetfoot.C:
2670 * insets/insetfootlike.C:
2671 * insets/insetnewline.C:
2672 * insets/insetquotes.C:
2673 * insets/insettabular.C:
2674 * insets/insettext.C:
2675 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2677 * frontends/controllers/ControlChanges.C: #include "changes.h".
2679 2003-09-06 Angus Leeming <leeming@lyx.org>
2681 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2682 than #including paragraph.h.
2685 * RowList.h: deleted. Superfluous.
2695 * insets/insettext.h: use ParagraphList_fwd.h rather than
2698 * paragraph.h: don't forward declare ParagraphList.
2701 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2702 rather than ParagraphList.h. paragraph.h is still needed for the
2703 Paragraph::depth_type parameters.
2705 * textcursor.h: enable it to compile stand-alone in light of the
2708 * bufferview_funcs.C:
2720 * frontends/controllers/ControlParagraph.C:
2721 * frontends/controllers/ControlTabular.C:
2722 * insets/insetmarginal.C:
2723 * insets/insetminipage.C:
2724 * insets/insetnote.C:
2725 * insets/insetoptarg.C: add header files needed to compile again.
2727 2003-09-06 Angus Leeming <leeming@lyx.org>
2729 * RowList_fwd.h: new file, forward-declaring Row rather than
2730 #including lyxrow.h.
2735 * insets/insettext.h: use it instead of RowList.h
2737 * bufferview_funcs.C:
2744 * text3.C: #include "RowList.h".
2746 2003-09-05 Angus Leeming <leeming@lyx.org>
2748 * factory.C (createInset):
2749 * vspace.C (c-tor): replace sscanf call with an istringstream.
2750 * ispell.C: re-add missing HP/UX headers.
2751 * lyxserver.C: re-add missing os2 headers.
2753 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
2762 * text3.C: re-add missing system headers, needed for 2.95.2.
2764 2003-09-05 Angus Leeming <leeming@lyx.org>
2766 Changes most place everywhere due to the removal of using directives
2767 from support/std_sstream.h.
2769 2003-09-05 Angus Leeming <leeming@lyx.org>
2771 Replace LString.h with support/std_string.h,
2772 Lsstream.h with support/std_sstream.h,
2773 support/LIstream.h with support/std_istream.h,
2774 support/LOstream.h with support/std_ostream.h.
2776 Changes resulting throughout the tree.
2778 2003-09-05 Angus Leeming <leeming@lyx.org>
2780 * sgml.h: ensure that the header file can be compiled stand-alone.
2781 * *.C: strip out redundant #includes. (320 in total.)
2783 2003-09-04 Angus Leeming <leeming@lyx.org>
2785 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2786 here (from getPackages).
2788 * debug.[Ch]: add a new EXTERNAL tag.
2790 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2792 * text2.C (cursorEnd): simplify
2794 (getColumnNearX): adjust
2796 * text.C (computeBidiTables): adjust
2799 * rowpainter.C (paintChars): adjust
2800 (paintSelection): adjust
2801 (paintChangeBar): adjust
2804 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2806 (numberOfSeparators): adjust
2808 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2814 * text3.C: Restricts the mouse click functionality
2815 of insets like bibtex, include, toc and floatlist to the visible
2816 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2817 up the dialogs. Cursor has to be in front of the inset (i.e.
2818 start of row) for this to function.
2820 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2822 * bufferview_funcs.C (currentState): output row information
2824 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2826 * bufferview_funcs.C (currentState): output paragraph position
2828 2003-09-04 Angus Leeming <leeming@lyx.org>
2830 * FloatList.h: move out #include "Floating.h".
2831 * LaTeX.h: move out #include "DepTable.h".
2832 * LyXAction.h: move out #include "funcrequest.h".
2833 * buffer.h: move out #include "author.h", "iterators.h".
2834 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2835 * lyx_main.h: move out #include "errorlist.h".
2836 * lyxfunc.h: move out #include "FuncStatus.h".
2837 * lyxtext: move out #include "lyxcursor.h".
2838 * paragraph_pimpl.h: move out #include "counters.h".
2840 2003-09-03 Angus Leeming <leeming@lyx.org>
2842 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2843 preamble_snippets list, enabling us to add snippets to the preamble
2844 only if the snippet was not there already.
2846 2003-09-04 Angus Leeming <leeming@lyx.org>
2848 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2850 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2852 * lyxfunc.C (dispatch): if fitCursor did something be sure to
2855 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2857 * BranchList.C: point fix, earlier forgotten
2859 2003-09-02 Angus Leeming <leeming@lyx.org>
2861 * box.C (contains): renamed from 'contained' after a fantastic
2864 2003-09-02 John Levon <levon@movementarian.org>
2870 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2872 2003-09-02 John Levon <levon@movementarian.org>
2874 * text2.C: simplification of cursorEnd(), including partial
2877 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2879 * buffer.C (readFile): add a space
2881 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
2883 * BufferView_pimpl.C (update): remove bogus fitCursor() call
2885 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2887 * buffer.C (readFile): new function, take a filename and a
2888 ParagraphList::iterator
2890 (readFile): adjust, make it private. don't use setStream, make
2891 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2892 always contain the filename.
2894 * BufferView.C (insertLyXFile): simplify and make it work for
2897 2003-08-30 John Levon <levon@movementarian.org>
2899 * Makefile.am: fix dist (from Kayvan)
2901 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2903 * most files: change to use const Buffer refs
2905 2003-08-27 André Pönitz <poenitz@gmx.net>
2907 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2908 on top of ownerPar().
2910 2003-08-27 John Levon <levon@movementarian.org>
2912 * funcrequest.C: properly initialise POD members
2914 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2916 * lyxtext.h (top_y): move top_y from here
2921 * BufferView_pimpl.[Ch]: to here
2922 * frontends/screen.C:
2923 * insets/insettabular.C:
2924 * insets/insettext.C: adjust
2925 * rowpainter.[Ch] (paintRows): remove LyXText & argument
2927 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2930 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2932 2003-08-26 André Pönitz <poenitz@gmx.net>
2934 * paragraph_func.[Ch] (outerPar): new function
2937 * paragraph_funcs.C:
2938 * paragraph_funcs.h:
2939 * paragraph_pimpl.C:
2940 * text2.C: remove Inset::par_owner
2942 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2947 * text2.C: eliminates the needFullRow/display() stuff
2948 altogether, putting the logic in metrics/draw in the insets.
2950 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
2952 * text2.C (redoParagraphInternal, redoParagraphs):
2953 * text.C (redoParagraph): add a call to updateRowPositions at the
2954 end of each 'metrics-like' call. Remove all others.
2955 (getRow): remove the 'y-computing' version.
2956 (getRowNearY): do not compute nor return the real y. Solve the
2957 'y < 0' problem and simplify.
2959 2003-08-22 Angus Leeming <leeming@lyx.org>
2961 * *.[Ch]: clean-up of licence and author blurbs.
2962 Also move config.h out of a few .h files and into a few .C files.
2964 2003-08-22 André Pönitz <poenitz@gmx.net>
2966 * lyxrow.[Ch]: add x_ and *fill_ members
2971 * text2.C: adjust/remove prepareToPrint() calls
2973 2003-08-22 André Pönitz <poenitz@gmx.net>
2975 * lyxrow.[Ch]: add end_ member
2977 * lyxrow_funcs.C: use LyXRow::end_
2979 * lyxtext.h (singleWidth): add LyXFont parameter
2982 * text2.C: adjust LyXText::singleWidth() calls
2984 * text.C (redoParagraph): simplify row breaking logic
2987 2003-08-19 André Pönitz <poenitz@gmx.net>
2989 * funcrequest.C: initialize button_ member
2992 * rowpainter.[Ch]: interface consolidation
2994 2003-08-18 André Pönitz <poenitz@gmx.net>
2997 * BufferView_pimpl.C:
2999 * paragraph_funcs.C:
3001 * text3.C: remove LyXScreen::draw() and fitCursor calls
3003 * BranchList.h: remove spurious semicolons
3005 * MenuBackend.C: fix branchlist related crash
3007 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
3015 * bufferparams.[Ch]:
3019 * text3.C: implements the 'branch inset'
3020 idea. This allows the output of various versions of a document
3021 from a single source version, selectively outputing or suppressing
3022 output of parts of the text.
3023 This implementation contains a 'branch list editor' in a separate
3024 tab of the document settings dialog. Branches are user definable
3025 and have a "display colour" to distinguish them on-screen.
3027 ColorHandler was somewhat cleaned up.
3028 (1) make possible a dynamically growing LColor list by allowing
3029 the graphic context cache to grow along (vector);
3030 (2) eliminate an IMHO unnecessary step in colour allocation.
3032 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
3034 * BufferView_pimpl.C: compile fix
3036 2003-08-15 André Pönitz <poenitz@gmx.net>
3038 * rowpainter.C: remove extra metrics calls
3040 * lyxtext.h: merge the two constructors into a single one,
3041 pass reference to owner's par list
3043 * BufferView_pimpl.C:
3047 2003-08-15 André Pönitz <poenitz@gmx.net>
3049 * lyxrow_funcs.[Ch]:
3052 * paragraph_funcs.C:
3057 * text_funcs.C: split LyXText::rowlist_ into individual
3058 Paragraph::rows_ chunks
3061 * BufferView_pimpl.[Ch]:
3064 * text3.C: remove toggleSelection()
3066 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
3068 * bufferlist.C: beautify two alerts (shorter text of buttons)
3069 * buffer.C: Remove redundant ' ' from message
3071 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3072 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3073 rename VALIGN_CENTER to VALIGN_MIDDLE
3075 2003-08-11 André Pönitz <poenitz@gmx.net>
3077 * lyxtext.h (getPar):
3078 * text.C: new function
3080 2003-08-11 André Pönitz <poenitz@gmx.net>
3083 * tracer.[Ch]: remove unneeded files
3085 * InsetList.[Ch]: remove resizeInsetsLyXText()
3090 * text3.C: merge insertParagraphs() and appendParagraph()
3091 remove breakAgain(), update()
3093 * BufferView_pimpl.[Ch]:
3094 * bufferview_funcs.[Ch]:
3098 * tabular.C: adjust after text & InsetList changes.
3100 2003-08-08 André Pönitz <poenitz@gmx.net>
3102 * text.C (insertChar, backspace): replace rowlist fiddling
3103 with rebreak of full par
3106 * text.C (breakAgainOneRow, redoHeightOfParagraph,
3107 checkParagraph, updateInset): removed
3109 2003-08-07 André Pönitz <poenitz@gmx.net>
3112 * text3.C: merge some LFUN handlers, remove dead code
3114 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3116 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3118 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
3120 * text2.C (DEPM): fix part of bug 1255 and 1256
3122 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3124 * BufferView_pimpl.C (workAreaDispatch): change to use
3125 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3126 that are no mouse related.
3128 2003-08-05 André Pönitz <poenitz@gmx.net>
3131 * BufferView_pimpl.[Ch]:
3132 * bufferview_funcs.C:
3134 * text3.C: rip out "deep update"
3136 * textcursor.[Ch] (last_sel_cursor): remove unused member
3138 2003-08-04 André Pönitz <poenitz@gmx.net>
3141 * BufferView_pimpl.[Ch]:
3142 * ParagraphParameters.C:
3143 * bufferview_funcs.C:
3149 * text3.C: replace "complicated" BufferView::update(...) calls with
3152 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3154 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
3156 * Makefile.am (lyx_SOURCES): add paper.h
3158 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3160 * Makefile.am: move things around so that both lyx-qt and
3161 lyx-xforms can be built (according to --with-frontend). Then lyx
3162 is a symbolic link to lyx-[firstfrontend]
3164 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
3166 * Always use std::endl with lyxerr
3168 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
3170 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3172 2003-08-01 André Pönitz <poenitz@gmx.net>
3175 * BufferView_pimpl.[Ch]:
3177 * text3.C: merge BufferView::repaint() and BufferView::update()
3179 2003-08-01 José Matos <jamatos@lyx.org>
3181 * buffer.[Ch]: file_format is no longer a buffer data element.
3183 2003-08-01 André Pönitz <poenitz@gmx.net>
3188 * text2.C: make redoParagraph more independent of current cursor
3190 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3192 * text2.C: remove unneeded members
3194 2003-07-30 André Pönitz <poenitz@gmx.net>
3196 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3198 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3199 create a single function...
3201 * paragraph_funcs.C (moveItem): ... here.
3204 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3206 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3208 * LColor.[Ch]: Add comment and greyedout logical colors.
3210 2003-07-30 André Pönitz <poenitz@gmx.net>
3212 * tabular.C: don't use Assert too heavily. This crashes where it
3215 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
3217 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3218 is disabled (bug 1232)
3220 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3222 * factory.C: limited 'arg' scope
3224 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3226 * factory.C: fixed Note submenu issues
3228 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3230 * factory.C: submenu for Note/Comment/Greyedout
3232 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
3235 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3237 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
3240 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3241 greyedout. Patch provided by Jürgen Spitzmüller.
3243 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3245 * kbmap.C (read): fix error message when reading bind files
3247 2003-07-29 Angus Leeming <leeming@lyx.org>
3249 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3250 certainly does not do what it purports to do. I am doing it, and
3251 us, a favour by killing it.
3253 2003-07-28 José Matos <jamatos@lyx.org>
3255 * buffer.C (readBody, do_writeFile):
3256 * paragraph.C(readParagraph): \end_document replaces \the_end.
3258 2003-07-29 André Pönitz <poenitz@gmx.net>
3261 * BufferView_pimpl.[Ch]:
3265 * textcursor.[Ch]: remove toggleToggle & Co
3267 2003-07-28 José Matos <jamatos@fep.up.pt>
3269 * buffer.C (readParagraph):
3270 * params_func (readParToken, readParagraph):
3271 * paragraph.C (write): \layout -> \begin_layout.
3273 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3275 * lyxlex_pimpl.C (setFile): clean up slightly.
3277 * bufferparams.h: add compressed var
3279 * buffer_funcs.C (readFile): adjust for LyXLex change
3280 (newFile): ditto + simplify
3282 * buffer.C (writeFile): handle writing of compressed files
3284 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3285 Check if the file is compressed and set a bufferparm if so.
3287 * Makefile.am (lyx_LDADD): remove explicit -lz
3289 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3291 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3292 makeDocBookFile): put the real LyX version in the first line of
3296 * version.C.in: remove lyx_docversion
3298 * tabular.C (write_attribute): add a template-based version to
3299 write enums properly
3301 2003-07-28 André Pönitz <poenitz@gmx.net>
3306 * text3.C: use doubles again for x-coordinates. They are needed.
3308 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3310 * messages.C (getLocaleDir): use lyx_localedir()
3312 * lyxlex_pimpl.C (setFile): compress stuff
3314 * buffer.C (writeFile): add some compression stuff
3315 (do_writeFile): new func, dont call expliti close... will this
3318 * Makefile.am (lyx_LDADD): add -lz
3320 2003-07-28 José Matos <jamatos@fep.up.pt>
3322 * buffer.C: increment file format.
3323 * paragraph_funcs (readParagraph, readParToken):
3324 * paragraph.C (readParagraph): add \end_layout.
3326 2003-07-27 Angus Leeming <leeming@lyx.org>
3328 * Makefile.am: remove special casing for configure-time setting of
3329 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3331 * lyx_main.C (init): remove all Jean-Marc's magic setting of
3332 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3334 2003-07-26 André Pönitz <poenitz@gmx.net>
3336 * paragraph_func.[Ch]:
3337 * paragraph.C (realizeFont): inline it whereever it is used
3342 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3345 2003-07-26 André Pönitz <poenitz@gmx.net>
3349 * text2.C: get rid of LyXText::need_break_row
3351 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3353 * toc.[Ch]: put namespace toc inside namespace lyx
3355 * MenuBackend.C (expandToc2): adjust for lyx::toc
3358 * lyxfunc.C (dispatch): adjust for lyx::find
3360 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3361 lyx::find instead. Reorganize a bit.
3362 (LyXReplace): rename to replace
3363 (LyXFind): rename to find
3365 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3368 2003-07-26 André Pönitz <poenitz@gmx.net>
3370 * text.C (setHeightOfRow): restrict scope of temporary variable
3372 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
3373 code (never has been used?)
3375 2003-07-27 Asger Alstrup <alstrup@local>
3377 * text.C (fill): Optimise algorithm to exploit that we can reuse
3378 the LyXFont for many characters.
3379 (setHeightOfRow): Same thing.
3380 (rowBreakPoint): Same thing.
3382 2003-07-26 Asger Alstrup <alstrup@local>
3384 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3386 * text.C (singleWidth): Spurious font copying in hot-spot
3387 singleWidth avoided. Reorder tests for arabic for efficiency.
3389 * text.C (fill): handle empty paragraphs better.
3391 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3394 * encoding.h: add includes
3396 * lyxrc.C: remove reading of bind files
3398 * lyx_main.C (init): setup bindings and menus only if we have a
3401 * kbmap.C (read): new method. Do the actual reading of bind
3404 * converter.C (dvipdfm_options):
3407 (output): adapt PAPER_* enums.
3409 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3411 * bufferparams.h: remove paper-related enums from there
3413 * paper.h: New file. A trivial header file to hold paper-related
3414 enums. It should later expand to contain many paper-related
3417 * lyxrc.C: declare extern displayTranslator
3419 2003-07-27 José Matos <jamatos@fep.up.pt>
3421 * tabular.[Ch] (linuxdoc): add support for tables and figures
3424 2003-07-27 José Matos <jamatos@fep.up.pt>
3426 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3427 consistency in both functions.
3428 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3430 2003-07-26 Asger Alstrup <alstrup@local>
3432 * rowpainter.C (paintRows): Change algorithm to work directly on
3433 the insets rather than asking every character in the document
3434 whether its an inset.
3436 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
3438 * buffer.C (openFileWrite): factorize some code
3440 2003-07-26 Angus Leeming <leeming@lyx.org>
3443 * lyx_main.[Ch]: replace occurances of system_tempdir with
3446 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3448 * rename Inset to InsetOld
3450 2003-07-25 Asger Alstrup <alstrup@diku.dk>
3452 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3453 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3454 which I think is a bit clearer. EDIT is gone, since it was
3455 premature optimisation, and broken for mathed anyway.
3456 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3457 with cursor positioning in insets as well (math insets still do not
3458 work, but that's a different story anyway.) It mysteriously
3459 crashes sometimes with undo in the first paragraph, but I'm fairly
3460 confident that this is a compiler bug.
3462 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3464 * paragraph.C (Paragraph): adjust for new clone return type
3466 (copyIntoMinibuffer): ditto
3468 2003-07-25 Asger Alstrup <alstrup@lyx.org>
3470 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3471 by not having a special case, and always doing a full rebreak of
3472 the document after undo.
3474 2003-07-23 Angus Leeming <leeming@lyx.org>
3476 * factory.C (createInset): InsetExternal::setParams now takes a
3479 2003-07-23 Angus Leeming <leeming@lyx.org>
3481 * factory.C (createInset): changed interface to the external and
3482 graphics mailers' string2params functions.
3484 2003-07-23 Angus Leeming <leeming@lyx.org>
3486 * factory.C (createInset): pass a
3487 Buffer const * parameter to InsetExternalMailer's string2params.
3489 2003-07-22 John Levon <levon@movementarian.org>
3491 * Thesaurus.h: include the right aiksaurus header
3493 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3495 * MenuBackend.C (expand): check menu shortcuts unconditionally
3497 2003-07-21 Angus Leeming <leeming@lyx.org>
3499 * factory.C (createInset): pass a
3500 buffer_path parameter to InsetGraphicsMailer's string2params.
3502 2003-07-21 Angus Leeming <leeming@lyx.org>
3504 * BufferView_pimpl.C (buffer):
3507 * lyxfunc.C (dispatch):
3508 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3509 rather than the grfx shortcut.
3511 2003-07-21 André Pönitz <poenitz@gmx.net>
3513 * rowpainter.C: remove unused variables
3516 * tabular_funcs.h: move to tabular.C
3517 * Makefile.am: adjust
3519 * tabular.[Ch]: basic optical cleaning
3521 * author.h: pass references, not values
3523 2003-07-18 André Pönitz <poenitz@gmx.net>
3531 * text3.C: two-phase drawing for InsetText and InsetTabular
3532 some float -> int changes.
3534 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3536 * lyx_main.C: fix the fix
3538 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3540 * lyx_main.C: fix a crash in batch mode if no files specified
3543 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
3545 * format.[Ch] (papersize): moved to BufferParams
3546 * converter.[Ch] (dvips_options): moved to BufferParams
3547 (dvipdfm_options): moved to anon namespace
3548 * bufferparams.[Ch]: added above functions.
3550 2003-07-17 André Pönitz <poenitz@gmx.net>
3554 * text2.C: don't call inset->update() anymore
3556 * metricsinfo.[Ch]: add convenience constructor
3558 2003-07-16 André Pönitz <poenitz@gmx.net>
3563 * text2.C: replace the LyXCursor::irow_ member with
3564 on-demand computation of the value
3566 2003-07-16 John Levon <levon@movementarian.org>
3568 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3570 2003-07-15 André Pönitz <poenitz@gmx.net>
3573 * text2.C: remove no more needed refresh_row
3575 2003-07-15 André Pönitz <poenitz@gmx.net>
3580 * text3.C: refresh_status tristate -> need_update bool
3582 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
3584 * lyxtext.h (init): remove reinit argument (act as if always true)
3585 * text2.C: adjust to that
3587 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3589 * bufferview_funcs.[Ch]: introduce function replaceSelection()
3590 * text3.C: use it to delete selections in some cases
3591 (bugs 441, 673, 702, 954).
3593 2003-07-14 André Pönitz <poenitz@gmx.net>
3595 * rowpainter.[Ch]: reduce interface
3597 2003-07-14 André Pönitz <poenitz@gmx.net>
3599 * BufferView_pimpl.C:
3600 * text2.C: adjust after removing unused BufferView * argument
3602 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
3604 * text2.C (init): fix a crash fired on resize
3606 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
3608 * buffer.[Ch]: added new closing signal
3609 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3610 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3611 BufferView::Pimpl via the closing the signal
3613 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
3615 * buffer.[Ch]: take out all bv-related from buffer
3617 * BufferView_pimpl.[Ch]: connect to new signals
3618 * CutAndPaste.C: removed useless asserts
3619 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3622 * lyxfunc.C: moved view-related funciontality from vc here
3623 * paragraph.C: removed outdated comments
3626 2003-07-10 André Pönitz <poenitz@gmx.net>
3628 * BufferView_pimpl.C:
3632 * text2.C: remove InsetText::InnerCache, clean up consequences
3634 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
3636 * ispell.C: fix two typos in error messages
3638 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
3640 * Extend Note inset to other forms of annotation like Comment
3641 and Greyedout. Right button click gives dialog.
3643 Files modified or added (+):
3647 * ControlNote.[Ch] +
3649 * Makefile.am in frontends/xforms, frontends/xforms/forms,
3650 frontends/controllers
3654 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3656 * aspell.C: add missing namespace lyx::support
3658 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
3660 * BufferView.[Ch] (newFile): Add
3661 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3662 * LaTeX.[Ch] (message): added this signal and use it
3663 * buffer.[Ch] (busy, message): added these signals and use them
3664 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3668 * importer.C: use buffer signals instead of direct bv calling
3669 * lyx_cb.[Ch] (ShowMessage): removed
3672 * paragraph_funcs.C:
3673 * text2.C: use buffer signals
3675 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3677 * introduce namespace lyx::graphics
3679 2003-07-02 André Pönitz <poenitz@gmx.net>
3681 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3683 2003-07-01 André Pönitz <poenitz@gmx.net>
3690 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3691 text*.C to text_func.C
3693 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3695 * introduce namespace lyx::support
3697 2003-06-30 André Pönitz <poenitz@gmx.net>
3702 * text.C: re-enable --with-included-string
3704 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3706 * textcursor.C: add <config.h>
3708 * text.C (getWord): remove const from word_location arg
3710 * lyxvc.C (getLogFile): fix const type order
3712 * lyxtext.h: remove const from word_location arg, add arg name
3714 * lyxlayout.h: currect type on labeltype.
3716 * importer.C: correct \file
3718 * converter.C (intToFormat): use std:: on ret val, ws changes
3720 * bufferlist.h: correct \file
3722 * buffer.C (makeLinuxDocFile): fix const type order
3723 (makeDocBookFile): ditto
3724 (fillWithBibKeys): use std:: on stdlib args.
3726 * CutAndPaste.C: fix authors.
3727 (availableSelections): use std:: on return vector
3729 2003-06-27 André Pönitz <poenitz@gmx.net>
3731 * BufferView_pimpl.C:
3732 * bufferview_funcs.C:
3740 * text3.C: remove LyXCursor::row_ member
3743 * text.C: rename fullRebreak() to partialRebreak() and implement
3744 a fullRebreak() that really bereks fully
3746 * textcursor.h: new struct for cursor-related data
3748 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
3750 * lyx_main.C (LyX): get full path of document loaded on the
3753 2003-06-26 André Pönitz <poenitz@gmx.net>
3755 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3756 remove unused/broken operator>,<,>=.
3758 * text.C: remove only use of broken operator<= in an Assert().
3760 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3762 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3763 moved errorlist_.clear to showErrorList
3765 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3767 * converter.C (scanLog, runLaTeX):
3768 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3769 move the bv->showErrorList call to the callers
3770 * lyxfunc.C: i.e. here...
3772 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3773 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3774 namespace, the second to...
3775 * buffer_funcs (BufferFormat, parseErrors): added
3776 * errorlist.C (ErrorList(TeXErrors const &)): removed
3778 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3780 * ToolbarBackend.C (getIcon): complain when icon cannot be found
3782 2003-06-24 "Garst R. Reese" <reese@isn.net>
3786 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3788 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3790 * version.C.in: change docversion to 1.4
3792 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
3794 * buffer.C: fix a bug just introduced
3796 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3798 * buffer.[Ch]: added the parseError signal and use it, removed
3800 * BufferView.[Ch] (addError): moved to ...
3801 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3802 to the Buffer::parseError signal to catch (guess what) parse errors
3803 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3805 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3807 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3808 ability to create a buffer and to return an existing one from
3809 the list. Moved these functions to...
3810 * buffer_funcs.[Ch]: added
3811 * BufferView.[Ch] (loadLyXFile): added
3812 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3813 job removed from bufferlist::loadLyXFile.
3814 * buffer.C (setReadOnly): make it work without view
3815 (i.e added an if (users))
3817 2003-06-19 Angus Leeming <leeming@lyx.org>
3820 * LyXAction.C (init):
3821 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3822 with LFUN_DIALOG_SHOW <name> <data>.
3824 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3826 * CutAndPaste.C (availableSelections): small compilation fix for
3827 ancient (gcc 2.9x) compilers
3829 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3831 * text3.C (cursorNext): add tmp var
3833 * text2.C (updateCounters): for function calling out of for clause
3834 (replaceSelectionWithString): ditto
3835 (insertStringAsParagraphs): ditto
3836 (getColumnNearX): add tmp var
3837 (setCursorFromCoordinates): add tmp var
3838 (cursorDownParagraph): add tmp var
3839 (deleteEmptyParagraphMechanism): add tmp var
3841 * text.C (insertChar): add tmp var
3843 * rowpainter.C (paintDepthBar): add tmp var
3845 * CutAndPaste.C (availableSelections): potentially check all
3846 paragraphs in a cut to fill the shown strings.
3848 2003-06-18 André Pönitz <poenitz@gmx.net>
3850 * kbmap.[Ch]: use vector<> instead of list<>
3852 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3854 * text3.C (dispatch): handle arg to LFUN_PASTE, call
3855 pasteSelection with index
3857 * text2.C (pasteSelection): modify, call pasteSelection with index
3859 * paragraph.C (asString): reimplement version with no interval to
3860 call the one with interval.
3862 * lyxtext.h: add index arg to pasteSelection
3864 * MenuBackend.C (MenuItem): handle PasteRecent
3865 (Menu::read::Menutags): add md_pasterecent
3867 (expandPasteRecent): new function
3870 * MenuBackend.h: add PasteRecent to MenuItem::Kind
3872 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3874 (availableSelections): new function
3876 2003-06-17 Angus Leeming <leeming@lyx.org>
3878 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3880 2003-06-17 Angus Leeming <leeming@lyx.org>
3883 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3885 * lyxfunc.C (dispatch): invoke it.
3887 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3889 * iterators.C (operator++, ParPosition): reintroduce some
3890 const_cast for the benefit of older compilers.
3892 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3894 * text3.C (dispatch): do not modify clipboard when doing
3895 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3896 LFUN_DELETE_SKIP on a selection selection
3898 2003-06-16 André Pönitz <poenitz@gmx.net>
3904 * tabular.[Ch]: IU of clone() and getLabelList();
3906 2003-06-13 André Pönitz <poenitz@gmx.net>
3908 * tabular.h: compactification
3910 2003-06-12 André Pönitz <poenitz@gmx.net>
3914 * tabular_funcs.h: some renaming plus whitespace
3916 2003-06-12 André Pönitz <poenitz@gmx.net>
3919 * BufferView_pimpl.C:
3925 * toc.C: Return a Paragraph & for ParIterator::operator*()
3927 2003-06-11 John Levon <levon@movementarian.org>
3931 * ToolbarBackend.C: add "Toolbars" section and
3934 2003-06-10 Angus Leeming <leeming@lyx.org>
3937 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3939 * lyxfunc.C (dispatch): invoke it.
3941 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3943 * main.C: protect <ios> with HAVE_IOS
3944 (main): protect sync_with_stdio with HAVE_IOS
3946 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
3948 * text2.C (cutSelection): adjust
3949 (pasteSelection): adjust
3951 * messages.C: handle get of empty string
3953 * main.C (main): use sync_with_stdio(false)
3955 * lyxfunc.C (dispatch): adjust
3957 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3958 (WriteAs): remove unneeded BufferView arg.
3960 * bufferparams.h: use correct types on papersize, papersize2 and
3963 * bufferparams.C (readToken): adjust for type
3964 (writeLaTeX): add missing cases to switch.
3966 * bufferlist.C (quitWriteBuffer): adjust
3969 * buffer.C (asciiParagraph): remove some commented code.
3971 * CutAndPaste.C: remove current_view extern variable.
3972 (cutSelection): add BufferParams arg.
3973 (eraseSelection): add BufferParams arg.
3974 (pasteSelection): add Buffer const & arg
3976 2003-06-07 John Levon <levon@movementarian.org>
3979 * paragraph_funcs.C:
3980 * paragraph_pimpl.C:
3984 * paragraph.C: allow InsetERT to freely space lines,
3985 and some consolidation of code
3987 2003-06-06 José Matos <jamatos@fep.up.pt>
3989 * buffer.C (makeDocBookFile): fix bug #821
3991 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3993 * BufferView_pimpl.C (dispatch): use Dialogs::visible
3995 2003-06-04 Angus Leeming <leeming@lyx.org>
3997 * buffer.C: bump format to 224.
3999 2003-06-05 André Pönitz <poenitz@gmx.net>
4001 * text2.C (redoParagraphs): remove two const_cast<>
4003 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4005 * ParagraphList.h: remove last remnants of NO_STD_LIST
4007 2003-06-03 Angus Leeming <leeming@lyx.org>
4009 * factory.C (createInset): small change to the way InsetExternal's params
4012 2003-06-04 André Pönitz <poenitz@gmx.net>
4014 * buffer.h: use Undo directly instead of shared_ptr<Undo>
4016 * paragraph_pimpl.h:
4017 * paragraph.[Ch]: some Inset -> UpdatableInset changes
4019 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4021 * undo_funcs.C: make some simple cases of undo work again
4023 2003-06-03 John Levon <levon@movementarian.org>
4025 * ispell.C: HPUX doesn't have sys/select.h
4028 2003-06-03 John Levon <levon@movementarian.org>
4030 * CutAndPaste.C: update tabular and include inset
4035 * paragraph.C: remove owningBuffer(), don't pass Buffer
4038 * factory.C: insetGraphicsParams changed
4040 2003-06-02 John Levon <levon@movementarian.org>
4046 * text3.C: remove insetparent
4048 2003-06-02 John Levon <levon@movementarian.org>
4051 * buffer.C: fix inset_iterator.end(), move out of line
4054 2003-06-01 John Levon <levon@movementarian.org>
4056 * text3.C: use a proper cut/paste when doing inset
4057 insert (from Jürgen Spitzmüller)
4059 2003-06-01 John Levon <levon@movementarian.org>
4061 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4063 2003-05-30 André Pönitz <poenitz@gmx.net>
4065 * rowpainter.C: unify second drawing phase
4067 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4069 * trans_mgr.C: remove one case of current_view
4071 * text2.C (cursorBottom): delete NO_STD_LIST stuff
4073 * paragraph_funcs.h: remove paragraph.h include
4075 * paragraph.h: delete NO_STD_LIST stuff
4077 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4079 * buffer.h: remove paragraph.h include
4081 * ParagraphList.C: delete file
4083 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4085 * toc.C (getTocList): adjust
4087 * paragraph_pimpl.C (validate): adjust
4089 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4091 * paragraph.C (Paragraph): adjust
4092 (getPositionOfInset): use const_iterator, adjust
4093 (bibitem): use const_iterator, adjust
4094 (setInsetOwner): adjust
4096 * iterators.C (operator++): adjust
4098 * InsetList.[Ch]: Replace selfmade iterator with standard
4099 vector::iterator also introduce const_iterator. Remove getPos,
4100 getInset and setInset from InsetTable. Adjust accordingly.
4102 * BufferView.C (lockInset): adjust
4103 (ChangeInsets): adjust
4105 * tabular.[Ch]: delete commented same_id functions
4107 2003-05-28 John Levon <levon@movementarian.org>
4109 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4111 2003-05-28 André Pönitz <poenitz@gmx.net>
4113 * metricsinfo.[Ch]: remove 'fullredraw' member
4115 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
4117 * lyxtextclass.C (operator): remove caching.
4119 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4123 * text2.C (cursorBottom): adjust
4124 (setCounter): use ParagraphList::find, adjust
4126 * text.C (workWidth): use ParagraphList::find, adjust
4128 * lyxcursor.C (LyXCursor): adjust
4130 * buffer.C (inset_iterator): adjust
4132 * ParagraphList.h: make iterator(value_type) private, make
4133 ParagraphList a friend of iterator.
4135 * ParagraphList.C (find): new function
4137 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4139 2003-05-27 André Pönitz <poenitz@gmx.net>
4141 * dimension.[Ch]: a -> asc, d -> des, w -> wid
4143 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4145 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4147 2003-05-26 John Levon <levon@movementarian.org>
4149 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4151 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4153 * remove same_id from function signatures, adjust.
4155 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4157 * undo_funcs.C (createUndo): use the id functions directly, adjust.
4159 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4161 * paragraph.C (Paragraph): get rid of same_ids parameter
4163 * ParagraphList.C (insert): adjust
4166 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4168 * paragraph_funcs.C (breakParagraph): adjust
4169 (breakParagraphConservative): adjust
4171 * buffer.C (readParagraph): adjust
4173 * ParagraphList.C (insert): take a reference instead of a pointer
4176 * paragraph.[Ch] (id): new function
4178 * bufferlist.C (newFile): adjust
4180 * ParagraphList.C (ParagraphList): adjust
4182 (push_back): take a reference instead of a pointer.
4184 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4186 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4189 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4190 set else use old code.
4192 * ParagraphList.C: remove all NO_NEXT code and only compile this
4193 code of NO_STD_LIST is set.
4195 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4197 * BufferView_pimpl.C:
4207 * graphics/GraphicsConverter.C:
4208 * graphics/PreviewLoader.C: header adjustment
4210 2003-05-23 Angus Leeming <leeming@lyx.org>
4212 * LaTeXFeatures.[Ch] (useBabel): new method.
4213 * bufferparams.C (writeLaTeX): use it.
4215 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4217 * ParagraphList.h (set): remove unused function.
4219 2003-05-23 André Pönitz <poenitz@gmx.net>
4222 * BufferView_pimpl.C:
4226 * undo_funcs.C: setUndo reworked
4228 * iterators.[Ch]: add access to topmost ParagraphList
4230 * lyxtext.[Ch] (workWidth): add a const
4232 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4234 * texrow.[Ch] (increasePos): remove function
4235 * exporter.C (export): removed unused var and outdated comment
4237 2003-05-23 Angus Leeming <leeming@lyx.org>
4239 * latexrunparams.h: rename fragile as moving_arg.
4240 * paragraph.C (simpleTeXOnePar): ditto.
4241 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4243 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4245 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4247 (textUndoOrRedo): comment out a currently unused var.
4249 * paragraph.h (NO_NEXT): enable NO_NEXT
4251 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4253 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4255 * exporter.C (Export): adjust for removeAutoInsets removal.
4257 * buffer.C (runChktex): adjust for removeAutoInsets removal.
4259 * LyXAction.C (init): remove LFUN_REMOVEERRORS
4261 * BufferView.[Ch] (removeAutoInsets): delete function
4263 2003-05-22 Angus Leeming <leeming@lyx.org>
4265 * latexrunparams.h: add a free_spacing variable.
4267 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4268 to pass moving_arg, as the data is stored in runparams.fragile.
4270 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4271 to Inset::latexOptional or to simpleTeXOnePar.
4273 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4274 free_spacing arg to Inset::latexOptional.
4276 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4279 2003-05-22 Angus Leeming <leeming@lyx.org>
4281 * latexrunparams.h: add fragile and use_babel variables.
4283 * bufferparams.[Ch] (writeLaTeX): return use_babel.
4284 * buffer.C (makeLaTeXFile): store this returned value in
4285 runparams.use_babel, thus passing it to the inset::latex methods.
4287 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4288 simpleTeXSpecialChars as it is now stored in runparams.fragile.
4290 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4291 longer has a fragile arg, as it is stored in runparams.fragile.
4293 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4294 moving_arg parameter as the data is stored in runparams.fragile.
4296 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4297 a fragile parameter as the data is stored in runparams.fragile.
4299 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4301 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4303 2003-05-22 Angus Leeming <leeming@lyx.org>
4305 * latexrunparams.h: add a 'bool nice' which defaults to false.
4307 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4308 now encapsulated within runparams.
4310 * bufferlist.C (updateIncludedTeXfiles):
4311 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4313 2003-05-22 Angus Leeming <leeming@lyx.org>
4315 * latexrunparams.h: new file containing struct LatexRunParams.
4316 * Makefile.am: add new file.
4318 * LaTeX.[Ch] (c-tor, run):
4319 * buffer.[Ch] (makeLaTeXFile):
4320 * bufferlist.[Ch] (updateIncludedTeXfiles):
4321 * converter.C (convert, scanLog):
4322 * converter.[Ch] (runLaTeX):
4323 * exporter.C (Export):
4324 * paragraph.[Ch] (simpleTeXOnePar):
4325 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4326 * paragraph_funcs.[Ch] (latexParagraphs):
4327 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4328 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4329 pass around a LatexRunParams parameter.
4331 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4333 * paragraph.[Ch]: remove unused constructor
4335 * ParagraphList.C (erase): new function, taking two iterators
4337 2003-05-22 André Pönitz <poenitz@gmx.net>
4339 * undo_funcs.C: remove duplicated code
4341 * iterator.[Ch]: operator=
4343 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4345 * tabular.C (SetMultiColumn): ws changes
4347 * rowpainter.C (paintFirst): get rid of a ->previous
4349 * lyx_cb.C (getPossibleLabel): parlist simplification
4351 * BufferView.C (ChangeInsets): simplify slightly.
4353 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4355 * LyXAction.C: new lfun space-insert, kill protected-space-insert
4356 * lfuns.h: new LFUN_SPACE
4357 * lyxfunc.C: protected space has a new lfun
4358 * paragraph_funcs.C: read new space insets
4360 * factory.C: handle new space insets
4362 2003-05-22 André Pönitz <poenitz@gmx.net>
4365 * BufferView_pimpl.C:
4368 * undo_funcs.C: return a ParIterator from getParFromID.
4370 * iterators.[Ch]: add two const's
4372 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4374 * toc.C (getTocList): adjust
4376 * iterators.[Ch]: rework for parlist
4378 * buffer.C (par_iterator_begin): adjust
4379 (par_iterator_end): adjust
4381 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4383 * BufferView.C (removeAutoInsets): adjust
4384 (ChangeInsets): adjust
4386 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
4388 * text.C (top_y): fix bug 1110
4390 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
4392 * errorlist.[Ch]: added
4395 * BufferView_pimpl.C:
4396 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4399 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4401 * Makefile.am: ensure that lyx is relinked upon changes to the
4402 various "convenience" libs.
4404 2003-05-20 Angus Leeming <leeming@lyx.org>
4406 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4407 files are compiled in alphabetical order again.
4409 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4411 2003-05-19 Angus Leeming <leeming@lyx.org>
4413 * gettext.[Ch]: remove "char const * _(char const *)".
4415 2003-05-19 André Pönitz <poenitz@gmx.net>
4417 * dimension.[Ch]: promote from mathed/dimension.[Ch]
4426 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4428 2003-05-19 André Pönitz <poenitz@gmx.net>
4432 * lyxtextclass.[Ch]:
4434 * paragraph_funcs.[Ch]:
4436 * text3.C: more insetenv work
4438 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
4440 * ParagraphParameters.C (params2string): small bug fixed
4442 2003-05-16 André Pönitz <poenitz@gmx.net>
4445 * bufferview_funcs.C: patch from Kornel Benko to prevent
4446 crash when _(...) is called twice in a statement
4448 2003-05-16 André Pönitz <poenitz@gmx.net>
4455 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4457 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
4459 * lyx_main.C (init): remove spurious static_cast
4461 2003-05-14 André Pönitz <poenitz@gmx.net>
4463 * BufferView.C: fix format string
4465 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
4467 * BufferView.[Ch] (insertErrors): removed
4468 * BufferView.[Ch] (showErrorList): added
4469 * buffer.C (runChkTeX):
4470 * converter.C (scanLog): call showErrorList instead of inserterrors
4472 2003-05-13 André Pönitz <poenitz@gmx.net>
4474 * BufferView_pimpl.C:
4476 * bufferview_func.C:
4483 * tabular_funcs.h: tostr() from its own header
4485 * ParagraphParameters.C:
4490 * text3.C: STRCONV()
4492 2003-05-12 André Pönitz <poenitz@gmx.net>
4495 * BufferView_pimpl.C:
4499 * ParagraphParameters.C:
4503 * bufferview_funcs.C:
4516 * paragraph_funcs.C:
4520 * text3.C: boost::format -> bformat all over the place
4523 2003-05-09 André Pönitz <poenitz@gmx.net>
4525 * LColor.[Ch]: Pimpl the #include <map> away
4527 2003-05-09 John Levon <levon@movementarian.org>
4529 * bufferlist.C: never remove emergency saves
4531 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4533 * Makefile.am: better lib building
4535 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4537 * texrow.[Ch]: remove dependency on Paragraph and just store a id
4539 * paragraph_pimpl.C (simpleTeXBlanks): adjust
4540 (simpleTeXSpecialChars): adjust
4541 (simpleTeXSpecialChars): adjust
4542 * paragraph.C (simpleTeXOnePar): adjust
4543 * buffer.C (makeLaTeXFile): adjust
4545 * Makefile.am (BOOST_LIBS): allow boost as system lib.
4547 * text2.C (changeDepth): parlist cleanup
4548 (getColumnNearX): ditto
4550 * rowpainter.C (getLabelFont): parlist cleanup
4552 * bufferlist.C (newFile): parlist cleanup
4554 * CutAndPaste.C (eraseSelection): parlist cleanup
4556 * BufferView_pimpl.C (trackChanges): parlist cleanup
4559 * BufferView.C (lockInset): parlist cleanup.
4560 (ChangeInsets): ditto
4562 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4564 * CutAndPaste.h: Update file header.
4566 * CutAndPaste.C: Update file header.
4567 Store the parts cut out of the Document in a limited_stack.
4568 (copySelection): adjust
4569 (pasteSelection): new function, takes the index in the limited stack.
4570 (nrOfParagraphs): adjust
4571 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4572 simplify error inset insertion.
4573 (checkPastePossible): adjust
4575 2003-05-06 John Levon <levon@movementarian.org>
4577 * text2.C: don't cast wrap inset to float
4579 2003-05-05 André Pönitz <poenitz@gmx.net>
4582 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4584 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4585 few naked Paragraph *.
4587 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
4589 * bufferparams.C: Output warning if a document with missing
4590 TeX document class is loaded
4591 * exporter.C: Disable TeX exports if the document class is missing
4594 * lyxtextclasslist.C: Handle new textclass.lst format; new method
4595 isTeXClassAvailable()
4597 2003-05-03 John Levon <levon@movementarian.org>
4600 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4601 explicit cursor show/hide
4603 * BufferView_pimpl.h:
4604 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4605 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4607 * lyxfunc.C: hide cursor before dispatching.
4612 * text3.C: remove explicit cursor hides
4614 2003-05-02 André Pönitz <poenitz@gmx.net>
4616 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4619 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4622 * text2.C: tiny whitespace
4624 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4626 * undo_funcs.C: almost only ws changes.
4628 * ParagraphList.C (splice): just return if pl is empty.
4630 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4632 * ParagraphList.C (splice): new function.
4634 * CutAndPaste.C (pasteSelection): use it
4636 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4638 * CutAndPaste.C (pasteSelection): remove the last next and
4639 previous from this file.
4641 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4643 * CutAndPaste.C (pasteSelection): more clean up, user proper
4644 ParagraphList functions for pasteing.
4646 * ParagraphList.C (insert): new function, three arg insert
4648 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4650 * ParagraphList.C (insert): new function, three arg insert
4652 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4655 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4657 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4659 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4661 * CutAndPaste.C (pasteSelection): remove some unneeded code.
4663 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4665 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4666 (copySelection): clean up a bit.
4667 (pasteSelection): use make_pair
4669 * ParagraphList.C (ParagraphList): implement copy constructor
4670 (operator=): implement, base on copy constructor.
4673 * paragraph.C (erase): return a bool
4675 * paragraph_pimpl.C (erasePos): remove function, move contents...
4676 (erase): ... here. Return a bool.
4677 (erase): call erase instead of erasePos.
4679 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
4681 * ParagraphList.h: define PitPosPair
4682 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4683 ParagraphList, fix a bug on pasting multiple pars
4684 * text2.C: change interface to C&P
4686 2003-04-30 André Pönitz <poenitz@gmx.net>
4688 * undo_func.C: revert part of yesterday's patch 2
4690 2003-04-30 John Levon <levon@movementarian.org>
4692 * LColor.C: s/tabular/table/
4694 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4696 * text3.C (dispatch): do not convert iterator -> pointer
4697 * undo_funcs.C (setCursorParUndo): ditto
4698 * text_funcs.C (transposeChars): ditto
4700 * text2.C (setLayout): ws changes only
4702 * text.C (breakParagraph): do not convert iterator -> pointer
4704 (acceptChange): ditto
4705 (rejectChange): ditto
4710 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4713 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4715 * text3.C (gotoInset): YABG (yet another bad getChar)
4717 2003-04-29 André Pönitz <poenitz@gmx.net>
4719 * paragraph.h: make operator= private unimplemented as long as
4722 * ParagraphList.C: whitespace
4725 * paragraph_pimpl.[Ch]:
4726 * paragraph_funcs.C:
4728 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
4731 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4733 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4735 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4736 * paragraph.[Ch] (erase):
4737 * paragraph_pimpl.[Ch] (erase): change return type and value
4738 * text2.C (cutSelection): some rework
4740 2003-04-28 John Levon <levon@movementarian.org>
4742 * bufferlist.C: changes for unsaved changes dialog
4744 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4746 * bufferlist.C (newFile): set language (messages_) for new
4749 * buffer.C (readFile): ws changes only.
4751 2003-04-28 André Pönitz <poenitz@gmx.net>
4756 * BufferView_pimpl.C:
4757 * BufferView.C: getParFromID related ParagraphList::iterator changes
4759 2003-04-28 André Pönitz <poenitz@gmx.net>
4761 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4764 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4766 * messages.C: remove one more localedir class variable.
4768 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4770 * messages.C (getLocaleDir): singleton generation function
4772 (Messages): add a default constructor.
4774 * main.C (main): do not setup localedir here, do not call
4777 * gettext.C (_): use it.
4778 (gettext_init): delete funciton
4780 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4782 * gettext.C (getLyXMessages): new singleton generating function.
4784 * buffer.C (updateDocLang): adjust
4786 * Makefile.am (messages.o): add target
4787 (main.o): remove target
4789 2003-04-27 John Levon <levon@movementarian.org>
4794 * lyxvc.C: specify cancel button in Alert::prompt
4796 2003-04-26 John Levon <levon@movementarian.org>
4801 * LyXAction.C: add LFUN_INSET_SETTINGS
4803 * lyxfunc.C: don't enable tabular-feature when there's
4804 just any locking inset
4806 2003-04-26 John Levon <levon@movementarian.org>
4808 * bufferlist.C: re-add Cancel to buffer close question
4810 * lyxfunc.C: fix import UI a bit
4812 2003-04-25 John Levon <levon@movementarian.org>
4814 * gettext.C: remove the broken asserts for now
4816 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4818 * messages.C: make case where setlocale cannot comply work better.
4820 * buffer.C (updateDocLang): new function
4821 (changeLanguage): use it
4824 * text2.C (setCounter): use B_ a bit.
4826 * lyxlayout.C (Read): be sure to trim the label strings.
4828 * messages.C (Messages): fix typo in comment
4830 * buffer.C (readFile): set message_ after file is loaded.
4831 (makeDocBookFile): remove double return
4832 (changeLanguage): reset message_ upon language change.
4833 (B_): new func, use this to get translated buffer strings.
4835 * main.C: add myself and Jean Marc as authors.
4837 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4839 * messages.[hC]: pimplify Messages, and three different pimpls to be
4840 used in different circumstances.
4842 * gettext.[Ch]: change for use with new message code.
4844 2003-04-24 André Pönitz <poenitz@gmx.net>
4846 * factory.C: support for eqref
4848 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4850 * messages.[Ch]: add missing char
4852 * Makefile.am (lyx_SOURCES): add messages.[Ch]
4854 * messages.[Ch]: New files
4856 2003-04-18 John Levon <levon@movementarian.org>
4860 * BufferView_pimpl.C:
4864 * text2.C: remove layout-copy/paste (bug 778)
4866 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4868 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4870 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4872 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4873 if they succeed. Act accordingly.
4875 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4877 * text2.C (setCharFont): adjust
4878 (setCounter): adjust
4879 (insertStringAsLines): adjust
4881 * text.C (leftMargin): adjust
4882 (setHeightOfRow): adjust
4884 * rowpainter.C (paintFirst): adjust
4887 * paragraph_funcs.C (depthHook): ParagraphList::iterators
4889 (isFirstInSequence): ditto
4890 (getEndLabel): ditto
4893 * paragraph.C (getParLanguage): comment out some hard stuff.
4895 * buffer.C (insertStringAsLines): take a ParagraphList as arg
4897 (simpleDocBookOnePar): ditto
4898 (makeDocBookFile): use ParagraphList::iterator
4900 * CutAndPaste.C (pasteSelection): adjust
4902 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4904 * text2.C (getFont): adjust
4905 (getLayoutFont): adjust
4906 (getLabelFont): adjust
4908 * paragraph_funcs.C (TeXOnePar): adjust
4910 * buffer.C (simpleLinuxDocOnePar): adjust
4911 (simpleDocBookOnePar): adjust
4913 * CutAndPaste.C (pasteSelection): adjust
4915 * BufferView.C (getEncoding): adjust
4917 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4919 2003-04-16 John Levon <levon@movementarian.org>
4921 * lyxfind.C: use parlist stuff for search/changes
4923 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4925 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4927 * text2.C (deleteEmptyParagraphMechanism): adjust
4929 * text2.[Ch] (ownerParagraph): delete func (both of them
4931 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4933 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4935 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4937 * ParagraphList.C: prepare for NO_NEXT
4939 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4941 * text2.C (getFont): adjust
4942 (getLayoutFont): adjust
4943 (getLabelFont): adjust
4945 * paragraph.C (getFont): adjust
4946 (getLabelFont): adjust
4947 (getLayoutFont): adjust
4949 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4951 2003-04-15 John Levon <levon@movementarian.org>
4955 * lyx_main.C: handle Include in .ui files
4957 2003-04-15 John Levon <levon@movementarian.org>
4959 * MenuBackend.C: make the doc files length shorter
4962 * ToolbarBackend.C: handle toolbar placement flags,
4965 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4967 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4970 * paragraph_funcs.C (TeXOnePar): adjust
4972 * paragraph.C (getLabelFont): add outerfont arg, adjust
4973 (getLayoutFont): ditto
4974 (simpleTeXOnePar): adjust
4976 * paragraph_pimpl.C (realizeFont): delete func
4978 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
4980 * text2.C (beforeFullRowInset): added a bad getchar check, removed
4981 row argument, constify cur argument.
4983 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4985 * text2.C (getFont): adjust
4986 (getLayoutFont): adjust
4987 (getLabelFont): adjust
4989 * paragraph_funcs.C (TeXOnePar): adjust
4990 (outerFont): new func...
4991 (realizeFont): ...moved out from here, changed this to facilitate
4994 * paragraph.C (getFont): take outerfont as arg, adjust
4995 (simpleTeXOnePar): add outerfont arg, adjust
4997 * buffer.C (simpleLinuxDocOnePar): adjust
4998 (simpleDocBookOnePar): adjust
5000 * CutAndPaste.C (pasteSelection): adjust
5002 * BufferView.C (getEncoding): adjust
5004 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5006 * text2.C (setCharFont): adjust
5007 (setCounter): adjust
5009 * text.C (leftMargin): adjust
5010 (setHeightOfRow): adjust
5012 * rowpainter.C (paintFirst): adjust
5015 * paragraph_pimpl.C (realizeFont): adjust
5017 * paragraph.C (isFirstInSequence): move from here...
5018 * paragraph_funcs.C (isFirstInSequence): ...to here
5020 * paragraph.C (outerHook): move from here...
5021 * paragraph_funcs.C (outerHook): ...to here
5023 * paragraph.C (depthHook): move from here...
5024 * paragraph_funcs.C (depthHook): ...to here
5026 * paragraph.C (getEndLabel): move from here...
5027 * paragraph_funcs.C (getEndLabel): ...to here
5029 * text2.C (realizeFont): move from here...
5030 * paragraph_funcs.C (realizeFont): ...to here
5032 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5034 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5036 2003-04-14 Angus Leeming <leeming@lyx.org>
5038 * LColor.[Ch]: scrap LColor mathcursor.
5040 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5042 * lyxlex.[Ch] (text): delete function
5043 * trans.C (Load): adjust
5044 * paragraph_funcs.C (readParToken): adjust
5046 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5048 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5049 vector<char> instead of a char[].
5051 * lyxlex_pimpl.C (getString): adjust
5053 (lex): use getString
5057 * lyxlex.C (text): use pimpl_->getString()
5061 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5063 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5064 (makeFontEntriesLayoutSpecific): temp var for par.size()
5065 (setLayout): temp var for ownerParagraphs().end()
5066 (fullRebreak): temp var for rows().end()
5067 (selectionAsString): temp var for boost::next(startpit), realize
5068 that the while really is a regular for loop.
5069 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5070 setCursor in one place.
5071 (setParagraph): temp vr for ownerParagraphs().end()
5072 (updateCounters): make the while loop a for loop
5073 (cutSelection): temp var for ownerParagraphs().end()
5074 (updateInset): make the do {} while() a regular for loop
5075 (getCursorX): use temp vars
5076 (setCurrentFont): use temp vars
5077 (getColumnNearX): use temp vars
5079 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5081 * text.C (transformChar): use temp var for getChar
5082 (computeBidiTables): use temp var for row->par()
5083 (fill): move temp vars for row->par() and pit->layout() earlier in
5085 (labelFill): use temp var for row->par()
5086 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5087 asc and desc, realize that pit never changes and that firstpit is
5088 just a duplicate and not needed. Exchange rit->par() with pit in a
5090 (breakAgain): use a temp var for boost::next(rit)
5091 (breakAgainOneRow): ditto
5092 (breakParagraph): use a temp var for rows().begin()
5093 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5094 (cursorRightOneWord): use temp var for cursor.par() and
5095 cursor.pos(), remove usage of tmpcursor.
5096 (cursorLeftOneWord): use temp var for cursor.par() and
5097 cursor.pos() only set cur at end of function.
5099 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5101 * text.C, text2.C: exchange all usage of Paragraph::next with
5102 boost::next(ParagraphList::iterator)
5104 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5106 * text2.C (cursorTop): simplify implementation
5107 (cursorBottom): ditto
5108 (setParagraph): use ParagraphList::iterator
5109 (setCurrentFont): adjust
5110 (getColumnNearX): adjust
5111 (cursorRight): adjust
5112 (cursorLeft): remove usage of Paragraph::previous
5113 (cursorUpParagraph): ditto
5114 (deleteEmptyParagraphMechanism): slight cleanup
5116 * text.C (isBoundary): take a Paragraph const & instead of a
5118 (addressBreakPoint): ditto
5119 (leftMargin): remove usage of Paragraph::previous.
5120 (setHeightOfRow): ditto
5121 (cursorLeftOneWord): ditto
5122 (selectNextWordToSpellcheck): ditto
5125 (breakParagraph): remove one usage of Paragraph::next
5126 (redoParagraph): ditto
5127 (acceptChange): ditto
5128 (insertChar): adjust
5129 (rowBreakPoint): adjust
5131 * bufferview_funcs.C (toggleAndShow): adjust
5133 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
5135 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5136 methods to access it.
5138 * text.C: Added updateRowPositions to compute all row positions.
5139 Make top_y and getRowNearY() to use the cached y position
5141 2003-04-11 John Levon <levon@movementarian.org>
5143 * text.C (rowBreakPoint): reintroduce the labelEnd
5144 checks, code copied from the row fill stuff. Deep voodoo.
5146 * text.C (fill): add a comment and debugging for the
5149 2003-04-11 John Levon <levon@movementarian.org>
5151 * text.C: make sure fullrow insets get wrapped to the next line,
5152 even when they're in a manual label
5154 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5156 * text2.C (insertParagraph): make it take ParagraphList::iterator
5158 (setLayout): make it return ParagraphList::iterator
5159 (redoParagraphs): ditto
5161 (checkParagraph): ditto
5163 * text.C (getRow): make getrow take ParagraphList::iterator as arg
5165 * text2.C: adjust several funcs.
5166 (realizeFont): take a ParagraphList::iterator as arg.
5167 (getLayoutFont): ditto
5168 (getLabelFont): ditto
5169 (setCharFont): ditto
5171 * text.C: adjust several funcs.
5173 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5175 * text.C (selectNextWordToSpellcheck): don't accidentally
5178 2003-04-10 John Levon <levon@movementarian.org>
5180 * ToolbarBackend.C (getIcon): special handling for
5183 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5185 * text2.C (cursorRight): a getChar assert fixed
5187 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5189 * text2.C (getFont): change to take a ParagraphList::iterator
5190 instead of Paragraph*
5191 Adjust several functions.
5193 * text.C (transformChar): change to take a ParagraphList::iterator
5194 instead of Paragraph*
5195 (singleWidth): ditto
5196 Adjust several functions.
5198 * rowpainter.C: adjust several functions
5199 * rowpainter.h:store a ParagraphList::iterator and not a
5203 2003-04-09 John Levon <levon@movementarian.org>
5208 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5209 and the "help" bits as well
5211 2003-04-09 John Levon <levon@movementarian.org>
5214 * ToolbarBackend.C: allow multiple toolbars
5216 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5218 * undo_funcs.C (setCursorParUndo): adjust
5220 * text_funcs.C (transposeChars): adjust
5222 * text3.C (gotoNextInset): adjust
5225 * text2.C (setLayout): adjust
5226 (changeDepth): adjust
5228 (redoParagraphs): adjust
5229 (selectionAsString): adjust
5230 (setParagraph): adjust
5231 (insertInset): adjust
5232 (cutSelection): adjust
5233 (copySelection): adjust
5234 (pasteSelection): adjust
5235 (insertStringAsLines): adjust
5236 (updateInset): adjust
5237 (setCursor): change to take a ParagraphList::iterator parameter
5238 (setCursorIntern): change to take a ParagraphList::iterator parameter
5239 (setCurrentFont): adjust
5240 (cursorLeft): adjust
5241 (cursorRight): adjust
5242 (deleteEmptyParagraphMechanism): adjust
5244 * text.C (breakParagraph): adjust
5245 (insertChar): adjust
5246 (acceptChange): adjust
5247 (rejectChange): adjust
5248 (selectNextWordToSpellcheck): adjust
5249 (changeCase): adjust
5253 * lyxfind.C (SearchForward): adjust
5254 (SearchBackward): adjust
5255 (nextChange): adjust
5257 * lyxcursor.C (par): adjust
5259 * lyxcursor.h: store a ParagraphList::iterator instead of a
5262 * lyx_cb.C (getPossibleLabel): adjust
5264 * bufferview_funcs.C (toggleAndShow): adjust
5266 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5269 * BufferView.C (removeAutoInsets): adjust
5270 (lockedInsetStoreUndo): adjust
5272 2003-04-09 John Levon <levon@movementarian.org>
5274 * ToolbarBackend.C: try icon without argument
5275 if with argument fails
5277 2003-04-08 John Levon <levon@movementarian.org>
5280 * ToolbarBackend.C: add getIcon(), handle tooltip,
5281 and change from "Icon" to "Item".
5283 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5285 * BufferView.C (lockInset): another bad getchar crunched
5287 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5289 * text2.C (changeDepth): do not setUndo on test_only (make undo work
5292 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
5294 * lyxfind.C (searchForward, searchBackwards): bug 782
5296 2003-04-07 John Levon <levon@movementarian.org>
5298 * paragraph.C: remove dead comment
5300 * text.C: remove troublesome depth-fiddling code
5301 in leftMargin() and rightMargin() (bug 1017)
5303 * text.C: fix breaking of rows in nested lists
5306 * text2.C (updateCounters): fix up depth values
5309 2003-04-07 John Levon <levon@movementarian.org>
5311 * BufferView_pimpl.C: clear message when doc finishes resizing,
5312 and after a mouse event
5314 * lyxfunc.C: clear message after exiting inset
5316 2003-04-07 John Levon <levon@movementarian.org>
5318 * bufferview_funcs.C: show math status not outside
5319 status in the statusbar
5321 2003-04-07 John Levon <levon@movementarian.org>
5323 * lyxfunc.C: note status changed after a depth change
5325 2003-04-04 Angus Leeming <leeming@lyx.org>
5327 * LaTeX.h: move AuxInfo operator==, != out of line.
5328 Remove LaTeX virtual destructor; nothing derives from it.
5329 Move operator()() out of public area and rename it startscript().
5330 Change protected for private.
5332 2003-04-04 Angus Leeming <leeming@lyx.org>
5335 * text2.C: remove unneeded #includes.
5337 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5339 * text2.C (dEPM): fix the heigth of the next row
5341 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5343 * text.C: squashed an invalid getChar requester + some ws changes
5345 2003-04-03 John Levon <levon@movementarian.org>
5347 * bufferview_funcs.h:
5348 * bufferview_funcs.C:
5351 * text2.C: make getStatus work for the env depth lfuns
5353 2003-04-03 John Levon <levon@movementarian.org>
5355 * bufferview_funcs.h:
5356 * bufferview_funcs.C:
5359 * text2.C: parlistize decDepth(), by merging it with incDepth()
5361 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5363 * lyxrow.h: store a ParagraphList::iterator instead of a
5364 Paragraph* and adjust other class functions to suit.
5366 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5369 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5371 * text2.C (setCursor): do not anchor to cursor row for the time being
5373 2003-04-02 John Levon <levon@movementarian.org>
5380 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5382 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5384 * paragraph.h: make ParagraphList and ParagraphList::iterator
5385 friends of Paragraph.
5387 * buffer.C (makeLinuxDocFile): move towards ParagraphList
5389 * ParagraphList.C: Use the private next_ and previous_ from
5392 2003-04-01 John Levon <levon@movementarian.org>
5396 * Makefile.am: rename, remove defaults gunk
5399 * MenuBackend.C: remove defaults gunk
5402 * Languages.C: remove defaults gunk
5405 * lyx_main.C: error out if files couldn't be found.
5407 2003-04-02 John Levon <levon@movementarian.org>
5409 * text2.C: make incDepth() use parlist
5411 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5413 * undo_funcs.C (firstUndoParagraph): adjust
5415 * text3.C (gotoInset): adjust
5416 (dispatch): adjust, and rewrite loop.
5418 * text2.C (init): adjust, and rewrite loop.
5419 (redoParagraphs): adjust
5420 (updateInset): adjust, and rewrite loop.
5421 (deleteEmptyParagraphMechanism): adjust
5423 * tabular.C (LyXTabular): adjust
5424 (SetMultiColumn): adjust
5427 * lyxtext.[Ch] (ownerParagraph): delete function
5428 (ownerParagraphs): new function returns a ParagraphList.
5430 * BufferView.C (removeAutoInsets): adjust
5431 (insertErrors): adjust
5432 (setCursorFromRow): adjust
5434 2003-04-01 Angus Leeming <leeming@lyx.org>
5436 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5439 2003-04-02 John Levon <levon@movementarian.org>
5445 * text_funcs.C: make transposeChars a free function
5447 * lyxrow_funcs.C: remove wrong comment
5449 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5452 * rowpainter.C: adjust
5457 * lyxrow_funcs. [Ch]: new files
5459 * lyxrow.[Ch]: remove next and previous pointers
5460 (next,previous): remove accessor functions
5461 (isParEnd): move to lyxrow_funcs
5462 (lastPos): move to lyxrow_funcs
5463 (nextRowIsAllInset): move to lyxrow_funcs
5464 (lastPrintablePos): move to lyxrow_funcs
5465 (numberOfSeparators): move to lyxrow_funcs
5466 (numberOfHfills): move to lyxrow_funcs
5467 (numberOfLabelHfills): move to lyxrow_funcs
5468 (hfillExpansion): move to lyxrow_funcs
5472 * bufferview_funcs.C (toggleAndShow): adjust
5474 * RowList.h: Remove class RowList from file leave just a
5477 * RowList.C: delete file
5479 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5482 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5484 * text3.C (cursorPrevious): adjust
5485 (cursorNext): adjust
5488 * text2.C (redoHeightOfParagraph): adjust
5489 (redoDrawingOfParagraph): adjust
5492 * text.C (breakParagraph): adjust
5493 (insertChar): adjust
5496 * rowpainter.C (RowPainter): adjust
5497 (leftMargin): simplify and adjust
5498 (most rowpainter functions): adjust.
5500 * rowpainter.h: store the row as RowList::iterator not as Row*
5502 * lyxcursor.C (row): taka RowList::iterator as arg
5505 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5508 2003-04-01 Angus Leeming <leeming@lyx.org>
5510 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5511 stuff like bool Bool.
5513 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5515 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5518 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5520 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5523 * lyxtext.h (rows): drop one version and leve a const variant that
5524 returns a RowList::iterator.
5526 2003-03-31 Angus Leeming <leeming@lyx.org>
5528 * text.C (fill): ensure that the signature is the same as that in the
5531 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
5533 * text2.C (redoParagraphs): adjust
5534 (updateCounters): adjust
5535 (checkParagraph): adjust
5536 (getColumnNearX): adjust and reformat a bit.
5538 * text.C (top_y): adjust
5540 (leftMargin): adjust
5541 (prepareToPrint): adjust
5543 (getRowNearY): adjust
5545 * lyxtext.h: make rowlist_ mutable.
5547 * RowList.h: add const_iterator
5548 * RowList.C: adjust for RowList::const_iterator.
5550 * text2.C (getCursorX): make it take a RowList::iterator as arg,
5553 2003-03-31 John Levon <levon@movementarian.org>
5556 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5558 * lyx_main.C: set default fonts from using lyx_gui funcs
5560 * exporter.C: pdf_mode moved from lyxrc
5563 * lyxfunc.C: changes from above
5565 2003-03-31 John Levon <levon@movementarian.org>
5567 * lyx_main.C: fix to the last fix
5569 2003-03-31 John Levon <levon@movementarian.org>
5571 * bufferlist.C: "Load original" -> "Load Original"
5577 * format.C: more Alert cleanups
5579 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5581 * text2.C (removeParagraph): make it take a RowList::iterator as
5583 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5584 (postRowPaint): make it take a RowList::iterator as arg, adjust.
5586 * text.C (anchor_row): make it take a RowList::iterator as arg,
5588 (computeBidiTables): make it take a const reference to Row instead
5589 of Row pointer, adjust.
5590 (leftMargin): make it take a RowList::iterator as arg, adjust.
5591 (rowBreakPoint): adjust
5592 (breakAgainOneRow): make it take a RowList::iterator as arg,
5594 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5596 * bufferview_funcs.C (toggleAndShow): adjust
5598 2003-03-30 John Levon <levon@movementarian.org>
5602 * boost-inst.C: moved to support
5604 * several files: changes as a result
5606 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5608 * text2.C (LyXText): adjust.
5610 (removeRow): make it take a RowList::iterator as arg, adjust.
5611 (fullRebreak): adjust
5612 (deleteEmptyParagraphMechanism): adjust
5613 (clearPaint): adjust
5616 * text.C (top_y): adjust
5617 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5618 (breakAgain): make it take a RowList::iterator as arg, adjust.
5619 (breakParagraph): adjust
5620 (insertChar): adjust
5623 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5624 need_break_row, and refresh_row.
5626 * text3.C (dispatch): adjust
5628 * text2.C (checkParagraph): adjust
5630 (setCursorFromCoordinates): adjust
5632 * text.C (top_y): adjust
5634 (getRow): make it return a RowList::iterator, adjust
5635 (getRowNearY): make it return a RowList::iterator, adjust
5637 * text2.C (init): adjust
5638 (insertRow): remove function
5639 (insertParagraph): adjust
5640 (redoParagraphs): adjust
5641 (fullRebreak): adjust
5642 (updateCounters): adjust
5644 * text.C (top_y): rewrite to use RowList iterators.
5646 (setHeightOfRow): rewrite to sue RowList iterators.
5647 (appendParagraph): adjust
5648 (breakAgain): adjust
5649 (breakAgainOneRow): adjust
5650 (breakParagraph): adjust
5652 (getRowNearY): adjust, and remove commented code.
5654 * lyxtext.h (firstRow): delete function
5655 (lastRow): delete function
5656 (rows): new function (const and non-const versions.)
5657 (insertRow): delete function
5659 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5661 2003-03-29 John Levon <levon@movementarian.org>
5663 * BufferView_pimpl.C: always update scrollbar top
5664 because pasting text when we're anchored could mean we
5665 miss an update altogether
5667 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5669 * text2.C (init): use rowlist_.end() and not 0.
5670 (insertRow): change to take a RowList::iterator as arg, adjust
5672 (insertParagraph): change to take a RowList::iterator as arg,
5674 (redoParagraphs): remove some debug msgs.
5676 * text.C (appendParagraph): change to take a RowList::iterator
5677 arg, adjust for this.
5678 (breakAgain): add an assert
5679 (breakAgainOneRow): ditto
5681 2003-03-29 John Levon <levon@movementarian.org>
5683 * text2.C: do not clear selection after inc/decDepth
5686 2003-03-29 John Levon <levon@movementarian.org>
5689 * buffer.C: fix broken strerrors according to Lars
5691 2003-03-29 John Levon <levon@movementarian.org>
5693 * converters.C: more Alert cleanups
5695 2003-03-29 John Levon <levon@movementarian.org>
5697 * bufferview_funcs.C: remove pointless Alert
5699 * buffer.C: fix confusing error message when
5700 a template is chmoded 000
5702 2003-03-29 John Levon <levon@movementarian.org>
5706 * BufferView_pimpl.C: Alert fixes
5710 * tabular-old.C: remove unused table compat reading
5712 2003-03-29 John Levon <levon@movementarian.org>
5717 * lyx_cb.C: more Alert cleanups
5719 * lyxfunc.C: don't allow chktex if not latex document
5721 2003-03-29 John Levon <levon@movementarian.org>
5725 * buffer.C: warnings pushed down from support/,
5728 2003-03-29 John Levon <levon@movementarian.org>
5730 * lyxfunc.C: safety check for C-r (revert)
5732 2003-03-29 John Levon <levon@movementarian.org>
5735 * bufferlist.C: several UI fixes using Alert::prompt.
5736 Fix the pointless looping quit code. Fix stupid revert
5741 * lyx_cb.C: use Alert::prompt
5743 * lyx_main.C: remove a silly question
5745 * lyxfunc.C: remove a couple of silly questions,
5748 2003-03-28 John Levon <levon@movementarian.org>
5750 * text2.C: fix bug 974 (End on empty par)
5752 2003-03-28 John Levon <levon@movementarian.org>
5754 * BufferView_pimpl.C:
5756 * lfuns.h: remove do-nothing math greek lfuns
5758 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5760 * lyxgluelength.h (isValidGlueLength): add default arg on
5761 parameter 2. Remove default arg from friend in class.
5763 * lyxlength.h (isValidLength): add default arg on parameter 2.
5764 Remove default arg from friend in class.
5766 * text2.C (LyXText): adjust, initialize refresh_row.
5770 (insertParagraph): adjst
5771 (redoParagraphs): adjust
5772 (fullRebreak): adjust
5773 (updateCounters): adjust
5774 (deleteEmptyParagraphMechanism): first attempt at fixing a
5777 * text.C (top_y): adjust
5778 (setHeightOfRow): adjust
5780 (getRowNearY): adjust
5782 * lyxtext.h: include RowList.h
5783 (~LyXText): not needed anymore, deleted.
5784 (firstRow): modify for RowList
5785 (lastRow): new function
5786 Delete firstrow and lastrow class variables, add a Rowlist
5787 rowlist_ class variable.
5789 * lyxrow.C (lastPos): use empty() and not !size() to check if a
5792 * RowList.C (insert): fix case where it == begin().
5794 2003-03-26 Angus Leeming <leeming@lyx.org>
5796 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5797 the thesaurus dialog.
5799 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5801 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5803 * RowList.[Ch]: new files
5805 * ParagraphList.C (erase): handle the case where it == begin
5808 2003-03-25 John Levon <levon@movementarian.org>
5812 * aspell.C: add new aspell support
5815 * lyxrc.C: Make use_pspell be use_spell_lib. Always
5818 2003-03-25 Angus Leeming <leeming@lyx.org>
5821 * LyXAction.C (init): new LFUN_INSET_INSERT.
5823 * BufferView_pimpl.C (dispatch): split out part of the
5824 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5826 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5829 2003-03-25 Angus Leeming <leeming@lyx.org>
5831 * lyxfunc.C (dispatch): changes to the Dialogs interface.
5833 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
5836 * text3.C: remove useless row->height(0)
5838 2003-03-25 John Levon <levon@movementarian.org>
5842 * text3.C: rename the refreshing stuff to better names
5844 2003-03-24 John Levon <levon@movementarian.org>
5846 * BufferView_pimpl.h:
5847 * BufferView_pimpl.C: update layout choice on a mouse
5850 2003-03-23 John Levon <levon@movementarian.org>
5852 * Makefile.am: fix commandtags.h reference
5854 2003-03-22 John Levon <levon@movementarian.org>
5856 * BufferView_pimpl.C:
5861 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5863 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
5866 * text.C: take the rtl methods out of line
5868 2003-03-21 André Pönitz <poenitz@gmx.net>
5870 * metricsinfo.[Ch]: new files containing structures to be passed around
5871 during the two-phase-drawing...
5873 2003-03-21 André Pönitz <poenitz@gmx.net>
5875 * lyxtextclass.C: read 'environment' tag.
5877 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
5879 * text2.C (removeRow): fix bug 964
5881 2003-03-20 John Levon <levon@movementarian.org>
5885 * text2.C: paint cleanups. Inset::update() dropped font
5888 2003-03-19 John Levon <levon@movementarian.org>
5890 * lyxfunc.C: only fitcursor/markDirty if available()
5892 2003-03-19 John Levon <levon@movementarian.org>
5894 * commandtags.h: rename to ...
5896 * lfuns.h: ... this, and renumber / cleanup
5898 2003-03-19 John Levon <levon@movementarian.org>
5900 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5901 fit the cursor after an lfun
5905 * BufferView_pimpl.h:
5906 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5908 * LyXAction.C: layout-character should have ReadOnly
5910 * ParagraphParameters.C:
5912 * bufferview_funcs.C:
5919 * undo_funcs.C: changes from above
5921 2003-03-18 John Levon <levon@movementarian.org>
5923 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5924 remove it from update()
5926 * lyxfunc.C: update layout choice after an lfun
5928 * text3.C: remove extra updateLayoutChoice()s
5930 2003-03-18 John Levon <levon@movementarian.org>
5932 * text.C: top_y change means full repaint, fix
5933 a drawing bug with cursor movement
5935 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5939 * text2.C: anchor row on setCursor
5941 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5943 * lyxtext.h: remove almost all mutable keywords
5946 * text3.C: remove const keywords accordingly
5948 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5950 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5952 (TeXEnvironment): ditto
5955 2003-03-17 John Levon <levon@movementarian.org>
5957 * text.C (rowBreakPoint): remove attempt to fix displayed
5958 math insets inside a manual label
5960 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5962 * lyxtext.h: remove BufferView* as first arg from almost all class
5964 * other files: adjust.
5966 2003-03-17 John Levon <levon@movementarian.org>
5970 * text2.C: more paint cleanups
5972 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5975 * rowpainter.C: remove "smart" background painting code
5977 2003-03-16 John Levon <levon@movementarian.org>
5982 * text3.C: add helper functions for setting refresh_row/y
5984 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
5986 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5987 newline inset which *can* get inserted in the pass_thru layouts.
5988 This is primarily for literate documents.
5990 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
5992 * buffer.C: increment LYX_FORMAT to 223
5994 2003-03-14 André Pönitz <poenitz@gmx.net>
5996 * textclass.h: prepare for environment handling, ws changes
5997 * lyxlayout.C: read latexheader and latexfooter tags
5999 2003-03-14 John Levon <levon@movementarian.org>
6001 * text2.C: rewrite ::status() a bit
6003 2003-03-13 John Levon <levon@movementarian.org>
6005 * lyxtext.h: add some docs
6007 2003-03-13 John Levon <levon@movementarian.org>
6012 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6014 2003-03-13 John Levon <levon@movementarian.org>
6016 * text3.C: fix appendix redrawing
6018 2003-03-13 John Levon <levon@movementarian.org>
6020 * text.C (setHeightOfRow):
6022 * rowpainter.C: make appendix mark have the text
6023 "Appendix" so the user knows what it is
6026 * LColor.C: s/appendixline/appendix/ from above
6028 2003-03-13 John Levon <levon@movementarian.org>
6030 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6032 * text.C: fix a getChar(pos) bug properly
6034 2003-03-13 Angus Leeming <leeming@lyx.org>
6037 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6038 Probably only temporary. Let's see how things pan out.
6040 * BufferView.C (unlockInset):
6041 * BufferView_pimpl.C (fitCursor):
6042 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6044 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6045 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6047 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6048 new functions that convert ParagraphParameters to and from a string.
6050 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6051 BufferView::Pimpl's dispatch.
6052 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6054 2003-03-13 André Pönitz <poenitz@gmx.net>
6058 * factory.C: make it aware of InsetEnv
6060 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6062 * text2.C (setCursor): never ask for one past last
6063 (setCursor): add some debugging messages.
6065 * text.C (singleWidth): never ask for one past last
6066 (singleWidth): ditto
6068 (rightMargin): ditto
6069 (rowBreakPoint): ditto
6070 (setHeightOfRow): ditto
6071 (prepareToPrint): ditto
6073 * rowpainter.C (paintBackground): never ask for one past last
6074 (paintText): never ask for one past last
6076 * paragraph_pimpl.C (getChar): make the assert stricter, never
6077 allow the one past last pos to be taken
6079 * paragraph.C (getChar): ws changes only
6081 * lyxrow.C (nextRowIsAllInset): never ask for one past last
6082 (numberOfSeparators): ditto
6083 (numberOfHfills): ditto
6085 2003-03-12 John Levon <levon@movementarian.org>
6091 * paragraph_funcs.C: fix per-buffer authorlists
6093 2003-03-12 John Levon <levon@movementarian.org>
6095 * text.C: fix newline in right address
6097 2003-03-12 Angus Leeming <leeming@lyx.org>
6099 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6100 duplicate those in LyXFunc::dispatch.
6104 * ToolbarDefaults.C:
6105 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6106 Add LFUN_FONTFREE_UPDATE.
6108 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6109 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6111 * bufferview_func.[Ch]: several new functions to facilliate
6112 transfer of data to and from the character dialog.
6114 2003-03-12 John Levon <levon@movementarian.org>
6119 * paragraph_funcs.C:
6120 * paragraph_pimpl.C:
6124 * text3.C: remove META_NEWLINE in favour of an inset
6127 * rowpainter.C: remove paintNewline (done by inset)
6129 2003-03-12 John Levon <levon@movementarian.org>
6131 * paragraph_pimpl.C: complain about bad getChar()s
6132 for a while at least
6134 2003-03-12 John Levon <levon@movementarian.org>
6137 * buffer.C: move paragraph read into a separate function,
6138 a little renaming to reflect that.
6141 * bufferparams.C: remove the author_ids map, not necessary now
6144 * factory.C: moved Buffer::readInset to here
6146 * paragraph_funcs.h:
6147 * paragraph_funcs.C: readParagraph free function moved from
6150 * tabular.C: name change
6152 2003-03-12 John Levon <levon@movementarian.org>
6155 * ParagraphParameters.C: move par params input to
6158 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6159 behave like a normal read from the stream wrt reading
6160 a line vs. a \\token
6162 2003-03-12 John Levon <levon@movementarian.org>
6165 * ParagraphParameters.h:
6166 * ParagraphParameters.C: move output code to a
6169 2003-03-12 John Levon <levon@movementarian.org>
6171 * BufferView.C (insertLyXFile):
6174 * tabular.C: use a parlist iterator for creating the
6177 2003-03-12 John Levon <levon@movementarian.org>
6179 * buffer.C: make current_change static local not
6182 2003-03-12 John Levon <levon@movementarian.org>
6184 * buffer.C: fix insertStringAsLines for change tracking
6186 2003-03-12 John Levon <levon@movementarian.org>
6193 * bufferparams.C: move author list into params. Rename some
6194 functions. Move the header reading into a separate token
6195 loop. Move the header token reading into BufferParams.
6197 2003-03-12 John Levon <levon@movementarian.org>
6199 * changes.C: put debug inside lyxerr.debugging() checks
6201 2003-03-11 André Pönitz <poenitz@gmx.net>
6203 * factory.C: make it aware of InsetHFill
6205 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6207 * buffer.C (latexParagraphs): move function from here...
6208 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6211 2003-03-10 Angus Leeming <leeming@lyx.org>
6213 * LyXAction.C (init): fix bug in poplating array with multiple entries
6214 with the same LFUN (spotted by JMarc).
6216 2003-03-10 John Levon <levon@movementarian.org>
6219 * text2.C: move getColumnNearX() near its
6222 2003-03-10 John Levon <levon@movementarian.org>
6224 * text.C: fix break before a minipage
6226 2003-03-10 John Levon <levon@movementarian.org>
6228 * text.C: fix the last commit
6230 2003-03-09 John Levon <levon@movementarian.org>
6234 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6235 bug 365 (don't break before insets unless needed). Don't
6236 return a value > last under any circumstances.
6238 2003-03-09 Angus Leeming <leeming@lyx.org>
6240 * BufferView_pimpl.C (trackChanges, dispatch): call
6241 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6243 2003-03-09 Angus Leeming <leeming@lyx.org>
6245 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6246 than Dialogs::showAboutlyx().
6248 2003-03-09 Angus Leeming <leeming@lyx.org>
6250 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6251 than Dialogs::showTabularCreate().
6253 2003-03-09 John Levon <levon@movementarian.org>
6257 * text2.C: 3rd arg to nextBreakPoint was always the same.
6260 2003-03-08 John Levon <levon@movementarian.org>
6267 * text2.C: Remove the "main" bit from the "main body"
6270 2003-03-08 John Levon <levon@movementarian.org>
6272 * text.C (leftMargin): The left margin of an empty
6273 manual label paragraph should not include the label width
6276 * text.C (prepareToPrint): don't attempt to measure hfills
6277 for empty manual label paragraphs - the answer should be 0
6279 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6281 * CutAndPaste.C: remove commented code and reindent.
6283 2003-03-08 John Levon <levon@movementarian.org>
6286 * lyxfunc.C: move reloadBuffer()
6289 * BufferView.C: to here
6291 * lyxvc.C: add comment
6294 * vc-backend.C: call bv->reload() to avoid
6295 getStatus() check on MENURELOAD
6297 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
6299 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6300 to an old format .dep file.
6302 2003-03-07 Angus Leeming <leeming@lyx.org>
6304 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6305 when the LFUN_MOUSE_RELEASE should have been handled by
6306 inset->localDispatch.
6308 2003-03-07 Angus Leeming <leeming@lyx.org>
6310 * BufferView_pimpl.C (dispatch):
6311 * LyXAction.C (init):
6312 * ToolbarDefaults.C (init):
6314 * lyxfunc.C (getStatus):
6315 remove LFUN_INSET_GRAPHICS.
6317 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6319 2003-03-07 Angus Leeming <leeming@lyx.org>
6322 * LyXAction.C (init):
6323 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6325 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6328 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6330 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6331 localDispatch method LFUN_INSET_DIALOG_UPDATE.
6333 2003-03-07 Angus Leeming <leeming@lyx.org>
6335 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6338 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6340 * ParagraphList.C (front): new function
6343 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
6345 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6346 and top_row_offset_. removed var first_y.
6348 * text2.C (LyXText, removeRow):
6350 * BufferView_pimpl.C:
6351 use these methods instead of using first_y
6353 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6355 * text2.C (pasteSelection): adjust for checkPastePossible
6357 * CutAndPaste.C: remove Paragraph * buf and replace with
6358 ParagraphList paragraphs.
6359 (DeleteBuffer): delete
6360 (cutSelection): change the tc type to textclass_type
6361 (copySelection): change the tc type to textclass_type
6362 (copySelection): adjust for ParagraphList
6363 (pasteSelection): change the tc type to textclass_type
6364 (pasteSelection): adjust for Paragraphlist
6365 (nrOfParagraphs): simplify for ParagraphList
6366 (checkPastePossible): simplify for ParagraphList
6367 (checkPastePossible): remove unused arg
6369 * ParagraphList.C (insert): handle the case where there are no
6372 * CutAndPaste.h: make CutAndPaste a namespace.
6374 * text3.C (dispatch): adjust
6376 * text.C (breakParagraph): add a ParagraphList as arg
6378 * paragraph_funcs.C (breakParagraph): change to take a
6379 BufferParams and a ParagraphList as args.
6380 (breakParagraphConservative): ditto
6381 (mergeParagraph): ditto
6382 (TeXDeeper): add a ParagraphList arg
6383 (TeXEnvironment): ditto
6386 * buffer.C (readLyXformat2): adjust
6387 (insertStringAsLines): adjust
6388 (latexParagraphs): adjust
6390 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6391 (cutSelection): adjust
6392 (pasteSelection): adjust
6394 * BufferView_pimpl.C (insertInset): adjust
6396 2003-03-05 Angus Leeming <leeming@lyx.org>
6399 * LyXAction.C (init):
6400 * BufferView_pimpl.C (dispatch):
6401 * lyxfunc.C (getStatus):
6402 remove LFUN_CHILD_INSERT.
6404 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6406 2003-03-05 Angus Leeming <leeming@lyx.org>
6409 * LyXAction.C (init):
6410 * src/factory.C (createInset):
6411 * lyxfunc.C (getStatus):
6412 * text3.C (dispatch):
6413 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6415 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6417 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6419 * ParagraphList.C (insert): handle insert right before end()
6420 (erase): fix cases where it can be first or last paragraph.
6422 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6424 * paragraph_funcs.C (TeXEnvironment): remove all usage of
6425 Paragraph::next and Paragraph::previous
6428 * text.C (breakParagraph): adjust
6430 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6431 BufferParams& as arg.
6432 (breakParagraph): use ParagraphList::insert
6433 (breakParagraphConservative): take a Buffer* instead of a
6434 BufferParams& as arg.
6435 (breakParagraphConservative): use ParagraphList::insert.
6437 * buffer.C (insertStringAsLines): un-const it
6438 (insertStringAsLines): adjust
6440 * ParagraphList.C (insert): new function
6442 * CutAndPaste.C (pasteSelection): adjust
6444 * text.C (backspace): adjust
6446 * tabular.C (SetMultiColumn): adjust
6448 * CutAndPaste.C (cutSelection): adjust
6449 (pasteSelection): adjust
6451 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6452 Buffer const * as arg
6454 * ParagraphList.C (erase): new function
6455 * paragraph_funcs.C (mergeParagraph): use it
6456 (mergeParagraph): make it take a Buffer* instead of a
6457 BufferParams* as arg
6459 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6461 (breakParagraphConservative): ditto
6463 * paragraph.h: remove the breakParagraph friend
6465 * paragraph.C (eraseIntern): new function
6466 (setChange): new function
6468 * paragraph_funcs.C (mergeParagraph): make it take a
6469 ParagraphList::iterator instead of a Paragraph *, adjust
6472 * paragraph.h: move an #endif so that the change tracking stuff
6473 also works in the NO_NEXT case.
6475 2003-03-04 Angus Leeming <leeming@lyx.org>
6478 * LyXAction.C: new LFUN_INSET_MODIFY.
6480 * BufferView_pimpl.C (dispatch): if an inset is found to be open
6481 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6483 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6485 * several files: ws changes only
6487 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6488 (TeXEnvironment): ditto
6491 * buffer.C (makeLaTeXFile): adjust
6492 (latexParagraphs): make it take ParagraphList::iterator as args
6494 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6496 * buffer.C (latexParagraphs): adjust
6498 * paragraph.C (TeXOnePar): move function...
6499 (optArgInset): move function...
6500 (TeXEnvironment): move function...
6501 * paragraph_pimpl.C (TeXDeeper): move function...
6502 * paragraph_funcs.C: ...here
6504 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6506 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6508 * buffer.C (readInset): remove compability code for old Figure and
6511 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6513 * buffer.C: ws changes
6516 * BufferView_pimpl.C: ditto
6519 * bufferlist.h: ditto
6523 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
6525 * converter.[Ch]: split into itself +
6528 * Makefile.am: += graph.[Ch] + format.[Ch]
6535 * lyxrc.C: added #include "format.h"
6537 2003-02-27 Angus Leeming <leeming@lyx.org>
6539 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6542 * factory.C (createInset): add "label" to the factory.
6544 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6545 string and do no more.
6547 2003-02-27 Angus Leeming <leeming@lyx.org>
6550 * LyXAction.C (init):
6551 * factory.C (createInset):
6552 * BufferView_pimpl.C (dispatch):
6553 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6555 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6557 * lyxfunc.C (dispatch):
6558 * text3.C (dispatch): pass name to params2string.
6560 2003-02-26 Angus Leeming <leeming@lyx.org>
6562 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6564 Rearrange the ~includes. Strip out the unnecessary ones.
6566 * factory.C (createInset): reformat.
6567 create new insets for the various LFUN_XYZ_APPLY lfuns.
6569 2003-02-26 John Levon <levon@movementarian.org>
6572 * lyxrow.C: add isParStart,isParEnd helpers
6574 * paragraph.h: make isInserted/DeletedText take refs
6576 * paragraph_funcs.h:
6577 * paragraph_funcs.C: remove #if 0'd code
6582 * text.C: use lyxrow helpers above.
6583 Move draw and paint routines to RowPainter.
6584 Make several methods use refs not pointers.
6585 Make backgroundColor() const.
6586 Add markChangeInDraw(), isInInset().
6587 Merge changeRegionCase into changeCase.
6588 Make workWidth() shouldn't-happen code into an Assert.
6591 * rowpainter.C: new class for painting a row.
6594 * vspace.C: make inPixels take a ref
6596 2003-02-26 Angus Leeming <leeming@lyx.org>
6598 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6601 2003-02-25 John Levon <levon@movementarian.org>
6603 * ispell.C: give the forked command a more accurate name
6605 2003-02-22 John Levon <levon@movementarian.org>
6608 * toc.C: make TocItem store an id not a Paragraph *
6611 2003-02-21 Angus Leeming <leeming@lyx.org>
6613 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6614 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6615 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6616 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6617 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6618 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6620 * BufferView_pimpl.C (dispatch):
6621 * LyXAction.C (init):
6622 * factory.C (createInset):
6623 * lyxfunc.C (getStatus, dispatch):
6624 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6626 2003-02-21 Angus Leeming <leeming@lyx.org>
6628 * BufferView_pimpl.C (MenuInsertLyXFile):
6629 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6630 * lyxfunc.C (menuNew, open, doImport):
6631 no longer pass a LyXView & to fileDlg.
6633 2003-02-21 Angus Leeming <leeming@lyx.org>
6635 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6636 * LyXAction.C: change, BIBKEY to BIBITEM.
6637 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6638 Change InsetBibKey to InsetBibitem.
6639 Change BIBKEY_CODE to BIBITEM_CODE.
6640 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6641 * factory.C: replace insetbib.h with insetbibitem.h.
6642 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6643 * paragraph.C: replace insetbib.h with insetbibitem.h.
6644 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6645 Change bibkey() to bibitem().
6646 * text.C: remove insetbib.h.
6647 * text2.C: replace insetbib.h with insetbibitem.h.
6648 change bibkey() to bibitem().
6649 * text3.C: remove insetbib.h.
6650 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6652 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6654 * lyxrc.C (output): enclose user email in quotes (in case there are
6657 2003-02-18 John Levon <levon@movementarian.org>
6659 * buffer.h: add std::
6661 2003-02-17 John Levon <levon@movementarian.org>
6667 * pspell.C: reworking. Especially in ispell, a large
6668 number of clean ups and bug fixes.
6670 * lyxfunc.C: fix revert to behave sensibly
6672 2003-02-17 André Pönitz <poenitz@gmx.net>
6675 * commandtags.h: new LFUN_INSERT_BIBKEY
6685 * paragraph_func.C: remove special bibkey handling
6687 2003-02-17 John Levon <levon@movementarian.org>
6689 * text.C (Delete): fix case where delete at the end of
6690 the very first paragraph would not merge the pars
6692 2003-02-17 John Levon <levon@movementarian.org>
6694 * lyxrow.C: fix lastPrintablePos()
6696 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6698 * bufferparams.C (writeLaTeX): add a std:here
6700 * buffer.C: and remove a using directive there
6702 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6704 * buffer.C (makeLaTeXFile): move the code that generates the
6707 * bufferparams.C (writeLaTeX): ... in this new method
6709 * LaTeXFeatures.C (getEncodingSet): make const
6710 (getLanguages): make const
6712 * MenuBackend.C (binding): returns the binding associated to this
6714 (add): sets the status of each item by calling getStatus. Adds
6716 (read): add support for OptSubMenu
6717 (expand): remove extra separator at the end of expanded menu
6719 2003-02-15 John Levon <levon@movementarian.org>
6722 * BufferView_pimpl.C:
6724 * bufferlist.C: remove pointless BufferStorage bloat. Remove
6725 inset code that had no actual effect. Remove unneeded status
6728 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6730 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6733 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
6735 * text.C (drawLengthMarker): also draw an arrow marker for
6736 symbolic lengths (medskip...)
6738 2003-02-14 John Levon <levon@movementarian.org>
6741 * tabular.C: better method names
6743 2003-02-14 John Levon <levon@movementarian.org>
6745 * BufferView_pimpl.C:
6750 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6751 it's a more accurate name. Remove some pointless uses.
6753 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6755 * text2.C (LyXText): change order of initilizers to shut off
6758 2003-02-14 John Levon <levon@movementarian.org>
6760 * buffer.C: use ParIterator for getParFromID()
6764 * paragraph_pimpl.h:
6765 * paragraph_pimpl.C: remove unused getParFromID()
6767 2003-02-14 John Levon <levon@movementarian.org>
6769 * buffer.C: remove some very old #if 0'd parse code
6771 2003-02-13 John Levon <levon@movementarian.org>
6775 * text2.C: move hfillExpansion(), numberOfSeparators(),
6776 rowLast(), rowLastPrintable(), numberofHfills(),
6777 numberOfLabelHfills() ...
6780 * lyxrow.C: ... to member functions here.
6785 * text.C: remove LyXText::beginningOfMainBody(), and call
6786 p->beginningOfMainBody() directly. Move the check for
6787 LABEL_MANUAL into the latter.
6794 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6800 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6801 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6803 2003-02-13 John Levon <levon@movementarian.org>
6805 * CutAndPaste.C: remove debug
6807 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6809 * paragraph.C (asString): remove two unused variables
6811 * lyxtextclass.C (readTitleType):
6813 (LyXTextClass): handle new members titletype_ and titlename_
6815 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6817 2003-02-09 John Levon <levon@movementarian.org>
6820 * buffer.C: replace hand-coded list with a map for the dep clean
6822 2003-02-08 John Levon <levon@movementarian.org>
6824 * LaTeX.C: consolidate code into showRunMessage() helper
6826 2003-02-08 John Levon <levon@movementarian.org>
6831 * BufferView.C: change setSelectionOverString() to setSelectionRange()
6832 and pass the size in explicitly
6834 * BufferView_pimpl.h:
6835 * BufferView_pimpl.C:
6837 * BufferView.C: add getCurrentChange()
6839 * BufferView_pimpl.h:
6840 * BufferView_pimpl.C: handle change lfuns
6842 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6843 for changes. Mark pasted paragraphs as new.
6845 * support/lyxtime.h:
6846 * support/lyxtime.C:
6847 * DepTable.C: abstract time_t as lyx::time_type
6850 * LColor.C: add colours for new text, deleted text, changebars
6852 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6853 package use "usenames" option.
6857 * LyXAction.C: add change lfuns
6861 * author.C: author handling
6864 * buffer.C: add a per-buffer author list, with first entry as
6865 current author. Handle new .lyx tokens for change tracking. Output
6866 author list to .lyx file. Output dvipost stuff to .tex preamble.
6867 Bump lyx format to 222.
6870 * bufferlist.C: add setCurrentAuthor() to reset current author details
6874 * bufferparams.C: add param for tracking
6876 * bufferview_funcs.C: output change info in minibuffer
6880 * changes.C: add change-tracking structure
6883 * debug.C: add CHANGES debug flag
6886 * lyxfind.C: add code for finding the next change piece
6889 * lyxrc.C: add user_name and user_email
6892 * lyxrow.C: add a metric for the top of the text line
6895 * text.C: implement accept/rejectChange()
6898 * text.C: paint changebars. Paint new/deleted text in the chosen
6899 colours. Strike through deleted text.
6903 * paragraph_pimpl.h:
6904 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6905 in the current change to the insert functions. Rework erase to
6906 mark text as deleted, adding an eraseIntern() and a range-based
6907 erase(). Implement per-paragraph change lookup and
6910 * paragraph_funcs.C: Fixup paste for change tracking.
6912 * tabular.C: mark added row/columns as new.
6914 * text.C: fix rowLast() to never return -1. Don't allow
6915 spellchecking of deleted text. Track transpose changes. Don't
6916 allow paragraph break or merge where appropriate.
6918 * text2.C: leave cursor at end of selection after a cut.
6920 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6922 * text.C (getLengthMarkerHeight):
6923 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6924 visible on screen too.
6926 2003-02-07 John Levon <levon@movementarian.org>
6928 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6930 2003-02-05 Angus Leeming <leeming@lyx.org>
6932 * lyxserver.C (read_ready): revert my patch of 11 September last year
6933 as it sends PC cpu through the roof. Presumably this means that
6934 the lyxserver will no longer run on an Alpha...
6936 2003-01-30 Angus Leeming <leeming@lyx.org>
6938 * factory.C (createInset): create an InsetCommandParam of type "index"
6939 and use it to 'do the right thing'.
6941 * text2.C (getStringToIndex): ensure that cursor position is always
6942 reset to the reset_cursor position.
6944 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6946 * lyxfunc.C (getStatus): "buffer-export custom" should never be
6949 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
6953 * lyxfunc.C: Output messages with identical spelling, punctuation,
6956 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
6958 * MenuBackend.C (expandFormats): List only viewable export formats
6961 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6964 * lyxfunc.C (getStatus): Make sure that formats other than
6965 "fax" can also be disabled
6967 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6969 * text3.C (dispatch): put the lfuns that insert insets in 3
6970 groups, and call doInsertInset with appropriate arguments.
6971 (doInsertInset): new function, that creates an inset and inserts
6972 it according to some boolean parameters.
6974 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6976 * buffer.C (readFile): remember to pass on 'par' when calling
6977 readFile recursively.
6979 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6981 * MenuBackend.C (expandFormats): add "..." to import formats.
6983 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
6985 * paragraph.C (asString): Remove XForms RTL hacks.
6987 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
6988 * buffer.C: fix typo
6990 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6992 * Makefile.am (LIBS): delete var
6993 (lyx_LDADD): add @LIBS@ here instead.
6995 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
6997 * Clarify the meaning of "wheel mouse jump"
6999 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7001 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7004 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7006 * importer.C (Loaders): do not preallocate 3 elements in the
7007 vector, since one ends up with 6 elements otherwise
7009 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7011 * DepTable.C (write): write the file name as last element of the
7012 .dep file (because it may contain spaces)
7013 (read): read info in the right order
7015 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7017 * paragraph_pimpl.C (simpleTeXBlanks):
7018 (simpleTeXSpecialChars):
7019 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7021 * tabular.C (latex): add some missing case statements. Reindent.
7023 * MenuBackend.C (expandToc): remove unused variable.
7025 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
7034 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7037 2003-01-05 John Levon <levon@movementarian.org>
7040 * BufferView.C: add getEncoding()
7043 * kbsequence.C: do not store last keypress
7046 * lyxfunc.C: store last keypress here instead. Pass encoding
7049 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7051 * lyx_main.C (init): remove annoying error message when following
7052 symbolic links (bug #780)
7054 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7056 * text.C (insertChar):
7057 * lyxrc.C (getDescription): remove extra spaces
7059 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7061 * lyxrc.C (getDescription): remove extra spaces
7063 2002-12-20 John Levon <levon@movementarian.org>
7065 * text3.C: hack fix for page up/down across tall rows
7067 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7069 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7072 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7074 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7075 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7076 thesaurus is not compiled in
7078 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
7080 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
7082 2002-12-16 Angus Leeming <leeming@lyx.org>
7085 * lyx_main.C (init): remove override_x_deadkeys stuff.
7087 2002-12-12 John Levon <levon@movementarian.org>
7089 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7090 insert. Only remove shift modifier under strict
7093 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7095 * MenuBackend.C (expandToc): fix crash.
7097 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7099 * MenuBackend.C (expandToc): gettext on float names.
7101 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7103 * lyxlength.[Ch]: set default unit to UNIT_NONE,
7104 implement bool empty() [bug 490]
7106 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7108 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7110 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7112 * several files: ws changes
7114 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7116 * text2.C (setCounter): clean up a bit, use boost.format.
7117 (updateCounters): initialize par upon declaration.
7119 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7120 if the layout exists. We do not just store the layout any more.
7121 (SwitchLayoutsBetweenClasses): use boost.format
7123 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7125 * converter.C (convert): if from and to files are the same, use a
7126 temporary files as intermediary
7128 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7131 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7133 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
7135 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7137 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7139 * tabular.C (asciiPrintCell): use string(size, char) instead of
7142 * sgml.C (openTag): fix order of arguments to string constructor
7145 * lyxfunc.C (dispatch): use boost.format
7147 * lots of files: change "c" -> 'c'
7149 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
7151 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7153 2002-11-25 Angus Leeming <leeming@lyx.org>
7155 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7157 * lyx_main.C (init): compile fix.
7159 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7161 * lyx_cb.C (start): boost.formatify
7162 do not include <iostream>
7164 * lengthcommon.C: ws only
7166 * boost-inst.C,BoostFormat.h: add more explict instantations
7168 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7170 * lots of files: handle USE_BOOST_FORMAT
7172 2002-11-21 John Levon <levon@movementarian.org>
7174 * pspell.C: fix compile
7176 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7178 * lyxfunc.C (dispatch): use boost::format
7182 * lyxfont.C (stateText): use boost::format
7184 * lyx_main.C (LyX): use boost::format
7186 (queryUserLyXDir): ditto
7189 (typedef boost::function): use the recommened syntax.
7191 * importer.C (Import): use boost::format
7193 * debug.C (showLevel): use boost::format
7195 * converter.C (view): use boost::format
7200 * bufferview_funcs.C (currentState): use boost::format
7202 * bufferlist.C (emergencyWrite): use boost::format
7204 * buffer.C (readLyXformat2): use boost::format
7205 (parseSingleLyXformat2Token): ditto
7207 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7209 * LaTeX.C (run): use boost::format
7211 * Chktex.C (scanLogFile): use boost::format
7213 * BufferView_pimpl.C (savePosition): use boost::format
7214 (restorePosition): ditto
7215 (MenuInsertLyXFile): ditto
7217 * BoostFormat.h: help file for explicit instation.
7219 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
7221 * tabular.C (latex): Support for block alignment in fixed width
7224 2002-11-17 John Levon <levon@movementarian.org>
7226 * BufferView_pimpl.C:
7228 * lyxfunc.C: split filedialog into open/save
7230 2002-11-08 Juergen Vigna <jug@sad.it>
7232 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7233 by my last patch (hopefully).
7235 2002-11-08 John Levon <levon@movementarian.org>
7244 * toc.C: ParConstIterator, and use it (from Lars)
7246 2002-11-07 Ben Stanley <bds02@uow.edu.au>
7248 * lyxtextclass.[Ch]: revise and add doxygen comments
7250 2002-11-07 John Levon <levon@movementarian.org>
7252 * text.C: fix progress value for spellchecker
7254 * toc.C: fix navigate menu for insetwrap inside minipage
7256 * paragraph_funcs.C: added FIXME for suspect code
7258 2002-11-07 John Levon <levon@movementarian.org>
7260 * BufferView_pimpl.C: fix redrawing of insets
7263 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7265 * text2.C (updateCounters): fix bug 668
7267 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
7269 * text3.C (dispatch): Do not make the buffer dirty when moving the
7272 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7274 * vc-backend.C: STRCONV
7277 * text2.C (setCounter): STRCONV
7279 * paragraph.C (asString): STRCONV
7281 * lyxlength.C (asString): STRCONV
7282 (asLatexString): ditto
7284 * lyxgluelength.C (asString): STRCONV
7285 (asLatexString): ditto
7287 * lyxfunc.C (dispatch): STRCONV
7290 * lyxfont.C (stateText): STRCONV
7292 * importer.C (Import): STRCONV
7294 * counters.C (labelItem): STRCONV
7295 (numberLabel): ditto
7296 (numberLabel): remove unused ostringstream o
7301 * bufferview_funcs.C (currentState): STRCONV
7303 * buffer.C (readFile): STRCONV
7304 (asciiParagraph): ditto
7305 (makeLaTeXFile): ditto
7307 * Spacing.C (writeEnvirBegin): STRCONV
7309 * LaTeXFeatures.C (getLanguages): STRCONV
7310 (getPackages): ditto
7312 (getBabelOptions): ditto
7313 (getTClassPreamble): ditto
7314 (getLyXSGMLEntities): ditto
7315 (getIncludedFiles): ditto
7319 (scanAuxFile): ditto
7322 * LString.h: add the STRCONV macros
7324 * BufferView_pimpl.C (savePosition): STRCONV
7325 (restorePosition): ditto
7326 (MenuInsertLyXFile): ditto
7328 * vc-backend.C (scanMaster): change from submatch[...] to
7331 * funcrequest.C: include config.h
7333 * factory.C: include config.h
7335 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7337 * box.C: include config.h
7339 * LaTeX.C (scanAuxFile): change from submatch[...] to
7343 2002-10-25 Angus Leeming <leeming@lyx.org>
7345 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7347 * ispell.[Ch] (setError): new method.
7348 * ispell.C (c-tor): move out child process into new class LaunchIspell.
7349 Use setError() insetead of goto END.
7351 * lyx_cb.C (AutoSave): move out child process into new class
7354 2002-10-30 John Levon <levon@movementarian.org>
7356 * text3.C: make start appendix undoable
7358 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
7360 * lyxlength.C (inPixels): Fix returned value.
7362 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7365 2002-10-24 Angus Leeming <leeming@lyx.org>
7367 * lyxgluelength.h: no need to forward declare BufferParams
7368 or BufferView, so don't.
7370 2002-10-21 John Levon <levon@movementarian.org>
7372 * BufferView.C: menuUndo ->undo, redo
7374 * BufferView.h: document, remove dead, make some methods private
7376 * paragraph_funcs.h:
7377 * paragraph_funcs.C:
7378 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7383 * sgml.C: move sgml open/close tag into sgml.C
7385 * bufferview_funcs.h: unused prototype
7388 * lyxfunc.C: remove unused
7391 * text.C: remove unused
7393 2002-10-21 John Levon <levon@movementarian.org>
7397 * BufferView_pimpl.h:
7398 * BufferView_pimpl.C: fix mouse wheel handling based on
7399 patch from Darren Freeman
7401 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
7403 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7405 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
7407 * lyxlength.C (inPixels): Fix hanfling of negative length.
7408 Fix LyXLength::MU case.
7410 2002-10-16 John Levon <levon@movementarian.org>
7412 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7414 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7416 * converter.C (view): add support for $$i (file name) and $$p
7417 (file path) for the viewer command. If $$i is not specified, then
7418 it is appended to the command (for compatibility with old syntax)
7420 2002-10-14 Juergen Vigna <jug@sad.it>
7422 * undo_funcs.C (textHandleUndo): alter the order in which the
7423 new undopar is added to the LyXText, as we have to set first
7424 the right prev/next and then add it as otherwise the rebuild of
7425 LyXText is not correct. Also reset the cursor to the right paragraph,
7426 with this IMO we could remove the hack in "redoParagraphs()".
7428 2002-10-09 Angus Leeming <leeming@lyx.org>
7430 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7431 to turn off an optimisation if a new inset is to be inserted.
7433 2002-10-11 André Pönitz <poenitz@gmx.net>
7435 * lyxtext.h: make some functions public to allow access
7436 from inset/lyxtext for handling LFUN_PRIOR/NEXT
7438 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7440 * text3.C (dispatch): when changing layout, avoid an infinite loop
7443 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7445 * lyxrc.C (read): treat a viewer or converter command of "none" as
7448 * MenuBackend.C (expandFormats): for an update, also allow the
7449 formats that are not viewable
7451 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7452 script if it is newer than the lyxrc.defaults in user directory
7454 2002-10-07 André Pönitz <poenitz@gmx.net>
7456 * text.C: Vitaly Lipatov's small i18n fix
7458 2002-09-25 Angus Leeming <leeming@lyx.org>
7460 * ispell.h: doxygen fix.
7462 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
7464 * buffer.h (readFile): Add a new argument to the method, to allow
7465 reading of old-format templates.
7467 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
7469 * toc.C (getTocList): Get TOC from InsetWrap.
7471 2002-09-16 John Levon <levon@movementarian.org>
7473 * lyxfunc.C: check tabular for cut/copy too
7475 2002-09-12 John Levon <levon@movementarian.org>
7480 * factory.C: add header
7482 * paragraph_funcs.h:
7483 * paragraph_funcs.C: cleanup
7485 2002-09-11 John Levon <levon@movementarian.org>
7487 * PrinterParams.h: odd/even default to true
7489 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
7491 * PrinterParams.h: update printer parameters for new xforms dialog
7493 2002-09-11 Angus Leeming <leeming@lyx.org>
7495 * lyxserver.C (read_ready): re-write to make it more transparent
7496 and to make it work in coherent fashion under Tru64 Unix.
7498 2002-09-11 André Pönitz <poenitz@gmx.net>
7502 * text3.C: implement LFUN_WORDSEL
7504 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7506 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7507 make floatlist_ a boost::shared_ptr<FloatList>
7509 * lyxtextclass.C: include FloatList.h
7510 (LyXTextClass): initialize floatlist_
7511 (TextClassTags): add TC_NOFLOAT
7512 (Read): match "nofloat" to TC_NOFLOAT and use it.
7513 (readFloat): modify call to floatlist_
7517 * FloatList.[Ch] (FloatList): remove commented out float
7519 (erase): new function
7521 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7523 * MenuBackend.C (expandToc): fix crash when there is no document
7526 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
7528 * many files: Add insetwrap.
7530 2002-09-09 John Levon <levon@movementarian.org>
7532 * text2.C: remove confusing and awkward depth wraparound
7534 2002-09-09 John Levon <levon@movementarian.org>
7536 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7539 * buffer.C: remove getIncludeonlyList()
7542 * lyxfunc.C: remove headers
7544 2002-09-09 Juergen Vigna <jug@sad.it>
7546 * text.C (getColumnNearX): fix form Michael this is most
7547 probably a cut&paste bug.
7549 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7551 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7553 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7554 references, ws changes.
7556 * text2.C (init): update counters after init
7557 (insertParagraph): no need to set counter on idividual paragraphs.
7558 (setCounter): access the counters object in the textclass object
7559 on in the buffer object.
7560 (updateCounters): ditto
7562 * lyxtextclass.C: include counters.h, add variable ctrs_ as
7563 shared_ptr<Counters> to avoid loading counters.h in all
7565 (LyXTextClass): initialize ctrs_
7566 (TextClassTags): add TC_COUNTER, and ...
7567 (Read): use it here.
7568 (CounterTags): new tags
7569 (readCounter): new function
7570 (counters): new funtion
7571 (defaultLayoutName): return a const reference
7573 * counters.C (Counters): remove contructor
7574 (newCounter): remove a couple of unneeded statements.
7575 (newCounter): simplify a bit.
7576 (numberLabel): some small formatting changes.
7578 * buffer.[Ch]: remove all traces of counters, move the Counters
7579 object to the LyXTextClass.
7581 2002-09-06 Alain Castera <castera@in2p3.fr>
7583 * tabular.C: uses \tabularnewline; uses >{...} construct from array
7584 package to set the horizontal alignment on fixed width columns.
7587 * lyx_sty.h: added tabularnewline macro def.
7589 * LaTeXFeatures.C: added NeedTabularnewline macro feature
7591 2002-09-06 John Levon <levon@movementarian.org>
7593 * LyXAction.C: tooltips for sub/superscript
7595 * MenuBackend.C: a bit more verbose
7597 * lyxfunc.C: tiny clean
7599 * undo_funcs.C: document undo_frozen
7601 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7603 * counters.C (Counters): add missing algorithm counter.
7605 * text2.C (setCounter): lookup the counter with layouts latexname
7606 instead of by section number.
7607 (setCounter): use a hackish way to lookup the correct enum
7609 a float name->type change
7610 reset enum couners with counter name directly instead of depth value.
7612 * counters.C (Counters): remove the push_backs, change to use the
7613 float type not the float name.
7614 (labelItem): remove unused string, float name->type change
7616 * counters.h: don't include vector, loose the enums and sects vectors
7618 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7620 * lyxtextclass.C (TextClassTags): add TC_FLOAT
7621 (Read): add float->TC_FLOAT to textclassTags
7622 (Read): and handle it in the switch
7623 (readFloat): new function
7625 * FloatList.C (FloatList): comment out the hardcoded float
7628 * lyxlayout.h: ws change.
7630 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
7632 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7634 2002-09-03 Angus Leeming <leeming@lyx.org>
7636 * BufferView_pimpl.h: qualified name is not allowed in member
7637 declaration: WorkArea & Pimpl::workarea() const;
7639 * factory.C: added using std::endl directive.
7641 * text3.C: added using std::find and std::vector directives.
7643 2002-08-29 André Pönitz <poenitz@gmx.net>
7646 * text2.C: remove unused member number_of_rows
7649 * BufferView2.C: remove file, move contents to...
7650 * BufferView.C: ... here
7652 * BufferView_pimpl.C:
7653 * factory.C: move more inset creation to factory
7655 * vspace.C: avoid direct usage of LyXText, ws changes
7658 don't provide direct access to WorkArea, use two simple
7659 acessors haveSelction() and workHeight() instead
7662 2002-08-29 John Levon <levon@movementarian.org>
7664 * BufferView_pimpl.C (dispatch): do not continue when
7667 2002-08-28 André Pönitz <poenitz@gmx.net>
7669 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7672 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7674 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
7676 * buffer.C: increment LYX_FORMAT to 221
7678 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7679 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7681 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7683 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7685 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7687 * factory.C (createInset): use LyXTextClass::floats
7689 * MenuBackend.C (expandFloatListInsert):
7690 (expandFloatInsert):
7693 * text2.C (setCounter):
7695 * LaTeXFeatures.C (useFloat):
7696 (getFloatDefinitions):
7698 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7700 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7701 floatlist_, with accessor floats().
7703 * FloatList.h: remove global FloatList
7705 2002-08-26 André Pönitz <poenitz@gmx.net>
7707 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7711 * BufferView_pimpl.C:
7712 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7714 2002-08-25 John Levon <levon@movementarian.org>
7716 * LyXAction.C: fix margin note description
7718 2002-08-24 John Levon <levon@movementarian.org>
7722 * bufferview_funcs.C:
7724 * undo_funcs.C: cleanups
7726 * lyxfunc.C: disable CUT/COPY when no selection
7728 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
7730 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7731 in "enum UNIT"; e.g. PTW for Percent of TextWidth
7733 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7734 Add backward compatibility to "mono", "gray" and "no".
7736 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
7738 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7739 (and file_format >= 200).
7741 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7743 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7745 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7747 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7749 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
7751 * BufferView_pimpl.C:
7758 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7759 inset and code to make it work with the paragraph code. The inset
7760 can be anywhere in the paragraph, but will only do the expected
7761 thing in LaTeX if the layout file contains the parameter line
7763 (or more generally, a nonzero value) for that layout.
7765 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7767 * paragraph.h: remove the declaration of undefined counters class
7770 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
7772 * text2.C (setCounter): fixed enumeration mis-count as reported by
7773 Dr. Richard Hawkins.
7775 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7777 * paragraph_funcs.h: remove some unneeded includes
7779 * text.C (backspace): pasteParagraph now in global scipe
7781 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7782 (pasteSelection): ditto
7784 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7785 * paragraph_funcs.C (pasteParagraph): ... here
7787 2002-08-20 André Pönitz <poenitz@gmx.net>
7789 * commandtags.h: new LFUNs for swapping/copying table row/colums
7792 * lyxfunc.C: support for new lfuns
7794 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7797 * buffer.[Ch]: remove NO_COMPABILITY stuff
7799 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
7801 * boost.C (throw_exception): new file, with helper function for
7802 boost compiled without exceptions.
7807 * ParameterStruct.h:
7808 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7810 * bufferlist.C (emergencyWriteAll): use boost bind
7812 * BufferView_pimpl.C (moveCursorUpdate): remove inline
7814 * text.C: include paragraph_funcs.h
7815 (breakParagraph): breakParagraph is now in global scope
7817 * paragraph_funcs.[Ch]: new files
7819 * paragraph.C (breakParagraph,breakParagraphConservative): move to
7822 * buffer.C: include paragraph_funcs.h
7823 (insertStringAsLines): breakParagraph is now in global scope
7825 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7828 * CutAndPaste.C: include paragraph_funcs.h
7829 (cutSelection): breakParagraphConservative is now in global scope
7830 (pasteSelection): ditto
7832 * buffer.h: declare oprator== and operator!= for
7833 Buffer::inset_iterator
7835 * bufferlist.C (emergencyWrite): don't use fmt(...)
7837 * text3.C: add using std::endl
7839 * BufferView.C (moveCursorUpdate): remove default arg
7841 2002-08-20 André Pönitz <poenitz@gmx.net>
7843 * buffer.[Ch]: move inline functions to .C
7846 * BufferView_pimpl.C:
7848 * buffer.[Ch]: use improved inset_iterator
7851 * paragraph.[Ch]: write one paragraph at a time
7853 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
7855 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7856 style if style is not specified.
7858 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7860 * text2.C (setCounter): when searching for right label for a
7861 caption, make sure to recurse to parent insets (so that a caption
7862 in a minipage in a figure float works) (bug #568)
7864 2002-08-20 André Pönitz <poenitz@gmx.net>
7866 * text3.C: new file for LyXText::dispatch() and helpers
7868 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7870 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7872 2002-08-19 André Pönitz <poenitz@gmx.net>
7875 * text.C: new LyXText::dispatch()
7877 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7879 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
7881 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7883 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7886 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7888 * Makefile.am: use $(variables) instead of @substitutions@
7890 2002-08-15 André Pönitz <poenitz@gmx.net>
7893 * BufferView_pimpl.C: streamlining mathed <-> outer world
7897 * LyXAction.C: remove unused LFUN_MATH
7899 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7901 * paragraph.[Ch]: add some NO_NEXT ifdefs.
7903 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7905 * paragraph.C (Paragraph): reformat a bit
7906 (cutIntoMinibuffer): use builtin InsetList function instad of
7910 * buffer.C: include boost/bind.hpp, add using std::for_each
7911 (writeFileAscii): use ParagraphList iterators
7912 (validate): use for_each for validate traversal of paragraphs
7913 (getBibkeyList): use ParagraphList iterators
7914 (resizeInsets): use for_each to resizeInsetsLyXText for all
7916 (getParFromID): use ParagraphList iterators
7918 * BufferView2.C (lockInset): use paragraph list and iterators
7920 2002-08-14 John Levon <levon@movementarian.org>
7922 * lyxserver.C: remove spurious xforms include
7924 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7926 * lyxfunc.C (getStatus): disable math-extern outside of math mode
7928 2002-08-13 André Pönitz <poenitz@gmx.net>
7931 * lyxfunc.C: further cleaning
7933 2002-08-13 André Pönitz <poenitz@gmx.net>
7935 * funcrequest.h: new constructor
7937 * funcrequest.C: move stuff here from .h
7940 * BufferView_pimpl.C:
7943 * lyxfunc.C: subsequent changes
7945 * lyxfunc.h: new view() member function
7947 * lyxfunc.C: subsequent changes
7949 2002-08-13 Angus Leeming <leeming@lyx.org>
7952 * BufferView_pimpl.C:
7960 changes due to the changed LyXView interface that now returns references
7961 to member variables not pointers.
7963 2002-08-13 Angus Leeming <leeming@lyx.org>
7965 * WordLangTuple (word, lang_code): return references to strings,
7970 * lyxtext.h: forward-declare WordLangTuple.
7975 * text.C: #include "WordLangTuple.h".
7978 * text.C: (selectNextWordToSpellcheck): constify return type.
7980 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
7986 * paragraph_pimpl.h:
7989 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7991 Made updateCounter always count from start of buffer, and removed
7992 second argument (par).
7993 Reverted floats number display to '#'. Perhaps I'll try again when the
7994 code base is sanitized a bit.
7996 2002-08-12 Angus Leeming <leeming@lyx.org>
7998 * buffer.[Ch] (getLabelList): constify.
8000 2002-08-07 André Pönitz <poenitz@gmx.net>
8002 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8004 * funcrequest.h: extension to keep mouse (x,y) position
8006 2002-08-12 Juergen Vigna <jug@sad.it>
8008 * BufferView2.C (insertErrors): forbid undo when inserting error
8011 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8013 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8015 * ParagraphList.[Ch]: new files
8017 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8019 * BufferView2.C (lockInset): ParagraphList changes
8022 * bufferlist.C: ditto
8026 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8028 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8029 unused class variable counter_,
8031 * paragraph.[Ch] (getFirstCounter): delete unused function
8033 * counters.C: include LAssert.h
8034 (reset): add a new function with no arg, change other version to
8035 not have def. arg and to not allow empty arg.
8037 * text2.C (setCounter): remove empty arg from call to Counters::reset
8039 2002-08-11 John Levon <levon@movementarian.org>
8041 * Makefile.am: add WordLangTuple.h
8043 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8045 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8046 lyxfunc.C lyxlex_pimpl.C: ws changes only.
8048 * insets/insettext.C: InsetList changes
8050 * graphics/GraphicsSupport.C (operator()): InsetList changes
8052 * toc.C (getTocList): InsetList changes
8054 * paragraph_pimpl.[Ch]: InsetList changes
8056 * paragraph.[Ch]: InsetList changes
8058 * buffer.C (inset_iterator): InsetList changes
8059 (setParagraph): ditto
8060 * buffer.h (inset_iterator): ditto
8061 * iterators.C (operator++): ditto
8062 * iterators.h: ditto
8064 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8066 * InsetList.[Ch]: new files, most InsetList handling moved out of
8069 * BufferView2.C (removeAutoInsets): InsetList changes
8071 (ChangeInsets): ditto
8073 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8075 * paragraph_pimpl.h (empty): new function
8077 * paragraph.[Ch] (empty): new function
8079 * other files: use the new Paragraph::empty function
8081 2002-08-09 John Levon <levon@movementarian.org>
8083 * lyxtext.h: remove unused refresh_height
8085 2002-08-09 John Levon <levon@movementarian.org>
8092 * paragraph.C: move sgml char escaping out of paragraph
8095 * paragraph.C: remove id setter
8099 * paragraph_pimpl.C: remove dead tex_code_break_column
8101 * bufferview_funcs.C: small cleanup
8103 * lyxfunc.C: remove dead proto
8105 * lyxtext.h: make some stuff private. Remove some dead stuff.
8107 * lyxgluelength.C: make as[LyX]String() readable
8109 2002-08-08 John Levon <levon@movementarian.org>
8114 * ToolbarDefaults.C:
8117 * toc.C: lyxaction cleanup
8119 2002-08-08 John Levon <levon@movementarian.org>
8121 * BufferView2.C: small cleanup
8124 * lyxfind.C: move unnecessary header into the .C
8126 2002-08-08 John Levon <levon@movementarian.org>
8128 * funcrequest.h: just tedious nonsense
8131 * lyx_main.C: cleanups
8134 * vspace.C: remove dead header lyx_main.h
8136 2002-08-07 Angus Leeming <leeming@lyx.org>
8139 * paragraph_pimpl.h:
8140 Forward declare class Counters in paragraph.h by moving the ctrs member
8141 variable into Paragraph::Pimpl.
8142 (counters): new method, returning a reference to pimpl_->ctrs.
8144 * text2.C: ensuing changes.
8146 2002-08-07 John Levon <levon@movementarian.org>
8148 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8150 * BufferView_pimpl.C: announce X selection on double/triple
8153 * lyx_main.C: use correct bool in batch dispatch
8155 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8157 2002-08-07 André Pönitz <poenitz@gmx.net>
8159 * funcrequest.h: new class to wrap a kb_action and its argument
8162 * BufferView_pimpl[Ch]:
8166 * lyxrc.C: subsequent changes
8169 2002-08-07 John Levon <levon@movementarian.org>
8171 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8172 document options change.
8174 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8179 * makefile.am: move counters functionality over from
8180 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8182 2002-08-06 John Levon <levon@movementarian.org>
8184 * WordLangTuple.h: new file for word + language code tuple
8195 * BufferView2.C: use WordLangTuple
8198 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8200 2002-08-06 John Levon <levon@movementarian.org>
8202 * lyx_main.C: fix cmdline batch handling
8204 2002-08-06 André Pönitz <poenitz@gmx.net>
8206 * lyxrc.C: set default for show_banner to true
8208 2002-08-06 John Levon <levon@movementarian.org>
8210 * pspell.C: fix a crash, and allow new aspell to work
8212 2002-08-06 John Levon <levon@movementarian.org>
8215 * kbmap.C: small cleanup
8218 * vspace.C: add const
8220 2002-08-05 John Levon <levon@movementarian.org>
8222 * LyXAction.C: back to tabular-insert
8224 2002-08-04 John Levon <levon@movementarian.org>
8227 * BufferView.C: cosmetic change
8229 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8239 * BufferView2.C: purge all "Lyx" not "LyX" strings
8242 * lyxcursor.C: attempt to add some documentation
8247 * ToolbarDefaults.C:
8248 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8249 merge with LFUN_TABULAR_INSERT
8256 * pspell.C: split up i/pspell implementations into separate
8257 files, many cleanups
8259 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8261 * text2.C: some cleanup
8263 * lyxfunc.C: don't check for isp_command == "none" any more, it
8264 didn't make any sense
8266 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8271 * makefile.am: move counters functionality over
8272 from text2.C/paragraph.[Ch] to counters.[Ch], and
8274 2002-08-02 John Levon <levon@movementarian.org>
8276 * buffer.C: s/lyxconvert/lyx2lyx/
8278 2002-08-02 Angus Leeming <leeming@lyx.org>
8280 * lyxlex.C: revert John's change as it breaks reading of the user
8283 2002-08-02 Angus Leeming <leeming@lyx.org>
8285 * importer.C (Import):
8286 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8287 changes due to LyXView::view() now returning a boost::shared_ptr.
8289 2002-08-02 John Levon <levon@movementarian.org>
8291 * lyxlex.C: small cleanup
8293 2002-08-02 John Levon <levon@movementarian.org>
8295 * text2.C (status): small cleanup, no logic change
8297 2002-08-01 John Levon <levon@movementarian.org>
8300 * buffer.C (writeFile): don't output alerts, caller
8304 * lyx_cb.C: from above
8306 * lyxfunc.C: allow to open non-existent files
8308 2002-07-31 John Levon <levon@movementarian.org>
8310 * lyxserver.C: don't let incidental errors get
8313 2002-07-30 John Levon <levon@movementarian.org>
8315 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8317 2002-07-30 John Levon <levon@movementarian.org>
8320 * lyxserver.C: remove I/O callback too
8322 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8324 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8327 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8329 * many files: strip,frontStrip -> trim,ltrim,rtrim
8331 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8333 * PrinterParams.h: remove extern containsOnly, and include
8334 support/lstrings.h instead.
8336 * LaTeX.C (scanAuxFile): modify because of strip changes
8338 * buffer.C (makeLaTeXFile): ditto
8339 * bufferparams.C (writeFile): ditt
8340 * lyxfont.C (stateText): ditto
8341 * lyxserver.C (read_ready): ditto
8342 * vc-backend.C (scanMaster): ditto
8344 * BufferView_pimpl.h: ws changes
8346 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8348 2002-07-26 André Pönitz <poenitz@gmx.net>
8350 * kb_sequence.C: remove unnedred usings
8352 2002-07-26 Juergen Vigna <jug@sad.it>
8354 * lyxfind.C (LyXReplace): we have to check better if the returned
8355 text is not of theLockingInset()->getLockingInset().
8357 2002-07-25 Juergen Vigna <jug@sad.it>
8359 * lyxfind.C (LyXReplace): don't replace if we don't get the
8362 * undo_funcs.C (createUndo): remove debugging code.
8364 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
8366 * buffer.C (parseSingleLyXformat2Token): Use default placement
8367 when reading old floats.
8369 * FloatList.C (FloatList): Change the default placement of figure
8370 and tables to "tbp".
8372 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
8374 * MenuBackend.C: using std::max
8376 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8378 * MenuBackend.C (expandToc):
8379 (expandToc2): code moved from xforms menu frontend. It is now
8380 generic and TOCs are transparent to menu frontends.
8382 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8384 * toc.C (getTocList): protect against buf=0
8386 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8387 Menu as first parameter. Now, this calls itself recursively to
8388 expand a whole tree (this will be useful for TOC handling)
8389 (expandFloatInsert): remove 'wide' version of floats
8391 * MenuBackend.h (submenuname): returns the name of the submenu.
8392 (submenu): returns the submenu itself, provided it has been
8393 created by MenuBackend::expand
8395 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8397 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8398 insets which have noFontChange == true. (bug #172)
8400 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8402 * BufferView_pimpl.C: add connection objects and use them...
8405 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8407 * MenuBackend.C (expandLastfiles):
8410 (expandFloatListInsert):
8411 (expandFloatInsert):
8412 (expand): split expand in parts
8414 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8416 * lyx_gui.C: use lyx_gui::exit()
8418 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8420 * LyXAction.C: show the failing pseudo action
8422 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
8424 * buffer.C (readFile): Run the lyxconvert script in order to read
8427 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8431 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8433 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8437 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8439 2002-07-22 Herbert Voss <voss@lyx.org>
8442 * lyxlength.[Ch]: add support for the vertical lengths
8444 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
8446 * toc.[Ch]: std:: fixes
8448 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8450 * lyxrc.C: do not include lyx_main.h
8452 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8458 * BufferView2.C: include "lyxlex.h"
8461 * bufferparams.h: do not #include "lyxlex.h"
8463 * lyxtextclasslist.C (Add): remove method
8464 (classlist): renamed to classlist_
8466 * paragraph_pimpl.C:
8470 * bufferview_funcs.C:
8475 * toc.C (getTocList): use BufferParams::getLyXTextClass
8477 * toc.C (getTocList): use InsetFloat::addToToc
8479 * toc.[Ch]: new files, containing helper functions to handle table
8482 * lyxfunc.C (dispatch): no need to remove spaces around command
8484 (getStatus): handle LFUN_SEQUENCE by returning the status of the
8485 first command of the sequence; it is not very clever, but I do not
8486 have a better idea, actually
8488 * LyXAction.C (LookupFunc): make sure to remove space at the
8489 beginning and end of the command
8491 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8493 * MenuBackend.C (getMenubar): new method: return the menubar of
8495 (read): treat differently reading of menu and menubar (in
8496 particular, the menubar has no name now)
8497 (Menu::menubar): remove
8499 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8502 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8504 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8505 a bibitem inset in a RTL paragraph.
8507 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
8509 * paragraph_pimpl.C: constify
8511 * BufferView_pimpl.C:
8513 * lyxfunc.C: fix dispatch in a nicer way
8515 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8517 * lyxfunc.C (dispatch):
8518 * BufferView_pimpl.C:
8519 * BufferView_pimpl.h:
8521 * BufferView.h: rename Dispatch() to dispatch()
8523 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8525 * lyxlayout.C (Read): honor DependsOn tag
8527 * lyxlayout.[Ch] (depends_on): new method
8529 * version.C.in: update lyx_docversion
8531 * LaTeXFeatures.C (getMacros): only define \LyX when needed
8533 * paragraph.C (validate): remove from here...
8534 * paragraph_pimpl.C (validate): ... and move here
8535 (isTextAt): make it const
8537 * buffer.C (getLists): ws cleanup
8539 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8541 * language.C (read): Use iso8859-1 encoding in latex_lang
8542 (this prevents LyX from crashing when using iso10646-1 encoding).
8544 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8546 * text2.C (toggleInset): if cursor is inside an inset, close the
8547 inset and leave cursor _after_ it
8549 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8551 * lyxfunc.C: move minibuffer completion handling out of here
8553 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8555 * BufferView_pimpl.C:
8556 * LaTeX.C: fix dispatch calls
8558 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
8560 * text.C (drawChars): Fix Arabic text rendering.
8562 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
8566 * lyxfunc.C: remove message-push/pop
8570 * lyxfunc.C: rationalise some code by removing verboseDispatch
8571 in favour of a bool argument to dispatch()
8573 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8575 * lyx_main.C (init): make sure to read symlinks as absolute paths
8577 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8580 * lyxfunc.C: no need for commandshortcut to be a member
8582 2002-07-15 André Pönitz <poenitz@gmx.net>
8584 * converter.C: add support for $$s (scripts from lib/scripts dir)
8585 * lyx_main.C: white space
8587 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8591 * lyxrc.C: remove second exit confirmation
8593 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8598 * BufferView_pimpl.h:
8599 * BufferView_pimpl.C:
8600 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8602 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8604 * MenuBackend.C (expand): add numeric shortcuts to document menu
8606 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8608 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8610 * lyxfont.C (setLyXFamily):
8617 * buffer.C (asciiParagraph): use ascii_lowercase
8619 2002-07-15 Mike Fabian <mfabian@suse.de>
8621 * lyxlex_pimpl.C (search_kw):
8622 * lyxlex.C (getLongString):
8623 * converter.h (operator<):
8624 * converter.C (operator<):
8625 * buffer.C (parseSingleLyXformat2Token):
8627 * ToolbarDefaults.C (read):
8628 * MenuBackend.C (checkShortcuts):
8630 * LColor.C (getFromGUIName):
8631 (getFromLyXName): use the compare_ascii_no_case instead of
8632 compare_no_case, because in turkish, 'i' is not the lowercase
8633 version of 'I', and thus turkish locale breaks parsing of tags.
8635 2002-07-16 Angus Leeming <leeming@lyx.org>
8637 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8638 now takes a Buffer const & argument.
8640 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
8642 * BufferView.C (resize): check there's a buffer to resize
8644 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
8646 * lyxfunc.C: remove dead code
8649 * lyxserver.C: use lyx_guii::set_read_callback
8651 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
8653 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8654 an inset in a RTL paragraph.
8656 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8658 * lyxfunc.C: repaint after a font size update
8660 2002-07-15 André Pönitz <poenitz@gmx.net>
8662 * lyxlength.C: inBP should be able to return negative values
8664 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8666 * lyxfunc.C: use lyx_gui::update_fonts()
8668 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8670 * lyxfunc.C: use lyx_gui::update_color()
8672 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8678 * lyxrc.C: remove file->new asks for name option, and let
8679 buffer-new take an argument
8681 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8683 * BufferView_pimpl.C: remove unneeded extra repaint()
8685 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
8687 * LyXAction.C: allow command-sequence with NoBuffer
8689 * lyxfunc.C: don't insist on trailing ';' for command-sequence
8691 2002-07-10 Angus Leeming <leeming@lyx.org>
8693 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8695 2002-07-09 Angus Leeming <leeming@lyx.org>
8697 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8699 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8701 * lengthcommon.h: whitespace
8703 * lyxfunc.C: update scrollbar after goto paragraph
8705 * lyxtext.h: factor out page break drawing, and fix it so
8706 page break/added space paints as selected nicely
8708 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8710 * BufferView_pimpl.C: add FIXMEs, clean up a little
8712 2002-07-09 André Pönitz <poenitz@gmx.net>
8714 * lyxfont.[Ch]: support for wasy symbols
8716 2002-07-08 André Pönitz <poenitz@gmx.net>
8718 * BufferView_pimpl.C: apply John's patch for #93.
8720 2002-07-05 Angus Leeming <leeming@lyx.org>
8722 * BufferView_pimpl.C (buffer): generate previews if desired.
8724 * LColor.h: add "preview" to the color enum.
8726 * LColor.C (LColor): add a corresponding entry to the items array.
8728 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8731 2002-07-05 Angus Leeming <leeming@lyx.org>
8733 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8734 The body of the code is now in the method that is passed an ostream &
8735 rather than a file name.
8736 Pass an additional only_preamble parameter, useful for the forthcoming
8739 2002-07-03 André Pönitz <poenitz@gmx.net>
8741 * lyxfunc.C: simplify getStatus() a bit for math stuff
8743 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8745 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8747 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8749 * text.C (changeRegionCase): do not change case of all the
8750 document when region ends at paragraph end (bug #461)
8752 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8754 * paragraph.C (startTeXParParams):
8755 (endTeXParParams): add \protect when necessary
8757 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8759 * BufferView_pimpl.C (workAreaExpose): remove warning
8761 2002-06-27 Angus Leeming <leeming@lyx.org>
8763 * Makefile.am: add lyxlayout_ptr_fwd.h.
8765 2002-06-26 André Pönitz <poenitz@gmx.net>
8767 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8769 2002-06-25 Angus Leeming <leeming@lyx.org>
8771 * lyxfunc.C (dispatch): Comment out the call to
8772 grfx::GCache::changeDisplay. The method no longer exists now that the
8773 pixmap generation part of the graphics loader has been moved into
8776 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8778 * text2.C: layout as layout
8780 * text.C: layout as layout
8782 * tabular.C (OldFormatRead): layout as layout
8784 * paragraph_pimpl.C (TeXDeeper): layout as layout
8785 (realizeFont): layout as layout
8787 * paragraph.C (writeFile): layout as layout
8788 (validate): layout as layout
8789 (getFont): layout as layout
8790 (getLabelFont): layout as layout
8791 (getLayoutFont): layout as layout
8792 (breakParagraph): layout as layout
8793 (stripLeadingSpaces): layout as layout
8794 (getEndLabel): layout as layout
8795 (getMaxDepthAfter): layout as layout
8796 (applyLayout): layout as layout
8797 (TeXOnePar): layout as layout
8798 (simpleTeXOnePar): layout as layout
8799 (TeXEnvironment): layout as layout
8800 (layout): layout as layout
8801 (layout): layout as layout
8803 * lyxtextclass.C (compare_name): new functor to work with
8804 shared_ptr, layout as layout
8805 (Read): layout as layout
8806 (hasLayout): layout as layout
8807 (operator): layout as layout
8808 (delete_layout): layout as layout
8809 (defaultLayout): layout as layout
8811 * lyxlayout_ptr_fwd.h: new file
8813 * lyxlayout.C (Read): layout as layout
8815 * lyx_cb.C (MenuInsertLabel): layout as layout
8817 * bufferlist.C (newFile): layout as layout
8819 * buffer.C (readLyXformat2): layout as layout
8820 (parseSingleLyXformat2Token): layout as layout
8821 (insertStringAsLines): layout as layout
8822 (asciiParagraph): layout as layout
8823 (latexParagraphs): layout as layout
8824 (makeLinuxDocFile): layout as layout
8825 (simpleLinuxDocOnePar): layout as layout
8826 (makeDocBookFile): layout as layout
8827 (simpleDocBookOnePar): layout as layout
8828 (getLists): layout as layout
8830 * LaTeXFeatures.C (getTClassPreamble): layout as layout
8832 * CutAndPaste.C (cutSelection): layout as layout
8833 (pasteSelection): layout as layout
8834 (SwitchLayoutsBetweenClasses): layout as layout
8836 * BufferView_pimpl.C (Dispatch): layout as layout
8837 (smartQuote): layout as layout
8839 * BufferView2.C (unlockInset): layout as layout
8841 2002-06-24 André Pönitz <poenitz@gmx.net>
8843 * lyxfunc.C: fix #487
8845 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8849 * lyxfunc.C: remove display_shortcuts, show_banner
8851 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8853 * Buffer_pimpl.C: oops, update on resize
8855 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8862 * BufferView.C: use repaint()
8864 * BufferView_pimpl.h:
8865 * BufferView_pimpl.C: s/updateScreen()/repaint()/
8866 as it's a clearer description. Remove superfluous
8869 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8871 * text.C: fix bug 488. Not ideal, but getting
8872 getWord() to work properly for the insets that
8873 matter is more difficult ...
8875 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8877 * BufferView_pimpl.C:
8880 * lyxfunc.C: remove the six million index lyxfuncs to just
8881 one, and DTRT (bug 458)
8883 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8887 * BufferView_pimpl.h:
8888 * BufferView_pimpl.C: clean up resize() stuff,
8889 and unnecessary updateScreen()s
8891 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8895 * BufferView_pimpl.h:
8896 * BufferView_pimpl.C:
8899 * minibuffer.C: remove focus management of workarea,
8900 not needed. Use screen's greyOut()
8902 2002-06-17 Herbert Voss <voss@lyx.org>
8904 * converter.C: (convert) do not post a message, when converting
8905 fails, let the calling function decide what to do in this case
8907 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
8909 * lyxfunc.C: tidy up a little
8911 2002-06-16 <alstrup@diku.dk>
8913 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8914 Got rid of FORMS_H_LOCATION include. Now we are
8917 2002-06-15 LyX Development team <lyx@rilke>
8919 * buffer.[Ch] (sgmlOpenTag):
8920 (sgmlCloseTag): Added support for avoiding pernicious mixed
8921 content. Return number of lines written.
8924 (makeDocBookFile): Fixed calls to sgml*Tag.
8925 Simple white space clean.
8927 (simpleDocBookOnePar): Simple white space clean.
8929 * tabular.[Ch] (docBook): Renamed to docbook and got another
8930 argument to related with the pernicious mixed content.
8932 (docbookRow): Fixed calls for docbook inset method.
8934 2002-06-15 Lyx Development team <larsbj@birdstep.com>
8936 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8937 so it's X11 independent.
8941 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8943 2002-06-15 Lyx Development team <lyx@electronia>
8945 * intl.h: Renamed getTrans to getTransManager.
8947 2002-06-14 Angus Leeming <leeming@lyx.org>
8949 * Makefile.am: nuke forgotten stl_string_fwd.h.
8951 2002-06-12 Angus Leeming <leeming@lyx.org>
8953 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8955 2002-06-13 Angus Leeming <leeming@lyx.org>
8958 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8960 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
8962 * kbmap.C (getiso): add support for cyrillic and greek
8964 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8968 * BufferView_pimpl.h:
8969 * BufferView_pimpl.C: move bogus scrolling logic
8972 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8975 * BufferView_pimpl.C: view->resize() change
8977 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8979 * BufferView_pimpl.C: topCursorVisible
8982 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8986 * lyx_gui.C: move to frontends/
8990 * lyx_main.C: changes from above
8992 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8999 * lyx_main.C: minor tidy
9001 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9003 * BufferView_pimpl.h:
9004 * BufferView_pimpl.C:
9006 * BufferView.C: make painter() const,
9009 * BufferView2.C: use screen() accessor
9012 * lyx_main.C: some minor cleanup
9014 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9016 * BufferView_pimpl.h:
9017 * BufferView_pimpl.C: remove enter/leaveView,
9020 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9025 * BufferView_pimpl.h:
9026 * BufferView_pimpl.C: only construct screen once,
9029 * lyxrc.C: remove pointless comment
9031 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9034 * BufferView.C: remove active() and belowMouse()
9036 * BufferView_pimpl.h:
9037 * BufferView_pimpl.C: use workarea() not workarea_,
9038 and make it use a scoped_ptr instead
9040 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9042 * lyx_gui.C: add debug message on BadWindow
9044 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9046 * sp_spell.C: fdopen is not part of the C++ standard.
9048 * paragraph.C (InsetIterator): use >= instead of ==
9050 2002-06-07 Angus Leeming <leeming@lyx.org>
9052 Fixes needed to compile with Compaq cxx 6.5.
9053 * BufferView_pimpl.C:
9060 * lyxtextclasslist.C:
9065 all c-library variables have been moved into namespace std. Wrap
9066 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9071 Add a using std::abs declaration.
9073 * kbmap.h (modifier_pair):
9074 * paragraph.h (InsetTable, InsetList):
9075 * lyxfont.h (FontBits):
9076 type definition made public.
9078 * bufferlist.C (emergencyWriteAll): the compiler complains that
9079 there is more than one possible lyx::class_fun template to choose from.
9080 I re-named the void specialisation as lyx::void_class_fun.
9082 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9084 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9085 the compiler is is unable to find tostr in write_attribute.
9087 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9089 * buffer.C (sgmlError): hide #warning
9091 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9093 * xtl/*: get rid of xtl, which is not in use anyway
9095 * LyXAction.C (init):
9096 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9097 were unimplemented xtl experimentation
9099 2002-06-04 André Pönitz <poenitz@gmx.net>
9101 * lyxfunc.C: disable array operation on simple formulae
9103 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
9105 * converter.C: constify a bit
9107 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
9109 * lyx_gui.C: check xforms version correctly
9111 2002-04-30 Herbert Voss <voss@lyx.org>
9113 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9116 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
9118 * lyxvc.C: fix bug 416 (make sure buffer is saved before
9119 attempt to register it with a VCS)
9121 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9123 * lyx_main.C (init): honor variables LYX_DIR_13x and
9126 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9130 * lyx_main.C: fix a crash on bad command line,
9131 and give a useful exit status on error
9133 * lyxfunc.C (doImport): allow -i lyx to work
9135 2002-03-30 André Pönitz <poenitz@gmx.net>
9137 * lyxfunc.C: mathed font changes
9139 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9154 * trans_mgr.h: srcdocs, and some minor cleanups
9156 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9158 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9159 call getFont all the time)
9161 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9163 * switch from SigC signals to boost::signals
9165 2002-05-29 André Pönitz <poenitz@gmx.net>
9167 * paragraph_pimpl.C (getChar): don't call size() too often...
9169 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9171 * paragraph_pimpl.C (insertChar): do not try to update tables when
9172 appending (pos == size())
9174 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9175 in order to reduce drastically the number of comparisons needed to
9176 parse a large document
9178 2002-05-29 André Pönitz <poenitz@gmx.net>
9184 * textclasslist.[Ch]:
9185 * sp_ispell.h: whitespace change
9187 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9189 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9190 lyxaction directly now.
9192 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
9196 * lyxvc.C: remove unused headers
9198 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9205 * undo_funcs.C: some cleanups. Use shared_ptr
9206 and a template for the undo stacks.
9208 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9210 * BufferView_pimpl.h:
9211 * BufferView_pimpl.C:
9218 * text2.C: use key_state/mouse_state
9220 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9222 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9225 * chset.C: change include order
9226 (loadFile): use boost regex and get rid of LRegex and LSubstring
9228 * Makefile.am (BOOST_LIBS): new variable
9231 * LaTeX.C: change include order.
9232 (scanAuxFile): use boost regex and get rid of LRegex and
9236 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9241 * FontInfo.C: moved to frontends/xforms/
9244 * FontLoader.C: moved into frontends for GUIIzation
9249 * lyxfunc.C: changes from above
9251 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9253 * LColor.C: remove spurious X include
9255 * BufferView_pimpl.C:
9260 * text2.C: move font metrics to frontends/
9262 2002-05-24 Juergen Vigna <jug@sad.it>
9264 * undo_funcs.C (textHandleUndo): fix the cursor selection after
9265 setting the undo_cursor.
9267 * ParagraphParameters.h: include local includes first.
9269 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9271 * BufferView_pimpl.C:
9272 * BufferView_pimpl.h:
9276 * screen.C: move WorkArea into frontends/
9282 * BufferView2.C: move LyXScreen into frontends/
9286 * lyx_gui.C: move lyxlookup into frontends/xforms/
9288 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9291 * BufferView_pimpl.C:
9301 * bufferview_funcs.C:
9314 * vc-backend.C: move LyX/XFormsView into frontends/
9316 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9328 * text2.C: move Painter to frontends/
9330 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9332 * buffer.C: comment out some some code that depend upon lyx_format
9335 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9336 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9338 * buffer.h (NO_COMPABILITY): turn off compability
9340 * ColorHandler.C: include scoped_array.hpp
9342 * font.C: Use more specific smart_ptr header.
9345 * ShareContainer.h: ditto
9349 * BufferView_pimpl.h: ditto
9350 * ColorHandler.h: ditto
9352 * kbmap.C (defkey): change call to shared_ptr::reset
9354 2002-05-21 Juergen Vigna <jug@sad.it>
9356 * buffer.C (insertErtContents): fix to insert ert asis if it is
9357 non empty. Skip it completely if it contains only whitespaces.
9359 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
9361 * BufferView_pimpl.C:
9362 * BufferView2.C: clear selection on paste (bug 393)
9364 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9366 * DepTable.C: include ctime
9368 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
9370 * buffer.C (latexParagraphs): Add new argument (moving_arg).
9372 2002-05-14 Juergen Vigna <jug@sad.it>
9374 * text.C (breakParagraph): fixed function to honor the keepempty
9375 layout in the right maner and also to permit the right breaking
9376 algorithm on empty or non empyt keepempty paragraphs.
9378 * paragraph.C (breakParagraph): we have to check also if the par
9379 is really empty (!size()) for isempty otherwise we do the wrong
9382 2002-05-10 Juergen Vigna <jug@sad.it>
9384 * buffer.[Ch] : The following are only changes to the ert
9385 compatibility read reading old LaTeX layout and font stuff and
9386 convert it to ERTInsets.
9388 * buffer.h: added isErtInset().
9390 * buffer.C (struct ErtComp): add a fromlayout bool to check
9391 if we're inside a LaTeX layout.
9392 (isErtInset): new helper function.
9393 (insertErtContents): look for other ert insets before this one
9394 and insert the contents there, so that we don't have subsequent
9395 ERT insets with nothing between them. This way we create only one
9396 inset with multiple paragraphs. Also check if we don't insert only
9397 spaces ' ' as they are ignored anyway afterwards in the .tex file
9398 so if we have only spaces we will ignore this latex part in the
9400 (parseSingleLyXformat2Token \\layout): better compatibility when
9401 reading layout-latex stuff.
9402 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9404 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9405 stuff after reading the inset only get the information back from
9408 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
9410 * buffer.C (makeLaTeXFile): Put language options after loading babel.
9412 * LaTeXFeatures.C (getBabelOptions): New method.
9414 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9416 * BufferView_pimpl.C (Dispatch): work around missing argument for
9419 2002-05-08 Juergen Vigna <jug@sad.it>
9421 * text.C (leftMargin): handle paragraph leftindent.
9423 * paragraph.C (writeFile): write the new \\leftindent tag.
9424 (validate): handle leftindent code.
9425 (TeXEnvironment): handle paragraphleftindent code again.
9427 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9429 * buffer.C (parseSingleLyXformat2Token): added compatibility code
9430 for paragrap_extra indent code and new token \\leftindent.
9431 (latexParagraphs): handle the leftindent as environment.
9433 * ParameterStruct.h: added leftindent support.
9435 * ParagraphParameters.C (leftIndent): added support functions for
9436 the paragraph left indent.
9438 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9441 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
9443 * paragraph.C (isRightToLeftPar): Return false for a paragraph
9446 * text.C (computeBidiTables): No bidi in insetERT.
9448 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9451 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9453 * version.C.in: pre 5
9455 2002-05-02 José Matos <jamatos@fep.up.pt>
9456 * buffer.C (makeDocBookFile): white space changes, add newline to
9458 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9460 * tabular.C (docBook): fix typo.
9462 2002-05-03 Juergen Vigna <jug@sad.it>
9464 * screen.C (drawFromTo): recalculate the rowpointer if we had a
9465 change in LyXText as we can not be sure it was not freed.
9466 (drawOneRow): remove unused code.
9468 * text.C (drawInset): redo the calculation of the need_break_row as
9469 it could have a row which was already freed.
9470 (draw): look at the return value of drawInset and return false if
9471 it also returned false.
9472 (paintRowText): look at the return value of draw and return false if
9473 it also returned false.
9475 * lyxtext.h: added bool return type to drawInset() and draw() so that
9476 if we have a change in the row so that the rowbreak has to be redone
9477 we abort drawing as it will be called again.
9479 2002-05-02 Juergen Vigna <jug@sad.it>
9481 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9482 a change in the maintext also if we're inside an inset.
9483 (Dispatch): set the cursor again after a break line and after the
9484 screen has been updated as it could be we're in a different row.
9486 * text2.C (fixCursorAfterDelete): check to make sure we don't request
9487 to set the cursor behind the pargraph with > size().
9488 (setCursor): check also for the same paragraph when checking where
9489 to put the cursor if we have a NFR inset.
9491 * buffer.C (parseSingleLyXformat2Token): move the compatibility
9492 parts of layout read further up as it still was in the wrong
9495 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9497 * screen.C (drawFromTo): change sine fullRebreak always return
9500 * buffer.C (parseSingleLyXformat2Token): reindent some
9502 * BufferView_pimpl.C (update): change since fullRebreak always
9504 (Dispatch): git rid of the last hardcoded "Standard"s.
9506 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9508 * text2.[Ch] (fullRebreak): make it return void now that we always
9511 2002-04-30 Juergen Vigna <jug@sad.it>
9513 * buffer.C (parseSingleLyXformat2Token): reset the font before the
9514 ert compatibility check for "latex" layout.
9516 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
9518 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9519 minipages: use col% instead of p%, and also use the current font.
9520 (makeLaTeXFile): Fix use babel condition.
9521 (parseSingleLyXformat2Token): Correct font when reading old floats.
9523 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
9525 * BufferView_pimpl.C (Dispatch): Check that float type exists when
9526 inserting list of floats.
9528 2002-04-25 Herbert Voss <voss@lyx.org>
9530 * MenuBackend.C (expand): don't add the graphics extensions to the
9533 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9535 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9536 non-existing layout, do not complain if it was the default layout
9537 of the original class (bug #342)
9539 2002-04-24 Juergen Vigna <jug@sad.it>
9541 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9542 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9544 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
9546 * buffer.C (getBibkeyList): If using \bibliography, return the
9547 option field with the reference itself. Enables us to provide natbib
9548 support when using \bibliography.
9550 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
9552 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9554 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9555 natbib is provided by the LaTeX class.
9557 2002-04-23 Juergen Vigna <jug@sad.it>
9559 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9562 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9564 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9566 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9568 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9569 ensuremath around textordmasculine, textordfeminine and
9572 2002-04-19 Juergen Vigna <jug@sad.it>
9574 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9575 reinitializing the buffer otherwise row-dimensions may be wrong.
9576 (update): reset also the selection cursors if they do exits otherwise
9577 their x/y positions may be wrong.
9579 * text2.C (cursorDown): don't enter the inset if we came from a row
9580 above and are one row over the inset.
9582 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9583 really leaving an inset.
9585 2002-04-18 Juergen Vigna <jug@sad.it>
9587 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9588 of the selected paragraph does not have the selected layout also if
9591 * text2.C (setLayout): fixed bug which did not change last selected
9594 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9595 changed the read and substituted \\end_float with \\end_inset!
9597 * BufferView_pimpl.C (cursorPrevious):
9598 (cursorNext): fixed to make it work with rows heigher than the work
9599 area without moving the cursor only the draw of the row.
9600 (workAreaMotionNotify): fix jumping over high rows.
9602 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9604 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9607 2002-04-16 Juergen Vigna <jug@sad.it>
9609 * text2.C (setCursor): set also the irow().
9610 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9612 (cursorDown): support for locking an inset if the x_fix value goes
9613 inside it. That way I can transverse insets too with cursor up/down.
9615 * lyxrow.h: added irow helper function same as other (i) functions.
9617 * BufferView_pimpl.C (cursorPrevious):
9618 (cursorNext): fixed for insets!
9620 2002-04-15 Juergen Vigna <jug@sad.it>
9622 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9623 position otherwise it is wrong in some cases.
9625 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9626 inside the inset before the call.
9628 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
9630 * buffer.[Ch] (getBibkeyList): make it const.
9632 2002-04-12 Juergen Vigna <jug@sad.it>
9634 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9636 * text2.C (getCursorX): new helper function
9637 (setCursor): compute also ix_
9638 (setCursorFromCoordinates): set also ix.
9640 * lyxcursor.h: added ix_ and helper functions.
9642 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9644 * buffer.C (insertStringAsLines): dont break paragraph if the this
9645 paragraph is inside an inset which does not permit it!
9647 * text.C (breakParagraph): honor keepempty flag and break the paragraph
9648 also with no chars on this paragraph.
9649 (paintRowText): only paint stuff if it's inside the workarea!
9651 * paragraph.C (breakParagraph): honor keepempty flag and break the
9652 paragraph always below not above.
9654 * BufferView2.C (unlockInset): update the paragraph layout on inset
9655 unlock as we changed paragraph in such a case.
9657 * lyxfind.C (LyXFind): clear the former selection if not found!
9659 * text2.C (insertInset): freeze Undo after setUndo so that it is not
9660 again called in insertChar().
9662 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9663 an inset which uses the whole row!
9664 (rightMargin): ditto.
9665 (insertChar): force a rebreak if we inserted an inset!
9667 2002-03-28 Herbert Voss <voss@lyx.org>
9669 * lyxlength.[Ch]: add inBP() to get the right PS-point
9670 units (BigPoint). With inPixels we have rounding errors
9672 2002-04-11 Juergen Vigna <jug@sad.it>
9674 * text2.C (setCursorFromCoordinates): set iy to the right value.
9675 (setCursor): add check if row->previous exists!
9677 * buffer.C (parseSingleLyXformat2Token): reset font after read of
9678 an old float_type as this was the case in the old code!
9680 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9682 * BufferView2.C (showLockedInsetCursor): use iy
9683 (fitLockedInsetCursor): ditto
9685 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9686 locked insets as there we have the right value now.
9688 * lyxcursor.C: added iy_ variable and iy functions to set to the
9689 baseline of cursor-y of the locked inset.
9691 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9692 (setCursor): fixed for insets which need a full row.
9694 * text.C (rowLastPrintable): don't ignore the last space when before
9695 an inset which needs a full row.
9696 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9697 as last character of a row when before a inset which needs a full row.
9699 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9701 * version.C.in: update date
9703 * text2.C (fullRebreak): try to always return true and see what
9706 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9708 * MenuBackend.C (expand): use Floating::listName
9710 * FloatList.C (FloatList): add listName argument to the built-in
9713 * Floating.[Ch]: add listName member, which is the 'List of XXX'
9714 text associated with the float.
9716 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9718 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9720 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9722 * ShareContainer.h: add a couple of missing typenames.
9724 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
9726 * lyxrc.C (getDescription): use _() correctly rather than N_().
9728 2002-03-28 Herbert Voss <voss@lyx.org>
9730 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9731 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9733 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9735 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9736 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9738 2002-03-29 Juergen Vigna <jug@sad.it>
9740 * lyxfunc.C (dispatch): add a missing fitCursor call.
9742 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9743 it was scrolled by a cursor move, so return the bool status.
9745 * BufferView.C (fitCursor): return the bool flag also to the outside
9746 world as this is needed.
9748 * screen.C (toggleToggle): don't subtract the offset if it's positive.
9750 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9751 call the edit() as it is not needed (and wrong) IMO.
9752 (workAreaButtonPress): set the screen_first variable before evt.
9753 unlock the inset as this may change screen_first and then we have
9754 a wrong y position for the click!
9756 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9758 * MenuBackend.C (expand): another translation that I missed
9760 2002-03-28 Juergen Vigna <jug@sad.it>
9762 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9764 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9766 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9768 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9770 * MenuBackend.C (expand): fix export/view/update when there is no
9773 2002-03-27 Herbert Voss <voss@lyx.org>
9775 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9778 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9780 * bufferview_funcs.C (currentState): only show paragraph number
9781 for is DEVEL_VERSION is set.
9783 * lyxfunc.C (dispatch): put warning in INFO channel
9785 * MenuBackend.C (expand): translate the name of floats
9787 * FloatList.C (FloatList): mark the float names for translation
9789 * converter.C (convert): use LibScriptSearch
9791 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9793 * MenuBackend.C (defaults): fix default menu (we might as well get
9796 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9798 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9801 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9803 * lyxvc.C: reorder includes.
9805 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
9807 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9810 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
9812 * CutAndPaste.C: change layouts earlier on paste
9813 to avoid crashing when calling getFont()
9815 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
9817 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9820 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9822 * WorkArea.C: remove 'Pending' debug message.
9824 * most files: ws cleanup
9826 * buffer.[Ch]: ws changes
9828 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9830 2002-03-21 Juergen Vigna <jug@sad.it>
9832 * tabular.C (SetMultiColumn): collapse also the contents of the
9833 cells and set the last border right. Added a Buffer const * param.
9835 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9837 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9840 2002-03-19 Juergen Vigna <jug@sad.it>
9842 * text2.C (clearSelection): reset also xsel_cache.
9844 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9845 where it needs to be called (John tells us to do so too :)
9846 (selectionLost): reset sel_cache.
9848 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9850 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9852 * text2.C (setCursorIntern): put debuging code in INSETS channel
9854 2002-03-19 André Pönitz <poenitz@gmx.net>
9856 * lyxfunc.C: tiny whitespace change
9858 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9860 * ToolbarDefaults.C (init):
9861 * LyXAction.C (init):
9863 * BufferView_pimpl.C (Dispatch):
9864 * lyxfunc.C (dispatch): remove LFUN_DEPTH
9866 2002-03-19 Allan Rae <rae@lyx.org>
9868 * exporter.C (Export): removeAutoInsets before doing anything else.
9869 While I've just introduced a dependency on BufferView this really is
9870 the best place to clean the buffer otherwise you need to cleanup in
9871 a dozen places before calling export or cleanup in a dozen functions
9874 * converter.C (runLaTeX):
9875 (scanLog): Better handling of removeAutoInsets and screen updates.
9877 * lyxfunc.C (dispatch): small whitespace changes
9879 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9881 * WorkArea.C (C_WorkAreaEvent): return a value.
9882 (event_cb): return 1 if we handled the event, 0 otherwise.
9884 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9886 2002-03-18 Juergen Vigna <jug@sad.it>
9888 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9889 (GetAdditionalWidth): ditto.
9893 * BufferView2.C (copy): use getLyXText() so that we do it inside an
9894 inset if we're there actually (probably not used right now but this
9895 is the direction to go for unifying code).
9896 (paste): disable code to clear the selection.
9898 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9899 inside an InsetText and move the check further up as it is in the
9902 * text2.C (pasteSelection): set a selection over the pasted text.
9904 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
9906 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9907 and libgraphics to build on Cygwin.
9909 2002-03-15 Juergen Vigna <jug@sad.it>
9911 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9912 inserting an Inset into the paragraph. I know this is not the best
9913 fix but we already use current_view in CutAndPaste so we will remove
9914 all of it's using at the same time.
9916 * buffer.C (sgmlError): deactivated function till it is rewritten in
9917 the right mode, now it can create problems.
9919 * paragraph.C (isLineSeparator): check if getInset returns != 0,
9920 before accessing it.
9922 2002-03-14 Juergen Vigna <jug@sad.it>
9924 * undo_funcs.C (textHandleUndo): do the right thing when updating
9925 the inset after the undo/redo.
9927 * text2.C (setCursor): just some testcode for #44 not ready yet.
9929 * undo_funcs.C (textHandleUndo): set the next() and previous()
9930 pointers of the paragraph to 0 before deleting otherwise we have
9931 problems with the Paragraph::[destructor].
9933 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9934 on a paragraph insertion.
9936 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9938 * buffer.C (asciiParagraph): use += operator for char append to
9941 * paragraph.C (getFontSettings): compare >= not just >
9942 (highestFontInRange): ditto
9945 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9947 * paragraph.C: change several algorithm to be more appripriate for
9948 the problem domain. This is lookip in FontList and in the InsetList.
9950 2002-03-13 André Pönitz <poenitz@gmx.net>
9953 * LyXAction.C: remove unused LFUN_MATH_MACROARG
9955 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
9960 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9962 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9964 * Painter.C (display): anon helper function, adjust code for this
9966 (pixmap): remove function.
9968 * Painter.h: remove private display variable.
9970 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9972 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
9974 * WorkArea.[Ch]: remove figinset_canvas cruft.
9976 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9978 * lyxtextclass.C (operator): add one item cache optimization.
9980 * bufferlist.h: doxy changes
9982 * bufferlist.C: ws changes
9984 * DepTable.[Ch] (ext_exist): place const in the right spot.
9986 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9988 (workAreaExpose): call resizeInsets when the with BufferView changes.
9989 (Dispatch): adjust for protectedBlank removal
9990 (specialChar): call updateInset if the insert went ok.
9992 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9993 specialChar instead.
9995 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9997 * BufferView.h: doxy change
9999 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10001 * lyxtextclass.C (operator[]): remove non-const version
10002 (defaultLayout): remove non-const version
10004 2002-03-12 Juergen Vigna <jug@sad.it>
10006 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10007 did resize the LyXText too.
10009 * buffer.C (readLyXformat2): set layout information on newly allocated
10012 * tabular.C (OldFormatRead): set layout information on the paragraph.
10014 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10016 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10018 2002-03-11 Juergen Vigna <jug@sad.it>
10020 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10022 (resizeCurrentBuffer): force also the insets to resize themselfes.
10023 (moveCursorUpdate): fixed up for InsetText.
10025 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
10028 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10029 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10030 value of Dialogs::tooltipsEnabled().
10031 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10033 2002-03-08 Juergen Vigna <jug@sad.it>
10035 * BufferView_pimpl.C (updateInset): update inset inside inset also
10036 if it isn't inside theLockingInset().
10038 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10040 * buffer.C (asciiParagraph): redo some of the word and line length
10042 (getLists): look for Caption instead of caption.
10044 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10046 * buffer.C (Buffer): initialize niceFile to true
10048 (makeLinuxDocFile):
10049 (makeDocBookFile): make sure niceFile is true on exit
10051 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10053 * buffer.C (makeLaTeXFile): escape ~ in \input@path
10055 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
10057 * LyXSendto.C: remove.
10058 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10059 * lyx_gui.C: remove now-redundant comment.
10060 * ColorHandler.h: remove forward declaration of class WorkArea.
10061 * lyxfunc.C: remove #include "WorkArea.h".
10063 2002-03-07 Juergen Vigna <jug@sad.it>
10065 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10066 got moved away with the DEPM and also set the inset_owner always
10067 right which before could have been omitted.
10069 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10071 * buffer.C (parseSingleLyXformat2Token): use default layout is the
10072 wanted layout is not found.
10074 2002-03-07 Juergen Vigna <jug@sad.it>
10076 * CutAndPaste.C (cutSelection): another layout settings forgotten.
10078 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10080 * paragraph.C (breakParagraph): use default layout not layout of
10082 (Paragraph): clear ParagraphParameters.
10084 2002-03-06 Juergen Vigna <jug@sad.it>
10086 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10087 otherwise it would not be a valid lenght. Fixed a special case in
10088 the minipage compatibility read where we end the document with a
10091 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10092 was set as it could be 0 for InsetTexts first entry.
10094 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10096 * paragraph.C (writeFile): if layout is empty write out
10097 defaultLayoutName().
10099 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10100 file without named layout we set layout to defaultLayoutName().
10102 2002-03-06 Juergen Vigna <jug@sad.it>
10104 * CutAndPaste.C (copySelection): set layout for new paragraph.
10106 * text.C (prepareToPrint): leave ERT inset left aligned
10107 (leftMargin): don't indent paragraphs inside ERT insets
10109 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10111 * paragraph.C (breakParagraph): dont call clear do the work manually
10113 * paragraph.[Ch] (clear): remove function
10115 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10117 * paragraph.C (Paragraph): dont call clear, the work has already
10120 * lyxtextclass.C (operator): assert if n is empty
10122 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10123 work manually instead.
10125 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10127 * BufferView_pimpl.C: protect selectionLost against text == 0
10129 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10131 * text.C (breakParagraph): fix a setting layout to '0' problem.
10133 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10135 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10136 final location of file, for the included files, and graphics.
10138 2002-03-05 Juergen Vigna <jug@sad.it>
10140 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10142 2002-03-04 Juergen Vigna <jug@sad.it>
10144 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10146 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10147 last column of multicolumn cells.
10148 (SetWidthOfMulticolCell): recalculate NMC and real columns.
10150 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
10152 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10153 file if it doesn't go to a temporary file.
10155 * buffer.C (sgmlOpenTag):
10156 (sgmlCloseTag): remove extra newline insertion.
10158 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10160 * text.C (getRowNearY): comment out debug msg
10162 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10164 * text2.C: first -> first_y
10166 * text.C (getRowNearY): add some attemts at a possible
10167 optimization, not working.
10169 * tabular.[Ch]: add BufferParams to several function so that newly
10170 created paragraph can be initialized to he default layotu for the
10173 * tabular-old.C (ReadOld): add buf->params to call of Init
10175 * screen.C: rename text->first to text->first_y
10177 * paragraph.C (breakParagraph): always set layout in the broken
10180 * lyxtextclass.C (Read): remove lowercase
10183 (delete_layout): ditto
10185 * lyxtext.h: rename first -> first_y
10187 * lyxlayout.C (Read): remove lowercase
10190 (obsoleted_by): ditto
10192 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10194 * buffer.C (insertErtContents): add params are to InsetERT
10195 (parseSingleLyXformat2Token): add code to check if a paragraphs
10196 layout really exist.
10197 (parseSingleLyXformat2Token): add params to several inset
10199 (asciiParagraph): remove lowercase, do the layout comparisons with
10202 * BufferView_pimpl.C (cursorNext): first -> first_y
10203 (resizeCurrentBuffer): first -> first_y
10204 (updateScrollbar): first -> first_y
10205 (scrollCB): first -> first_y
10206 (workAreaMotionNotify): first -> first_y
10207 (workAreaButtonPress): first -> first_y
10208 (checkInsetHit): first -> first_y
10209 (cursorPrevious): first -> first_y
10210 (cursorNext): first -> first_y
10211 (Dispatch): add buffer_->params to severl inset contructors
10213 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10215 * lyxlayout.C (Read): remove some debug info that I forgot.
10217 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10218 clean up the code slightly.
10219 (makeLinuxDocFile): ditto
10220 (makeDocBookFile): ditto
10222 * text2.C: layout as string
10224 * text.C: layout as string
10226 * paragraph_pimpl.C: layout as string
10228 * paragraph.[Ch]: layout as string
10230 * lyxtextclasslist.[Ch]: layout as string
10232 * lyxtextclass.[Ch]: layout as string
10234 * lyxtext.h: layout as string
10236 * lyxlayout.[Ch]: layout as string
10238 * lyx_cb.C: layout as string
10240 * bufferview_funcs.C: layout as string
10242 * bufferparams.C: layout as string
10244 * buffer.C: layout as string
10246 * LyXView.[Ch]: layout as string
10248 * LaTeXFeatures.[Ch]: layout as string
10250 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10252 * BufferView_pimpl.C: change current_layout to string, remove
10257 (workAreaButtonRelease): layout as string
10259 * BufferView2.C (unlockInset): adjust
10261 * vspace.C (asLatexCommand): use an explict temp variable.
10263 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10265 * Makefile.am: use FRONTEND_*
10267 2002-03-01 Juergen Vigna <jug@sad.it>
10269 * tabular.C (SetWidthOfMulticolCell): changed to something better
10270 I hope but still work in progress.
10271 (recalculateMulticolumnsOfColumn): renamed function from
10272 recalculateMulticolCells as it is more appropriate now.
10273 (SetWidthOfCell): calculate multicols better.
10275 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10277 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10279 * lyxfunc.C (processKeySym): print sequence also if it is
10280 `deleted' (complete)
10282 * kbsequence.C (print): print sequence even if it is deleted
10283 (complete would be a better word, actually).
10285 * lyxfunc.C (dispatch): print complete options after a prefix key
10287 * vspace.C (asLatexCommand): rewrite in a slightly different form.
10289 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
10291 * text2.C (setCharFont): eliminate setCharFont code duplication.
10293 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10295 * BufferView_pimpl.C (Dispatch): remove bogus handling of
10296 LFUN_TABULAR_FEATURE (bug #177)
10298 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
10300 * Makefile.am: remove figure.h
10302 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
10304 * Bufferview_pimpl.C:
10316 * text2.C: remove #include "lyx_gui_misc.h".
10318 * LaTeX.C: added #include <cstdio>
10320 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10322 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10323 that the paragraph following this one can have.
10325 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10327 * vspace.C (asLatexCommand): fix bogus gcc warning
10329 * Makefile.am (lyx_SOURCES): remove vms_defines.h
10331 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
10333 * text2.C (setLayout): get rid of redundant code
10335 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
10337 * text2.C (incDepth): make sure depth cannot be increased beyond
10340 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
10342 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10343 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10345 * PainterBase.h (image):
10346 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10347 a LyXImage const *.
10349 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10353 * BufferView_pimpl.C:
10354 * BufferView_pimpl.h:
10374 * sp_spell.C: remove fig inset, and the crap house of
10375 cards that follows it
10377 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10382 * os2_errortable.h:
10383 * nt_defines.h: move .h into support/
10385 * vms_defines.h: remove
10387 * WorkArea.C: add space in debug output
10391 * buffer.C: add WITH_WARNINGS
10395 * bufferlist.C: s/retrive/retrieve/, add docs
10404 * chset.C: add docs
10406 * lyxgui.C: add ID to X error handler
10408 * lyxtestclass.c: fix typo
10410 2002-02-26 Juergen Vigna <jug@sad.it>
10412 * tabular_funcs.C (write_attribute): changed so that some default
10413 attributes are not written at all.
10414 (getTokenValue): set default values before trying to read the
10415 value so we have the return value always set as default if we don't
10416 find the token we search for.
10418 * tabular.C (Write): write bools as bools not as strings!
10420 2002-02-22 Juergen Vigna <jug@sad.it>
10422 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10423 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10425 * text.C (leftMargin): don't add an indent for paragraphs inside
10426 tabular cells (fix #208).
10428 2002-02-21 José Matos <jamatos@fep.up.pt>
10430 * tabular.C (docBook): fixed support for long tables.
10432 2002-02-20 Juergen Vigna <jug@sad.it>
10434 * text2.C (getFont): get the drawing font of the Inset if this
10435 paragraph is inside an inset (only important for InsetERT for now).
10437 * buffer.C (insertErtContents): use new lanugage params in ERT
10440 * CutAndPaste.C: commenting out seemingly uneeded code.
10442 2002-02-19 Allan Rae <rae@lyx.org>
10444 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10445 Iterators might be simple to use but they also get invalidated.
10446 (removeAutoInsets): renamed saved cursor tracking variables and added
10447 some comments to clarify what everything does.
10449 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
10456 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10457 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10460 * vc-backend.h: remove #include "support/syscall.h"
10464 * converter.C: rearrange #includes in Lars' approved fashion.
10466 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10467 forward declare class Timeout in the header file.
10469 * XFormsView.C: changes due to the above.
10471 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10472 similar to LyXView.
10474 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10475 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10477 2002-02-18 José Matos <jamatos@fep.up.pt>
10479 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10482 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10484 * a lot of small ws changes
10485 * add a lot of using std::XXX
10486 * use std construcs some places where approp.
10487 * use some exisint stuff from lyxfunctional where approp.
10488 * Make file changes to use partial linking (lets test this now...)
10490 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10494 remove #include "support/syscontr.h" as it's redundant. Always has been.
10502 change Systemcalls::System to Systemcalls::Wait and
10503 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10504 No change of functionality, just reflects the stripped down Systemcalls
10507 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10509 * debug.[Ch]: add a GRAPHICS type to the enum.
10511 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10513 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10515 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10518 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10520 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10521 match the changes below.
10523 * text2.C (toggleInset): if there is not editable inset at cursor
10524 position, try to see if cursor is _inside_ a collapsable inset
10527 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10529 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10530 document menu has a nice checkbox
10532 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10534 * lyxlength.C (asLatexString): change PW to output as percent of
10537 * lengthcommon.C: change '%' to 't%'
10539 * lyxfunc.C (dispatch): a few comments from Martin
10541 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
10545 * BufferView_pimpl.h:
10546 * BufferView_pimpl.C: clear our selection when X tells us we've lost
10549 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10551 * vspace.C (inPixels): fix compiler warning
10553 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10555 * lyxfunc.C (getStatus): fix status message for disabled commands.
10557 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
10559 * BufferView_pimpl.C: fix crash on close buffer
10560 during selection (#227)
10562 2002-01-27 Herbert Voss <voss@lyx.org>
10564 * buffer.C: link old Figure to new graphic inset
10566 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
10568 * FontLoader.C (getFontinfo): Change the latex font names in order
10569 to match the names of type1inst.
10571 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10573 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10575 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10576 (extchanged): ditto
10578 (remove_files_with_extension): ditto
10579 (remove_file): ditto
10582 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10583 document is smaller than the work area height. Do not initialize
10584 static variables to 0.
10586 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10588 * lyx_gui.C (init): give the toolbar tooltips a normal font.
10590 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10591 LFUN_LAYOUT_PARAGRAPHS.
10593 * tabular.C (GetCellFromInset): new method. Finds an inset in a
10594 tabular. It is possible to provide a possible cell, which will
10595 typically be the actcell from the corresponding insettabular
10597 * lyxfunc.C (getStatus): small cleanup; disable
10598 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10601 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10603 * tabular.C (Validate): remove broken optimization (fixes bug #201)
10605 * paragraph.C (startTeXParParams):
10606 (endTeXParParams): new methods. The LaTeX code to
10607 start/end paragraph formatting
10608 (simpleTeXOnePar): call startTeXParParams also when paragraph is
10609 empty (fixes bug #200)
10611 * vspace.C (inPixels): adapt to the change below
10612 (inPixels): [later] more cleanups (remove unused variables)
10614 * lyxlength.C (inPixels): change to use a width and a height as
10617 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10619 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10620 Replaced with \paperwidth
10622 * DepTable.C (insert): add std:: qualifier
10624 2002-01-18 Allan Rae <rae@lyx.org>
10626 * text2.C (removeRow): add comment. Should other refresh_?? vars be
10629 * text.C (drawInset): Turned out I didn't know enough about how
10630 rebreaking worked. This fixes most of the redraw problems. I see
10631 an occasional cursor trail when a line is broken now and the cursor
10632 placement can seem out by a few pixels also after a rebreak.
10634 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10636 * buffer.C (parseSingleLyXformat2Token): update because minipage
10637 width is now a LyXLength
10639 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10641 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10644 2002-01-17 Juergen Vigna <jug@sad.it>
10646 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10648 * BufferView2.C (lockInset): call edit() so that theLockingInset()
10649 is set correctly and the inset is updated correctly.
10651 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10653 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10654 the beginning of the loop.
10656 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
10658 * lyxrc.C: improve help for use_scalable_fonts
10660 2002-01-17 Allan Rae <rae@lyx.org>
10662 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10664 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10666 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10667 make sure to set their inset_owner to the right value (bug #171)
10669 2001-12-12 Ben Stanley <bds02@uow.edu.au>
10672 * DepTable.C: Implement mtime checking to reduce time spent doing
10675 2002-01-16 Juergen Vigna <jug@sad.it>
10677 * tabular.C (GetAdditionalHeight): one of error fixed.
10679 * lyxrc.C (output): small fix in writing use_pspell.
10681 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
10683 * sp_base.h: #include LString.h
10685 2002-01-16 Allan Rae <rae@lyx.org>
10687 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
10688 Can someone check this please?
10690 * text.C (drawInset): It was possible that p.row would be removed by
10691 breakAgainOneRow upsetting a few other settings. There may be another
10692 small tweak possible by setting need_break_row = 0 when p.row has been
10693 removed but I don't know enough about the logic here.
10695 2002-01-15 Allan Rae <rae@lyx.org>
10697 * text.C (insertChar): removed conditional truism.
10699 * BufferView2.C (removeAutoInsets): More tweaks.
10700 cur_par_prev could be a stray pointer. Check for trailing empty line
10701 in case last line was cur_par and only had an error inset on it.
10703 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10705 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10708 * vc-backend.C (most methods):
10709 * exporter.C (Export):
10710 * converter.C (convert):
10712 * LyXSendto.C (SendtoApplyCB):
10713 * lyxfunc.C (dispatch):
10717 * lyx_cb.C (AutoSave):
10719 * BufferView_pimpl.C (MenuInsertLyXFile):
10720 * buffer.C (runChktex): use Buffer::filePath().
10722 * buffer.h: rename filename to filename_; rename filepath to
10723 filepath_ and make it private
10724 (filePath): new method
10726 * buffer.C (writeFile): use fileName()
10729 * lyx_main.C (init): fix starting of LyX when the binary is a
10730 link from so,ewhere else.
10732 * minibuffer.C: include <cctype> for isprint
10734 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10736 * buffer.C (parseSingleLyXformat2Token): changes associated with the
10737 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10738 name clash with InsetCollapsable's width function.
10740 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10742 * lastfiles.C: include <iterator>
10744 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10746 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10749 * buffer.C (makeLaTeXFile): ditto.
10750 Also make loop operation more transparent.
10752 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10754 * ToolbarDefaults.C: remove trailing comma closing namespace.
10756 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10758 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10761 * trans.C (Load): comment out unused variable, allowed.
10763 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10765 * minibuffer.[Ch] (append_char): new method to recieve input from the
10766 drop-down completion browser. If a key was pressed, then recieve this
10767 char and append it to the existing string.
10768 (peek_event): modify the positioning data passed to the completion
10769 browser so that it can be placed above the minibuffer rather than below.
10770 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10772 * LyXAction.C (init): alloe error-next for readonly documents.
10774 * BufferView2.C (ChangeRefsIfUnique): use standard version of
10777 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10779 * bufferlist.C (readFile): create the buffer _after_ checking that
10782 * lyxfunc.C (verboseDispatch): fix handling of arguments
10784 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10786 * lyxrc.C: use string::erase() instead of initializing to "".
10789 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10791 * BufferView_pimpl.h:
10792 * BufferView_pimpl.C:
10795 * text2.C: tell X when we have made a selection for copying
10797 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10799 * BufferView_pimpl.C (MenuInsertLyXFile):
10800 * lyxfunc.C (menuNew):
10802 (doImport): add shortcuts to directory buttons
10804 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10807 * lyxfunc.C (setStatusMessage):
10808 (getStatusMessage): new methods
10809 (getStatus):use setStatusMessage instead of setErrorMessage
10810 (dispatch): when function is disabled, set error message here
10811 [instead of in getStatus previously]
10813 * BufferView_pimpl.C (workAreaButtonRelease): update
10814 toolbar/menubar here too.
10816 2002-01-13 Allan Rae <rae@lyx.org>
10818 * BufferView2.C (removeAutoInsets): finished off earlier fix.
10819 Now seems indestructible. Remaining task is to audit all other
10820 code affected by deleteEmptyParagraphMechanism. One small quirk
10821 left is that an empty document with an error in the preamble can
10822 be made to report an error but no error box appears. I don't know
10824 (removeAutoInsets): Improved comments.
10826 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
10829 * Thesaurus.C: update for Aiksaurus 0.14
10831 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10833 * text2.C (firstParagraph): removed member function, all uses
10834 replaces with ownerParagraph
10835 (redoParagraphs): here
10836 (updateInset): here
10837 (toggleAppendix): here
10838 * BufferView2.C (insertErrors): here
10839 (setCursorFromRow): here
10841 2002-01-13 Allan Rae <rae@lyx.org>
10843 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10844 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10845 There is still a way to segfault this although you may have to do this
10846 multiple times: Have an InsetERT with an unknown command in it.
10847 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10848 <down-arrow>, <Enter> again, View->DVI, BANG!
10850 * text2.C (setCursor):
10851 (deleteEmptyParagraphMechanism):
10852 * lyxtext.h (setCursor):
10853 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10854 Making use of the return value may help fix other bugs.
10856 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10858 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10860 * LyXView.C (updateMenubar): call MenuBar::update here
10861 (updateToolbar): but not here
10862 (showState): do not update toolbar/menubar
10864 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10865 should need to care about that.
10867 * lyxfunc.C (verboseDispatch): simplify a bit
10868 (getStatus): have a version which takes a pseudoaction, and
10869 another which requires a (kb_action,string).
10871 * LyXAction.C (retrieveActionArg): make it work also when action
10872 is not a pseudo-action.
10873 (getActionName): simplify a bit
10876 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10878 * lyxfunc.C (verboseDispatch): new families of methods with
10879 several ways to specify a command and a bool to indicate whether
10880 the command name and shortcut should be displayed in minibuffer
10881 (eventually, we could extend that to a finer bitmask like
10882 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10883 (dispatch): the pristine dispatch command which just, well,
10884 dispatchs! Note it still sets its result to minibuffer; I'm not
10887 * lyxfunc.h: remove setHintMessage
10889 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10891 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10893 * BufferView_pimpl.C (specialChar): delete new inset if we have
10894 not been able to insert it.
10896 * kbmap.C: revert to using int instead of kb_action, since all we
10897 are dealing with is pseudo-actions.
10899 * LyXAction.C (searchActionArg): change to return int instead of
10900 kb_action, since the result is a pseudoaction.
10902 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
10904 * buffer.C (insertErtContents): Fix (partially) the font bug.
10906 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10908 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10909 as the other one is broken on my machine!
10911 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
10914 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10916 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
10918 * lyxrc.[Ch]: change names and descriptions of popup font variables to
10919 reflect their actual use. Provide compatibility code for older lyxrc
10922 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10924 change names of popup font variables in line with the changes to lyxrc.C
10926 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10928 * buffer.C (asciiParagraph): avoid outputing a word twice after
10931 * lyxrc.C (getDescription): document that document_path and
10932 template_path can be empty.
10934 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10936 * LaTeXFeatures.C (getMacros):
10937 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10939 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10941 * LaTeXFeatures.C (useFloat): require "float" here instead of in
10943 (getPackages): rename feature "floats" to "float". Use an array to
10944 iterate over 'simple' features (i.e. just a \usepackage). Add
10945 handling of "amsmath" (renamed from "amsstyle").
10947 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
10949 * LaTeXFeatures.C (require): Prevent duplicate entries in the
10952 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
10954 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10955 FuncStaus::FuncStatus & FuncStaus::some_method().
10957 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
10959 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10960 of the func_satus stuff. Edited and massaged in various ways by
10963 * lyxfunc.C (getStatus): use FuncStatus
10965 2002-01-08 Juergen Vigna <jug@sad.it>
10967 * text.C (nextBreakPoint): use function Inset::isChar().
10969 * paragraph.C (TeXOnePar): use function
10970 Inset::forceDefaultParagraphs.
10972 * buffer.C (latexParagraphs): use function
10973 Inset::forceDefaultParagraphs.
10975 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10977 * lyx_gui.C (init): set the style of the menu popups to
10978 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10980 2002-01-07 Juergen Vigna <jug@sad.it>
10982 * text.C (setHeightOfRow): small fix
10983 (prepareToPrint): don't look at alignment if we don't have the place
10986 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10988 * box.C: New file. Move the Box methods and functions out of box.h,
10989 following Lars' suggestion.
10991 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10993 * box.h: #include "support/LOstream.h", needed for inlined function.
10996 * lyxtextclasslist.C: added some using std declarations.
10998 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
11000 * box.h: make signed dimensions to allow insets wider than
11001 the screen (bug #162)
11003 * BufferView_pimpl.C: add some insetHit debug
11005 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
11007 * vc-backend.C: add FIXME
11009 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11011 * lyxfunc.C (getStatus): enable code for showing math font status
11014 2002-01-07 Juergen Vigna <jug@sad.it>
11016 * text.C (nextBreakPoint): removed debug output not needed anymore.
11018 2002-01-06 Juergen Vigna <jug@sad.it>
11020 * text.C (nextBreakPoint): fixed up this function we had this bug
11021 since ever but now hopefully we break row better.
11022 (insertChar): we have to check if an inset is the next char as it
11023 could now happen that a large inset is causing a break.
11025 2002-01-05 Juergen Vigna <jug@sad.it>
11027 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11028 if it doesn't like to be drawed.
11030 2002-01-04 Juergen Vigna <jug@sad.it>
11032 * BufferView2.C (lockInset): forgot to set a cursor.
11034 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11036 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
11038 * FormMathsPanel.C:
11041 * form_maths_panel.C:
11042 * form_maths_panel.h:
11043 * form_maths_panel.fd: implemented sub- and super- buttons in math
11046 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11047 (or ^ space) to be used as in TeX (req'd by André).
11049 * lyxfunc.C: Allow ^ and _ again to be used both as
11050 super/subscript (mathed) and as themselves (in text).
11052 2002-01-03 Allan Rae <rae@lyx.org>
11054 * LyXView.C (updateWindowTitle): Setup a short icon title of either
11055 "LyX" or the filename of the current buffer if it has one. This is a
11056 modified form of John Levon's patch.
11058 * XFormsView.C (setWindowTitle): also set icon title.
11060 * LyXView.h (setWindowTitle): signature changed.
11061 * XFormsView.h (setWindowTitle): ditto.
11063 2002-01-02 Juergen Vigna <jug@sad.it>
11065 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11067 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11069 * screen.C (topCursorVisible): introduce a temp var for
11070 text->cursor.row(), handle the case where this row is null. (kindo
11073 * text2.C (setCursor): add a couple of asserts.
11075 * paragraph.h (inset_iterator): add -> operator
11077 * paragraph.[Ch] (autoDeleteInsets): remove member function
11079 * BufferView2.C (removeAutoInsets): rewrite to handle the old
11080 cursor pos correctly and handle inset deletion by itself.
11081 (insertErrors): move iterator declaration out of for expression
11083 * lyxtextclass.C: add <algorithm>
11085 * Makefile.am: added the new files to sources, removed layout.C
11087 * layout.C: removed file
11089 * layout.h: remove LYX_DUMMY_LAYOUT
11091 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11095 * lyxtextclass.[Ch]:
11096 * lyxtextclasslist.[Ch]: new files
11098 * include order changes to a lot of files, also changes because of
11101 2001-12-27 Juergen Vigna <jug@sad.it>
11103 * buffer.C (asciiParagraph): more fixes.
11105 * tabular.C (ascii): make ascii export support export of only the
11106 data separated by a column-delimiter.
11107 (ascii): better support for ascii export.
11109 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11111 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11113 * tabular_funcs.C: use a "using std::getline" instead of the
11114 previous fix from Angus (necessary for cxx + lyxstring)
11116 2001-12-24 Juergen Vigna <jug@sad.it>
11118 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11120 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11121 problems. First check a minipage also if we have some ert-contents
11122 (not only on par->size(), second set the right depth of the paragraph
11123 on the relink to the root-paragraph-list!
11125 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11126 which then did not anymore update the main paragraphs on undo/redo!
11128 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11130 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11131 code. Support all font-changing funcs (even those which are not in
11132 menu currently). Support for reporting font settings in
11133 mathed (disabled until Andre provides a function on mathed's side).
11135 * func_status.h (toggle): small helper function to set toggle
11138 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
11140 * tabular_funcs.C: getline -> std::getline
11142 2001-12-21 Juergen Vigna <jug@sad.it>
11144 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11145 accessed and could be 0 (I couldn't generate this but it seems
11148 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11150 * tabular_funcs.C: add LIstream.h, move write_attribute to..
11151 * tabular_funcs.h: here and include iosfwd
11153 2001-12-20 Juergen Vigna <jug@sad.it>
11155 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11156 inside inset but undo_par was.
11158 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11160 * Thesaurus.C: always include <config.h> in sources.
11164 * box.h: do not include <config.h> in header files
11166 * text.C (paintLastRow): remove unused variable
11168 * text.C (transformChar):
11170 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11172 * Painter.C (text):
11173 * font.C (width): rewrite to use uppercase() instead of
11176 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11178 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
11180 * lyxfind.C: clean up of find failure position change
11182 2001-12-20 Juergen Vigna <jug@sad.it>
11184 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11186 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11187 (TeXRow): added to LaTeX a single tabular row.
11188 (TeXLongtableHeaderFooter): added to output LT-h/f data.
11189 (Latex): simplified and finally good LT-h/f support.
11190 (various_functions): just small adaptions for LT-h/f support.
11192 * tabular_funcs.[hC]: added and moved here all not classfunctions
11195 2001-12-19 Juergen Vigna <jug@sad.it>
11197 * tabular.[Ch]: better support for longtabular options (not finished
11200 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11202 * text.C (paintLastRow): use the label font instead of the font of
11203 the last character to compute the size of *_BOX. This makes more
11204 sense and avoids a crash with empty paragraphs.
11205 Use Painter::rectangle to draw EMPTY_BOX.
11207 2001-12-19 Juergen Vigna <jug@sad.it>
11209 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11210 the paragraphs if the replaced paragraph is not the first one!
11211 Tried to delete not used paragraphs but does not work yet so for
11212 now it's inside #ifdef's and by default off!
11214 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11216 * MenuBackend.C: include "lyx_main.h" instead of declaring
11217 lastfiles (actually was declared as LastFiles* instead of a
11220 2001-12-17 Juergen Vigna <jug@sad.it>
11222 * tabular.C (AppendColumn): applied John's fix
11224 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
11228 * BufferView_pimpl.h:
11229 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11232 * box.h: new start of class for above
11234 * lyxfunc.C: ignore space-only minibuffer dispatches.
11235 Show the command name when it doesn't exist
11237 * minibuffer.C: don't add empty lines to the history
11239 * minibuffer.C: add a space on dropdown completion
11241 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
11243 * text.C: fix line above/below drawing in insets
11245 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11247 * lyxlength.C (LyXLength): Initialize private variables.
11249 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
11251 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11252 when inserting error insets.
11254 2001-12-13 Juergen Vigna <jug@sad.it>
11256 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11257 actually sometimes the before-paragraph.
11258 (setUndo): don't clear the redostack if we're not actually undoing!
11260 2001-12-06 Juergen Vigna <jug@sad.it>
11262 * undo_funcs.C (textHandleUndo): well after John's hint I got here
11263 and fixed redoing of main paragraph, so we can use it now ;)
11265 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11267 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11269 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11272 2001-12-13 André Pönitz <poenitz@gmx.net>
11275 * undo_func.C: minor cleanup
11277 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11279 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11280 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11281 font in urw-fonts package which is marked as -urw-fontspecific and
11282 does not work (incidentally, changing the encoding in the
11283 fonts.dir of this package to -adobe-fontspecific fixes the
11286 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11287 is a crash when undoing first paragraph (Juergen, please take a
11288 look). THis does not mean the undo fix is wrong, just that it
11291 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11292 the (Paragraph*) version when needed instead of duplicating the
11295 * text.C (workWidth): use Inset::parOwner to find out where the
11296 inset has been inserted. This is a huge performance gain for large
11297 documents with lots of insets. If Inset::parOwner is not set, fall
11298 back on the brute force method
11300 * paragraph_pimpl.C (insertInset):
11301 * paragraph.C (Paragraph):
11302 (cutIntoMinibuffer): set parOwner of insets when
11303 inserting/removing them
11305 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11307 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
11313 * mathed/formulabase.C:
11314 * mathed/math_cursor.[Ch]:
11315 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11318 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11320 * lyxlength.[Ch] (operator!=): new function
11322 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11324 * text.C (workWidth): use Inset::parOwner to find out where the
11325 inset has been inserted. This is a huge performance gain for large
11326 documents with lots of insets. If Inset::parOwner is not set, fall
11327 back on the brute force method
11329 * paragraph_pimpl.C (insertInset):
11330 * paragraph.C (Paragraph):
11331 (cutIntoMinibuffer): set parOwner of insets when
11332 inserting/removing them
11334 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11336 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11338 * tabular-old.C (getTokenValue):
11339 * tabular.C (getTokenValue):
11340 (write_attribute): new versions for LyXLength
11341 (everywhere): adjust the use of widths
11343 * tabular.h: change the type of widths from string to LyXLength
11345 2001-12-11 Ben Stanley <bds02@uow.edu.au>
11347 * paragraph.C: fixed missing line number count when exporting
11348 Environments to LaTeX file
11350 * buffer.C: added informational message for checking line numbers.
11352 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11354 * text2.C (deleteEmptyParagraphMechanism): if there is only one
11355 paragraph, do the 'double space' part, but not the 'empty
11358 * text.C (workWidth): small optimization
11359 (getLengthMarkerHeight): use minimal size for negative lengths.
11361 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
11363 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11365 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11367 2001-12-11 André Pönitz <poenitz@gmx.net>
11370 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11372 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11374 * text2.C: keep selection on a setFont()
11376 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11378 * lyx_cb.C: another bv->text misuse, from insert label
11380 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11383 * kbsequence.C: re-instate nmodifier mask
11385 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
11387 * lyx_main.h: make lyxGUI private.
11389 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11391 * lyxfind.C: place the cursor correctly on failed search
11393 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11395 * text.C (getLengthMarkerHeight): for small heights, the arrows
11396 are not always on top/bottom of the text
11397 (drawLengthMarker): smaller arrows; take the left margin in
11398 account; draw also vfills.
11400 (paintLastRow): remove special code for vfill and standard spaces,
11401 since everything is handled in drawLengthMarker now.
11403 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11405 * buffer.C (insertErtContents): try to handle font and language
11406 interaction a bit better.g
11408 * ColorHandler.C (updateColor): change the hash to cover the whole
11409 LColor enum, ws cleanup
11410 (getGCLinepars): ditto
11411 (getGCLinepars): only lookup in the linecache once.
11413 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
11415 * iterators.C (operator++): Make the iterator more robust
11417 * BufferView2.C (removeAutoInsets): Use paragraph iterators
11419 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11421 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11424 * text.C: better added space drawing
11426 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11429 * BufferView2.C: fix layout combo update on inset unlock
11431 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11433 * Makefile.am: don't compile unused files
11435 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11439 * LyXAction.C: remove old LFUN_LAYOUTNO
11441 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11443 * paragraph_pimpl.h:
11444 * paragraph_pimpl.C: isTextAt() doesn't need font param
11446 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11449 * lyxlex.C: little cleanup
11451 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11453 * BufferView_pimpl.C: fix insertAscii for insets
11455 2001-12-05 Juergen Vigna <jug@sad.it>
11457 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11458 set the right font on the "multi" paragraph paste!
11460 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11466 * lyxlength.C: remove out-commented code.
11468 * BufferView_pimpl:
11482 * vc-backend.C: change "while(" to "while ("
11484 * lyxlength.[Ch]: add zero function to check if length is zero or
11486 * lyxgluelength.C: use it
11488 2001-12-05 Allan Rae <rae@lyx.org>
11490 * lyxlength.C: Attempted a fix for the abs(int) header selection.
11491 Works for 2.95.3, from what I understand of Garst's reports this should
11492 work for other g++ versions. We're screwed if the abs(int) definition
11493 changed between bugfix releases of gcc.
11495 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11497 * text.C: fix chapter label offset !
11499 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11502 * text.C: fix hfill at end of line, clean up
11504 2001-12-04 Juergen Vigna <jug@sad.it>
11506 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11507 that we force an update of the inset and it's owners if neccessary.
11509 2001-12-03 Juergen Vigna <jug@sad.it>
11511 * text.C (rowLast): simplified code
11513 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11515 * lyxfunc.C: fix show options on timeout
11517 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11519 * screen.C (topCursorVisible): scroll half a page when the cursor
11520 reached top of bottom of screen
11522 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
11524 * minibuffer.C: deactivate on loss of focus
11526 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11528 * vspace.[Ch] (operator!=): add operator.
11530 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
11532 * BufferView_pimpl.C: refuse to open an inset when
11533 there's a selection.
11535 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
11537 * BufferView_pimpl.C: allow to click on RHS of full row insets
11539 2001-11-30 Juergen Vigna <jug@sad.it>
11541 * tabular.C (LyXTabular): add a same_id to set the same id's in the
11542 insets for undo reasons.
11544 2001-11-28 André Pönitz <poenitz@gmx.net>
11546 * vspace.[Ch]: cosmetical changes
11548 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11558 * kbsequence.C: part re-write of old kb code
11561 * WorkArea.C: remove Lgb_bug_find_hack
11563 2001-11-30 José Matos <jamatos@fep.up.pt>
11565 * buffer.C (makeDocBookFile): add a comment to point a hack.
11566 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11567 Fixed a double write of labels.
11569 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11572 * LaTeX.h Fixed bug in LaTeX class where it would not
11573 re-run latex if no depfiles were changed, but the .dvi was removed.
11575 2001-11-28 André Pönitz <poenitz@gmx.net>
11577 * all the files from the change on 2001/11/26:
11578 use lyx::layout_type instead of LyXTextClass::size_type
11579 use lyx::textclass_type instead of LyXTextClassList::size_type
11581 2001-11-29 Juergen Vigna <jug@sad.it>
11583 * text.C: added support for paragraph::isFreeSpacing()
11585 * buffer.C: same as above
11587 * paragraph.h: inserted isFreeSpacing() function to enable
11588 FreeSpacing inside InsetERT.
11590 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11591 of the paragraph's in the cut/copy buffer to 0!
11593 * text2.C (removeRow): remove the assert as it can!
11595 * lyxtext.h: added helper function firstRow returning firstrow and
11596 made firstrow private again.
11598 * BufferView2.C (lockInset): don't relock if we're already locked!
11600 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11601 the only paragraph.
11602 (removeRow): added Assert::(firstrow)
11604 * debug.C: forgot to add INSETTEXT here.
11606 2001-11-28 Juergen Vigna <jug@sad.it>
11608 * sp_spell.C (initialize): changed error text to more general
11609 spellchecker command use (not only ispell!)
11611 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11613 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11615 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11617 * vspace.C: initialise lyxgluelength on failure
11619 2001-11-28 Allan Rae <rae@lyx.org>
11621 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11622 declaration & definition that looks like a function declaration.
11624 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11626 * BufferView2.C (copy):
11627 (copyEnvironment): do not clear the selection when doing a copy.
11629 * text.C (paintFirstRow): compilation fix
11631 2001-11-27 Ben Stanley <bds02@uow.edu.au>
11633 * tabular.C (Latex): correct line count when writing latex.
11635 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
11637 * paragraph_pimpl.h:
11638 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11641 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11645 * LColor.C: change vfillline->added_space
11647 * text.C: add markers and text for added space
11649 * vspace.C: fix comment
11651 2001-11-28 André Pönitz <poenitz@gmx.net>
11653 * paragraph.C: whitespace changes
11654 * all the other files from the change on 2001/11/26:
11655 change *::pos_type into lyx::pos_type
11657 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
11659 * buffer.C (parseSingleLyXformat2Token): Set the language to the
11660 language of the document when inserting error insets.
11662 2001-11-26 André Pönitz <poenitz@gmx.net>
11664 * BufferView_pimpl.[Ch]:
11672 * paragraph_pimpl.[Ch]:
11675 * text2.C: reduce header dependencies, introduce type for positions
11677 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11679 * <various>: change to use Alert.h
11681 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
11683 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11684 when encountering an unknown token.
11685 (readLyXformat2): Show an error message if there were unknown tokens.
11687 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
11690 * BufferView_pimpl.C:
11694 * text2.C: use par->isInset()
11696 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11698 * paragraph_pimpl.h:
11699 * paragraph_pimpl.C: cleanup
11701 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11703 * text2.C (removeRow):
11704 * text.C (setHeightOfRow): remove useless (and costly) call to
11707 2001-11-20 Allan Rae <rae@lyx.org>
11709 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11710 Now need Inset*::checkInsertChar() to return true for appropriate
11711 cases so that the characters in the minibuffer will actually be
11714 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11716 * text.C: change the order of the includes.
11717 (workWidth): initialize it at once.
11718 (workWidth): make maxw unsigned
11719 (setHeightOfRow): remove unused variable (inset)
11720 (selectSelectedWord): remove unused variable (inset)
11721 (paintRowText): fix drawing of hfill characters, and clean up a bit.
11723 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11725 * lyxserver.C (emergencyCleanup): do not try to close pipes if
11726 server is not running.
11728 (closeConnection): add debug info when server is disabled.
11730 * ColorHandler.C (getGCForeground): send debug message to GUI
11733 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11735 * kbmap.C (bind): modify because return conventions of
11736 kb_sequence::parse have changed.
11738 * kbsequence.C (parse): only ignore spaces and not any stupid
11739 control character. This avoids tests like s[i] <= ' ', which are
11740 guaranteed to fail with 8bit characters and signed chars.
11741 Change return code to string::npos when there have been no error
11742 (0 was a bad idea when error is at first character)
11744 2001-11-14 José Matos <jamatos@fep.up.pt>
11747 * buffer.C (simpleDocBookOnePar): removed unused argument.
11749 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11751 * text.C (selectNextWordToSpellcheck): do not test explicitely for
11752 insets which are part of a word. Paragraph::isLetter takes care of
11753 that now. Use Paragraph::isInset to identify insets.
11754 (selectSelectedWord): do not test for hyphenation break.
11756 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11757 that protected spaces are considered as spaces.
11759 * paragraph.C (isLetter): cleanup the code for ispell extras; use
11762 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
11765 * lyxserver.C: fix it. and small cleanup.
11767 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11769 * BufferView_pimpl.C: use inline helpers
11772 * LaTeXFeatures.C: fix typos
11775 * Spacing.C: move spacing_string into class
11777 * ToolbarDefaults.C: move stuff into namespace anon
11779 * layout.h: update enum
11781 * lyxfunc.C: use better debug
11783 * minibuffer.h: fix typo
11787 * WorkArea.C: add and use Debug::WORKAREA
11791 * text2.C: code re-organisation, inline helpers
11793 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
11795 * Layout.C: replaced a few cases of std::vector.size() == 0 with
11796 std::vector.empty().
11798 2001-11-09 Allan Rae <rae@lyx.org>
11800 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11801 '\n's after tables. Tabular and ERT inset work now makes this no
11804 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11807 * minibuffer.C: fix crash, improve drop-down completion
11809 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
11812 * lyxserver.C: invalidate fd's when doing endPipe()
11814 2001-11-08 José Matos <jamatos@fep.up.pt>
11816 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11817 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11820 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11822 2001-11-07 José Matos <jamatos@fep.up.pt>
11825 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11828 * buffer.C (sgmlOpenTag):
11829 * buffer.C (sgmlCloseTag): removed debug info.
11831 * buffer.h (sgmlOpenTag):
11832 * buffer.h (sgmlCloseTag): made public.
11834 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11836 * buffer.C (saveParamsAsDefaults):
11837 * lyx_cb.C (MenuLayoutSave): remove
11839 * LyXAction.C (init):
11841 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11843 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11845 * buffer.C (setPaperStuff): removed from here...
11847 * bufferparams.C (setPaperStuff): ... and moved there.
11849 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
11853 * XFormsView.C: add support for drop-down completion
11855 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
11857 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11860 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11862 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11865 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
11867 * lyx_main.C: change ref to known bugs
11869 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
11871 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11872 to work around older babel problems.
11874 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11876 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11878 2001-10-24 Juergen Vigna <jug@sad.it>
11880 * tabular-old.C (ReadOld): below variable changes reflected.
11882 * tabular.[Ch]: added ltType struct for longtable header/footer
11883 defines and changed all instances where they are used. Added
11884 future support for double top/bottom rows.
11886 2001-10-24 José Matos <jamatos@fep.up.pt>
11888 * buffer.h (docbookHandleCaption):
11889 * buffer.C (docbookHandleCaption): removed unused function.
11890 (makeDocBookFile): moved docbook supported version to v4.1.
11892 2001-10-24 José Matos <jamatos@fep.up.pt>
11895 * tabular.C (docbookRow): new function to export docbook code of a row.
11896 (DocBook): now honors the longtable flags.
11898 2001-10-23 José Matos <jamatos@fep.up.pt>
11901 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11902 of the lyx defined sgml entities used in a docbook/linuxdoc document.
11904 * buffer.C (makeLinuxDocFile):
11905 (makeDocBookFile): reworked the preamble, more clean, and with
11906 support for lyx defined entities. Changed the document declaration
11907 to be more XML friendly.
11909 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11910 if we need to output XML that should be done with a filter.
11912 2001-10-22 Juergen Vigna <jug@sad.it>
11914 * sp_pspell.h (class PSpell): add alive function needed in the
11915 controller to see if the spellchecker could be started.
11917 2001-10-22 Juergen Vigna <jug@sad.it>
11919 * buffer.C (insertStringAsLines): modify the font for inserting
11920 chars in certain conditions by calling checkInsertChar(font).
11922 2001-10-19 Juergen Vigna <jug@sad.it>
11924 * text.C (workWidth): use getRow instead of wrong algorithm.
11925 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11927 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
11932 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11934 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11936 * text.C (workWidth): do not search for the exact row when
11937 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11938 optimization for big documents.
11940 2001-10-18 Juergen Vigna <jug@sad.it>
11942 * text.C (workWidth): new function with added Inset * parameter.
11944 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11946 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11948 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11949 change return type of getColumnNearX.
11952 * text.C (changeRegionCase): use uppercase/lowercase instead of
11955 (rightMargin): simplify code by factoring out the uses of
11960 (appendParagraph): use Paragraph::size_type
11962 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11964 * vspace.C (asLatexString): add a missing break
11966 2001-10-15 Herbert Voss <voss@perce.de>
11968 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11970 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11972 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11975 2001-10-10 André Pönitz <poenitz@gmx.net>
11977 * lyxfunc.C: removed greek_kb_flag.
11979 2001-10-10 Herbert Voss <voss@perce.de>
11981 * lyx_main.C: delete global string help_lyxdir.
11983 2001-10-09 Herbert Voss <voss@perce.de>
11985 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11987 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11989 * lyx_main.C: added global string help_lyxdir.
11991 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11993 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
11995 * lyxrc.C (set_font_norm_type): support iso8859-4
11997 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
11999 * LaTeX.C (deplog): add another regex for MikTeX
12001 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
12003 * lyxrc.C (set_font_norm_type): support iso8859-3
12005 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12007 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12009 * LaTeXFeatures.C: remove special case of french and index
12011 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12012 before \begin{document}). This solves several incompatibilities.
12014 2001-10-03 Garst Reese <reese@isn.net>
12016 * lyx_cb.C: change CheckTex error msg.
12018 2001-10-03 José Matos <jamatos@fep.up.pt>
12020 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12022 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12024 * .cvsignore: update
12026 * lyx_main.C (commandLineVersionInfo): use new style version info.
12028 * buffer.C (writeFile):
12030 (makeLinuxDocFile):
12031 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12033 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12035 * version.h: update to use stuff in version.C
12037 * version.C.in: new file. Contains version information determined
12038 at compile time. This is a merging of version.h and
12041 2001-10-03 Juergen Vigna <jug@sad.it>
12043 * BufferView_pimpl.C (update): don't change "dirty" status in
12046 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
12048 * WorkArea.C (c-tor): re-position version string slightly.
12050 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
12052 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12053 revert to previous code.
12055 WorkArea.[Ch]: (show, destroySplash): methods removed.
12057 WorkArea.C: rework code so that it's an amalgam of the codes before and
12058 after the splash screen was moved to WorkArea.
12060 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12063 * vspace.C (inPixels):
12066 * buffer.C (insertStringAsLines):
12067 (asciiParagraph): fix types to be large enough
12069 * lyxlex_pimpl.h: change member status from short to int
12071 * layout.h: fix type of endlabeltype
12074 * kbsequence.C (parse): change return type to string::size_type
12076 * LaTeX.C (updateBibtexDependencies): comment out unneeded
12079 * Bullet.C (bulletSize):
12080 (bulletEntry): do not use short ints as parameters
12082 * BufferView2.C (insertLyXFile): change a char to an int.
12084 * WorkArea.C (WorkArea): remove unneeded floats in computation
12086 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
12088 * buffer.C (asciiParagraph): Treat '\\' as other chars.
12090 * paragraph.C (asString): Do not ignore newline/hfill chars when
12091 copying to the clipboard.
12093 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
12095 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12096 after a multi-line inset.
12098 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
12100 * paragraph.C (validate): Set NeedLyXFootnoteCode
12102 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12104 * lyxfont.C (LyXSizeNames): changed increase-error to increase
12105 and decrease-error to decrease.
12107 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12109 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12110 it more readable (should be equivalent)
12112 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
12114 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12116 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12118 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12119 of a cursor (row, etc.) after a character has been deleted
12120 (deleteEmptyParagraphMechanism): call the method above on _all_
12121 cursors held by the LyXText when a double space has been
12124 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12126 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12128 (resizeCurrentBuff): remove code to destroy the old splash dialog.
12130 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12131 background. Use greyOut() and the new show() methods to toggle between
12132 the foreground and background. Add code to remove the splash after
12133 its initial showing.
12135 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12136 (create_forms): no longer call Dialogs::showSplash.
12138 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12140 * .cvsignore: add version_info.h
12142 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12144 * version_info.h.in: new file
12146 * Makefile.am: add version_info.h.in
12148 * lyx_main.C (commandLineVersionInfo): use version_info defined in
12149 version_info.h instead of VERSION_INFO
12151 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
12153 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12154 The ERT inset now returns string().
12156 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
12158 * lyxtext.h, text.C (selectNextWord): renamed as
12159 selectNextWordToSpellcheck.
12161 * text.C (selectNextWordToSpellcheck): Modified to not select
12162 words inside an ERT inset.
12164 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12166 * lyx_cb.C (MenuLayoutSave): change a bit the question
12168 * sp_base.h: include <sys/types.h>
12170 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
12172 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12174 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
12176 * several files: fix typos in user-visible strings
12178 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12180 * text2.C (pasteSelection): do not set the selection, since it
12181 will be cleared later. Actually, the intent was to fix the way the
12182 selection was set, but I figured rmoving the code was just as good.
12184 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
12186 * FontLoader.C (available): Check if font is available without
12189 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
12191 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12193 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
12195 * lyxrc.[Ch]: added display_graphics variable and associated code.
12197 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12199 * bufferparams.C (hasClassDefaults): new method. Returns true if
12200 the buffer parameters correspond to known class defaults
12202 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
12204 * XFormsView.C (show): set minimum size to the main window.
12206 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12208 * text2.C (copySelection):
12210 * lyxfind.C (LyXReplace):
12211 * BufferView_pimpl.C (Dispatch): pass the correct flag to
12212 LyXText::selectionAsString.
12214 * paragraph.C (asString): add "label" argument to the second form
12216 * text2.C (selectionAsString): add "label" argument and pass it to
12217 Paragraph::asString.
12219 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12221 * lyx_main.C (commandLineHelp): remove version information
12223 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
12225 * lyx_main.C: add -version commandline option
12227 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12229 * paragraph.h: make the optional constructor arg required instead.
12230 some modifications to other files because of this.
12232 * minibuffer.C (C_MiniBuffer_peek_event): make it static
12234 * lyxserver.C (C_LyXComm_callback): make it static
12236 * lyx_main.C (error_handler): make it static
12238 * lyx_gui.C (LyX_XErrHandler): make it static
12240 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12242 * WorkArea.C: make the extern "C" methods static.
12244 * Makefile.am (lyx_LDADD): simplify
12246 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12248 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12249 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12251 * LyXAction.C (init):
12252 * lyxfunc.C (dispatch): associated code removal.
12254 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12256 * lyxfont.h (isSymbolFont): shut off warning
12258 * text.C (setHeightOfRow):
12259 (getVisibleRow): fix crash with empty paragraphs which have a
12262 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
12264 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12267 2001-09-04 José Matos <jamatos@fep.up.pt>
12270 * tabular.C (docbook): rename docBook method to docbook.
12272 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12274 * Makefile.am: add dependencies to main.o.
12276 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
12278 * FontLoader.C (available): Return false if !lyxrc.use_gui
12280 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
12282 * FontInfo.C (query):
12283 * converter.C (view):
12284 * importer.C (Import):
12285 * exporter.C (Export): Can not -> cannot.
12287 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
12289 * BufferView_pimpl.C: allow to create index inset even if
12292 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12294 * buffer.C (getLists): replace boost::tie code with an explicit pair
12295 as boost::tie can break some compilers.
12297 * iterators.h: Added a std:: declaration to the return type of
12300 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
12302 * lyxrc.C: add help for view_dvi_paper_option, default to safe
12305 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
12307 * iterators.[Ch]: New files. Provide paragraph iterators.
12309 * buffer.C (changeLanguage): Use paragraph iterators.
12310 (isMultiLingual): ditto
12312 * BufferView2.C (ChangeInsets): Use paragraph iterators.
12314 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
12316 * FontLoader.C: Support for cmr font.
12318 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
12320 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12321 (available): New method.
12323 * FontInfo.C (getFontname): Use scalable fonts even when
12324 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12327 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12329 * converter.C (Formats::view): reverted! Incorrect fix.
12331 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12333 * converter.C (Formats::view): only output the -paper option
12334 if the dvi viewer is xdvi, thereby fixing bug #233429.
12336 2001-08-23 Herbert Voss <voss@perce>
12338 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12340 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
12342 * Spacing.h (Spacing): Set space to Default on in the default
12345 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
12347 * vc-backend.h (RCS::versionString): add RCS to version
12348 (CVS::versionString): add CVS to version
12350 * vc-backend.C (scanMaster): do not add CVS to version.
12351 (scanMaster): do not add RCS to version
12353 * lyxvc.C (versionString): new method
12355 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12357 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12359 * Spacing.C (set): initialize fval
12361 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
12363 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12366 2001-08-16 Juergen Vigna <jug@sad.it>
12368 * lyxfunc.C (dispatch): implemented the new FINISHED states.
12370 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12372 * BufferView_pimpl.C:
12375 * text2.C: setParagraph takes linespacing now
12377 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
12379 * LyxAction.C: add internal LFUN_CITATION_INSERT
12381 * LyXView.C: actually apply fix
12383 * bufferlist.C: fix open non-existent file
12385 * lyxfind.C: fix indentation
12387 * lyxfunc.C: remove unneeded assert, fix typo
12389 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12391 * MenuBackend.C: use "Floatname List"
12393 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
12395 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12396 when converting LaTeX layout to insetERT.
12397 Generate a non-collapsed float when reading old float
12399 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12401 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12404 2001-08-13 Juergen Vigna <jug@sad.it>
12406 * text.C (fill): return 0 instead of 20 as this seems to be the more
12409 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12411 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12414 2001-08-13 Juergen Vigna <jug@sad.it>
12416 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12418 (SearchBackward): comment out the unlocking of the inset_owner this
12419 should not be needed!
12421 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
12423 * Many files: Remove inherit_language, and add latex_language
12425 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12426 collapsible insets.
12428 2001-08-10 Juergen Vigna <jug@sad.it>
12430 * text.C (prepareToPrint): fixed hfill-width in draw!
12432 * BufferView2.C (selectLastWord): save the selection cursor as this
12433 now is cleared in the function LyXText::clearSelection!
12435 2001-08-08 Juergen Vigna <jug@sad.it>
12437 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12438 BACKSPACE type functions.
12440 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12441 is only cutted from the document but not put in the cut-buffer, where
12442 still the old stuff should be.
12444 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12446 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12448 * tabular.C (SetWidthOfCell): fixed special case where the width
12450 (LeftLine): handle '|' in align_special.
12452 (LeftAlreadyDrawed): ditto
12453 (SetWidthOfCell): ditto
12455 2001-08-07 Juergen Vigna <jug@sad.it>
12457 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12459 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12461 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12462 * lyxlex.[hC]: ditto
12464 2001-08-06 Juergen Vigna <jug@sad.it>
12466 * text.C (getVisibleRow): fix up row clearing a bit.
12468 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12470 * minibuffer.C: make sure the X server sees the changes in the input.
12472 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12474 * paragraph.C (getFont): split into...
12475 (getLabelFont): this
12476 (getLayoutFont): and this
12477 * paragraph_pimpl.C (realizeFont): calling this
12479 * text2.C (getFont): split into...
12480 (getLayoutFont): this
12481 (getLabelFont): and this
12482 (realizeFont): all three calling this
12484 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12487 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12489 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12491 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
12493 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12494 layouts from the Quote inset insertion.
12496 2001-08-03 Juergen Vigna <jug@sad.it>
12498 * BufferView_pimpl.C (update): do the fitCursor only at the end!
12500 * screen.C (drawFromTo): don't call fitcursor here and do the loop
12501 only if status not is already CHANGED_IN_DRAW (second level).
12503 * text.C (draw): don't set the need_break_row when inside an
12506 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12508 * buffer.C (parseSingleLyXformat2Token): handle more latex
12511 * bufferview_funcs.[hC]: change function names to
12512 begin with small char, adjust other files.
12514 2001-08-02 André Pönitz <poenitz@gmx.net>
12517 BufferView_pimpl.C: remove broken special code for math-greek
12519 2001-08-02 Juergen Vigna <jug@sad.it>
12521 * BufferView_pimpl.C (update): redone this function so that we
12522 update the text again if there was a CHANGE_IN_DRAW.
12524 * screen.C (cursorToggle): removed LyXText parameter and recoded.
12525 (drawFromTo): added a new internal bool which is used by draw() and
12527 (general): some cursor drawing problems fixed.
12529 2001-08-01 Juergen Vigna <jug@sad.it>
12531 * lyxfind.C (LyXFind): fixed
12532 (SearchForward): ditto
12533 (SearchBackward): ditto
12535 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12536 spurius drawing of the cursor in the main area.
12538 * text2.C (status): small fix which could lead to a segfault!
12539 (clearSelection): remove unneeded BufferView param.
12541 2001-08-01 André Pönitz <poenitz@gmx.net>
12543 * lyxfunc.C: small change due to changed mathed interface
12545 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12547 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12549 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
12551 * lyxfunc.c: fail gracefully if file doesn't exist
12556 * BufferView_pimpl.C: IsDirWriteable() proto changed
12558 * LyXView.C: fix updateWindowTitle() to store the last title
12560 2001-07-31 Juergen Vigna <jug@sad.it>
12562 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12563 the font (wrong since using of Paragraph::highestFontInRange).
12565 * paragraph.C (highestFontInRange): added a default_size parameter.
12567 * text.C (getVisibleRow): minor clear row changes (still not perfect).
12568 (setHeightOfRow): reformat
12570 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12572 * converter.[hC] + affected files: move to (inital-char)lowercase
12575 * ParagraphParameters.C (ParagraphParameters): remove commented code
12577 * PainterBase.[Ch]: remove commented code
12579 * LaTeXFeatures.h: add "bool floats" for float.sty
12581 * LaTeXFeatures.C (LaTeXFeatures): init floats
12582 (require): handle float
12583 (getPackages): do it with floats
12585 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12587 * BufferView_pimpl.C (Dispatch): improve handling of
12588 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12590 * commandtags.h: #include lyxfont.h here temporarily to avoid
12593 * bufferlist.h: include LString.h here.
12595 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12597 * text2.C (getStringToIndex): new method.
12599 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
12601 * *: Reduced header file dependencies all over.
12603 2001-07-30 Baruch Even <baruch@lyx.org>
12605 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12607 2001-07-29 Baruch Even <baruch@lyx.org>
12609 * buffer.C (readInset): Changed GRAPHICS to Graphics.
12611 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12613 * ParameterStruct.h (endif): add a default constructor to make
12614 sure that all variables is initialized.
12616 * ParagraphParameters.C (ParagraphParameters): adjust
12618 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12620 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12621 index; also, check that there is something to index, and that it
12622 does not span over several paragraphs.
12623 (doubleClick): use WHOLE_WORD_STRICT for double click.
12625 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12627 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12630 2001-07-26 Baruch Even <baruch@lyx.org>
12632 * buffer.C (readInset): Changed to call up InsetGraphics when reading
12633 an InsetFig figure, backwards compatible reading of old figure code.
12635 2001-07-27 Juergen Vigna <jug@sad.it>
12637 * text2.C: font.realize function adaption.
12639 * text.C (draw): add a warnings lyxerr text if needed.
12641 * layout.C: font.realize function adaption.
12643 * language.C: add inherit_language and implement it's handlings
12645 * bufferview_funcs.C (StyleReset): remove language parameter from
12646 font creation (should be language_inherit now).
12648 * bufferparams.C (writeFile): handle ignore_language.
12650 * paragraph.C (getFontSettings): the language has to be resolved
12651 otherwise we have problems in LyXFont!
12653 * lyxfont.C (lyxWriteChanges): added document_language parameter
12654 (update): removed unneeded language parameter
12656 * paragraph.C (validate): fixed wrong output of color-package when
12657 using interface colors for certain fonts in certain environments,
12658 which should not seen as that on the final output.
12660 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
12662 * BufferView_pimpl.C:
12667 * LyXAction.C: add thesaurus support
12670 * lyxfind.C: add "once" parameter, for thesaurus, to not
12671 move to the next match
12673 2001-07-26 Juergen Vigna <jug@sad.it>
12675 * lyxfont.C (realize): honor ignore_language too!
12678 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12680 * text.C (draw): one place more for ignore_language to not draw
12683 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
12685 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12687 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12689 * buffer.C (parseSingleLyXformat2Token): a more general fix for
12690 the minipage conversion problem.
12692 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12694 * buffer.C (parseSingleLyXformat2Token): check minipage if we
12697 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12699 * BufferView.h: don't forward declare WorkArea
12701 * BufferView.C: don't include WorkArea.h
12703 2001-07-25 André Pönitz <poenitz@gmx.net>
12707 * lyxfunc.C: new LFUN 'math-space'
12709 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12711 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12713 * text2.C (toggleInset): call open/close
12715 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12717 * lyxfunc.C (dispatch): add debug for the disabled case
12719 * font.C (buttonText): make similar to rectText
12721 * buffer.C (readInset): comment out parsing of insetlist and
12724 * PainterBase.C (rectText): small correction
12726 * BufferView_pimpl.C: comment out insettheorem and insetlist
12727 * LyXAction.C: ditto
12728 * commandtags.h: ditto
12730 2001-07-24 Juergen Vigna <jug@sad.it>
12732 * text.C (draw): honor the ignore_language.
12734 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12736 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12738 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12741 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12743 * lyxtext.h: remove unused (and unimplemented) methods
12745 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12747 * text.C (getVisibleRow): honor background color
12750 * Painter.h: remove default color argument for fillRectangle
12752 * text.C (backgroundColor): new method
12754 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12756 * text.C (getVisibleRow): adjust
12758 * font.[Ch] (rectText): new method, metrics
12759 (buttonText): new method, metrics
12761 * PainterBase.[hC]: make rectText and buttonText always draw and take
12764 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12766 * ToolbarDefaults.C (read):
12767 * MenuBackend.C (read): allow escaping in all strings
12769 * BufferView_pimpl.C (insertAndEditInset): new method.
12770 (Dispatch): use insertAndEditInset whenever appropriate.
12772 * BufferView_pimpl.C (insertNote): removed
12774 * BufferView_pimpl.C (smartQuote): new method, moved from
12775 BufferView; if an insetquote cannot be inserted, insert a '"'
12778 * BufferView2.C: remove insertCorrectQuote();
12780 * lyxfunc.C (getStatus): Add support for all remaingin
12781 inset-insert lfuns.
12783 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12785 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12786 command (necessary to pass " as parameter of self-insert.
12788 * text.C (selectWordWhenUnderCursor):
12789 (selectWord): add word_location parameter
12790 (selectWordWhenUnderCursor): same + remove special code for word
12792 (selectNextWord): use kind() to guess type of insetspecialchar,
12795 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12796 (insertErtContents): create ert insets as collapsed.
12797 (readInset): better compatibility code for Info inset.
12799 2001-07-20 Juergen Vigna <jug@sad.it>
12801 * lyxfunc.C (dispatch): use always LyXFind now!
12803 * text2.C (init): add a reinit flag so that the LyXText can be
12804 reinited instead of deleted and reallocated (used in InsetText).
12806 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12812 2001-07-18 Juergen Vigna <jug@sad.it>
12814 * text.C (selectNextWord): handle insets inside inset by calling
12815 always the bv->text functions so that we can go up the_locking_inset!
12817 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12818 in strange locations when inside an inset!
12820 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12821 handling to include insets.
12823 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12825 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12827 * LyXAction.C (init):
12829 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12830 LIGATURE_BREAK, since the name is so stupid.
12832 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12834 * buffer.C (readInset): enable reading of new InsetNotes as well as old
12837 * FontLoader.C: remove FORMS_H_LOCATION cruft.
12839 * sp_form.[Ch]: remove.
12841 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12843 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12846 * src/buffer.C (readInset): ditto.
12848 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12850 * BufferView_pimpl.C (specialChar): new method. Obsoletes
12851 menuSeparator(), endOfSentenceDot(), ldots() and
12852 hyphenationPoint(), which are therefore removed.
12853 (Dispatch): handle LFUN_HYPHENATION_BREAK.
12855 * LyXAction.C (init):
12856 * commandtags.h: add LFUN_HYPHENATION_BREAK.
12858 * paragraph.C (getWord): removed.
12860 * BufferView_pimpl.C (Dispatch): use last word or selection for
12861 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12863 * lyx_main.C (queryUserLyXDir): do not ask before creating
12864 user_dir, except if it has been named explicitely.
12866 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12868 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12869 a document of zero size.
12871 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
12873 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12874 approriately in the c-tor and in require().
12875 (getPackages): output the appropriate LaTeX for natbib support.
12877 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12878 variables "use_natbib" and "use_numerical_citations" when reading the
12880 (readInset): read the various natbib cite commands.
12881 (validate): white-space change.
12883 * bufferparams.[Ch]: new variables "bool use_natbib" and
12884 "bool use_numerical_citations".
12885 (writeFile): output them in the LyX file.
12887 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12889 * lyxfunc.C (getStatus): add support for all the inset insertion
12892 * text2.C (insertInset):
12893 * paragraph.C (insetAllowed):
12894 * BufferView_pimpl.C (insertInset): update to take in account the
12895 renaming of insertInsetAllowed
12897 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12899 * text2.C (getInset): new method. returns inset at cursor position.
12901 * BufferView_pimpl.C (Dispatch): changes because of this.
12903 * LyXAction.C (init): rename open-stuff to inset-toggle.
12905 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12907 * text2.C (toggleInset): renamed from openStuff; use
12910 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
12912 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12914 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12916 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
12918 * buffer.C (readLyXformat2): Add filename to the error dialog
12920 2001-07-18 Juergen Vigna <jug@sad.it>
12922 * tabular.C (GetCellNumber): put an assert here instead of the check!
12924 2001-07-17 Juergen Vigna <jug@sad.it>
12926 * BufferView_pimpl.C (toggleSelection): adapted too.
12928 * text.C (selectNextWord): adapted for use with insets.
12929 (selectSelectedWord): ditto
12931 2001-07-17 Juergen Vigna <jug@sad.it>
12933 * sp_spell.C (PSpell): fix initialitation order.
12935 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12937 * paragraph.C: spacing
12939 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
12941 * sp_spell.C: repair language selection for pspell
12943 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12945 * lyxfunc.h: change more methods to begin with lower char.
12947 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
12949 * buffer.C (parseSingleLyXformat2Token): Generate error insets
12950 for unknown layouts.
12952 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
12954 * buffer.C (readLyXformat2): Generate an error dialog if there are
12957 2001-07-16 Juergen Vigna <jug@sad.it>
12959 * sp_spell.C: always compile ISpell part.
12961 * lyxrc.C: added use_pspell entry and it's handling.
12963 2001-07-13 Juergen Vigna <jug@sad.it>
12965 * sp_spell.C: removed double includes.
12967 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
12969 Consistent use of Lsstream.h:
12970 * Lsstream.h: added using std::stringstream for consistencies sake.
12972 * buffer.C: removed using std::stringstream
12974 * lyxfont.C (stateText):
12975 * paragraph.C (asString):
12976 * text.C (selectNextWord, selectSelectedWord):
12977 * text2.C (setCounter):
12978 * vspace.C (asString, asLatexString):
12979 std::ostringstream -> ostringstream.
12981 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12983 * LyXAction.C: add LFUN_HELP_ABOUTLYX
12984 * commandtags.h: add LFUN_HELP_ABOUTLYX
12985 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12987 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12989 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12991 * lyx_gui_misc.C: remove spellchecker
12992 * lyxfunc.C: showSpellchecker
12994 * sp_ispell.h: added
12995 * sp_pspell.h: added
12996 * sp_spell.C: added
12997 * sp_form.[Ch]: removed
12998 * spellchecker.[Ch]: removed
13000 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
13002 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13004 (simpleTeXSpecialChars): Simply print the input character without
13005 any special translation if pass_thru is set.
13007 * layout.h: Added bool pass_thru to layout class for being able to
13008 implement pass through of a paragraph for Literate Programming.
13010 * layout.C: add LT_PASS_THRU to LayoutTags enum.
13011 * layout.C (LyXLayout): set pass_thru to flase in constructor.
13012 * layout.C (Read): add "passthru" to list of layout tags and add
13013 code to set the pass_thru boolean when it is read.
13015 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13017 * trans_decl.h: remove allowed from KmodInfo
13019 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13020 remove allowed code
13023 * paragraph_pimpl.C (erase): use boost::prior
13025 * Painter.C (text): use data() instead of c_str() when length is
13027 * WorkArea.C (putClipboard): ditto
13028 * font.h (width): ditto
13030 * BufferView2.C: use it-> instead of (*it). for iterators
13032 * paragraph_pimpl.C: ditto
13033 * paragraph.C: ditto
13034 * minibuffer.C: ditto
13035 * language.C: ditto
13037 * encoding.C: ditto
13038 * counters.C: ditto
13039 * converter.C: ditto
13041 * Variables.C: ditto
13042 * TextCache.C: ditto
13043 * MenuBackend.C: ditto
13044 * LyXAction.C: ditto
13046 * FloatList.C: ditto
13047 * DepTable.C: ditto
13048 * ColorHandler.C (LyXColorHandler): ditto
13050 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13052 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13054 * text2.C (openStuff): reintroduce this method (which had been
13055 nuked in NEW_INSETS frenzy).
13057 * lyxfunc.C (Dispatch): when an action has not been handled, use
13058 its name in the error message, not its number.
13060 * paragraph.C (inInset): change method name to begin with lowercase.
13063 * text2.C: updates because of this.
13065 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13067 * ToolbarDefaults.C (add): add spaces in error message
13069 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13071 * buffer.C (readLyXformat2): initialize the ert comp. variables.
13072 (readLyXformat2): rename return_par to first_par, use lyxlex's
13073 pushToken and remove the manual push handling.
13074 (parseSingleLyXformat2Token): add another ert comp. variable:
13075 in_tabular, rename return_par to first_par. handle newlines better
13077 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13079 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13081 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13083 * text2.C (getParFromID): removed
13085 * buffer.C (getParFromID): new method moved form lyxtext.
13086 * BufferView2.C (insertErrors): adjust
13087 (setCursorFromRow): adjust
13088 * BufferView_pimpl.C (restorePosition): adjust
13089 * lyxfunc.C (Dispatch): adjust
13090 * undo_funcs.C (textUndo): adjust
13092 (textHandleUndo): adjust
13093 (textHandleUndo): adjust
13095 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13097 * buffer.C: up' the LYX_FORMAT
13099 * lyxfont.h: turn NO_LATEX on as default
13101 * buffer.C (insertErtContents): new methods of tex style compability.
13102 (parseSingleLyXformat2Token): use it several places.
13103 * tabular.C (OldFormatRead): and here
13105 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13107 * text2.C: remove some commented code.
13110 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13111 * trans.C: changes because of the above.
13113 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
13115 * text2.C (setCounter): Fix counters bug with bibliography layout.
13117 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13119 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13120 own member functions
13121 (simpleTeXSpecialChars): ditto
13123 2001-07-06 Juergen Vigna <jug@sad.it>
13125 * a lot of files: changed the access to LyXText::status and the
13126 call of undo-functions.
13128 * undo.[Ch]: added a inset_id to the undo informations.
13130 * undo_funcs.[Ch]: added and moved here all undo functions.
13132 * lyxtext.h: give the status enum a weight, made status_ a private
13133 variable and made accessor functions for it, removed the whole bunch
13134 of undo-functions as they are now in their own file, make some
13135 functions publically available. Added function ownerParagraph with
13138 * paragraph.[Ch]: added "bool same_ids" to the constructor,
13139 made InInset() a const function, added getParFromID() function.
13141 * buffer.[Ch]: added const version for inset_iterator functions,
13142 added getInsetFromID() function.
13144 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13145 changed undo functions for new version.
13147 2001-07-05 Juergen Vigna <jug@sad.it>
13149 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13150 unknow mechanism does not call the proper constructor but only this
13151 one also if I request the other!?
13153 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13155 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13157 * text2.C (LyXText): use initialization lists.
13159 * lyxtext.h (Selection): initialize set_ and mark_
13160 (init): remove method
13162 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
13164 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13166 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13168 * screen.[Ch]: change method names to begin with lowercase
13170 * BufferView_pimpl.C (updateScrollbar): simplify further and
13171 hopefully make it a bit faster.
13173 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13175 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13176 calling directly xforms functions.
13178 * Painter.C (Painter):
13179 * lyx_cb.C (MenuWrite):
13180 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13183 * lyx_gui.C: remove bogus guiruntime extern declaration.
13185 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13187 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13189 (redoDrawingOfParagraph): ditto
13190 (redoParagraphs): ditto
13191 (cutSelection): don't create a object for CutAndPaste use the
13192 static method directly
13193 (pasteSelection): ditto
13195 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13198 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13200 * modifications to some other files because of this.
13202 * Makefile.am (lyx_SOURCES): add XFormsView
13204 * XFormsView.[Ch]: new files
13206 * LyXView.[Ch]: make LyXView a base class for the gui handling for
13207 the main window. Move the gui dependent stuff to XFormsView
13209 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13211 * tabular.C (GetCellInset): update cur_cell also in the row/col
13212 version of this function.
13214 * lyxfunc.C: no need to include figure_form.h here.
13220 * lyxvc.C: no need to include forms.h here.
13222 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13224 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13226 * lyxfunc.C (Dispatch):
13228 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13229 constructor argument.
13231 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13233 * paragraph.C (Paragraph): dont't clear, and just set layout.
13234 (makeSameLayout): use params's copy contructor.
13236 * ParagraphParameters.[Ch] (makeSame): delete method
13238 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
13240 * Variables.[Ch]: fix indentation, rename set to isSet
13242 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13244 * lyxfunc.C (Dispatch): fix typo
13246 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13248 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13251 * bufferlist.C: include assert.h for emergencyWrite().
13253 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13255 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13256 give up at last (bug #425202) !
13258 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
13264 * spellchecker.C: strip spellchecker options and bring up
13265 preferences tab instead
13267 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13269 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13270 the istringstream constructor
13272 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13274 * paragraph.C (getLayout): fix return value
13276 * paragraph.h: do not declare getLayout as inline.
13278 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13280 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13282 * lyxcursor.h (operator<): new func
13283 (operator>): new func
13284 (operator>=): new func
13285 (operator<=): new func
13287 * text.C (changeCase): use selection.start and selection.end
13288 (changeRegionCase): require from to be <= to. Require par to be a
13291 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13293 2001-06-27 Juergen Vigna <jug@sad.it>
13295 * text.C (cursorLeftOneWord): changed to return the cursor and added
13296 overlay with BufferView * parameter which calls this one.
13298 (selectWord): use new getWord function.
13299 (changeCase): renamed from changeWordCase as and extended to work
13300 also on selections.
13302 * lyxtext.h: added enum word_location
13304 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13305 changeCase as this operates now also on selections.
13307 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
13309 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13311 * many files: send debug output to Debug::INFO instead of
13314 * converter.C (View):
13316 (Move): send debug output to Debug::FILES instead of console.
13318 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
13320 * lyxfunc.C (getStatus): use func_status
13322 * func_status.h: new header, describing the results of
13323 LyXFunc::getStatus;
13325 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13328 2001-06-25 The LyX Project <jug@sad.it>
13330 * buffer.C (sgmlOpenTag):
13332 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
13334 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13336 * text2.C: remove some dead code
13338 * tabular.C (GetCellInset): store the last cell checked (gotten)
13340 * tabular.h: add the helper for the speedup
13342 * lyxtext.h: remove some dead code
13344 2001-06-26 The LyX Project <Asger>
13346 * paragraph.C: Change export to LaTeX of alignment to
13347 \begin{center} and family for better roundtrip work with reLyX.
13349 * Tune the math drawing a bit.
13351 2001-06-25 The LyX Project <Asger>
13353 * LColor.C (LColor): New color for math background. New color
13356 2001-06-25 The LyX Project <jug@sad.it>
13358 * lyxfunc.C (MenuNew): remove extra check for .lyx file
13360 * lyxfunc.C (Open):
13361 * bufferlist.C (newFile): do not restrict to files ending with
13364 * BufferView_pimpl.C (MenuInsertLyXFile):
13366 2001-06-24 The LyX Project <jug@sad.it>
13368 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13371 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13373 * lyxtext.h: rename most methods to begin with a small char.
13374 Lots of changes because of this.
13376 * paragraph.C (Paragraph): do not call fitToSize
13377 (erase): call Pimpl::erase
13378 (insertChar): call Pimpl::insertChar
13379 (insertInset): call Pipl::insertInset
13380 (breakParagraph): do not call fitToSize
13381 (breakParagraphConservative): do not call fitToSize
13382 (fitToSize): remove method
13384 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13386 2001-06-24 The LyX Project <Asger>
13388 * Fix Qt compilation^2
13390 2001-06-24 The LyX Project <jug@sad.it>
13392 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13393 depthHook(getDepth()-1).
13396 * ParagraphParameters.h:
13397 * ParameterStruct.h: change type of depth to unsigned int ==
13398 depth_type. Many adaptations to other files before of that.
13400 2001-06-24 The LyX Project <Asger>
13402 * Fix Qt compilation.
13404 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13406 * paragraph.h: renamed several methods to begin with small letter.
13407 several changes to many parts of the code because of this.
13409 2001-06-23 The LyX Project <jug@sad.it>
13411 * text2.C (InsertStringAsLines): renamed from InsertStringA;
13412 rewritten to discard all double spaces when KeepEmpty is off
13413 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13414 to only handle newlines but not fiddle with spaces and friends.
13416 * lyxfunc.C (MenuNew): when doing 'new from template', use
13417 template_path as default directory
13419 2001-06-23 The LyX Project <Asger>
13421 * Clean-up of header file includes all over
13422 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13424 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13426 * paragraph.h: renamed from lyxparagraph.h
13428 2001-06-23 Asger <lyx@violet.home.sad.it>
13430 * Buffer.h: Removed Buffer::resize
13431 * BufferList.h: Removed BufferList::resize
13432 * LyXView.h: Added LyXView::resize. This way, we will only reflow
13433 the document lazily when we change the width, or the font settings.
13435 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13437 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13439 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13441 * buffer.h: remove out of date comment
13443 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13446 * screen.C: fix "theoretical" GC leak
13448 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13450 * LaTeX.C (scanAuxFile):
13451 (deplog): remove trailing \r when reading stream (useful under
13454 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
13456 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13457 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13458 and BufferView::theLockingInset(Inset*), so should use them and not
13459 access bv_->text->the_locking_inset directly.
13461 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13463 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13466 * tex-defs.h: remove old unused file
13468 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
13470 * BufferView_pimpl.C: fix typo, remove minibuffer message
13471 when buffer has loaded
13473 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13475 * lyxfunc.C (Dispatch): use stringstream
13476 (MenuNew): use stringstream
13477 (Open): use stringstream
13479 * importer.C (Import): use stringstream
13481 * bufferview_funcs.C (CurrentState): use stringstream
13483 * LaTeX.C (run): use stringstream
13485 * BufferView_pimpl.C (savePosition): use stringstream
13486 (restorePosition): use stringstream
13487 (MenuInsertLyXFile): use stringstream
13489 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
13502 * vspace.C: removed // -*- C++ -*- as first line.
13505 * version.h: added // -*- C++ -*- as first line.
13507 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13509 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13511 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13514 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13516 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13519 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13521 * gettext.C: include LString.h even when --disable-nls is on.
13523 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
13525 * converter.h (Get): changed argument type from int to
13526 FormatList::size_type to avoid unnecessary conversion.
13528 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13531 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13533 * gettext.h: include LString.h even when --disable-nls is on.
13535 2001-06-07 Juergen Vigna <jug@sad.it>
13537 * text.C (BreakAgain): subst spaces with tabs.
13539 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13540 (resizeInsetsLyXText): set force on resizeLyXText.
13542 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13544 * gettext.h (gettext_init):
13545 (locale_init): use a real definition instead of a macro
13547 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13549 * Bufferview_pimpl.C:
13551 * LColor.C: further lcolor tidies
13553 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13555 * BufferView_pimpl.C (updateScrollbar): simplify.
13557 * BufferView2.C: don't include insets/insetinfo.h, change
13558 prototype for insertInset and call the Pimpl version. let
13559 updateInset call Pimpl version.
13561 * BufferView.h: move inset_slept to BufferView::Pimpl, move
13562 gotoInset to BufferView::Pimpl
13564 2001-06-01 Juergen Vigna <jug@sad.it>
13566 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13567 inside a LockingInset (is the update needed at all?).
13569 2001-05-31 Juergen Vigna <jug@sad.it>
13571 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13572 here not the old one otherwise how should we compare it afterwards
13575 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13580 * FontInfo.C: bring C functions into global namespace when
13583 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13585 * LString.h: make sure config.h has been loaded before LString.h.
13587 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13588 (one for each char read by EatLine!).
13590 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13593 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13595 * paragraph.C (BreakParagraph): set the inset_owner in the new par
13596 to the same as the par we break from
13598 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
13600 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13602 * MenuBackend.C (expand): also create menu entries for wide
13603 versions of the floats.
13605 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13607 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13609 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13610 frontends/Makefile.am
13616 * tabular.C (getTokenValue): add std::
13618 * tabular-old.C (getTokenValue): add std::
13619 (getTokenValue): ditto
13620 (getTokenValue): ditto
13622 * screen.C (ToggleSelection): adjust
13624 * lyxtext.h: put selection cursors inside a Selection struct.
13626 * lyxfunc.C (moveCursorUpdate): adjust
13628 * lyxfont.C (latexWriteStartChanges): add std::
13630 * lyxfind.C: adjust
13632 * font.h: delete with(char const *, LyXFont const &)
13634 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13636 * FontInfo.C (getFontname): add std::
13638 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13639 (workAreaButtonPress): adjust
13640 (tripleClick): adjust
13642 (moveCursorUpdate): adjust
13645 * BufferView2.C (gotoInset): adjust
13647 2001-05-30 Juergen Vigna <jug@sad.it>
13649 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13650 to check pspell I add this as default as I now have new pspell
13651 libraries and they seem to use this.
13653 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13655 * text2.C (CutSelection): make the cursor valid before the call to
13658 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13660 * kbsequence.C (parse): de-uglify a bit the parsing code, which
13661 relied on 0 terminated strings and other horrors. Bug found due to
13662 the new assert in lyxstring!
13664 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13667 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13669 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13672 * lyxfunc.C (processKeySym): change method of getting to the
13675 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13676 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13677 * BufferView_pimpl.[Ch]: here as private methods.
13679 2001-05-28 Juergen Vigna <jug@sad.it>
13681 * text.C (SetHeightOfRow): added the update() call again as it is
13682 needed to initialize inset dimensions!
13684 2001-05-16 Juergen Vigna <jug@sad.it>
13686 * text2.C (SetCharFont): Add new function with BufferView * and
13687 bool toggleall parameters for setting insets internal fonts.
13688 (SetFont): Freeze the undo as we may change fonts in Insets and
13689 all this change should be inside only one Undo!
13691 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13692 setting font's in insets as for them we have the SetFont function!
13694 2001-05-15 Juergen Vigna <jug@sad.it>
13696 * text2.C (ClearSelection): to be sure we REALLY don't have any
13699 * tabular.C (TeXCellPreamble): fixed the left border problem for
13702 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
13704 * LaTeX.C (deplog): Make sure that the main .tex file is in the
13707 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13709 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13710 LFUN_BREAKPARAGRAPH.
13712 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13713 help test to "internal only", similar for LFUN_INSERT_URL
13715 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13716 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13717 auto_region_delete and deadkeys.
13719 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
13722 * LColor.C: remove some dead entries, tidy a little
13724 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13726 * lyxfunc.C (processKeySym): comment the Escape handling, remove
13728 (Dispatch): implement LFUN_ESCAPE
13730 * commandtags.h: add LFUN_ESCAPE
13732 * LyXAction.C (init): add entry for LFUN_ESCAPE
13734 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13735 Remove commented code.
13736 (insertNote): moved here
13737 (open_new_inset): moved here
13739 * BufferView[2].[Ch]: move insertNote and open_new_inset to
13742 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13744 * kbmap.C (findbinding): clean it up and make it work correctly.
13746 * lyx_main.C (init): do not pass argc and argv as parameters
13748 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
13750 * buffer.C: fix path for OS/2 & Win32
13754 * lyx_main.C: Added os:: class.
13756 * os2_defines.h: update
13758 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13760 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13761 better by trying again with reduced state.
13763 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13765 * lyxrc.C (read): print error about invalid key sequence only when
13766 debugging (because not all latinX keysyms are known to some X
13769 * kbsequence.C (getiso): add a few std:: qualifiers
13770 (getiso): comment out extra return statement.
13772 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
13774 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13776 (Dispatch): enhance the accent inset a bit. (not perfect)
13778 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13780 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13782 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13784 * bufferlist.C (emergencyWrite): fix assert() call
13786 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
13788 * text.C (InsertChar): Added trivial patch to only send the "you
13789 can not do multiple spaces this way" message once during a
13792 2001-05-08 Baruch Even <baruch@lyx.org>
13794 * Makefile.am: Changed order of libraries to get LyX to link properly
13795 with the gnome frontend.
13797 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13799 * LaTeXFeatures.h: add a std:: qualifier
13801 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13803 * paragraph.C (String): use stringstream
13805 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13807 * paragraph.C (writeFile): remove footflag arg
13809 * buffer.C (makeLaTeXFile): use stringstream
13810 (latexParagraphs): remove footnot gurba
13812 * LaTeXFeatures.C (getPackages): use stringstream
13813 (getMacros): likewise
13814 (getTClassPreamble): likewise
13815 (getFloatDefinitions): new method
13817 * paragraph.C (writeFile): reindent
13820 * WorkArea.h: revert the xpos + etc changes.
13822 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13824 * lyxparagraph.[Ch]: add copy constructor, remove Clone
13826 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13827 (pasteSelection): likewise
13828 * text2.C (CreateUndo): likewise
13830 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13832 * minibuffer.C (peek_event): temporarily reduce the functionality
13833 of the minibuffer (to allow args on lfuns)
13835 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13836 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13838 * buffer.C (readInset): add compability reading of old float
13839 lists, add reading of new style float list.
13840 (readInset): avoid reevaluation of inscmd.getCmdName()
13841 (getLists): reindent
13843 * MenuBackend.C (MenuItem): implement parsing of
13844 md_floatlistinsert and md_floatinsert.
13845 (expand::LastFiles): move initalizaton of iterators out of loop,
13846 avoid reevaluation.
13847 (expand::Documents): introduce typdedef vector<string> Strings,
13849 (expand::ExportFormats): introduce typedef vector<Format const *>
13850 Formats, and use it.
13851 (expand): implement FloatListInsert and FloatInsert.
13853 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13854 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13855 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13857 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13859 (Dispatch::LFUN_FLOAT_LIST): implement
13861 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13863 * LaTeX.C (run): Fix problem with --export code.
13865 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13867 * BufferView.[Ch] (workarea): removed.
13868 (getClipboard) new method; wrapper for workarea()->getClipboard()
13870 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13873 * WorkArea.h (width, height, xpos, ypos): These methods all
13874 returned the dimensions of the work_area sub-area of WorkArea,
13875 resulting in a position error if the WorkArea were resized. Now
13876 return the dimensions of the entire WorkArea.
13878 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13880 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13882 * LaTeX.C (deplog): correct the syntax of regex reg1
13884 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13886 * undo.C: remove !NEW_INSETS cruft
13888 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13890 * text2.C: remove !NEW_INSETS cruft
13892 * text.C: remove !NEW_INSETS cruft
13894 * tabular.C: remove !NEW_INSETS cruft
13896 * spellchecker.C: remove !NEW_INSETS cruft
13898 * lyxtext.h: remove !NEW_INSETS cruft
13900 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13902 * lyxfunc.C: remove !NEW_INSETS cruft
13904 * lyxfind.C: remove !NEW_INSETS cruft
13906 * lyx_cb.C: remove !NEW_INSETS cruft
13908 * figureForm.C: remove !NEW_INSETS cruft
13910 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13912 * buffer.[Ch]: remove !NEW_INSETS cruft
13914 * ToolbarDefaults.C: remove !NEW_INSETS cruft
13916 * CutAndPaste.C: remove !NEW_INSETS cruft
13918 * BufferView_pimpl.C: remove !NEW_INSETS cruft
13920 * BufferView2.C: remove !NEW_INSETS cruft
13922 * BufferView.h: remove !NEW_INSETS cruft
13924 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13926 * Lsstream.h: include LString.h before the sstream headers to
13927 fix problem with gcc 2.95.3 and lyxstring
13929 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13931 * lyx_main.C: add using directives when needed for C functions
13932 declared in std:: namespace.
13934 2001-04-27 Juergen Vigna <jug@sad.it>
13936 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13937 (SetHeightOfRow): comment out the update call should not be needed!
13939 2001-04-13 Juergen Vigna <jug@sad.it>
13941 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13942 (LyXTabular): tried to minimize operator= operations (and realized
13943 hopfully Lars wish).
13945 2001-04-27 Juergen Vigna <jug@sad.it>
13947 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13949 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13951 * lyxfunc.C (Dispatch): hack to make listof algorithm work
13953 * buffer.C (readInset): hack to make listof algorithm work
13955 * BufferView_pimpl.C: hack to make listof algorithm work
13957 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13959 * LyXAction.C: removed all !NEW_INSETS cruft
13960 (init): moved lfun_item in method
13962 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13964 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13966 * BufferView2.C (theLockingInset): white space.
13968 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13970 * minibuffer.C: include <iostream>
13972 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13974 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13976 * commandtags.h: add LFUN_TRANSPOSE_CHARS
13978 * text.[Ch] (TransposeChars): new method
13980 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13982 * call message directly through LyXView instead of through LyXFunc
13983 * BufferView2.C: adjust
13984 * BufferView_pimpl.C: adjust
13985 * FontLoader.C: adjust
13987 * bufferview_funcs.C: adjust
13988 * converter.C: adjust
13989 * figureForm.C: adjust
13990 * importer.C: adjust
13992 * lyx_gui_misc.C: adjust
13993 * lyxfunc.C: adjust
13996 + more files in subdirs
13998 * lyxparagraph.h (size): move up int file
14001 * adjust all uses of Assert to lyx::Assert.
14003 * BufferView2.C (ChangeCitationsIfUnique): adjust for
14004 lyxfunctional in namespace lyx
14005 * layout.C (hasLayout): ditto
14008 (delete_layout): ditto
14009 (NumberOfClass): ditto
14010 * converter.C (GetFormat): ditto
14015 * bufferlist.C (getFileNames): ditto
14016 (emergencyWriteAll): ditto
14019 * MenuBackend.C (hasSubmenu): ditto
14022 * BufferView_pimpl.C (getInsetByCode): ditto
14024 2001-04-18 Juergen Vigna <jug@sad.it>
14026 * vspace.C (asLatexString): fixed the 100% problem.
14028 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14030 * lyxfunc.C (Dispatch):
14032 * minibuffer.h: add a few std:: qualifiers
14034 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14036 * minibuffer.[Ch]: reimplement so that commands is initiated and
14037 run from lyxfunc, simplified som handling, and made the completion
14038 and history code for complete. wip.
14040 * lyxfunc.C (processKeySym): call message
14041 (miniDispatch): new temporary method
14042 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14043 (LFUN_MESSAGE): implement
14044 (LFUN_MESSAGE_PUSH): implement
14045 (LFUN_MESSAGE_POP): implement
14046 (initMiniBuffer): the initial/defualt minibuffer message.
14048 * lyxfont.[Ch]: inline some more getters
14050 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14052 * lyx_gui_misc.[Ch] (WriteStatus): remove method
14054 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14055 (AutoSave): use LFUN_MESSAGE
14056 (Reconfigure): ditto
14058 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14060 * figureForm.C: use LFUN_MESSAGE
14062 * converter.C (runLaTeX): use LFUN_MESSAGE
14064 * bufferview_funcs.C: use LFUN_MESSAGE
14066 (changeDepth): ditto
14068 * bufferparams.h: use boost::
14070 * bufferlist.h: inherit privately from noncopyable
14072 * bufferlist.C (loadLyXFile): remove some commented code.
14074 * buffer.C (runChktex): use LFUN_MESSAGE
14076 * ShareContainer.h: inherit privately from noncopyable
14078 * ParagraphParameters.[hC] (depth): inline it.
14080 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14082 (message): new method
14083 (messagePush): ditto
14084 (messagePop): ditto
14085 (show): init minibuffer
14086 (showState): direct call
14088 * LaTeX.[Ch]: inherit privately from noncopyable
14089 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14090 instead of WriteStatus.
14092 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14094 * BufferView_pimpl.C (buffer): don't init minibuffer
14095 (workAreaButtonPress): use LFUN_MESSAGE
14096 (workAreaButtonRelease): ditto
14097 (savePosition): ditto
14098 (restorePosition): ditto
14099 (MenuInsertLyXFile): ditto
14100 (workAreaExpose): don't init minibuffer
14101 (update): remove commented code, simplify
14103 * BufferView2.C (openStuff): use LFUN_MESSAGE
14104 (toggleFloat): ditto
14107 (copyEnvironment): ditto
14108 (pasteEnvironment): ditto
14113 (updateInset): remove some commented code
14115 * lastfiles.h: inherit privately from noncopyable
14118 * lyx_main.h: ditto
14120 * lyxlex_pimpl.h: ditto
14122 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14123 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14124 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14126 * LyXAction.h: inherit privately from noncopyable, add methods
14127 func_begin, func_end, returning iterators to the func map.
14129 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14130 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14131 (func_begin): new method
14132 (func_end): new method
14134 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14136 (copySelection): ditto
14137 (pasteSelection): ditto
14139 * BufferView.C: whitespace change
14140 * BufferView.h: inherit privately from noncopyable
14142 2001-04-16 Allan Rae <rae@lyx.org>
14144 * tabular-old.C (l_getline):
14145 * spellchecker.C (sc_check_word):
14146 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14147 an unrecognised preprocessor directive. So ensure they're wrapped.
14149 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
14151 * src/exporter.C (Export): Give an error message when path to file
14154 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
14156 * LaTeX.C (deplog): Always check that foundfile exists.
14158 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14161 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14163 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14165 * tabular.[Ch] (getLabelList): implement new method
14167 * minibuffer.h: comment ouf setTiimer
14169 * minibuffer.C (ExecutingCB): constify res
14170 (peek_event): constify s
14171 (Set): constify ntext
14172 (Init): constify nicename
14174 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14176 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14177 (savePosition): use two params to Minibuffer::Set
14178 (restorePosition): ditto
14180 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14182 * lyx_main.C: include language.h
14184 * Makefile.am (lyx_main.o): add language.h
14186 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14192 * CutAndPaste.C: include gettext.h
14194 * lyxfont.h: remove old hack with ON and OFF.
14197 * lyxfont.h: do not include language.h...
14202 * bufferview_funcs.C:
14208 * paragraph.C: ... but do it here instead
14210 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14212 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14214 * tabular.C: small reformat
14216 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14219 (BreakParagraph): ditto
14220 (SetOnlyLayout): ditto
14223 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14226 * lastfiles.C: removed most using decl, add std:: where needed
14228 * buffer.C: ws changes
14230 * MenuBackend.C (class compare_format): put into anon namespace
14231 (expand): constify label, names, action, action2
14234 * text.C (SingleWidth): constify font
14235 (IsBoundary): constify rtl2
14236 (GetVisibleRow): constify ww
14238 * LaTeX.C (deplog): constify logfile
14240 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14242 (workAreaExpose): constify widthChange, heightChange
14244 * lyxrow.C (par): moved
14247 * lyxrow.h: as inlines here
14249 * lyxfont.h (shape): moved from lyxfont.C
14250 (emph): moved from lyxfont.C
14252 * lyxfont.C (LyXFont): use initialization list for all
14254 (shape): move to lyxfont.h as inline
14255 (emph): move to lyxfont.h as inline
14258 2001-04-04 Juergen Vigna <jug@sad.it>
14260 * vspace.C: had to include stdio.h for use of sscanf
14262 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
14265 * BufferView_pimpl.h: remove xforms cruft. Both classes are
14266 independent of xforms.
14268 2001-04-02 Juergen Vigna <jug@sad.it>
14270 * spellchecker.C: fixed namespace placing!
14272 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
14274 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14275 the LyXParagraph * is 0.
14277 2001-03-29 Juergen Vigna <jug@sad.it>
14279 * vspace.C: added support for %, c%, p%, l%.
14280 (stringFromUnit): added helper function.
14281 (asLatexString): changed to give right results for the %-values.
14283 * buffer.C: convert the widthp in a width%.
14285 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
14287 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14290 * figureForm.[Ch]: stripped the FD_from_figure manipulation
14291 code out of lux_cb.[Ch], ready for its (imminent?) removal.
14293 * lyx_cb.[Ch]: see above.
14295 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14299 * lyx.[Ch]: replaced by figure_form.[Ch].
14303 * lyxfunc.C: changed headers associated with above changes.
14305 2001-03-27 Juergen Vigna <jug@sad.it>
14307 * BufferView_pimpl.C: set the temporary cursor right!
14309 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
14311 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14313 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
14315 * LString.h: removed "using std::getline"!
14317 * BufferView_pimpl.C (Dispatch): changes due to changes in
14318 InsetInclude::Params.
14320 * buffer.C (tag_name): removed redundant break statements as they were
14321 producing lots of warnings with my compiler.
14323 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14325 * LString.h: add "using std::getline" when using the real <string>.
14327 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
14329 * buffer.C: removed bitset usage.
14330 PAR_TAG moved to an anonymous name space.
14331 (tag_name): new funtion, also in the anonymous namespace.
14332 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14333 (makeDocBookFile): clean code. Completed transition from string arrays
14335 (SimpleDocBookOnePar): code clean.
14337 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14339 * tabular.C: add some comments.
14341 2001-03-22 Juergen Vigna <jug@sad.it>
14343 * buffer.C (parseSingleLyXformat2Token): redone the minipage
14344 compatibility read a bit and fixed bug with minipage in different
14347 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
14349 * buffer.C (pop_tag): removed.
14350 (push_tag): removed.
14351 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14352 array replaced with vector. Added support for CDATA sections.
14353 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14355 (makeDocBookFile): XML conformant declaration of CDATA section,
14356 fixed bug related to <emphasis> in the first paragraph char.
14357 (sgmlOpenTag): exclude empty tags.
14358 (sgmlCloseTag): ditto.
14360 * buffer.h (pop_tag): removed.
14361 (push_tag): removed.
14363 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
14365 * language.h (Languages): added size_type and size().
14367 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14369 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14370 response on compability reading of minipages. One probliem is that
14371 the old usage of minipages was «flertydig»
14373 * several files here and in subdirs: don't use static at file
14374 scope use anon namespaces instead.
14376 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
14378 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14379 LaTeX output. This is necessary for Literate document
14382 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14384 * buffer.C: insert hfill when needed.
14386 * tabular.C (l_getline): use string::erase, small whitespace change.
14388 * BufferView_pimpl.C: try the anon namespace.
14389 * WorkArea.C: ditto
14391 2001-03-16 Juergen Vigna <jug@sad.it>
14393 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14394 otherwise it won't open options-dialogs.
14396 * buffer.C: honor pextraWidth(p) on converting minipages.
14398 * tabular.C (l_getline): changed the functions to strip trailing \r.
14400 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
14402 * BufferView_pimpl.C:
14403 * minibuffer..C: added "using SigC::slot" declaration.
14405 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14407 * lyxlex_pimpl.h: noncopyable is in namespace boost.
14413 * paragraph.C: ditto
14415 * lyxtext.h: NO_PEXTRA
14417 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14419 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14420 * ParameterStruct.h: ditto
14421 * ParagraphParameters.h: ditto
14422 * lyxparagraph.h: ditto
14424 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14426 * buffer.C: add compability for minipage alignment.
14427 (latexParagraphs): remove unwanted pextra check.
14429 * several files: remove CXX_WORKING_NAMESPACES
14431 * buffer.C (pop_tag): tie is in namespace boost
14433 * BufferView.h: noncopyable is in namespace boost
14435 * lyx_main.h: ditto
14438 * lastfiles.h: ditto
14439 * bufferlist.h: ditto
14440 * ShareContainer.h: ditto
14442 * LyXAction.h: ditto
14445 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14447 * Merging changes from BRANCH_MVC back into HEAD.
14449 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14451 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
14453 * BufferView_pimpl.C: change from intl.C
14457 * Makefile.am: move combox.*
14463 * intl.C: remove dialog (covered by prefs)
14465 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14467 * lyxfunc.C (Dispatch): removed redundant break statement.
14469 2001-03-14 Juergen Vigna <jug@sad.it>
14471 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14473 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14475 * buffer.C: add hack to fix compability reading of minipages.
14477 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
14479 * buffer.C (getLists): Cleanup.
14481 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14483 * lyxfont.C (update): don't honor toggleall on font size.
14485 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
14489 * Makefile.am: moved to frontends/xforms/
14493 * BufferView_pimpl.C: changes for moved mathpanel
14495 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14497 * gettext.h: fix gettext_init() in --disable-nls
14499 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14501 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14503 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
14506 * lyx.h: strip external form
14508 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14510 * BufferView_pimpl.C: add comment, destroySplash()
14512 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14514 * BufferView_pimpl.C:
14518 * lyxfunc.C: use re-worked insetinclude
14520 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14522 * buffer.C: add using std::stringstream.
14524 * lyx_cb.C: readd using std::ios.
14526 * buffer.C: add using std::map.
14528 * BufferView_pimpl.C: add using std::vector.
14530 * ShareContainer.h: add std:: to swap.
14532 * buffer.h: add some typedefs
14533 * buffer.C (getLists): use them
14534 (getLists): renamed from getTocList.
14535 add a counter for the different float types and use it in the
14537 (getLists): use the same counter for the NEW_INSETS and the "non"
14540 * lyx_cb.h: remove unused items, includes, using etc.
14542 * ShareContainer.h: remove some commented code, add more comments
14543 and "documentation".
14545 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14547 * buffer.C (getTocList): make the list also when NEW_INSETS is
14550 * buffer.h: remove TocType
14552 * buffer.C (getTocList): change to return a map<string,
14553 vector<TocItem> >, implement for dynamic number of list.
14555 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14556 * text2.C (PasteSelection): adjust
14557 * CutAndPaste.C (pasteSelection): adjust
14559 * FloatList.C (FloatList): update from the new_insets branch.
14560 * Floating.[Ch]: ditto
14561 * LaTeXFeatures.C: ditto
14563 * lyxlex_pimpl.C: ditto
14565 * paragraph.C (Last): remove when NEW_INSETS is defined.
14567 * other file: changes because of the above.
14569 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14571 * lyxparagraph.h: rename next to next_, previous to previous_,
14572 make them private for NEW_INSETS. Rename Next() to next(),
14573 Previous() to previous().
14575 * other files: changes because of the above.
14577 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
14580 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14583 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14585 * main.C (main): pass lyx_localedir to gettext_init().
14587 * gettext.h: remove locale_init and gettext_init macros
14589 * gettext.C (locale_init): new function
14590 (gettext_init): new function
14592 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14595 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
14597 * Moved credits to frontends:
14598 * credits.[Ch]: removed
14599 * credits_form.[Ch]: removed
14600 * lyx_gui_misc.C: remove credits stuff
14603 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14605 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14607 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14608 unneeded destructor.
14610 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14611 a standalone pointer again.
14613 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14615 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
14621 * ToolbarDefaults.C:
14630 * BufferView_pimpl.C: use new file dialog in GUII
14633 * lyx_cb.C: remove LayoutsCB to Toolbar
14635 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14637 * ShareContainer.h (get): add std:: qualifier
14639 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14641 * ShareContainer.h: define a proper ShareContainer::value_type
14642 type (and use typename to please compaq cxx)
14644 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14646 * lyxparagraph.h: move serveral local vars to
14647 ParameterStruct/ParagraphParameters., use ShareContainer in
14648 FontTable., make vars in FontTable private and add getter and
14651 * paragraph.C: changes because of the above.
14653 * lyxfont.h: remove copy constructor and copy assignment. (the
14654 default ones is ok), move number inside FontBits. move inlines to
14657 * lyxfont.C: add number to initializaton of statics, move several
14658 inlines here. constify several local vars. some whitespace
14659 cleanup. Dont hide outerscope variables.
14661 * Spacing.h: add two new constructors to match the set methods.
14663 * ShareContainer.h: new file, will perhaps be moved to support
14665 * ParameterStruct.h: new file
14667 * ParagraphParameters.h: new file
14669 * ParagraphParameters.C: new file
14671 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14672 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14674 * BufferView_pimpl.C: ParagraphParameter changes.
14675 * buffer.C: Likewise.
14676 * bufferview_funcs.C: Likewise.
14677 * text.C: Likewise.
14678 * text2.C: Likewise.
14680 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14682 * lyxfind.C (LyXReplace): do not redefine default argument in
14684 (IsStringInText): ditto
14685 (SearchForward): ditto
14686 (SearchBackward): ditto
14688 2001-03-06 Juergen Vigna <jug@sad.it>
14690 * lyxfind.C (IsStringInText): put parentes around expressions.
14692 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
14694 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14696 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
14698 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14700 * stl_string_fwd.h: add comment
14702 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14705 * tabular.C: remove unused DocBook methods
14711 killed DO_USE_DEFAULT_LANGUAGE
14713 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14715 * lyx_gui.C: do not include language.h.
14717 * bufferview_funcs.C (ToggleAndShow): do not provide optional
14718 arguments in function implementation.
14720 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14722 * BufferView_pimpl.C: add <ctime>
14724 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14726 * BufferView_pimpl.C: add using std::find_if
14728 2001-02-27 José Matos <jamatos@fep.up.pt>
14730 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14733 2001-02-11 José Matos <jamatos@fep.up.pt>
14735 * buffer.C (makeDocBookFile): command styles now have a parameter as
14736 "title" by default.
14738 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
14740 * layout_forms.[Ch]: removed
14741 * lyx_cb.[Ch]: out character
14742 * lyx_gui.C: out character
14743 * lyx_gui_misc.C: out character
14744 * bufferview_funcs.C: : out character,
14745 added toggleall as parameter in ToggleAndShow
14747 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
14749 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14751 * text2.C (SetCurrentFont): Disable number property at boundary.
14753 2001-02-26 Juergen Vigna <jug@sad.it>
14755 * lyxfunc.C (getStatus): added a string argument override function so
14756 that this is correctly called from LyXFunc::Dispatch if it contains a
14757 do_not_use_argument which is used!
14758 (Dispatch): added check for "custom" export and call appropriate func.
14760 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
14762 * lyxrc.C: Add language_command_local, language_use_babel and
14763 language_global_options.
14765 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14767 * buffer.C (makeLaTeXFile): Use language_use_babel and
14768 language_global_options.
14770 2001-02-23 Juergen Vigna <jug@sad.it>
14772 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14773 which works with LyXText and putted it inside BufferView. Here now we
14774 only call for that part the BufferView::Dispatch() function.
14776 * BufferView.C (Dispatch): added.
14778 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14779 functions which needs to use a LyXText over from LyXFunc.
14780 (MenuInsertLyXFile): added
14781 (getInsetByCode): added
14782 (moveCursorUpdate): added
14783 (static TEXT): added
14785 2001-02-22 Juergen Vigna <jug@sad.it>
14787 * BufferView_pimpl.C (update): call a status update to see if LyXText
14790 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14792 * vc-backend.C (revert): implement for CVS
14793 (getLog): implement for CVS
14795 2001-02-20 Juergen Vigna <jug@sad.it>
14797 * text2.C (ClearSelection): added BufferView param for inset_owner call
14799 * lyxfunc.C (TEXT): added this function and use it instead of
14800 directly owner->view()-text of getLyXText().
14802 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
14804 * src/layout_forms.C: out preamble
14805 * src/layout_forms.h: out preamble
14806 * src/lyx_cb.C: out preamble
14807 * src/lyx_cb.h: out preamble
14808 * src/lyx_gui.C: out preamble
14809 * src/lyx_gui_misc.C: out preamble
14810 * src/lyxfunc.C: connect with guii preamble
14812 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
14814 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14816 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
14818 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14819 whether to run bibtex.
14821 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
14823 * Makefile.am (lyx_SOURCES): Remove BackStack.h
14825 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14827 * Makefile.am (lyx_SOURCES): removed bibforms.h
14829 * vspace.h: doxygen
14831 * text.C (GetVisibleRow): make several local vars const
14833 * tabular.C: small cleanup.
14835 * lyxserver.C (callback): use compare instead of strncmp
14837 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14838 inlines to after class or to paragraph.C
14840 * lyxfont.h: remove friend operator!=
14842 * converter.h: move friend bool operator< to non friend and after
14845 * combox.h: small cleanup
14847 * buffer.h: doxygen, remove unused constructor, move inclas inlies
14848 to inlines after class def.
14850 * buffer.C (pop_tag): use string operations instead of strcmp
14852 * bmtable.c: doxygen, small cleanup
14854 * LaTeX.h: remove friend operator==
14856 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
14868 * BufferView_pimpl.C:
14869 * BufferView.[Ch]: remove cruft
14871 2001-02-14 Juergen Vigna <jug@sad.it>
14873 * lyxfunc.C: removed #if 0 unused code
14875 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14877 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14879 * text2.C (SetSelection): added a BufferView * parameter
14881 2001-02-13 Juergen Vigna <jug@sad.it>
14883 * lyxfunc.C (Dispatch): fixed protected blank problem.
14884 * BufferView2.C (protectedBlank): added LyxText * parameter.
14886 * tabular.C (AppendRow): forgot to set row_info of newly added row.
14887 (AppendColumn): same as above for column_info.
14889 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14890 (moveCursorUpdate): use a LyXText param for support of InsetText.
14892 * BufferView_pimpl.C (doubleClick): added support for InsetText.
14893 (tripleClick): ditto
14895 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14897 * BufferView_pimpl.C (update): added LyXText param to honor insets.
14899 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14901 * text2.C (SetSelection): set correct update status if inset_owner
14902 (ToggleFree): ditto
14904 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
14906 * tabular.C: remove some commented code.
14908 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
14910 * BufferView_pimpl.C: call hideSplash()
14912 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14915 * bibforms.h: remove
14918 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14919 add LFUN_CHILD_CREATE
14921 * counters.h: fix tiny typo
14926 * lyx.C: move splash to frontends/xforms/
14928 * lyx_gui_misc.C: move Include and Bibform to frontends
14930 * lyxvc.h: clarify comment
14932 * vspace.C: tiny housekeeping
14934 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
14936 * text.C (PrepareToPrint): RTL Fix.
14938 * paragraph.C (GetUChar): New method.
14939 (String): Use GetUChar.
14941 * buffer.C (asciiParagraph): Use GetUChar.
14943 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
14945 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14947 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
14950 * buffer.C: rename to getLogName(), handle
14951 build log / latex log nicely
14953 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14956 * MenuBackend.h: remove support for reference menuitem type.
14958 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
14960 * BufferView_pimpl.C: housekeeping
14961 * BufferView_pimpl.h:
14966 * minibuffer.h: move Timeout GUI-I
14968 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
14970 * lyxrc.C (read): Update converters data-structures.
14972 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
14974 * LaTeX.h (operator!=): add operator != for Aux_Info
14976 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
14978 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14980 * LaTeXLog.C: deleted, useful code moved to Buffer
14983 * buffer.C: new function getLatexLogName()
14989 * lyxfunc.C: use frontends for LaTeX and VC logs
14991 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14993 * LaTeX.h: yet another std:: that Allan forgot.
14995 * Variables.C (set): renamed from isset(), because this clashes
14996 with some HP-UX macros (grr).
14998 2001-02-06 Allan Rae <rae@lyx.org>
15000 * LaTeX.h: Another bug fix. Missing std:: this time.
15002 2001-02-04 Allan Rae <rae@lyx.org>
15004 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15005 floats problem. I've left it commented out because it's not quite
15006 correct. It should also test that the current object is a table or
15007 figure inset. But I haven't gotten around to figuring out how to do
15008 that. I *think* it'll be something like: "table" == inset.type()
15010 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15013 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
15015 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15016 all the citation/databases/styles in the auxilary file.
15017 (run): Rerun latex if there was a babel language error.
15019 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
15021 * text.C (Backspace): Preserve the font when changing newline char
15023 (BreakParagraph): If the cursor is before a space, delete the space.
15025 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15027 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
15029 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15030 new argument (code).
15031 (ChangeCitationsIfUnique): New method.
15033 * paragraph.C (GetPositionOfInset): Handle bibkey.
15035 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15037 * BufferView_pimpl.h: change type of Position::par_pos to
15038 LyXParagraph::size_type.
15040 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
15042 * BufferView_pimpl.C (savePosition, restorePosition): Write
15043 messages to minibuffer.
15045 2001-01-28 José Matos <jamatos@fep.up.pt>
15047 * buffer.C (makeDocBookFile): adds support for document language.
15048 A silly restriction on the name of LatexCommand types where removed.
15049 Added support for CDATA sections, allows to chars unescaped, used
15050 among others in code, to avoid escape < and >.
15052 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15054 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15055 saved positions instrad of a stack. Furthermore, a position is
15056 stored using paragraph id/paragraph position.
15058 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15059 Remove LFUN_REF_BACK.
15061 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15063 * converter.C (dvipdfm_options): New method.
15065 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
15067 * vspace.C (isValidLength): Fix for empty input string.
15069 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15071 * LyXAction.C (init): change description of LFUN_FIGURE to
15074 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15076 * LaTeX.C: add using directive
15078 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15080 * MenuBackend.C (expand): Fix the sorting of the formats.
15082 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
15084 * lyx_main.C: tiny error message fix
15086 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15088 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15089 calling fl_initialize(). This fixes the problem with ',' as
15090 decimal separator in text files.
15092 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15094 * trans.C (process): Fix the keymap bug.
15096 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
15098 * LaTeX.C (scanAuxFiles): New method. Provides support for
15099 multiple bibliographies (when using the bibtopic/bibunits pacakges).
15100 (scanLogFile) Scan for "run BibTeX" messages.
15102 * buffer.C (makeLaTeXFile): Do not load the ae package when using
15103 OT1 font encoding. Also, load the aecompl package if the ae
15106 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15108 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15110 * texrow.C (increasePos): turn two error messages into debug
15113 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
15115 * LaTeX.C (scanAux): Handle the \@input macro.
15116 (runBibTeX): Use scanAux().
15118 * language.C (latex_options_): New field.
15120 * LaTeXFeatures.C (getMacros): Add language macros.
15122 * buffer.C (makeLaTeXFile): Small fix.
15124 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15126 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15128 * text2.C: add a using directive.
15130 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
15135 * lyxfunc.C: kill LyXBell.
15137 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
15139 * text.C (IsBoundary): Remove the error message
15141 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15143 * lyxrc.C (setDefaults): Correct initialization value for
15146 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
15148 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15151 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15152 and GotoNextNote().
15154 * src/LyXAction.C: Added reference-next.
15156 * text.C (InsertChar): Use contains instead of strchr.
15158 * lyx_cb.C (MenuInsertLabel): Enable default value code.
15160 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
15162 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15163 alignment commands (when needed).
15165 * text.C (InsertChar): Add ':' to number separator chars.