1 2004-03-26 Angus Leeming <leeming@lyx.org>
3 * ispell.C (LaunchIspell::start):
4 * lyx_cb.C (AutoSaveBuffer::start):
5 invoke run(DontWait) rather than runNonBlocking().
7 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
9 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
11 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13 * kbsequence.C (print): adjust
15 * kbmap.C (printKeySym): rename and change signature
16 (printKey): use LyXKeySym::print()
18 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
20 * undo.C: add using std::advance to compile for stlport
22 2004-03-24 Angus Leeming <leeming@lyx.org>
24 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
25 it leads to a crash when no buffer is present.
27 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
28 Martin Vermeer <martin.vermeer@hut.fi>
30 * lyxfunc.C (dispatch):
31 * bufferparams.C (readToken): use the new LColor::setColor
33 * LColor.[Ch] (setColor): new version that takes two strings as
34 argument and creates a new color entry if necessary
36 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
38 * buffer.C (makeLaTeXFile): if the main latex file that is
39 processed is usually a subdocument of some master, then pretend
40 for a while that it is actually the master
42 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
44 * buffer.C (getLabelList):
45 (getBibkeyList): use getMasterBuffer()
46 (getMasterBuffer): new method. Returns the main document in the
47 case where one is using included documents.
49 2004-03-25 André Pönitz <poenitz@gmx.net>
53 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
55 * ParagraphList_fwd.h: change ParagraphList to a std::vector
57 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
58 text*.C over here. Rename namespace CutAndPaste to lyx::cap
60 * ParameterStruct.h: merge with ParagraphParameters
62 * lyxtext.h: remove LyXText::parOffset() and getPar()
64 * text3.C: Remove all 'manual' update calls. We do now one per user
65 interaction which is completely sufficient.
72 * ParagraphParameters.[Ch]:
84 * output_docbook.[Ch]:
86 * output_linuxdoc.[Ch]:
87 * output_plaintext.[Ch]:
89 * paragraph_funcs.[Ch]:
90 * paragraph_pimpl.[Ch]:
98 * frontends/controllers/ControlDocument.C:
99 * frontends/controllers/ControlErrorList.C:
100 * frontends/controllers/ControlSpellchecker.C:
103 * insets/insetbase.h:
104 * insets/insetbibitem.C:
106 * insets/insetbranch.C:
107 * insets/insetcaption.C:
108 * insets/insetcharstyle.C:
109 * insets/insetcharstyle.h:
110 * insets/insetcollapsable.C:
111 * insets/insetcollapsable.h:
113 * insets/insetfloat.C:
114 * insets/insetfoot.C:
115 * insets/insetmarginal.C:
116 * insets/insetnote.C:
117 * insets/insetoptarg.C:
118 * insets/insettabular.C:
119 * insets/insettext.C:
120 * insets/insettext.h:
121 * insets/insetwrap.C:
122 * mathed/math_mboxinset.C:
123 * mathed/math_nestinset.C:
124 * mathed/math_scriptinset.C:
125 * mathed/math_scriptinset.h:
128 2004-03-24 Angus Leeming <leeming@lyx.org>
130 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
131 deal with any child processes that have finished but are waiting to
132 communicate this fact to the rest of LyX.
134 2004-03-24 Angus Leeming <leeming@lyx.org>
136 64-bit compile fixes.
138 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
139 (c-tor): pass lyx::pos_types rather than ints.
141 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
144 * text.C (Delete): compile fix.
145 (getPar): ensure that function declaration is the same as that in
148 2004-03-23 Angus Leeming <leeming@lyx.org>
150 * ispell.C (LaunchIspell):
151 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
152 a boost::shred_ptr rather than a std::auto_ptr.
154 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
156 * lyxfunc.C (getStatus): handle read-only buffers correctly;
157 handle LFUN_FILE_INSERT_*
159 * lyxrc.C (setDefaults, getDescription, output, read):
160 * lyxrc.h: remove ps_command
162 2004-03-22 Angus Leeming <leeming@lyx.org>
164 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
165 Ensure that error_handler is processed once only and that all data
166 is saved before attempting to output any warning messages.
168 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
170 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
172 * tabular.C (TeXRow): crash fix (from Kayvan and André)
174 2004-03-19 André Pönitz <poenitz@gmx.net>
176 * cursor.[Ch] (reset): take main text inset as argument
179 * BufferView_pimpl.C: adjust
181 * paragraph.[Ch]: fix completely broken operator=()
183 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
185 * LColor.C (getFromLyXName): make sure that the color name is used
188 2004-03-17 Angus Leeming <leeming@lyx.org>
191 * LyXAction.C (init): remove LFUN_FORKS_KILL.
193 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
194 dialog and to kill a forked process.
196 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
198 * text2.C (setCursorFromCoordinates): fix font problem
200 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
202 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
203 bogus "rebuild cursor" code
205 2004-03-11 André Pönitz <poenitz@gmx.net>
207 * buffer.[Ch]: use InsetText instead of LyXText as container for
210 * dociterator.[Ch]: drop the BufferView * member which is not needed
211 anymore after the change to buffer.C
217 * BufferView_pimpl.[Ch]:
219 * cursor_slice.[Ch]: adjust
221 * text3.C: fix bug in mathDispatch
223 2004-03-08 André Pönitz <poenitz@gmx.net>
225 * undo.[Ch]: use 'StableDocumentIterator' as base for
228 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
231 * bufferparams.[Ch]: add jurabib support and param.
233 * LaTeX.C: add FIXME/comment.
235 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
237 * buffer.C: increment file format to 230.
239 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
241 * cursor.C (dispatch): avoid infinite loops
243 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
245 * rowpainter.C (paintSelection): fix x coordinates
247 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
249 * text.C (rowBreakPoint): fix breaking before displayed insets
251 2004-03-01 André Pönitz <poenitz@gmx.net>
253 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
255 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
259 * BufferView_pimpl.C:
267 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
273 * BufferView_pimpl.C: rename textwidth -> maxwidth,
274 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
276 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
278 * Bidi.[Ch] (computeTables): const correctness
279 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
280 fill_hfill, fill_label_hfill and x from Row
281 * lyxtext.h: prepareToPrint returns a RowMetrics
282 * rowPainter.C: adjust
283 * text.C (prepareToPrint): use width, not textWidth. adjust
284 (redoParagraphInternal, cursorX): adjust
285 * text2.C (getColumnNearX): adjust
286 (init): put a default value to the top LyXText::width
288 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
290 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
292 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
294 * lyxtext.h: add FontIterator class
296 * text.C (FontIterator, operator*, operator->, operator++): add
297 (rowBreakPoint, setRowWidth): adjust (fixing a
300 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
302 * BufferView_pimpl.C (workAreaDispatch): allow also
303 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
305 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
307 * text.C (rowBreakPoint): fix a bug showing with very large insets
309 2004-02-25 André Pönitz <poenitz@gmx.net>
312 * cursor.[Ch]: move some mathed specific code to mathed
314 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
316 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
317 use_tempdir in preferences
318 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
320 * lyx_main.C: ensure that tempdir is valid
321 * lyxlex.h: correct typo
322 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
323 * paragraph.[Ch] (isMultiLingual): make const
324 * cursor.[Ch] (openable): make const
326 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
328 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
330 2004-02-20 André Pönitz <poenitz@gmx.net>
332 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
334 * cursor.[Ch]: prepare for localized getStatus()
340 * text3.C: streamlines the LyXText cursor movement handlers a bit.
342 2004-02-20 André Pönitz <poenitz@gmx.net>
344 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
346 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
348 * text2.C (setCursorFromCoordinates): switch to absolute coords
351 * text3.C (dispatch): adjust
353 2004-02-16 André Pönitz <poenitz@gmx.net>
355 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
358 * cursor_slice.[Ch]: remove unneeded acessor function
360 * lyxtext.h: rename rtl() to isRTL()
368 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
370 * rowpainter.C (paintSelection): coord fix
372 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
374 * Spacing.C: compile fix
376 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
378 * cursor.C (dispatch): restore current_ before returning
380 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
382 * text2.C (cursorUp, cursorDown): fix coords
385 2004-02-12 André Pönitz <poenitz@gmx.net>
390 * text3.C: add LCursor & parameter to most cursor movement functions
391 remove usage of LyXText::cursorRow() and cursorPar()
393 * cursor.[Ch]: add textRow() needed members
396 * BufferView_pimpl.C:
399 * BufferView_pimpl.C: adjust
401 2004-02-11 André Pönitz <poenitz@gmx.net>
405 * BufferView_pimpl.C: shift undo/redo handling
407 * cursor.[Ch]: fix mathed crash
410 * lyxtext.h: move selectionAsText to LCursor
418 * rowpainter.C: fix excessive drawing
420 2004-02-06 André Pönitz <poenitz@gmx.net>
423 * BufferView_pimpl.[Ch]:
424 * text3.C: move some text specific LFUN handling
426 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
428 * text3.C (checkInsetHit): adjust coords
429 * text2.C (getColumnNearX): adjust coords
430 (edit): adjust coords
431 * text.C (getRowNearY): add two asserts
433 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
436 * format.C: add using std::distance to compile on gcc 2.95/stlport
438 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
440 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
442 2004-02-04 André Pönitz <poenitz@gmx.net>
444 * BufferView.[Ch] (insertInset):
445 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
450 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
452 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
453 on the default clause of the switch
454 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
455 wasn't catched by LCursor::dispatch
457 2004-02-03 André Pönitz <poenitz@gmx.net>
460 * cursor.[Ch]: some additional asserts
462 * undo.[Ch]: remove LyXText dependency in interface
466 * lyxtext.h (firstPar, lastPar): remove dead functions
471 * paragraph.[Ch]: adjust
473 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
475 * lyxfind.C (find): fix argument order in call to ::find
477 2004-02-02 André Pönitz <poenitz@gmx.net>
479 * cursor.[Ch]: remove direct access to anchor
481 * text.C: remove findText() hack
483 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
485 * iterators.[Ch] (lockPath): remove in favour of...
486 * BufferView.[Ch] (setCursor): this addition
487 * BufferView.C (putSelectionAt): adjust
488 * undo.C (performUndoOrRedo): adjust
489 * lyxfunc.C (dispatch): adjust
491 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
493 * iterators.C (lockPath): add a missing slice
494 * undo.C (performUndoOrRedo): remove redundant positioning code
496 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
498 * vc-backend.C (scanMaster): ";" -> ';'
500 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
502 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
505 * lyxtextclass.C (compare_name): rename to...
506 (LayoutNamesEqual): ...this
508 * lyxlex_pimpl.C (compare_tags): inherit from
509 std::binary_function, put back into anon namespace
511 * lyxfind.C (MatchString): inherig from std::binary_function
512 (findChange): use empty() istead of !size()
514 * format.C (FormatNamesEqual): new functor
521 * converter.C (compare_Converter): rename to...
522 (ConverterEqual): ...this, and fixup a bit.
523 (getConverter): use it, and make function const
524 (getNumber): use it, and make function const
528 * bufferlist.C: add using boost::bind
530 * MenuBackend.C (MenuNamesEqual): new functor
531 (hasMenu): use it, and make function const
532 (hasSubmenu): use nested bind to get rid of compare_memfun.
534 2004-01-30 André Pönitz <poenitz@gmx.net>
536 * BufferView_pimpl.C:
547 * text3.C: move some of the edit(x,y) handling to the insets
548 some coordinate changes.
550 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
552 * text.C: add using statements for std::advance and std::distance
554 * paragraph.C: add using statement for std::distance
556 * lyxfind.C: add using statement for std::advance
558 * cursor.C (region): remove std:: from swap
559 (openable): use nucleus in stead of operator->
561 * BufferView.C: add using statements for std::distance and std::swap
563 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
565 * iterators.C: Remove the pimple, move the needed structures to
566 the header file. Create accessor for the positions stack.
567 (asPosIterator): remove function
569 * PosIterator.C (PosIterator): move constructors to top of file
570 (PosIterator): reimplement the constructor taking a ParIterator in
572 (setFrom): new function
573 (operator!=): inline it
575 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
577 * lyxfind.C (replaceAll): use std::advance
579 * iterators.h: inherit from std::iterator.
581 * PosIterator.C (advance, distance): remove
582 * PosIterator.h: interit from std::iterator.
584 2004-01-26 André Pönitz <poenitz@gmx.net>
587 * BufferView_pimpl.[Ch]:
591 * bufferview_funcs.C:
602 * output_plaintext.C:
604 * paragraph_funcs.[Ch]:
605 * paragraph_pimpl.[Ch]:
611 * text3.C: more IU: dumps most of the rest of the mathcursor
612 implementation into cursor.[Ch]; "globalize" a bit of it.
614 2004-01-25 Angus Leeming <leeming@lyx.org>
616 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
618 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
620 * LaTeXFeatures.h: add nice_ and nice() const
621 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
623 2004-01-20 André Pönitz <poenitz@gmx.net>
626 * BufferView_pimpl.C:
628 * bufferview_funcs.C:
641 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
642 LCursor and mathcursor parts to LCursor and InsetBase.
644 2004-01-15 André Pönitz <poenitz@gmx.net>
646 * cursor_slice.[Ch]: add a few covienience functions
648 * funcrequest.[Ch]: remove BufferView * member
650 * BufferView_pimpl.C:
657 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
659 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
661 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
662 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
664 2004-01-13 André Pönitz <poenitz@gmx.net>
667 * lyxtext.h: hide cursor and selection anchor behind accessor function
670 * BufferView_pimpl.[Ch]:
672 * bufferview_funcs.C:
682 * cursor_slice.[Ch]: some integer type changes for inset unification
684 * lyxcursor.[hC]: remove, it's CursorSlice now.
687 * BufferView_pimpl.[Ch]:
688 * bufferview_funcs.C:
694 * textcursor.[Ch]: adjust
696 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
698 * text2.C (undoSpan): add and use
699 * text.C (breakParagraph): use undoSpan (fix bug 578)
702 2004-01-08 Angus Leeming <leeming@lyx.org>
704 * BufferView_pimpl.C (MenuInsertLyXFile):
705 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
706 * lyxfunc.C (menuNew, open, doImport):
707 FileFilterList change to the FileDialog open and save functions.
709 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
711 * ShareContainer.h: make isEqual and isUnique adaptable
713 * CutAndPaste.C: make resetOwnerAndChanges adaptable
715 2004-01-07 Angus Leeming <leeming@lyx.org>
718 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
720 * BufferView_pimpl.C (dispatch): act on these LFUNs.
722 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
723 functions replacing find, replace and replaceAll.
725 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
726 LFUN_WORDFIND(FORWARD|BACKWARD).
728 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
730 * text.C (breakParagraph): remove an outdated #warning
732 2004-01-07 André Pönitz <poenitz@gmx.net>
734 * lyxfind.C: somewhat clearer logic
736 * text.C: prevent crash in cursorX on unitialized row cache
738 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
740 * lyxcursor.[Ch] (operator>): add
741 * textcursor.C (selStart, selEnd): use std::min and std::max
743 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
745 * Chktex.C: include boost/format.hpp
747 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
749 * InsetList.C: replace functor MathcIt with adaptable functor
751 (insetIterator): modify accordingly
753 * BranchList.h: move the BranchNamesEqual functor here from...
754 * BranchList.C: ... to here
756 * BranchList.C: new BranchListEqual fuctor, use it. Remove
758 (add): replace a finding loop with std::find_if.
760 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
762 * output_docbook.C: moving LatexParam functionality into
765 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
767 * buffer.C: increment format to 229.
769 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
772 * lyx_sty.[Ch]: remove minipageindent_def
778 * text3.C: remove LFUN_INSET_MINIPAGE
780 2003-12-28 Angus Leeming <leeming@lyx.org>
782 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
784 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
786 * text2.C (setParagraph): fix off-by-one crash
788 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
790 * output_docbook.C: header stuff for AGU
792 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
794 * text2.C (redoCursor): remove
797 * BufferView_pimpl.C: remove calls to redoCursor and
798 setCursor(cursor.par(), cursor.pos()) all around
800 2003-12-15 Angus Leeming <leeming@lyx.org>
802 * buffer.C: up the format to 228.
804 2003-12-15 André Pönitz <poenitz@gmx.net>
806 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
811 * BufferView_pimpl.C:
820 2003-12-15 Angus Leeming <leeming@lyx.org>
822 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
823 than getFromGUIName to manipulate the color.
825 2003-12-14 Angus Leeming <leeming@lyx.org>
827 * BranchList.[Ch]: minimize the API.
828 (Branch::getBranch, getColor): now return a 'const &'.
829 (Branch::setSelected) now returns a bool set to true if the
830 selection status changes.
831 (BranchList::clear, size, getColor, setColor, setSelected,
832 allBranches, allSelected, separator): removed.
833 (BranchList::find): new functions, returning the Branch with
835 (BranchList::add, remove): return a bool indicating that
836 the operation was successful.
838 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
839 new InsetBranch::isBranchSlected member function.
841 * LColor.[Ch]: mimimize the API.
842 (fill): renamed as addColor and made private.
843 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
844 versions of these functions taking a string arg have been removed.
846 * bufferparams.C (readToken):
847 * lyxfunc.C (dispatch):
848 * lyxrc.C (read): changes due to the altered BranchList and
851 * factory.C (createInset, readInset): changes due to altered
854 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
857 * lyxfunc.C: remove insetminipage. "minipage-insert"
858 now produces a frameless minipage box inset.
860 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
862 * textcursor.[Ch] (selStart,selEnd): add new methods
863 remove selection::start, end, use LyXCursor::operator<
864 * lyxcursor.[Ch] (operator<): add
865 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
866 * BufferView.[Ch] (unsetXSel): add
867 * text2.C (clearSelection): use unsetXSel,adjust
870 * rowpainter.C: adjust
871 * bufferview_funcs.C (put_selection_at): adjust
873 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
875 * BufferView_pimpl.C: small coord. correction
877 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
879 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
880 dragging over the splash screen.
882 2003-12-11 Angus Leeming <leeming@lyx.org>
884 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
885 as it is now handled in LyXText::dispatch.
887 * text3.C (doInsertInset): remove a level of nesting.
889 2003-12-11 Angus Leeming <leeming@lyx.org>
891 * factory.C (createInset): changes due to the changed interface to
892 InsetCommandMailer::string2params.
894 2003-12-10 Angus Leeming <leeming@lyx.org>
896 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
897 'dialog-show-new-inset <inset name>'
899 2003-12-10 Angus Leeming <leeming@lyx.org>
901 * buffer.C: up the format to 227.
903 * factory.C: the box inset is now identified simply by 'Box'.
905 2003-12-10 Angus Leeming <leeming@lyx.org>
907 * buffer.C: up the format to 226.
909 * factory.C: the note inset is now identified simply by 'Note'.
911 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
913 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
914 when a pit is enough. Standarize a couple of loops.
916 2003-12-05 Angus Leeming <leeming@lyx.org>
918 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
919 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
920 data to the re-worked "log" dialog.
922 2003-12-03 André Pönitz <poenitz@gmx.net>
930 * text2.C: use Inset::getText instead of Inset::getParagraph
932 2003-12-03 André Pönitz <poenitz@gmx.net>
936 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
937 InsetText::read() as LyXText::read()
939 2003-12-02 Angus Leeming <leeming@lyx.org>
941 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
942 type. Add a comment in the implementation that the function uses
943 the stream's bad() function rather than fail() as the std::streams
946 2003-12-02 André Pönitz <poenitz@gmx.net>
948 * lyxlex.[Ch]: make interface more similar to std::stream
950 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
952 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
954 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
956 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
958 * vspace.[Ch]: remove VSpace::NONE
960 2003-12-01 André Pönitz <poenitz@gmx.net>
963 * lyxtext.h: move ParagraphList member to LyXText
964 rename LyXText::ownerParagraphs to LyXText::paragraph
967 * bufferview_funcs.C:
977 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
979 * undo.C: fix cursor positioning
981 2003-12-01 John Levon <levon@movementarian.org>
983 * BufferView_pimpl.C: fix a crash on exit with
986 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
988 * BranchList.C: fix setSelected() method.
990 2003-11-28 André Pönitz <poenitz@gmx.net>
992 * ParagraphParameters.[Ch]:
993 * ParameterStruct.h: remove space above/below from Paragraph to
996 * BufferView_pimpl.C:
1002 * paragraph_funcs.C:
1008 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1010 * factory.C: Syntax change for CharStyles
1012 2003-11-28 André Pönitz <poenitz@gmx.net>
1017 * buffer.[Ch]: move LyXText member
1019 2003-11-28 André Pönitz <poenitz@gmx.net>
1021 * BufferView.[Ch]: make LyXText * text a private member
1023 * BufferView_pimpl.C:
1034 * output_plaintext.C: cleanup
1036 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1039 * lyxtextclass.[Ch]: parametrize SGML document header
1041 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1044 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1047 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1049 * text2.C (setFont): rework using PosIterator (no more recursive)
1050 (setCharFont): no more needed
1051 (setLayout): no more selection cursors fiddling (done by redoCursor)
1052 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1053 destroy remaining ones)
1055 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
1057 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1059 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1062 * text3.C: adjust + re-allow multi par depth changes
1063 * textcursor.C: simplify a bit
1065 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
1071 * src/output_docbook.C:
1072 * src/output_latex.C:
1077 * src/text2.C: Introducing a number of tags parametrizing various
1078 XML formats that we may want to support
1080 2003-11-25 André Pönitz <poenitz@gmx.net>
1082 * InsetList.[Ch] (begein, end): inline as suggested by profiler
1084 * lyxtext.h (leftMargin/rightMargin): simplify interface
1091 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1093 * lyxfunc.C (dispatch): propogate the bibtex databases from the
1094 master file to any child files. Fixes bug 546.
1096 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1098 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1100 2003-11-24 André Pönitz <poenitz@gmx.net>
1102 * rowpainter.C: simplification
1104 * text2.C (updateCounters): remove call to redoParagraph on
1105 changed labels as this is far too expensive.
1107 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1109 * converter.C (convert): fix a crash: this function gets
1110 called with buffer == 0 from importer code.
1112 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1114 * text3.C (cursorPrevious): make sure that we do not compare
1115 iterators form different containers.
1118 * rowpainter.C (paintSelection): make sure that we do not compare
1119 iterators from different containers.
1121 * text3.C (dispatch): [PRIOR] make sure that we do not compare
1122 iterators from different ParagraphList containers.
1125 * text2.C (LyXText): change order of initialization slightly
1126 (operator=): new function. copy all variables except cache_par_
1127 (moveUp): make sure that we do not compare iterators from
1128 different ParagraphList constainers.
1131 * text.C (firstPar): new function
1132 (lastPar): new function
1133 (endPar): new function
1135 * lyxtext.h: move things around and group public functions, public
1136 variables, private functions, private variables
1138 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1140 * factory.C: change call to InsetERT constructor to avoid
1141 additional invocation of method status
1142 * text2.C (toggleInset): remove redundant update() call
1143 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1144 instead of a Bufferview pointer
1146 2003-11-21 André Pönitz <poenitz@gmx.net>
1148 * rowpainter.C: simplification
1150 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1152 * text3.C (dispatch): make possible to extend a word/row selection
1155 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1157 * lyxtext.h: x0_,y0_ -> xo_,yo_
1158 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1159 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1160 * rowpainter.C (paintRows): paint full paragraphs
1162 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1164 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1167 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1169 * lyxtext.h: add x0_, y0_
1170 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1171 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1173 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
1175 * text2.C (setCursorIntern): move the x_target update here *
1176 * text3.C: change some bv() to true/false in calls to
1177 cursorUp/Down/Right/Left
1178 * cursor.C: use helper function.
1180 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1182 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1183 * paragraph_funcs.[Ch]: correct comment
1184 * rowpainter.C: do not paint selections away from bv->cursor()
1185 Fix a long standing selection painting bug.
1186 * text3.C: generalize mouse-selection code to LyXTexts other that
1188 * textcursor.C: do not use y coords if we can use par offsets
1190 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1192 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1193 cursor position after e.g. inset insert)
1195 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
1197 * lyxfind.C (replace): adjust to locking removal + some
1200 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
1202 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1205 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
1208 * output_docbook.C: XML sanitation: new layout
1209 parameters InnerTag and CommandDepth
1211 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
1213 * BufferView_pimpl.C:
1215 * text3.C: Fix the insertion and modification of button-style
1218 2003-11-13 André Pönitz <poenitz@gmx.net>
1220 * InsetList.[Ch]: remove deleteLyXText
1222 * paragraph.[Ch]: cache beginOfBody position
1227 * text3.C: remove superfluous update() calls
1231 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1233 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1234 * BufferView.C (fitLockedInsetCursor): remove
1235 * cursor.[Ch] (getDim): add
1236 * text.C (getRowNearY): add faster version
1237 * text3.C: remove some update calls
1239 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1251 * text3.C: The Character Style /XML short element patch.
1253 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
1256 * factory.C: Small step to solving 'unable to insert some insets'
1259 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1261 * cursor.[Ch] (updatePos): new function for updating the y
1262 position of the tip inset
1263 * bufferview_funcs.C (put_selection_at):
1264 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1266 2003-11-11 André Pönitz <poenitz@gmx.net>
1268 * text.C: remove big comment on invalid Paragraph pointers as it is
1271 2003-11-11 André Pönitz <poenitz@gmx.net>
1273 * text_funcs.[Ch]: merge with ...
1281 * Makefile.am: remove text_funcs.[Ch]
1283 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1285 * cursor.C (getPos): return absolute cached y coord
1287 * BufferView_pimpl.C (fitCursor): new simplistic code
1288 (workAreaDispatch): add a fitCursor call
1290 2003-11-10 André Pönitz <poenitz@gmx.net>
1293 * BufferView_pimpl.[Ch]: merge update() and updateInset()
1295 2003-11-10 André Pönitz <poenitz@gmx.net>
1297 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1298 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1299 indicate that the cursor needs to leave an inset
1301 * lyxtext.h: remove inset locking
1303 * cursor.[Ch]: re-implement functionality provided by inset locking
1306 * BufferView_pimpl.[Ch]:
1308 * bufferview_funcs.[Ch]:
1320 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1322 * PosIterator.[Ch]: replace the stack with a vector, add inset
1324 * iterators.[C]: adjust
1326 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1328 * lyxfind.C (replaceAll): mark the buffer dirty if something was
1330 * paragraph_funcs.C (readParToken): put the correct id in the
1331 error item, not the id of the top paragraph
1333 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1335 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1336 * bufferview_funcs.C (put_selection_at): use the above
1338 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1340 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1342 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1344 * output_linuxdoc.h:
1345 * output_plaintext.h:
1347 * output_docbook.h: add #include statements
1349 2003-11-05 José Matos <jamatos@lyx.org>
1351 * output_docbook.[Ch]:
1352 * output_latex.[Ch]:
1353 * output_linuxdoc.[Ch]:
1354 * output_plaintext.[Ch]: New files for output formats.
1355 * output.[Ch]: New file for helper functions.
1358 * paragraph_funcs.[Ch]: output functions moved to new files.
1360 * outputparams.h: rename of latexrunparams.h
1368 * paragraph_funcs.[Ch]:
1369 * paragraph_pimpl.[Ch]:
1370 * tabular.[Ch]: rename ascii to plaintext
1371 and LatexRunParams to OutputParams.
1373 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1375 * iterators.[Ch] (text): require bv argument
1376 * undo.C (recordUndo):
1377 * lyxfunc.C (dispatch):
1378 * bufferview_funcs.C (put_selection_at): adjust
1380 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
1382 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1384 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1386 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1389 2003-11-04 André Pönitz <poenitz@gmx.net>
1391 * cursor.[Ch]: restructure
1394 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1396 * iterators.[Ch] (asCursor): remove
1398 * lfuns.h: remove LFUN_INSET_EDIT
1404 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1406 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1408 * lyxfind.[Ch]: complete overhaul
1409 * BufferView_pimpl.C:
1411 * paragraph.[Ch] (insert): add
1413 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1417 * text.C: remove dead spellcheck code
1419 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1421 * dispatchresult.h: add a val setter
1423 * cursor.C (dispatch): use a tempvar for data_[i]
1425 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1427 * PosIterator.[Ch]: compile fix
1429 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1431 * text.C (cursorPar): deactivate the cursor cache
1433 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1435 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1437 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1439 * text3.C (dispatch): adjust for new DisptchResult semantics.
1441 * lyxfunc.C (dispatch): handle update when return from
1442 Cursor::dispatch, adjust for new DispatchResult semantics.
1444 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1445 DispatchResult(true) mean to not update. Add class functions for
1446 setting dispatched and update, as well as reading.
1448 * cursor.C (dispatch): don't handle update here
1450 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1452 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1453 * trans_mgr.C: adjust
1455 * paragraph_funcs.C (readParToken): exception safety
1457 * lyxvc.h: store the vcs pointer in a scoped_ptr
1460 * lyxsocket.C (serverCallback): exception safety
1462 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1464 * ispell.C (clone): make it return a auto_ptr
1466 * factory.C (createInset): exception safety
1467 (readInset): exception safety
1469 * bufferlist.C (newBuffer): exception safety
1471 * Thesaurus.C (Thesaurus): use initialization for aik_
1473 * MenuBackend.C (expandToc): exception safety.
1475 2003-11-03 André Pönitz <poenitz@gmx.net>
1479 * bufferview_funcs.C: remove getInsetFromId()
1482 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1488 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1490 * PosIterator.C (distance, advance): new
1491 * bufferview_funcs.[Ch] (put_selection_at): new
1492 * iterators.[Ch] (lockPath): new
1494 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
1496 * iterators.[Ch] (asPosIterator): added
1497 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1498 * PosIterator.[Ch]: added
1500 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1504 * cursor.C (dispatch):
1505 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1507 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1508 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1509 contructor, add a class function dispatched. Remove operator>=
1511 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1513 * debug.C: only use the default constructor for debugstream
1516 * main.C (main): include debug.h and setup the lyxerr streambuf
1519 2003-10-31 José Matos <jamatos@lyx.org>
1521 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1523 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1524 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1525 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1526 * paragraph_pimpl.C (simpleTeXSpecialC):
1527 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1528 add LatexRunParams argument.
1530 * exporter.C (Export): change call accordingly.
1532 * latexrunparams.h: add new member to take care of the other backends.
1533 2003-10-30 José Matos <jamatos@lyx.org>
1535 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1536 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1537 factorise code for paragraph output.
1539 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1542 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1544 * text3.C (dispatch):
1545 * lyxfunc.C (dispatch):
1546 * cursor.C (dispatch):
1547 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1549 * dispatchresult.h: make the dispatch_result_t ctor explicit
1551 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1554 * buffer.C: small refactoring of docbook stuff
1556 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1558 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1561 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1563 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1564 operator dispatch_result_t, and operators for == != and >=
1566 * cursor.C (dispatch): adjust for operator dispatch_result_t
1567 removal. comment out call to update
1569 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1571 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1579 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1582 * dispatchresult.h: new file, DispatchResult broken out of
1585 * Makefile.am (lyx_SOURCES): add dispatchresult.h
1587 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1589 * text.C (rowBreakPoint): put a hack inside #if 0
1591 2003-10-28 André Pönitz <poenitz@gmx.net>
1595 * paragraph_funcs.C:
1598 * text2.C: general cleanup (lots of small stuff)
1600 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1602 * text2.C (cursorEnd): simple fix to the "end key goes to one
1603 before the end on last row" bug
1605 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1607 * text.C (backspace): fix the "zombie characters"
1609 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1611 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1613 2003-10-27 André Pönitz <poenitz@gmx.net>
1615 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1617 * factory.C: handle new InsetPagebreak, InsetLine
1619 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1620 and move handling into new InsetPagebreak, InsetLine
1622 * BufferView_pimpl.C:
1624 * ParagraphParameters.C:
1625 * ParameterStruct.h:
1630 * paragraph_funcs.C:
1631 * paragraph_pimpl.C:
1637 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1640 * lyxrow_funcs.[Ch]:
1646 * text3.C: remove lastPos uses in favour of Row::endpos
1648 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1650 * undo.C (performUndoOrRedo): fix two crashes by setting a
1651 cursor by hand and reordering some calls. Use bv->lockInset instead
1652 of inset->edit because the latter loses cursor information
1654 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
1656 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1658 (rowBreakPoint): fix width. change point to point + 1.
1659 Add a missing check.
1661 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
1664 * lyxfunc.C: fix (at least partly) the problems
1665 with the Nav menu and headers inside branch insets
1668 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
1670 * paragraph.C (getChar): add strong asserts
1672 * lyxrow_funcs.C (lastPos): remove hideous hack
1674 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1675 (fill): adjust to that (avoid an infinite loop)
1677 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1679 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1681 2003-10-23 André Pönitz <poenitz@gmx.net>
1683 * RowList_fwd.h: change list<> to vector<> to gain speed
1684 after suggestion from Alfredo
1686 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1688 * lyxtext.h: move the bidi stuff from here...
1691 * Bidi.[Ch]: ... to here
1693 2003-10-23 André Pönitz <poenitz@gmx.net>
1696 * text.C (isLastRow, isFirstRow): new functions
1698 * paragraph.h: new width cache member
1700 * rowpainter.C: replace RowList::iterator with Row & where possible
1702 * lyxfunc.C: replace several view()->text with a single call
1704 * toc.C: fix 'unused' warning
1706 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1708 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1709 when woring with stream::pos_type
1710 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1712 2003-10-22 André Pönitz <poenitz@gmx.net>
1715 * text.C: use Row & instead of RowList::iterator
1717 * lyxrow.h: rename end() to endpos()
1723 2003-10-22 Angus Leeming <leeming@lyx.org>
1725 * buffer.[Ch] (fully_loaded): new member function, returning true
1726 only when the file has been loaded fully.
1727 Used to prevent the premature generation of previews and by the
1728 citation inset to prevent computation of the natbib-style label.
1730 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1731 templates are all set up.
1733 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1735 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
1737 * text.C: fixed an "oops" in the "is a bit silly"
1740 2003-10-21 André Pönitz <poenitz@gmx.net>
1742 * FuncStatus.[Ch]: small stuff, whitespace
1744 * lyxfont.[Ch]: operator<<() for debug reasons
1748 * lyxtext.h: whitespace, spelling
1750 * paragraph.C: naming of variables
1753 * text2.C: small stuff
1756 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1758 * text.C: (1) finish off the inset display() work;
1759 (2) fix the "is a bit silly" bug (accessing char
1762 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1764 * text.C: re-introduce display() for insets, fixing the
1765 various bugs (stretch of line above, math inset
1768 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1770 * text.C (rightMargin): remove spurious semicolon
1772 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1775 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
1777 * text3.C: fix one crash due to wrong cursor def
1779 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1781 * vc-backend.C (scanMaster): make the regex static
1783 * LaTeX.C (scanAuxFile): make the regexs static
1785 * text3.C (doInsertInset, dispatch, dispatch):
1786 * text2.C (cursorUp, cursorDown):
1787 * text.C (selectNextWordToSpellcheck):
1788 * BufferView_pimpl.C (dispatch):
1789 * lyxfunc.C (dispatch): localDispatch -> dispatch
1791 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1793 * lyxsocket.C: include <cerrno>
1795 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1797 * lyxfunc.C (dispatch): remove textcache stuff
1799 * bufferlist.C (release): remove textcache stuff
1802 * TextCache.C: delete file
1803 * TextCache.h: delete file
1805 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1807 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1808 delete of the bv_->text.
1809 (resizeCurrentBuffer): remove texcache stuff
1810 (workAreaResize): ditto
1812 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1814 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1817 2003-10-16 André Pönitz <poenitz@gmx.net>
1824 * text3.C: speed up by storing y positions per paragraph plus per-row
1825 offset instead of having a 'full' y position in the row.
1827 2003-10-15 André Pönitz <poenitz@gmx.net>
1831 * undo.[Ch]: make undo aware of inner insets
1833 2003-10-14 Angus Leeming <leeming@lyx.org>
1835 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1836 static member functions LyX::ref() and LyX::cref.
1837 (lastfiles): new accessor functions for the new lastfiles_ member var.
1838 (addLyXView, views_): add a new LyXView to the list of views_.
1839 (updateInset): loop over all LyXViews to call their own updateInset
1840 member function, returning a pointer to the Buffer owning the inset.
1842 * BufferView_pimpl.C (loadLyXFile):
1843 * MenuBackend.C (expandLastfiles):
1844 * bufferlist.C (MenuWrite, QuitLyX):
1845 lastfiles is no longer a global variable.
1846 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1848 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1849 static function. Access through LyX::cref().emergencyCleanup().
1851 2003-10-14 André Pönitz <poenitz@gmx.net>
1853 * iterators.[Ch]: new direct access to innermost LyXText and Inset
1855 * undo.[Ch]: restoring part of 'undo in insets'
1858 * undo_funcs.[Ch]: merge with undo.[Ch]
1860 * tabular.C: small cleansing stuff
1862 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
1864 * paragraph_funcs.C (readParToken): report unknown insets as error
1865 boxes. Use the outer paragraph as location (also for unknown
1868 * factory.C (readInset): do not abort on reading an unknown inset.
1869 Eat it and return 0.
1871 2003-10-13 Angus Leeming <leeming@lyx.org>
1873 * lyx_main.C (LyX): remove call to setDisplayTranslator().
1875 * lyxrc.C: displayTranslator is now a function,
1876 declared in GraphicsTypes.h.
1878 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1880 * format.C: new placeholder $$a to pass the socket address.
1882 * bufferlist.[Ch]: new function getBufferFromTmp.
1884 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1885 files in the temporary dir.
1887 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1889 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1891 * Makefile.am: add lyxsocket.[Ch].
1893 * lyx_main.C (error_handler): handle SIGPIPE.
1895 2003-10-13 André Pönitz <poenitz@gmx.net>
1897 * BufferView_pimpl.C:
1902 * undo_funcs.[Ch]: use paroffset_type instead of
1903 ParagraphList::iterators to prevent multiple conversion
1904 (and get a more robust interface)
1906 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1908 * lyxfunc.C (dispatch): RESULT -> dispatch_result
1910 * text3.C (dispatch): ditto
1912 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1914 * LaTeX.C (handleFoundFile): move the static to smaller scope,
1915 move the onlyfile, use onlyfile instead of foundfile in a couple
1918 * DepTable.C (update): flush the error stream a bit more
1920 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1922 * lyxserver.C (callback): adjust
1924 * lyxfunc.C (getStatus): add a missing brace in commented code
1925 (ensureBufferClean): reindent
1926 (dispatch): delete version taking a string
1928 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1930 * LaTeX.C (deplog): move found file handlig from here...
1931 (handleFoundFile): .. to new function here.
1932 (deplog): make sure to discover several files mentioned on the
1935 2003-10-10 André Pönitz <poenitz@gmx.net>
1942 * text3.C: fix some of the tabular crashes
1944 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1946 * MenuBackend.C (binding): put debug message into Debug::KBMAP
1948 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1950 2003-10-09 André Pönitz <poenitz@gmx.net>
1952 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1955 * BufferView_pimpl.C:
1956 * bufferview_funcs.C:
1967 * undo_funcs.C: adjust
1969 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1971 * text2.C (incrementItemDepth): new function, use a backtracking
1972 algorithm to discover the correct item depth.
1973 (resetEnumCounterIfNeeded): new function, use a backtracking
1974 algorithm to discover if counter reset is needed.
1975 (setCounter): use them. Simplify a bit. Add different labels for
1976 different item depths for itemize.
1978 * paragraph.C (Paragraph): remove initialization of enumdepth
1981 * paragraph.h: get rid of enumdepth, and use itemdepth both for
1982 enumerate and itemize. Change the type of itemdepth to signed char.
1984 2003-10-08 André Pönitz <poenitz@gmx.net>
1986 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1991 * tabular.[Ch]: fix crash after 'row-insert'
1993 2003-10-08 Angus Leeming <leeming@lyx.org>
1995 Fix doxygen warnings.
1997 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1998 Remove CutAndPaste:: prefix from header file declaration.
2000 * LColor.h (fill): remove LColor:: prefix from declaration.
2002 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2003 use lyx::depth_type rather than Paragraph::depth_type so that
2004 header file and .C file match.
2006 * converter.h (intToFormat): remove Converters:: prefix from declaration.
2008 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2009 * aspell.C: \file aspell_local.C -> \file aspell.C
2010 * gettext.C: \file gettext.C -> \file src/gettext.C
2011 * gettext.h: \file gettext.h -> \file src/gettext.h
2012 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2013 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2014 * text.C: \file text.C -> \file src/text.C
2016 * toc.C: move comment so that doxygen is not confused.
2018 2003-10-07 Angus Leeming <leeming@lyx.org>
2020 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2022 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2025 * aspell_local.h: add forgotten std::string's.
2027 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2034 * text3.C: The Box patch. Fancybox support, minipage, parbox
2036 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2042 * ParagraphParameters.h:
2052 * lyxtextclasslist.h:
2055 * paragraph_pimpl.C:
2056 * textcursor.h: add <string> and other small fixes to make Lars'
2057 std::string patch compile with STLport.
2059 2003-10-06 Angus Leeming <leeming@lyx.org>
2061 * LColor.h: Add missing #include <string>.
2063 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2065 * All most all file in all subdirs: Make <string> be the prefered
2066 way of getting to std::string, add using declarations.
2068 2003-10-06 André Pönitz <poenitz@gmx.net>
2070 * metricsinfo.C: initialize LyXFont before changing attribute.
2071 (fixes the 'math in \emph is upright' bug)
2073 2003-10-06 André Pönitz <poenitz@gmx.net>
2075 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2077 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
2080 * paragraph_pimpl.C: Small fixes to build using STLport
2082 2003-10-02 André Pönitz <poenitz@gmx.net>
2085 * text3.C: move handling of LFUN_DEPTH *; fix #1360
2087 2003-10-01 André Pönitz <poenitz@gmx.net>
2089 * factory.C: assert early
2091 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2093 * lyx_main.C: remove the global debug object
2095 * debug.h: adjust for new debugstream
2097 * debug.C: adjust for new debugstream and keep the global debug
2100 2003-09-22 Angus Leeming <leeming@lyx.org>
2102 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2103 of g++ which otherwise complain that the scoped_ptr destructor can't delete
2104 an incomplete class LyXFont.
2106 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2108 * factory.C: bug fix in branches
2110 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2112 * lyxfunc.C (processKeySym): adjust
2114 (dispatch): change arg name from ev to func, adjust
2115 (sendDispatchMessage): ditto
2117 * lyx_main.C (defaultKeyBindings): adjust keybindings
2118 (deadKeyBindings): ditto
2120 * kbsequence.C (addkey): return a FuncRequest
2122 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2124 * kbmap.C (bind): take a FuncRequest as arg, adjust
2127 (defkey): change to take a FuncRequest as arg, adjust
2128 (findbinding): take a FuncRequest as arg, adjust.
2130 * funcrequest.h (operator=): added
2132 * funcrequest.C (FuncRequest): default kb_action changed from
2133 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2135 * buffer.C (dispatch): simplify
2136 (dispatch): adjust to take a FuncRequest as arg, adjust
2138 * boost.C (assertion_failed): change assertion message slightly
2140 * ToolbarBackend.C (read): simplify
2142 * MenuBackend.C (binding): adjust call to findbinding, add a
2143 message if no binding is found.
2145 (expandToc): correct by adding a empty FuncRequest
2147 * LyXAction.C: include <boost/assert.hpp>
2148 (isPseudoAction): delete function
2149 (LookupFunc): change name to...
2150 (lookupFunc): this. change return type to FuncRequest.
2151 (getActionName): take kb_action as arg, simplify
2152 (funcHasFlag): add an assert, simplify.
2154 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2156 * toc.C (action): return a FuncRequest, simplify
2158 * lyxfunc.C (processKeySym): adjust
2159 (getStatus): delete version that takes an int.
2161 (dispatch): delete version that takes action as int
2163 (sendDispatchMessage): simplify and adjust
2165 * funcrequest.C (getArg): take unsigned int as arg
2167 * ToolbarBackend.C (read): adjust
2168 (add): delete version that takes func as a string.
2169 (getIton): take a FuncRequest as arg
2171 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2174 * MenuBackend.C (MenuItem): add a new construct that only takes a
2175 Kind, simplify the constructor use for submenus.
2177 (expandLastfiles): adjust
2178 (expandDocuments): adjust
2179 (expandFormats): adjust
2180 (expandFloatListInsert): adjust
2181 (expandFloatInsert): adjust
2182 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2184 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2185 Remove class variables lyx_pseudo_map and lyx_arg_map
2187 * LyXAction.C (searchActionArg): delete function
2188 (getPseudoAction): delete function
2189 (retrieveActionArg): delete function
2190 (LookupFunc): make it return kb_action, simplify.
2191 (getActionName): simplify
2193 * factory.C (createInset): fix new bug
2195 2003-09-19 Angus Leeming <leeming@lyx.org>
2197 * CutAndPaste.C (pasteSelection): remove fudge used to set the
2198 masterFilename_ parameter in the include inset.
2200 * factory.C (createInset): changes due to the changes to InsetInclude.
2202 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2204 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2206 2003-09-18 Angus Leeming <leeming@lyx.org>
2209 * BufferView.C: pass the buffer when calling Inset::getLabelList,
2210 Inset::fillWithBibKeys.
2211 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2213 2003-09-18 Angus Leeming <leeming@lyx.org>
2215 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2217 (ctor): pass and store a 'Buffer const &'
2218 (buffer): new member function.
2220 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2221 '*this' to the LaTeXFeatures ctor.
2223 2003-09-18 Angus Leeming <leeming@lyx.org>
2229 * text.C: rename EnumLColor as LColor_color.
2231 2003-09-18 Angus Leeming <leeming@lyx.org>
2233 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2234 remove #include "insets/insetbase.h" from cursor.h.
2236 2003-09-18 Angus Leeming <leeming@lyx.org>
2238 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2239 InsetOld_code to remove #include "inset.h".
2241 * iterators.C: add #include "insets/inset.h"
2243 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
2245 * BufferView.C: remove more locking stuff that apparently doesn't
2246 do anything sensible.
2248 2003-09-16 André Pönitz <poenitz@gmx.net>
2251 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2254 2003-09-16 Angus Leeming <leeming@lyx.org>
2256 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2258 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2261 * paragraph.h: remove #include "lyxfont.h". Forward declare
2264 2003-09-16 Angus Leeming <leeming@lyx.org>
2266 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2267 of support/textutils.h.
2268 (isWord): move the contents of support/textutils.h's IsWordChar here.
2274 * text2.C: add #include "paragraph.h".
2277 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2279 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2285 * LaTeX.C: use namespace alias for lyx::support::os
2287 2003-09-16 Angus Leeming <leeming@lyx.org>
2290 * bufferview_funcs.C:
2293 * paragraph_pimpl.C:
2295 * text.C: add #include "LColor.h".
2297 2003-09-16 Angus Leeming <leeming@lyx.org>
2299 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2300 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2302 Store the FontBits::color variable as an int rather than as an
2303 LColor::colorso that we can move LColor.h out of the lyxfont.h header
2306 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2307 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2308 string calls together.
2310 * lyxrc.C: add #include "LColor.h".
2312 2003-09-15 Angus Leeming <leeming@lyx.org>
2314 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2317 2003-09-15 Angus Leeming <leeming@lyx.org>
2319 * LColor.h: add an EnumLColor wrapper for LColor::color.
2321 * lyxfont.[Ch] (color, setColor, realColor):
2322 * lyxtext.h, text.C (backgroundColor):
2323 pass EnumLColor args to/from the functions, rather than LColor::color
2327 * lyxtext.h: forward declare EnumLColor.
2329 * lyx_main.C: add #include "LColor.h".
2331 2003-09-15 Angus Leeming <leeming@lyx.org>
2333 * .cvsignore: add lyx-gtk.
2335 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2340 * ParagraphParameters.C
2344 * bufferview_funcs.C
2354 * vc-backend.C: remove usage of STRCONV
2356 2003-09-15 Angus Leeming <leeming@lyx.org>
2358 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2359 explicitly define the color passed to the painter.
2361 2003-09-15 Angus Leeming <leeming@lyx.org>
2363 * bufferparams.C (BufferParams): reorder member initializers to avoid
2366 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
2368 * CutAndPaste.C (pasteSelection): remove an outdated #warning
2369 * text.C (updateRowPositions): remove an unusual nop
2371 2003-09-12 André Pönitz <poenitz@gmx.net>
2373 * BufferView_pimpl.C:
2382 * Counters.[Ch]: finish the 'automatic counters' job
2384 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2386 * aspell.C: include <boost/assert.cpp> (compile fix)
2388 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
2390 * boost.C (assertion_failed): use lyx::support::abort instead of
2393 2003-09-10 Angus Leeming <leeming@lyx.org>
2395 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2396 with their _fwd progeny.
2398 2003-09-09 Angus Leeming <leeming@lyx.org>
2400 134 files throughtout the source tree: replace 'using namespace abc;'
2401 directives with the appropriate 'using abc::xyz;' declarations.
2403 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2405 * boost.C (emergencyCleanup): moved here from LAssert.c
2406 (assertion_failed): new function, called by BOOST_ASSERT
2408 * several files: change Assert to BOOST_ASSERT
2410 2003-09-09 Angus Leeming <leeming@lyx.org>
2412 * buffer.[Ch]: Add an Impl class and move Buffer's member
2413 variables into it. As a result move several header files out of
2416 Add header files to lots of .C files all over the tree as a result.
2418 2003-09-09 Angus Leeming <leeming@lyx.org>
2420 * buffer.[Ch]: make Buffer's member variables private. Add
2423 Lots of changes all over the tree as a result.
2425 2003-09-08 Angus Leeming <leeming@lyx.org>
2427 * graph.C: #include <config.h>.
2429 2003-09-08 Angus Leeming <leeming@lyx.org>
2433 * BufferView_pimpl.C:
2462 * toc.C: remove redundant using directives.
2464 2003-09-07 Angus Leeming <leeming@lyx.org>
2466 * LaTeXFeatures.h: remove #include "support/types.h".
2467 * ToolbarBackend.h: remove #include <algorithm>.
2468 * changes.h: remove #include <ctime>.
2469 * debug.h: remove #include <iosfwd>.
2470 * graph.h: remove #include "support/std_string.h".
2471 * lyx_main.h: remove #include <csignal>.
2472 * lyxlex_pimpl.h: remove #include <fstream>.
2473 * sgml.h: remove #include <algorithm>, <utility>.
2474 * toc.h: remove #include "support/std_ostream.h".
2475 Add #include <iosfwd>.
2477 2003-09-07 Angus Leeming <leeming@lyx.org>
2479 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2481 * converter.h: forward declare LatexRunParams.
2482 * encoding.h: remove #include "lyxrc.h".
2483 * lyxtext.h: remove #include "LColor.h".
2484 * lyxtextclass.h: remove #include "support/types.h".
2485 * trans.h: remove #include "tex-accent.h".
2486 * trans_mgr.h: remove #include "tex-accent.h".
2487 * insets/inset.h: remove #include "support/types.h", <vector>.
2488 * insets/insetcollapsable.h: remove #include "LColor.h".
2489 * insets/insetinclude.h: remove #include "dimension.h".
2490 * insets/insetlatexaccent.h: remove #include "dimension.h".
2491 * insets/insetoptarg.h:: remove #include "insettext.h".
2492 * insets/insettext.h: remove #include "dimension.h",
2493 <boost/shared_ptr.hpp>
2495 * insets/renderers.h: add #include "dimension.h".
2496 * insets/updatableinset.h: add #include "support/types.h".
2498 * many .C files: Associated changes.
2500 2003-09-06 Angus Leeming <leeming@lyx.org>
2502 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2503 one, inside testInvariant.
2505 * PrinterParams.C: new file.
2506 * PrinterParams.[Ch]: move the function bodies out of line.
2508 2003-09-06 Angus Leeming <leeming@lyx.org>
2510 * ParagraphParameters.h: forward declare ParameterStruct rather than
2511 including its header file.
2512 (depth): moved out-of-line.
2514 2003-09-06 Angus Leeming <leeming@lyx.org>
2516 * BufferView_pimpl.h:
2519 * lyxfunc.h: forward declare LyXKeySym rather than
2520 #include "frontends/LyXKeySym.h".
2522 * BufferView_pimpl.C:
2525 * lyxfunc.C: associated changes.
2527 2003-09-06 Angus Leeming <leeming@lyx.org>
2529 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2530 As a result, can remove the #include "insets/inset.h" from BufferView.h
2532 2003-09-06 Angus Leeming <leeming@lyx.org>
2534 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2535 As a result, can remove the #include "insets/inset.h" from BufferView.h
2537 2003-09-06 Angus Leeming <leeming@lyx.org>
2543 * bufferview_funcs.C:
2544 * BufferView_pimpl.C:
2549 * ParagraphParameters.C:
2554 * frontends/controllers/ControlDocument.C:
2555 * insets/insetcaption.C: rearrange the #includes into some sort of
2558 * buffer.h: remove #includes ErrorList.h, undo.h
2560 2003-09-06 Angus Leeming <leeming@lyx.org>
2562 * support/types.h: add a 'depth_type' typedef, used to store the
2563 nesting depth of a paragraph.
2566 * ParameterStruct.h: use this lyx::depth_type typedef rather than
2567 defining explicitly.
2570 * paragraph_funcs.h:
2571 * ParagraphParameters.h:
2572 * sgml.h: use lyx::depth_type rather than Paragraph or
2573 ParameterStruct's depth_type.
2576 * paragraph_funcs.h: no need to #include paragraph.h anymore.
2579 * BufferView_pimpl.C:
2581 * ParagraphParameters.C:
2584 * bufferview_funcs.C:
2591 * frontends/LyXView.C:
2592 * frontends/controllers/ControlDocument.C:
2593 * frontends/controllers/ControlErrorList.C:
2594 * insets/insetbibitem.C:
2595 * insets/insetbranch.C:
2596 * insets/insetcaption.C:
2597 * insets/insetcollapsable.C:
2598 * insets/insetenv.C:
2599 * insets/insetert.C:
2600 * insets/insetfloat.C:
2601 * insets/insetfoot.C:
2602 * insets/insetfootlike.C:
2603 * insets/insetnewline.C:
2604 * insets/insetquotes.C:
2605 * insets/insettabular.C:
2606 * insets/insettext.C:
2607 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2609 * frontends/controllers/ControlChanges.C: #include "changes.h".
2611 2003-09-06 Angus Leeming <leeming@lyx.org>
2613 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2614 than #including paragraph.h.
2617 * RowList.h: deleted. Superfluous.
2627 * insets/insettext.h: use ParagraphList_fwd.h rather than
2630 * paragraph.h: don't forward declare ParagraphList.
2633 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2634 rather than ParagraphList.h. paragraph.h is still needed for the
2635 Paragraph::depth_type parameters.
2637 * textcursor.h: enable it to compile stand-alone in light of the
2640 * bufferview_funcs.C:
2652 * frontends/controllers/ControlParagraph.C:
2653 * frontends/controllers/ControlTabular.C:
2654 * insets/insetmarginal.C:
2655 * insets/insetminipage.C:
2656 * insets/insetnote.C:
2657 * insets/insetoptarg.C: add header files needed to compile again.
2659 2003-09-06 Angus Leeming <leeming@lyx.org>
2661 * RowList_fwd.h: new file, forward-declaring Row rather than
2662 #including lyxrow.h.
2667 * insets/insettext.h: use it instead of RowList.h
2669 * bufferview_funcs.C:
2676 * text3.C: #include "RowList.h".
2678 2003-09-05 Angus Leeming <leeming@lyx.org>
2680 * factory.C (createInset):
2681 * vspace.C (c-tor): replace sscanf call with an istringstream.
2682 * ispell.C: re-add missing HP/UX headers.
2683 * lyxserver.C: re-add missing os2 headers.
2685 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
2694 * text3.C: re-add missing system headers, needed for 2.95.2.
2696 2003-09-05 Angus Leeming <leeming@lyx.org>
2698 Changes most place everywhere due to the removal of using directives
2699 from support/std_sstream.h.
2701 2003-09-05 Angus Leeming <leeming@lyx.org>
2703 Replace LString.h with support/std_string.h,
2704 Lsstream.h with support/std_sstream.h,
2705 support/LIstream.h with support/std_istream.h,
2706 support/LOstream.h with support/std_ostream.h.
2708 Changes resulting throughout the tree.
2710 2003-09-05 Angus Leeming <leeming@lyx.org>
2712 * sgml.h: ensure that the header file can be compiled stand-alone.
2713 * *.C: strip out redundant #includes. (320 in total.)
2715 2003-09-04 Angus Leeming <leeming@lyx.org>
2717 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2718 here (from getPackages).
2720 * debug.[Ch]: add a new EXTERNAL tag.
2722 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2724 * text2.C (cursorEnd): simplify
2726 (getColumnNearX): adjust
2728 * text.C (computeBidiTables): adjust
2731 * rowpainter.C (paintChars): adjust
2732 (paintSelection): adjust
2733 (paintChangeBar): adjust
2736 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2738 (numberOfSeparators): adjust
2740 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2746 * text3.C: Restricts the mouse click functionality
2747 of insets like bibtex, include, toc and floatlist to the visible
2748 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2749 up the dialogs. Cursor has to be in front of the inset (i.e.
2750 start of row) for this to function.
2752 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2754 * bufferview_funcs.C (currentState): output row information
2756 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2758 * bufferview_funcs.C (currentState): output paragraph position
2760 2003-09-04 Angus Leeming <leeming@lyx.org>
2762 * FloatList.h: move out #include "Floating.h".
2763 * LaTeX.h: move out #include "DepTable.h".
2764 * LyXAction.h: move out #include "funcrequest.h".
2765 * buffer.h: move out #include "author.h", "iterators.h".
2766 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2767 * lyx_main.h: move out #include "errorlist.h".
2768 * lyxfunc.h: move out #include "FuncStatus.h".
2769 * lyxtext: move out #include "lyxcursor.h".
2770 * paragraph_pimpl.h: move out #include "counters.h".
2772 2003-09-03 Angus Leeming <leeming@lyx.org>
2774 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2775 preamble_snippets list, enabling us to add snippets to the preamble
2776 only if the snippet was not there already.
2778 2003-09-04 Angus Leeming <leeming@lyx.org>
2780 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2782 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2784 * lyxfunc.C (dispatch): if fitCursor did something be sure to
2787 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2789 * BranchList.C: point fix, earlier forgotten
2791 2003-09-02 Angus Leeming <leeming@lyx.org>
2793 * box.C (contains): renamed from 'contained' after a fantastic
2796 2003-09-02 John Levon <levon@movementarian.org>
2802 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2804 2003-09-02 John Levon <levon@movementarian.org>
2806 * text2.C: simplification of cursorEnd(), including partial
2809 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2811 * buffer.C (readFile): add a space
2813 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
2815 * BufferView_pimpl.C (update): remove bogus fitCursor() call
2817 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2819 * buffer.C (readFile): new function, take a filename and a
2820 ParagraphList::iterator
2822 (readFile): adjust, make it private. don't use setStream, make
2823 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2824 always contain the filename.
2826 * BufferView.C (insertLyXFile): simplify and make it work for
2829 2003-08-30 John Levon <levon@movementarian.org>
2831 * Makefile.am: fix dist (from Kayvan)
2833 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2835 * most files: change to use const Buffer refs
2837 2003-08-27 André Pönitz <poenitz@gmx.net>
2839 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2840 on top of ownerPar().
2842 2003-08-27 John Levon <levon@movementarian.org>
2844 * funcrequest.C: properly initialise POD members
2846 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2848 * lyxtext.h (top_y): move top_y from here
2853 * BufferView_pimpl.[Ch]: to here
2854 * frontends/screen.C:
2855 * insets/insettabular.C:
2856 * insets/insettext.C: adjust
2857 * rowpainter.[Ch] (paintRows): remove LyXText & argument
2859 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2862 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2864 2003-08-26 André Pönitz <poenitz@gmx.net>
2866 * paragraph_func.[Ch] (outerPar): new function
2869 * paragraph_funcs.C:
2870 * paragraph_funcs.h:
2871 * paragraph_pimpl.C:
2872 * text2.C: remove Inset::par_owner
2874 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2879 * text2.C: eliminates the needFullRow/display() stuff
2880 altogether, putting the logic in metrics/draw in the insets.
2882 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
2884 * text2.C (redoParagraphInternal, redoParagraphs):
2885 * text.C (redoParagraph): add a call to updateRowPositions at the
2886 end of each 'metrics-like' call. Remove all others.
2887 (getRow): remove the 'y-computing' version.
2888 (getRowNearY): do not compute nor return the real y. Solve the
2889 'y < 0' problem and simplify.
2891 2003-08-22 Angus Leeming <leeming@lyx.org>
2893 * *.[Ch]: clean-up of licence and author blurbs.
2894 Also move config.h out of a few .h files and into a few .C files.
2896 2003-08-22 André Pönitz <poenitz@gmx.net>
2898 * lyxrow.[Ch]: add x_ and *fill_ members
2903 * text2.C: adjust/remove prepareToPrint() calls
2905 2003-08-22 André Pönitz <poenitz@gmx.net>
2907 * lyxrow.[Ch]: add end_ member
2909 * lyxrow_funcs.C: use LyXRow::end_
2911 * lyxtext.h (singleWidth): add LyXFont parameter
2914 * text2.C: adjust LyXText::singleWidth() calls
2916 * text.C (redoParagraph): simplify row breaking logic
2919 2003-08-19 André Pönitz <poenitz@gmx.net>
2921 * funcrequest.C: initialize button_ member
2924 * rowpainter.[Ch]: interface consolidation
2926 2003-08-18 André Pönitz <poenitz@gmx.net>
2929 * BufferView_pimpl.C:
2931 * paragraph_funcs.C:
2933 * text3.C: remove LyXScreen::draw() and fitCursor calls
2935 * BranchList.h: remove spurious semicolons
2937 * MenuBackend.C: fix branchlist related crash
2939 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2947 * bufferparams.[Ch]:
2951 * text3.C: implements the 'branch inset'
2952 idea. This allows the output of various versions of a document
2953 from a single source version, selectively outputing or suppressing
2954 output of parts of the text.
2955 This implementation contains a 'branch list editor' in a separate
2956 tab of the document settings dialog. Branches are user definable
2957 and have a "display colour" to distinguish them on-screen.
2959 ColorHandler was somewhat cleaned up.
2960 (1) make possible a dynamically growing LColor list by allowing
2961 the graphic context cache to grow along (vector);
2962 (2) eliminate an IMHO unnecessary step in colour allocation.
2964 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
2966 * BufferView_pimpl.C: compile fix
2968 2003-08-15 André Pönitz <poenitz@gmx.net>
2970 * rowpainter.C: remove extra metrics calls
2972 * lyxtext.h: merge the two constructors into a single one,
2973 pass reference to owner's par list
2975 * BufferView_pimpl.C:
2979 2003-08-15 André Pönitz <poenitz@gmx.net>
2981 * lyxrow_funcs.[Ch]:
2984 * paragraph_funcs.C:
2989 * text_funcs.C: split LyXText::rowlist_ into individual
2990 Paragraph::rows_ chunks
2993 * BufferView_pimpl.[Ch]:
2996 * text3.C: remove toggleSelection()
2998 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
3000 * bufferlist.C: beautify two alerts (shorter text of buttons)
3001 * buffer.C: Remove redundant ' ' from message
3003 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3004 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3005 rename VALIGN_CENTER to VALIGN_MIDDLE
3007 2003-08-11 André Pönitz <poenitz@gmx.net>
3009 * lyxtext.h (getPar):
3010 * text.C: new function
3012 2003-08-11 André Pönitz <poenitz@gmx.net>
3015 * tracer.[Ch]: remove unneeded files
3017 * InsetList.[Ch]: remove resizeInsetsLyXText()
3022 * text3.C: merge insertParagraphs() and appendParagraph()
3023 remove breakAgain(), update()
3025 * BufferView_pimpl.[Ch]:
3026 * bufferview_funcs.[Ch]:
3030 * tabular.C: adjust after text & InsetList changes.
3032 2003-08-08 André Pönitz <poenitz@gmx.net>
3034 * text.C (insertChar, backspace): replace rowlist fiddling
3035 with rebreak of full par
3038 * text.C (breakAgainOneRow, redoHeightOfParagraph,
3039 checkParagraph, updateInset): removed
3041 2003-08-07 André Pönitz <poenitz@gmx.net>
3044 * text3.C: merge some LFUN handlers, remove dead code
3046 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3048 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3050 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
3052 * text2.C (DEPM): fix part of bug 1255 and 1256
3054 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3056 * BufferView_pimpl.C (workAreaDispatch): change to use
3057 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3058 that are no mouse related.
3060 2003-08-05 André Pönitz <poenitz@gmx.net>
3063 * BufferView_pimpl.[Ch]:
3064 * bufferview_funcs.C:
3066 * text3.C: rip out "deep update"
3068 * textcursor.[Ch] (last_sel_cursor): remove unused member
3070 2003-08-04 André Pönitz <poenitz@gmx.net>
3073 * BufferView_pimpl.[Ch]:
3074 * ParagraphParameters.C:
3075 * bufferview_funcs.C:
3081 * text3.C: replace "complicated" BufferView::update(...) calls with
3084 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3086 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
3088 * Makefile.am (lyx_SOURCES): add paper.h
3090 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3092 * Makefile.am: move things around so that both lyx-qt and
3093 lyx-xforms can be built (according to --with-frontend). Then lyx
3094 is a symbolic link to lyx-[firstfrontend]
3096 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
3098 * Always use std::endl with lyxerr
3100 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
3102 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3104 2003-08-01 André Pönitz <poenitz@gmx.net>
3107 * BufferView_pimpl.[Ch]:
3109 * text3.C: merge BufferView::repaint() and BufferView::update()
3111 2003-08-01 José Matos <jamatos@lyx.org>
3113 * buffer.[Ch]: file_format is no longer a buffer data element.
3115 2003-08-01 André Pönitz <poenitz@gmx.net>
3120 * text2.C: make redoParagraph more independent of current cursor
3122 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3124 * text2.C: remove unneeded members
3126 2003-07-30 André Pönitz <poenitz@gmx.net>
3128 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3130 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3131 create a single function...
3133 * paragraph_funcs.C (moveItem): ... here.
3136 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3138 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3140 * LColor.[Ch]: Add comment and greyedout logical colors.
3142 2003-07-30 André Pönitz <poenitz@gmx.net>
3144 * tabular.C: don't use Assert too heavily. This crashes where it
3147 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
3149 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3150 is disabled (bug 1232)
3152 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3154 * factory.C: limited 'arg' scope
3156 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3158 * factory.C: fixed Note submenu issues
3160 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3162 * factory.C: submenu for Note/Comment/Greyedout
3164 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
3167 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3169 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
3172 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3173 greyedout. Patch provided by Jürgen Spitzmüller.
3175 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3177 * kbmap.C (read): fix error message when reading bind files
3179 2003-07-29 Angus Leeming <leeming@lyx.org>
3181 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3182 certainly does not do what it purports to do. I am doing it, and
3183 us, a favour by killing it.
3185 2003-07-28 José Matos <jamatos@lyx.org>
3187 * buffer.C (readBody, do_writeFile):
3188 * paragraph.C(readParagraph): \end_document replaces \the_end.
3190 2003-07-29 André Pönitz <poenitz@gmx.net>
3193 * BufferView_pimpl.[Ch]:
3197 * textcursor.[Ch]: remove toggleToggle & Co
3199 2003-07-28 José Matos <jamatos@fep.up.pt>
3201 * buffer.C (readParagraph):
3202 * params_func (readParToken, readParagraph):
3203 * paragraph.C (write): \layout -> \begin_layout.
3205 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3207 * lyxlex_pimpl.C (setFile): clean up slightly.
3209 * bufferparams.h: add compressed var
3211 * buffer_funcs.C (readFile): adjust for LyXLex change
3212 (newFile): ditto + simplify
3214 * buffer.C (writeFile): handle writing of compressed files
3216 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3217 Check if the file is compressed and set a bufferparm if so.
3219 * Makefile.am (lyx_LDADD): remove explicit -lz
3221 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3223 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3224 makeDocBookFile): put the real LyX version in the first line of
3228 * version.C.in: remove lyx_docversion
3230 * tabular.C (write_attribute): add a template-based version to
3231 write enums properly
3233 2003-07-28 André Pönitz <poenitz@gmx.net>
3238 * text3.C: use doubles again for x-coordinates. They are needed.
3240 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3242 * messages.C (getLocaleDir): use lyx_localedir()
3244 * lyxlex_pimpl.C (setFile): compress stuff
3246 * buffer.C (writeFile): add some compression stuff
3247 (do_writeFile): new func, dont call expliti close... will this
3250 * Makefile.am (lyx_LDADD): add -lz
3252 2003-07-28 José Matos <jamatos@fep.up.pt>
3254 * buffer.C: increment file format.
3255 * paragraph_funcs (readParagraph, readParToken):
3256 * paragraph.C (readParagraph): add \end_layout.
3258 2003-07-27 Angus Leeming <leeming@lyx.org>
3260 * Makefile.am: remove special casing for configure-time setting of
3261 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3263 * lyx_main.C (init): remove all Jean-Marc's magic setting of
3264 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3266 2003-07-26 André Pönitz <poenitz@gmx.net>
3268 * paragraph_func.[Ch]:
3269 * paragraph.C (realizeFont): inline it whereever it is used
3274 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3277 2003-07-26 André Pönitz <poenitz@gmx.net>
3281 * text2.C: get rid of LyXText::need_break_row
3283 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3285 * toc.[Ch]: put namespace toc inside namespace lyx
3287 * MenuBackend.C (expandToc2): adjust for lyx::toc
3290 * lyxfunc.C (dispatch): adjust for lyx::find
3292 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3293 lyx::find instead. Reorganize a bit.
3294 (LyXReplace): rename to replace
3295 (LyXFind): rename to find
3297 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3300 2003-07-26 André Pönitz <poenitz@gmx.net>
3302 * text.C (setHeightOfRow): restrict scope of temporary variable
3304 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
3305 code (never has been used?)
3307 2003-07-27 Asger Alstrup <alstrup@local>
3309 * text.C (fill): Optimise algorithm to exploit that we can reuse
3310 the LyXFont for many characters.
3311 (setHeightOfRow): Same thing.
3312 (rowBreakPoint): Same thing.
3314 2003-07-26 Asger Alstrup <alstrup@local>
3316 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3318 * text.C (singleWidth): Spurious font copying in hot-spot
3319 singleWidth avoided. Reorder tests for arabic for efficiency.
3321 * text.C (fill): handle empty paragraphs better.
3323 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3326 * encoding.h: add includes
3328 * lyxrc.C: remove reading of bind files
3330 * lyx_main.C (init): setup bindings and menus only if we have a
3333 * kbmap.C (read): new method. Do the actual reading of bind
3336 * converter.C (dvipdfm_options):
3339 (output): adapt PAPER_* enums.
3341 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3343 * bufferparams.h: remove paper-related enums from there
3345 * paper.h: New file. A trivial header file to hold paper-related
3346 enums. It should later expand to contain many paper-related
3349 * lyxrc.C: declare extern displayTranslator
3351 2003-07-27 José Matos <jamatos@fep.up.pt>
3353 * tabular.[Ch] (linuxdoc): add support for tables and figures
3356 2003-07-27 José Matos <jamatos@fep.up.pt>
3358 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3359 consistency in both functions.
3360 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3362 2003-07-26 Asger Alstrup <alstrup@local>
3364 * rowpainter.C (paintRows): Change algorithm to work directly on
3365 the insets rather than asking every character in the document
3366 whether its an inset.
3368 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
3370 * buffer.C (openFileWrite): factorize some code
3372 2003-07-26 Angus Leeming <leeming@lyx.org>
3375 * lyx_main.[Ch]: replace occurances of system_tempdir with
3378 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3380 * rename Inset to InsetOld
3382 2003-07-25 Asger Alstrup <alstrup@diku.dk>
3384 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3385 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3386 which I think is a bit clearer. EDIT is gone, since it was
3387 premature optimisation, and broken for mathed anyway.
3388 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3389 with cursor positioning in insets as well (math insets still do not
3390 work, but that's a different story anyway.) It mysteriously
3391 crashes sometimes with undo in the first paragraph, but I'm fairly
3392 confident that this is a compiler bug.
3394 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3396 * paragraph.C (Paragraph): adjust for new clone return type
3398 (copyIntoMinibuffer): ditto
3400 2003-07-25 Asger Alstrup <alstrup@lyx.org>
3402 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3403 by not having a special case, and always doing a full rebreak of
3404 the document after undo.
3406 2003-07-23 Angus Leeming <leeming@lyx.org>
3408 * factory.C (createInset): InsetExternal::setParams now takes a
3411 2003-07-23 Angus Leeming <leeming@lyx.org>
3413 * factory.C (createInset): changed interface to the external and
3414 graphics mailers' string2params functions.
3416 2003-07-23 Angus Leeming <leeming@lyx.org>
3418 * factory.C (createInset): pass a
3419 Buffer const * parameter to InsetExternalMailer's string2params.
3421 2003-07-22 John Levon <levon@movementarian.org>
3423 * Thesaurus.h: include the right aiksaurus header
3425 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3427 * MenuBackend.C (expand): check menu shortcuts unconditionally
3429 2003-07-21 Angus Leeming <leeming@lyx.org>
3431 * factory.C (createInset): pass a
3432 buffer_path parameter to InsetGraphicsMailer's string2params.
3434 2003-07-21 Angus Leeming <leeming@lyx.org>
3436 * BufferView_pimpl.C (buffer):
3439 * lyxfunc.C (dispatch):
3440 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3441 rather than the grfx shortcut.
3443 2003-07-21 André Pönitz <poenitz@gmx.net>
3445 * rowpainter.C: remove unused variables
3448 * tabular_funcs.h: move to tabular.C
3449 * Makefile.am: adjust
3451 * tabular.[Ch]: basic optical cleaning
3453 * author.h: pass references, not values
3455 2003-07-18 André Pönitz <poenitz@gmx.net>
3463 * text3.C: two-phase drawing for InsetText and InsetTabular
3464 some float -> int changes.
3466 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3468 * lyx_main.C: fix the fix
3470 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3472 * lyx_main.C: fix a crash in batch mode if no files specified
3475 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
3477 * format.[Ch] (papersize): moved to BufferParams
3478 * converter.[Ch] (dvips_options): moved to BufferParams
3479 (dvipdfm_options): moved to anon namespace
3480 * bufferparams.[Ch]: added above functions.
3482 2003-07-17 André Pönitz <poenitz@gmx.net>
3486 * text2.C: don't call inset->update() anymore
3488 * metricsinfo.[Ch]: add convenience constructor
3490 2003-07-16 André Pönitz <poenitz@gmx.net>
3495 * text2.C: replace the LyXCursor::irow_ member with
3496 on-demand computation of the value
3498 2003-07-16 John Levon <levon@movementarian.org>
3500 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3502 2003-07-15 André Pönitz <poenitz@gmx.net>
3505 * text2.C: remove no more needed refresh_row
3507 2003-07-15 André Pönitz <poenitz@gmx.net>
3512 * text3.C: refresh_status tristate -> need_update bool
3514 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
3516 * lyxtext.h (init): remove reinit argument (act as if always true)
3517 * text2.C: adjust to that
3519 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3521 * bufferview_funcs.[Ch]: introduce function replaceSelection()
3522 * text3.C: use it to delete selections in some cases
3523 (bugs 441, 673, 702, 954).
3525 2003-07-14 André Pönitz <poenitz@gmx.net>
3527 * rowpainter.[Ch]: reduce interface
3529 2003-07-14 André Pönitz <poenitz@gmx.net>
3531 * BufferView_pimpl.C:
3532 * text2.C: adjust after removing unused BufferView * argument
3534 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
3536 * text2.C (init): fix a crash fired on resize
3538 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
3540 * buffer.[Ch]: added new closing signal
3541 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3542 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3543 BufferView::Pimpl via the closing the signal
3545 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
3547 * buffer.[Ch]: take out all bv-related from buffer
3549 * BufferView_pimpl.[Ch]: connect to new signals
3550 * CutAndPaste.C: removed useless asserts
3551 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3554 * lyxfunc.C: moved view-related funciontality from vc here
3555 * paragraph.C: removed outdated comments
3558 2003-07-10 André Pönitz <poenitz@gmx.net>
3560 * BufferView_pimpl.C:
3564 * text2.C: remove InsetText::InnerCache, clean up consequences
3566 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
3568 * ispell.C: fix two typos in error messages
3570 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
3572 * Extend Note inset to other forms of annotation like Comment
3573 and Greyedout. Right button click gives dialog.
3575 Files modified or added (+):
3579 * ControlNote.[Ch] +
3581 * Makefile.am in frontends/xforms, frontends/xforms/forms,
3582 frontends/controllers
3586 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3588 * aspell.C: add missing namespace lyx::support
3590 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
3592 * BufferView.[Ch] (newFile): Add
3593 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3594 * LaTeX.[Ch] (message): added this signal and use it
3595 * buffer.[Ch] (busy, message): added these signals and use them
3596 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3600 * importer.C: use buffer signals instead of direct bv calling
3601 * lyx_cb.[Ch] (ShowMessage): removed
3604 * paragraph_funcs.C:
3605 * text2.C: use buffer signals
3607 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3609 * introduce namespace lyx::graphics
3611 2003-07-02 André Pönitz <poenitz@gmx.net>
3613 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3615 2003-07-01 André Pönitz <poenitz@gmx.net>
3622 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3623 text*.C to text_func.C
3625 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3627 * introduce namespace lyx::support
3629 2003-06-30 André Pönitz <poenitz@gmx.net>
3634 * text.C: re-enable --with-included-string
3636 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3638 * textcursor.C: add <config.h>
3640 * text.C (getWord): remove const from word_location arg
3642 * lyxvc.C (getLogFile): fix const type order
3644 * lyxtext.h: remove const from word_location arg, add arg name
3646 * lyxlayout.h: currect type on labeltype.
3648 * importer.C: correct \file
3650 * converter.C (intToFormat): use std:: on ret val, ws changes
3652 * bufferlist.h: correct \file
3654 * buffer.C (makeLinuxDocFile): fix const type order
3655 (makeDocBookFile): ditto
3656 (fillWithBibKeys): use std:: on stdlib args.
3658 * CutAndPaste.C: fix authors.
3659 (availableSelections): use std:: on return vector
3661 2003-06-27 André Pönitz <poenitz@gmx.net>
3663 * BufferView_pimpl.C:
3664 * bufferview_funcs.C:
3672 * text3.C: remove LyXCursor::row_ member
3675 * text.C: rename fullRebreak() to partialRebreak() and implement
3676 a fullRebreak() that really bereks fully
3678 * textcursor.h: new struct for cursor-related data
3680 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
3682 * lyx_main.C (LyX): get full path of document loaded on the
3685 2003-06-26 André Pönitz <poenitz@gmx.net>
3687 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3688 remove unused/broken operator>,<,>=.
3690 * text.C: remove only use of broken operator<= in an Assert().
3692 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3694 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3695 moved errorlist_.clear to showErrorList
3697 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3699 * converter.C (scanLog, runLaTeX):
3700 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3701 move the bv->showErrorList call to the callers
3702 * lyxfunc.C: i.e. here...
3704 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3705 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3706 namespace, the second to...
3707 * buffer_funcs (BufferFormat, parseErrors): added
3708 * errorlist.C (ErrorList(TeXErrors const &)): removed
3710 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3712 * ToolbarBackend.C (getIcon): complain when icon cannot be found
3714 2003-06-24 "Garst R. Reese" <reese@isn.net>
3718 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3720 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3722 * version.C.in: change docversion to 1.4
3724 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
3726 * buffer.C: fix a bug just introduced
3728 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3730 * buffer.[Ch]: added the parseError signal and use it, removed
3732 * BufferView.[Ch] (addError): moved to ...
3733 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3734 to the Buffer::parseError signal to catch (guess what) parse errors
3735 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3737 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3739 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3740 ability to create a buffer and to return an existing one from
3741 the list. Moved these functions to...
3742 * buffer_funcs.[Ch]: added
3743 * BufferView.[Ch] (loadLyXFile): added
3744 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3745 job removed from bufferlist::loadLyXFile.
3746 * buffer.C (setReadOnly): make it work without view
3747 (i.e added an if (users))
3749 2003-06-19 Angus Leeming <leeming@lyx.org>
3752 * LyXAction.C (init):
3753 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3754 with LFUN_DIALOG_SHOW <name> <data>.
3756 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3758 * CutAndPaste.C (availableSelections): small compilation fix for
3759 ancient (gcc 2.9x) compilers
3761 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3763 * text3.C (cursorNext): add tmp var
3765 * text2.C (updateCounters): for function calling out of for clause
3766 (replaceSelectionWithString): ditto
3767 (insertStringAsParagraphs): ditto
3768 (getColumnNearX): add tmp var
3769 (setCursorFromCoordinates): add tmp var
3770 (cursorDownParagraph): add tmp var
3771 (deleteEmptyParagraphMechanism): add tmp var
3773 * text.C (insertChar): add tmp var
3775 * rowpainter.C (paintDepthBar): add tmp var
3777 * CutAndPaste.C (availableSelections): potentially check all
3778 paragraphs in a cut to fill the shown strings.
3780 2003-06-18 André Pönitz <poenitz@gmx.net>
3782 * kbmap.[Ch]: use vector<> instead of list<>
3784 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3786 * text3.C (dispatch): handle arg to LFUN_PASTE, call
3787 pasteSelection with index
3789 * text2.C (pasteSelection): modify, call pasteSelection with index
3791 * paragraph.C (asString): reimplement version with no interval to
3792 call the one with interval.
3794 * lyxtext.h: add index arg to pasteSelection
3796 * MenuBackend.C (MenuItem): handle PasteRecent
3797 (Menu::read::Menutags): add md_pasterecent
3799 (expandPasteRecent): new function
3802 * MenuBackend.h: add PasteRecent to MenuItem::Kind
3804 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3806 (availableSelections): new function
3808 2003-06-17 Angus Leeming <leeming@lyx.org>
3810 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3812 2003-06-17 Angus Leeming <leeming@lyx.org>
3815 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3817 * lyxfunc.C (dispatch): invoke it.
3819 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3821 * iterators.C (operator++, ParPosition): reintroduce some
3822 const_cast for the benefit of older compilers.
3824 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3826 * text3.C (dispatch): do not modify clipboard when doing
3827 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3828 LFUN_DELETE_SKIP on a selection selection
3830 2003-06-16 André Pönitz <poenitz@gmx.net>
3836 * tabular.[Ch]: IU of clone() and getLabelList();
3838 2003-06-13 André Pönitz <poenitz@gmx.net>
3840 * tabular.h: compactification
3842 2003-06-12 André Pönitz <poenitz@gmx.net>
3846 * tabular_funcs.h: some renaming plus whitespace
3848 2003-06-12 André Pönitz <poenitz@gmx.net>
3851 * BufferView_pimpl.C:
3857 * toc.C: Return a Paragraph & for ParIterator::operator*()
3859 2003-06-11 John Levon <levon@movementarian.org>
3863 * ToolbarBackend.C: add "Toolbars" section and
3866 2003-06-10 Angus Leeming <leeming@lyx.org>
3869 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3871 * lyxfunc.C (dispatch): invoke it.
3873 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3875 * main.C: protect <ios> with HAVE_IOS
3876 (main): protect sync_with_stdio with HAVE_IOS
3878 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
3880 * text2.C (cutSelection): adjust
3881 (pasteSelection): adjust
3883 * messages.C: handle get of empty string
3885 * main.C (main): use sync_with_stdio(false)
3887 * lyxfunc.C (dispatch): adjust
3889 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3890 (WriteAs): remove unneeded BufferView arg.
3892 * bufferparams.h: use correct types on papersize, papersize2 and
3895 * bufferparams.C (readToken): adjust for type
3896 (writeLaTeX): add missing cases to switch.
3898 * bufferlist.C (quitWriteBuffer): adjust
3901 * buffer.C (asciiParagraph): remove some commented code.
3903 * CutAndPaste.C: remove current_view extern variable.
3904 (cutSelection): add BufferParams arg.
3905 (eraseSelection): add BufferParams arg.
3906 (pasteSelection): add Buffer const & arg
3908 2003-06-07 John Levon <levon@movementarian.org>
3911 * paragraph_funcs.C:
3912 * paragraph_pimpl.C:
3916 * paragraph.C: allow InsetERT to freely space lines,
3917 and some consolidation of code
3919 2003-06-06 José Matos <jamatos@fep.up.pt>
3921 * buffer.C (makeDocBookFile): fix bug #821
3923 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3925 * BufferView_pimpl.C (dispatch): use Dialogs::visible
3927 2003-06-04 Angus Leeming <leeming@lyx.org>
3929 * buffer.C: bump format to 224.
3931 2003-06-05 André Pönitz <poenitz@gmx.net>
3933 * text2.C (redoParagraphs): remove two const_cast<>
3935 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3937 * ParagraphList.h: remove last remnants of NO_STD_LIST
3939 2003-06-03 Angus Leeming <leeming@lyx.org>
3941 * factory.C (createInset): small change to the way InsetExternal's params
3944 2003-06-04 André Pönitz <poenitz@gmx.net>
3946 * buffer.h: use Undo directly instead of shared_ptr<Undo>
3948 * paragraph_pimpl.h:
3949 * paragraph.[Ch]: some Inset -> UpdatableInset changes
3951 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3953 * undo_funcs.C: make some simple cases of undo work again
3955 2003-06-03 John Levon <levon@movementarian.org>
3957 * ispell.C: HPUX doesn't have sys/select.h
3960 2003-06-03 John Levon <levon@movementarian.org>
3962 * CutAndPaste.C: update tabular and include inset
3967 * paragraph.C: remove owningBuffer(), don't pass Buffer
3970 * factory.C: insetGraphicsParams changed
3972 2003-06-02 John Levon <levon@movementarian.org>
3978 * text3.C: remove insetparent
3980 2003-06-02 John Levon <levon@movementarian.org>
3983 * buffer.C: fix inset_iterator.end(), move out of line
3986 2003-06-01 John Levon <levon@movementarian.org>
3988 * text3.C: use a proper cut/paste when doing inset
3989 insert (from Jürgen Spitzmüller)
3991 2003-06-01 John Levon <levon@movementarian.org>
3993 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3995 2003-05-30 André Pönitz <poenitz@gmx.net>
3997 * rowpainter.C: unify second drawing phase
3999 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4001 * trans_mgr.C: remove one case of current_view
4003 * text2.C (cursorBottom): delete NO_STD_LIST stuff
4005 * paragraph_funcs.h: remove paragraph.h include
4007 * paragraph.h: delete NO_STD_LIST stuff
4009 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4011 * buffer.h: remove paragraph.h include
4013 * ParagraphList.C: delete file
4015 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4017 * toc.C (getTocList): adjust
4019 * paragraph_pimpl.C (validate): adjust
4021 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4023 * paragraph.C (Paragraph): adjust
4024 (getPositionOfInset): use const_iterator, adjust
4025 (bibitem): use const_iterator, adjust
4026 (setInsetOwner): adjust
4028 * iterators.C (operator++): adjust
4030 * InsetList.[Ch]: Replace selfmade iterator with standard
4031 vector::iterator also introduce const_iterator. Remove getPos,
4032 getInset and setInset from InsetTable. Adjust accordingly.
4034 * BufferView.C (lockInset): adjust
4035 (ChangeInsets): adjust
4037 * tabular.[Ch]: delete commented same_id functions
4039 2003-05-28 John Levon <levon@movementarian.org>
4041 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4043 2003-05-28 André Pönitz <poenitz@gmx.net>
4045 * metricsinfo.[Ch]: remove 'fullredraw' member
4047 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
4049 * lyxtextclass.C (operator): remove caching.
4051 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4055 * text2.C (cursorBottom): adjust
4056 (setCounter): use ParagraphList::find, adjust
4058 * text.C (workWidth): use ParagraphList::find, adjust
4060 * lyxcursor.C (LyXCursor): adjust
4062 * buffer.C (inset_iterator): adjust
4064 * ParagraphList.h: make iterator(value_type) private, make
4065 ParagraphList a friend of iterator.
4067 * ParagraphList.C (find): new function
4069 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4071 2003-05-27 André Pönitz <poenitz@gmx.net>
4073 * dimension.[Ch]: a -> asc, d -> des, w -> wid
4075 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4077 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4079 2003-05-26 John Levon <levon@movementarian.org>
4081 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4083 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4085 * remove same_id from function signatures, adjust.
4087 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4089 * undo_funcs.C (createUndo): use the id functions directly, adjust.
4091 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4093 * paragraph.C (Paragraph): get rid of same_ids parameter
4095 * ParagraphList.C (insert): adjust
4098 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4100 * paragraph_funcs.C (breakParagraph): adjust
4101 (breakParagraphConservative): adjust
4103 * buffer.C (readParagraph): adjust
4105 * ParagraphList.C (insert): take a reference instead of a pointer
4108 * paragraph.[Ch] (id): new function
4110 * bufferlist.C (newFile): adjust
4112 * ParagraphList.C (ParagraphList): adjust
4114 (push_back): take a reference instead of a pointer.
4116 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4118 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4121 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4122 set else use old code.
4124 * ParagraphList.C: remove all NO_NEXT code and only compile this
4125 code of NO_STD_LIST is set.
4127 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4129 * BufferView_pimpl.C:
4139 * graphics/GraphicsConverter.C:
4140 * graphics/PreviewLoader.C: header adjustment
4142 2003-05-23 Angus Leeming <leeming@lyx.org>
4144 * LaTeXFeatures.[Ch] (useBabel): new method.
4145 * bufferparams.C (writeLaTeX): use it.
4147 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4149 * ParagraphList.h (set): remove unused function.
4151 2003-05-23 André Pönitz <poenitz@gmx.net>
4154 * BufferView_pimpl.C:
4158 * undo_funcs.C: setUndo reworked
4160 * iterators.[Ch]: add access to topmost ParagraphList
4162 * lyxtext.[Ch] (workWidth): add a const
4164 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4166 * texrow.[Ch] (increasePos): remove function
4167 * exporter.C (export): removed unused var and outdated comment
4169 2003-05-23 Angus Leeming <leeming@lyx.org>
4171 * latexrunparams.h: rename fragile as moving_arg.
4172 * paragraph.C (simpleTeXOnePar): ditto.
4173 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4175 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4177 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4179 (textUndoOrRedo): comment out a currently unused var.
4181 * paragraph.h (NO_NEXT): enable NO_NEXT
4183 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4185 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4187 * exporter.C (Export): adjust for removeAutoInsets removal.
4189 * buffer.C (runChktex): adjust for removeAutoInsets removal.
4191 * LyXAction.C (init): remove LFUN_REMOVEERRORS
4193 * BufferView.[Ch] (removeAutoInsets): delete function
4195 2003-05-22 Angus Leeming <leeming@lyx.org>
4197 * latexrunparams.h: add a free_spacing variable.
4199 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4200 to pass moving_arg, as the data is stored in runparams.fragile.
4202 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4203 to Inset::latexOptional or to simpleTeXOnePar.
4205 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4206 free_spacing arg to Inset::latexOptional.
4208 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4211 2003-05-22 Angus Leeming <leeming@lyx.org>
4213 * latexrunparams.h: add fragile and use_babel variables.
4215 * bufferparams.[Ch] (writeLaTeX): return use_babel.
4216 * buffer.C (makeLaTeXFile): store this returned value in
4217 runparams.use_babel, thus passing it to the inset::latex methods.
4219 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4220 simpleTeXSpecialChars as it is now stored in runparams.fragile.
4222 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4223 longer has a fragile arg, as it is stored in runparams.fragile.
4225 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4226 moving_arg parameter as the data is stored in runparams.fragile.
4228 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4229 a fragile parameter as the data is stored in runparams.fragile.
4231 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4233 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4235 2003-05-22 Angus Leeming <leeming@lyx.org>
4237 * latexrunparams.h: add a 'bool nice' which defaults to false.
4239 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4240 now encapsulated within runparams.
4242 * bufferlist.C (updateIncludedTeXfiles):
4243 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4245 2003-05-22 Angus Leeming <leeming@lyx.org>
4247 * latexrunparams.h: new file containing struct LatexRunParams.
4248 * Makefile.am: add new file.
4250 * LaTeX.[Ch] (c-tor, run):
4251 * buffer.[Ch] (makeLaTeXFile):
4252 * bufferlist.[Ch] (updateIncludedTeXfiles):
4253 * converter.C (convert, scanLog):
4254 * converter.[Ch] (runLaTeX):
4255 * exporter.C (Export):
4256 * paragraph.[Ch] (simpleTeXOnePar):
4257 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4258 * paragraph_funcs.[Ch] (latexParagraphs):
4259 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4260 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4261 pass around a LatexRunParams parameter.
4263 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4265 * paragraph.[Ch]: remove unused constructor
4267 * ParagraphList.C (erase): new function, taking two iterators
4269 2003-05-22 André Pönitz <poenitz@gmx.net>
4271 * undo_funcs.C: remove duplicated code
4273 * iterator.[Ch]: operator=
4275 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4277 * tabular.C (SetMultiColumn): ws changes
4279 * rowpainter.C (paintFirst): get rid of a ->previous
4281 * lyx_cb.C (getPossibleLabel): parlist simplification
4283 * BufferView.C (ChangeInsets): simplify slightly.
4285 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4287 * LyXAction.C: new lfun space-insert, kill protected-space-insert
4288 * lfuns.h: new LFUN_SPACE
4289 * lyxfunc.C: protected space has a new lfun
4290 * paragraph_funcs.C: read new space insets
4292 * factory.C: handle new space insets
4294 2003-05-22 André Pönitz <poenitz@gmx.net>
4297 * BufferView_pimpl.C:
4300 * undo_funcs.C: return a ParIterator from getParFromID.
4302 * iterators.[Ch]: add two const's
4304 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4306 * toc.C (getTocList): adjust
4308 * iterators.[Ch]: rework for parlist
4310 * buffer.C (par_iterator_begin): adjust
4311 (par_iterator_end): adjust
4313 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4315 * BufferView.C (removeAutoInsets): adjust
4316 (ChangeInsets): adjust
4318 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
4320 * text.C (top_y): fix bug 1110
4322 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
4324 * errorlist.[Ch]: added
4327 * BufferView_pimpl.C:
4328 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4331 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4333 * Makefile.am: ensure that lyx is relinked upon changes to the
4334 various "convenience" libs.
4336 2003-05-20 Angus Leeming <leeming@lyx.org>
4338 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4339 files are compiled in alphabetical order again.
4341 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4343 2003-05-19 Angus Leeming <leeming@lyx.org>
4345 * gettext.[Ch]: remove "char const * _(char const *)".
4347 2003-05-19 André Pönitz <poenitz@gmx.net>
4349 * dimension.[Ch]: promote from mathed/dimension.[Ch]
4358 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4360 2003-05-19 André Pönitz <poenitz@gmx.net>
4364 * lyxtextclass.[Ch]:
4366 * paragraph_funcs.[Ch]:
4368 * text3.C: more insetenv work
4370 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
4372 * ParagraphParameters.C (params2string): small bug fixed
4374 2003-05-16 André Pönitz <poenitz@gmx.net>
4377 * bufferview_funcs.C: patch from Kornel Benko to prevent
4378 crash when _(...) is called twice in a statement
4380 2003-05-16 André Pönitz <poenitz@gmx.net>
4387 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4389 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
4391 * lyx_main.C (init): remove spurious static_cast
4393 2003-05-14 André Pönitz <poenitz@gmx.net>
4395 * BufferView.C: fix format string
4397 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
4399 * BufferView.[Ch] (insertErrors): removed
4400 * BufferView.[Ch] (showErrorList): added
4401 * buffer.C (runChkTeX):
4402 * converter.C (scanLog): call showErrorList instead of inserterrors
4404 2003-05-13 André Pönitz <poenitz@gmx.net>
4406 * BufferView_pimpl.C:
4408 * bufferview_func.C:
4415 * tabular_funcs.h: tostr() from its own header
4417 * ParagraphParameters.C:
4422 * text3.C: STRCONV()
4424 2003-05-12 André Pönitz <poenitz@gmx.net>
4427 * BufferView_pimpl.C:
4431 * ParagraphParameters.C:
4435 * bufferview_funcs.C:
4448 * paragraph_funcs.C:
4452 * text3.C: boost::format -> bformat all over the place
4455 2003-05-09 André Pönitz <poenitz@gmx.net>
4457 * LColor.[Ch]: Pimpl the #include <map> away
4459 2003-05-09 John Levon <levon@movementarian.org>
4461 * bufferlist.C: never remove emergency saves
4463 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4465 * Makefile.am: better lib building
4467 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4469 * texrow.[Ch]: remove dependency on Paragraph and just store a id
4471 * paragraph_pimpl.C (simpleTeXBlanks): adjust
4472 (simpleTeXSpecialChars): adjust
4473 (simpleTeXSpecialChars): adjust
4474 * paragraph.C (simpleTeXOnePar): adjust
4475 * buffer.C (makeLaTeXFile): adjust
4477 * Makefile.am (BOOST_LIBS): allow boost as system lib.
4479 * text2.C (changeDepth): parlist cleanup
4480 (getColumnNearX): ditto
4482 * rowpainter.C (getLabelFont): parlist cleanup
4484 * bufferlist.C (newFile): parlist cleanup
4486 * CutAndPaste.C (eraseSelection): parlist cleanup
4488 * BufferView_pimpl.C (trackChanges): parlist cleanup
4491 * BufferView.C (lockInset): parlist cleanup.
4492 (ChangeInsets): ditto
4494 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4496 * CutAndPaste.h: Update file header.
4498 * CutAndPaste.C: Update file header.
4499 Store the parts cut out of the Document in a limited_stack.
4500 (copySelection): adjust
4501 (pasteSelection): new function, takes the index in the limited stack.
4502 (nrOfParagraphs): adjust
4503 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4504 simplify error inset insertion.
4505 (checkPastePossible): adjust
4507 2003-05-06 John Levon <levon@movementarian.org>
4509 * text2.C: don't cast wrap inset to float
4511 2003-05-05 André Pönitz <poenitz@gmx.net>
4514 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4516 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4517 few naked Paragraph *.
4519 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
4521 * bufferparams.C: Output warning if a document with missing
4522 TeX document class is loaded
4523 * exporter.C: Disable TeX exports if the document class is missing
4526 * lyxtextclasslist.C: Handle new textclass.lst format; new method
4527 isTeXClassAvailable()
4529 2003-05-03 John Levon <levon@movementarian.org>
4532 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4533 explicit cursor show/hide
4535 * BufferView_pimpl.h:
4536 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4537 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4539 * lyxfunc.C: hide cursor before dispatching.
4544 * text3.C: remove explicit cursor hides
4546 2003-05-02 André Pönitz <poenitz@gmx.net>
4548 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4551 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4554 * text2.C: tiny whitespace
4556 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4558 * undo_funcs.C: almost only ws changes.
4560 * ParagraphList.C (splice): just return if pl is empty.
4562 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4564 * ParagraphList.C (splice): new function.
4566 * CutAndPaste.C (pasteSelection): use it
4568 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4570 * CutAndPaste.C (pasteSelection): remove the last next and
4571 previous from this file.
4573 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4575 * CutAndPaste.C (pasteSelection): more clean up, user proper
4576 ParagraphList functions for pasteing.
4578 * ParagraphList.C (insert): new function, three arg insert
4580 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4582 * ParagraphList.C (insert): new function, three arg insert
4584 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4587 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4589 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4591 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4593 * CutAndPaste.C (pasteSelection): remove some unneeded code.
4595 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4597 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4598 (copySelection): clean up a bit.
4599 (pasteSelection): use make_pair
4601 * ParagraphList.C (ParagraphList): implement copy constructor
4602 (operator=): implement, base on copy constructor.
4605 * paragraph.C (erase): return a bool
4607 * paragraph_pimpl.C (erasePos): remove function, move contents...
4608 (erase): ... here. Return a bool.
4609 (erase): call erase instead of erasePos.
4611 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
4613 * ParagraphList.h: define PitPosPair
4614 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4615 ParagraphList, fix a bug on pasting multiple pars
4616 * text2.C: change interface to C&P
4618 2003-04-30 André Pönitz <poenitz@gmx.net>
4620 * undo_func.C: revert part of yesterday's patch 2
4622 2003-04-30 John Levon <levon@movementarian.org>
4624 * LColor.C: s/tabular/table/
4626 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4628 * text3.C (dispatch): do not convert iterator -> pointer
4629 * undo_funcs.C (setCursorParUndo): ditto
4630 * text_funcs.C (transposeChars): ditto
4632 * text2.C (setLayout): ws changes only
4634 * text.C (breakParagraph): do not convert iterator -> pointer
4636 (acceptChange): ditto
4637 (rejectChange): ditto
4642 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4645 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4647 * text3.C (gotoInset): YABG (yet another bad getChar)
4649 2003-04-29 André Pönitz <poenitz@gmx.net>
4651 * paragraph.h: make operator= private unimplemented as long as
4654 * ParagraphList.C: whitespace
4657 * paragraph_pimpl.[Ch]:
4658 * paragraph_funcs.C:
4660 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
4663 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4665 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4667 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4668 * paragraph.[Ch] (erase):
4669 * paragraph_pimpl.[Ch] (erase): change return type and value
4670 * text2.C (cutSelection): some rework
4672 2003-04-28 John Levon <levon@movementarian.org>
4674 * bufferlist.C: changes for unsaved changes dialog
4676 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4678 * bufferlist.C (newFile): set language (messages_) for new
4681 * buffer.C (readFile): ws changes only.
4683 2003-04-28 André Pönitz <poenitz@gmx.net>
4688 * BufferView_pimpl.C:
4689 * BufferView.C: getParFromID related ParagraphList::iterator changes
4691 2003-04-28 André Pönitz <poenitz@gmx.net>
4693 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4696 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4698 * messages.C: remove one more localedir class variable.
4700 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4702 * messages.C (getLocaleDir): singleton generation function
4704 (Messages): add a default constructor.
4706 * main.C (main): do not setup localedir here, do not call
4709 * gettext.C (_): use it.
4710 (gettext_init): delete funciton
4712 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4714 * gettext.C (getLyXMessages): new singleton generating function.
4716 * buffer.C (updateDocLang): adjust
4718 * Makefile.am (messages.o): add target
4719 (main.o): remove target
4721 2003-04-27 John Levon <levon@movementarian.org>
4726 * lyxvc.C: specify cancel button in Alert::prompt
4728 2003-04-26 John Levon <levon@movementarian.org>
4733 * LyXAction.C: add LFUN_INSET_SETTINGS
4735 * lyxfunc.C: don't enable tabular-feature when there's
4736 just any locking inset
4738 2003-04-26 John Levon <levon@movementarian.org>
4740 * bufferlist.C: re-add Cancel to buffer close question
4742 * lyxfunc.C: fix import UI a bit
4744 2003-04-25 John Levon <levon@movementarian.org>
4746 * gettext.C: remove the broken asserts for now
4748 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4750 * messages.C: make case where setlocale cannot comply work better.
4752 * buffer.C (updateDocLang): new function
4753 (changeLanguage): use it
4756 * text2.C (setCounter): use B_ a bit.
4758 * lyxlayout.C (Read): be sure to trim the label strings.
4760 * messages.C (Messages): fix typo in comment
4762 * buffer.C (readFile): set message_ after file is loaded.
4763 (makeDocBookFile): remove double return
4764 (changeLanguage): reset message_ upon language change.
4765 (B_): new func, use this to get translated buffer strings.
4767 * main.C: add myself and Jean Marc as authors.
4769 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4771 * messages.[hC]: pimplify Messages, and three different pimpls to be
4772 used in different circumstances.
4774 * gettext.[Ch]: change for use with new message code.
4776 2003-04-24 André Pönitz <poenitz@gmx.net>
4778 * factory.C: support for eqref
4780 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4782 * messages.[Ch]: add missing char
4784 * Makefile.am (lyx_SOURCES): add messages.[Ch]
4786 * messages.[Ch]: New files
4788 2003-04-18 John Levon <levon@movementarian.org>
4792 * BufferView_pimpl.C:
4796 * text2.C: remove layout-copy/paste (bug 778)
4798 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4800 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4802 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4804 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4805 if they succeed. Act accordingly.
4807 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4809 * text2.C (setCharFont): adjust
4810 (setCounter): adjust
4811 (insertStringAsLines): adjust
4813 * text.C (leftMargin): adjust
4814 (setHeightOfRow): adjust
4816 * rowpainter.C (paintFirst): adjust
4819 * paragraph_funcs.C (depthHook): ParagraphList::iterators
4821 (isFirstInSequence): ditto
4822 (getEndLabel): ditto
4825 * paragraph.C (getParLanguage): comment out some hard stuff.
4827 * buffer.C (insertStringAsLines): take a ParagraphList as arg
4829 (simpleDocBookOnePar): ditto
4830 (makeDocBookFile): use ParagraphList::iterator
4832 * CutAndPaste.C (pasteSelection): adjust
4834 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4836 * text2.C (getFont): adjust
4837 (getLayoutFont): adjust
4838 (getLabelFont): adjust
4840 * paragraph_funcs.C (TeXOnePar): adjust
4842 * buffer.C (simpleLinuxDocOnePar): adjust
4843 (simpleDocBookOnePar): adjust
4845 * CutAndPaste.C (pasteSelection): adjust
4847 * BufferView.C (getEncoding): adjust
4849 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4851 2003-04-16 John Levon <levon@movementarian.org>
4853 * lyxfind.C: use parlist stuff for search/changes
4855 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4857 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4859 * text2.C (deleteEmptyParagraphMechanism): adjust
4861 * text2.[Ch] (ownerParagraph): delete func (both of them
4863 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4865 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4867 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4869 * ParagraphList.C: prepare for NO_NEXT
4871 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4873 * text2.C (getFont): adjust
4874 (getLayoutFont): adjust
4875 (getLabelFont): adjust
4877 * paragraph.C (getFont): adjust
4878 (getLabelFont): adjust
4879 (getLayoutFont): adjust
4881 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4883 2003-04-15 John Levon <levon@movementarian.org>
4887 * lyx_main.C: handle Include in .ui files
4889 2003-04-15 John Levon <levon@movementarian.org>
4891 * MenuBackend.C: make the doc files length shorter
4894 * ToolbarBackend.C: handle toolbar placement flags,
4897 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4899 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4902 * paragraph_funcs.C (TeXOnePar): adjust
4904 * paragraph.C (getLabelFont): add outerfont arg, adjust
4905 (getLayoutFont): ditto
4906 (simpleTeXOnePar): adjust
4908 * paragraph_pimpl.C (realizeFont): delete func
4910 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
4912 * text2.C (beforeFullRowInset): added a bad getchar check, removed
4913 row argument, constify cur argument.
4915 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4917 * text2.C (getFont): adjust
4918 (getLayoutFont): adjust
4919 (getLabelFont): adjust
4921 * paragraph_funcs.C (TeXOnePar): adjust
4922 (outerFont): new func...
4923 (realizeFont): ...moved out from here, changed this to facilitate
4926 * paragraph.C (getFont): take outerfont as arg, adjust
4927 (simpleTeXOnePar): add outerfont arg, adjust
4929 * buffer.C (simpleLinuxDocOnePar): adjust
4930 (simpleDocBookOnePar): adjust
4932 * CutAndPaste.C (pasteSelection): adjust
4934 * BufferView.C (getEncoding): adjust
4936 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4938 * text2.C (setCharFont): adjust
4939 (setCounter): adjust
4941 * text.C (leftMargin): adjust
4942 (setHeightOfRow): adjust
4944 * rowpainter.C (paintFirst): adjust
4947 * paragraph_pimpl.C (realizeFont): adjust
4949 * paragraph.C (isFirstInSequence): move from here...
4950 * paragraph_funcs.C (isFirstInSequence): ...to here
4952 * paragraph.C (outerHook): move from here...
4953 * paragraph_funcs.C (outerHook): ...to here
4955 * paragraph.C (depthHook): move from here...
4956 * paragraph_funcs.C (depthHook): ...to here
4958 * paragraph.C (getEndLabel): move from here...
4959 * paragraph_funcs.C (getEndLabel): ...to here
4961 * text2.C (realizeFont): move from here...
4962 * paragraph_funcs.C (realizeFont): ...to here
4964 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4966 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4968 2003-04-14 Angus Leeming <leeming@lyx.org>
4970 * LColor.[Ch]: scrap LColor mathcursor.
4972 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4974 * lyxlex.[Ch] (text): delete function
4975 * trans.C (Load): adjust
4976 * paragraph_funcs.C (readParToken): adjust
4978 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4980 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4981 vector<char> instead of a char[].
4983 * lyxlex_pimpl.C (getString): adjust
4985 (lex): use getString
4989 * lyxlex.C (text): use pimpl_->getString()
4993 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4995 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4996 (makeFontEntriesLayoutSpecific): temp var for par.size()
4997 (setLayout): temp var for ownerParagraphs().end()
4998 (fullRebreak): temp var for rows().end()
4999 (selectionAsString): temp var for boost::next(startpit), realize
5000 that the while really is a regular for loop.
5001 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5002 setCursor in one place.
5003 (setParagraph): temp vr for ownerParagraphs().end()
5004 (updateCounters): make the while loop a for loop
5005 (cutSelection): temp var for ownerParagraphs().end()
5006 (updateInset): make the do {} while() a regular for loop
5007 (getCursorX): use temp vars
5008 (setCurrentFont): use temp vars
5009 (getColumnNearX): use temp vars
5011 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5013 * text.C (transformChar): use temp var for getChar
5014 (computeBidiTables): use temp var for row->par()
5015 (fill): move temp vars for row->par() and pit->layout() earlier in
5017 (labelFill): use temp var for row->par()
5018 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5019 asc and desc, realize that pit never changes and that firstpit is
5020 just a duplicate and not needed. Exchange rit->par() with pit in a
5022 (breakAgain): use a temp var for boost::next(rit)
5023 (breakAgainOneRow): ditto
5024 (breakParagraph): use a temp var for rows().begin()
5025 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5026 (cursorRightOneWord): use temp var for cursor.par() and
5027 cursor.pos(), remove usage of tmpcursor.
5028 (cursorLeftOneWord): use temp var for cursor.par() and
5029 cursor.pos() only set cur at end of function.
5031 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5033 * text.C, text2.C: exchange all usage of Paragraph::next with
5034 boost::next(ParagraphList::iterator)
5036 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5038 * text2.C (cursorTop): simplify implementation
5039 (cursorBottom): ditto
5040 (setParagraph): use ParagraphList::iterator
5041 (setCurrentFont): adjust
5042 (getColumnNearX): adjust
5043 (cursorRight): adjust
5044 (cursorLeft): remove usage of Paragraph::previous
5045 (cursorUpParagraph): ditto
5046 (deleteEmptyParagraphMechanism): slight cleanup
5048 * text.C (isBoundary): take a Paragraph const & instead of a
5050 (addressBreakPoint): ditto
5051 (leftMargin): remove usage of Paragraph::previous.
5052 (setHeightOfRow): ditto
5053 (cursorLeftOneWord): ditto
5054 (selectNextWordToSpellcheck): ditto
5057 (breakParagraph): remove one usage of Paragraph::next
5058 (redoParagraph): ditto
5059 (acceptChange): ditto
5060 (insertChar): adjust
5061 (rowBreakPoint): adjust
5063 * bufferview_funcs.C (toggleAndShow): adjust
5065 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
5067 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5068 methods to access it.
5070 * text.C: Added updateRowPositions to compute all row positions.
5071 Make top_y and getRowNearY() to use the cached y position
5073 2003-04-11 John Levon <levon@movementarian.org>
5075 * text.C (rowBreakPoint): reintroduce the labelEnd
5076 checks, code copied from the row fill stuff. Deep voodoo.
5078 * text.C (fill): add a comment and debugging for the
5081 2003-04-11 John Levon <levon@movementarian.org>
5083 * text.C: make sure fullrow insets get wrapped to the next line,
5084 even when they're in a manual label
5086 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5088 * text2.C (insertParagraph): make it take ParagraphList::iterator
5090 (setLayout): make it return ParagraphList::iterator
5091 (redoParagraphs): ditto
5093 (checkParagraph): ditto
5095 * text.C (getRow): make getrow take ParagraphList::iterator as arg
5097 * text2.C: adjust several funcs.
5098 (realizeFont): take a ParagraphList::iterator as arg.
5099 (getLayoutFont): ditto
5100 (getLabelFont): ditto
5101 (setCharFont): ditto
5103 * text.C: adjust several funcs.
5105 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5107 * text.C (selectNextWordToSpellcheck): don't accidentally
5110 2003-04-10 John Levon <levon@movementarian.org>
5112 * ToolbarBackend.C (getIcon): special handling for
5115 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5117 * text2.C (cursorRight): a getChar assert fixed
5119 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5121 * text2.C (getFont): change to take a ParagraphList::iterator
5122 instead of Paragraph*
5123 Adjust several functions.
5125 * text.C (transformChar): change to take a ParagraphList::iterator
5126 instead of Paragraph*
5127 (singleWidth): ditto
5128 Adjust several functions.
5130 * rowpainter.C: adjust several functions
5131 * rowpainter.h:store a ParagraphList::iterator and not a
5135 2003-04-09 John Levon <levon@movementarian.org>
5140 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5141 and the "help" bits as well
5143 2003-04-09 John Levon <levon@movementarian.org>
5146 * ToolbarBackend.C: allow multiple toolbars
5148 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5150 * undo_funcs.C (setCursorParUndo): adjust
5152 * text_funcs.C (transposeChars): adjust
5154 * text3.C (gotoNextInset): adjust
5157 * text2.C (setLayout): adjust
5158 (changeDepth): adjust
5160 (redoParagraphs): adjust
5161 (selectionAsString): adjust
5162 (setParagraph): adjust
5163 (insertInset): adjust
5164 (cutSelection): adjust
5165 (copySelection): adjust
5166 (pasteSelection): adjust
5167 (insertStringAsLines): adjust
5168 (updateInset): adjust
5169 (setCursor): change to take a ParagraphList::iterator parameter
5170 (setCursorIntern): change to take a ParagraphList::iterator parameter
5171 (setCurrentFont): adjust
5172 (cursorLeft): adjust
5173 (cursorRight): adjust
5174 (deleteEmptyParagraphMechanism): adjust
5176 * text.C (breakParagraph): adjust
5177 (insertChar): adjust
5178 (acceptChange): adjust
5179 (rejectChange): adjust
5180 (selectNextWordToSpellcheck): adjust
5181 (changeCase): adjust
5185 * lyxfind.C (SearchForward): adjust
5186 (SearchBackward): adjust
5187 (nextChange): adjust
5189 * lyxcursor.C (par): adjust
5191 * lyxcursor.h: store a ParagraphList::iterator instead of a
5194 * lyx_cb.C (getPossibleLabel): adjust
5196 * bufferview_funcs.C (toggleAndShow): adjust
5198 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5201 * BufferView.C (removeAutoInsets): adjust
5202 (lockedInsetStoreUndo): adjust
5204 2003-04-09 John Levon <levon@movementarian.org>
5206 * ToolbarBackend.C: try icon without argument
5207 if with argument fails
5209 2003-04-08 John Levon <levon@movementarian.org>
5212 * ToolbarBackend.C: add getIcon(), handle tooltip,
5213 and change from "Icon" to "Item".
5215 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5217 * BufferView.C (lockInset): another bad getchar crunched
5219 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5221 * text2.C (changeDepth): do not setUndo on test_only (make undo work
5224 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
5226 * lyxfind.C (searchForward, searchBackwards): bug 782
5228 2003-04-07 John Levon <levon@movementarian.org>
5230 * paragraph.C: remove dead comment
5232 * text.C: remove troublesome depth-fiddling code
5233 in leftMargin() and rightMargin() (bug 1017)
5235 * text.C: fix breaking of rows in nested lists
5238 * text2.C (updateCounters): fix up depth values
5241 2003-04-07 John Levon <levon@movementarian.org>
5243 * BufferView_pimpl.C: clear message when doc finishes resizing,
5244 and after a mouse event
5246 * lyxfunc.C: clear message after exiting inset
5248 2003-04-07 John Levon <levon@movementarian.org>
5250 * bufferview_funcs.C: show math status not outside
5251 status in the statusbar
5253 2003-04-07 John Levon <levon@movementarian.org>
5255 * lyxfunc.C: note status changed after a depth change
5257 2003-04-04 Angus Leeming <leeming@lyx.org>
5259 * LaTeX.h: move AuxInfo operator==, != out of line.
5260 Remove LaTeX virtual destructor; nothing derives from it.
5261 Move operator()() out of public area and rename it startscript().
5262 Change protected for private.
5264 2003-04-04 Angus Leeming <leeming@lyx.org>
5267 * text2.C: remove unneeded #includes.
5269 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5271 * text2.C (dEPM): fix the heigth of the next row
5273 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5275 * text.C: squashed an invalid getChar requester + some ws changes
5277 2003-04-03 John Levon <levon@movementarian.org>
5279 * bufferview_funcs.h:
5280 * bufferview_funcs.C:
5283 * text2.C: make getStatus work for the env depth lfuns
5285 2003-04-03 John Levon <levon@movementarian.org>
5287 * bufferview_funcs.h:
5288 * bufferview_funcs.C:
5291 * text2.C: parlistize decDepth(), by merging it with incDepth()
5293 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5295 * lyxrow.h: store a ParagraphList::iterator instead of a
5296 Paragraph* and adjust other class functions to suit.
5298 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5301 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5303 * text2.C (setCursor): do not anchor to cursor row for the time being
5305 2003-04-02 John Levon <levon@movementarian.org>
5312 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5314 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5316 * paragraph.h: make ParagraphList and ParagraphList::iterator
5317 friends of Paragraph.
5319 * buffer.C (makeLinuxDocFile): move towards ParagraphList
5321 * ParagraphList.C: Use the private next_ and previous_ from
5324 2003-04-01 John Levon <levon@movementarian.org>
5328 * Makefile.am: rename, remove defaults gunk
5331 * MenuBackend.C: remove defaults gunk
5334 * Languages.C: remove defaults gunk
5337 * lyx_main.C: error out if files couldn't be found.
5339 2003-04-02 John Levon <levon@movementarian.org>
5341 * text2.C: make incDepth() use parlist
5343 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5345 * undo_funcs.C (firstUndoParagraph): adjust
5347 * text3.C (gotoInset): adjust
5348 (dispatch): adjust, and rewrite loop.
5350 * text2.C (init): adjust, and rewrite loop.
5351 (redoParagraphs): adjust
5352 (updateInset): adjust, and rewrite loop.
5353 (deleteEmptyParagraphMechanism): adjust
5355 * tabular.C (LyXTabular): adjust
5356 (SetMultiColumn): adjust
5359 * lyxtext.[Ch] (ownerParagraph): delete function
5360 (ownerParagraphs): new function returns a ParagraphList.
5362 * BufferView.C (removeAutoInsets): adjust
5363 (insertErrors): adjust
5364 (setCursorFromRow): adjust
5366 2003-04-01 Angus Leeming <leeming@lyx.org>
5368 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5371 2003-04-02 John Levon <levon@movementarian.org>
5377 * text_funcs.C: make transposeChars a free function
5379 * lyxrow_funcs.C: remove wrong comment
5381 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5384 * rowpainter.C: adjust
5389 * lyxrow_funcs. [Ch]: new files
5391 * lyxrow.[Ch]: remove next and previous pointers
5392 (next,previous): remove accessor functions
5393 (isParEnd): move to lyxrow_funcs
5394 (lastPos): move to lyxrow_funcs
5395 (nextRowIsAllInset): move to lyxrow_funcs
5396 (lastPrintablePos): move to lyxrow_funcs
5397 (numberOfSeparators): move to lyxrow_funcs
5398 (numberOfHfills): move to lyxrow_funcs
5399 (numberOfLabelHfills): move to lyxrow_funcs
5400 (hfillExpansion): move to lyxrow_funcs
5404 * bufferview_funcs.C (toggleAndShow): adjust
5406 * RowList.h: Remove class RowList from file leave just a
5409 * RowList.C: delete file
5411 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5414 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5416 * text3.C (cursorPrevious): adjust
5417 (cursorNext): adjust
5420 * text2.C (redoHeightOfParagraph): adjust
5421 (redoDrawingOfParagraph): adjust
5424 * text.C (breakParagraph): adjust
5425 (insertChar): adjust
5428 * rowpainter.C (RowPainter): adjust
5429 (leftMargin): simplify and adjust
5430 (most rowpainter functions): adjust.
5432 * rowpainter.h: store the row as RowList::iterator not as Row*
5434 * lyxcursor.C (row): taka RowList::iterator as arg
5437 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5440 2003-04-01 Angus Leeming <leeming@lyx.org>
5442 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5443 stuff like bool Bool.
5445 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5447 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5450 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5452 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5455 * lyxtext.h (rows): drop one version and leve a const variant that
5456 returns a RowList::iterator.
5458 2003-03-31 Angus Leeming <leeming@lyx.org>
5460 * text.C (fill): ensure that the signature is the same as that in the
5463 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
5465 * text2.C (redoParagraphs): adjust
5466 (updateCounters): adjust
5467 (checkParagraph): adjust
5468 (getColumnNearX): adjust and reformat a bit.
5470 * text.C (top_y): adjust
5472 (leftMargin): adjust
5473 (prepareToPrint): adjust
5475 (getRowNearY): adjust
5477 * lyxtext.h: make rowlist_ mutable.
5479 * RowList.h: add const_iterator
5480 * RowList.C: adjust for RowList::const_iterator.
5482 * text2.C (getCursorX): make it take a RowList::iterator as arg,
5485 2003-03-31 John Levon <levon@movementarian.org>
5488 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5490 * lyx_main.C: set default fonts from using lyx_gui funcs
5492 * exporter.C: pdf_mode moved from lyxrc
5495 * lyxfunc.C: changes from above
5497 2003-03-31 John Levon <levon@movementarian.org>
5499 * lyx_main.C: fix to the last fix
5501 2003-03-31 John Levon <levon@movementarian.org>
5503 * bufferlist.C: "Load original" -> "Load Original"
5509 * format.C: more Alert cleanups
5511 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5513 * text2.C (removeParagraph): make it take a RowList::iterator as
5515 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5516 (postRowPaint): make it take a RowList::iterator as arg, adjust.
5518 * text.C (anchor_row): make it take a RowList::iterator as arg,
5520 (computeBidiTables): make it take a const reference to Row instead
5521 of Row pointer, adjust.
5522 (leftMargin): make it take a RowList::iterator as arg, adjust.
5523 (rowBreakPoint): adjust
5524 (breakAgainOneRow): make it take a RowList::iterator as arg,
5526 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5528 * bufferview_funcs.C (toggleAndShow): adjust
5530 2003-03-30 John Levon <levon@movementarian.org>
5534 * boost-inst.C: moved to support
5536 * several files: changes as a result
5538 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5540 * text2.C (LyXText): adjust.
5542 (removeRow): make it take a RowList::iterator as arg, adjust.
5543 (fullRebreak): adjust
5544 (deleteEmptyParagraphMechanism): adjust
5545 (clearPaint): adjust
5548 * text.C (top_y): adjust
5549 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5550 (breakAgain): make it take a RowList::iterator as arg, adjust.
5551 (breakParagraph): adjust
5552 (insertChar): adjust
5555 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5556 need_break_row, and refresh_row.
5558 * text3.C (dispatch): adjust
5560 * text2.C (checkParagraph): adjust
5562 (setCursorFromCoordinates): adjust
5564 * text.C (top_y): adjust
5566 (getRow): make it return a RowList::iterator, adjust
5567 (getRowNearY): make it return a RowList::iterator, adjust
5569 * text2.C (init): adjust
5570 (insertRow): remove function
5571 (insertParagraph): adjust
5572 (redoParagraphs): adjust
5573 (fullRebreak): adjust
5574 (updateCounters): adjust
5576 * text.C (top_y): rewrite to use RowList iterators.
5578 (setHeightOfRow): rewrite to sue RowList iterators.
5579 (appendParagraph): adjust
5580 (breakAgain): adjust
5581 (breakAgainOneRow): adjust
5582 (breakParagraph): adjust
5584 (getRowNearY): adjust, and remove commented code.
5586 * lyxtext.h (firstRow): delete function
5587 (lastRow): delete function
5588 (rows): new function (const and non-const versions.)
5589 (insertRow): delete function
5591 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5593 2003-03-29 John Levon <levon@movementarian.org>
5595 * BufferView_pimpl.C: always update scrollbar top
5596 because pasting text when we're anchored could mean we
5597 miss an update altogether
5599 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5601 * text2.C (init): use rowlist_.end() and not 0.
5602 (insertRow): change to take a RowList::iterator as arg, adjust
5604 (insertParagraph): change to take a RowList::iterator as arg,
5606 (redoParagraphs): remove some debug msgs.
5608 * text.C (appendParagraph): change to take a RowList::iterator
5609 arg, adjust for this.
5610 (breakAgain): add an assert
5611 (breakAgainOneRow): ditto
5613 2003-03-29 John Levon <levon@movementarian.org>
5615 * text2.C: do not clear selection after inc/decDepth
5618 2003-03-29 John Levon <levon@movementarian.org>
5621 * buffer.C: fix broken strerrors according to Lars
5623 2003-03-29 John Levon <levon@movementarian.org>
5625 * converters.C: more Alert cleanups
5627 2003-03-29 John Levon <levon@movementarian.org>
5629 * bufferview_funcs.C: remove pointless Alert
5631 * buffer.C: fix confusing error message when
5632 a template is chmoded 000
5634 2003-03-29 John Levon <levon@movementarian.org>
5638 * BufferView_pimpl.C: Alert fixes
5642 * tabular-old.C: remove unused table compat reading
5644 2003-03-29 John Levon <levon@movementarian.org>
5649 * lyx_cb.C: more Alert cleanups
5651 * lyxfunc.C: don't allow chktex if not latex document
5653 2003-03-29 John Levon <levon@movementarian.org>
5657 * buffer.C: warnings pushed down from support/,
5660 2003-03-29 John Levon <levon@movementarian.org>
5662 * lyxfunc.C: safety check for C-r (revert)
5664 2003-03-29 John Levon <levon@movementarian.org>
5667 * bufferlist.C: several UI fixes using Alert::prompt.
5668 Fix the pointless looping quit code. Fix stupid revert
5673 * lyx_cb.C: use Alert::prompt
5675 * lyx_main.C: remove a silly question
5677 * lyxfunc.C: remove a couple of silly questions,
5680 2003-03-28 John Levon <levon@movementarian.org>
5682 * text2.C: fix bug 974 (End on empty par)
5684 2003-03-28 John Levon <levon@movementarian.org>
5686 * BufferView_pimpl.C:
5688 * lfuns.h: remove do-nothing math greek lfuns
5690 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5692 * lyxgluelength.h (isValidGlueLength): add default arg on
5693 parameter 2. Remove default arg from friend in class.
5695 * lyxlength.h (isValidLength): add default arg on parameter 2.
5696 Remove default arg from friend in class.
5698 * text2.C (LyXText): adjust, initialize refresh_row.
5702 (insertParagraph): adjst
5703 (redoParagraphs): adjust
5704 (fullRebreak): adjust
5705 (updateCounters): adjust
5706 (deleteEmptyParagraphMechanism): first attempt at fixing a
5709 * text.C (top_y): adjust
5710 (setHeightOfRow): adjust
5712 (getRowNearY): adjust
5714 * lyxtext.h: include RowList.h
5715 (~LyXText): not needed anymore, deleted.
5716 (firstRow): modify for RowList
5717 (lastRow): new function
5718 Delete firstrow and lastrow class variables, add a Rowlist
5719 rowlist_ class variable.
5721 * lyxrow.C (lastPos): use empty() and not !size() to check if a
5724 * RowList.C (insert): fix case where it == begin().
5726 2003-03-26 Angus Leeming <leeming@lyx.org>
5728 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5729 the thesaurus dialog.
5731 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5733 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5735 * RowList.[Ch]: new files
5737 * ParagraphList.C (erase): handle the case where it == begin
5740 2003-03-25 John Levon <levon@movementarian.org>
5744 * aspell.C: add new aspell support
5747 * lyxrc.C: Make use_pspell be use_spell_lib. Always
5750 2003-03-25 Angus Leeming <leeming@lyx.org>
5753 * LyXAction.C (init): new LFUN_INSET_INSERT.
5755 * BufferView_pimpl.C (dispatch): split out part of the
5756 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5758 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5761 2003-03-25 Angus Leeming <leeming@lyx.org>
5763 * lyxfunc.C (dispatch): changes to the Dialogs interface.
5765 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
5768 * text3.C: remove useless row->height(0)
5770 2003-03-25 John Levon <levon@movementarian.org>
5774 * text3.C: rename the refreshing stuff to better names
5776 2003-03-24 John Levon <levon@movementarian.org>
5778 * BufferView_pimpl.h:
5779 * BufferView_pimpl.C: update layout choice on a mouse
5782 2003-03-23 John Levon <levon@movementarian.org>
5784 * Makefile.am: fix commandtags.h reference
5786 2003-03-22 John Levon <levon@movementarian.org>
5788 * BufferView_pimpl.C:
5793 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5795 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
5798 * text.C: take the rtl methods out of line
5800 2003-03-21 André Pönitz <poenitz@gmx.net>
5802 * metricsinfo.[Ch]: new files containing structures to be passed around
5803 during the two-phase-drawing...
5805 2003-03-21 André Pönitz <poenitz@gmx.net>
5807 * lyxtextclass.C: read 'environment' tag.
5809 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
5811 * text2.C (removeRow): fix bug 964
5813 2003-03-20 John Levon <levon@movementarian.org>
5817 * text2.C: paint cleanups. Inset::update() dropped font
5820 2003-03-19 John Levon <levon@movementarian.org>
5822 * lyxfunc.C: only fitcursor/markDirty if available()
5824 2003-03-19 John Levon <levon@movementarian.org>
5826 * commandtags.h: rename to ...
5828 * lfuns.h: ... this, and renumber / cleanup
5830 2003-03-19 John Levon <levon@movementarian.org>
5832 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5833 fit the cursor after an lfun
5837 * BufferView_pimpl.h:
5838 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5840 * LyXAction.C: layout-character should have ReadOnly
5842 * ParagraphParameters.C:
5844 * bufferview_funcs.C:
5851 * undo_funcs.C: changes from above
5853 2003-03-18 John Levon <levon@movementarian.org>
5855 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5856 remove it from update()
5858 * lyxfunc.C: update layout choice after an lfun
5860 * text3.C: remove extra updateLayoutChoice()s
5862 2003-03-18 John Levon <levon@movementarian.org>
5864 * text.C: top_y change means full repaint, fix
5865 a drawing bug with cursor movement
5867 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5871 * text2.C: anchor row on setCursor
5873 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5875 * lyxtext.h: remove almost all mutable keywords
5878 * text3.C: remove const keywords accordingly
5880 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5882 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5884 (TeXEnvironment): ditto
5887 2003-03-17 John Levon <levon@movementarian.org>
5889 * text.C (rowBreakPoint): remove attempt to fix displayed
5890 math insets inside a manual label
5892 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5894 * lyxtext.h: remove BufferView* as first arg from almost all class
5896 * other files: adjust.
5898 2003-03-17 John Levon <levon@movementarian.org>
5902 * text2.C: more paint cleanups
5904 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5907 * rowpainter.C: remove "smart" background painting code
5909 2003-03-16 John Levon <levon@movementarian.org>
5914 * text3.C: add helper functions for setting refresh_row/y
5916 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
5918 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5919 newline inset which *can* get inserted in the pass_thru layouts.
5920 This is primarily for literate documents.
5922 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
5924 * buffer.C: increment LYX_FORMAT to 223
5926 2003-03-14 André Pönitz <poenitz@gmx.net>
5928 * textclass.h: prepare for environment handling, ws changes
5929 * lyxlayout.C: read latexheader and latexfooter tags
5931 2003-03-14 John Levon <levon@movementarian.org>
5933 * text2.C: rewrite ::status() a bit
5935 2003-03-13 John Levon <levon@movementarian.org>
5937 * lyxtext.h: add some docs
5939 2003-03-13 John Levon <levon@movementarian.org>
5944 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5946 2003-03-13 John Levon <levon@movementarian.org>
5948 * text3.C: fix appendix redrawing
5950 2003-03-13 John Levon <levon@movementarian.org>
5952 * text.C (setHeightOfRow):
5954 * rowpainter.C: make appendix mark have the text
5955 "Appendix" so the user knows what it is
5958 * LColor.C: s/appendixline/appendix/ from above
5960 2003-03-13 John Levon <levon@movementarian.org>
5962 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5964 * text.C: fix a getChar(pos) bug properly
5966 2003-03-13 Angus Leeming <leeming@lyx.org>
5969 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5970 Probably only temporary. Let's see how things pan out.
5972 * BufferView.C (unlockInset):
5973 * BufferView_pimpl.C (fitCursor):
5974 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5976 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5977 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5979 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5980 new functions that convert ParagraphParameters to and from a string.
5982 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5983 BufferView::Pimpl's dispatch.
5984 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5986 2003-03-13 André Pönitz <poenitz@gmx.net>
5990 * factory.C: make it aware of InsetEnv
5992 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5994 * text2.C (setCursor): never ask for one past last
5995 (setCursor): add some debugging messages.
5997 * text.C (singleWidth): never ask for one past last
5998 (singleWidth): ditto
6000 (rightMargin): ditto
6001 (rowBreakPoint): ditto
6002 (setHeightOfRow): ditto
6003 (prepareToPrint): ditto
6005 * rowpainter.C (paintBackground): never ask for one past last
6006 (paintText): never ask for one past last
6008 * paragraph_pimpl.C (getChar): make the assert stricter, never
6009 allow the one past last pos to be taken
6011 * paragraph.C (getChar): ws changes only
6013 * lyxrow.C (nextRowIsAllInset): never ask for one past last
6014 (numberOfSeparators): ditto
6015 (numberOfHfills): ditto
6017 2003-03-12 John Levon <levon@movementarian.org>
6023 * paragraph_funcs.C: fix per-buffer authorlists
6025 2003-03-12 John Levon <levon@movementarian.org>
6027 * text.C: fix newline in right address
6029 2003-03-12 Angus Leeming <leeming@lyx.org>
6031 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6032 duplicate those in LyXFunc::dispatch.
6036 * ToolbarDefaults.C:
6037 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6038 Add LFUN_FONTFREE_UPDATE.
6040 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6041 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6043 * bufferview_func.[Ch]: several new functions to facilliate
6044 transfer of data to and from the character dialog.
6046 2003-03-12 John Levon <levon@movementarian.org>
6051 * paragraph_funcs.C:
6052 * paragraph_pimpl.C:
6056 * text3.C: remove META_NEWLINE in favour of an inset
6059 * rowpainter.C: remove paintNewline (done by inset)
6061 2003-03-12 John Levon <levon@movementarian.org>
6063 * paragraph_pimpl.C: complain about bad getChar()s
6064 for a while at least
6066 2003-03-12 John Levon <levon@movementarian.org>
6069 * buffer.C: move paragraph read into a separate function,
6070 a little renaming to reflect that.
6073 * bufferparams.C: remove the author_ids map, not necessary now
6076 * factory.C: moved Buffer::readInset to here
6078 * paragraph_funcs.h:
6079 * paragraph_funcs.C: readParagraph free function moved from
6082 * tabular.C: name change
6084 2003-03-12 John Levon <levon@movementarian.org>
6087 * ParagraphParameters.C: move par params input to
6090 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6091 behave like a normal read from the stream wrt reading
6092 a line vs. a \\token
6094 2003-03-12 John Levon <levon@movementarian.org>
6097 * ParagraphParameters.h:
6098 * ParagraphParameters.C: move output code to a
6101 2003-03-12 John Levon <levon@movementarian.org>
6103 * BufferView.C (insertLyXFile):
6106 * tabular.C: use a parlist iterator for creating the
6109 2003-03-12 John Levon <levon@movementarian.org>
6111 * buffer.C: make current_change static local not
6114 2003-03-12 John Levon <levon@movementarian.org>
6116 * buffer.C: fix insertStringAsLines for change tracking
6118 2003-03-12 John Levon <levon@movementarian.org>
6125 * bufferparams.C: move author list into params. Rename some
6126 functions. Move the header reading into a separate token
6127 loop. Move the header token reading into BufferParams.
6129 2003-03-12 John Levon <levon@movementarian.org>
6131 * changes.C: put debug inside lyxerr.debugging() checks
6133 2003-03-11 André Pönitz <poenitz@gmx.net>
6135 * factory.C: make it aware of InsetHFill
6137 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6139 * buffer.C (latexParagraphs): move function from here...
6140 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6143 2003-03-10 Angus Leeming <leeming@lyx.org>
6145 * LyXAction.C (init): fix bug in poplating array with multiple entries
6146 with the same LFUN (spotted by JMarc).
6148 2003-03-10 John Levon <levon@movementarian.org>
6151 * text2.C: move getColumnNearX() near its
6154 2003-03-10 John Levon <levon@movementarian.org>
6156 * text.C: fix break before a minipage
6158 2003-03-10 John Levon <levon@movementarian.org>
6160 * text.C: fix the last commit
6162 2003-03-09 John Levon <levon@movementarian.org>
6166 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6167 bug 365 (don't break before insets unless needed). Don't
6168 return a value > last under any circumstances.
6170 2003-03-09 Angus Leeming <leeming@lyx.org>
6172 * BufferView_pimpl.C (trackChanges, dispatch): call
6173 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6175 2003-03-09 Angus Leeming <leeming@lyx.org>
6177 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6178 than Dialogs::showAboutlyx().
6180 2003-03-09 Angus Leeming <leeming@lyx.org>
6182 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6183 than Dialogs::showTabularCreate().
6185 2003-03-09 John Levon <levon@movementarian.org>
6189 * text2.C: 3rd arg to nextBreakPoint was always the same.
6192 2003-03-08 John Levon <levon@movementarian.org>
6199 * text2.C: Remove the "main" bit from the "main body"
6202 2003-03-08 John Levon <levon@movementarian.org>
6204 * text.C (leftMargin): The left margin of an empty
6205 manual label paragraph should not include the label width
6208 * text.C (prepareToPrint): don't attempt to measure hfills
6209 for empty manual label paragraphs - the answer should be 0
6211 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6213 * CutAndPaste.C: remove commented code and reindent.
6215 2003-03-08 John Levon <levon@movementarian.org>
6218 * lyxfunc.C: move reloadBuffer()
6221 * BufferView.C: to here
6223 * lyxvc.C: add comment
6226 * vc-backend.C: call bv->reload() to avoid
6227 getStatus() check on MENURELOAD
6229 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
6231 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6232 to an old format .dep file.
6234 2003-03-07 Angus Leeming <leeming@lyx.org>
6236 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6237 when the LFUN_MOUSE_RELEASE should have been handled by
6238 inset->localDispatch.
6240 2003-03-07 Angus Leeming <leeming@lyx.org>
6242 * BufferView_pimpl.C (dispatch):
6243 * LyXAction.C (init):
6244 * ToolbarDefaults.C (init):
6246 * lyxfunc.C (getStatus):
6247 remove LFUN_INSET_GRAPHICS.
6249 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6251 2003-03-07 Angus Leeming <leeming@lyx.org>
6254 * LyXAction.C (init):
6255 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6257 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6260 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6262 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6263 localDispatch method LFUN_INSET_DIALOG_UPDATE.
6265 2003-03-07 Angus Leeming <leeming@lyx.org>
6267 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6270 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6272 * ParagraphList.C (front): new function
6275 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
6277 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6278 and top_row_offset_. removed var first_y.
6280 * text2.C (LyXText, removeRow):
6282 * BufferView_pimpl.C:
6283 use these methods instead of using first_y
6285 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6287 * text2.C (pasteSelection): adjust for checkPastePossible
6289 * CutAndPaste.C: remove Paragraph * buf and replace with
6290 ParagraphList paragraphs.
6291 (DeleteBuffer): delete
6292 (cutSelection): change the tc type to textclass_type
6293 (copySelection): change the tc type to textclass_type
6294 (copySelection): adjust for ParagraphList
6295 (pasteSelection): change the tc type to textclass_type
6296 (pasteSelection): adjust for Paragraphlist
6297 (nrOfParagraphs): simplify for ParagraphList
6298 (checkPastePossible): simplify for ParagraphList
6299 (checkPastePossible): remove unused arg
6301 * ParagraphList.C (insert): handle the case where there are no
6304 * CutAndPaste.h: make CutAndPaste a namespace.
6306 * text3.C (dispatch): adjust
6308 * text.C (breakParagraph): add a ParagraphList as arg
6310 * paragraph_funcs.C (breakParagraph): change to take a
6311 BufferParams and a ParagraphList as args.
6312 (breakParagraphConservative): ditto
6313 (mergeParagraph): ditto
6314 (TeXDeeper): add a ParagraphList arg
6315 (TeXEnvironment): ditto
6318 * buffer.C (readLyXformat2): adjust
6319 (insertStringAsLines): adjust
6320 (latexParagraphs): adjust
6322 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6323 (cutSelection): adjust
6324 (pasteSelection): adjust
6326 * BufferView_pimpl.C (insertInset): adjust
6328 2003-03-05 Angus Leeming <leeming@lyx.org>
6331 * LyXAction.C (init):
6332 * BufferView_pimpl.C (dispatch):
6333 * lyxfunc.C (getStatus):
6334 remove LFUN_CHILD_INSERT.
6336 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6338 2003-03-05 Angus Leeming <leeming@lyx.org>
6341 * LyXAction.C (init):
6342 * src/factory.C (createInset):
6343 * lyxfunc.C (getStatus):
6344 * text3.C (dispatch):
6345 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6347 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6349 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6351 * ParagraphList.C (insert): handle insert right before end()
6352 (erase): fix cases where it can be first or last paragraph.
6354 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6356 * paragraph_funcs.C (TeXEnvironment): remove all usage of
6357 Paragraph::next and Paragraph::previous
6360 * text.C (breakParagraph): adjust
6362 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6363 BufferParams& as arg.
6364 (breakParagraph): use ParagraphList::insert
6365 (breakParagraphConservative): take a Buffer* instead of a
6366 BufferParams& as arg.
6367 (breakParagraphConservative): use ParagraphList::insert.
6369 * buffer.C (insertStringAsLines): un-const it
6370 (insertStringAsLines): adjust
6372 * ParagraphList.C (insert): new function
6374 * CutAndPaste.C (pasteSelection): adjust
6376 * text.C (backspace): adjust
6378 * tabular.C (SetMultiColumn): adjust
6380 * CutAndPaste.C (cutSelection): adjust
6381 (pasteSelection): adjust
6383 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6384 Buffer const * as arg
6386 * ParagraphList.C (erase): new function
6387 * paragraph_funcs.C (mergeParagraph): use it
6388 (mergeParagraph): make it take a Buffer* instead of a
6389 BufferParams* as arg
6391 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6393 (breakParagraphConservative): ditto
6395 * paragraph.h: remove the breakParagraph friend
6397 * paragraph.C (eraseIntern): new function
6398 (setChange): new function
6400 * paragraph_funcs.C (mergeParagraph): make it take a
6401 ParagraphList::iterator instead of a Paragraph *, adjust
6404 * paragraph.h: move an #endif so that the change tracking stuff
6405 also works in the NO_NEXT case.
6407 2003-03-04 Angus Leeming <leeming@lyx.org>
6410 * LyXAction.C: new LFUN_INSET_MODIFY.
6412 * BufferView_pimpl.C (dispatch): if an inset is found to be open
6413 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6415 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6417 * several files: ws changes only
6419 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6420 (TeXEnvironment): ditto
6423 * buffer.C (makeLaTeXFile): adjust
6424 (latexParagraphs): make it take ParagraphList::iterator as args
6426 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6428 * buffer.C (latexParagraphs): adjust
6430 * paragraph.C (TeXOnePar): move function...
6431 (optArgInset): move function...
6432 (TeXEnvironment): move function...
6433 * paragraph_pimpl.C (TeXDeeper): move function...
6434 * paragraph_funcs.C: ...here
6436 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6438 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6440 * buffer.C (readInset): remove compability code for old Figure and
6443 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6445 * buffer.C: ws changes
6448 * BufferView_pimpl.C: ditto
6451 * bufferlist.h: ditto
6455 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
6457 * converter.[Ch]: split into itself +
6460 * Makefile.am: += graph.[Ch] + format.[Ch]
6467 * lyxrc.C: added #include "format.h"
6469 2003-02-27 Angus Leeming <leeming@lyx.org>
6471 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6474 * factory.C (createInset): add "label" to the factory.
6476 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6477 string and do no more.
6479 2003-02-27 Angus Leeming <leeming@lyx.org>
6482 * LyXAction.C (init):
6483 * factory.C (createInset):
6484 * BufferView_pimpl.C (dispatch):
6485 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6487 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6489 * lyxfunc.C (dispatch):
6490 * text3.C (dispatch): pass name to params2string.
6492 2003-02-26 Angus Leeming <leeming@lyx.org>
6494 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6496 Rearrange the ~includes. Strip out the unnecessary ones.
6498 * factory.C (createInset): reformat.
6499 create new insets for the various LFUN_XYZ_APPLY lfuns.
6501 2003-02-26 John Levon <levon@movementarian.org>
6504 * lyxrow.C: add isParStart,isParEnd helpers
6506 * paragraph.h: make isInserted/DeletedText take refs
6508 * paragraph_funcs.h:
6509 * paragraph_funcs.C: remove #if 0'd code
6514 * text.C: use lyxrow helpers above.
6515 Move draw and paint routines to RowPainter.
6516 Make several methods use refs not pointers.
6517 Make backgroundColor() const.
6518 Add markChangeInDraw(), isInInset().
6519 Merge changeRegionCase into changeCase.
6520 Make workWidth() shouldn't-happen code into an Assert.
6523 * rowpainter.C: new class for painting a row.
6526 * vspace.C: make inPixels take a ref
6528 2003-02-26 Angus Leeming <leeming@lyx.org>
6530 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6533 2003-02-25 John Levon <levon@movementarian.org>
6535 * ispell.C: give the forked command a more accurate name
6537 2003-02-22 John Levon <levon@movementarian.org>
6540 * toc.C: make TocItem store an id not a Paragraph *
6543 2003-02-21 Angus Leeming <leeming@lyx.org>
6545 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6546 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6547 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6548 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6549 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6550 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6552 * BufferView_pimpl.C (dispatch):
6553 * LyXAction.C (init):
6554 * factory.C (createInset):
6555 * lyxfunc.C (getStatus, dispatch):
6556 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6558 2003-02-21 Angus Leeming <leeming@lyx.org>
6560 * BufferView_pimpl.C (MenuInsertLyXFile):
6561 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6562 * lyxfunc.C (menuNew, open, doImport):
6563 no longer pass a LyXView & to fileDlg.
6565 2003-02-21 Angus Leeming <leeming@lyx.org>
6567 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6568 * LyXAction.C: change, BIBKEY to BIBITEM.
6569 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6570 Change InsetBibKey to InsetBibitem.
6571 Change BIBKEY_CODE to BIBITEM_CODE.
6572 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6573 * factory.C: replace insetbib.h with insetbibitem.h.
6574 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6575 * paragraph.C: replace insetbib.h with insetbibitem.h.
6576 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6577 Change bibkey() to bibitem().
6578 * text.C: remove insetbib.h.
6579 * text2.C: replace insetbib.h with insetbibitem.h.
6580 change bibkey() to bibitem().
6581 * text3.C: remove insetbib.h.
6582 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6584 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6586 * lyxrc.C (output): enclose user email in quotes (in case there are
6589 2003-02-18 John Levon <levon@movementarian.org>
6591 * buffer.h: add std::
6593 2003-02-17 John Levon <levon@movementarian.org>
6599 * pspell.C: reworking. Especially in ispell, a large
6600 number of clean ups and bug fixes.
6602 * lyxfunc.C: fix revert to behave sensibly
6604 2003-02-17 André Pönitz <poenitz@gmx.net>
6607 * commandtags.h: new LFUN_INSERT_BIBKEY
6617 * paragraph_func.C: remove special bibkey handling
6619 2003-02-17 John Levon <levon@movementarian.org>
6621 * text.C (Delete): fix case where delete at the end of
6622 the very first paragraph would not merge the pars
6624 2003-02-17 John Levon <levon@movementarian.org>
6626 * lyxrow.C: fix lastPrintablePos()
6628 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6630 * bufferparams.C (writeLaTeX): add a std:here
6632 * buffer.C: and remove a using directive there
6634 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6636 * buffer.C (makeLaTeXFile): move the code that generates the
6639 * bufferparams.C (writeLaTeX): ... in this new method
6641 * LaTeXFeatures.C (getEncodingSet): make const
6642 (getLanguages): make const
6644 * MenuBackend.C (binding): returns the binding associated to this
6646 (add): sets the status of each item by calling getStatus. Adds
6648 (read): add support for OptSubMenu
6649 (expand): remove extra separator at the end of expanded menu
6651 2003-02-15 John Levon <levon@movementarian.org>
6654 * BufferView_pimpl.C:
6656 * bufferlist.C: remove pointless BufferStorage bloat. Remove
6657 inset code that had no actual effect. Remove unneeded status
6660 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6662 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6665 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
6667 * text.C (drawLengthMarker): also draw an arrow marker for
6668 symbolic lengths (medskip...)
6670 2003-02-14 John Levon <levon@movementarian.org>
6673 * tabular.C: better method names
6675 2003-02-14 John Levon <levon@movementarian.org>
6677 * BufferView_pimpl.C:
6682 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6683 it's a more accurate name. Remove some pointless uses.
6685 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6687 * text2.C (LyXText): change order of initilizers to shut off
6690 2003-02-14 John Levon <levon@movementarian.org>
6692 * buffer.C: use ParIterator for getParFromID()
6696 * paragraph_pimpl.h:
6697 * paragraph_pimpl.C: remove unused getParFromID()
6699 2003-02-14 John Levon <levon@movementarian.org>
6701 * buffer.C: remove some very old #if 0'd parse code
6703 2003-02-13 John Levon <levon@movementarian.org>
6707 * text2.C: move hfillExpansion(), numberOfSeparators(),
6708 rowLast(), rowLastPrintable(), numberofHfills(),
6709 numberOfLabelHfills() ...
6712 * lyxrow.C: ... to member functions here.
6717 * text.C: remove LyXText::beginningOfMainBody(), and call
6718 p->beginningOfMainBody() directly. Move the check for
6719 LABEL_MANUAL into the latter.
6726 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6732 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6733 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6735 2003-02-13 John Levon <levon@movementarian.org>
6737 * CutAndPaste.C: remove debug
6739 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6741 * paragraph.C (asString): remove two unused variables
6743 * lyxtextclass.C (readTitleType):
6745 (LyXTextClass): handle new members titletype_ and titlename_
6747 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6749 2003-02-09 John Levon <levon@movementarian.org>
6752 * buffer.C: replace hand-coded list with a map for the dep clean
6754 2003-02-08 John Levon <levon@movementarian.org>
6756 * LaTeX.C: consolidate code into showRunMessage() helper
6758 2003-02-08 John Levon <levon@movementarian.org>
6763 * BufferView.C: change setSelectionOverString() to setSelectionRange()
6764 and pass the size in explicitly
6766 * BufferView_pimpl.h:
6767 * BufferView_pimpl.C:
6769 * BufferView.C: add getCurrentChange()
6771 * BufferView_pimpl.h:
6772 * BufferView_pimpl.C: handle change lfuns
6774 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6775 for changes. Mark pasted paragraphs as new.
6777 * support/lyxtime.h:
6778 * support/lyxtime.C:
6779 * DepTable.C: abstract time_t as lyx::time_type
6782 * LColor.C: add colours for new text, deleted text, changebars
6784 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6785 package use "usenames" option.
6789 * LyXAction.C: add change lfuns
6793 * author.C: author handling
6796 * buffer.C: add a per-buffer author list, with first entry as
6797 current author. Handle new .lyx tokens for change tracking. Output
6798 author list to .lyx file. Output dvipost stuff to .tex preamble.
6799 Bump lyx format to 222.
6802 * bufferlist.C: add setCurrentAuthor() to reset current author details
6806 * bufferparams.C: add param for tracking
6808 * bufferview_funcs.C: output change info in minibuffer
6812 * changes.C: add change-tracking structure
6815 * debug.C: add CHANGES debug flag
6818 * lyxfind.C: add code for finding the next change piece
6821 * lyxrc.C: add user_name and user_email
6824 * lyxrow.C: add a metric for the top of the text line
6827 * text.C: implement accept/rejectChange()
6830 * text.C: paint changebars. Paint new/deleted text in the chosen
6831 colours. Strike through deleted text.
6835 * paragraph_pimpl.h:
6836 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6837 in the current change to the insert functions. Rework erase to
6838 mark text as deleted, adding an eraseIntern() and a range-based
6839 erase(). Implement per-paragraph change lookup and
6842 * paragraph_funcs.C: Fixup paste for change tracking.
6844 * tabular.C: mark added row/columns as new.
6846 * text.C: fix rowLast() to never return -1. Don't allow
6847 spellchecking of deleted text. Track transpose changes. Don't
6848 allow paragraph break or merge where appropriate.
6850 * text2.C: leave cursor at end of selection after a cut.
6852 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6854 * text.C (getLengthMarkerHeight):
6855 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6856 visible on screen too.
6858 2003-02-07 John Levon <levon@movementarian.org>
6860 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6862 2003-02-05 Angus Leeming <leeming@lyx.org>
6864 * lyxserver.C (read_ready): revert my patch of 11 September last year
6865 as it sends PC cpu through the roof. Presumably this means that
6866 the lyxserver will no longer run on an Alpha...
6868 2003-01-30 Angus Leeming <leeming@lyx.org>
6870 * factory.C (createInset): create an InsetCommandParam of type "index"
6871 and use it to 'do the right thing'.
6873 * text2.C (getStringToIndex): ensure that cursor position is always
6874 reset to the reset_cursor position.
6876 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6878 * lyxfunc.C (getStatus): "buffer-export custom" should never be
6881 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
6885 * lyxfunc.C: Output messages with identical spelling, punctuation,
6888 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
6890 * MenuBackend.C (expandFormats): List only viewable export formats
6893 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6896 * lyxfunc.C (getStatus): Make sure that formats other than
6897 "fax" can also be disabled
6899 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6901 * text3.C (dispatch): put the lfuns that insert insets in 3
6902 groups, and call doInsertInset with appropriate arguments.
6903 (doInsertInset): new function, that creates an inset and inserts
6904 it according to some boolean parameters.
6906 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6908 * buffer.C (readFile): remember to pass on 'par' when calling
6909 readFile recursively.
6911 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6913 * MenuBackend.C (expandFormats): add "..." to import formats.
6915 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
6917 * paragraph.C (asString): Remove XForms RTL hacks.
6919 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
6920 * buffer.C: fix typo
6922 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6924 * Makefile.am (LIBS): delete var
6925 (lyx_LDADD): add @LIBS@ here instead.
6927 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
6929 * Clarify the meaning of "wheel mouse jump"
6931 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6933 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6936 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6938 * importer.C (Loaders): do not preallocate 3 elements in the
6939 vector, since one ends up with 6 elements otherwise
6941 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6943 * DepTable.C (write): write the file name as last element of the
6944 .dep file (because it may contain spaces)
6945 (read): read info in the right order
6947 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6949 * paragraph_pimpl.C (simpleTeXBlanks):
6950 (simpleTeXSpecialChars):
6951 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6953 * tabular.C (latex): add some missing case statements. Reindent.
6955 * MenuBackend.C (expandToc): remove unused variable.
6957 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
6966 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6969 2003-01-05 John Levon <levon@movementarian.org>
6972 * BufferView.C: add getEncoding()
6975 * kbsequence.C: do not store last keypress
6978 * lyxfunc.C: store last keypress here instead. Pass encoding
6981 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6983 * lyx_main.C (init): remove annoying error message when following
6984 symbolic links (bug #780)
6986 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6988 * text.C (insertChar):
6989 * lyxrc.C (getDescription): remove extra spaces
6991 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6993 * lyxrc.C (getDescription): remove extra spaces
6995 2002-12-20 John Levon <levon@movementarian.org>
6997 * text3.C: hack fix for page up/down across tall rows
6999 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7001 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7004 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7006 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7007 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7008 thesaurus is not compiled in
7010 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
7012 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
7014 2002-12-16 Angus Leeming <leeming@lyx.org>
7017 * lyx_main.C (init): remove override_x_deadkeys stuff.
7019 2002-12-12 John Levon <levon@movementarian.org>
7021 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7022 insert. Only remove shift modifier under strict
7025 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7027 * MenuBackend.C (expandToc): fix crash.
7029 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7031 * MenuBackend.C (expandToc): gettext on float names.
7033 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7035 * lyxlength.[Ch]: set default unit to UNIT_NONE,
7036 implement bool empty() [bug 490]
7038 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7040 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7042 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7044 * several files: ws changes
7046 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7048 * text2.C (setCounter): clean up a bit, use boost.format.
7049 (updateCounters): initialize par upon declaration.
7051 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7052 if the layout exists. We do not just store the layout any more.
7053 (SwitchLayoutsBetweenClasses): use boost.format
7055 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7057 * converter.C (convert): if from and to files are the same, use a
7058 temporary files as intermediary
7060 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7063 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7065 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
7067 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7069 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7071 * tabular.C (asciiPrintCell): use string(size, char) instead of
7074 * sgml.C (openTag): fix order of arguments to string constructor
7077 * lyxfunc.C (dispatch): use boost.format
7079 * lots of files: change "c" -> 'c'
7081 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
7083 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7085 2002-11-25 Angus Leeming <leeming@lyx.org>
7087 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7089 * lyx_main.C (init): compile fix.
7091 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7093 * lyx_cb.C (start): boost.formatify
7094 do not include <iostream>
7096 * lengthcommon.C: ws only
7098 * boost-inst.C,BoostFormat.h: add more explict instantations
7100 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7102 * lots of files: handle USE_BOOST_FORMAT
7104 2002-11-21 John Levon <levon@movementarian.org>
7106 * pspell.C: fix compile
7108 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7110 * lyxfunc.C (dispatch): use boost::format
7114 * lyxfont.C (stateText): use boost::format
7116 * lyx_main.C (LyX): use boost::format
7118 (queryUserLyXDir): ditto
7121 (typedef boost::function): use the recommened syntax.
7123 * importer.C (Import): use boost::format
7125 * debug.C (showLevel): use boost::format
7127 * converter.C (view): use boost::format
7132 * bufferview_funcs.C (currentState): use boost::format
7134 * bufferlist.C (emergencyWrite): use boost::format
7136 * buffer.C (readLyXformat2): use boost::format
7137 (parseSingleLyXformat2Token): ditto
7139 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7141 * LaTeX.C (run): use boost::format
7143 * Chktex.C (scanLogFile): use boost::format
7145 * BufferView_pimpl.C (savePosition): use boost::format
7146 (restorePosition): ditto
7147 (MenuInsertLyXFile): ditto
7149 * BoostFormat.h: help file for explicit instation.
7151 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
7153 * tabular.C (latex): Support for block alignment in fixed width
7156 2002-11-17 John Levon <levon@movementarian.org>
7158 * BufferView_pimpl.C:
7160 * lyxfunc.C: split filedialog into open/save
7162 2002-11-08 Juergen Vigna <jug@sad.it>
7164 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7165 by my last patch (hopefully).
7167 2002-11-08 John Levon <levon@movementarian.org>
7176 * toc.C: ParConstIterator, and use it (from Lars)
7178 2002-11-07 Ben Stanley <bds02@uow.edu.au>
7180 * lyxtextclass.[Ch]: revise and add doxygen comments
7182 2002-11-07 John Levon <levon@movementarian.org>
7184 * text.C: fix progress value for spellchecker
7186 * toc.C: fix navigate menu for insetwrap inside minipage
7188 * paragraph_funcs.C: added FIXME for suspect code
7190 2002-11-07 John Levon <levon@movementarian.org>
7192 * BufferView_pimpl.C: fix redrawing of insets
7195 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7197 * text2.C (updateCounters): fix bug 668
7199 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
7201 * text3.C (dispatch): Do not make the buffer dirty when moving the
7204 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7206 * vc-backend.C: STRCONV
7209 * text2.C (setCounter): STRCONV
7211 * paragraph.C (asString): STRCONV
7213 * lyxlength.C (asString): STRCONV
7214 (asLatexString): ditto
7216 * lyxgluelength.C (asString): STRCONV
7217 (asLatexString): ditto
7219 * lyxfunc.C (dispatch): STRCONV
7222 * lyxfont.C (stateText): STRCONV
7224 * importer.C (Import): STRCONV
7226 * counters.C (labelItem): STRCONV
7227 (numberLabel): ditto
7228 (numberLabel): remove unused ostringstream o
7233 * bufferview_funcs.C (currentState): STRCONV
7235 * buffer.C (readFile): STRCONV
7236 (asciiParagraph): ditto
7237 (makeLaTeXFile): ditto
7239 * Spacing.C (writeEnvirBegin): STRCONV
7241 * LaTeXFeatures.C (getLanguages): STRCONV
7242 (getPackages): ditto
7244 (getBabelOptions): ditto
7245 (getTClassPreamble): ditto
7246 (getLyXSGMLEntities): ditto
7247 (getIncludedFiles): ditto
7251 (scanAuxFile): ditto
7254 * LString.h: add the STRCONV macros
7256 * BufferView_pimpl.C (savePosition): STRCONV
7257 (restorePosition): ditto
7258 (MenuInsertLyXFile): ditto
7260 * vc-backend.C (scanMaster): change from submatch[...] to
7263 * funcrequest.C: include config.h
7265 * factory.C: include config.h
7267 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7269 * box.C: include config.h
7271 * LaTeX.C (scanAuxFile): change from submatch[...] to
7275 2002-10-25 Angus Leeming <leeming@lyx.org>
7277 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7279 * ispell.[Ch] (setError): new method.
7280 * ispell.C (c-tor): move out child process into new class LaunchIspell.
7281 Use setError() insetead of goto END.
7283 * lyx_cb.C (AutoSave): move out child process into new class
7286 2002-10-30 John Levon <levon@movementarian.org>
7288 * text3.C: make start appendix undoable
7290 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
7292 * lyxlength.C (inPixels): Fix returned value.
7294 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7297 2002-10-24 Angus Leeming <leeming@lyx.org>
7299 * lyxgluelength.h: no need to forward declare BufferParams
7300 or BufferView, so don't.
7302 2002-10-21 John Levon <levon@movementarian.org>
7304 * BufferView.C: menuUndo ->undo, redo
7306 * BufferView.h: document, remove dead, make some methods private
7308 * paragraph_funcs.h:
7309 * paragraph_funcs.C:
7310 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7315 * sgml.C: move sgml open/close tag into sgml.C
7317 * bufferview_funcs.h: unused prototype
7320 * lyxfunc.C: remove unused
7323 * text.C: remove unused
7325 2002-10-21 John Levon <levon@movementarian.org>
7329 * BufferView_pimpl.h:
7330 * BufferView_pimpl.C: fix mouse wheel handling based on
7331 patch from Darren Freeman
7333 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
7335 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7337 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
7339 * lyxlength.C (inPixels): Fix hanfling of negative length.
7340 Fix LyXLength::MU case.
7342 2002-10-16 John Levon <levon@movementarian.org>
7344 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7346 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7348 * converter.C (view): add support for $$i (file name) and $$p
7349 (file path) for the viewer command. If $$i is not specified, then
7350 it is appended to the command (for compatibility with old syntax)
7352 2002-10-14 Juergen Vigna <jug@sad.it>
7354 * undo_funcs.C (textHandleUndo): alter the order in which the
7355 new undopar is added to the LyXText, as we have to set first
7356 the right prev/next and then add it as otherwise the rebuild of
7357 LyXText is not correct. Also reset the cursor to the right paragraph,
7358 with this IMO we could remove the hack in "redoParagraphs()".
7360 2002-10-09 Angus Leeming <leeming@lyx.org>
7362 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7363 to turn off an optimisation if a new inset is to be inserted.
7365 2002-10-11 André Pönitz <poenitz@gmx.net>
7367 * lyxtext.h: make some functions public to allow access
7368 from inset/lyxtext for handling LFUN_PRIOR/NEXT
7370 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7372 * text3.C (dispatch): when changing layout, avoid an infinite loop
7375 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7377 * lyxrc.C (read): treat a viewer or converter command of "none" as
7380 * MenuBackend.C (expandFormats): for an update, also allow the
7381 formats that are not viewable
7383 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7384 script if it is newer than the lyxrc.defaults in user directory
7386 2002-10-07 André Pönitz <poenitz@gmx.net>
7388 * text.C: Vitaly Lipatov's small i18n fix
7390 2002-09-25 Angus Leeming <leeming@lyx.org>
7392 * ispell.h: doxygen fix.
7394 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
7396 * buffer.h (readFile): Add a new argument to the method, to allow
7397 reading of old-format templates.
7399 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
7401 * toc.C (getTocList): Get TOC from InsetWrap.
7403 2002-09-16 John Levon <levon@movementarian.org>
7405 * lyxfunc.C: check tabular for cut/copy too
7407 2002-09-12 John Levon <levon@movementarian.org>
7412 * factory.C: add header
7414 * paragraph_funcs.h:
7415 * paragraph_funcs.C: cleanup
7417 2002-09-11 John Levon <levon@movementarian.org>
7419 * PrinterParams.h: odd/even default to true
7421 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
7423 * PrinterParams.h: update printer parameters for new xforms dialog
7425 2002-09-11 Angus Leeming <leeming@lyx.org>
7427 * lyxserver.C (read_ready): re-write to make it more transparent
7428 and to make it work in coherent fashion under Tru64 Unix.
7430 2002-09-11 André Pönitz <poenitz@gmx.net>
7434 * text3.C: implement LFUN_WORDSEL
7436 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7438 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7439 make floatlist_ a boost::shared_ptr<FloatList>
7441 * lyxtextclass.C: include FloatList.h
7442 (LyXTextClass): initialize floatlist_
7443 (TextClassTags): add TC_NOFLOAT
7444 (Read): match "nofloat" to TC_NOFLOAT and use it.
7445 (readFloat): modify call to floatlist_
7449 * FloatList.[Ch] (FloatList): remove commented out float
7451 (erase): new function
7453 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7455 * MenuBackend.C (expandToc): fix crash when there is no document
7458 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
7460 * many files: Add insetwrap.
7462 2002-09-09 John Levon <levon@movementarian.org>
7464 * text2.C: remove confusing and awkward depth wraparound
7466 2002-09-09 John Levon <levon@movementarian.org>
7468 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7471 * buffer.C: remove getIncludeonlyList()
7474 * lyxfunc.C: remove headers
7476 2002-09-09 Juergen Vigna <jug@sad.it>
7478 * text.C (getColumnNearX): fix form Michael this is most
7479 probably a cut&paste bug.
7481 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7483 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7485 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7486 references, ws changes.
7488 * text2.C (init): update counters after init
7489 (insertParagraph): no need to set counter on idividual paragraphs.
7490 (setCounter): access the counters object in the textclass object
7491 on in the buffer object.
7492 (updateCounters): ditto
7494 * lyxtextclass.C: include counters.h, add variable ctrs_ as
7495 shared_ptr<Counters> to avoid loading counters.h in all
7497 (LyXTextClass): initialize ctrs_
7498 (TextClassTags): add TC_COUNTER, and ...
7499 (Read): use it here.
7500 (CounterTags): new tags
7501 (readCounter): new function
7502 (counters): new funtion
7503 (defaultLayoutName): return a const reference
7505 * counters.C (Counters): remove contructor
7506 (newCounter): remove a couple of unneeded statements.
7507 (newCounter): simplify a bit.
7508 (numberLabel): some small formatting changes.
7510 * buffer.[Ch]: remove all traces of counters, move the Counters
7511 object to the LyXTextClass.
7513 2002-09-06 Alain Castera <castera@in2p3.fr>
7515 * tabular.C: uses \tabularnewline; uses >{...} construct from array
7516 package to set the horizontal alignment on fixed width columns.
7519 * lyx_sty.h: added tabularnewline macro def.
7521 * LaTeXFeatures.C: added NeedTabularnewline macro feature
7523 2002-09-06 John Levon <levon@movementarian.org>
7525 * LyXAction.C: tooltips for sub/superscript
7527 * MenuBackend.C: a bit more verbose
7529 * lyxfunc.C: tiny clean
7531 * undo_funcs.C: document undo_frozen
7533 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7535 * counters.C (Counters): add missing algorithm counter.
7537 * text2.C (setCounter): lookup the counter with layouts latexname
7538 instead of by section number.
7539 (setCounter): use a hackish way to lookup the correct enum
7541 a float name->type change
7542 reset enum couners with counter name directly instead of depth value.
7544 * counters.C (Counters): remove the push_backs, change to use the
7545 float type not the float name.
7546 (labelItem): remove unused string, float name->type change
7548 * counters.h: don't include vector, loose the enums and sects vectors
7550 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7552 * lyxtextclass.C (TextClassTags): add TC_FLOAT
7553 (Read): add float->TC_FLOAT to textclassTags
7554 (Read): and handle it in the switch
7555 (readFloat): new function
7557 * FloatList.C (FloatList): comment out the hardcoded float
7560 * lyxlayout.h: ws change.
7562 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
7564 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7566 2002-09-03 Angus Leeming <leeming@lyx.org>
7568 * BufferView_pimpl.h: qualified name is not allowed in member
7569 declaration: WorkArea & Pimpl::workarea() const;
7571 * factory.C: added using std::endl directive.
7573 * text3.C: added using std::find and std::vector directives.
7575 2002-08-29 André Pönitz <poenitz@gmx.net>
7578 * text2.C: remove unused member number_of_rows
7581 * BufferView2.C: remove file, move contents to...
7582 * BufferView.C: ... here
7584 * BufferView_pimpl.C:
7585 * factory.C: move more inset creation to factory
7587 * vspace.C: avoid direct usage of LyXText, ws changes
7590 don't provide direct access to WorkArea, use two simple
7591 acessors haveSelction() and workHeight() instead
7594 2002-08-29 John Levon <levon@movementarian.org>
7596 * BufferView_pimpl.C (dispatch): do not continue when
7599 2002-08-28 André Pönitz <poenitz@gmx.net>
7601 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7604 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7606 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
7608 * buffer.C: increment LYX_FORMAT to 221
7610 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7611 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7613 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7615 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7617 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7619 * factory.C (createInset): use LyXTextClass::floats
7621 * MenuBackend.C (expandFloatListInsert):
7622 (expandFloatInsert):
7625 * text2.C (setCounter):
7627 * LaTeXFeatures.C (useFloat):
7628 (getFloatDefinitions):
7630 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7632 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7633 floatlist_, with accessor floats().
7635 * FloatList.h: remove global FloatList
7637 2002-08-26 André Pönitz <poenitz@gmx.net>
7639 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7643 * BufferView_pimpl.C:
7644 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7646 2002-08-25 John Levon <levon@movementarian.org>
7648 * LyXAction.C: fix margin note description
7650 2002-08-24 John Levon <levon@movementarian.org>
7654 * bufferview_funcs.C:
7656 * undo_funcs.C: cleanups
7658 * lyxfunc.C: disable CUT/COPY when no selection
7660 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
7662 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7663 in "enum UNIT"; e.g. PTW for Percent of TextWidth
7665 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7666 Add backward compatibility to "mono", "gray" and "no".
7668 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
7670 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7671 (and file_format >= 200).
7673 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7675 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7677 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7679 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7681 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
7683 * BufferView_pimpl.C:
7690 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7691 inset and code to make it work with the paragraph code. The inset
7692 can be anywhere in the paragraph, but will only do the expected
7693 thing in LaTeX if the layout file contains the parameter line
7695 (or more generally, a nonzero value) for that layout.
7697 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7699 * paragraph.h: remove the declaration of undefined counters class
7702 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
7704 * text2.C (setCounter): fixed enumeration mis-count as reported by
7705 Dr. Richard Hawkins.
7707 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7709 * paragraph_funcs.h: remove some unneeded includes
7711 * text.C (backspace): pasteParagraph now in global scipe
7713 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7714 (pasteSelection): ditto
7716 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7717 * paragraph_funcs.C (pasteParagraph): ... here
7719 2002-08-20 André Pönitz <poenitz@gmx.net>
7721 * commandtags.h: new LFUNs for swapping/copying table row/colums
7724 * lyxfunc.C: support for new lfuns
7726 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7729 * buffer.[Ch]: remove NO_COMPABILITY stuff
7731 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
7733 * boost.C (throw_exception): new file, with helper function for
7734 boost compiled without exceptions.
7739 * ParameterStruct.h:
7740 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7742 * bufferlist.C (emergencyWriteAll): use boost bind
7744 * BufferView_pimpl.C (moveCursorUpdate): remove inline
7746 * text.C: include paragraph_funcs.h
7747 (breakParagraph): breakParagraph is now in global scope
7749 * paragraph_funcs.[Ch]: new files
7751 * paragraph.C (breakParagraph,breakParagraphConservative): move to
7754 * buffer.C: include paragraph_funcs.h
7755 (insertStringAsLines): breakParagraph is now in global scope
7757 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7760 * CutAndPaste.C: include paragraph_funcs.h
7761 (cutSelection): breakParagraphConservative is now in global scope
7762 (pasteSelection): ditto
7764 * buffer.h: declare oprator== and operator!= for
7765 Buffer::inset_iterator
7767 * bufferlist.C (emergencyWrite): don't use fmt(...)
7769 * text3.C: add using std::endl
7771 * BufferView.C (moveCursorUpdate): remove default arg
7773 2002-08-20 André Pönitz <poenitz@gmx.net>
7775 * buffer.[Ch]: move inline functions to .C
7778 * BufferView_pimpl.C:
7780 * buffer.[Ch]: use improved inset_iterator
7783 * paragraph.[Ch]: write one paragraph at a time
7785 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
7787 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7788 style if style is not specified.
7790 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7792 * text2.C (setCounter): when searching for right label for a
7793 caption, make sure to recurse to parent insets (so that a caption
7794 in a minipage in a figure float works) (bug #568)
7796 2002-08-20 André Pönitz <poenitz@gmx.net>
7798 * text3.C: new file for LyXText::dispatch() and helpers
7800 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7802 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7804 2002-08-19 André Pönitz <poenitz@gmx.net>
7807 * text.C: new LyXText::dispatch()
7809 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7811 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
7813 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7815 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7818 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7820 * Makefile.am: use $(variables) instead of @substitutions@
7822 2002-08-15 André Pönitz <poenitz@gmx.net>
7825 * BufferView_pimpl.C: streamlining mathed <-> outer world
7829 * LyXAction.C: remove unused LFUN_MATH
7831 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7833 * paragraph.[Ch]: add some NO_NEXT ifdefs.
7835 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7837 * paragraph.C (Paragraph): reformat a bit
7838 (cutIntoMinibuffer): use builtin InsetList function instad of
7842 * buffer.C: include boost/bind.hpp, add using std::for_each
7843 (writeFileAscii): use ParagraphList iterators
7844 (validate): use for_each for validate traversal of paragraphs
7845 (getBibkeyList): use ParagraphList iterators
7846 (resizeInsets): use for_each to resizeInsetsLyXText for all
7848 (getParFromID): use ParagraphList iterators
7850 * BufferView2.C (lockInset): use paragraph list and iterators
7852 2002-08-14 John Levon <levon@movementarian.org>
7854 * lyxserver.C: remove spurious xforms include
7856 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7858 * lyxfunc.C (getStatus): disable math-extern outside of math mode
7860 2002-08-13 André Pönitz <poenitz@gmx.net>
7863 * lyxfunc.C: further cleaning
7865 2002-08-13 André Pönitz <poenitz@gmx.net>
7867 * funcrequest.h: new constructor
7869 * funcrequest.C: move stuff here from .h
7872 * BufferView_pimpl.C:
7875 * lyxfunc.C: subsequent changes
7877 * lyxfunc.h: new view() member function
7879 * lyxfunc.C: subsequent changes
7881 2002-08-13 Angus Leeming <leeming@lyx.org>
7884 * BufferView_pimpl.C:
7892 changes due to the changed LyXView interface that now returns references
7893 to member variables not pointers.
7895 2002-08-13 Angus Leeming <leeming@lyx.org>
7897 * WordLangTuple (word, lang_code): return references to strings,
7902 * lyxtext.h: forward-declare WordLangTuple.
7907 * text.C: #include "WordLangTuple.h".
7910 * text.C: (selectNextWordToSpellcheck): constify return type.
7912 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
7918 * paragraph_pimpl.h:
7921 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7923 Made updateCounter always count from start of buffer, and removed
7924 second argument (par).
7925 Reverted floats number display to '#'. Perhaps I'll try again when the
7926 code base is sanitized a bit.
7928 2002-08-12 Angus Leeming <leeming@lyx.org>
7930 * buffer.[Ch] (getLabelList): constify.
7932 2002-08-07 André Pönitz <poenitz@gmx.net>
7934 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7936 * funcrequest.h: extension to keep mouse (x,y) position
7938 2002-08-12 Juergen Vigna <jug@sad.it>
7940 * BufferView2.C (insertErrors): forbid undo when inserting error
7943 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7945 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7947 * ParagraphList.[Ch]: new files
7949 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7951 * BufferView2.C (lockInset): ParagraphList changes
7954 * bufferlist.C: ditto
7958 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7960 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7961 unused class variable counter_,
7963 * paragraph.[Ch] (getFirstCounter): delete unused function
7965 * counters.C: include LAssert.h
7966 (reset): add a new function with no arg, change other version to
7967 not have def. arg and to not allow empty arg.
7969 * text2.C (setCounter): remove empty arg from call to Counters::reset
7971 2002-08-11 John Levon <levon@movementarian.org>
7973 * Makefile.am: add WordLangTuple.h
7975 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7977 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7978 lyxfunc.C lyxlex_pimpl.C: ws changes only.
7980 * insets/insettext.C: InsetList changes
7982 * graphics/GraphicsSupport.C (operator()): InsetList changes
7984 * toc.C (getTocList): InsetList changes
7986 * paragraph_pimpl.[Ch]: InsetList changes
7988 * paragraph.[Ch]: InsetList changes
7990 * buffer.C (inset_iterator): InsetList changes
7991 (setParagraph): ditto
7992 * buffer.h (inset_iterator): ditto
7993 * iterators.C (operator++): ditto
7994 * iterators.h: ditto
7996 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7998 * InsetList.[Ch]: new files, most InsetList handling moved out of
8001 * BufferView2.C (removeAutoInsets): InsetList changes
8003 (ChangeInsets): ditto
8005 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8007 * paragraph_pimpl.h (empty): new function
8009 * paragraph.[Ch] (empty): new function
8011 * other files: use the new Paragraph::empty function
8013 2002-08-09 John Levon <levon@movementarian.org>
8015 * lyxtext.h: remove unused refresh_height
8017 2002-08-09 John Levon <levon@movementarian.org>
8024 * paragraph.C: move sgml char escaping out of paragraph
8027 * paragraph.C: remove id setter
8031 * paragraph_pimpl.C: remove dead tex_code_break_column
8033 * bufferview_funcs.C: small cleanup
8035 * lyxfunc.C: remove dead proto
8037 * lyxtext.h: make some stuff private. Remove some dead stuff.
8039 * lyxgluelength.C: make as[LyX]String() readable
8041 2002-08-08 John Levon <levon@movementarian.org>
8046 * ToolbarDefaults.C:
8049 * toc.C: lyxaction cleanup
8051 2002-08-08 John Levon <levon@movementarian.org>
8053 * BufferView2.C: small cleanup
8056 * lyxfind.C: move unnecessary header into the .C
8058 2002-08-08 John Levon <levon@movementarian.org>
8060 * funcrequest.h: just tedious nonsense
8063 * lyx_main.C: cleanups
8066 * vspace.C: remove dead header lyx_main.h
8068 2002-08-07 Angus Leeming <leeming@lyx.org>
8071 * paragraph_pimpl.h:
8072 Forward declare class Counters in paragraph.h by moving the ctrs member
8073 variable into Paragraph::Pimpl.
8074 (counters): new method, returning a reference to pimpl_->ctrs.
8076 * text2.C: ensuing changes.
8078 2002-08-07 John Levon <levon@movementarian.org>
8080 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8082 * BufferView_pimpl.C: announce X selection on double/triple
8085 * lyx_main.C: use correct bool in batch dispatch
8087 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8089 2002-08-07 André Pönitz <poenitz@gmx.net>
8091 * funcrequest.h: new class to wrap a kb_action and its argument
8094 * BufferView_pimpl[Ch]:
8098 * lyxrc.C: subsequent changes
8101 2002-08-07 John Levon <levon@movementarian.org>
8103 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8104 document options change.
8106 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8111 * makefile.am: move counters functionality over from
8112 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8114 2002-08-06 John Levon <levon@movementarian.org>
8116 * WordLangTuple.h: new file for word + language code tuple
8127 * BufferView2.C: use WordLangTuple
8130 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8132 2002-08-06 John Levon <levon@movementarian.org>
8134 * lyx_main.C: fix cmdline batch handling
8136 2002-08-06 André Pönitz <poenitz@gmx.net>
8138 * lyxrc.C: set default for show_banner to true
8140 2002-08-06 John Levon <levon@movementarian.org>
8142 * pspell.C: fix a crash, and allow new aspell to work
8144 2002-08-06 John Levon <levon@movementarian.org>
8147 * kbmap.C: small cleanup
8150 * vspace.C: add const
8152 2002-08-05 John Levon <levon@movementarian.org>
8154 * LyXAction.C: back to tabular-insert
8156 2002-08-04 John Levon <levon@movementarian.org>
8159 * BufferView.C: cosmetic change
8161 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8171 * BufferView2.C: purge all "Lyx" not "LyX" strings
8174 * lyxcursor.C: attempt to add some documentation
8179 * ToolbarDefaults.C:
8180 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8181 merge with LFUN_TABULAR_INSERT
8188 * pspell.C: split up i/pspell implementations into separate
8189 files, many cleanups
8191 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8193 * text2.C: some cleanup
8195 * lyxfunc.C: don't check for isp_command == "none" any more, it
8196 didn't make any sense
8198 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8203 * makefile.am: move counters functionality over
8204 from text2.C/paragraph.[Ch] to counters.[Ch], and
8206 2002-08-02 John Levon <levon@movementarian.org>
8208 * buffer.C: s/lyxconvert/lyx2lyx/
8210 2002-08-02 Angus Leeming <leeming@lyx.org>
8212 * lyxlex.C: revert John's change as it breaks reading of the user
8215 2002-08-02 Angus Leeming <leeming@lyx.org>
8217 * importer.C (Import):
8218 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8219 changes due to LyXView::view() now returning a boost::shared_ptr.
8221 2002-08-02 John Levon <levon@movementarian.org>
8223 * lyxlex.C: small cleanup
8225 2002-08-02 John Levon <levon@movementarian.org>
8227 * text2.C (status): small cleanup, no logic change
8229 2002-08-01 John Levon <levon@movementarian.org>
8232 * buffer.C (writeFile): don't output alerts, caller
8236 * lyx_cb.C: from above
8238 * lyxfunc.C: allow to open non-existent files
8240 2002-07-31 John Levon <levon@movementarian.org>
8242 * lyxserver.C: don't let incidental errors get
8245 2002-07-30 John Levon <levon@movementarian.org>
8247 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8249 2002-07-30 John Levon <levon@movementarian.org>
8252 * lyxserver.C: remove I/O callback too
8254 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8256 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8259 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8261 * many files: strip,frontStrip -> trim,ltrim,rtrim
8263 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8265 * PrinterParams.h: remove extern containsOnly, and include
8266 support/lstrings.h instead.
8268 * LaTeX.C (scanAuxFile): modify because of strip changes
8270 * buffer.C (makeLaTeXFile): ditto
8271 * bufferparams.C (writeFile): ditt
8272 * lyxfont.C (stateText): ditto
8273 * lyxserver.C (read_ready): ditto
8274 * vc-backend.C (scanMaster): ditto
8276 * BufferView_pimpl.h: ws changes
8278 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8280 2002-07-26 André Pönitz <poenitz@gmx.net>
8282 * kb_sequence.C: remove unnedred usings
8284 2002-07-26 Juergen Vigna <jug@sad.it>
8286 * lyxfind.C (LyXReplace): we have to check better if the returned
8287 text is not of theLockingInset()->getLockingInset().
8289 2002-07-25 Juergen Vigna <jug@sad.it>
8291 * lyxfind.C (LyXReplace): don't replace if we don't get the
8294 * undo_funcs.C (createUndo): remove debugging code.
8296 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
8298 * buffer.C (parseSingleLyXformat2Token): Use default placement
8299 when reading old floats.
8301 * FloatList.C (FloatList): Change the default placement of figure
8302 and tables to "tbp".
8304 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
8306 * MenuBackend.C: using std::max
8308 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8310 * MenuBackend.C (expandToc):
8311 (expandToc2): code moved from xforms menu frontend. It is now
8312 generic and TOCs are transparent to menu frontends.
8314 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8316 * toc.C (getTocList): protect against buf=0
8318 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8319 Menu as first parameter. Now, this calls itself recursively to
8320 expand a whole tree (this will be useful for TOC handling)
8321 (expandFloatInsert): remove 'wide' version of floats
8323 * MenuBackend.h (submenuname): returns the name of the submenu.
8324 (submenu): returns the submenu itself, provided it has been
8325 created by MenuBackend::expand
8327 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8329 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8330 insets which have noFontChange == true. (bug #172)
8332 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8334 * BufferView_pimpl.C: add connection objects and use them...
8337 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8339 * MenuBackend.C (expandLastfiles):
8342 (expandFloatListInsert):
8343 (expandFloatInsert):
8344 (expand): split expand in parts
8346 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8348 * lyx_gui.C: use lyx_gui::exit()
8350 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8352 * LyXAction.C: show the failing pseudo action
8354 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
8356 * buffer.C (readFile): Run the lyxconvert script in order to read
8359 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8363 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8365 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8369 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8371 2002-07-22 Herbert Voss <voss@lyx.org>
8374 * lyxlength.[Ch]: add support for the vertical lengths
8376 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
8378 * toc.[Ch]: std:: fixes
8380 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8382 * lyxrc.C: do not include lyx_main.h
8384 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8390 * BufferView2.C: include "lyxlex.h"
8393 * bufferparams.h: do not #include "lyxlex.h"
8395 * lyxtextclasslist.C (Add): remove method
8396 (classlist): renamed to classlist_
8398 * paragraph_pimpl.C:
8402 * bufferview_funcs.C:
8407 * toc.C (getTocList): use BufferParams::getLyXTextClass
8409 * toc.C (getTocList): use InsetFloat::addToToc
8411 * toc.[Ch]: new files, containing helper functions to handle table
8414 * lyxfunc.C (dispatch): no need to remove spaces around command
8416 (getStatus): handle LFUN_SEQUENCE by returning the status of the
8417 first command of the sequence; it is not very clever, but I do not
8418 have a better idea, actually
8420 * LyXAction.C (LookupFunc): make sure to remove space at the
8421 beginning and end of the command
8423 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8425 * MenuBackend.C (getMenubar): new method: return the menubar of
8427 (read): treat differently reading of menu and menubar (in
8428 particular, the menubar has no name now)
8429 (Menu::menubar): remove
8431 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8434 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8436 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8437 a bibitem inset in a RTL paragraph.
8439 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
8441 * paragraph_pimpl.C: constify
8443 * BufferView_pimpl.C:
8445 * lyxfunc.C: fix dispatch in a nicer way
8447 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8449 * lyxfunc.C (dispatch):
8450 * BufferView_pimpl.C:
8451 * BufferView_pimpl.h:
8453 * BufferView.h: rename Dispatch() to dispatch()
8455 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8457 * lyxlayout.C (Read): honor DependsOn tag
8459 * lyxlayout.[Ch] (depends_on): new method
8461 * version.C.in: update lyx_docversion
8463 * LaTeXFeatures.C (getMacros): only define \LyX when needed
8465 * paragraph.C (validate): remove from here...
8466 * paragraph_pimpl.C (validate): ... and move here
8467 (isTextAt): make it const
8469 * buffer.C (getLists): ws cleanup
8471 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8473 * language.C (read): Use iso8859-1 encoding in latex_lang
8474 (this prevents LyX from crashing when using iso10646-1 encoding).
8476 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8478 * text2.C (toggleInset): if cursor is inside an inset, close the
8479 inset and leave cursor _after_ it
8481 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8483 * lyxfunc.C: move minibuffer completion handling out of here
8485 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8487 * BufferView_pimpl.C:
8488 * LaTeX.C: fix dispatch calls
8490 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
8492 * text.C (drawChars): Fix Arabic text rendering.
8494 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
8498 * lyxfunc.C: remove message-push/pop
8502 * lyxfunc.C: rationalise some code by removing verboseDispatch
8503 in favour of a bool argument to dispatch()
8505 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8507 * lyx_main.C (init): make sure to read symlinks as absolute paths
8509 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8512 * lyxfunc.C: no need for commandshortcut to be a member
8514 2002-07-15 André Pönitz <poenitz@gmx.net>
8516 * converter.C: add support for $$s (scripts from lib/scripts dir)
8517 * lyx_main.C: white space
8519 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8523 * lyxrc.C: remove second exit confirmation
8525 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8530 * BufferView_pimpl.h:
8531 * BufferView_pimpl.C:
8532 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8534 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8536 * MenuBackend.C (expand): add numeric shortcuts to document menu
8538 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8540 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8542 * lyxfont.C (setLyXFamily):
8549 * buffer.C (asciiParagraph): use ascii_lowercase
8551 2002-07-15 Mike Fabian <mfabian@suse.de>
8553 * lyxlex_pimpl.C (search_kw):
8554 * lyxlex.C (getLongString):
8555 * converter.h (operator<):
8556 * converter.C (operator<):
8557 * buffer.C (parseSingleLyXformat2Token):
8559 * ToolbarDefaults.C (read):
8560 * MenuBackend.C (checkShortcuts):
8562 * LColor.C (getFromGUIName):
8563 (getFromLyXName): use the compare_ascii_no_case instead of
8564 compare_no_case, because in turkish, 'i' is not the lowercase
8565 version of 'I', and thus turkish locale breaks parsing of tags.
8567 2002-07-16 Angus Leeming <leeming@lyx.org>
8569 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8570 now takes a Buffer const & argument.
8572 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
8574 * BufferView.C (resize): check there's a buffer to resize
8576 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
8578 * lyxfunc.C: remove dead code
8581 * lyxserver.C: use lyx_guii::set_read_callback
8583 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
8585 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8586 an inset in a RTL paragraph.
8588 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8590 * lyxfunc.C: repaint after a font size update
8592 2002-07-15 André Pönitz <poenitz@gmx.net>
8594 * lyxlength.C: inBP should be able to return negative values
8596 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8598 * lyxfunc.C: use lyx_gui::update_fonts()
8600 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8602 * lyxfunc.C: use lyx_gui::update_color()
8604 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8610 * lyxrc.C: remove file->new asks for name option, and let
8611 buffer-new take an argument
8613 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8615 * BufferView_pimpl.C: remove unneeded extra repaint()
8617 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
8619 * LyXAction.C: allow command-sequence with NoBuffer
8621 * lyxfunc.C: don't insist on trailing ';' for command-sequence
8623 2002-07-10 Angus Leeming <leeming@lyx.org>
8625 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8627 2002-07-09 Angus Leeming <leeming@lyx.org>
8629 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8631 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8633 * lengthcommon.h: whitespace
8635 * lyxfunc.C: update scrollbar after goto paragraph
8637 * lyxtext.h: factor out page break drawing, and fix it so
8638 page break/added space paints as selected nicely
8640 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8642 * BufferView_pimpl.C: add FIXMEs, clean up a little
8644 2002-07-09 André Pönitz <poenitz@gmx.net>
8646 * lyxfont.[Ch]: support for wasy symbols
8648 2002-07-08 André Pönitz <poenitz@gmx.net>
8650 * BufferView_pimpl.C: apply John's patch for #93.
8652 2002-07-05 Angus Leeming <leeming@lyx.org>
8654 * BufferView_pimpl.C (buffer): generate previews if desired.
8656 * LColor.h: add "preview" to the color enum.
8658 * LColor.C (LColor): add a corresponding entry to the items array.
8660 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8663 2002-07-05 Angus Leeming <leeming@lyx.org>
8665 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8666 The body of the code is now in the method that is passed an ostream &
8667 rather than a file name.
8668 Pass an additional only_preamble parameter, useful for the forthcoming
8671 2002-07-03 André Pönitz <poenitz@gmx.net>
8673 * lyxfunc.C: simplify getStatus() a bit for math stuff
8675 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8677 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8679 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8681 * text.C (changeRegionCase): do not change case of all the
8682 document when region ends at paragraph end (bug #461)
8684 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8686 * paragraph.C (startTeXParParams):
8687 (endTeXParParams): add \protect when necessary
8689 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8691 * BufferView_pimpl.C (workAreaExpose): remove warning
8693 2002-06-27 Angus Leeming <leeming@lyx.org>
8695 * Makefile.am: add lyxlayout_ptr_fwd.h.
8697 2002-06-26 André Pönitz <poenitz@gmx.net>
8699 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8701 2002-06-25 Angus Leeming <leeming@lyx.org>
8703 * lyxfunc.C (dispatch): Comment out the call to
8704 grfx::GCache::changeDisplay. The method no longer exists now that the
8705 pixmap generation part of the graphics loader has been moved into
8708 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8710 * text2.C: layout as layout
8712 * text.C: layout as layout
8714 * tabular.C (OldFormatRead): layout as layout
8716 * paragraph_pimpl.C (TeXDeeper): layout as layout
8717 (realizeFont): layout as layout
8719 * paragraph.C (writeFile): layout as layout
8720 (validate): layout as layout
8721 (getFont): layout as layout
8722 (getLabelFont): layout as layout
8723 (getLayoutFont): layout as layout
8724 (breakParagraph): layout as layout
8725 (stripLeadingSpaces): layout as layout
8726 (getEndLabel): layout as layout
8727 (getMaxDepthAfter): layout as layout
8728 (applyLayout): layout as layout
8729 (TeXOnePar): layout as layout
8730 (simpleTeXOnePar): layout as layout
8731 (TeXEnvironment): layout as layout
8732 (layout): layout as layout
8733 (layout): layout as layout
8735 * lyxtextclass.C (compare_name): new functor to work with
8736 shared_ptr, layout as layout
8737 (Read): layout as layout
8738 (hasLayout): layout as layout
8739 (operator): layout as layout
8740 (delete_layout): layout as layout
8741 (defaultLayout): layout as layout
8743 * lyxlayout_ptr_fwd.h: new file
8745 * lyxlayout.C (Read): layout as layout
8747 * lyx_cb.C (MenuInsertLabel): layout as layout
8749 * bufferlist.C (newFile): layout as layout
8751 * buffer.C (readLyXformat2): layout as layout
8752 (parseSingleLyXformat2Token): layout as layout
8753 (insertStringAsLines): layout as layout
8754 (asciiParagraph): layout as layout
8755 (latexParagraphs): layout as layout
8756 (makeLinuxDocFile): layout as layout
8757 (simpleLinuxDocOnePar): layout as layout
8758 (makeDocBookFile): layout as layout
8759 (simpleDocBookOnePar): layout as layout
8760 (getLists): layout as layout
8762 * LaTeXFeatures.C (getTClassPreamble): layout as layout
8764 * CutAndPaste.C (cutSelection): layout as layout
8765 (pasteSelection): layout as layout
8766 (SwitchLayoutsBetweenClasses): layout as layout
8768 * BufferView_pimpl.C (Dispatch): layout as layout
8769 (smartQuote): layout as layout
8771 * BufferView2.C (unlockInset): layout as layout
8773 2002-06-24 André Pönitz <poenitz@gmx.net>
8775 * lyxfunc.C: fix #487
8777 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8781 * lyxfunc.C: remove display_shortcuts, show_banner
8783 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8785 * Buffer_pimpl.C: oops, update on resize
8787 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8794 * BufferView.C: use repaint()
8796 * BufferView_pimpl.h:
8797 * BufferView_pimpl.C: s/updateScreen()/repaint()/
8798 as it's a clearer description. Remove superfluous
8801 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8803 * text.C: fix bug 488. Not ideal, but getting
8804 getWord() to work properly for the insets that
8805 matter is more difficult ...
8807 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8809 * BufferView_pimpl.C:
8812 * lyxfunc.C: remove the six million index lyxfuncs to just
8813 one, and DTRT (bug 458)
8815 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8819 * BufferView_pimpl.h:
8820 * BufferView_pimpl.C: clean up resize() stuff,
8821 and unnecessary updateScreen()s
8823 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8827 * BufferView_pimpl.h:
8828 * BufferView_pimpl.C:
8831 * minibuffer.C: remove focus management of workarea,
8832 not needed. Use screen's greyOut()
8834 2002-06-17 Herbert Voss <voss@lyx.org>
8836 * converter.C: (convert) do not post a message, when converting
8837 fails, let the calling function decide what to do in this case
8839 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
8841 * lyxfunc.C: tidy up a little
8843 2002-06-16 <alstrup@diku.dk>
8845 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8846 Got rid of FORMS_H_LOCATION include. Now we are
8849 2002-06-15 LyX Development team <lyx@rilke>
8851 * buffer.[Ch] (sgmlOpenTag):
8852 (sgmlCloseTag): Added support for avoiding pernicious mixed
8853 content. Return number of lines written.
8856 (makeDocBookFile): Fixed calls to sgml*Tag.
8857 Simple white space clean.
8859 (simpleDocBookOnePar): Simple white space clean.
8861 * tabular.[Ch] (docBook): Renamed to docbook and got another
8862 argument to related with the pernicious mixed content.
8864 (docbookRow): Fixed calls for docbook inset method.
8866 2002-06-15 Lyx Development team <larsbj@birdstep.com>
8868 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8869 so it's X11 independent.
8873 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8875 2002-06-15 Lyx Development team <lyx@electronia>
8877 * intl.h: Renamed getTrans to getTransManager.
8879 2002-06-14 Angus Leeming <leeming@lyx.org>
8881 * Makefile.am: nuke forgotten stl_string_fwd.h.
8883 2002-06-12 Angus Leeming <leeming@lyx.org>
8885 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8887 2002-06-13 Angus Leeming <leeming@lyx.org>
8890 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8892 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
8894 * kbmap.C (getiso): add support for cyrillic and greek
8896 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8900 * BufferView_pimpl.h:
8901 * BufferView_pimpl.C: move bogus scrolling logic
8904 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8907 * BufferView_pimpl.C: view->resize() change
8909 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8911 * BufferView_pimpl.C: topCursorVisible
8914 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8918 * lyx_gui.C: move to frontends/
8922 * lyx_main.C: changes from above
8924 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8931 * lyx_main.C: minor tidy
8933 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8935 * BufferView_pimpl.h:
8936 * BufferView_pimpl.C:
8938 * BufferView.C: make painter() const,
8941 * BufferView2.C: use screen() accessor
8944 * lyx_main.C: some minor cleanup
8946 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8948 * BufferView_pimpl.h:
8949 * BufferView_pimpl.C: remove enter/leaveView,
8952 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8957 * BufferView_pimpl.h:
8958 * BufferView_pimpl.C: only construct screen once,
8961 * lyxrc.C: remove pointless comment
8963 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8966 * BufferView.C: remove active() and belowMouse()
8968 * BufferView_pimpl.h:
8969 * BufferView_pimpl.C: use workarea() not workarea_,
8970 and make it use a scoped_ptr instead
8972 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8974 * lyx_gui.C: add debug message on BadWindow
8976 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8978 * sp_spell.C: fdopen is not part of the C++ standard.
8980 * paragraph.C (InsetIterator): use >= instead of ==
8982 2002-06-07 Angus Leeming <leeming@lyx.org>
8984 Fixes needed to compile with Compaq cxx 6.5.
8985 * BufferView_pimpl.C:
8992 * lyxtextclasslist.C:
8997 all c-library variables have been moved into namespace std. Wrap
8998 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9003 Add a using std::abs declaration.
9005 * kbmap.h (modifier_pair):
9006 * paragraph.h (InsetTable, InsetList):
9007 * lyxfont.h (FontBits):
9008 type definition made public.
9010 * bufferlist.C (emergencyWriteAll): the compiler complains that
9011 there is more than one possible lyx::class_fun template to choose from.
9012 I re-named the void specialisation as lyx::void_class_fun.
9014 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9016 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9017 the compiler is is unable to find tostr in write_attribute.
9019 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9021 * buffer.C (sgmlError): hide #warning
9023 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9025 * xtl/*: get rid of xtl, which is not in use anyway
9027 * LyXAction.C (init):
9028 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9029 were unimplemented xtl experimentation
9031 2002-06-04 André Pönitz <poenitz@gmx.net>
9033 * lyxfunc.C: disable array operation on simple formulae
9035 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
9037 * converter.C: constify a bit
9039 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
9041 * lyx_gui.C: check xforms version correctly
9043 2002-04-30 Herbert Voss <voss@lyx.org>
9045 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9048 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
9050 * lyxvc.C: fix bug 416 (make sure buffer is saved before
9051 attempt to register it with a VCS)
9053 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9055 * lyx_main.C (init): honor variables LYX_DIR_13x and
9058 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9062 * lyx_main.C: fix a crash on bad command line,
9063 and give a useful exit status on error
9065 * lyxfunc.C (doImport): allow -i lyx to work
9067 2002-03-30 André Pönitz <poenitz@gmx.net>
9069 * lyxfunc.C: mathed font changes
9071 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9086 * trans_mgr.h: srcdocs, and some minor cleanups
9088 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9090 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9091 call getFont all the time)
9093 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9095 * switch from SigC signals to boost::signals
9097 2002-05-29 André Pönitz <poenitz@gmx.net>
9099 * paragraph_pimpl.C (getChar): don't call size() too often...
9101 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9103 * paragraph_pimpl.C (insertChar): do not try to update tables when
9104 appending (pos == size())
9106 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9107 in order to reduce drastically the number of comparisons needed to
9108 parse a large document
9110 2002-05-29 André Pönitz <poenitz@gmx.net>
9116 * textclasslist.[Ch]:
9117 * sp_ispell.h: whitespace change
9119 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9121 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9122 lyxaction directly now.
9124 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
9128 * lyxvc.C: remove unused headers
9130 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9137 * undo_funcs.C: some cleanups. Use shared_ptr
9138 and a template for the undo stacks.
9140 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9142 * BufferView_pimpl.h:
9143 * BufferView_pimpl.C:
9150 * text2.C: use key_state/mouse_state
9152 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9154 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9157 * chset.C: change include order
9158 (loadFile): use boost regex and get rid of LRegex and LSubstring
9160 * Makefile.am (BOOST_LIBS): new variable
9163 * LaTeX.C: change include order.
9164 (scanAuxFile): use boost regex and get rid of LRegex and
9168 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9173 * FontInfo.C: moved to frontends/xforms/
9176 * FontLoader.C: moved into frontends for GUIIzation
9181 * lyxfunc.C: changes from above
9183 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9185 * LColor.C: remove spurious X include
9187 * BufferView_pimpl.C:
9192 * text2.C: move font metrics to frontends/
9194 2002-05-24 Juergen Vigna <jug@sad.it>
9196 * undo_funcs.C (textHandleUndo): fix the cursor selection after
9197 setting the undo_cursor.
9199 * ParagraphParameters.h: include local includes first.
9201 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9203 * BufferView_pimpl.C:
9204 * BufferView_pimpl.h:
9208 * screen.C: move WorkArea into frontends/
9214 * BufferView2.C: move LyXScreen into frontends/
9218 * lyx_gui.C: move lyxlookup into frontends/xforms/
9220 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9223 * BufferView_pimpl.C:
9233 * bufferview_funcs.C:
9246 * vc-backend.C: move LyX/XFormsView into frontends/
9248 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9260 * text2.C: move Painter to frontends/
9262 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9264 * buffer.C: comment out some some code that depend upon lyx_format
9267 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9268 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9270 * buffer.h (NO_COMPABILITY): turn off compability
9272 * ColorHandler.C: include scoped_array.hpp
9274 * font.C: Use more specific smart_ptr header.
9277 * ShareContainer.h: ditto
9281 * BufferView_pimpl.h: ditto
9282 * ColorHandler.h: ditto
9284 * kbmap.C (defkey): change call to shared_ptr::reset
9286 2002-05-21 Juergen Vigna <jug@sad.it>
9288 * buffer.C (insertErtContents): fix to insert ert asis if it is
9289 non empty. Skip it completely if it contains only whitespaces.
9291 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
9293 * BufferView_pimpl.C:
9294 * BufferView2.C: clear selection on paste (bug 393)
9296 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9298 * DepTable.C: include ctime
9300 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
9302 * buffer.C (latexParagraphs): Add new argument (moving_arg).
9304 2002-05-14 Juergen Vigna <jug@sad.it>
9306 * text.C (breakParagraph): fixed function to honor the keepempty
9307 layout in the right maner and also to permit the right breaking
9308 algorithm on empty or non empyt keepempty paragraphs.
9310 * paragraph.C (breakParagraph): we have to check also if the par
9311 is really empty (!size()) for isempty otherwise we do the wrong
9314 2002-05-10 Juergen Vigna <jug@sad.it>
9316 * buffer.[Ch] : The following are only changes to the ert
9317 compatibility read reading old LaTeX layout and font stuff and
9318 convert it to ERTInsets.
9320 * buffer.h: added isErtInset().
9322 * buffer.C (struct ErtComp): add a fromlayout bool to check
9323 if we're inside a LaTeX layout.
9324 (isErtInset): new helper function.
9325 (insertErtContents): look for other ert insets before this one
9326 and insert the contents there, so that we don't have subsequent
9327 ERT insets with nothing between them. This way we create only one
9328 inset with multiple paragraphs. Also check if we don't insert only
9329 spaces ' ' as they are ignored anyway afterwards in the .tex file
9330 so if we have only spaces we will ignore this latex part in the
9332 (parseSingleLyXformat2Token \\layout): better compatibility when
9333 reading layout-latex stuff.
9334 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9336 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9337 stuff after reading the inset only get the information back from
9340 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
9342 * buffer.C (makeLaTeXFile): Put language options after loading babel.
9344 * LaTeXFeatures.C (getBabelOptions): New method.
9346 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9348 * BufferView_pimpl.C (Dispatch): work around missing argument for
9351 2002-05-08 Juergen Vigna <jug@sad.it>
9353 * text.C (leftMargin): handle paragraph leftindent.
9355 * paragraph.C (writeFile): write the new \\leftindent tag.
9356 (validate): handle leftindent code.
9357 (TeXEnvironment): handle paragraphleftindent code again.
9359 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9361 * buffer.C (parseSingleLyXformat2Token): added compatibility code
9362 for paragrap_extra indent code and new token \\leftindent.
9363 (latexParagraphs): handle the leftindent as environment.
9365 * ParameterStruct.h: added leftindent support.
9367 * ParagraphParameters.C (leftIndent): added support functions for
9368 the paragraph left indent.
9370 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9373 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
9375 * paragraph.C (isRightToLeftPar): Return false for a paragraph
9378 * text.C (computeBidiTables): No bidi in insetERT.
9380 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9383 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9385 * version.C.in: pre 5
9387 2002-05-02 José Matos <jamatos@fep.up.pt>
9388 * buffer.C (makeDocBookFile): white space changes, add newline to
9390 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9392 * tabular.C (docBook): fix typo.
9394 2002-05-03 Juergen Vigna <jug@sad.it>
9396 * screen.C (drawFromTo): recalculate the rowpointer if we had a
9397 change in LyXText as we can not be sure it was not freed.
9398 (drawOneRow): remove unused code.
9400 * text.C (drawInset): redo the calculation of the need_break_row as
9401 it could have a row which was already freed.
9402 (draw): look at the return value of drawInset and return false if
9403 it also returned false.
9404 (paintRowText): look at the return value of draw and return false if
9405 it also returned false.
9407 * lyxtext.h: added bool return type to drawInset() and draw() so that
9408 if we have a change in the row so that the rowbreak has to be redone
9409 we abort drawing as it will be called again.
9411 2002-05-02 Juergen Vigna <jug@sad.it>
9413 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9414 a change in the maintext also if we're inside an inset.
9415 (Dispatch): set the cursor again after a break line and after the
9416 screen has been updated as it could be we're in a different row.
9418 * text2.C (fixCursorAfterDelete): check to make sure we don't request
9419 to set the cursor behind the pargraph with > size().
9420 (setCursor): check also for the same paragraph when checking where
9421 to put the cursor if we have a NFR inset.
9423 * buffer.C (parseSingleLyXformat2Token): move the compatibility
9424 parts of layout read further up as it still was in the wrong
9427 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9429 * screen.C (drawFromTo): change sine fullRebreak always return
9432 * buffer.C (parseSingleLyXformat2Token): reindent some
9434 * BufferView_pimpl.C (update): change since fullRebreak always
9436 (Dispatch): git rid of the last hardcoded "Standard"s.
9438 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9440 * text2.[Ch] (fullRebreak): make it return void now that we always
9443 2002-04-30 Juergen Vigna <jug@sad.it>
9445 * buffer.C (parseSingleLyXformat2Token): reset the font before the
9446 ert compatibility check for "latex" layout.
9448 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
9450 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9451 minipages: use col% instead of p%, and also use the current font.
9452 (makeLaTeXFile): Fix use babel condition.
9453 (parseSingleLyXformat2Token): Correct font when reading old floats.
9455 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
9457 * BufferView_pimpl.C (Dispatch): Check that float type exists when
9458 inserting list of floats.
9460 2002-04-25 Herbert Voss <voss@lyx.org>
9462 * MenuBackend.C (expand): don't add the graphics extensions to the
9465 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9467 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9468 non-existing layout, do not complain if it was the default layout
9469 of the original class (bug #342)
9471 2002-04-24 Juergen Vigna <jug@sad.it>
9473 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9474 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9476 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
9478 * buffer.C (getBibkeyList): If using \bibliography, return the
9479 option field with the reference itself. Enables us to provide natbib
9480 support when using \bibliography.
9482 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
9484 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9486 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9487 natbib is provided by the LaTeX class.
9489 2002-04-23 Juergen Vigna <jug@sad.it>
9491 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9494 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9496 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9498 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9500 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9501 ensuremath around textordmasculine, textordfeminine and
9504 2002-04-19 Juergen Vigna <jug@sad.it>
9506 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9507 reinitializing the buffer otherwise row-dimensions may be wrong.
9508 (update): reset also the selection cursors if they do exits otherwise
9509 their x/y positions may be wrong.
9511 * text2.C (cursorDown): don't enter the inset if we came from a row
9512 above and are one row over the inset.
9514 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9515 really leaving an inset.
9517 2002-04-18 Juergen Vigna <jug@sad.it>
9519 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9520 of the selected paragraph does not have the selected layout also if
9523 * text2.C (setLayout): fixed bug which did not change last selected
9526 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9527 changed the read and substituted \\end_float with \\end_inset!
9529 * BufferView_pimpl.C (cursorPrevious):
9530 (cursorNext): fixed to make it work with rows heigher than the work
9531 area without moving the cursor only the draw of the row.
9532 (workAreaMotionNotify): fix jumping over high rows.
9534 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9536 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9539 2002-04-16 Juergen Vigna <jug@sad.it>
9541 * text2.C (setCursor): set also the irow().
9542 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9544 (cursorDown): support for locking an inset if the x_fix value goes
9545 inside it. That way I can transverse insets too with cursor up/down.
9547 * lyxrow.h: added irow helper function same as other (i) functions.
9549 * BufferView_pimpl.C (cursorPrevious):
9550 (cursorNext): fixed for insets!
9552 2002-04-15 Juergen Vigna <jug@sad.it>
9554 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9555 position otherwise it is wrong in some cases.
9557 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9558 inside the inset before the call.
9560 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
9562 * buffer.[Ch] (getBibkeyList): make it const.
9564 2002-04-12 Juergen Vigna <jug@sad.it>
9566 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9568 * text2.C (getCursorX): new helper function
9569 (setCursor): compute also ix_
9570 (setCursorFromCoordinates): set also ix.
9572 * lyxcursor.h: added ix_ and helper functions.
9574 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9576 * buffer.C (insertStringAsLines): dont break paragraph if the this
9577 paragraph is inside an inset which does not permit it!
9579 * text.C (breakParagraph): honor keepempty flag and break the paragraph
9580 also with no chars on this paragraph.
9581 (paintRowText): only paint stuff if it's inside the workarea!
9583 * paragraph.C (breakParagraph): honor keepempty flag and break the
9584 paragraph always below not above.
9586 * BufferView2.C (unlockInset): update the paragraph layout on inset
9587 unlock as we changed paragraph in such a case.
9589 * lyxfind.C (LyXFind): clear the former selection if not found!
9591 * text2.C (insertInset): freeze Undo after setUndo so that it is not
9592 again called in insertChar().
9594 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9595 an inset which uses the whole row!
9596 (rightMargin): ditto.
9597 (insertChar): force a rebreak if we inserted an inset!
9599 2002-03-28 Herbert Voss <voss@lyx.org>
9601 * lyxlength.[Ch]: add inBP() to get the right PS-point
9602 units (BigPoint). With inPixels we have rounding errors
9604 2002-04-11 Juergen Vigna <jug@sad.it>
9606 * text2.C (setCursorFromCoordinates): set iy to the right value.
9607 (setCursor): add check if row->previous exists!
9609 * buffer.C (parseSingleLyXformat2Token): reset font after read of
9610 an old float_type as this was the case in the old code!
9612 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9614 * BufferView2.C (showLockedInsetCursor): use iy
9615 (fitLockedInsetCursor): ditto
9617 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9618 locked insets as there we have the right value now.
9620 * lyxcursor.C: added iy_ variable and iy functions to set to the
9621 baseline of cursor-y of the locked inset.
9623 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9624 (setCursor): fixed for insets which need a full row.
9626 * text.C (rowLastPrintable): don't ignore the last space when before
9627 an inset which needs a full row.
9628 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9629 as last character of a row when before a inset which needs a full row.
9631 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9633 * version.C.in: update date
9635 * text2.C (fullRebreak): try to always return true and see what
9638 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9640 * MenuBackend.C (expand): use Floating::listName
9642 * FloatList.C (FloatList): add listName argument to the built-in
9645 * Floating.[Ch]: add listName member, which is the 'List of XXX'
9646 text associated with the float.
9648 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9650 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9652 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9654 * ShareContainer.h: add a couple of missing typenames.
9656 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
9658 * lyxrc.C (getDescription): use _() correctly rather than N_().
9660 2002-03-28 Herbert Voss <voss@lyx.org>
9662 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9663 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9665 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9667 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9668 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9670 2002-03-29 Juergen Vigna <jug@sad.it>
9672 * lyxfunc.C (dispatch): add a missing fitCursor call.
9674 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9675 it was scrolled by a cursor move, so return the bool status.
9677 * BufferView.C (fitCursor): return the bool flag also to the outside
9678 world as this is needed.
9680 * screen.C (toggleToggle): don't subtract the offset if it's positive.
9682 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9683 call the edit() as it is not needed (and wrong) IMO.
9684 (workAreaButtonPress): set the screen_first variable before evt.
9685 unlock the inset as this may change screen_first and then we have
9686 a wrong y position for the click!
9688 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9690 * MenuBackend.C (expand): another translation that I missed
9692 2002-03-28 Juergen Vigna <jug@sad.it>
9694 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9696 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9698 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9700 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9702 * MenuBackend.C (expand): fix export/view/update when there is no
9705 2002-03-27 Herbert Voss <voss@lyx.org>
9707 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9710 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9712 * bufferview_funcs.C (currentState): only show paragraph number
9713 for is DEVEL_VERSION is set.
9715 * lyxfunc.C (dispatch): put warning in INFO channel
9717 * MenuBackend.C (expand): translate the name of floats
9719 * FloatList.C (FloatList): mark the float names for translation
9721 * converter.C (convert): use LibScriptSearch
9723 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9725 * MenuBackend.C (defaults): fix default menu (we might as well get
9728 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9730 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9733 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9735 * lyxvc.C: reorder includes.
9737 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
9739 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9742 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
9744 * CutAndPaste.C: change layouts earlier on paste
9745 to avoid crashing when calling getFont()
9747 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
9749 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9752 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9754 * WorkArea.C: remove 'Pending' debug message.
9756 * most files: ws cleanup
9758 * buffer.[Ch]: ws changes
9760 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9762 2002-03-21 Juergen Vigna <jug@sad.it>
9764 * tabular.C (SetMultiColumn): collapse also the contents of the
9765 cells and set the last border right. Added a Buffer const * param.
9767 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9769 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9772 2002-03-19 Juergen Vigna <jug@sad.it>
9774 * text2.C (clearSelection): reset also xsel_cache.
9776 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9777 where it needs to be called (John tells us to do so too :)
9778 (selectionLost): reset sel_cache.
9780 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9782 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9784 * text2.C (setCursorIntern): put debuging code in INSETS channel
9786 2002-03-19 André Pönitz <poenitz@gmx.net>
9788 * lyxfunc.C: tiny whitespace change
9790 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9792 * ToolbarDefaults.C (init):
9793 * LyXAction.C (init):
9795 * BufferView_pimpl.C (Dispatch):
9796 * lyxfunc.C (dispatch): remove LFUN_DEPTH
9798 2002-03-19 Allan Rae <rae@lyx.org>
9800 * exporter.C (Export): removeAutoInsets before doing anything else.
9801 While I've just introduced a dependency on BufferView this really is
9802 the best place to clean the buffer otherwise you need to cleanup in
9803 a dozen places before calling export or cleanup in a dozen functions
9806 * converter.C (runLaTeX):
9807 (scanLog): Better handling of removeAutoInsets and screen updates.
9809 * lyxfunc.C (dispatch): small whitespace changes
9811 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9813 * WorkArea.C (C_WorkAreaEvent): return a value.
9814 (event_cb): return 1 if we handled the event, 0 otherwise.
9816 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9818 2002-03-18 Juergen Vigna <jug@sad.it>
9820 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9821 (GetAdditionalWidth): ditto.
9825 * BufferView2.C (copy): use getLyXText() so that we do it inside an
9826 inset if we're there actually (probably not used right now but this
9827 is the direction to go for unifying code).
9828 (paste): disable code to clear the selection.
9830 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9831 inside an InsetText and move the check further up as it is in the
9834 * text2.C (pasteSelection): set a selection over the pasted text.
9836 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
9838 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9839 and libgraphics to build on Cygwin.
9841 2002-03-15 Juergen Vigna <jug@sad.it>
9843 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9844 inserting an Inset into the paragraph. I know this is not the best
9845 fix but we already use current_view in CutAndPaste so we will remove
9846 all of it's using at the same time.
9848 * buffer.C (sgmlError): deactivated function till it is rewritten in
9849 the right mode, now it can create problems.
9851 * paragraph.C (isLineSeparator): check if getInset returns != 0,
9852 before accessing it.
9854 2002-03-14 Juergen Vigna <jug@sad.it>
9856 * undo_funcs.C (textHandleUndo): do the right thing when updating
9857 the inset after the undo/redo.
9859 * text2.C (setCursor): just some testcode for #44 not ready yet.
9861 * undo_funcs.C (textHandleUndo): set the next() and previous()
9862 pointers of the paragraph to 0 before deleting otherwise we have
9863 problems with the Paragraph::[destructor].
9865 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9866 on a paragraph insertion.
9868 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9870 * buffer.C (asciiParagraph): use += operator for char append to
9873 * paragraph.C (getFontSettings): compare >= not just >
9874 (highestFontInRange): ditto
9877 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9879 * paragraph.C: change several algorithm to be more appripriate for
9880 the problem domain. This is lookip in FontList and in the InsetList.
9882 2002-03-13 André Pönitz <poenitz@gmx.net>
9885 * LyXAction.C: remove unused LFUN_MATH_MACROARG
9887 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
9892 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9894 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9896 * Painter.C (display): anon helper function, adjust code for this
9898 (pixmap): remove function.
9900 * Painter.h: remove private display variable.
9902 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9904 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
9906 * WorkArea.[Ch]: remove figinset_canvas cruft.
9908 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9910 * lyxtextclass.C (operator): add one item cache optimization.
9912 * bufferlist.h: doxy changes
9914 * bufferlist.C: ws changes
9916 * DepTable.[Ch] (ext_exist): place const in the right spot.
9918 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9920 (workAreaExpose): call resizeInsets when the with BufferView changes.
9921 (Dispatch): adjust for protectedBlank removal
9922 (specialChar): call updateInset if the insert went ok.
9924 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9925 specialChar instead.
9927 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9929 * BufferView.h: doxy change
9931 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9933 * lyxtextclass.C (operator[]): remove non-const version
9934 (defaultLayout): remove non-const version
9936 2002-03-12 Juergen Vigna <jug@sad.it>
9938 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9939 did resize the LyXText too.
9941 * buffer.C (readLyXformat2): set layout information on newly allocated
9944 * tabular.C (OldFormatRead): set layout information on the paragraph.
9946 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9948 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9950 2002-03-11 Juergen Vigna <jug@sad.it>
9952 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9954 (resizeCurrentBuffer): force also the insets to resize themselfes.
9955 (moveCursorUpdate): fixed up for InsetText.
9957 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
9960 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9961 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9962 value of Dialogs::tooltipsEnabled().
9963 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9965 2002-03-08 Juergen Vigna <jug@sad.it>
9967 * BufferView_pimpl.C (updateInset): update inset inside inset also
9968 if it isn't inside theLockingInset().
9970 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9972 * buffer.C (asciiParagraph): redo some of the word and line length
9974 (getLists): look for Caption instead of caption.
9976 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9978 * buffer.C (Buffer): initialize niceFile to true
9981 (makeDocBookFile): make sure niceFile is true on exit
9983 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9985 * buffer.C (makeLaTeXFile): escape ~ in \input@path
9987 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
9989 * LyXSendto.C: remove.
9990 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9991 * lyx_gui.C: remove now-redundant comment.
9992 * ColorHandler.h: remove forward declaration of class WorkArea.
9993 * lyxfunc.C: remove #include "WorkArea.h".
9995 2002-03-07 Juergen Vigna <jug@sad.it>
9997 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9998 got moved away with the DEPM and also set the inset_owner always
9999 right which before could have been omitted.
10001 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10003 * buffer.C (parseSingleLyXformat2Token): use default layout is the
10004 wanted layout is not found.
10006 2002-03-07 Juergen Vigna <jug@sad.it>
10008 * CutAndPaste.C (cutSelection): another layout settings forgotten.
10010 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10012 * paragraph.C (breakParagraph): use default layout not layout of
10014 (Paragraph): clear ParagraphParameters.
10016 2002-03-06 Juergen Vigna <jug@sad.it>
10018 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10019 otherwise it would not be a valid lenght. Fixed a special case in
10020 the minipage compatibility read where we end the document with a
10023 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10024 was set as it could be 0 for InsetTexts first entry.
10026 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10028 * paragraph.C (writeFile): if layout is empty write out
10029 defaultLayoutName().
10031 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10032 file without named layout we set layout to defaultLayoutName().
10034 2002-03-06 Juergen Vigna <jug@sad.it>
10036 * CutAndPaste.C (copySelection): set layout for new paragraph.
10038 * text.C (prepareToPrint): leave ERT inset left aligned
10039 (leftMargin): don't indent paragraphs inside ERT insets
10041 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10043 * paragraph.C (breakParagraph): dont call clear do the work manually
10045 * paragraph.[Ch] (clear): remove function
10047 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10049 * paragraph.C (Paragraph): dont call clear, the work has already
10052 * lyxtextclass.C (operator): assert if n is empty
10054 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10055 work manually instead.
10057 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10059 * BufferView_pimpl.C: protect selectionLost against text == 0
10061 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10063 * text.C (breakParagraph): fix a setting layout to '0' problem.
10065 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10067 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10068 final location of file, for the included files, and graphics.
10070 2002-03-05 Juergen Vigna <jug@sad.it>
10072 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10074 2002-03-04 Juergen Vigna <jug@sad.it>
10076 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10078 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10079 last column of multicolumn cells.
10080 (SetWidthOfMulticolCell): recalculate NMC and real columns.
10082 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
10084 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10085 file if it doesn't go to a temporary file.
10087 * buffer.C (sgmlOpenTag):
10088 (sgmlCloseTag): remove extra newline insertion.
10090 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10092 * text.C (getRowNearY): comment out debug msg
10094 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10096 * text2.C: first -> first_y
10098 * text.C (getRowNearY): add some attemts at a possible
10099 optimization, not working.
10101 * tabular.[Ch]: add BufferParams to several function so that newly
10102 created paragraph can be initialized to he default layotu for the
10105 * tabular-old.C (ReadOld): add buf->params to call of Init
10107 * screen.C: rename text->first to text->first_y
10109 * paragraph.C (breakParagraph): always set layout in the broken
10112 * lyxtextclass.C (Read): remove lowercase
10115 (delete_layout): ditto
10117 * lyxtext.h: rename first -> first_y
10119 * lyxlayout.C (Read): remove lowercase
10122 (obsoleted_by): ditto
10124 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10126 * buffer.C (insertErtContents): add params are to InsetERT
10127 (parseSingleLyXformat2Token): add code to check if a paragraphs
10128 layout really exist.
10129 (parseSingleLyXformat2Token): add params to several inset
10131 (asciiParagraph): remove lowercase, do the layout comparisons with
10134 * BufferView_pimpl.C (cursorNext): first -> first_y
10135 (resizeCurrentBuffer): first -> first_y
10136 (updateScrollbar): first -> first_y
10137 (scrollCB): first -> first_y
10138 (workAreaMotionNotify): first -> first_y
10139 (workAreaButtonPress): first -> first_y
10140 (checkInsetHit): first -> first_y
10141 (cursorPrevious): first -> first_y
10142 (cursorNext): first -> first_y
10143 (Dispatch): add buffer_->params to severl inset contructors
10145 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10147 * lyxlayout.C (Read): remove some debug info that I forgot.
10149 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10150 clean up the code slightly.
10151 (makeLinuxDocFile): ditto
10152 (makeDocBookFile): ditto
10154 * text2.C: layout as string
10156 * text.C: layout as string
10158 * paragraph_pimpl.C: layout as string
10160 * paragraph.[Ch]: layout as string
10162 * lyxtextclasslist.[Ch]: layout as string
10164 * lyxtextclass.[Ch]: layout as string
10166 * lyxtext.h: layout as string
10168 * lyxlayout.[Ch]: layout as string
10170 * lyx_cb.C: layout as string
10172 * bufferview_funcs.C: layout as string
10174 * bufferparams.C: layout as string
10176 * buffer.C: layout as string
10178 * LyXView.[Ch]: layout as string
10180 * LaTeXFeatures.[Ch]: layout as string
10182 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10184 * BufferView_pimpl.C: change current_layout to string, remove
10189 (workAreaButtonRelease): layout as string
10191 * BufferView2.C (unlockInset): adjust
10193 * vspace.C (asLatexCommand): use an explict temp variable.
10195 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10197 * Makefile.am: use FRONTEND_*
10199 2002-03-01 Juergen Vigna <jug@sad.it>
10201 * tabular.C (SetWidthOfMulticolCell): changed to something better
10202 I hope but still work in progress.
10203 (recalculateMulticolumnsOfColumn): renamed function from
10204 recalculateMulticolCells as it is more appropriate now.
10205 (SetWidthOfCell): calculate multicols better.
10207 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10209 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10211 * lyxfunc.C (processKeySym): print sequence also if it is
10212 `deleted' (complete)
10214 * kbsequence.C (print): print sequence even if it is deleted
10215 (complete would be a better word, actually).
10217 * lyxfunc.C (dispatch): print complete options after a prefix key
10219 * vspace.C (asLatexCommand): rewrite in a slightly different form.
10221 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
10223 * text2.C (setCharFont): eliminate setCharFont code duplication.
10225 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10227 * BufferView_pimpl.C (Dispatch): remove bogus handling of
10228 LFUN_TABULAR_FEATURE (bug #177)
10230 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
10232 * Makefile.am: remove figure.h
10234 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
10236 * Bufferview_pimpl.C:
10248 * text2.C: remove #include "lyx_gui_misc.h".
10250 * LaTeX.C: added #include <cstdio>
10252 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10254 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10255 that the paragraph following this one can have.
10257 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10259 * vspace.C (asLatexCommand): fix bogus gcc warning
10261 * Makefile.am (lyx_SOURCES): remove vms_defines.h
10263 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
10265 * text2.C (setLayout): get rid of redundant code
10267 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
10269 * text2.C (incDepth): make sure depth cannot be increased beyond
10272 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
10274 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10275 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10277 * PainterBase.h (image):
10278 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10279 a LyXImage const *.
10281 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10285 * BufferView_pimpl.C:
10286 * BufferView_pimpl.h:
10306 * sp_spell.C: remove fig inset, and the crap house of
10307 cards that follows it
10309 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10314 * os2_errortable.h:
10315 * nt_defines.h: move .h into support/
10317 * vms_defines.h: remove
10319 * WorkArea.C: add space in debug output
10323 * buffer.C: add WITH_WARNINGS
10327 * bufferlist.C: s/retrive/retrieve/, add docs
10336 * chset.C: add docs
10338 * lyxgui.C: add ID to X error handler
10340 * lyxtestclass.c: fix typo
10342 2002-02-26 Juergen Vigna <jug@sad.it>
10344 * tabular_funcs.C (write_attribute): changed so that some default
10345 attributes are not written at all.
10346 (getTokenValue): set default values before trying to read the
10347 value so we have the return value always set as default if we don't
10348 find the token we search for.
10350 * tabular.C (Write): write bools as bools not as strings!
10352 2002-02-22 Juergen Vigna <jug@sad.it>
10354 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10355 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10357 * text.C (leftMargin): don't add an indent for paragraphs inside
10358 tabular cells (fix #208).
10360 2002-02-21 José Matos <jamatos@fep.up.pt>
10362 * tabular.C (docBook): fixed support for long tables.
10364 2002-02-20 Juergen Vigna <jug@sad.it>
10366 * text2.C (getFont): get the drawing font of the Inset if this
10367 paragraph is inside an inset (only important for InsetERT for now).
10369 * buffer.C (insertErtContents): use new lanugage params in ERT
10372 * CutAndPaste.C: commenting out seemingly uneeded code.
10374 2002-02-19 Allan Rae <rae@lyx.org>
10376 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10377 Iterators might be simple to use but they also get invalidated.
10378 (removeAutoInsets): renamed saved cursor tracking variables and added
10379 some comments to clarify what everything does.
10381 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
10388 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10389 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10392 * vc-backend.h: remove #include "support/syscall.h"
10396 * converter.C: rearrange #includes in Lars' approved fashion.
10398 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10399 forward declare class Timeout in the header file.
10401 * XFormsView.C: changes due to the above.
10403 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10404 similar to LyXView.
10406 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10407 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10409 2002-02-18 José Matos <jamatos@fep.up.pt>
10411 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10414 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10416 * a lot of small ws changes
10417 * add a lot of using std::XXX
10418 * use std construcs some places where approp.
10419 * use some exisint stuff from lyxfunctional where approp.
10420 * Make file changes to use partial linking (lets test this now...)
10422 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10426 remove #include "support/syscontr.h" as it's redundant. Always has been.
10434 change Systemcalls::System to Systemcalls::Wait and
10435 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10436 No change of functionality, just reflects the stripped down Systemcalls
10439 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10441 * debug.[Ch]: add a GRAPHICS type to the enum.
10443 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10445 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10447 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10450 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10452 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10453 match the changes below.
10455 * text2.C (toggleInset): if there is not editable inset at cursor
10456 position, try to see if cursor is _inside_ a collapsable inset
10459 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10461 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10462 document menu has a nice checkbox
10464 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10466 * lyxlength.C (asLatexString): change PW to output as percent of
10469 * lengthcommon.C: change '%' to 't%'
10471 * lyxfunc.C (dispatch): a few comments from Martin
10473 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
10477 * BufferView_pimpl.h:
10478 * BufferView_pimpl.C: clear our selection when X tells us we've lost
10481 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10483 * vspace.C (inPixels): fix compiler warning
10485 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10487 * lyxfunc.C (getStatus): fix status message for disabled commands.
10489 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
10491 * BufferView_pimpl.C: fix crash on close buffer
10492 during selection (#227)
10494 2002-01-27 Herbert Voss <voss@lyx.org>
10496 * buffer.C: link old Figure to new graphic inset
10498 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
10500 * FontLoader.C (getFontinfo): Change the latex font names in order
10501 to match the names of type1inst.
10503 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10505 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10507 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10508 (extchanged): ditto
10510 (remove_files_with_extension): ditto
10511 (remove_file): ditto
10514 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10515 document is smaller than the work area height. Do not initialize
10516 static variables to 0.
10518 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10520 * lyx_gui.C (init): give the toolbar tooltips a normal font.
10522 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10523 LFUN_LAYOUT_PARAGRAPHS.
10525 * tabular.C (GetCellFromInset): new method. Finds an inset in a
10526 tabular. It is possible to provide a possible cell, which will
10527 typically be the actcell from the corresponding insettabular
10529 * lyxfunc.C (getStatus): small cleanup; disable
10530 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10533 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10535 * tabular.C (Validate): remove broken optimization (fixes bug #201)
10537 * paragraph.C (startTeXParParams):
10538 (endTeXParParams): new methods. The LaTeX code to
10539 start/end paragraph formatting
10540 (simpleTeXOnePar): call startTeXParParams also when paragraph is
10541 empty (fixes bug #200)
10543 * vspace.C (inPixels): adapt to the change below
10544 (inPixels): [later] more cleanups (remove unused variables)
10546 * lyxlength.C (inPixels): change to use a width and a height as
10549 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10551 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10552 Replaced with \paperwidth
10554 * DepTable.C (insert): add std:: qualifier
10556 2002-01-18 Allan Rae <rae@lyx.org>
10558 * text2.C (removeRow): add comment. Should other refresh_?? vars be
10561 * text.C (drawInset): Turned out I didn't know enough about how
10562 rebreaking worked. This fixes most of the redraw problems. I see
10563 an occasional cursor trail when a line is broken now and the cursor
10564 placement can seem out by a few pixels also after a rebreak.
10566 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10568 * buffer.C (parseSingleLyXformat2Token): update because minipage
10569 width is now a LyXLength
10571 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10573 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10576 2002-01-17 Juergen Vigna <jug@sad.it>
10578 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10580 * BufferView2.C (lockInset): call edit() so that theLockingInset()
10581 is set correctly and the inset is updated correctly.
10583 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10585 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10586 the beginning of the loop.
10588 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
10590 * lyxrc.C: improve help for use_scalable_fonts
10592 2002-01-17 Allan Rae <rae@lyx.org>
10594 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10596 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10598 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10599 make sure to set their inset_owner to the right value (bug #171)
10601 2001-12-12 Ben Stanley <bds02@uow.edu.au>
10604 * DepTable.C: Implement mtime checking to reduce time spent doing
10607 2002-01-16 Juergen Vigna <jug@sad.it>
10609 * tabular.C (GetAdditionalHeight): one of error fixed.
10611 * lyxrc.C (output): small fix in writing use_pspell.
10613 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
10615 * sp_base.h: #include LString.h
10617 2002-01-16 Allan Rae <rae@lyx.org>
10619 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
10620 Can someone check this please?
10622 * text.C (drawInset): It was possible that p.row would be removed by
10623 breakAgainOneRow upsetting a few other settings. There may be another
10624 small tweak possible by setting need_break_row = 0 when p.row has been
10625 removed but I don't know enough about the logic here.
10627 2002-01-15 Allan Rae <rae@lyx.org>
10629 * text.C (insertChar): removed conditional truism.
10631 * BufferView2.C (removeAutoInsets): More tweaks.
10632 cur_par_prev could be a stray pointer. Check for trailing empty line
10633 in case last line was cur_par and only had an error inset on it.
10635 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10637 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10640 * vc-backend.C (most methods):
10641 * exporter.C (Export):
10642 * converter.C (convert):
10644 * LyXSendto.C (SendtoApplyCB):
10645 * lyxfunc.C (dispatch):
10649 * lyx_cb.C (AutoSave):
10651 * BufferView_pimpl.C (MenuInsertLyXFile):
10652 * buffer.C (runChktex): use Buffer::filePath().
10654 * buffer.h: rename filename to filename_; rename filepath to
10655 filepath_ and make it private
10656 (filePath): new method
10658 * buffer.C (writeFile): use fileName()
10661 * lyx_main.C (init): fix starting of LyX when the binary is a
10662 link from so,ewhere else.
10664 * minibuffer.C: include <cctype> for isprint
10666 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10668 * buffer.C (parseSingleLyXformat2Token): changes associated with the
10669 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10670 name clash with InsetCollapsable's width function.
10672 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10674 * lastfiles.C: include <iterator>
10676 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10678 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10681 * buffer.C (makeLaTeXFile): ditto.
10682 Also make loop operation more transparent.
10684 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10686 * ToolbarDefaults.C: remove trailing comma closing namespace.
10688 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10690 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10693 * trans.C (Load): comment out unused variable, allowed.
10695 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10697 * minibuffer.[Ch] (append_char): new method to recieve input from the
10698 drop-down completion browser. If a key was pressed, then recieve this
10699 char and append it to the existing string.
10700 (peek_event): modify the positioning data passed to the completion
10701 browser so that it can be placed above the minibuffer rather than below.
10702 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10704 * LyXAction.C (init): alloe error-next for readonly documents.
10706 * BufferView2.C (ChangeRefsIfUnique): use standard version of
10709 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10711 * bufferlist.C (readFile): create the buffer _after_ checking that
10714 * lyxfunc.C (verboseDispatch): fix handling of arguments
10716 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10718 * lyxrc.C: use string::erase() instead of initializing to "".
10721 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10723 * BufferView_pimpl.h:
10724 * BufferView_pimpl.C:
10727 * text2.C: tell X when we have made a selection for copying
10729 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10731 * BufferView_pimpl.C (MenuInsertLyXFile):
10732 * lyxfunc.C (menuNew):
10734 (doImport): add shortcuts to directory buttons
10736 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10739 * lyxfunc.C (setStatusMessage):
10740 (getStatusMessage): new methods
10741 (getStatus):use setStatusMessage instead of setErrorMessage
10742 (dispatch): when function is disabled, set error message here
10743 [instead of in getStatus previously]
10745 * BufferView_pimpl.C (workAreaButtonRelease): update
10746 toolbar/menubar here too.
10748 2002-01-13 Allan Rae <rae@lyx.org>
10750 * BufferView2.C (removeAutoInsets): finished off earlier fix.
10751 Now seems indestructible. Remaining task is to audit all other
10752 code affected by deleteEmptyParagraphMechanism. One small quirk
10753 left is that an empty document with an error in the preamble can
10754 be made to report an error but no error box appears. I don't know
10756 (removeAutoInsets): Improved comments.
10758 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
10761 * Thesaurus.C: update for Aiksaurus 0.14
10763 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10765 * text2.C (firstParagraph): removed member function, all uses
10766 replaces with ownerParagraph
10767 (redoParagraphs): here
10768 (updateInset): here
10769 (toggleAppendix): here
10770 * BufferView2.C (insertErrors): here
10771 (setCursorFromRow): here
10773 2002-01-13 Allan Rae <rae@lyx.org>
10775 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10776 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10777 There is still a way to segfault this although you may have to do this
10778 multiple times: Have an InsetERT with an unknown command in it.
10779 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10780 <down-arrow>, <Enter> again, View->DVI, BANG!
10782 * text2.C (setCursor):
10783 (deleteEmptyParagraphMechanism):
10784 * lyxtext.h (setCursor):
10785 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10786 Making use of the return value may help fix other bugs.
10788 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10790 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10792 * LyXView.C (updateMenubar): call MenuBar::update here
10793 (updateToolbar): but not here
10794 (showState): do not update toolbar/menubar
10796 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10797 should need to care about that.
10799 * lyxfunc.C (verboseDispatch): simplify a bit
10800 (getStatus): have a version which takes a pseudoaction, and
10801 another which requires a (kb_action,string).
10803 * LyXAction.C (retrieveActionArg): make it work also when action
10804 is not a pseudo-action.
10805 (getActionName): simplify a bit
10808 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10810 * lyxfunc.C (verboseDispatch): new families of methods with
10811 several ways to specify a command and a bool to indicate whether
10812 the command name and shortcut should be displayed in minibuffer
10813 (eventually, we could extend that to a finer bitmask like
10814 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10815 (dispatch): the pristine dispatch command which just, well,
10816 dispatchs! Note it still sets its result to minibuffer; I'm not
10819 * lyxfunc.h: remove setHintMessage
10821 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10823 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10825 * BufferView_pimpl.C (specialChar): delete new inset if we have
10826 not been able to insert it.
10828 * kbmap.C: revert to using int instead of kb_action, since all we
10829 are dealing with is pseudo-actions.
10831 * LyXAction.C (searchActionArg): change to return int instead of
10832 kb_action, since the result is a pseudoaction.
10834 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
10836 * buffer.C (insertErtContents): Fix (partially) the font bug.
10838 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10840 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10841 as the other one is broken on my machine!
10843 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
10846 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10848 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
10850 * lyxrc.[Ch]: change names and descriptions of popup font variables to
10851 reflect their actual use. Provide compatibility code for older lyxrc
10854 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10856 change names of popup font variables in line with the changes to lyxrc.C
10858 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10860 * buffer.C (asciiParagraph): avoid outputing a word twice after
10863 * lyxrc.C (getDescription): document that document_path and
10864 template_path can be empty.
10866 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10868 * LaTeXFeatures.C (getMacros):
10869 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10871 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10873 * LaTeXFeatures.C (useFloat): require "float" here instead of in
10875 (getPackages): rename feature "floats" to "float". Use an array to
10876 iterate over 'simple' features (i.e. just a \usepackage). Add
10877 handling of "amsmath" (renamed from "amsstyle").
10879 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
10881 * LaTeXFeatures.C (require): Prevent duplicate entries in the
10884 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
10886 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10887 FuncStaus::FuncStatus & FuncStaus::some_method().
10889 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
10891 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10892 of the func_satus stuff. Edited and massaged in various ways by
10895 * lyxfunc.C (getStatus): use FuncStatus
10897 2002-01-08 Juergen Vigna <jug@sad.it>
10899 * text.C (nextBreakPoint): use function Inset::isChar().
10901 * paragraph.C (TeXOnePar): use function
10902 Inset::forceDefaultParagraphs.
10904 * buffer.C (latexParagraphs): use function
10905 Inset::forceDefaultParagraphs.
10907 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10909 * lyx_gui.C (init): set the style of the menu popups to
10910 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10912 2002-01-07 Juergen Vigna <jug@sad.it>
10914 * text.C (setHeightOfRow): small fix
10915 (prepareToPrint): don't look at alignment if we don't have the place
10918 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10920 * box.C: New file. Move the Box methods and functions out of box.h,
10921 following Lars' suggestion.
10923 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10925 * box.h: #include "support/LOstream.h", needed for inlined function.
10928 * lyxtextclasslist.C: added some using std declarations.
10930 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
10932 * box.h: make signed dimensions to allow insets wider than
10933 the screen (bug #162)
10935 * BufferView_pimpl.C: add some insetHit debug
10937 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
10939 * vc-backend.C: add FIXME
10941 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10943 * lyxfunc.C (getStatus): enable code for showing math font status
10946 2002-01-07 Juergen Vigna <jug@sad.it>
10948 * text.C (nextBreakPoint): removed debug output not needed anymore.
10950 2002-01-06 Juergen Vigna <jug@sad.it>
10952 * text.C (nextBreakPoint): fixed up this function we had this bug
10953 since ever but now hopefully we break row better.
10954 (insertChar): we have to check if an inset is the next char as it
10955 could now happen that a large inset is causing a break.
10957 2002-01-05 Juergen Vigna <jug@sad.it>
10959 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10960 if it doesn't like to be drawed.
10962 2002-01-04 Juergen Vigna <jug@sad.it>
10964 * BufferView2.C (lockInset): forgot to set a cursor.
10966 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10968 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
10970 * FormMathsPanel.C:
10973 * form_maths_panel.C:
10974 * form_maths_panel.h:
10975 * form_maths_panel.fd: implemented sub- and super- buttons in math
10978 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10979 (or ^ space) to be used as in TeX (req'd by André).
10981 * lyxfunc.C: Allow ^ and _ again to be used both as
10982 super/subscript (mathed) and as themselves (in text).
10984 2002-01-03 Allan Rae <rae@lyx.org>
10986 * LyXView.C (updateWindowTitle): Setup a short icon title of either
10987 "LyX" or the filename of the current buffer if it has one. This is a
10988 modified form of John Levon's patch.
10990 * XFormsView.C (setWindowTitle): also set icon title.
10992 * LyXView.h (setWindowTitle): signature changed.
10993 * XFormsView.h (setWindowTitle): ditto.
10995 2002-01-02 Juergen Vigna <jug@sad.it>
10997 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10999 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11001 * screen.C (topCursorVisible): introduce a temp var for
11002 text->cursor.row(), handle the case where this row is null. (kindo
11005 * text2.C (setCursor): add a couple of asserts.
11007 * paragraph.h (inset_iterator): add -> operator
11009 * paragraph.[Ch] (autoDeleteInsets): remove member function
11011 * BufferView2.C (removeAutoInsets): rewrite to handle the old
11012 cursor pos correctly and handle inset deletion by itself.
11013 (insertErrors): move iterator declaration out of for expression
11015 * lyxtextclass.C: add <algorithm>
11017 * Makefile.am: added the new files to sources, removed layout.C
11019 * layout.C: removed file
11021 * layout.h: remove LYX_DUMMY_LAYOUT
11023 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11027 * lyxtextclass.[Ch]:
11028 * lyxtextclasslist.[Ch]: new files
11030 * include order changes to a lot of files, also changes because of
11033 2001-12-27 Juergen Vigna <jug@sad.it>
11035 * buffer.C (asciiParagraph): more fixes.
11037 * tabular.C (ascii): make ascii export support export of only the
11038 data separated by a column-delimiter.
11039 (ascii): better support for ascii export.
11041 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11043 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11045 * tabular_funcs.C: use a "using std::getline" instead of the
11046 previous fix from Angus (necessary for cxx + lyxstring)
11048 2001-12-24 Juergen Vigna <jug@sad.it>
11050 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11052 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11053 problems. First check a minipage also if we have some ert-contents
11054 (not only on par->size(), second set the right depth of the paragraph
11055 on the relink to the root-paragraph-list!
11057 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11058 which then did not anymore update the main paragraphs on undo/redo!
11060 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11062 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11063 code. Support all font-changing funcs (even those which are not in
11064 menu currently). Support for reporting font settings in
11065 mathed (disabled until Andre provides a function on mathed's side).
11067 * func_status.h (toggle): small helper function to set toggle
11070 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
11072 * tabular_funcs.C: getline -> std::getline
11074 2001-12-21 Juergen Vigna <jug@sad.it>
11076 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11077 accessed and could be 0 (I couldn't generate this but it seems
11080 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11082 * tabular_funcs.C: add LIstream.h, move write_attribute to..
11083 * tabular_funcs.h: here and include iosfwd
11085 2001-12-20 Juergen Vigna <jug@sad.it>
11087 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11088 inside inset but undo_par was.
11090 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11092 * Thesaurus.C: always include <config.h> in sources.
11096 * box.h: do not include <config.h> in header files
11098 * text.C (paintLastRow): remove unused variable
11100 * text.C (transformChar):
11102 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11104 * Painter.C (text):
11105 * font.C (width): rewrite to use uppercase() instead of
11108 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11110 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
11112 * lyxfind.C: clean up of find failure position change
11114 2001-12-20 Juergen Vigna <jug@sad.it>
11116 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11118 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11119 (TeXRow): added to LaTeX a single tabular row.
11120 (TeXLongtableHeaderFooter): added to output LT-h/f data.
11121 (Latex): simplified and finally good LT-h/f support.
11122 (various_functions): just small adaptions for LT-h/f support.
11124 * tabular_funcs.[hC]: added and moved here all not classfunctions
11127 2001-12-19 Juergen Vigna <jug@sad.it>
11129 * tabular.[Ch]: better support for longtabular options (not finished
11132 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11134 * text.C (paintLastRow): use the label font instead of the font of
11135 the last character to compute the size of *_BOX. This makes more
11136 sense and avoids a crash with empty paragraphs.
11137 Use Painter::rectangle to draw EMPTY_BOX.
11139 2001-12-19 Juergen Vigna <jug@sad.it>
11141 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11142 the paragraphs if the replaced paragraph is not the first one!
11143 Tried to delete not used paragraphs but does not work yet so for
11144 now it's inside #ifdef's and by default off!
11146 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11148 * MenuBackend.C: include "lyx_main.h" instead of declaring
11149 lastfiles (actually was declared as LastFiles* instead of a
11152 2001-12-17 Juergen Vigna <jug@sad.it>
11154 * tabular.C (AppendColumn): applied John's fix
11156 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
11160 * BufferView_pimpl.h:
11161 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11164 * box.h: new start of class for above
11166 * lyxfunc.C: ignore space-only minibuffer dispatches.
11167 Show the command name when it doesn't exist
11169 * minibuffer.C: don't add empty lines to the history
11171 * minibuffer.C: add a space on dropdown completion
11173 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
11175 * text.C: fix line above/below drawing in insets
11177 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11179 * lyxlength.C (LyXLength): Initialize private variables.
11181 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
11183 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11184 when inserting error insets.
11186 2001-12-13 Juergen Vigna <jug@sad.it>
11188 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11189 actually sometimes the before-paragraph.
11190 (setUndo): don't clear the redostack if we're not actually undoing!
11192 2001-12-06 Juergen Vigna <jug@sad.it>
11194 * undo_funcs.C (textHandleUndo): well after John's hint I got here
11195 and fixed redoing of main paragraph, so we can use it now ;)
11197 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11199 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11201 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11204 2001-12-13 André Pönitz <poenitz@gmx.net>
11207 * undo_func.C: minor cleanup
11209 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11211 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11212 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11213 font in urw-fonts package which is marked as -urw-fontspecific and
11214 does not work (incidentally, changing the encoding in the
11215 fonts.dir of this package to -adobe-fontspecific fixes the
11218 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11219 is a crash when undoing first paragraph (Juergen, please take a
11220 look). THis does not mean the undo fix is wrong, just that it
11223 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11224 the (Paragraph*) version when needed instead of duplicating the
11227 * text.C (workWidth): use Inset::parOwner to find out where the
11228 inset has been inserted. This is a huge performance gain for large
11229 documents with lots of insets. If Inset::parOwner is not set, fall
11230 back on the brute force method
11232 * paragraph_pimpl.C (insertInset):
11233 * paragraph.C (Paragraph):
11234 (cutIntoMinibuffer): set parOwner of insets when
11235 inserting/removing them
11237 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11239 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
11245 * mathed/formulabase.C:
11246 * mathed/math_cursor.[Ch]:
11247 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11250 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11252 * lyxlength.[Ch] (operator!=): new function
11254 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11256 * text.C (workWidth): use Inset::parOwner to find out where the
11257 inset has been inserted. This is a huge performance gain for large
11258 documents with lots of insets. If Inset::parOwner is not set, fall
11259 back on the brute force method
11261 * paragraph_pimpl.C (insertInset):
11262 * paragraph.C (Paragraph):
11263 (cutIntoMinibuffer): set parOwner of insets when
11264 inserting/removing them
11266 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11268 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11270 * tabular-old.C (getTokenValue):
11271 * tabular.C (getTokenValue):
11272 (write_attribute): new versions for LyXLength
11273 (everywhere): adjust the use of widths
11275 * tabular.h: change the type of widths from string to LyXLength
11277 2001-12-11 Ben Stanley <bds02@uow.edu.au>
11279 * paragraph.C: fixed missing line number count when exporting
11280 Environments to LaTeX file
11282 * buffer.C: added informational message for checking line numbers.
11284 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11286 * text2.C (deleteEmptyParagraphMechanism): if there is only one
11287 paragraph, do the 'double space' part, but not the 'empty
11290 * text.C (workWidth): small optimization
11291 (getLengthMarkerHeight): use minimal size for negative lengths.
11293 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
11295 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11297 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11299 2001-12-11 André Pönitz <poenitz@gmx.net>
11302 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11304 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11306 * text2.C: keep selection on a setFont()
11308 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11310 * lyx_cb.C: another bv->text misuse, from insert label
11312 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11315 * kbsequence.C: re-instate nmodifier mask
11317 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
11319 * lyx_main.h: make lyxGUI private.
11321 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11323 * lyxfind.C: place the cursor correctly on failed search
11325 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11327 * text.C (getLengthMarkerHeight): for small heights, the arrows
11328 are not always on top/bottom of the text
11329 (drawLengthMarker): smaller arrows; take the left margin in
11330 account; draw also vfills.
11332 (paintLastRow): remove special code for vfill and standard spaces,
11333 since everything is handled in drawLengthMarker now.
11335 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11337 * buffer.C (insertErtContents): try to handle font and language
11338 interaction a bit better.g
11340 * ColorHandler.C (updateColor): change the hash to cover the whole
11341 LColor enum, ws cleanup
11342 (getGCLinepars): ditto
11343 (getGCLinepars): only lookup in the linecache once.
11345 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
11347 * iterators.C (operator++): Make the iterator more robust
11349 * BufferView2.C (removeAutoInsets): Use paragraph iterators
11351 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11353 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11356 * text.C: better added space drawing
11358 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11361 * BufferView2.C: fix layout combo update on inset unlock
11363 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11365 * Makefile.am: don't compile unused files
11367 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11371 * LyXAction.C: remove old LFUN_LAYOUTNO
11373 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11375 * paragraph_pimpl.h:
11376 * paragraph_pimpl.C: isTextAt() doesn't need font param
11378 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11381 * lyxlex.C: little cleanup
11383 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11385 * BufferView_pimpl.C: fix insertAscii for insets
11387 2001-12-05 Juergen Vigna <jug@sad.it>
11389 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11390 set the right font on the "multi" paragraph paste!
11392 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11398 * lyxlength.C: remove out-commented code.
11400 * BufferView_pimpl:
11414 * vc-backend.C: change "while(" to "while ("
11416 * lyxlength.[Ch]: add zero function to check if length is zero or
11418 * lyxgluelength.C: use it
11420 2001-12-05 Allan Rae <rae@lyx.org>
11422 * lyxlength.C: Attempted a fix for the abs(int) header selection.
11423 Works for 2.95.3, from what I understand of Garst's reports this should
11424 work for other g++ versions. We're screwed if the abs(int) definition
11425 changed between bugfix releases of gcc.
11427 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11429 * text.C: fix chapter label offset !
11431 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11434 * text.C: fix hfill at end of line, clean up
11436 2001-12-04 Juergen Vigna <jug@sad.it>
11438 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11439 that we force an update of the inset and it's owners if neccessary.
11441 2001-12-03 Juergen Vigna <jug@sad.it>
11443 * text.C (rowLast): simplified code
11445 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11447 * lyxfunc.C: fix show options on timeout
11449 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11451 * screen.C (topCursorVisible): scroll half a page when the cursor
11452 reached top of bottom of screen
11454 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
11456 * minibuffer.C: deactivate on loss of focus
11458 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11460 * vspace.[Ch] (operator!=): add operator.
11462 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
11464 * BufferView_pimpl.C: refuse to open an inset when
11465 there's a selection.
11467 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
11469 * BufferView_pimpl.C: allow to click on RHS of full row insets
11471 2001-11-30 Juergen Vigna <jug@sad.it>
11473 * tabular.C (LyXTabular): add a same_id to set the same id's in the
11474 insets for undo reasons.
11476 2001-11-28 André Pönitz <poenitz@gmx.net>
11478 * vspace.[Ch]: cosmetical changes
11480 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11490 * kbsequence.C: part re-write of old kb code
11493 * WorkArea.C: remove Lgb_bug_find_hack
11495 2001-11-30 José Matos <jamatos@fep.up.pt>
11497 * buffer.C (makeDocBookFile): add a comment to point a hack.
11498 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11499 Fixed a double write of labels.
11501 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11504 * LaTeX.h Fixed bug in LaTeX class where it would not
11505 re-run latex if no depfiles were changed, but the .dvi was removed.
11507 2001-11-28 André Pönitz <poenitz@gmx.net>
11509 * all the files from the change on 2001/11/26:
11510 use lyx::layout_type instead of LyXTextClass::size_type
11511 use lyx::textclass_type instead of LyXTextClassList::size_type
11513 2001-11-29 Juergen Vigna <jug@sad.it>
11515 * text.C: added support for paragraph::isFreeSpacing()
11517 * buffer.C: same as above
11519 * paragraph.h: inserted isFreeSpacing() function to enable
11520 FreeSpacing inside InsetERT.
11522 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11523 of the paragraph's in the cut/copy buffer to 0!
11525 * text2.C (removeRow): remove the assert as it can!
11527 * lyxtext.h: added helper function firstRow returning firstrow and
11528 made firstrow private again.
11530 * BufferView2.C (lockInset): don't relock if we're already locked!
11532 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11533 the only paragraph.
11534 (removeRow): added Assert::(firstrow)
11536 * debug.C: forgot to add INSETTEXT here.
11538 2001-11-28 Juergen Vigna <jug@sad.it>
11540 * sp_spell.C (initialize): changed error text to more general
11541 spellchecker command use (not only ispell!)
11543 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11545 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11547 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11549 * vspace.C: initialise lyxgluelength on failure
11551 2001-11-28 Allan Rae <rae@lyx.org>
11553 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11554 declaration & definition that looks like a function declaration.
11556 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11558 * BufferView2.C (copy):
11559 (copyEnvironment): do not clear the selection when doing a copy.
11561 * text.C (paintFirstRow): compilation fix
11563 2001-11-27 Ben Stanley <bds02@uow.edu.au>
11565 * tabular.C (Latex): correct line count when writing latex.
11567 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
11569 * paragraph_pimpl.h:
11570 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11573 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11577 * LColor.C: change vfillline->added_space
11579 * text.C: add markers and text for added space
11581 * vspace.C: fix comment
11583 2001-11-28 André Pönitz <poenitz@gmx.net>
11585 * paragraph.C: whitespace changes
11586 * all the other files from the change on 2001/11/26:
11587 change *::pos_type into lyx::pos_type
11589 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
11591 * buffer.C (parseSingleLyXformat2Token): Set the language to the
11592 language of the document when inserting error insets.
11594 2001-11-26 André Pönitz <poenitz@gmx.net>
11596 * BufferView_pimpl.[Ch]:
11604 * paragraph_pimpl.[Ch]:
11607 * text2.C: reduce header dependencies, introduce type for positions
11609 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11611 * <various>: change to use Alert.h
11613 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
11615 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11616 when encountering an unknown token.
11617 (readLyXformat2): Show an error message if there were unknown tokens.
11619 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
11622 * BufferView_pimpl.C:
11626 * text2.C: use par->isInset()
11628 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11630 * paragraph_pimpl.h:
11631 * paragraph_pimpl.C: cleanup
11633 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11635 * text2.C (removeRow):
11636 * text.C (setHeightOfRow): remove useless (and costly) call to
11639 2001-11-20 Allan Rae <rae@lyx.org>
11641 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11642 Now need Inset*::checkInsertChar() to return true for appropriate
11643 cases so that the characters in the minibuffer will actually be
11646 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11648 * text.C: change the order of the includes.
11649 (workWidth): initialize it at once.
11650 (workWidth): make maxw unsigned
11651 (setHeightOfRow): remove unused variable (inset)
11652 (selectSelectedWord): remove unused variable (inset)
11653 (paintRowText): fix drawing of hfill characters, and clean up a bit.
11655 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11657 * lyxserver.C (emergencyCleanup): do not try to close pipes if
11658 server is not running.
11660 (closeConnection): add debug info when server is disabled.
11662 * ColorHandler.C (getGCForeground): send debug message to GUI
11665 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11667 * kbmap.C (bind): modify because return conventions of
11668 kb_sequence::parse have changed.
11670 * kbsequence.C (parse): only ignore spaces and not any stupid
11671 control character. This avoids tests like s[i] <= ' ', which are
11672 guaranteed to fail with 8bit characters and signed chars.
11673 Change return code to string::npos when there have been no error
11674 (0 was a bad idea when error is at first character)
11676 2001-11-14 José Matos <jamatos@fep.up.pt>
11679 * buffer.C (simpleDocBookOnePar): removed unused argument.
11681 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11683 * text.C (selectNextWordToSpellcheck): do not test explicitely for
11684 insets which are part of a word. Paragraph::isLetter takes care of
11685 that now. Use Paragraph::isInset to identify insets.
11686 (selectSelectedWord): do not test for hyphenation break.
11688 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11689 that protected spaces are considered as spaces.
11691 * paragraph.C (isLetter): cleanup the code for ispell extras; use
11694 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
11697 * lyxserver.C: fix it. and small cleanup.
11699 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11701 * BufferView_pimpl.C: use inline helpers
11704 * LaTeXFeatures.C: fix typos
11707 * Spacing.C: move spacing_string into class
11709 * ToolbarDefaults.C: move stuff into namespace anon
11711 * layout.h: update enum
11713 * lyxfunc.C: use better debug
11715 * minibuffer.h: fix typo
11719 * WorkArea.C: add and use Debug::WORKAREA
11723 * text2.C: code re-organisation, inline helpers
11725 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
11727 * Layout.C: replaced a few cases of std::vector.size() == 0 with
11728 std::vector.empty().
11730 2001-11-09 Allan Rae <rae@lyx.org>
11732 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11733 '\n's after tables. Tabular and ERT inset work now makes this no
11736 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11739 * minibuffer.C: fix crash, improve drop-down completion
11741 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
11744 * lyxserver.C: invalidate fd's when doing endPipe()
11746 2001-11-08 José Matos <jamatos@fep.up.pt>
11748 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11749 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11752 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11754 2001-11-07 José Matos <jamatos@fep.up.pt>
11757 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11760 * buffer.C (sgmlOpenTag):
11761 * buffer.C (sgmlCloseTag): removed debug info.
11763 * buffer.h (sgmlOpenTag):
11764 * buffer.h (sgmlCloseTag): made public.
11766 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11768 * buffer.C (saveParamsAsDefaults):
11769 * lyx_cb.C (MenuLayoutSave): remove
11771 * LyXAction.C (init):
11773 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11775 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11777 * buffer.C (setPaperStuff): removed from here...
11779 * bufferparams.C (setPaperStuff): ... and moved there.
11781 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
11785 * XFormsView.C: add support for drop-down completion
11787 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
11789 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11792 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11794 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11797 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
11799 * lyx_main.C: change ref to known bugs
11801 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
11803 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11804 to work around older babel problems.
11806 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11808 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11810 2001-10-24 Juergen Vigna <jug@sad.it>
11812 * tabular-old.C (ReadOld): below variable changes reflected.
11814 * tabular.[Ch]: added ltType struct for longtable header/footer
11815 defines and changed all instances where they are used. Added
11816 future support for double top/bottom rows.
11818 2001-10-24 José Matos <jamatos@fep.up.pt>
11820 * buffer.h (docbookHandleCaption):
11821 * buffer.C (docbookHandleCaption): removed unused function.
11822 (makeDocBookFile): moved docbook supported version to v4.1.
11824 2001-10-24 José Matos <jamatos@fep.up.pt>
11827 * tabular.C (docbookRow): new function to export docbook code of a row.
11828 (DocBook): now honors the longtable flags.
11830 2001-10-23 José Matos <jamatos@fep.up.pt>
11833 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11834 of the lyx defined sgml entities used in a docbook/linuxdoc document.
11836 * buffer.C (makeLinuxDocFile):
11837 (makeDocBookFile): reworked the preamble, more clean, and with
11838 support for lyx defined entities. Changed the document declaration
11839 to be more XML friendly.
11841 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11842 if we need to output XML that should be done with a filter.
11844 2001-10-22 Juergen Vigna <jug@sad.it>
11846 * sp_pspell.h (class PSpell): add alive function needed in the
11847 controller to see if the spellchecker could be started.
11849 2001-10-22 Juergen Vigna <jug@sad.it>
11851 * buffer.C (insertStringAsLines): modify the font for inserting
11852 chars in certain conditions by calling checkInsertChar(font).
11854 2001-10-19 Juergen Vigna <jug@sad.it>
11856 * text.C (workWidth): use getRow instead of wrong algorithm.
11857 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11859 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
11864 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11866 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11868 * text.C (workWidth): do not search for the exact row when
11869 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11870 optimization for big documents.
11872 2001-10-18 Juergen Vigna <jug@sad.it>
11874 * text.C (workWidth): new function with added Inset * parameter.
11876 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11878 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11880 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11881 change return type of getColumnNearX.
11884 * text.C (changeRegionCase): use uppercase/lowercase instead of
11887 (rightMargin): simplify code by factoring out the uses of
11892 (appendParagraph): use Paragraph::size_type
11894 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11896 * vspace.C (asLatexString): add a missing break
11898 2001-10-15 Herbert Voss <voss@perce.de>
11900 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11902 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11904 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11907 2001-10-10 André Pönitz <poenitz@gmx.net>
11909 * lyxfunc.C: removed greek_kb_flag.
11911 2001-10-10 Herbert Voss <voss@perce.de>
11913 * lyx_main.C: delete global string help_lyxdir.
11915 2001-10-09 Herbert Voss <voss@perce.de>
11917 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11919 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11921 * lyx_main.C: added global string help_lyxdir.
11923 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11925 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
11927 * lyxrc.C (set_font_norm_type): support iso8859-4
11929 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
11931 * LaTeX.C (deplog): add another regex for MikTeX
11933 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
11935 * lyxrc.C (set_font_norm_type): support iso8859-3
11937 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11939 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11941 * LaTeXFeatures.C: remove special case of french and index
11943 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11944 before \begin{document}). This solves several incompatibilities.
11946 2001-10-03 Garst Reese <reese@isn.net>
11948 * lyx_cb.C: change CheckTex error msg.
11950 2001-10-03 José Matos <jamatos@fep.up.pt>
11952 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11954 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11956 * .cvsignore: update
11958 * lyx_main.C (commandLineVersionInfo): use new style version info.
11960 * buffer.C (writeFile):
11962 (makeLinuxDocFile):
11963 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11965 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11967 * version.h: update to use stuff in version.C
11969 * version.C.in: new file. Contains version information determined
11970 at compile time. This is a merging of version.h and
11973 2001-10-03 Juergen Vigna <jug@sad.it>
11975 * BufferView_pimpl.C (update): don't change "dirty" status in
11978 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
11980 * WorkArea.C (c-tor): re-position version string slightly.
11982 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
11984 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11985 revert to previous code.
11987 WorkArea.[Ch]: (show, destroySplash): methods removed.
11989 WorkArea.C: rework code so that it's an amalgam of the codes before and
11990 after the splash screen was moved to WorkArea.
11992 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11995 * vspace.C (inPixels):
11998 * buffer.C (insertStringAsLines):
11999 (asciiParagraph): fix types to be large enough
12001 * lyxlex_pimpl.h: change member status from short to int
12003 * layout.h: fix type of endlabeltype
12006 * kbsequence.C (parse): change return type to string::size_type
12008 * LaTeX.C (updateBibtexDependencies): comment out unneeded
12011 * Bullet.C (bulletSize):
12012 (bulletEntry): do not use short ints as parameters
12014 * BufferView2.C (insertLyXFile): change a char to an int.
12016 * WorkArea.C (WorkArea): remove unneeded floats in computation
12018 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
12020 * buffer.C (asciiParagraph): Treat '\\' as other chars.
12022 * paragraph.C (asString): Do not ignore newline/hfill chars when
12023 copying to the clipboard.
12025 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
12027 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12028 after a multi-line inset.
12030 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
12032 * paragraph.C (validate): Set NeedLyXFootnoteCode
12034 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12036 * lyxfont.C (LyXSizeNames): changed increase-error to increase
12037 and decrease-error to decrease.
12039 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12041 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12042 it more readable (should be equivalent)
12044 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
12046 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12048 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12050 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12051 of a cursor (row, etc.) after a character has been deleted
12052 (deleteEmptyParagraphMechanism): call the method above on _all_
12053 cursors held by the LyXText when a double space has been
12056 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12058 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12060 (resizeCurrentBuff): remove code to destroy the old splash dialog.
12062 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12063 background. Use greyOut() and the new show() methods to toggle between
12064 the foreground and background. Add code to remove the splash after
12065 its initial showing.
12067 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12068 (create_forms): no longer call Dialogs::showSplash.
12070 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12072 * .cvsignore: add version_info.h
12074 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12076 * version_info.h.in: new file
12078 * Makefile.am: add version_info.h.in
12080 * lyx_main.C (commandLineVersionInfo): use version_info defined in
12081 version_info.h instead of VERSION_INFO
12083 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
12085 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12086 The ERT inset now returns string().
12088 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
12090 * lyxtext.h, text.C (selectNextWord): renamed as
12091 selectNextWordToSpellcheck.
12093 * text.C (selectNextWordToSpellcheck): Modified to not select
12094 words inside an ERT inset.
12096 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12098 * lyx_cb.C (MenuLayoutSave): change a bit the question
12100 * sp_base.h: include <sys/types.h>
12102 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
12104 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12106 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
12108 * several files: fix typos in user-visible strings
12110 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12112 * text2.C (pasteSelection): do not set the selection, since it
12113 will be cleared later. Actually, the intent was to fix the way the
12114 selection was set, but I figured rmoving the code was just as good.
12116 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
12118 * FontLoader.C (available): Check if font is available without
12121 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
12123 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12125 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
12127 * lyxrc.[Ch]: added display_graphics variable and associated code.
12129 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12131 * bufferparams.C (hasClassDefaults): new method. Returns true if
12132 the buffer parameters correspond to known class defaults
12134 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
12136 * XFormsView.C (show): set minimum size to the main window.
12138 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12140 * text2.C (copySelection):
12142 * lyxfind.C (LyXReplace):
12143 * BufferView_pimpl.C (Dispatch): pass the correct flag to
12144 LyXText::selectionAsString.
12146 * paragraph.C (asString): add "label" argument to the second form
12148 * text2.C (selectionAsString): add "label" argument and pass it to
12149 Paragraph::asString.
12151 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12153 * lyx_main.C (commandLineHelp): remove version information
12155 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
12157 * lyx_main.C: add -version commandline option
12159 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12161 * paragraph.h: make the optional constructor arg required instead.
12162 some modifications to other files because of this.
12164 * minibuffer.C (C_MiniBuffer_peek_event): make it static
12166 * lyxserver.C (C_LyXComm_callback): make it static
12168 * lyx_main.C (error_handler): make it static
12170 * lyx_gui.C (LyX_XErrHandler): make it static
12172 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12174 * WorkArea.C: make the extern "C" methods static.
12176 * Makefile.am (lyx_LDADD): simplify
12178 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12180 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12181 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12183 * LyXAction.C (init):
12184 * lyxfunc.C (dispatch): associated code removal.
12186 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12188 * lyxfont.h (isSymbolFont): shut off warning
12190 * text.C (setHeightOfRow):
12191 (getVisibleRow): fix crash with empty paragraphs which have a
12194 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
12196 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12199 2001-09-04 José Matos <jamatos@fep.up.pt>
12202 * tabular.C (docbook): rename docBook method to docbook.
12204 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12206 * Makefile.am: add dependencies to main.o.
12208 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
12210 * FontLoader.C (available): Return false if !lyxrc.use_gui
12212 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
12214 * FontInfo.C (query):
12215 * converter.C (view):
12216 * importer.C (Import):
12217 * exporter.C (Export): Can not -> cannot.
12219 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
12221 * BufferView_pimpl.C: allow to create index inset even if
12224 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12226 * buffer.C (getLists): replace boost::tie code with an explicit pair
12227 as boost::tie can break some compilers.
12229 * iterators.h: Added a std:: declaration to the return type of
12232 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
12234 * lyxrc.C: add help for view_dvi_paper_option, default to safe
12237 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
12239 * iterators.[Ch]: New files. Provide paragraph iterators.
12241 * buffer.C (changeLanguage): Use paragraph iterators.
12242 (isMultiLingual): ditto
12244 * BufferView2.C (ChangeInsets): Use paragraph iterators.
12246 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
12248 * FontLoader.C: Support for cmr font.
12250 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
12252 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12253 (available): New method.
12255 * FontInfo.C (getFontname): Use scalable fonts even when
12256 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12259 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12261 * converter.C (Formats::view): reverted! Incorrect fix.
12263 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12265 * converter.C (Formats::view): only output the -paper option
12266 if the dvi viewer is xdvi, thereby fixing bug #233429.
12268 2001-08-23 Herbert Voss <voss@perce>
12270 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12272 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
12274 * Spacing.h (Spacing): Set space to Default on in the default
12277 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
12279 * vc-backend.h (RCS::versionString): add RCS to version
12280 (CVS::versionString): add CVS to version
12282 * vc-backend.C (scanMaster): do not add CVS to version.
12283 (scanMaster): do not add RCS to version
12285 * lyxvc.C (versionString): new method
12287 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12289 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12291 * Spacing.C (set): initialize fval
12293 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
12295 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12298 2001-08-16 Juergen Vigna <jug@sad.it>
12300 * lyxfunc.C (dispatch): implemented the new FINISHED states.
12302 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12304 * BufferView_pimpl.C:
12307 * text2.C: setParagraph takes linespacing now
12309 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
12311 * LyxAction.C: add internal LFUN_CITATION_INSERT
12313 * LyXView.C: actually apply fix
12315 * bufferlist.C: fix open non-existent file
12317 * lyxfind.C: fix indentation
12319 * lyxfunc.C: remove unneeded assert, fix typo
12321 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12323 * MenuBackend.C: use "Floatname List"
12325 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
12327 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12328 when converting LaTeX layout to insetERT.
12329 Generate a non-collapsed float when reading old float
12331 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12333 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12336 2001-08-13 Juergen Vigna <jug@sad.it>
12338 * text.C (fill): return 0 instead of 20 as this seems to be the more
12341 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12343 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12346 2001-08-13 Juergen Vigna <jug@sad.it>
12348 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12350 (SearchBackward): comment out the unlocking of the inset_owner this
12351 should not be needed!
12353 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
12355 * Many files: Remove inherit_language, and add latex_language
12357 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12358 collapsible insets.
12360 2001-08-10 Juergen Vigna <jug@sad.it>
12362 * text.C (prepareToPrint): fixed hfill-width in draw!
12364 * BufferView2.C (selectLastWord): save the selection cursor as this
12365 now is cleared in the function LyXText::clearSelection!
12367 2001-08-08 Juergen Vigna <jug@sad.it>
12369 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12370 BACKSPACE type functions.
12372 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12373 is only cutted from the document but not put in the cut-buffer, where
12374 still the old stuff should be.
12376 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12378 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12380 * tabular.C (SetWidthOfCell): fixed special case where the width
12382 (LeftLine): handle '|' in align_special.
12384 (LeftAlreadyDrawed): ditto
12385 (SetWidthOfCell): ditto
12387 2001-08-07 Juergen Vigna <jug@sad.it>
12389 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12391 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12393 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12394 * lyxlex.[hC]: ditto
12396 2001-08-06 Juergen Vigna <jug@sad.it>
12398 * text.C (getVisibleRow): fix up row clearing a bit.
12400 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12402 * minibuffer.C: make sure the X server sees the changes in the input.
12404 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12406 * paragraph.C (getFont): split into...
12407 (getLabelFont): this
12408 (getLayoutFont): and this
12409 * paragraph_pimpl.C (realizeFont): calling this
12411 * text2.C (getFont): split into...
12412 (getLayoutFont): this
12413 (getLabelFont): and this
12414 (realizeFont): all three calling this
12416 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12419 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12421 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12423 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
12425 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12426 layouts from the Quote inset insertion.
12428 2001-08-03 Juergen Vigna <jug@sad.it>
12430 * BufferView_pimpl.C (update): do the fitCursor only at the end!
12432 * screen.C (drawFromTo): don't call fitcursor here and do the loop
12433 only if status not is already CHANGED_IN_DRAW (second level).
12435 * text.C (draw): don't set the need_break_row when inside an
12438 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12440 * buffer.C (parseSingleLyXformat2Token): handle more latex
12443 * bufferview_funcs.[hC]: change function names to
12444 begin with small char, adjust other files.
12446 2001-08-02 André Pönitz <poenitz@gmx.net>
12449 BufferView_pimpl.C: remove broken special code for math-greek
12451 2001-08-02 Juergen Vigna <jug@sad.it>
12453 * BufferView_pimpl.C (update): redone this function so that we
12454 update the text again if there was a CHANGE_IN_DRAW.
12456 * screen.C (cursorToggle): removed LyXText parameter and recoded.
12457 (drawFromTo): added a new internal bool which is used by draw() and
12459 (general): some cursor drawing problems fixed.
12461 2001-08-01 Juergen Vigna <jug@sad.it>
12463 * lyxfind.C (LyXFind): fixed
12464 (SearchForward): ditto
12465 (SearchBackward): ditto
12467 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12468 spurius drawing of the cursor in the main area.
12470 * text2.C (status): small fix which could lead to a segfault!
12471 (clearSelection): remove unneeded BufferView param.
12473 2001-08-01 André Pönitz <poenitz@gmx.net>
12475 * lyxfunc.C: small change due to changed mathed interface
12477 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12479 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12481 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
12483 * lyxfunc.c: fail gracefully if file doesn't exist
12488 * BufferView_pimpl.C: IsDirWriteable() proto changed
12490 * LyXView.C: fix updateWindowTitle() to store the last title
12492 2001-07-31 Juergen Vigna <jug@sad.it>
12494 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12495 the font (wrong since using of Paragraph::highestFontInRange).
12497 * paragraph.C (highestFontInRange): added a default_size parameter.
12499 * text.C (getVisibleRow): minor clear row changes (still not perfect).
12500 (setHeightOfRow): reformat
12502 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12504 * converter.[hC] + affected files: move to (inital-char)lowercase
12507 * ParagraphParameters.C (ParagraphParameters): remove commented code
12509 * PainterBase.[Ch]: remove commented code
12511 * LaTeXFeatures.h: add "bool floats" for float.sty
12513 * LaTeXFeatures.C (LaTeXFeatures): init floats
12514 (require): handle float
12515 (getPackages): do it with floats
12517 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12519 * BufferView_pimpl.C (Dispatch): improve handling of
12520 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12522 * commandtags.h: #include lyxfont.h here temporarily to avoid
12525 * bufferlist.h: include LString.h here.
12527 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12529 * text2.C (getStringToIndex): new method.
12531 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
12533 * *: Reduced header file dependencies all over.
12535 2001-07-30 Baruch Even <baruch@lyx.org>
12537 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12539 2001-07-29 Baruch Even <baruch@lyx.org>
12541 * buffer.C (readInset): Changed GRAPHICS to Graphics.
12543 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12545 * ParameterStruct.h (endif): add a default constructor to make
12546 sure that all variables is initialized.
12548 * ParagraphParameters.C (ParagraphParameters): adjust
12550 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12552 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12553 index; also, check that there is something to index, and that it
12554 does not span over several paragraphs.
12555 (doubleClick): use WHOLE_WORD_STRICT for double click.
12557 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12559 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12562 2001-07-26 Baruch Even <baruch@lyx.org>
12564 * buffer.C (readInset): Changed to call up InsetGraphics when reading
12565 an InsetFig figure, backwards compatible reading of old figure code.
12567 2001-07-27 Juergen Vigna <jug@sad.it>
12569 * text2.C: font.realize function adaption.
12571 * text.C (draw): add a warnings lyxerr text if needed.
12573 * layout.C: font.realize function adaption.
12575 * language.C: add inherit_language and implement it's handlings
12577 * bufferview_funcs.C (StyleReset): remove language parameter from
12578 font creation (should be language_inherit now).
12580 * bufferparams.C (writeFile): handle ignore_language.
12582 * paragraph.C (getFontSettings): the language has to be resolved
12583 otherwise we have problems in LyXFont!
12585 * lyxfont.C (lyxWriteChanges): added document_language parameter
12586 (update): removed unneeded language parameter
12588 * paragraph.C (validate): fixed wrong output of color-package when
12589 using interface colors for certain fonts in certain environments,
12590 which should not seen as that on the final output.
12592 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
12594 * BufferView_pimpl.C:
12599 * LyXAction.C: add thesaurus support
12602 * lyxfind.C: add "once" parameter, for thesaurus, to not
12603 move to the next match
12605 2001-07-26 Juergen Vigna <jug@sad.it>
12607 * lyxfont.C (realize): honor ignore_language too!
12610 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12612 * text.C (draw): one place more for ignore_language to not draw
12615 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
12617 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12619 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12621 * buffer.C (parseSingleLyXformat2Token): a more general fix for
12622 the minipage conversion problem.
12624 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12626 * buffer.C (parseSingleLyXformat2Token): check minipage if we
12629 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12631 * BufferView.h: don't forward declare WorkArea
12633 * BufferView.C: don't include WorkArea.h
12635 2001-07-25 André Pönitz <poenitz@gmx.net>
12639 * lyxfunc.C: new LFUN 'math-space'
12641 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12643 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12645 * text2.C (toggleInset): call open/close
12647 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12649 * lyxfunc.C (dispatch): add debug for the disabled case
12651 * font.C (buttonText): make similar to rectText
12653 * buffer.C (readInset): comment out parsing of insetlist and
12656 * PainterBase.C (rectText): small correction
12658 * BufferView_pimpl.C: comment out insettheorem and insetlist
12659 * LyXAction.C: ditto
12660 * commandtags.h: ditto
12662 2001-07-24 Juergen Vigna <jug@sad.it>
12664 * text.C (draw): honor the ignore_language.
12666 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12668 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12670 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12673 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12675 * lyxtext.h: remove unused (and unimplemented) methods
12677 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12679 * text.C (getVisibleRow): honor background color
12682 * Painter.h: remove default color argument for fillRectangle
12684 * text.C (backgroundColor): new method
12686 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12688 * text.C (getVisibleRow): adjust
12690 * font.[Ch] (rectText): new method, metrics
12691 (buttonText): new method, metrics
12693 * PainterBase.[hC]: make rectText and buttonText always draw and take
12696 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12698 * ToolbarDefaults.C (read):
12699 * MenuBackend.C (read): allow escaping in all strings
12701 * BufferView_pimpl.C (insertAndEditInset): new method.
12702 (Dispatch): use insertAndEditInset whenever appropriate.
12704 * BufferView_pimpl.C (insertNote): removed
12706 * BufferView_pimpl.C (smartQuote): new method, moved from
12707 BufferView; if an insetquote cannot be inserted, insert a '"'
12710 * BufferView2.C: remove insertCorrectQuote();
12712 * lyxfunc.C (getStatus): Add support for all remaingin
12713 inset-insert lfuns.
12715 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12717 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12718 command (necessary to pass " as parameter of self-insert.
12720 * text.C (selectWordWhenUnderCursor):
12721 (selectWord): add word_location parameter
12722 (selectWordWhenUnderCursor): same + remove special code for word
12724 (selectNextWord): use kind() to guess type of insetspecialchar,
12727 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12728 (insertErtContents): create ert insets as collapsed.
12729 (readInset): better compatibility code for Info inset.
12731 2001-07-20 Juergen Vigna <jug@sad.it>
12733 * lyxfunc.C (dispatch): use always LyXFind now!
12735 * text2.C (init): add a reinit flag so that the LyXText can be
12736 reinited instead of deleted and reallocated (used in InsetText).
12738 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12744 2001-07-18 Juergen Vigna <jug@sad.it>
12746 * text.C (selectNextWord): handle insets inside inset by calling
12747 always the bv->text functions so that we can go up the_locking_inset!
12749 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12750 in strange locations when inside an inset!
12752 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12753 handling to include insets.
12755 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12757 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12759 * LyXAction.C (init):
12761 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12762 LIGATURE_BREAK, since the name is so stupid.
12764 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12766 * buffer.C (readInset): enable reading of new InsetNotes as well as old
12769 * FontLoader.C: remove FORMS_H_LOCATION cruft.
12771 * sp_form.[Ch]: remove.
12773 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12775 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12778 * src/buffer.C (readInset): ditto.
12780 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12782 * BufferView_pimpl.C (specialChar): new method. Obsoletes
12783 menuSeparator(), endOfSentenceDot(), ldots() and
12784 hyphenationPoint(), which are therefore removed.
12785 (Dispatch): handle LFUN_HYPHENATION_BREAK.
12787 * LyXAction.C (init):
12788 * commandtags.h: add LFUN_HYPHENATION_BREAK.
12790 * paragraph.C (getWord): removed.
12792 * BufferView_pimpl.C (Dispatch): use last word or selection for
12793 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12795 * lyx_main.C (queryUserLyXDir): do not ask before creating
12796 user_dir, except if it has been named explicitely.
12798 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12800 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12801 a document of zero size.
12803 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
12805 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12806 approriately in the c-tor and in require().
12807 (getPackages): output the appropriate LaTeX for natbib support.
12809 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12810 variables "use_natbib" and "use_numerical_citations" when reading the
12812 (readInset): read the various natbib cite commands.
12813 (validate): white-space change.
12815 * bufferparams.[Ch]: new variables "bool use_natbib" and
12816 "bool use_numerical_citations".
12817 (writeFile): output them in the LyX file.
12819 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12821 * lyxfunc.C (getStatus): add support for all the inset insertion
12824 * text2.C (insertInset):
12825 * paragraph.C (insetAllowed):
12826 * BufferView_pimpl.C (insertInset): update to take in account the
12827 renaming of insertInsetAllowed
12829 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12831 * text2.C (getInset): new method. returns inset at cursor position.
12833 * BufferView_pimpl.C (Dispatch): changes because of this.
12835 * LyXAction.C (init): rename open-stuff to inset-toggle.
12837 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12839 * text2.C (toggleInset): renamed from openStuff; use
12842 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
12844 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12846 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12848 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
12850 * buffer.C (readLyXformat2): Add filename to the error dialog
12852 2001-07-18 Juergen Vigna <jug@sad.it>
12854 * tabular.C (GetCellNumber): put an assert here instead of the check!
12856 2001-07-17 Juergen Vigna <jug@sad.it>
12858 * BufferView_pimpl.C (toggleSelection): adapted too.
12860 * text.C (selectNextWord): adapted for use with insets.
12861 (selectSelectedWord): ditto
12863 2001-07-17 Juergen Vigna <jug@sad.it>
12865 * sp_spell.C (PSpell): fix initialitation order.
12867 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12869 * paragraph.C: spacing
12871 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
12873 * sp_spell.C: repair language selection for pspell
12875 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12877 * lyxfunc.h: change more methods to begin with lower char.
12879 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
12881 * buffer.C (parseSingleLyXformat2Token): Generate error insets
12882 for unknown layouts.
12884 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
12886 * buffer.C (readLyXformat2): Generate an error dialog if there are
12889 2001-07-16 Juergen Vigna <jug@sad.it>
12891 * sp_spell.C: always compile ISpell part.
12893 * lyxrc.C: added use_pspell entry and it's handling.
12895 2001-07-13 Juergen Vigna <jug@sad.it>
12897 * sp_spell.C: removed double includes.
12899 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
12901 Consistent use of Lsstream.h:
12902 * Lsstream.h: added using std::stringstream for consistencies sake.
12904 * buffer.C: removed using std::stringstream
12906 * lyxfont.C (stateText):
12907 * paragraph.C (asString):
12908 * text.C (selectNextWord, selectSelectedWord):
12909 * text2.C (setCounter):
12910 * vspace.C (asString, asLatexString):
12911 std::ostringstream -> ostringstream.
12913 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12915 * LyXAction.C: add LFUN_HELP_ABOUTLYX
12916 * commandtags.h: add LFUN_HELP_ABOUTLYX
12917 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12919 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12921 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12923 * lyx_gui_misc.C: remove spellchecker
12924 * lyxfunc.C: showSpellchecker
12926 * sp_ispell.h: added
12927 * sp_pspell.h: added
12928 * sp_spell.C: added
12929 * sp_form.[Ch]: removed
12930 * spellchecker.[Ch]: removed
12932 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
12934 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12936 (simpleTeXSpecialChars): Simply print the input character without
12937 any special translation if pass_thru is set.
12939 * layout.h: Added bool pass_thru to layout class for being able to
12940 implement pass through of a paragraph for Literate Programming.
12942 * layout.C: add LT_PASS_THRU to LayoutTags enum.
12943 * layout.C (LyXLayout): set pass_thru to flase in constructor.
12944 * layout.C (Read): add "passthru" to list of layout tags and add
12945 code to set the pass_thru boolean when it is read.
12947 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12949 * trans_decl.h: remove allowed from KmodInfo
12951 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12952 remove allowed code
12955 * paragraph_pimpl.C (erase): use boost::prior
12957 * Painter.C (text): use data() instead of c_str() when length is
12959 * WorkArea.C (putClipboard): ditto
12960 * font.h (width): ditto
12962 * BufferView2.C: use it-> instead of (*it). for iterators
12964 * paragraph_pimpl.C: ditto
12965 * paragraph.C: ditto
12966 * minibuffer.C: ditto
12967 * language.C: ditto
12969 * encoding.C: ditto
12970 * counters.C: ditto
12971 * converter.C: ditto
12973 * Variables.C: ditto
12974 * TextCache.C: ditto
12975 * MenuBackend.C: ditto
12976 * LyXAction.C: ditto
12978 * FloatList.C: ditto
12979 * DepTable.C: ditto
12980 * ColorHandler.C (LyXColorHandler): ditto
12982 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12984 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12986 * text2.C (openStuff): reintroduce this method (which had been
12987 nuked in NEW_INSETS frenzy).
12989 * lyxfunc.C (Dispatch): when an action has not been handled, use
12990 its name in the error message, not its number.
12992 * paragraph.C (inInset): change method name to begin with lowercase.
12995 * text2.C: updates because of this.
12997 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12999 * ToolbarDefaults.C (add): add spaces in error message
13001 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13003 * buffer.C (readLyXformat2): initialize the ert comp. variables.
13004 (readLyXformat2): rename return_par to first_par, use lyxlex's
13005 pushToken and remove the manual push handling.
13006 (parseSingleLyXformat2Token): add another ert comp. variable:
13007 in_tabular, rename return_par to first_par. handle newlines better
13009 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13011 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13013 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13015 * text2.C (getParFromID): removed
13017 * buffer.C (getParFromID): new method moved form lyxtext.
13018 * BufferView2.C (insertErrors): adjust
13019 (setCursorFromRow): adjust
13020 * BufferView_pimpl.C (restorePosition): adjust
13021 * lyxfunc.C (Dispatch): adjust
13022 * undo_funcs.C (textUndo): adjust
13024 (textHandleUndo): adjust
13025 (textHandleUndo): adjust
13027 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13029 * buffer.C: up' the LYX_FORMAT
13031 * lyxfont.h: turn NO_LATEX on as default
13033 * buffer.C (insertErtContents): new methods of tex style compability.
13034 (parseSingleLyXformat2Token): use it several places.
13035 * tabular.C (OldFormatRead): and here
13037 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13039 * text2.C: remove some commented code.
13042 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13043 * trans.C: changes because of the above.
13045 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
13047 * text2.C (setCounter): Fix counters bug with bibliography layout.
13049 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13051 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13052 own member functions
13053 (simpleTeXSpecialChars): ditto
13055 2001-07-06 Juergen Vigna <jug@sad.it>
13057 * a lot of files: changed the access to LyXText::status and the
13058 call of undo-functions.
13060 * undo.[Ch]: added a inset_id to the undo informations.
13062 * undo_funcs.[Ch]: added and moved here all undo functions.
13064 * lyxtext.h: give the status enum a weight, made status_ a private
13065 variable and made accessor functions for it, removed the whole bunch
13066 of undo-functions as they are now in their own file, make some
13067 functions publically available. Added function ownerParagraph with
13070 * paragraph.[Ch]: added "bool same_ids" to the constructor,
13071 made InInset() a const function, added getParFromID() function.
13073 * buffer.[Ch]: added const version for inset_iterator functions,
13074 added getInsetFromID() function.
13076 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13077 changed undo functions for new version.
13079 2001-07-05 Juergen Vigna <jug@sad.it>
13081 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13082 unknow mechanism does not call the proper constructor but only this
13083 one also if I request the other!?
13085 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13087 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13089 * text2.C (LyXText): use initialization lists.
13091 * lyxtext.h (Selection): initialize set_ and mark_
13092 (init): remove method
13094 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
13096 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13098 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13100 * screen.[Ch]: change method names to begin with lowercase
13102 * BufferView_pimpl.C (updateScrollbar): simplify further and
13103 hopefully make it a bit faster.
13105 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13107 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13108 calling directly xforms functions.
13110 * Painter.C (Painter):
13111 * lyx_cb.C (MenuWrite):
13112 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13115 * lyx_gui.C: remove bogus guiruntime extern declaration.
13117 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13119 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13121 (redoDrawingOfParagraph): ditto
13122 (redoParagraphs): ditto
13123 (cutSelection): don't create a object for CutAndPaste use the
13124 static method directly
13125 (pasteSelection): ditto
13127 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13130 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13132 * modifications to some other files because of this.
13134 * Makefile.am (lyx_SOURCES): add XFormsView
13136 * XFormsView.[Ch]: new files
13138 * LyXView.[Ch]: make LyXView a base class for the gui handling for
13139 the main window. Move the gui dependent stuff to XFormsView
13141 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13143 * tabular.C (GetCellInset): update cur_cell also in the row/col
13144 version of this function.
13146 * lyxfunc.C: no need to include figure_form.h here.
13152 * lyxvc.C: no need to include forms.h here.
13154 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13156 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13158 * lyxfunc.C (Dispatch):
13160 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13161 constructor argument.
13163 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13165 * paragraph.C (Paragraph): dont't clear, and just set layout.
13166 (makeSameLayout): use params's copy contructor.
13168 * ParagraphParameters.[Ch] (makeSame): delete method
13170 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
13172 * Variables.[Ch]: fix indentation, rename set to isSet
13174 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13176 * lyxfunc.C (Dispatch): fix typo
13178 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13180 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13183 * bufferlist.C: include assert.h for emergencyWrite().
13185 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13187 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13188 give up at last (bug #425202) !
13190 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
13196 * spellchecker.C: strip spellchecker options and bring up
13197 preferences tab instead
13199 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13201 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13202 the istringstream constructor
13204 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13206 * paragraph.C (getLayout): fix return value
13208 * paragraph.h: do not declare getLayout as inline.
13210 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13212 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13214 * lyxcursor.h (operator<): new func
13215 (operator>): new func
13216 (operator>=): new func
13217 (operator<=): new func
13219 * text.C (changeCase): use selection.start and selection.end
13220 (changeRegionCase): require from to be <= to. Require par to be a
13223 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13225 2001-06-27 Juergen Vigna <jug@sad.it>
13227 * text.C (cursorLeftOneWord): changed to return the cursor and added
13228 overlay with BufferView * parameter which calls this one.
13230 (selectWord): use new getWord function.
13231 (changeCase): renamed from changeWordCase as and extended to work
13232 also on selections.
13234 * lyxtext.h: added enum word_location
13236 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13237 changeCase as this operates now also on selections.
13239 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
13241 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13243 * many files: send debug output to Debug::INFO instead of
13246 * converter.C (View):
13248 (Move): send debug output to Debug::FILES instead of console.
13250 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
13252 * lyxfunc.C (getStatus): use func_status
13254 * func_status.h: new header, describing the results of
13255 LyXFunc::getStatus;
13257 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13260 2001-06-25 The LyX Project <jug@sad.it>
13262 * buffer.C (sgmlOpenTag):
13264 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
13266 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13268 * text2.C: remove some dead code
13270 * tabular.C (GetCellInset): store the last cell checked (gotten)
13272 * tabular.h: add the helper for the speedup
13274 * lyxtext.h: remove some dead code
13276 2001-06-26 The LyX Project <Asger>
13278 * paragraph.C: Change export to LaTeX of alignment to
13279 \begin{center} and family for better roundtrip work with reLyX.
13281 * Tune the math drawing a bit.
13283 2001-06-25 The LyX Project <Asger>
13285 * LColor.C (LColor): New color for math background. New color
13288 2001-06-25 The LyX Project <jug@sad.it>
13290 * lyxfunc.C (MenuNew): remove extra check for .lyx file
13292 * lyxfunc.C (Open):
13293 * bufferlist.C (newFile): do not restrict to files ending with
13296 * BufferView_pimpl.C (MenuInsertLyXFile):
13298 2001-06-24 The LyX Project <jug@sad.it>
13300 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13303 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13305 * lyxtext.h: rename most methods to begin with a small char.
13306 Lots of changes because of this.
13308 * paragraph.C (Paragraph): do not call fitToSize
13309 (erase): call Pimpl::erase
13310 (insertChar): call Pimpl::insertChar
13311 (insertInset): call Pipl::insertInset
13312 (breakParagraph): do not call fitToSize
13313 (breakParagraphConservative): do not call fitToSize
13314 (fitToSize): remove method
13316 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13318 2001-06-24 The LyX Project <Asger>
13320 * Fix Qt compilation^2
13322 2001-06-24 The LyX Project <jug@sad.it>
13324 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13325 depthHook(getDepth()-1).
13328 * ParagraphParameters.h:
13329 * ParameterStruct.h: change type of depth to unsigned int ==
13330 depth_type. Many adaptations to other files before of that.
13332 2001-06-24 The LyX Project <Asger>
13334 * Fix Qt compilation.
13336 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13338 * paragraph.h: renamed several methods to begin with small letter.
13339 several changes to many parts of the code because of this.
13341 2001-06-23 The LyX Project <jug@sad.it>
13343 * text2.C (InsertStringAsLines): renamed from InsertStringA;
13344 rewritten to discard all double spaces when KeepEmpty is off
13345 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13346 to only handle newlines but not fiddle with spaces and friends.
13348 * lyxfunc.C (MenuNew): when doing 'new from template', use
13349 template_path as default directory
13351 2001-06-23 The LyX Project <Asger>
13353 * Clean-up of header file includes all over
13354 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13356 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13358 * paragraph.h: renamed from lyxparagraph.h
13360 2001-06-23 Asger <lyx@violet.home.sad.it>
13362 * Buffer.h: Removed Buffer::resize
13363 * BufferList.h: Removed BufferList::resize
13364 * LyXView.h: Added LyXView::resize. This way, we will only reflow
13365 the document lazily when we change the width, or the font settings.
13367 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13369 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13371 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13373 * buffer.h: remove out of date comment
13375 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13378 * screen.C: fix "theoretical" GC leak
13380 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13382 * LaTeX.C (scanAuxFile):
13383 (deplog): remove trailing \r when reading stream (useful under
13386 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
13388 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13389 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13390 and BufferView::theLockingInset(Inset*), so should use them and not
13391 access bv_->text->the_locking_inset directly.
13393 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13395 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13398 * tex-defs.h: remove old unused file
13400 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
13402 * BufferView_pimpl.C: fix typo, remove minibuffer message
13403 when buffer has loaded
13405 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13407 * lyxfunc.C (Dispatch): use stringstream
13408 (MenuNew): use stringstream
13409 (Open): use stringstream
13411 * importer.C (Import): use stringstream
13413 * bufferview_funcs.C (CurrentState): use stringstream
13415 * LaTeX.C (run): use stringstream
13417 * BufferView_pimpl.C (savePosition): use stringstream
13418 (restorePosition): use stringstream
13419 (MenuInsertLyXFile): use stringstream
13421 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
13434 * vspace.C: removed // -*- C++ -*- as first line.
13437 * version.h: added // -*- C++ -*- as first line.
13439 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13441 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13443 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13446 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13448 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13451 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13453 * gettext.C: include LString.h even when --disable-nls is on.
13455 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
13457 * converter.h (Get): changed argument type from int to
13458 FormatList::size_type to avoid unnecessary conversion.
13460 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13463 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13465 * gettext.h: include LString.h even when --disable-nls is on.
13467 2001-06-07 Juergen Vigna <jug@sad.it>
13469 * text.C (BreakAgain): subst spaces with tabs.
13471 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13472 (resizeInsetsLyXText): set force on resizeLyXText.
13474 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13476 * gettext.h (gettext_init):
13477 (locale_init): use a real definition instead of a macro
13479 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13481 * Bufferview_pimpl.C:
13483 * LColor.C: further lcolor tidies
13485 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13487 * BufferView_pimpl.C (updateScrollbar): simplify.
13489 * BufferView2.C: don't include insets/insetinfo.h, change
13490 prototype for insertInset and call the Pimpl version. let
13491 updateInset call Pimpl version.
13493 * BufferView.h: move inset_slept to BufferView::Pimpl, move
13494 gotoInset to BufferView::Pimpl
13496 2001-06-01 Juergen Vigna <jug@sad.it>
13498 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13499 inside a LockingInset (is the update needed at all?).
13501 2001-05-31 Juergen Vigna <jug@sad.it>
13503 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13504 here not the old one otherwise how should we compare it afterwards
13507 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13512 * FontInfo.C: bring C functions into global namespace when
13515 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13517 * LString.h: make sure config.h has been loaded before LString.h.
13519 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13520 (one for each char read by EatLine!).
13522 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13525 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13527 * paragraph.C (BreakParagraph): set the inset_owner in the new par
13528 to the same as the par we break from
13530 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
13532 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13534 * MenuBackend.C (expand): also create menu entries for wide
13535 versions of the floats.
13537 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13539 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13541 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13542 frontends/Makefile.am
13548 * tabular.C (getTokenValue): add std::
13550 * tabular-old.C (getTokenValue): add std::
13551 (getTokenValue): ditto
13552 (getTokenValue): ditto
13554 * screen.C (ToggleSelection): adjust
13556 * lyxtext.h: put selection cursors inside a Selection struct.
13558 * lyxfunc.C (moveCursorUpdate): adjust
13560 * lyxfont.C (latexWriteStartChanges): add std::
13562 * lyxfind.C: adjust
13564 * font.h: delete with(char const *, LyXFont const &)
13566 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13568 * FontInfo.C (getFontname): add std::
13570 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13571 (workAreaButtonPress): adjust
13572 (tripleClick): adjust
13574 (moveCursorUpdate): adjust
13577 * BufferView2.C (gotoInset): adjust
13579 2001-05-30 Juergen Vigna <jug@sad.it>
13581 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13582 to check pspell I add this as default as I now have new pspell
13583 libraries and they seem to use this.
13585 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13587 * text2.C (CutSelection): make the cursor valid before the call to
13590 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13592 * kbsequence.C (parse): de-uglify a bit the parsing code, which
13593 relied on 0 terminated strings and other horrors. Bug found due to
13594 the new assert in lyxstring!
13596 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13599 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13601 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13604 * lyxfunc.C (processKeySym): change method of getting to the
13607 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13608 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13609 * BufferView_pimpl.[Ch]: here as private methods.
13611 2001-05-28 Juergen Vigna <jug@sad.it>
13613 * text.C (SetHeightOfRow): added the update() call again as it is
13614 needed to initialize inset dimensions!
13616 2001-05-16 Juergen Vigna <jug@sad.it>
13618 * text2.C (SetCharFont): Add new function with BufferView * and
13619 bool toggleall parameters for setting insets internal fonts.
13620 (SetFont): Freeze the undo as we may change fonts in Insets and
13621 all this change should be inside only one Undo!
13623 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13624 setting font's in insets as for them we have the SetFont function!
13626 2001-05-15 Juergen Vigna <jug@sad.it>
13628 * text2.C (ClearSelection): to be sure we REALLY don't have any
13631 * tabular.C (TeXCellPreamble): fixed the left border problem for
13634 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
13636 * LaTeX.C (deplog): Make sure that the main .tex file is in the
13639 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13641 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13642 LFUN_BREAKPARAGRAPH.
13644 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13645 help test to "internal only", similar for LFUN_INSERT_URL
13647 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13648 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13649 auto_region_delete and deadkeys.
13651 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
13654 * LColor.C: remove some dead entries, tidy a little
13656 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13658 * lyxfunc.C (processKeySym): comment the Escape handling, remove
13660 (Dispatch): implement LFUN_ESCAPE
13662 * commandtags.h: add LFUN_ESCAPE
13664 * LyXAction.C (init): add entry for LFUN_ESCAPE
13666 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13667 Remove commented code.
13668 (insertNote): moved here
13669 (open_new_inset): moved here
13671 * BufferView[2].[Ch]: move insertNote and open_new_inset to
13674 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13676 * kbmap.C (findbinding): clean it up and make it work correctly.
13678 * lyx_main.C (init): do not pass argc and argv as parameters
13680 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
13682 * buffer.C: fix path for OS/2 & Win32
13686 * lyx_main.C: Added os:: class.
13688 * os2_defines.h: update
13690 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13692 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13693 better by trying again with reduced state.
13695 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13697 * lyxrc.C (read): print error about invalid key sequence only when
13698 debugging (because not all latinX keysyms are known to some X
13701 * kbsequence.C (getiso): add a few std:: qualifiers
13702 (getiso): comment out extra return statement.
13704 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
13706 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13708 (Dispatch): enhance the accent inset a bit. (not perfect)
13710 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13712 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13714 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13716 * bufferlist.C (emergencyWrite): fix assert() call
13718 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
13720 * text.C (InsertChar): Added trivial patch to only send the "you
13721 can not do multiple spaces this way" message once during a
13724 2001-05-08 Baruch Even <baruch@lyx.org>
13726 * Makefile.am: Changed order of libraries to get LyX to link properly
13727 with the gnome frontend.
13729 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13731 * LaTeXFeatures.h: add a std:: qualifier
13733 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13735 * paragraph.C (String): use stringstream
13737 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13739 * paragraph.C (writeFile): remove footflag arg
13741 * buffer.C (makeLaTeXFile): use stringstream
13742 (latexParagraphs): remove footnot gurba
13744 * LaTeXFeatures.C (getPackages): use stringstream
13745 (getMacros): likewise
13746 (getTClassPreamble): likewise
13747 (getFloatDefinitions): new method
13749 * paragraph.C (writeFile): reindent
13752 * WorkArea.h: revert the xpos + etc changes.
13754 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13756 * lyxparagraph.[Ch]: add copy constructor, remove Clone
13758 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13759 (pasteSelection): likewise
13760 * text2.C (CreateUndo): likewise
13762 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13764 * minibuffer.C (peek_event): temporarily reduce the functionality
13765 of the minibuffer (to allow args on lfuns)
13767 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13768 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13770 * buffer.C (readInset): add compability reading of old float
13771 lists, add reading of new style float list.
13772 (readInset): avoid reevaluation of inscmd.getCmdName()
13773 (getLists): reindent
13775 * MenuBackend.C (MenuItem): implement parsing of
13776 md_floatlistinsert and md_floatinsert.
13777 (expand::LastFiles): move initalizaton of iterators out of loop,
13778 avoid reevaluation.
13779 (expand::Documents): introduce typdedef vector<string> Strings,
13781 (expand::ExportFormats): introduce typedef vector<Format const *>
13782 Formats, and use it.
13783 (expand): implement FloatListInsert and FloatInsert.
13785 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13786 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13787 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13789 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13791 (Dispatch::LFUN_FLOAT_LIST): implement
13793 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13795 * LaTeX.C (run): Fix problem with --export code.
13797 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13799 * BufferView.[Ch] (workarea): removed.
13800 (getClipboard) new method; wrapper for workarea()->getClipboard()
13802 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13805 * WorkArea.h (width, height, xpos, ypos): These methods all
13806 returned the dimensions of the work_area sub-area of WorkArea,
13807 resulting in a position error if the WorkArea were resized. Now
13808 return the dimensions of the entire WorkArea.
13810 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13812 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13814 * LaTeX.C (deplog): correct the syntax of regex reg1
13816 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13818 * undo.C: remove !NEW_INSETS cruft
13820 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13822 * text2.C: remove !NEW_INSETS cruft
13824 * text.C: remove !NEW_INSETS cruft
13826 * tabular.C: remove !NEW_INSETS cruft
13828 * spellchecker.C: remove !NEW_INSETS cruft
13830 * lyxtext.h: remove !NEW_INSETS cruft
13832 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13834 * lyxfunc.C: remove !NEW_INSETS cruft
13836 * lyxfind.C: remove !NEW_INSETS cruft
13838 * lyx_cb.C: remove !NEW_INSETS cruft
13840 * figureForm.C: remove !NEW_INSETS cruft
13842 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13844 * buffer.[Ch]: remove !NEW_INSETS cruft
13846 * ToolbarDefaults.C: remove !NEW_INSETS cruft
13848 * CutAndPaste.C: remove !NEW_INSETS cruft
13850 * BufferView_pimpl.C: remove !NEW_INSETS cruft
13852 * BufferView2.C: remove !NEW_INSETS cruft
13854 * BufferView.h: remove !NEW_INSETS cruft
13856 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13858 * Lsstream.h: include LString.h before the sstream headers to
13859 fix problem with gcc 2.95.3 and lyxstring
13861 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13863 * lyx_main.C: add using directives when needed for C functions
13864 declared in std:: namespace.
13866 2001-04-27 Juergen Vigna <jug@sad.it>
13868 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13869 (SetHeightOfRow): comment out the update call should not be needed!
13871 2001-04-13 Juergen Vigna <jug@sad.it>
13873 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13874 (LyXTabular): tried to minimize operator= operations (and realized
13875 hopfully Lars wish).
13877 2001-04-27 Juergen Vigna <jug@sad.it>
13879 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13881 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13883 * lyxfunc.C (Dispatch): hack to make listof algorithm work
13885 * buffer.C (readInset): hack to make listof algorithm work
13887 * BufferView_pimpl.C: hack to make listof algorithm work
13889 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13891 * LyXAction.C: removed all !NEW_INSETS cruft
13892 (init): moved lfun_item in method
13894 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13896 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13898 * BufferView2.C (theLockingInset): white space.
13900 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13902 * minibuffer.C: include <iostream>
13904 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13906 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13908 * commandtags.h: add LFUN_TRANSPOSE_CHARS
13910 * text.[Ch] (TransposeChars): new method
13912 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13914 * call message directly through LyXView instead of through LyXFunc
13915 * BufferView2.C: adjust
13916 * BufferView_pimpl.C: adjust
13917 * FontLoader.C: adjust
13919 * bufferview_funcs.C: adjust
13920 * converter.C: adjust
13921 * figureForm.C: adjust
13922 * importer.C: adjust
13924 * lyx_gui_misc.C: adjust
13925 * lyxfunc.C: adjust
13928 + more files in subdirs
13930 * lyxparagraph.h (size): move up int file
13933 * adjust all uses of Assert to lyx::Assert.
13935 * BufferView2.C (ChangeCitationsIfUnique): adjust for
13936 lyxfunctional in namespace lyx
13937 * layout.C (hasLayout): ditto
13940 (delete_layout): ditto
13941 (NumberOfClass): ditto
13942 * converter.C (GetFormat): ditto
13947 * bufferlist.C (getFileNames): ditto
13948 (emergencyWriteAll): ditto
13951 * MenuBackend.C (hasSubmenu): ditto
13954 * BufferView_pimpl.C (getInsetByCode): ditto
13956 2001-04-18 Juergen Vigna <jug@sad.it>
13958 * vspace.C (asLatexString): fixed the 100% problem.
13960 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13962 * lyxfunc.C (Dispatch):
13964 * minibuffer.h: add a few std:: qualifiers
13966 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13968 * minibuffer.[Ch]: reimplement so that commands is initiated and
13969 run from lyxfunc, simplified som handling, and made the completion
13970 and history code for complete. wip.
13972 * lyxfunc.C (processKeySym): call message
13973 (miniDispatch): new temporary method
13974 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13975 (LFUN_MESSAGE): implement
13976 (LFUN_MESSAGE_PUSH): implement
13977 (LFUN_MESSAGE_POP): implement
13978 (initMiniBuffer): the initial/defualt minibuffer message.
13980 * lyxfont.[Ch]: inline some more getters
13982 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13984 * lyx_gui_misc.[Ch] (WriteStatus): remove method
13986 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13987 (AutoSave): use LFUN_MESSAGE
13988 (Reconfigure): ditto
13990 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13992 * figureForm.C: use LFUN_MESSAGE
13994 * converter.C (runLaTeX): use LFUN_MESSAGE
13996 * bufferview_funcs.C: use LFUN_MESSAGE
13998 (changeDepth): ditto
14000 * bufferparams.h: use boost::
14002 * bufferlist.h: inherit privately from noncopyable
14004 * bufferlist.C (loadLyXFile): remove some commented code.
14006 * buffer.C (runChktex): use LFUN_MESSAGE
14008 * ShareContainer.h: inherit privately from noncopyable
14010 * ParagraphParameters.[hC] (depth): inline it.
14012 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14014 (message): new method
14015 (messagePush): ditto
14016 (messagePop): ditto
14017 (show): init minibuffer
14018 (showState): direct call
14020 * LaTeX.[Ch]: inherit privately from noncopyable
14021 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14022 instead of WriteStatus.
14024 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14026 * BufferView_pimpl.C (buffer): don't init minibuffer
14027 (workAreaButtonPress): use LFUN_MESSAGE
14028 (workAreaButtonRelease): ditto
14029 (savePosition): ditto
14030 (restorePosition): ditto
14031 (MenuInsertLyXFile): ditto
14032 (workAreaExpose): don't init minibuffer
14033 (update): remove commented code, simplify
14035 * BufferView2.C (openStuff): use LFUN_MESSAGE
14036 (toggleFloat): ditto
14039 (copyEnvironment): ditto
14040 (pasteEnvironment): ditto
14045 (updateInset): remove some commented code
14047 * lastfiles.h: inherit privately from noncopyable
14050 * lyx_main.h: ditto
14052 * lyxlex_pimpl.h: ditto
14054 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14055 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14056 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14058 * LyXAction.h: inherit privately from noncopyable, add methods
14059 func_begin, func_end, returning iterators to the func map.
14061 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14062 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14063 (func_begin): new method
14064 (func_end): new method
14066 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14068 (copySelection): ditto
14069 (pasteSelection): ditto
14071 * BufferView.C: whitespace change
14072 * BufferView.h: inherit privately from noncopyable
14074 2001-04-16 Allan Rae <rae@lyx.org>
14076 * tabular-old.C (l_getline):
14077 * spellchecker.C (sc_check_word):
14078 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14079 an unrecognised preprocessor directive. So ensure they're wrapped.
14081 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
14083 * src/exporter.C (Export): Give an error message when path to file
14086 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
14088 * LaTeX.C (deplog): Always check that foundfile exists.
14090 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14093 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14095 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14097 * tabular.[Ch] (getLabelList): implement new method
14099 * minibuffer.h: comment ouf setTiimer
14101 * minibuffer.C (ExecutingCB): constify res
14102 (peek_event): constify s
14103 (Set): constify ntext
14104 (Init): constify nicename
14106 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14108 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14109 (savePosition): use two params to Minibuffer::Set
14110 (restorePosition): ditto
14112 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14114 * lyx_main.C: include language.h
14116 * Makefile.am (lyx_main.o): add language.h
14118 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14124 * CutAndPaste.C: include gettext.h
14126 * lyxfont.h: remove old hack with ON and OFF.
14129 * lyxfont.h: do not include language.h...
14134 * bufferview_funcs.C:
14140 * paragraph.C: ... but do it here instead
14142 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14144 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14146 * tabular.C: small reformat
14148 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14151 (BreakParagraph): ditto
14152 (SetOnlyLayout): ditto
14155 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14158 * lastfiles.C: removed most using decl, add std:: where needed
14160 * buffer.C: ws changes
14162 * MenuBackend.C (class compare_format): put into anon namespace
14163 (expand): constify label, names, action, action2
14166 * text.C (SingleWidth): constify font
14167 (IsBoundary): constify rtl2
14168 (GetVisibleRow): constify ww
14170 * LaTeX.C (deplog): constify logfile
14172 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14174 (workAreaExpose): constify widthChange, heightChange
14176 * lyxrow.C (par): moved
14179 * lyxrow.h: as inlines here
14181 * lyxfont.h (shape): moved from lyxfont.C
14182 (emph): moved from lyxfont.C
14184 * lyxfont.C (LyXFont): use initialization list for all
14186 (shape): move to lyxfont.h as inline
14187 (emph): move to lyxfont.h as inline
14190 2001-04-04 Juergen Vigna <jug@sad.it>
14192 * vspace.C: had to include stdio.h for use of sscanf
14194 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
14197 * BufferView_pimpl.h: remove xforms cruft. Both classes are
14198 independent of xforms.
14200 2001-04-02 Juergen Vigna <jug@sad.it>
14202 * spellchecker.C: fixed namespace placing!
14204 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
14206 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14207 the LyXParagraph * is 0.
14209 2001-03-29 Juergen Vigna <jug@sad.it>
14211 * vspace.C: added support for %, c%, p%, l%.
14212 (stringFromUnit): added helper function.
14213 (asLatexString): changed to give right results for the %-values.
14215 * buffer.C: convert the widthp in a width%.
14217 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
14219 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14222 * figureForm.[Ch]: stripped the FD_from_figure manipulation
14223 code out of lux_cb.[Ch], ready for its (imminent?) removal.
14225 * lyx_cb.[Ch]: see above.
14227 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14231 * lyx.[Ch]: replaced by figure_form.[Ch].
14235 * lyxfunc.C: changed headers associated with above changes.
14237 2001-03-27 Juergen Vigna <jug@sad.it>
14239 * BufferView_pimpl.C: set the temporary cursor right!
14241 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
14243 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14245 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
14247 * LString.h: removed "using std::getline"!
14249 * BufferView_pimpl.C (Dispatch): changes due to changes in
14250 InsetInclude::Params.
14252 * buffer.C (tag_name): removed redundant break statements as they were
14253 producing lots of warnings with my compiler.
14255 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14257 * LString.h: add "using std::getline" when using the real <string>.
14259 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
14261 * buffer.C: removed bitset usage.
14262 PAR_TAG moved to an anonymous name space.
14263 (tag_name): new funtion, also in the anonymous namespace.
14264 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14265 (makeDocBookFile): clean code. Completed transition from string arrays
14267 (SimpleDocBookOnePar): code clean.
14269 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14271 * tabular.C: add some comments.
14273 2001-03-22 Juergen Vigna <jug@sad.it>
14275 * buffer.C (parseSingleLyXformat2Token): redone the minipage
14276 compatibility read a bit and fixed bug with minipage in different
14279 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
14281 * buffer.C (pop_tag): removed.
14282 (push_tag): removed.
14283 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14284 array replaced with vector. Added support for CDATA sections.
14285 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14287 (makeDocBookFile): XML conformant declaration of CDATA section,
14288 fixed bug related to <emphasis> in the first paragraph char.
14289 (sgmlOpenTag): exclude empty tags.
14290 (sgmlCloseTag): ditto.
14292 * buffer.h (pop_tag): removed.
14293 (push_tag): removed.
14295 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
14297 * language.h (Languages): added size_type and size().
14299 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14301 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14302 response on compability reading of minipages. One probliem is that
14303 the old usage of minipages was «flertydig»
14305 * several files here and in subdirs: don't use static at file
14306 scope use anon namespaces instead.
14308 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
14310 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14311 LaTeX output. This is necessary for Literate document
14314 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14316 * buffer.C: insert hfill when needed.
14318 * tabular.C (l_getline): use string::erase, small whitespace change.
14320 * BufferView_pimpl.C: try the anon namespace.
14321 * WorkArea.C: ditto
14323 2001-03-16 Juergen Vigna <jug@sad.it>
14325 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14326 otherwise it won't open options-dialogs.
14328 * buffer.C: honor pextraWidth(p) on converting minipages.
14330 * tabular.C (l_getline): changed the functions to strip trailing \r.
14332 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
14334 * BufferView_pimpl.C:
14335 * minibuffer..C: added "using SigC::slot" declaration.
14337 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14339 * lyxlex_pimpl.h: noncopyable is in namespace boost.
14345 * paragraph.C: ditto
14347 * lyxtext.h: NO_PEXTRA
14349 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14351 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14352 * ParameterStruct.h: ditto
14353 * ParagraphParameters.h: ditto
14354 * lyxparagraph.h: ditto
14356 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14358 * buffer.C: add compability for minipage alignment.
14359 (latexParagraphs): remove unwanted pextra check.
14361 * several files: remove CXX_WORKING_NAMESPACES
14363 * buffer.C (pop_tag): tie is in namespace boost
14365 * BufferView.h: noncopyable is in namespace boost
14367 * lyx_main.h: ditto
14370 * lastfiles.h: ditto
14371 * bufferlist.h: ditto
14372 * ShareContainer.h: ditto
14374 * LyXAction.h: ditto
14377 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14379 * Merging changes from BRANCH_MVC back into HEAD.
14381 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14383 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
14385 * BufferView_pimpl.C: change from intl.C
14389 * Makefile.am: move combox.*
14395 * intl.C: remove dialog (covered by prefs)
14397 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14399 * lyxfunc.C (Dispatch): removed redundant break statement.
14401 2001-03-14 Juergen Vigna <jug@sad.it>
14403 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14405 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14407 * buffer.C: add hack to fix compability reading of minipages.
14409 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
14411 * buffer.C (getLists): Cleanup.
14413 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14415 * lyxfont.C (update): don't honor toggleall on font size.
14417 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
14421 * Makefile.am: moved to frontends/xforms/
14425 * BufferView_pimpl.C: changes for moved mathpanel
14427 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14429 * gettext.h: fix gettext_init() in --disable-nls
14431 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14433 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14435 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
14438 * lyx.h: strip external form
14440 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14442 * BufferView_pimpl.C: add comment, destroySplash()
14444 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14446 * BufferView_pimpl.C:
14450 * lyxfunc.C: use re-worked insetinclude
14452 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14454 * buffer.C: add using std::stringstream.
14456 * lyx_cb.C: readd using std::ios.
14458 * buffer.C: add using std::map.
14460 * BufferView_pimpl.C: add using std::vector.
14462 * ShareContainer.h: add std:: to swap.
14464 * buffer.h: add some typedefs
14465 * buffer.C (getLists): use them
14466 (getLists): renamed from getTocList.
14467 add a counter for the different float types and use it in the
14469 (getLists): use the same counter for the NEW_INSETS and the "non"
14472 * lyx_cb.h: remove unused items, includes, using etc.
14474 * ShareContainer.h: remove some commented code, add more comments
14475 and "documentation".
14477 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14479 * buffer.C (getTocList): make the list also when NEW_INSETS is
14482 * buffer.h: remove TocType
14484 * buffer.C (getTocList): change to return a map<string,
14485 vector<TocItem> >, implement for dynamic number of list.
14487 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14488 * text2.C (PasteSelection): adjust
14489 * CutAndPaste.C (pasteSelection): adjust
14491 * FloatList.C (FloatList): update from the new_insets branch.
14492 * Floating.[Ch]: ditto
14493 * LaTeXFeatures.C: ditto
14495 * lyxlex_pimpl.C: ditto
14497 * paragraph.C (Last): remove when NEW_INSETS is defined.
14499 * other file: changes because of the above.
14501 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14503 * lyxparagraph.h: rename next to next_, previous to previous_,
14504 make them private for NEW_INSETS. Rename Next() to next(),
14505 Previous() to previous().
14507 * other files: changes because of the above.
14509 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
14512 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14515 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14517 * main.C (main): pass lyx_localedir to gettext_init().
14519 * gettext.h: remove locale_init and gettext_init macros
14521 * gettext.C (locale_init): new function
14522 (gettext_init): new function
14524 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14527 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
14529 * Moved credits to frontends:
14530 * credits.[Ch]: removed
14531 * credits_form.[Ch]: removed
14532 * lyx_gui_misc.C: remove credits stuff
14535 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14537 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14539 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14540 unneeded destructor.
14542 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14543 a standalone pointer again.
14545 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14547 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
14553 * ToolbarDefaults.C:
14562 * BufferView_pimpl.C: use new file dialog in GUII
14565 * lyx_cb.C: remove LayoutsCB to Toolbar
14567 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14569 * ShareContainer.h (get): add std:: qualifier
14571 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14573 * ShareContainer.h: define a proper ShareContainer::value_type
14574 type (and use typename to please compaq cxx)
14576 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14578 * lyxparagraph.h: move serveral local vars to
14579 ParameterStruct/ParagraphParameters., use ShareContainer in
14580 FontTable., make vars in FontTable private and add getter and
14583 * paragraph.C: changes because of the above.
14585 * lyxfont.h: remove copy constructor and copy assignment. (the
14586 default ones is ok), move number inside FontBits. move inlines to
14589 * lyxfont.C: add number to initializaton of statics, move several
14590 inlines here. constify several local vars. some whitespace
14591 cleanup. Dont hide outerscope variables.
14593 * Spacing.h: add two new constructors to match the set methods.
14595 * ShareContainer.h: new file, will perhaps be moved to support
14597 * ParameterStruct.h: new file
14599 * ParagraphParameters.h: new file
14601 * ParagraphParameters.C: new file
14603 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14604 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14606 * BufferView_pimpl.C: ParagraphParameter changes.
14607 * buffer.C: Likewise.
14608 * bufferview_funcs.C: Likewise.
14609 * text.C: Likewise.
14610 * text2.C: Likewise.
14612 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14614 * lyxfind.C (LyXReplace): do not redefine default argument in
14616 (IsStringInText): ditto
14617 (SearchForward): ditto
14618 (SearchBackward): ditto
14620 2001-03-06 Juergen Vigna <jug@sad.it>
14622 * lyxfind.C (IsStringInText): put parentes around expressions.
14624 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
14626 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14628 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
14630 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14632 * stl_string_fwd.h: add comment
14634 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14637 * tabular.C: remove unused DocBook methods
14643 killed DO_USE_DEFAULT_LANGUAGE
14645 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14647 * lyx_gui.C: do not include language.h.
14649 * bufferview_funcs.C (ToggleAndShow): do not provide optional
14650 arguments in function implementation.
14652 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14654 * BufferView_pimpl.C: add <ctime>
14656 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14658 * BufferView_pimpl.C: add using std::find_if
14660 2001-02-27 José Matos <jamatos@fep.up.pt>
14662 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14665 2001-02-11 José Matos <jamatos@fep.up.pt>
14667 * buffer.C (makeDocBookFile): command styles now have a parameter as
14668 "title" by default.
14670 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
14672 * layout_forms.[Ch]: removed
14673 * lyx_cb.[Ch]: out character
14674 * lyx_gui.C: out character
14675 * lyx_gui_misc.C: out character
14676 * bufferview_funcs.C: : out character,
14677 added toggleall as parameter in ToggleAndShow
14679 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
14681 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14683 * text2.C (SetCurrentFont): Disable number property at boundary.
14685 2001-02-26 Juergen Vigna <jug@sad.it>
14687 * lyxfunc.C (getStatus): added a string argument override function so
14688 that this is correctly called from LyXFunc::Dispatch if it contains a
14689 do_not_use_argument which is used!
14690 (Dispatch): added check for "custom" export and call appropriate func.
14692 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
14694 * lyxrc.C: Add language_command_local, language_use_babel and
14695 language_global_options.
14697 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14699 * buffer.C (makeLaTeXFile): Use language_use_babel and
14700 language_global_options.
14702 2001-02-23 Juergen Vigna <jug@sad.it>
14704 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14705 which works with LyXText and putted it inside BufferView. Here now we
14706 only call for that part the BufferView::Dispatch() function.
14708 * BufferView.C (Dispatch): added.
14710 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14711 functions which needs to use a LyXText over from LyXFunc.
14712 (MenuInsertLyXFile): added
14713 (getInsetByCode): added
14714 (moveCursorUpdate): added
14715 (static TEXT): added
14717 2001-02-22 Juergen Vigna <jug@sad.it>
14719 * BufferView_pimpl.C (update): call a status update to see if LyXText
14722 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14724 * vc-backend.C (revert): implement for CVS
14725 (getLog): implement for CVS
14727 2001-02-20 Juergen Vigna <jug@sad.it>
14729 * text2.C (ClearSelection): added BufferView param for inset_owner call
14731 * lyxfunc.C (TEXT): added this function and use it instead of
14732 directly owner->view()-text of getLyXText().
14734 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
14736 * src/layout_forms.C: out preamble
14737 * src/layout_forms.h: out preamble
14738 * src/lyx_cb.C: out preamble
14739 * src/lyx_cb.h: out preamble
14740 * src/lyx_gui.C: out preamble
14741 * src/lyx_gui_misc.C: out preamble
14742 * src/lyxfunc.C: connect with guii preamble
14744 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
14746 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14748 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
14750 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14751 whether to run bibtex.
14753 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
14755 * Makefile.am (lyx_SOURCES): Remove BackStack.h
14757 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14759 * Makefile.am (lyx_SOURCES): removed bibforms.h
14761 * vspace.h: doxygen
14763 * text.C (GetVisibleRow): make several local vars const
14765 * tabular.C: small cleanup.
14767 * lyxserver.C (callback): use compare instead of strncmp
14769 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14770 inlines to after class or to paragraph.C
14772 * lyxfont.h: remove friend operator!=
14774 * converter.h: move friend bool operator< to non friend and after
14777 * combox.h: small cleanup
14779 * buffer.h: doxygen, remove unused constructor, move inclas inlies
14780 to inlines after class def.
14782 * buffer.C (pop_tag): use string operations instead of strcmp
14784 * bmtable.c: doxygen, small cleanup
14786 * LaTeX.h: remove friend operator==
14788 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
14800 * BufferView_pimpl.C:
14801 * BufferView.[Ch]: remove cruft
14803 2001-02-14 Juergen Vigna <jug@sad.it>
14805 * lyxfunc.C: removed #if 0 unused code
14807 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14809 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14811 * text2.C (SetSelection): added a BufferView * parameter
14813 2001-02-13 Juergen Vigna <jug@sad.it>
14815 * lyxfunc.C (Dispatch): fixed protected blank problem.
14816 * BufferView2.C (protectedBlank): added LyxText * parameter.
14818 * tabular.C (AppendRow): forgot to set row_info of newly added row.
14819 (AppendColumn): same as above for column_info.
14821 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14822 (moveCursorUpdate): use a LyXText param for support of InsetText.
14824 * BufferView_pimpl.C (doubleClick): added support for InsetText.
14825 (tripleClick): ditto
14827 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14829 * BufferView_pimpl.C (update): added LyXText param to honor insets.
14831 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14833 * text2.C (SetSelection): set correct update status if inset_owner
14834 (ToggleFree): ditto
14836 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
14838 * tabular.C: remove some commented code.
14840 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
14842 * BufferView_pimpl.C: call hideSplash()
14844 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14847 * bibforms.h: remove
14850 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14851 add LFUN_CHILD_CREATE
14853 * counters.h: fix tiny typo
14858 * lyx.C: move splash to frontends/xforms/
14860 * lyx_gui_misc.C: move Include and Bibform to frontends
14862 * lyxvc.h: clarify comment
14864 * vspace.C: tiny housekeeping
14866 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
14868 * text.C (PrepareToPrint): RTL Fix.
14870 * paragraph.C (GetUChar): New method.
14871 (String): Use GetUChar.
14873 * buffer.C (asciiParagraph): Use GetUChar.
14875 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
14877 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14879 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
14882 * buffer.C: rename to getLogName(), handle
14883 build log / latex log nicely
14885 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14888 * MenuBackend.h: remove support for reference menuitem type.
14890 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
14892 * BufferView_pimpl.C: housekeeping
14893 * BufferView_pimpl.h:
14898 * minibuffer.h: move Timeout GUI-I
14900 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
14902 * lyxrc.C (read): Update converters data-structures.
14904 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
14906 * LaTeX.h (operator!=): add operator != for Aux_Info
14908 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
14910 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14912 * LaTeXLog.C: deleted, useful code moved to Buffer
14915 * buffer.C: new function getLatexLogName()
14921 * lyxfunc.C: use frontends for LaTeX and VC logs
14923 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14925 * LaTeX.h: yet another std:: that Allan forgot.
14927 * Variables.C (set): renamed from isset(), because this clashes
14928 with some HP-UX macros (grr).
14930 2001-02-06 Allan Rae <rae@lyx.org>
14932 * LaTeX.h: Another bug fix. Missing std:: this time.
14934 2001-02-04 Allan Rae <rae@lyx.org>
14936 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14937 floats problem. I've left it commented out because it's not quite
14938 correct. It should also test that the current object is a table or
14939 figure inset. But I haven't gotten around to figuring out how to do
14940 that. I *think* it'll be something like: "table" == inset.type()
14942 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14945 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
14947 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14948 all the citation/databases/styles in the auxilary file.
14949 (run): Rerun latex if there was a babel language error.
14951 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
14953 * text.C (Backspace): Preserve the font when changing newline char
14955 (BreakParagraph): If the cursor is before a space, delete the space.
14957 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14959 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
14961 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14962 new argument (code).
14963 (ChangeCitationsIfUnique): New method.
14965 * paragraph.C (GetPositionOfInset): Handle bibkey.
14967 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14969 * BufferView_pimpl.h: change type of Position::par_pos to
14970 LyXParagraph::size_type.
14972 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
14974 * BufferView_pimpl.C (savePosition, restorePosition): Write
14975 messages to minibuffer.
14977 2001-01-28 José Matos <jamatos@fep.up.pt>
14979 * buffer.C (makeDocBookFile): adds support for document language.
14980 A silly restriction on the name of LatexCommand types where removed.
14981 Added support for CDATA sections, allows to chars unescaped, used
14982 among others in code, to avoid escape < and >.
14984 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14986 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14987 saved positions instrad of a stack. Furthermore, a position is
14988 stored using paragraph id/paragraph position.
14990 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14991 Remove LFUN_REF_BACK.
14993 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14995 * converter.C (dvipdfm_options): New method.
14997 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
14999 * vspace.C (isValidLength): Fix for empty input string.
15001 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15003 * LyXAction.C (init): change description of LFUN_FIGURE to
15006 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15008 * LaTeX.C: add using directive
15010 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15012 * MenuBackend.C (expand): Fix the sorting of the formats.
15014 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
15016 * lyx_main.C: tiny error message fix
15018 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15020 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15021 calling fl_initialize(). This fixes the problem with ',' as
15022 decimal separator in text files.
15024 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15026 * trans.C (process): Fix the keymap bug.
15028 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
15030 * LaTeX.C (scanAuxFiles): New method. Provides support for
15031 multiple bibliographies (when using the bibtopic/bibunits pacakges).
15032 (scanLogFile) Scan for "run BibTeX" messages.
15034 * buffer.C (makeLaTeXFile): Do not load the ae package when using
15035 OT1 font encoding. Also, load the aecompl package if the ae
15038 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15040 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15042 * texrow.C (increasePos): turn two error messages into debug
15045 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
15047 * LaTeX.C (scanAux): Handle the \@input macro.
15048 (runBibTeX): Use scanAux().
15050 * language.C (latex_options_): New field.
15052 * LaTeXFeatures.C (getMacros): Add language macros.
15054 * buffer.C (makeLaTeXFile): Small fix.
15056 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15058 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15060 * text2.C: add a using directive.
15062 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
15067 * lyxfunc.C: kill LyXBell.
15069 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
15071 * text.C (IsBoundary): Remove the error message
15073 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15075 * lyxrc.C (setDefaults): Correct initialization value for
15078 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
15080 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15083 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15084 and GotoNextNote().
15086 * src/LyXAction.C: Added reference-next.
15088 * text.C (InsertChar): Use contains instead of strchr.
15090 * lyx_cb.C (MenuInsertLabel): Enable default value code.
15092 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
15094 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15095 alignment commands (when needed).
15097 * text.C (InsertChar): Add ':' to number separator chars.