1 2004-03-26 Angus Leeming <leeming@lyx.org>
3 * src/BufferView_pimpl.C:
7 * src/output_plaintext.C:
9 * src/paragraph_funcs.C:
13 * src/frontends/controllers/ControlErrorList.C:
14 * src/frontends/gtk/FileDialogPrivate.C:
15 * src/frontends/gtk/GPainter.C:
16 * src/frontends/gtk/GToolbar.C:
17 * src/frontends/qt2/QRef.C:
18 * src/mathed/math_scriptinset.C: squash compiler warnings.
20 2004-03-26 Angus Leeming <leeming@lyx.org>
22 * ispell.C (LaunchIspell::start):
23 * lyx_cb.C (AutoSaveBuffer::start):
24 invoke run(DontWait) rather than runNonBlocking().
26 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
28 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
30 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
32 * kbsequence.C (print): adjust
34 * kbmap.C (printKeySym): rename and change signature
35 (printKey): use LyXKeySym::print()
37 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
39 * undo.C: add using std::advance to compile for stlport
41 2004-03-24 Angus Leeming <leeming@lyx.org>
43 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
44 it leads to a crash when no buffer is present.
46 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
47 Martin Vermeer <martin.vermeer@hut.fi>
49 * lyxfunc.C (dispatch):
50 * bufferparams.C (readToken): use the new LColor::setColor
52 * LColor.[Ch] (setColor): new version that takes two strings as
53 argument and creates a new color entry if necessary
55 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
57 * buffer.C (makeLaTeXFile): if the main latex file that is
58 processed is usually a subdocument of some master, then pretend
59 for a while that it is actually the master
61 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
63 * buffer.C (getLabelList):
64 (getBibkeyList): use getMasterBuffer()
65 (getMasterBuffer): new method. Returns the main document in the
66 case where one is using included documents.
68 2004-03-25 André Pönitz <poenitz@gmx.net>
72 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
74 * ParagraphList_fwd.h: change ParagraphList to a std::vector
76 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
77 text*.C over here. Rename namespace CutAndPaste to lyx::cap
79 * ParameterStruct.h: merge with ParagraphParameters
81 * lyxtext.h: remove LyXText::parOffset() and getPar()
83 * text3.C: Remove all 'manual' update calls. We do now one per user
84 interaction which is completely sufficient.
91 * ParagraphParameters.[Ch]:
103 * output_docbook.[Ch]:
105 * output_linuxdoc.[Ch]:
106 * output_plaintext.[Ch]:
108 * paragraph_funcs.[Ch]:
109 * paragraph_pimpl.[Ch]:
117 * frontends/controllers/ControlDocument.C:
118 * frontends/controllers/ControlErrorList.C:
119 * frontends/controllers/ControlSpellchecker.C:
122 * insets/insetbase.h:
123 * insets/insetbibitem.C:
125 * insets/insetbranch.C:
126 * insets/insetcaption.C:
127 * insets/insetcharstyle.C:
128 * insets/insetcharstyle.h:
129 * insets/insetcollapsable.C:
130 * insets/insetcollapsable.h:
132 * insets/insetfloat.C:
133 * insets/insetfoot.C:
134 * insets/insetmarginal.C:
135 * insets/insetnote.C:
136 * insets/insetoptarg.C:
137 * insets/insettabular.C:
138 * insets/insettext.C:
139 * insets/insettext.h:
140 * insets/insetwrap.C:
141 * mathed/math_mboxinset.C:
142 * mathed/math_nestinset.C:
143 * mathed/math_scriptinset.C:
144 * mathed/math_scriptinset.h:
147 2004-03-24 Angus Leeming <leeming@lyx.org>
149 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
150 deal with any child processes that have finished but are waiting to
151 communicate this fact to the rest of LyX.
153 2004-03-24 Angus Leeming <leeming@lyx.org>
155 64-bit compile fixes.
157 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
158 (c-tor): pass lyx::pos_types rather than ints.
160 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
163 * text.C (Delete): compile fix.
164 (getPar): ensure that function declaration is the same as that in
167 2004-03-23 Angus Leeming <leeming@lyx.org>
169 * ispell.C (LaunchIspell):
170 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
171 a boost::shred_ptr rather than a std::auto_ptr.
173 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
175 * lyxfunc.C (getStatus): handle read-only buffers correctly;
176 handle LFUN_FILE_INSERT_*
178 * lyxrc.C (setDefaults, getDescription, output, read):
179 * lyxrc.h: remove ps_command
181 2004-03-22 Angus Leeming <leeming@lyx.org>
183 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
184 Ensure that error_handler is processed once only and that all data
185 is saved before attempting to output any warning messages.
187 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
189 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
191 * tabular.C (TeXRow): crash fix (from Kayvan and André)
193 2004-03-19 André Pönitz <poenitz@gmx.net>
195 * cursor.[Ch] (reset): take main text inset as argument
198 * BufferView_pimpl.C: adjust
200 * paragraph.[Ch]: fix completely broken operator=()
202 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
204 * LColor.C (getFromLyXName): make sure that the color name is used
207 2004-03-17 Angus Leeming <leeming@lyx.org>
210 * LyXAction.C (init): remove LFUN_FORKS_KILL.
212 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
213 dialog and to kill a forked process.
215 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
217 * text2.C (setCursorFromCoordinates): fix font problem
219 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
221 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
222 bogus "rebuild cursor" code
224 2004-03-11 André Pönitz <poenitz@gmx.net>
226 * buffer.[Ch]: use InsetText instead of LyXText as container for
229 * dociterator.[Ch]: drop the BufferView * member which is not needed
230 anymore after the change to buffer.C
236 * BufferView_pimpl.[Ch]:
238 * cursor_slice.[Ch]: adjust
240 * text3.C: fix bug in mathDispatch
242 2004-03-08 André Pönitz <poenitz@gmx.net>
244 * undo.[Ch]: use 'StableDocumentIterator' as base for
247 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
250 * bufferparams.[Ch]: add jurabib support and param.
252 * LaTeX.C: add FIXME/comment.
254 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
256 * buffer.C: increment file format to 230.
258 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
260 * cursor.C (dispatch): avoid infinite loops
262 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
264 * rowpainter.C (paintSelection): fix x coordinates
266 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
268 * text.C (rowBreakPoint): fix breaking before displayed insets
270 2004-03-01 André Pönitz <poenitz@gmx.net>
272 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
274 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
278 * BufferView_pimpl.C:
286 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
292 * BufferView_pimpl.C: rename textwidth -> maxwidth,
293 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
295 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
297 * Bidi.[Ch] (computeTables): const correctness
298 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
299 fill_hfill, fill_label_hfill and x from Row
300 * lyxtext.h: prepareToPrint returns a RowMetrics
301 * rowPainter.C: adjust
302 * text.C (prepareToPrint): use width, not textWidth. adjust
303 (redoParagraphInternal, cursorX): adjust
304 * text2.C (getColumnNearX): adjust
305 (init): put a default value to the top LyXText::width
307 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
309 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
311 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
313 * lyxtext.h: add FontIterator class
315 * text.C (FontIterator, operator*, operator->, operator++): add
316 (rowBreakPoint, setRowWidth): adjust (fixing a
319 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
321 * BufferView_pimpl.C (workAreaDispatch): allow also
322 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
324 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
326 * text.C (rowBreakPoint): fix a bug showing with very large insets
328 2004-02-25 André Pönitz <poenitz@gmx.net>
331 * cursor.[Ch]: move some mathed specific code to mathed
333 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
335 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
336 use_tempdir in preferences
337 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
339 * lyx_main.C: ensure that tempdir is valid
340 * lyxlex.h: correct typo
341 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
342 * paragraph.[Ch] (isMultiLingual): make const
343 * cursor.[Ch] (openable): make const
345 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
347 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
349 2004-02-20 André Pönitz <poenitz@gmx.net>
351 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
353 * cursor.[Ch]: prepare for localized getStatus()
359 * text3.C: streamlines the LyXText cursor movement handlers a bit.
361 2004-02-20 André Pönitz <poenitz@gmx.net>
363 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
365 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
367 * text2.C (setCursorFromCoordinates): switch to absolute coords
370 * text3.C (dispatch): adjust
372 2004-02-16 André Pönitz <poenitz@gmx.net>
374 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
377 * cursor_slice.[Ch]: remove unneeded acessor function
379 * lyxtext.h: rename rtl() to isRTL()
387 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
389 * rowpainter.C (paintSelection): coord fix
391 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
393 * Spacing.C: compile fix
395 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
397 * cursor.C (dispatch): restore current_ before returning
399 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
401 * text2.C (cursorUp, cursorDown): fix coords
404 2004-02-12 André Pönitz <poenitz@gmx.net>
409 * text3.C: add LCursor & parameter to most cursor movement functions
410 remove usage of LyXText::cursorRow() and cursorPar()
412 * cursor.[Ch]: add textRow() needed members
415 * BufferView_pimpl.C:
418 * BufferView_pimpl.C: adjust
420 2004-02-11 André Pönitz <poenitz@gmx.net>
424 * BufferView_pimpl.C: shift undo/redo handling
426 * cursor.[Ch]: fix mathed crash
429 * lyxtext.h: move selectionAsText to LCursor
437 * rowpainter.C: fix excessive drawing
439 2004-02-06 André Pönitz <poenitz@gmx.net>
442 * BufferView_pimpl.[Ch]:
443 * text3.C: move some text specific LFUN handling
445 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
447 * text3.C (checkInsetHit): adjust coords
448 * text2.C (getColumnNearX): adjust coords
449 (edit): adjust coords
450 * text.C (getRowNearY): add two asserts
452 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
455 * format.C: add using std::distance to compile on gcc 2.95/stlport
457 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
459 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
461 2004-02-04 André Pönitz <poenitz@gmx.net>
463 * BufferView.[Ch] (insertInset):
464 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
469 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
471 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
472 on the default clause of the switch
473 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
474 wasn't catched by LCursor::dispatch
476 2004-02-03 André Pönitz <poenitz@gmx.net>
479 * cursor.[Ch]: some additional asserts
481 * undo.[Ch]: remove LyXText dependency in interface
485 * lyxtext.h (firstPar, lastPar): remove dead functions
490 * paragraph.[Ch]: adjust
492 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
494 * lyxfind.C (find): fix argument order in call to ::find
496 2004-02-02 André Pönitz <poenitz@gmx.net>
498 * cursor.[Ch]: remove direct access to anchor
500 * text.C: remove findText() hack
502 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
504 * iterators.[Ch] (lockPath): remove in favour of...
505 * BufferView.[Ch] (setCursor): this addition
506 * BufferView.C (putSelectionAt): adjust
507 * undo.C (performUndoOrRedo): adjust
508 * lyxfunc.C (dispatch): adjust
510 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
512 * iterators.C (lockPath): add a missing slice
513 * undo.C (performUndoOrRedo): remove redundant positioning code
515 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
517 * vc-backend.C (scanMaster): ";" -> ';'
519 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
521 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
524 * lyxtextclass.C (compare_name): rename to...
525 (LayoutNamesEqual): ...this
527 * lyxlex_pimpl.C (compare_tags): inherit from
528 std::binary_function, put back into anon namespace
530 * lyxfind.C (MatchString): inherig from std::binary_function
531 (findChange): use empty() istead of !size()
533 * format.C (FormatNamesEqual): new functor
540 * converter.C (compare_Converter): rename to...
541 (ConverterEqual): ...this, and fixup a bit.
542 (getConverter): use it, and make function const
543 (getNumber): use it, and make function const
547 * bufferlist.C: add using boost::bind
549 * MenuBackend.C (MenuNamesEqual): new functor
550 (hasMenu): use it, and make function const
551 (hasSubmenu): use nested bind to get rid of compare_memfun.
553 2004-01-30 André Pönitz <poenitz@gmx.net>
555 * BufferView_pimpl.C:
566 * text3.C: move some of the edit(x,y) handling to the insets
567 some coordinate changes.
569 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
571 * text.C: add using statements for std::advance and std::distance
573 * paragraph.C: add using statement for std::distance
575 * lyxfind.C: add using statement for std::advance
577 * cursor.C (region): remove std:: from swap
578 (openable): use nucleus in stead of operator->
580 * BufferView.C: add using statements for std::distance and std::swap
582 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
584 * iterators.C: Remove the pimple, move the needed structures to
585 the header file. Create accessor for the positions stack.
586 (asPosIterator): remove function
588 * PosIterator.C (PosIterator): move constructors to top of file
589 (PosIterator): reimplement the constructor taking a ParIterator in
591 (setFrom): new function
592 (operator!=): inline it
594 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
596 * lyxfind.C (replaceAll): use std::advance
598 * iterators.h: inherit from std::iterator.
600 * PosIterator.C (advance, distance): remove
601 * PosIterator.h: interit from std::iterator.
603 2004-01-26 André Pönitz <poenitz@gmx.net>
606 * BufferView_pimpl.[Ch]:
610 * bufferview_funcs.C:
621 * output_plaintext.C:
623 * paragraph_funcs.[Ch]:
624 * paragraph_pimpl.[Ch]:
630 * text3.C: more IU: dumps most of the rest of the mathcursor
631 implementation into cursor.[Ch]; "globalize" a bit of it.
633 2004-01-25 Angus Leeming <leeming@lyx.org>
635 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
637 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
639 * LaTeXFeatures.h: add nice_ and nice() const
640 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
642 2004-01-20 André Pönitz <poenitz@gmx.net>
645 * BufferView_pimpl.C:
647 * bufferview_funcs.C:
660 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
661 LCursor and mathcursor parts to LCursor and InsetBase.
663 2004-01-15 André Pönitz <poenitz@gmx.net>
665 * cursor_slice.[Ch]: add a few covienience functions
667 * funcrequest.[Ch]: remove BufferView * member
669 * BufferView_pimpl.C:
676 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
678 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
680 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
681 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
683 2004-01-13 André Pönitz <poenitz@gmx.net>
686 * lyxtext.h: hide cursor and selection anchor behind accessor function
689 * BufferView_pimpl.[Ch]:
691 * bufferview_funcs.C:
701 * cursor_slice.[Ch]: some integer type changes for inset unification
703 * lyxcursor.[hC]: remove, it's CursorSlice now.
706 * BufferView_pimpl.[Ch]:
707 * bufferview_funcs.C:
713 * textcursor.[Ch]: adjust
715 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
717 * text2.C (undoSpan): add and use
718 * text.C (breakParagraph): use undoSpan (fix bug 578)
721 2004-01-08 Angus Leeming <leeming@lyx.org>
723 * BufferView_pimpl.C (MenuInsertLyXFile):
724 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
725 * lyxfunc.C (menuNew, open, doImport):
726 FileFilterList change to the FileDialog open and save functions.
728 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
730 * ShareContainer.h: make isEqual and isUnique adaptable
732 * CutAndPaste.C: make resetOwnerAndChanges adaptable
734 2004-01-07 Angus Leeming <leeming@lyx.org>
737 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
739 * BufferView_pimpl.C (dispatch): act on these LFUNs.
741 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
742 functions replacing find, replace and replaceAll.
744 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
745 LFUN_WORDFIND(FORWARD|BACKWARD).
747 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
749 * text.C (breakParagraph): remove an outdated #warning
751 2004-01-07 André Pönitz <poenitz@gmx.net>
753 * lyxfind.C: somewhat clearer logic
755 * text.C: prevent crash in cursorX on unitialized row cache
757 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
759 * lyxcursor.[Ch] (operator>): add
760 * textcursor.C (selStart, selEnd): use std::min and std::max
762 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
764 * Chktex.C: include boost/format.hpp
766 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
768 * InsetList.C: replace functor MathcIt with adaptable functor
770 (insetIterator): modify accordingly
772 * BranchList.h: move the BranchNamesEqual functor here from...
773 * BranchList.C: ... to here
775 * BranchList.C: new BranchListEqual fuctor, use it. Remove
777 (add): replace a finding loop with std::find_if.
779 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
781 * output_docbook.C: moving LatexParam functionality into
784 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
786 * buffer.C: increment format to 229.
788 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
791 * lyx_sty.[Ch]: remove minipageindent_def
797 * text3.C: remove LFUN_INSET_MINIPAGE
799 2003-12-28 Angus Leeming <leeming@lyx.org>
801 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
803 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
805 * text2.C (setParagraph): fix off-by-one crash
807 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
809 * output_docbook.C: header stuff for AGU
811 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
813 * text2.C (redoCursor): remove
816 * BufferView_pimpl.C: remove calls to redoCursor and
817 setCursor(cursor.par(), cursor.pos()) all around
819 2003-12-15 Angus Leeming <leeming@lyx.org>
821 * buffer.C: up the format to 228.
823 2003-12-15 André Pönitz <poenitz@gmx.net>
825 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
830 * BufferView_pimpl.C:
839 2003-12-15 Angus Leeming <leeming@lyx.org>
841 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
842 than getFromGUIName to manipulate the color.
844 2003-12-14 Angus Leeming <leeming@lyx.org>
846 * BranchList.[Ch]: minimize the API.
847 (Branch::getBranch, getColor): now return a 'const &'.
848 (Branch::setSelected) now returns a bool set to true if the
849 selection status changes.
850 (BranchList::clear, size, getColor, setColor, setSelected,
851 allBranches, allSelected, separator): removed.
852 (BranchList::find): new functions, returning the Branch with
854 (BranchList::add, remove): return a bool indicating that
855 the operation was successful.
857 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
858 new InsetBranch::isBranchSlected member function.
860 * LColor.[Ch]: mimimize the API.
861 (fill): renamed as addColor and made private.
862 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
863 versions of these functions taking a string arg have been removed.
865 * bufferparams.C (readToken):
866 * lyxfunc.C (dispatch):
867 * lyxrc.C (read): changes due to the altered BranchList and
870 * factory.C (createInset, readInset): changes due to altered
873 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
876 * lyxfunc.C: remove insetminipage. "minipage-insert"
877 now produces a frameless minipage box inset.
879 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
881 * textcursor.[Ch] (selStart,selEnd): add new methods
882 remove selection::start, end, use LyXCursor::operator<
883 * lyxcursor.[Ch] (operator<): add
884 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
885 * BufferView.[Ch] (unsetXSel): add
886 * text2.C (clearSelection): use unsetXSel,adjust
889 * rowpainter.C: adjust
890 * bufferview_funcs.C (put_selection_at): adjust
892 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
894 * BufferView_pimpl.C: small coord. correction
896 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
898 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
899 dragging over the splash screen.
901 2003-12-11 Angus Leeming <leeming@lyx.org>
903 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
904 as it is now handled in LyXText::dispatch.
906 * text3.C (doInsertInset): remove a level of nesting.
908 2003-12-11 Angus Leeming <leeming@lyx.org>
910 * factory.C (createInset): changes due to the changed interface to
911 InsetCommandMailer::string2params.
913 2003-12-10 Angus Leeming <leeming@lyx.org>
915 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
916 'dialog-show-new-inset <inset name>'
918 2003-12-10 Angus Leeming <leeming@lyx.org>
920 * buffer.C: up the format to 227.
922 * factory.C: the box inset is now identified simply by 'Box'.
924 2003-12-10 Angus Leeming <leeming@lyx.org>
926 * buffer.C: up the format to 226.
928 * factory.C: the note inset is now identified simply by 'Note'.
930 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
932 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
933 when a pit is enough. Standarize a couple of loops.
935 2003-12-05 Angus Leeming <leeming@lyx.org>
937 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
938 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
939 data to the re-worked "log" dialog.
941 2003-12-03 André Pönitz <poenitz@gmx.net>
949 * text2.C: use Inset::getText instead of Inset::getParagraph
951 2003-12-03 André Pönitz <poenitz@gmx.net>
955 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
956 InsetText::read() as LyXText::read()
958 2003-12-02 Angus Leeming <leeming@lyx.org>
960 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
961 type. Add a comment in the implementation that the function uses
962 the stream's bad() function rather than fail() as the std::streams
965 2003-12-02 André Pönitz <poenitz@gmx.net>
967 * lyxlex.[Ch]: make interface more similar to std::stream
969 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
971 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
973 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
975 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
977 * vspace.[Ch]: remove VSpace::NONE
979 2003-12-01 André Pönitz <poenitz@gmx.net>
982 * lyxtext.h: move ParagraphList member to LyXText
983 rename LyXText::ownerParagraphs to LyXText::paragraph
986 * bufferview_funcs.C:
996 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
998 * undo.C: fix cursor positioning
1000 2003-12-01 John Levon <levon@movementarian.org>
1002 * BufferView_pimpl.C: fix a crash on exit with
1005 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
1007 * BranchList.C: fix setSelected() method.
1009 2003-11-28 André Pönitz <poenitz@gmx.net>
1011 * ParagraphParameters.[Ch]:
1012 * ParameterStruct.h: remove space above/below from Paragraph to
1015 * BufferView_pimpl.C:
1021 * paragraph_funcs.C:
1027 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1029 * factory.C: Syntax change for CharStyles
1031 2003-11-28 André Pönitz <poenitz@gmx.net>
1036 * buffer.[Ch]: move LyXText member
1038 2003-11-28 André Pönitz <poenitz@gmx.net>
1040 * BufferView.[Ch]: make LyXText * text a private member
1042 * BufferView_pimpl.C:
1053 * output_plaintext.C: cleanup
1055 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1058 * lyxtextclass.[Ch]: parametrize SGML document header
1060 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1063 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1066 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1068 * text2.C (setFont): rework using PosIterator (no more recursive)
1069 (setCharFont): no more needed
1070 (setLayout): no more selection cursors fiddling (done by redoCursor)
1071 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1072 destroy remaining ones)
1074 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
1076 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1078 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1081 * text3.C: adjust + re-allow multi par depth changes
1082 * textcursor.C: simplify a bit
1084 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
1090 * src/output_docbook.C:
1091 * src/output_latex.C:
1096 * src/text2.C: Introducing a number of tags parametrizing various
1097 XML formats that we may want to support
1099 2003-11-25 André Pönitz <poenitz@gmx.net>
1101 * InsetList.[Ch] (begein, end): inline as suggested by profiler
1103 * lyxtext.h (leftMargin/rightMargin): simplify interface
1110 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1112 * lyxfunc.C (dispatch): propogate the bibtex databases from the
1113 master file to any child files. Fixes bug 546.
1115 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1117 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1119 2003-11-24 André Pönitz <poenitz@gmx.net>
1121 * rowpainter.C: simplification
1123 * text2.C (updateCounters): remove call to redoParagraph on
1124 changed labels as this is far too expensive.
1126 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1128 * converter.C (convert): fix a crash: this function gets
1129 called with buffer == 0 from importer code.
1131 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1133 * text3.C (cursorPrevious): make sure that we do not compare
1134 iterators form different containers.
1137 * rowpainter.C (paintSelection): make sure that we do not compare
1138 iterators from different containers.
1140 * text3.C (dispatch): [PRIOR] make sure that we do not compare
1141 iterators from different ParagraphList containers.
1144 * text2.C (LyXText): change order of initialization slightly
1145 (operator=): new function. copy all variables except cache_par_
1146 (moveUp): make sure that we do not compare iterators from
1147 different ParagraphList constainers.
1150 * text.C (firstPar): new function
1151 (lastPar): new function
1152 (endPar): new function
1154 * lyxtext.h: move things around and group public functions, public
1155 variables, private functions, private variables
1157 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1159 * factory.C: change call to InsetERT constructor to avoid
1160 additional invocation of method status
1161 * text2.C (toggleInset): remove redundant update() call
1162 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1163 instead of a Bufferview pointer
1165 2003-11-21 André Pönitz <poenitz@gmx.net>
1167 * rowpainter.C: simplification
1169 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1171 * text3.C (dispatch): make possible to extend a word/row selection
1174 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1176 * lyxtext.h: x0_,y0_ -> xo_,yo_
1177 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1178 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1179 * rowpainter.C (paintRows): paint full paragraphs
1181 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1183 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1186 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1188 * lyxtext.h: add x0_, y0_
1189 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1190 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1192 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
1194 * text2.C (setCursorIntern): move the x_target update here *
1195 * text3.C: change some bv() to true/false in calls to
1196 cursorUp/Down/Right/Left
1197 * cursor.C: use helper function.
1199 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1201 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1202 * paragraph_funcs.[Ch]: correct comment
1203 * rowpainter.C: do not paint selections away from bv->cursor()
1204 Fix a long standing selection painting bug.
1205 * text3.C: generalize mouse-selection code to LyXTexts other that
1207 * textcursor.C: do not use y coords if we can use par offsets
1209 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1211 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1212 cursor position after e.g. inset insert)
1214 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
1216 * lyxfind.C (replace): adjust to locking removal + some
1219 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
1221 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1224 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
1227 * output_docbook.C: XML sanitation: new layout
1228 parameters InnerTag and CommandDepth
1230 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
1232 * BufferView_pimpl.C:
1234 * text3.C: Fix the insertion and modification of button-style
1237 2003-11-13 André Pönitz <poenitz@gmx.net>
1239 * InsetList.[Ch]: remove deleteLyXText
1241 * paragraph.[Ch]: cache beginOfBody position
1246 * text3.C: remove superfluous update() calls
1250 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1252 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1253 * BufferView.C (fitLockedInsetCursor): remove
1254 * cursor.[Ch] (getDim): add
1255 * text.C (getRowNearY): add faster version
1256 * text3.C: remove some update calls
1258 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1270 * text3.C: The Character Style /XML short element patch.
1272 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
1275 * factory.C: Small step to solving 'unable to insert some insets'
1278 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1280 * cursor.[Ch] (updatePos): new function for updating the y
1281 position of the tip inset
1282 * bufferview_funcs.C (put_selection_at):
1283 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1285 2003-11-11 André Pönitz <poenitz@gmx.net>
1287 * text.C: remove big comment on invalid Paragraph pointers as it is
1290 2003-11-11 André Pönitz <poenitz@gmx.net>
1292 * text_funcs.[Ch]: merge with ...
1300 * Makefile.am: remove text_funcs.[Ch]
1302 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1304 * cursor.C (getPos): return absolute cached y coord
1306 * BufferView_pimpl.C (fitCursor): new simplistic code
1307 (workAreaDispatch): add a fitCursor call
1309 2003-11-10 André Pönitz <poenitz@gmx.net>
1312 * BufferView_pimpl.[Ch]: merge update() and updateInset()
1314 2003-11-10 André Pönitz <poenitz@gmx.net>
1316 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1317 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1318 indicate that the cursor needs to leave an inset
1320 * lyxtext.h: remove inset locking
1322 * cursor.[Ch]: re-implement functionality provided by inset locking
1325 * BufferView_pimpl.[Ch]:
1327 * bufferview_funcs.[Ch]:
1339 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1341 * PosIterator.[Ch]: replace the stack with a vector, add inset
1343 * iterators.[C]: adjust
1345 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1347 * lyxfind.C (replaceAll): mark the buffer dirty if something was
1349 * paragraph_funcs.C (readParToken): put the correct id in the
1350 error item, not the id of the top paragraph
1352 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1354 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1355 * bufferview_funcs.C (put_selection_at): use the above
1357 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1359 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1361 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1363 * output_linuxdoc.h:
1364 * output_plaintext.h:
1366 * output_docbook.h: add #include statements
1368 2003-11-05 José Matos <jamatos@lyx.org>
1370 * output_docbook.[Ch]:
1371 * output_latex.[Ch]:
1372 * output_linuxdoc.[Ch]:
1373 * output_plaintext.[Ch]: New files for output formats.
1374 * output.[Ch]: New file for helper functions.
1377 * paragraph_funcs.[Ch]: output functions moved to new files.
1379 * outputparams.h: rename of latexrunparams.h
1387 * paragraph_funcs.[Ch]:
1388 * paragraph_pimpl.[Ch]:
1389 * tabular.[Ch]: rename ascii to plaintext
1390 and LatexRunParams to OutputParams.
1392 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1394 * iterators.[Ch] (text): require bv argument
1395 * undo.C (recordUndo):
1396 * lyxfunc.C (dispatch):
1397 * bufferview_funcs.C (put_selection_at): adjust
1399 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
1401 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1403 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1405 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1408 2003-11-04 André Pönitz <poenitz@gmx.net>
1410 * cursor.[Ch]: restructure
1413 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1415 * iterators.[Ch] (asCursor): remove
1417 * lfuns.h: remove LFUN_INSET_EDIT
1423 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1425 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1427 * lyxfind.[Ch]: complete overhaul
1428 * BufferView_pimpl.C:
1430 * paragraph.[Ch] (insert): add
1432 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1436 * text.C: remove dead spellcheck code
1438 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1440 * dispatchresult.h: add a val setter
1442 * cursor.C (dispatch): use a tempvar for data_[i]
1444 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1446 * PosIterator.[Ch]: compile fix
1448 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1450 * text.C (cursorPar): deactivate the cursor cache
1452 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1454 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1456 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1458 * text3.C (dispatch): adjust for new DisptchResult semantics.
1460 * lyxfunc.C (dispatch): handle update when return from
1461 Cursor::dispatch, adjust for new DispatchResult semantics.
1463 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1464 DispatchResult(true) mean to not update. Add class functions for
1465 setting dispatched and update, as well as reading.
1467 * cursor.C (dispatch): don't handle update here
1469 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1471 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1472 * trans_mgr.C: adjust
1474 * paragraph_funcs.C (readParToken): exception safety
1476 * lyxvc.h: store the vcs pointer in a scoped_ptr
1479 * lyxsocket.C (serverCallback): exception safety
1481 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1483 * ispell.C (clone): make it return a auto_ptr
1485 * factory.C (createInset): exception safety
1486 (readInset): exception safety
1488 * bufferlist.C (newBuffer): exception safety
1490 * Thesaurus.C (Thesaurus): use initialization for aik_
1492 * MenuBackend.C (expandToc): exception safety.
1494 2003-11-03 André Pönitz <poenitz@gmx.net>
1498 * bufferview_funcs.C: remove getInsetFromId()
1501 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1507 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1509 * PosIterator.C (distance, advance): new
1510 * bufferview_funcs.[Ch] (put_selection_at): new
1511 * iterators.[Ch] (lockPath): new
1513 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
1515 * iterators.[Ch] (asPosIterator): added
1516 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1517 * PosIterator.[Ch]: added
1519 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1523 * cursor.C (dispatch):
1524 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1526 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1527 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1528 contructor, add a class function dispatched. Remove operator>=
1530 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1532 * debug.C: only use the default constructor for debugstream
1535 * main.C (main): include debug.h and setup the lyxerr streambuf
1538 2003-10-31 José Matos <jamatos@lyx.org>
1540 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1542 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1543 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1544 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1545 * paragraph_pimpl.C (simpleTeXSpecialC):
1546 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1547 add LatexRunParams argument.
1549 * exporter.C (Export): change call accordingly.
1551 * latexrunparams.h: add new member to take care of the other backends.
1552 2003-10-30 José Matos <jamatos@lyx.org>
1554 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1555 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1556 factorise code for paragraph output.
1558 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1561 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1563 * text3.C (dispatch):
1564 * lyxfunc.C (dispatch):
1565 * cursor.C (dispatch):
1566 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1568 * dispatchresult.h: make the dispatch_result_t ctor explicit
1570 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1573 * buffer.C: small refactoring of docbook stuff
1575 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1577 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1580 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1582 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1583 operator dispatch_result_t, and operators for == != and >=
1585 * cursor.C (dispatch): adjust for operator dispatch_result_t
1586 removal. comment out call to update
1588 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1590 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1598 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1601 * dispatchresult.h: new file, DispatchResult broken out of
1604 * Makefile.am (lyx_SOURCES): add dispatchresult.h
1606 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1608 * text.C (rowBreakPoint): put a hack inside #if 0
1610 2003-10-28 André Pönitz <poenitz@gmx.net>
1614 * paragraph_funcs.C:
1617 * text2.C: general cleanup (lots of small stuff)
1619 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1621 * text2.C (cursorEnd): simple fix to the "end key goes to one
1622 before the end on last row" bug
1624 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1626 * text.C (backspace): fix the "zombie characters"
1628 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1630 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1632 2003-10-27 André Pönitz <poenitz@gmx.net>
1634 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1636 * factory.C: handle new InsetPagebreak, InsetLine
1638 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1639 and move handling into new InsetPagebreak, InsetLine
1641 * BufferView_pimpl.C:
1643 * ParagraphParameters.C:
1644 * ParameterStruct.h:
1649 * paragraph_funcs.C:
1650 * paragraph_pimpl.C:
1656 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1659 * lyxrow_funcs.[Ch]:
1665 * text3.C: remove lastPos uses in favour of Row::endpos
1667 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1669 * undo.C (performUndoOrRedo): fix two crashes by setting a
1670 cursor by hand and reordering some calls. Use bv->lockInset instead
1671 of inset->edit because the latter loses cursor information
1673 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
1675 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1677 (rowBreakPoint): fix width. change point to point + 1.
1678 Add a missing check.
1680 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
1683 * lyxfunc.C: fix (at least partly) the problems
1684 with the Nav menu and headers inside branch insets
1687 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
1689 * paragraph.C (getChar): add strong asserts
1691 * lyxrow_funcs.C (lastPos): remove hideous hack
1693 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1694 (fill): adjust to that (avoid an infinite loop)
1696 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1698 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1700 2003-10-23 André Pönitz <poenitz@gmx.net>
1702 * RowList_fwd.h: change list<> to vector<> to gain speed
1703 after suggestion from Alfredo
1705 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1707 * lyxtext.h: move the bidi stuff from here...
1710 * Bidi.[Ch]: ... to here
1712 2003-10-23 André Pönitz <poenitz@gmx.net>
1715 * text.C (isLastRow, isFirstRow): new functions
1717 * paragraph.h: new width cache member
1719 * rowpainter.C: replace RowList::iterator with Row & where possible
1721 * lyxfunc.C: replace several view()->text with a single call
1723 * toc.C: fix 'unused' warning
1725 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1727 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1728 when woring with stream::pos_type
1729 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1731 2003-10-22 André Pönitz <poenitz@gmx.net>
1734 * text.C: use Row & instead of RowList::iterator
1736 * lyxrow.h: rename end() to endpos()
1742 2003-10-22 Angus Leeming <leeming@lyx.org>
1744 * buffer.[Ch] (fully_loaded): new member function, returning true
1745 only when the file has been loaded fully.
1746 Used to prevent the premature generation of previews and by the
1747 citation inset to prevent computation of the natbib-style label.
1749 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1750 templates are all set up.
1752 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1754 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
1756 * text.C: fixed an "oops" in the "is a bit silly"
1759 2003-10-21 André Pönitz <poenitz@gmx.net>
1761 * FuncStatus.[Ch]: small stuff, whitespace
1763 * lyxfont.[Ch]: operator<<() for debug reasons
1767 * lyxtext.h: whitespace, spelling
1769 * paragraph.C: naming of variables
1772 * text2.C: small stuff
1775 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1777 * text.C: (1) finish off the inset display() work;
1778 (2) fix the "is a bit silly" bug (accessing char
1781 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1783 * text.C: re-introduce display() for insets, fixing the
1784 various bugs (stretch of line above, math inset
1787 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1789 * text.C (rightMargin): remove spurious semicolon
1791 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1794 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
1796 * text3.C: fix one crash due to wrong cursor def
1798 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1800 * vc-backend.C (scanMaster): make the regex static
1802 * LaTeX.C (scanAuxFile): make the regexs static
1804 * text3.C (doInsertInset, dispatch, dispatch):
1805 * text2.C (cursorUp, cursorDown):
1806 * text.C (selectNextWordToSpellcheck):
1807 * BufferView_pimpl.C (dispatch):
1808 * lyxfunc.C (dispatch): localDispatch -> dispatch
1810 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1812 * lyxsocket.C: include <cerrno>
1814 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1816 * lyxfunc.C (dispatch): remove textcache stuff
1818 * bufferlist.C (release): remove textcache stuff
1821 * TextCache.C: delete file
1822 * TextCache.h: delete file
1824 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1826 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1827 delete of the bv_->text.
1828 (resizeCurrentBuffer): remove texcache stuff
1829 (workAreaResize): ditto
1831 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1833 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1836 2003-10-16 André Pönitz <poenitz@gmx.net>
1843 * text3.C: speed up by storing y positions per paragraph plus per-row
1844 offset instead of having a 'full' y position in the row.
1846 2003-10-15 André Pönitz <poenitz@gmx.net>
1850 * undo.[Ch]: make undo aware of inner insets
1852 2003-10-14 Angus Leeming <leeming@lyx.org>
1854 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1855 static member functions LyX::ref() and LyX::cref.
1856 (lastfiles): new accessor functions for the new lastfiles_ member var.
1857 (addLyXView, views_): add a new LyXView to the list of views_.
1858 (updateInset): loop over all LyXViews to call their own updateInset
1859 member function, returning a pointer to the Buffer owning the inset.
1861 * BufferView_pimpl.C (loadLyXFile):
1862 * MenuBackend.C (expandLastfiles):
1863 * bufferlist.C (MenuWrite, QuitLyX):
1864 lastfiles is no longer a global variable.
1865 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1867 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1868 static function. Access through LyX::cref().emergencyCleanup().
1870 2003-10-14 André Pönitz <poenitz@gmx.net>
1872 * iterators.[Ch]: new direct access to innermost LyXText and Inset
1874 * undo.[Ch]: restoring part of 'undo in insets'
1877 * undo_funcs.[Ch]: merge with undo.[Ch]
1879 * tabular.C: small cleansing stuff
1881 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
1883 * paragraph_funcs.C (readParToken): report unknown insets as error
1884 boxes. Use the outer paragraph as location (also for unknown
1887 * factory.C (readInset): do not abort on reading an unknown inset.
1888 Eat it and return 0.
1890 2003-10-13 Angus Leeming <leeming@lyx.org>
1892 * lyx_main.C (LyX): remove call to setDisplayTranslator().
1894 * lyxrc.C: displayTranslator is now a function,
1895 declared in GraphicsTypes.h.
1897 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1899 * format.C: new placeholder $$a to pass the socket address.
1901 * bufferlist.[Ch]: new function getBufferFromTmp.
1903 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1904 files in the temporary dir.
1906 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1908 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1910 * Makefile.am: add lyxsocket.[Ch].
1912 * lyx_main.C (error_handler): handle SIGPIPE.
1914 2003-10-13 André Pönitz <poenitz@gmx.net>
1916 * BufferView_pimpl.C:
1921 * undo_funcs.[Ch]: use paroffset_type instead of
1922 ParagraphList::iterators to prevent multiple conversion
1923 (and get a more robust interface)
1925 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1927 * lyxfunc.C (dispatch): RESULT -> dispatch_result
1929 * text3.C (dispatch): ditto
1931 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1933 * LaTeX.C (handleFoundFile): move the static to smaller scope,
1934 move the onlyfile, use onlyfile instead of foundfile in a couple
1937 * DepTable.C (update): flush the error stream a bit more
1939 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1941 * lyxserver.C (callback): adjust
1943 * lyxfunc.C (getStatus): add a missing brace in commented code
1944 (ensureBufferClean): reindent
1945 (dispatch): delete version taking a string
1947 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1949 * LaTeX.C (deplog): move found file handlig from here...
1950 (handleFoundFile): .. to new function here.
1951 (deplog): make sure to discover several files mentioned on the
1954 2003-10-10 André Pönitz <poenitz@gmx.net>
1961 * text3.C: fix some of the tabular crashes
1963 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1965 * MenuBackend.C (binding): put debug message into Debug::KBMAP
1967 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1969 2003-10-09 André Pönitz <poenitz@gmx.net>
1971 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1974 * BufferView_pimpl.C:
1975 * bufferview_funcs.C:
1986 * undo_funcs.C: adjust
1988 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1990 * text2.C (incrementItemDepth): new function, use a backtracking
1991 algorithm to discover the correct item depth.
1992 (resetEnumCounterIfNeeded): new function, use a backtracking
1993 algorithm to discover if counter reset is needed.
1994 (setCounter): use them. Simplify a bit. Add different labels for
1995 different item depths for itemize.
1997 * paragraph.C (Paragraph): remove initialization of enumdepth
2000 * paragraph.h: get rid of enumdepth, and use itemdepth both for
2001 enumerate and itemize. Change the type of itemdepth to signed char.
2003 2003-10-08 André Pönitz <poenitz@gmx.net>
2005 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2010 * tabular.[Ch]: fix crash after 'row-insert'
2012 2003-10-08 Angus Leeming <leeming@lyx.org>
2014 Fix doxygen warnings.
2016 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2017 Remove CutAndPaste:: prefix from header file declaration.
2019 * LColor.h (fill): remove LColor:: prefix from declaration.
2021 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2022 use lyx::depth_type rather than Paragraph::depth_type so that
2023 header file and .C file match.
2025 * converter.h (intToFormat): remove Converters:: prefix from declaration.
2027 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2028 * aspell.C: \file aspell_local.C -> \file aspell.C
2029 * gettext.C: \file gettext.C -> \file src/gettext.C
2030 * gettext.h: \file gettext.h -> \file src/gettext.h
2031 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2032 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2033 * text.C: \file text.C -> \file src/text.C
2035 * toc.C: move comment so that doxygen is not confused.
2037 2003-10-07 Angus Leeming <leeming@lyx.org>
2039 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2041 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2044 * aspell_local.h: add forgotten std::string's.
2046 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2053 * text3.C: The Box patch. Fancybox support, minipage, parbox
2055 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2061 * ParagraphParameters.h:
2071 * lyxtextclasslist.h:
2074 * paragraph_pimpl.C:
2075 * textcursor.h: add <string> and other small fixes to make Lars'
2076 std::string patch compile with STLport.
2078 2003-10-06 Angus Leeming <leeming@lyx.org>
2080 * LColor.h: Add missing #include <string>.
2082 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2084 * All most all file in all subdirs: Make <string> be the prefered
2085 way of getting to std::string, add using declarations.
2087 2003-10-06 André Pönitz <poenitz@gmx.net>
2089 * metricsinfo.C: initialize LyXFont before changing attribute.
2090 (fixes the 'math in \emph is upright' bug)
2092 2003-10-06 André Pönitz <poenitz@gmx.net>
2094 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2096 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
2099 * paragraph_pimpl.C: Small fixes to build using STLport
2101 2003-10-02 André Pönitz <poenitz@gmx.net>
2104 * text3.C: move handling of LFUN_DEPTH *; fix #1360
2106 2003-10-01 André Pönitz <poenitz@gmx.net>
2108 * factory.C: assert early
2110 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2112 * lyx_main.C: remove the global debug object
2114 * debug.h: adjust for new debugstream
2116 * debug.C: adjust for new debugstream and keep the global debug
2119 2003-09-22 Angus Leeming <leeming@lyx.org>
2121 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2122 of g++ which otherwise complain that the scoped_ptr destructor can't delete
2123 an incomplete class LyXFont.
2125 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2127 * factory.C: bug fix in branches
2129 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2131 * lyxfunc.C (processKeySym): adjust
2133 (dispatch): change arg name from ev to func, adjust
2134 (sendDispatchMessage): ditto
2136 * lyx_main.C (defaultKeyBindings): adjust keybindings
2137 (deadKeyBindings): ditto
2139 * kbsequence.C (addkey): return a FuncRequest
2141 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2143 * kbmap.C (bind): take a FuncRequest as arg, adjust
2146 (defkey): change to take a FuncRequest as arg, adjust
2147 (findbinding): take a FuncRequest as arg, adjust.
2149 * funcrequest.h (operator=): added
2151 * funcrequest.C (FuncRequest): default kb_action changed from
2152 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2154 * buffer.C (dispatch): simplify
2155 (dispatch): adjust to take a FuncRequest as arg, adjust
2157 * boost.C (assertion_failed): change assertion message slightly
2159 * ToolbarBackend.C (read): simplify
2161 * MenuBackend.C (binding): adjust call to findbinding, add a
2162 message if no binding is found.
2164 (expandToc): correct by adding a empty FuncRequest
2166 * LyXAction.C: include <boost/assert.hpp>
2167 (isPseudoAction): delete function
2168 (LookupFunc): change name to...
2169 (lookupFunc): this. change return type to FuncRequest.
2170 (getActionName): take kb_action as arg, simplify
2171 (funcHasFlag): add an assert, simplify.
2173 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2175 * toc.C (action): return a FuncRequest, simplify
2177 * lyxfunc.C (processKeySym): adjust
2178 (getStatus): delete version that takes an int.
2180 (dispatch): delete version that takes action as int
2182 (sendDispatchMessage): simplify and adjust
2184 * funcrequest.C (getArg): take unsigned int as arg
2186 * ToolbarBackend.C (read): adjust
2187 (add): delete version that takes func as a string.
2188 (getIton): take a FuncRequest as arg
2190 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2193 * MenuBackend.C (MenuItem): add a new construct that only takes a
2194 Kind, simplify the constructor use for submenus.
2196 (expandLastfiles): adjust
2197 (expandDocuments): adjust
2198 (expandFormats): adjust
2199 (expandFloatListInsert): adjust
2200 (expandFloatInsert): adjust
2201 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2203 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2204 Remove class variables lyx_pseudo_map and lyx_arg_map
2206 * LyXAction.C (searchActionArg): delete function
2207 (getPseudoAction): delete function
2208 (retrieveActionArg): delete function
2209 (LookupFunc): make it return kb_action, simplify.
2210 (getActionName): simplify
2212 * factory.C (createInset): fix new bug
2214 2003-09-19 Angus Leeming <leeming@lyx.org>
2216 * CutAndPaste.C (pasteSelection): remove fudge used to set the
2217 masterFilename_ parameter in the include inset.
2219 * factory.C (createInset): changes due to the changes to InsetInclude.
2221 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2223 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2225 2003-09-18 Angus Leeming <leeming@lyx.org>
2228 * BufferView.C: pass the buffer when calling Inset::getLabelList,
2229 Inset::fillWithBibKeys.
2230 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2232 2003-09-18 Angus Leeming <leeming@lyx.org>
2234 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2236 (ctor): pass and store a 'Buffer const &'
2237 (buffer): new member function.
2239 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2240 '*this' to the LaTeXFeatures ctor.
2242 2003-09-18 Angus Leeming <leeming@lyx.org>
2248 * text.C: rename EnumLColor as LColor_color.
2250 2003-09-18 Angus Leeming <leeming@lyx.org>
2252 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2253 remove #include "insets/insetbase.h" from cursor.h.
2255 2003-09-18 Angus Leeming <leeming@lyx.org>
2257 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2258 InsetOld_code to remove #include "inset.h".
2260 * iterators.C: add #include "insets/inset.h"
2262 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
2264 * BufferView.C: remove more locking stuff that apparently doesn't
2265 do anything sensible.
2267 2003-09-16 André Pönitz <poenitz@gmx.net>
2270 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2273 2003-09-16 Angus Leeming <leeming@lyx.org>
2275 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2277 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2280 * paragraph.h: remove #include "lyxfont.h". Forward declare
2283 2003-09-16 Angus Leeming <leeming@lyx.org>
2285 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2286 of support/textutils.h.
2287 (isWord): move the contents of support/textutils.h's IsWordChar here.
2293 * text2.C: add #include "paragraph.h".
2296 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2298 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2304 * LaTeX.C: use namespace alias for lyx::support::os
2306 2003-09-16 Angus Leeming <leeming@lyx.org>
2309 * bufferview_funcs.C:
2312 * paragraph_pimpl.C:
2314 * text.C: add #include "LColor.h".
2316 2003-09-16 Angus Leeming <leeming@lyx.org>
2318 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2319 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2321 Store the FontBits::color variable as an int rather than as an
2322 LColor::colorso that we can move LColor.h out of the lyxfont.h header
2325 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2326 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2327 string calls together.
2329 * lyxrc.C: add #include "LColor.h".
2331 2003-09-15 Angus Leeming <leeming@lyx.org>
2333 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2336 2003-09-15 Angus Leeming <leeming@lyx.org>
2338 * LColor.h: add an EnumLColor wrapper for LColor::color.
2340 * lyxfont.[Ch] (color, setColor, realColor):
2341 * lyxtext.h, text.C (backgroundColor):
2342 pass EnumLColor args to/from the functions, rather than LColor::color
2346 * lyxtext.h: forward declare EnumLColor.
2348 * lyx_main.C: add #include "LColor.h".
2350 2003-09-15 Angus Leeming <leeming@lyx.org>
2352 * .cvsignore: add lyx-gtk.
2354 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2359 * ParagraphParameters.C
2363 * bufferview_funcs.C
2373 * vc-backend.C: remove usage of STRCONV
2375 2003-09-15 Angus Leeming <leeming@lyx.org>
2377 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2378 explicitly define the color passed to the painter.
2380 2003-09-15 Angus Leeming <leeming@lyx.org>
2382 * bufferparams.C (BufferParams): reorder member initializers to avoid
2385 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
2387 * CutAndPaste.C (pasteSelection): remove an outdated #warning
2388 * text.C (updateRowPositions): remove an unusual nop
2390 2003-09-12 André Pönitz <poenitz@gmx.net>
2392 * BufferView_pimpl.C:
2401 * Counters.[Ch]: finish the 'automatic counters' job
2403 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2405 * aspell.C: include <boost/assert.cpp> (compile fix)
2407 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
2409 * boost.C (assertion_failed): use lyx::support::abort instead of
2412 2003-09-10 Angus Leeming <leeming@lyx.org>
2414 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2415 with their _fwd progeny.
2417 2003-09-09 Angus Leeming <leeming@lyx.org>
2419 134 files throughtout the source tree: replace 'using namespace abc;'
2420 directives with the appropriate 'using abc::xyz;' declarations.
2422 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2424 * boost.C (emergencyCleanup): moved here from LAssert.c
2425 (assertion_failed): new function, called by BOOST_ASSERT
2427 * several files: change Assert to BOOST_ASSERT
2429 2003-09-09 Angus Leeming <leeming@lyx.org>
2431 * buffer.[Ch]: Add an Impl class and move Buffer's member
2432 variables into it. As a result move several header files out of
2435 Add header files to lots of .C files all over the tree as a result.
2437 2003-09-09 Angus Leeming <leeming@lyx.org>
2439 * buffer.[Ch]: make Buffer's member variables private. Add
2442 Lots of changes all over the tree as a result.
2444 2003-09-08 Angus Leeming <leeming@lyx.org>
2446 * graph.C: #include <config.h>.
2448 2003-09-08 Angus Leeming <leeming@lyx.org>
2452 * BufferView_pimpl.C:
2481 * toc.C: remove redundant using directives.
2483 2003-09-07 Angus Leeming <leeming@lyx.org>
2485 * LaTeXFeatures.h: remove #include "support/types.h".
2486 * ToolbarBackend.h: remove #include <algorithm>.
2487 * changes.h: remove #include <ctime>.
2488 * debug.h: remove #include <iosfwd>.
2489 * graph.h: remove #include "support/std_string.h".
2490 * lyx_main.h: remove #include <csignal>.
2491 * lyxlex_pimpl.h: remove #include <fstream>.
2492 * sgml.h: remove #include <algorithm>, <utility>.
2493 * toc.h: remove #include "support/std_ostream.h".
2494 Add #include <iosfwd>.
2496 2003-09-07 Angus Leeming <leeming@lyx.org>
2498 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2500 * converter.h: forward declare LatexRunParams.
2501 * encoding.h: remove #include "lyxrc.h".
2502 * lyxtext.h: remove #include "LColor.h".
2503 * lyxtextclass.h: remove #include "support/types.h".
2504 * trans.h: remove #include "tex-accent.h".
2505 * trans_mgr.h: remove #include "tex-accent.h".
2506 * insets/inset.h: remove #include "support/types.h", <vector>.
2507 * insets/insetcollapsable.h: remove #include "LColor.h".
2508 * insets/insetinclude.h: remove #include "dimension.h".
2509 * insets/insetlatexaccent.h: remove #include "dimension.h".
2510 * insets/insetoptarg.h:: remove #include "insettext.h".
2511 * insets/insettext.h: remove #include "dimension.h",
2512 <boost/shared_ptr.hpp>
2514 * insets/renderers.h: add #include "dimension.h".
2515 * insets/updatableinset.h: add #include "support/types.h".
2517 * many .C files: Associated changes.
2519 2003-09-06 Angus Leeming <leeming@lyx.org>
2521 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2522 one, inside testInvariant.
2524 * PrinterParams.C: new file.
2525 * PrinterParams.[Ch]: move the function bodies out of line.
2527 2003-09-06 Angus Leeming <leeming@lyx.org>
2529 * ParagraphParameters.h: forward declare ParameterStruct rather than
2530 including its header file.
2531 (depth): moved out-of-line.
2533 2003-09-06 Angus Leeming <leeming@lyx.org>
2535 * BufferView_pimpl.h:
2538 * lyxfunc.h: forward declare LyXKeySym rather than
2539 #include "frontends/LyXKeySym.h".
2541 * BufferView_pimpl.C:
2544 * lyxfunc.C: associated changes.
2546 2003-09-06 Angus Leeming <leeming@lyx.org>
2548 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2549 As a result, can remove the #include "insets/inset.h" from BufferView.h
2551 2003-09-06 Angus Leeming <leeming@lyx.org>
2553 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2554 As a result, can remove the #include "insets/inset.h" from BufferView.h
2556 2003-09-06 Angus Leeming <leeming@lyx.org>
2562 * bufferview_funcs.C:
2563 * BufferView_pimpl.C:
2568 * ParagraphParameters.C:
2573 * frontends/controllers/ControlDocument.C:
2574 * insets/insetcaption.C: rearrange the #includes into some sort of
2577 * buffer.h: remove #includes ErrorList.h, undo.h
2579 2003-09-06 Angus Leeming <leeming@lyx.org>
2581 * support/types.h: add a 'depth_type' typedef, used to store the
2582 nesting depth of a paragraph.
2585 * ParameterStruct.h: use this lyx::depth_type typedef rather than
2586 defining explicitly.
2589 * paragraph_funcs.h:
2590 * ParagraphParameters.h:
2591 * sgml.h: use lyx::depth_type rather than Paragraph or
2592 ParameterStruct's depth_type.
2595 * paragraph_funcs.h: no need to #include paragraph.h anymore.
2598 * BufferView_pimpl.C:
2600 * ParagraphParameters.C:
2603 * bufferview_funcs.C:
2610 * frontends/LyXView.C:
2611 * frontends/controllers/ControlDocument.C:
2612 * frontends/controllers/ControlErrorList.C:
2613 * insets/insetbibitem.C:
2614 * insets/insetbranch.C:
2615 * insets/insetcaption.C:
2616 * insets/insetcollapsable.C:
2617 * insets/insetenv.C:
2618 * insets/insetert.C:
2619 * insets/insetfloat.C:
2620 * insets/insetfoot.C:
2621 * insets/insetfootlike.C:
2622 * insets/insetnewline.C:
2623 * insets/insetquotes.C:
2624 * insets/insettabular.C:
2625 * insets/insettext.C:
2626 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2628 * frontends/controllers/ControlChanges.C: #include "changes.h".
2630 2003-09-06 Angus Leeming <leeming@lyx.org>
2632 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2633 than #including paragraph.h.
2636 * RowList.h: deleted. Superfluous.
2646 * insets/insettext.h: use ParagraphList_fwd.h rather than
2649 * paragraph.h: don't forward declare ParagraphList.
2652 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2653 rather than ParagraphList.h. paragraph.h is still needed for the
2654 Paragraph::depth_type parameters.
2656 * textcursor.h: enable it to compile stand-alone in light of the
2659 * bufferview_funcs.C:
2671 * frontends/controllers/ControlParagraph.C:
2672 * frontends/controllers/ControlTabular.C:
2673 * insets/insetmarginal.C:
2674 * insets/insetminipage.C:
2675 * insets/insetnote.C:
2676 * insets/insetoptarg.C: add header files needed to compile again.
2678 2003-09-06 Angus Leeming <leeming@lyx.org>
2680 * RowList_fwd.h: new file, forward-declaring Row rather than
2681 #including lyxrow.h.
2686 * insets/insettext.h: use it instead of RowList.h
2688 * bufferview_funcs.C:
2695 * text3.C: #include "RowList.h".
2697 2003-09-05 Angus Leeming <leeming@lyx.org>
2699 * factory.C (createInset):
2700 * vspace.C (c-tor): replace sscanf call with an istringstream.
2701 * ispell.C: re-add missing HP/UX headers.
2702 * lyxserver.C: re-add missing os2 headers.
2704 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
2713 * text3.C: re-add missing system headers, needed for 2.95.2.
2715 2003-09-05 Angus Leeming <leeming@lyx.org>
2717 Changes most place everywhere due to the removal of using directives
2718 from support/std_sstream.h.
2720 2003-09-05 Angus Leeming <leeming@lyx.org>
2722 Replace LString.h with support/std_string.h,
2723 Lsstream.h with support/std_sstream.h,
2724 support/LIstream.h with support/std_istream.h,
2725 support/LOstream.h with support/std_ostream.h.
2727 Changes resulting throughout the tree.
2729 2003-09-05 Angus Leeming <leeming@lyx.org>
2731 * sgml.h: ensure that the header file can be compiled stand-alone.
2732 * *.C: strip out redundant #includes. (320 in total.)
2734 2003-09-04 Angus Leeming <leeming@lyx.org>
2736 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2737 here (from getPackages).
2739 * debug.[Ch]: add a new EXTERNAL tag.
2741 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2743 * text2.C (cursorEnd): simplify
2745 (getColumnNearX): adjust
2747 * text.C (computeBidiTables): adjust
2750 * rowpainter.C (paintChars): adjust
2751 (paintSelection): adjust
2752 (paintChangeBar): adjust
2755 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2757 (numberOfSeparators): adjust
2759 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2765 * text3.C: Restricts the mouse click functionality
2766 of insets like bibtex, include, toc and floatlist to the visible
2767 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2768 up the dialogs. Cursor has to be in front of the inset (i.e.
2769 start of row) for this to function.
2771 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2773 * bufferview_funcs.C (currentState): output row information
2775 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2777 * bufferview_funcs.C (currentState): output paragraph position
2779 2003-09-04 Angus Leeming <leeming@lyx.org>
2781 * FloatList.h: move out #include "Floating.h".
2782 * LaTeX.h: move out #include "DepTable.h".
2783 * LyXAction.h: move out #include "funcrequest.h".
2784 * buffer.h: move out #include "author.h", "iterators.h".
2785 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2786 * lyx_main.h: move out #include "errorlist.h".
2787 * lyxfunc.h: move out #include "FuncStatus.h".
2788 * lyxtext: move out #include "lyxcursor.h".
2789 * paragraph_pimpl.h: move out #include "counters.h".
2791 2003-09-03 Angus Leeming <leeming@lyx.org>
2793 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2794 preamble_snippets list, enabling us to add snippets to the preamble
2795 only if the snippet was not there already.
2797 2003-09-04 Angus Leeming <leeming@lyx.org>
2799 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2801 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2803 * lyxfunc.C (dispatch): if fitCursor did something be sure to
2806 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2808 * BranchList.C: point fix, earlier forgotten
2810 2003-09-02 Angus Leeming <leeming@lyx.org>
2812 * box.C (contains): renamed from 'contained' after a fantastic
2815 2003-09-02 John Levon <levon@movementarian.org>
2821 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2823 2003-09-02 John Levon <levon@movementarian.org>
2825 * text2.C: simplification of cursorEnd(), including partial
2828 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2830 * buffer.C (readFile): add a space
2832 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
2834 * BufferView_pimpl.C (update): remove bogus fitCursor() call
2836 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2838 * buffer.C (readFile): new function, take a filename and a
2839 ParagraphList::iterator
2841 (readFile): adjust, make it private. don't use setStream, make
2842 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2843 always contain the filename.
2845 * BufferView.C (insertLyXFile): simplify and make it work for
2848 2003-08-30 John Levon <levon@movementarian.org>
2850 * Makefile.am: fix dist (from Kayvan)
2852 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2854 * most files: change to use const Buffer refs
2856 2003-08-27 André Pönitz <poenitz@gmx.net>
2858 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2859 on top of ownerPar().
2861 2003-08-27 John Levon <levon@movementarian.org>
2863 * funcrequest.C: properly initialise POD members
2865 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2867 * lyxtext.h (top_y): move top_y from here
2872 * BufferView_pimpl.[Ch]: to here
2873 * frontends/screen.C:
2874 * insets/insettabular.C:
2875 * insets/insettext.C: adjust
2876 * rowpainter.[Ch] (paintRows): remove LyXText & argument
2878 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2881 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2883 2003-08-26 André Pönitz <poenitz@gmx.net>
2885 * paragraph_func.[Ch] (outerPar): new function
2888 * paragraph_funcs.C:
2889 * paragraph_funcs.h:
2890 * paragraph_pimpl.C:
2891 * text2.C: remove Inset::par_owner
2893 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2898 * text2.C: eliminates the needFullRow/display() stuff
2899 altogether, putting the logic in metrics/draw in the insets.
2901 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
2903 * text2.C (redoParagraphInternal, redoParagraphs):
2904 * text.C (redoParagraph): add a call to updateRowPositions at the
2905 end of each 'metrics-like' call. Remove all others.
2906 (getRow): remove the 'y-computing' version.
2907 (getRowNearY): do not compute nor return the real y. Solve the
2908 'y < 0' problem and simplify.
2910 2003-08-22 Angus Leeming <leeming@lyx.org>
2912 * *.[Ch]: clean-up of licence and author blurbs.
2913 Also move config.h out of a few .h files and into a few .C files.
2915 2003-08-22 André Pönitz <poenitz@gmx.net>
2917 * lyxrow.[Ch]: add x_ and *fill_ members
2922 * text2.C: adjust/remove prepareToPrint() calls
2924 2003-08-22 André Pönitz <poenitz@gmx.net>
2926 * lyxrow.[Ch]: add end_ member
2928 * lyxrow_funcs.C: use LyXRow::end_
2930 * lyxtext.h (singleWidth): add LyXFont parameter
2933 * text2.C: adjust LyXText::singleWidth() calls
2935 * text.C (redoParagraph): simplify row breaking logic
2938 2003-08-19 André Pönitz <poenitz@gmx.net>
2940 * funcrequest.C: initialize button_ member
2943 * rowpainter.[Ch]: interface consolidation
2945 2003-08-18 André Pönitz <poenitz@gmx.net>
2948 * BufferView_pimpl.C:
2950 * paragraph_funcs.C:
2952 * text3.C: remove LyXScreen::draw() and fitCursor calls
2954 * BranchList.h: remove spurious semicolons
2956 * MenuBackend.C: fix branchlist related crash
2958 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2966 * bufferparams.[Ch]:
2970 * text3.C: implements the 'branch inset'
2971 idea. This allows the output of various versions of a document
2972 from a single source version, selectively outputing or suppressing
2973 output of parts of the text.
2974 This implementation contains a 'branch list editor' in a separate
2975 tab of the document settings dialog. Branches are user definable
2976 and have a "display colour" to distinguish them on-screen.
2978 ColorHandler was somewhat cleaned up.
2979 (1) make possible a dynamically growing LColor list by allowing
2980 the graphic context cache to grow along (vector);
2981 (2) eliminate an IMHO unnecessary step in colour allocation.
2983 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
2985 * BufferView_pimpl.C: compile fix
2987 2003-08-15 André Pönitz <poenitz@gmx.net>
2989 * rowpainter.C: remove extra metrics calls
2991 * lyxtext.h: merge the two constructors into a single one,
2992 pass reference to owner's par list
2994 * BufferView_pimpl.C:
2998 2003-08-15 André Pönitz <poenitz@gmx.net>
3000 * lyxrow_funcs.[Ch]:
3003 * paragraph_funcs.C:
3008 * text_funcs.C: split LyXText::rowlist_ into individual
3009 Paragraph::rows_ chunks
3012 * BufferView_pimpl.[Ch]:
3015 * text3.C: remove toggleSelection()
3017 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
3019 * bufferlist.C: beautify two alerts (shorter text of buttons)
3020 * buffer.C: Remove redundant ' ' from message
3022 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3023 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3024 rename VALIGN_CENTER to VALIGN_MIDDLE
3026 2003-08-11 André Pönitz <poenitz@gmx.net>
3028 * lyxtext.h (getPar):
3029 * text.C: new function
3031 2003-08-11 André Pönitz <poenitz@gmx.net>
3034 * tracer.[Ch]: remove unneeded files
3036 * InsetList.[Ch]: remove resizeInsetsLyXText()
3041 * text3.C: merge insertParagraphs() and appendParagraph()
3042 remove breakAgain(), update()
3044 * BufferView_pimpl.[Ch]:
3045 * bufferview_funcs.[Ch]:
3049 * tabular.C: adjust after text & InsetList changes.
3051 2003-08-08 André Pönitz <poenitz@gmx.net>
3053 * text.C (insertChar, backspace): replace rowlist fiddling
3054 with rebreak of full par
3057 * text.C (breakAgainOneRow, redoHeightOfParagraph,
3058 checkParagraph, updateInset): removed
3060 2003-08-07 André Pönitz <poenitz@gmx.net>
3063 * text3.C: merge some LFUN handlers, remove dead code
3065 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3067 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3069 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
3071 * text2.C (DEPM): fix part of bug 1255 and 1256
3073 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3075 * BufferView_pimpl.C (workAreaDispatch): change to use
3076 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3077 that are no mouse related.
3079 2003-08-05 André Pönitz <poenitz@gmx.net>
3082 * BufferView_pimpl.[Ch]:
3083 * bufferview_funcs.C:
3085 * text3.C: rip out "deep update"
3087 * textcursor.[Ch] (last_sel_cursor): remove unused member
3089 2003-08-04 André Pönitz <poenitz@gmx.net>
3092 * BufferView_pimpl.[Ch]:
3093 * ParagraphParameters.C:
3094 * bufferview_funcs.C:
3100 * text3.C: replace "complicated" BufferView::update(...) calls with
3103 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3105 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
3107 * Makefile.am (lyx_SOURCES): add paper.h
3109 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3111 * Makefile.am: move things around so that both lyx-qt and
3112 lyx-xforms can be built (according to --with-frontend). Then lyx
3113 is a symbolic link to lyx-[firstfrontend]
3115 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
3117 * Always use std::endl with lyxerr
3119 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
3121 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3123 2003-08-01 André Pönitz <poenitz@gmx.net>
3126 * BufferView_pimpl.[Ch]:
3128 * text3.C: merge BufferView::repaint() and BufferView::update()
3130 2003-08-01 José Matos <jamatos@lyx.org>
3132 * buffer.[Ch]: file_format is no longer a buffer data element.
3134 2003-08-01 André Pönitz <poenitz@gmx.net>
3139 * text2.C: make redoParagraph more independent of current cursor
3141 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3143 * text2.C: remove unneeded members
3145 2003-07-30 André Pönitz <poenitz@gmx.net>
3147 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3149 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3150 create a single function...
3152 * paragraph_funcs.C (moveItem): ... here.
3155 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3157 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3159 * LColor.[Ch]: Add comment and greyedout logical colors.
3161 2003-07-30 André Pönitz <poenitz@gmx.net>
3163 * tabular.C: don't use Assert too heavily. This crashes where it
3166 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
3168 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3169 is disabled (bug 1232)
3171 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3173 * factory.C: limited 'arg' scope
3175 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3177 * factory.C: fixed Note submenu issues
3179 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3181 * factory.C: submenu for Note/Comment/Greyedout
3183 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
3186 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3188 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
3191 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3192 greyedout. Patch provided by Jürgen Spitzmüller.
3194 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3196 * kbmap.C (read): fix error message when reading bind files
3198 2003-07-29 Angus Leeming <leeming@lyx.org>
3200 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3201 certainly does not do what it purports to do. I am doing it, and
3202 us, a favour by killing it.
3204 2003-07-28 José Matos <jamatos@lyx.org>
3206 * buffer.C (readBody, do_writeFile):
3207 * paragraph.C(readParagraph): \end_document replaces \the_end.
3209 2003-07-29 André Pönitz <poenitz@gmx.net>
3212 * BufferView_pimpl.[Ch]:
3216 * textcursor.[Ch]: remove toggleToggle & Co
3218 2003-07-28 José Matos <jamatos@fep.up.pt>
3220 * buffer.C (readParagraph):
3221 * params_func (readParToken, readParagraph):
3222 * paragraph.C (write): \layout -> \begin_layout.
3224 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3226 * lyxlex_pimpl.C (setFile): clean up slightly.
3228 * bufferparams.h: add compressed var
3230 * buffer_funcs.C (readFile): adjust for LyXLex change
3231 (newFile): ditto + simplify
3233 * buffer.C (writeFile): handle writing of compressed files
3235 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3236 Check if the file is compressed and set a bufferparm if so.
3238 * Makefile.am (lyx_LDADD): remove explicit -lz
3240 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3242 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3243 makeDocBookFile): put the real LyX version in the first line of
3247 * version.C.in: remove lyx_docversion
3249 * tabular.C (write_attribute): add a template-based version to
3250 write enums properly
3252 2003-07-28 André Pönitz <poenitz@gmx.net>
3257 * text3.C: use doubles again for x-coordinates. They are needed.
3259 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3261 * messages.C (getLocaleDir): use lyx_localedir()
3263 * lyxlex_pimpl.C (setFile): compress stuff
3265 * buffer.C (writeFile): add some compression stuff
3266 (do_writeFile): new func, dont call expliti close... will this
3269 * Makefile.am (lyx_LDADD): add -lz
3271 2003-07-28 José Matos <jamatos@fep.up.pt>
3273 * buffer.C: increment file format.
3274 * paragraph_funcs (readParagraph, readParToken):
3275 * paragraph.C (readParagraph): add \end_layout.
3277 2003-07-27 Angus Leeming <leeming@lyx.org>
3279 * Makefile.am: remove special casing for configure-time setting of
3280 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3282 * lyx_main.C (init): remove all Jean-Marc's magic setting of
3283 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3285 2003-07-26 André Pönitz <poenitz@gmx.net>
3287 * paragraph_func.[Ch]:
3288 * paragraph.C (realizeFont): inline it whereever it is used
3293 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3296 2003-07-26 André Pönitz <poenitz@gmx.net>
3300 * text2.C: get rid of LyXText::need_break_row
3302 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3304 * toc.[Ch]: put namespace toc inside namespace lyx
3306 * MenuBackend.C (expandToc2): adjust for lyx::toc
3309 * lyxfunc.C (dispatch): adjust for lyx::find
3311 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3312 lyx::find instead. Reorganize a bit.
3313 (LyXReplace): rename to replace
3314 (LyXFind): rename to find
3316 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3319 2003-07-26 André Pönitz <poenitz@gmx.net>
3321 * text.C (setHeightOfRow): restrict scope of temporary variable
3323 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
3324 code (never has been used?)
3326 2003-07-27 Asger Alstrup <alstrup@local>
3328 * text.C (fill): Optimise algorithm to exploit that we can reuse
3329 the LyXFont for many characters.
3330 (setHeightOfRow): Same thing.
3331 (rowBreakPoint): Same thing.
3333 2003-07-26 Asger Alstrup <alstrup@local>
3335 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3337 * text.C (singleWidth): Spurious font copying in hot-spot
3338 singleWidth avoided. Reorder tests for arabic for efficiency.
3340 * text.C (fill): handle empty paragraphs better.
3342 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3345 * encoding.h: add includes
3347 * lyxrc.C: remove reading of bind files
3349 * lyx_main.C (init): setup bindings and menus only if we have a
3352 * kbmap.C (read): new method. Do the actual reading of bind
3355 * converter.C (dvipdfm_options):
3358 (output): adapt PAPER_* enums.
3360 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3362 * bufferparams.h: remove paper-related enums from there
3364 * paper.h: New file. A trivial header file to hold paper-related
3365 enums. It should later expand to contain many paper-related
3368 * lyxrc.C: declare extern displayTranslator
3370 2003-07-27 José Matos <jamatos@fep.up.pt>
3372 * tabular.[Ch] (linuxdoc): add support for tables and figures
3375 2003-07-27 José Matos <jamatos@fep.up.pt>
3377 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3378 consistency in both functions.
3379 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3381 2003-07-26 Asger Alstrup <alstrup@local>
3383 * rowpainter.C (paintRows): Change algorithm to work directly on
3384 the insets rather than asking every character in the document
3385 whether its an inset.
3387 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
3389 * buffer.C (openFileWrite): factorize some code
3391 2003-07-26 Angus Leeming <leeming@lyx.org>
3394 * lyx_main.[Ch]: replace occurances of system_tempdir with
3397 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3399 * rename Inset to InsetOld
3401 2003-07-25 Asger Alstrup <alstrup@diku.dk>
3403 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3404 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3405 which I think is a bit clearer. EDIT is gone, since it was
3406 premature optimisation, and broken for mathed anyway.
3407 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3408 with cursor positioning in insets as well (math insets still do not
3409 work, but that's a different story anyway.) It mysteriously
3410 crashes sometimes with undo in the first paragraph, but I'm fairly
3411 confident that this is a compiler bug.
3413 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3415 * paragraph.C (Paragraph): adjust for new clone return type
3417 (copyIntoMinibuffer): ditto
3419 2003-07-25 Asger Alstrup <alstrup@lyx.org>
3421 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3422 by not having a special case, and always doing a full rebreak of
3423 the document after undo.
3425 2003-07-23 Angus Leeming <leeming@lyx.org>
3427 * factory.C (createInset): InsetExternal::setParams now takes a
3430 2003-07-23 Angus Leeming <leeming@lyx.org>
3432 * factory.C (createInset): changed interface to the external and
3433 graphics mailers' string2params functions.
3435 2003-07-23 Angus Leeming <leeming@lyx.org>
3437 * factory.C (createInset): pass a
3438 Buffer const * parameter to InsetExternalMailer's string2params.
3440 2003-07-22 John Levon <levon@movementarian.org>
3442 * Thesaurus.h: include the right aiksaurus header
3444 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3446 * MenuBackend.C (expand): check menu shortcuts unconditionally
3448 2003-07-21 Angus Leeming <leeming@lyx.org>
3450 * factory.C (createInset): pass a
3451 buffer_path parameter to InsetGraphicsMailer's string2params.
3453 2003-07-21 Angus Leeming <leeming@lyx.org>
3455 * BufferView_pimpl.C (buffer):
3458 * lyxfunc.C (dispatch):
3459 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3460 rather than the grfx shortcut.
3462 2003-07-21 André Pönitz <poenitz@gmx.net>
3464 * rowpainter.C: remove unused variables
3467 * tabular_funcs.h: move to tabular.C
3468 * Makefile.am: adjust
3470 * tabular.[Ch]: basic optical cleaning
3472 * author.h: pass references, not values
3474 2003-07-18 André Pönitz <poenitz@gmx.net>
3482 * text3.C: two-phase drawing for InsetText and InsetTabular
3483 some float -> int changes.
3485 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3487 * lyx_main.C: fix the fix
3489 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3491 * lyx_main.C: fix a crash in batch mode if no files specified
3494 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
3496 * format.[Ch] (papersize): moved to BufferParams
3497 * converter.[Ch] (dvips_options): moved to BufferParams
3498 (dvipdfm_options): moved to anon namespace
3499 * bufferparams.[Ch]: added above functions.
3501 2003-07-17 André Pönitz <poenitz@gmx.net>
3505 * text2.C: don't call inset->update() anymore
3507 * metricsinfo.[Ch]: add convenience constructor
3509 2003-07-16 André Pönitz <poenitz@gmx.net>
3514 * text2.C: replace the LyXCursor::irow_ member with
3515 on-demand computation of the value
3517 2003-07-16 John Levon <levon@movementarian.org>
3519 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3521 2003-07-15 André Pönitz <poenitz@gmx.net>
3524 * text2.C: remove no more needed refresh_row
3526 2003-07-15 André Pönitz <poenitz@gmx.net>
3531 * text3.C: refresh_status tristate -> need_update bool
3533 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
3535 * lyxtext.h (init): remove reinit argument (act as if always true)
3536 * text2.C: adjust to that
3538 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3540 * bufferview_funcs.[Ch]: introduce function replaceSelection()
3541 * text3.C: use it to delete selections in some cases
3542 (bugs 441, 673, 702, 954).
3544 2003-07-14 André Pönitz <poenitz@gmx.net>
3546 * rowpainter.[Ch]: reduce interface
3548 2003-07-14 André Pönitz <poenitz@gmx.net>
3550 * BufferView_pimpl.C:
3551 * text2.C: adjust after removing unused BufferView * argument
3553 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
3555 * text2.C (init): fix a crash fired on resize
3557 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
3559 * buffer.[Ch]: added new closing signal
3560 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3561 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3562 BufferView::Pimpl via the closing the signal
3564 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
3566 * buffer.[Ch]: take out all bv-related from buffer
3568 * BufferView_pimpl.[Ch]: connect to new signals
3569 * CutAndPaste.C: removed useless asserts
3570 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3573 * lyxfunc.C: moved view-related funciontality from vc here
3574 * paragraph.C: removed outdated comments
3577 2003-07-10 André Pönitz <poenitz@gmx.net>
3579 * BufferView_pimpl.C:
3583 * text2.C: remove InsetText::InnerCache, clean up consequences
3585 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
3587 * ispell.C: fix two typos in error messages
3589 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
3591 * Extend Note inset to other forms of annotation like Comment
3592 and Greyedout. Right button click gives dialog.
3594 Files modified or added (+):
3598 * ControlNote.[Ch] +
3600 * Makefile.am in frontends/xforms, frontends/xforms/forms,
3601 frontends/controllers
3605 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3607 * aspell.C: add missing namespace lyx::support
3609 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
3611 * BufferView.[Ch] (newFile): Add
3612 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3613 * LaTeX.[Ch] (message): added this signal and use it
3614 * buffer.[Ch] (busy, message): added these signals and use them
3615 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3619 * importer.C: use buffer signals instead of direct bv calling
3620 * lyx_cb.[Ch] (ShowMessage): removed
3623 * paragraph_funcs.C:
3624 * text2.C: use buffer signals
3626 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3628 * introduce namespace lyx::graphics
3630 2003-07-02 André Pönitz <poenitz@gmx.net>
3632 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3634 2003-07-01 André Pönitz <poenitz@gmx.net>
3641 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3642 text*.C to text_func.C
3644 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3646 * introduce namespace lyx::support
3648 2003-06-30 André Pönitz <poenitz@gmx.net>
3653 * text.C: re-enable --with-included-string
3655 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3657 * textcursor.C: add <config.h>
3659 * text.C (getWord): remove const from word_location arg
3661 * lyxvc.C (getLogFile): fix const type order
3663 * lyxtext.h: remove const from word_location arg, add arg name
3665 * lyxlayout.h: currect type on labeltype.
3667 * importer.C: correct \file
3669 * converter.C (intToFormat): use std:: on ret val, ws changes
3671 * bufferlist.h: correct \file
3673 * buffer.C (makeLinuxDocFile): fix const type order
3674 (makeDocBookFile): ditto
3675 (fillWithBibKeys): use std:: on stdlib args.
3677 * CutAndPaste.C: fix authors.
3678 (availableSelections): use std:: on return vector
3680 2003-06-27 André Pönitz <poenitz@gmx.net>
3682 * BufferView_pimpl.C:
3683 * bufferview_funcs.C:
3691 * text3.C: remove LyXCursor::row_ member
3694 * text.C: rename fullRebreak() to partialRebreak() and implement
3695 a fullRebreak() that really bereks fully
3697 * textcursor.h: new struct for cursor-related data
3699 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
3701 * lyx_main.C (LyX): get full path of document loaded on the
3704 2003-06-26 André Pönitz <poenitz@gmx.net>
3706 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3707 remove unused/broken operator>,<,>=.
3709 * text.C: remove only use of broken operator<= in an Assert().
3711 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3713 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3714 moved errorlist_.clear to showErrorList
3716 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3718 * converter.C (scanLog, runLaTeX):
3719 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3720 move the bv->showErrorList call to the callers
3721 * lyxfunc.C: i.e. here...
3723 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3724 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3725 namespace, the second to...
3726 * buffer_funcs (BufferFormat, parseErrors): added
3727 * errorlist.C (ErrorList(TeXErrors const &)): removed
3729 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3731 * ToolbarBackend.C (getIcon): complain when icon cannot be found
3733 2003-06-24 "Garst R. Reese" <reese@isn.net>
3737 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3739 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3741 * version.C.in: change docversion to 1.4
3743 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
3745 * buffer.C: fix a bug just introduced
3747 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3749 * buffer.[Ch]: added the parseError signal and use it, removed
3751 * BufferView.[Ch] (addError): moved to ...
3752 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3753 to the Buffer::parseError signal to catch (guess what) parse errors
3754 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3756 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3758 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3759 ability to create a buffer and to return an existing one from
3760 the list. Moved these functions to...
3761 * buffer_funcs.[Ch]: added
3762 * BufferView.[Ch] (loadLyXFile): added
3763 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3764 job removed from bufferlist::loadLyXFile.
3765 * buffer.C (setReadOnly): make it work without view
3766 (i.e added an if (users))
3768 2003-06-19 Angus Leeming <leeming@lyx.org>
3771 * LyXAction.C (init):
3772 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3773 with LFUN_DIALOG_SHOW <name> <data>.
3775 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3777 * CutAndPaste.C (availableSelections): small compilation fix for
3778 ancient (gcc 2.9x) compilers
3780 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3782 * text3.C (cursorNext): add tmp var
3784 * text2.C (updateCounters): for function calling out of for clause
3785 (replaceSelectionWithString): ditto
3786 (insertStringAsParagraphs): ditto
3787 (getColumnNearX): add tmp var
3788 (setCursorFromCoordinates): add tmp var
3789 (cursorDownParagraph): add tmp var
3790 (deleteEmptyParagraphMechanism): add tmp var
3792 * text.C (insertChar): add tmp var
3794 * rowpainter.C (paintDepthBar): add tmp var
3796 * CutAndPaste.C (availableSelections): potentially check all
3797 paragraphs in a cut to fill the shown strings.
3799 2003-06-18 André Pönitz <poenitz@gmx.net>
3801 * kbmap.[Ch]: use vector<> instead of list<>
3803 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3805 * text3.C (dispatch): handle arg to LFUN_PASTE, call
3806 pasteSelection with index
3808 * text2.C (pasteSelection): modify, call pasteSelection with index
3810 * paragraph.C (asString): reimplement version with no interval to
3811 call the one with interval.
3813 * lyxtext.h: add index arg to pasteSelection
3815 * MenuBackend.C (MenuItem): handle PasteRecent
3816 (Menu::read::Menutags): add md_pasterecent
3818 (expandPasteRecent): new function
3821 * MenuBackend.h: add PasteRecent to MenuItem::Kind
3823 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3825 (availableSelections): new function
3827 2003-06-17 Angus Leeming <leeming@lyx.org>
3829 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3831 2003-06-17 Angus Leeming <leeming@lyx.org>
3834 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3836 * lyxfunc.C (dispatch): invoke it.
3838 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3840 * iterators.C (operator++, ParPosition): reintroduce some
3841 const_cast for the benefit of older compilers.
3843 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3845 * text3.C (dispatch): do not modify clipboard when doing
3846 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3847 LFUN_DELETE_SKIP on a selection selection
3849 2003-06-16 André Pönitz <poenitz@gmx.net>
3855 * tabular.[Ch]: IU of clone() and getLabelList();
3857 2003-06-13 André Pönitz <poenitz@gmx.net>
3859 * tabular.h: compactification
3861 2003-06-12 André Pönitz <poenitz@gmx.net>
3865 * tabular_funcs.h: some renaming plus whitespace
3867 2003-06-12 André Pönitz <poenitz@gmx.net>
3870 * BufferView_pimpl.C:
3876 * toc.C: Return a Paragraph & for ParIterator::operator*()
3878 2003-06-11 John Levon <levon@movementarian.org>
3882 * ToolbarBackend.C: add "Toolbars" section and
3885 2003-06-10 Angus Leeming <leeming@lyx.org>
3888 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3890 * lyxfunc.C (dispatch): invoke it.
3892 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3894 * main.C: protect <ios> with HAVE_IOS
3895 (main): protect sync_with_stdio with HAVE_IOS
3897 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
3899 * text2.C (cutSelection): adjust
3900 (pasteSelection): adjust
3902 * messages.C: handle get of empty string
3904 * main.C (main): use sync_with_stdio(false)
3906 * lyxfunc.C (dispatch): adjust
3908 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3909 (WriteAs): remove unneeded BufferView arg.
3911 * bufferparams.h: use correct types on papersize, papersize2 and
3914 * bufferparams.C (readToken): adjust for type
3915 (writeLaTeX): add missing cases to switch.
3917 * bufferlist.C (quitWriteBuffer): adjust
3920 * buffer.C (asciiParagraph): remove some commented code.
3922 * CutAndPaste.C: remove current_view extern variable.
3923 (cutSelection): add BufferParams arg.
3924 (eraseSelection): add BufferParams arg.
3925 (pasteSelection): add Buffer const & arg
3927 2003-06-07 John Levon <levon@movementarian.org>
3930 * paragraph_funcs.C:
3931 * paragraph_pimpl.C:
3935 * paragraph.C: allow InsetERT to freely space lines,
3936 and some consolidation of code
3938 2003-06-06 José Matos <jamatos@fep.up.pt>
3940 * buffer.C (makeDocBookFile): fix bug #821
3942 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3944 * BufferView_pimpl.C (dispatch): use Dialogs::visible
3946 2003-06-04 Angus Leeming <leeming@lyx.org>
3948 * buffer.C: bump format to 224.
3950 2003-06-05 André Pönitz <poenitz@gmx.net>
3952 * text2.C (redoParagraphs): remove two const_cast<>
3954 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3956 * ParagraphList.h: remove last remnants of NO_STD_LIST
3958 2003-06-03 Angus Leeming <leeming@lyx.org>
3960 * factory.C (createInset): small change to the way InsetExternal's params
3963 2003-06-04 André Pönitz <poenitz@gmx.net>
3965 * buffer.h: use Undo directly instead of shared_ptr<Undo>
3967 * paragraph_pimpl.h:
3968 * paragraph.[Ch]: some Inset -> UpdatableInset changes
3970 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3972 * undo_funcs.C: make some simple cases of undo work again
3974 2003-06-03 John Levon <levon@movementarian.org>
3976 * ispell.C: HPUX doesn't have sys/select.h
3979 2003-06-03 John Levon <levon@movementarian.org>
3981 * CutAndPaste.C: update tabular and include inset
3986 * paragraph.C: remove owningBuffer(), don't pass Buffer
3989 * factory.C: insetGraphicsParams changed
3991 2003-06-02 John Levon <levon@movementarian.org>
3997 * text3.C: remove insetparent
3999 2003-06-02 John Levon <levon@movementarian.org>
4002 * buffer.C: fix inset_iterator.end(), move out of line
4005 2003-06-01 John Levon <levon@movementarian.org>
4007 * text3.C: use a proper cut/paste when doing inset
4008 insert (from Jürgen Spitzmüller)
4010 2003-06-01 John Levon <levon@movementarian.org>
4012 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4014 2003-05-30 André Pönitz <poenitz@gmx.net>
4016 * rowpainter.C: unify second drawing phase
4018 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4020 * trans_mgr.C: remove one case of current_view
4022 * text2.C (cursorBottom): delete NO_STD_LIST stuff
4024 * paragraph_funcs.h: remove paragraph.h include
4026 * paragraph.h: delete NO_STD_LIST stuff
4028 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4030 * buffer.h: remove paragraph.h include
4032 * ParagraphList.C: delete file
4034 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4036 * toc.C (getTocList): adjust
4038 * paragraph_pimpl.C (validate): adjust
4040 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4042 * paragraph.C (Paragraph): adjust
4043 (getPositionOfInset): use const_iterator, adjust
4044 (bibitem): use const_iterator, adjust
4045 (setInsetOwner): adjust
4047 * iterators.C (operator++): adjust
4049 * InsetList.[Ch]: Replace selfmade iterator with standard
4050 vector::iterator also introduce const_iterator. Remove getPos,
4051 getInset and setInset from InsetTable. Adjust accordingly.
4053 * BufferView.C (lockInset): adjust
4054 (ChangeInsets): adjust
4056 * tabular.[Ch]: delete commented same_id functions
4058 2003-05-28 John Levon <levon@movementarian.org>
4060 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4062 2003-05-28 André Pönitz <poenitz@gmx.net>
4064 * metricsinfo.[Ch]: remove 'fullredraw' member
4066 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
4068 * lyxtextclass.C (operator): remove caching.
4070 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4074 * text2.C (cursorBottom): adjust
4075 (setCounter): use ParagraphList::find, adjust
4077 * text.C (workWidth): use ParagraphList::find, adjust
4079 * lyxcursor.C (LyXCursor): adjust
4081 * buffer.C (inset_iterator): adjust
4083 * ParagraphList.h: make iterator(value_type) private, make
4084 ParagraphList a friend of iterator.
4086 * ParagraphList.C (find): new function
4088 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4090 2003-05-27 André Pönitz <poenitz@gmx.net>
4092 * dimension.[Ch]: a -> asc, d -> des, w -> wid
4094 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4096 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4098 2003-05-26 John Levon <levon@movementarian.org>
4100 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4102 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4104 * remove same_id from function signatures, adjust.
4106 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4108 * undo_funcs.C (createUndo): use the id functions directly, adjust.
4110 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4112 * paragraph.C (Paragraph): get rid of same_ids parameter
4114 * ParagraphList.C (insert): adjust
4117 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4119 * paragraph_funcs.C (breakParagraph): adjust
4120 (breakParagraphConservative): adjust
4122 * buffer.C (readParagraph): adjust
4124 * ParagraphList.C (insert): take a reference instead of a pointer
4127 * paragraph.[Ch] (id): new function
4129 * bufferlist.C (newFile): adjust
4131 * ParagraphList.C (ParagraphList): adjust
4133 (push_back): take a reference instead of a pointer.
4135 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4137 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4140 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4141 set else use old code.
4143 * ParagraphList.C: remove all NO_NEXT code and only compile this
4144 code of NO_STD_LIST is set.
4146 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4148 * BufferView_pimpl.C:
4158 * graphics/GraphicsConverter.C:
4159 * graphics/PreviewLoader.C: header adjustment
4161 2003-05-23 Angus Leeming <leeming@lyx.org>
4163 * LaTeXFeatures.[Ch] (useBabel): new method.
4164 * bufferparams.C (writeLaTeX): use it.
4166 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4168 * ParagraphList.h (set): remove unused function.
4170 2003-05-23 André Pönitz <poenitz@gmx.net>
4173 * BufferView_pimpl.C:
4177 * undo_funcs.C: setUndo reworked
4179 * iterators.[Ch]: add access to topmost ParagraphList
4181 * lyxtext.[Ch] (workWidth): add a const
4183 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4185 * texrow.[Ch] (increasePos): remove function
4186 * exporter.C (export): removed unused var and outdated comment
4188 2003-05-23 Angus Leeming <leeming@lyx.org>
4190 * latexrunparams.h: rename fragile as moving_arg.
4191 * paragraph.C (simpleTeXOnePar): ditto.
4192 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4194 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4196 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4198 (textUndoOrRedo): comment out a currently unused var.
4200 * paragraph.h (NO_NEXT): enable NO_NEXT
4202 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4204 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4206 * exporter.C (Export): adjust for removeAutoInsets removal.
4208 * buffer.C (runChktex): adjust for removeAutoInsets removal.
4210 * LyXAction.C (init): remove LFUN_REMOVEERRORS
4212 * BufferView.[Ch] (removeAutoInsets): delete function
4214 2003-05-22 Angus Leeming <leeming@lyx.org>
4216 * latexrunparams.h: add a free_spacing variable.
4218 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4219 to pass moving_arg, as the data is stored in runparams.fragile.
4221 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4222 to Inset::latexOptional or to simpleTeXOnePar.
4224 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4225 free_spacing arg to Inset::latexOptional.
4227 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4230 2003-05-22 Angus Leeming <leeming@lyx.org>
4232 * latexrunparams.h: add fragile and use_babel variables.
4234 * bufferparams.[Ch] (writeLaTeX): return use_babel.
4235 * buffer.C (makeLaTeXFile): store this returned value in
4236 runparams.use_babel, thus passing it to the inset::latex methods.
4238 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4239 simpleTeXSpecialChars as it is now stored in runparams.fragile.
4241 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4242 longer has a fragile arg, as it is stored in runparams.fragile.
4244 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4245 moving_arg parameter as the data is stored in runparams.fragile.
4247 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4248 a fragile parameter as the data is stored in runparams.fragile.
4250 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4252 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4254 2003-05-22 Angus Leeming <leeming@lyx.org>
4256 * latexrunparams.h: add a 'bool nice' which defaults to false.
4258 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4259 now encapsulated within runparams.
4261 * bufferlist.C (updateIncludedTeXfiles):
4262 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4264 2003-05-22 Angus Leeming <leeming@lyx.org>
4266 * latexrunparams.h: new file containing struct LatexRunParams.
4267 * Makefile.am: add new file.
4269 * LaTeX.[Ch] (c-tor, run):
4270 * buffer.[Ch] (makeLaTeXFile):
4271 * bufferlist.[Ch] (updateIncludedTeXfiles):
4272 * converter.C (convert, scanLog):
4273 * converter.[Ch] (runLaTeX):
4274 * exporter.C (Export):
4275 * paragraph.[Ch] (simpleTeXOnePar):
4276 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4277 * paragraph_funcs.[Ch] (latexParagraphs):
4278 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4279 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4280 pass around a LatexRunParams parameter.
4282 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4284 * paragraph.[Ch]: remove unused constructor
4286 * ParagraphList.C (erase): new function, taking two iterators
4288 2003-05-22 André Pönitz <poenitz@gmx.net>
4290 * undo_funcs.C: remove duplicated code
4292 * iterator.[Ch]: operator=
4294 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4296 * tabular.C (SetMultiColumn): ws changes
4298 * rowpainter.C (paintFirst): get rid of a ->previous
4300 * lyx_cb.C (getPossibleLabel): parlist simplification
4302 * BufferView.C (ChangeInsets): simplify slightly.
4304 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4306 * LyXAction.C: new lfun space-insert, kill protected-space-insert
4307 * lfuns.h: new LFUN_SPACE
4308 * lyxfunc.C: protected space has a new lfun
4309 * paragraph_funcs.C: read new space insets
4311 * factory.C: handle new space insets
4313 2003-05-22 André Pönitz <poenitz@gmx.net>
4316 * BufferView_pimpl.C:
4319 * undo_funcs.C: return a ParIterator from getParFromID.
4321 * iterators.[Ch]: add two const's
4323 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4325 * toc.C (getTocList): adjust
4327 * iterators.[Ch]: rework for parlist
4329 * buffer.C (par_iterator_begin): adjust
4330 (par_iterator_end): adjust
4332 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4334 * BufferView.C (removeAutoInsets): adjust
4335 (ChangeInsets): adjust
4337 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
4339 * text.C (top_y): fix bug 1110
4341 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
4343 * errorlist.[Ch]: added
4346 * BufferView_pimpl.C:
4347 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4350 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4352 * Makefile.am: ensure that lyx is relinked upon changes to the
4353 various "convenience" libs.
4355 2003-05-20 Angus Leeming <leeming@lyx.org>
4357 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4358 files are compiled in alphabetical order again.
4360 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4362 2003-05-19 Angus Leeming <leeming@lyx.org>
4364 * gettext.[Ch]: remove "char const * _(char const *)".
4366 2003-05-19 André Pönitz <poenitz@gmx.net>
4368 * dimension.[Ch]: promote from mathed/dimension.[Ch]
4377 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4379 2003-05-19 André Pönitz <poenitz@gmx.net>
4383 * lyxtextclass.[Ch]:
4385 * paragraph_funcs.[Ch]:
4387 * text3.C: more insetenv work
4389 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
4391 * ParagraphParameters.C (params2string): small bug fixed
4393 2003-05-16 André Pönitz <poenitz@gmx.net>
4396 * bufferview_funcs.C: patch from Kornel Benko to prevent
4397 crash when _(...) is called twice in a statement
4399 2003-05-16 André Pönitz <poenitz@gmx.net>
4406 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4408 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
4410 * lyx_main.C (init): remove spurious static_cast
4412 2003-05-14 André Pönitz <poenitz@gmx.net>
4414 * BufferView.C: fix format string
4416 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
4418 * BufferView.[Ch] (insertErrors): removed
4419 * BufferView.[Ch] (showErrorList): added
4420 * buffer.C (runChkTeX):
4421 * converter.C (scanLog): call showErrorList instead of inserterrors
4423 2003-05-13 André Pönitz <poenitz@gmx.net>
4425 * BufferView_pimpl.C:
4427 * bufferview_func.C:
4434 * tabular_funcs.h: tostr() from its own header
4436 * ParagraphParameters.C:
4441 * text3.C: STRCONV()
4443 2003-05-12 André Pönitz <poenitz@gmx.net>
4446 * BufferView_pimpl.C:
4450 * ParagraphParameters.C:
4454 * bufferview_funcs.C:
4467 * paragraph_funcs.C:
4471 * text3.C: boost::format -> bformat all over the place
4474 2003-05-09 André Pönitz <poenitz@gmx.net>
4476 * LColor.[Ch]: Pimpl the #include <map> away
4478 2003-05-09 John Levon <levon@movementarian.org>
4480 * bufferlist.C: never remove emergency saves
4482 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4484 * Makefile.am: better lib building
4486 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4488 * texrow.[Ch]: remove dependency on Paragraph and just store a id
4490 * paragraph_pimpl.C (simpleTeXBlanks): adjust
4491 (simpleTeXSpecialChars): adjust
4492 (simpleTeXSpecialChars): adjust
4493 * paragraph.C (simpleTeXOnePar): adjust
4494 * buffer.C (makeLaTeXFile): adjust
4496 * Makefile.am (BOOST_LIBS): allow boost as system lib.
4498 * text2.C (changeDepth): parlist cleanup
4499 (getColumnNearX): ditto
4501 * rowpainter.C (getLabelFont): parlist cleanup
4503 * bufferlist.C (newFile): parlist cleanup
4505 * CutAndPaste.C (eraseSelection): parlist cleanup
4507 * BufferView_pimpl.C (trackChanges): parlist cleanup
4510 * BufferView.C (lockInset): parlist cleanup.
4511 (ChangeInsets): ditto
4513 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4515 * CutAndPaste.h: Update file header.
4517 * CutAndPaste.C: Update file header.
4518 Store the parts cut out of the Document in a limited_stack.
4519 (copySelection): adjust
4520 (pasteSelection): new function, takes the index in the limited stack.
4521 (nrOfParagraphs): adjust
4522 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4523 simplify error inset insertion.
4524 (checkPastePossible): adjust
4526 2003-05-06 John Levon <levon@movementarian.org>
4528 * text2.C: don't cast wrap inset to float
4530 2003-05-05 André Pönitz <poenitz@gmx.net>
4533 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4535 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4536 few naked Paragraph *.
4538 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
4540 * bufferparams.C: Output warning if a document with missing
4541 TeX document class is loaded
4542 * exporter.C: Disable TeX exports if the document class is missing
4545 * lyxtextclasslist.C: Handle new textclass.lst format; new method
4546 isTeXClassAvailable()
4548 2003-05-03 John Levon <levon@movementarian.org>
4551 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4552 explicit cursor show/hide
4554 * BufferView_pimpl.h:
4555 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4556 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4558 * lyxfunc.C: hide cursor before dispatching.
4563 * text3.C: remove explicit cursor hides
4565 2003-05-02 André Pönitz <poenitz@gmx.net>
4567 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4570 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4573 * text2.C: tiny whitespace
4575 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4577 * undo_funcs.C: almost only ws changes.
4579 * ParagraphList.C (splice): just return if pl is empty.
4581 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4583 * ParagraphList.C (splice): new function.
4585 * CutAndPaste.C (pasteSelection): use it
4587 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4589 * CutAndPaste.C (pasteSelection): remove the last next and
4590 previous from this file.
4592 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4594 * CutAndPaste.C (pasteSelection): more clean up, user proper
4595 ParagraphList functions for pasteing.
4597 * ParagraphList.C (insert): new function, three arg insert
4599 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4601 * ParagraphList.C (insert): new function, three arg insert
4603 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4606 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4608 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4610 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4612 * CutAndPaste.C (pasteSelection): remove some unneeded code.
4614 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4616 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4617 (copySelection): clean up a bit.
4618 (pasteSelection): use make_pair
4620 * ParagraphList.C (ParagraphList): implement copy constructor
4621 (operator=): implement, base on copy constructor.
4624 * paragraph.C (erase): return a bool
4626 * paragraph_pimpl.C (erasePos): remove function, move contents...
4627 (erase): ... here. Return a bool.
4628 (erase): call erase instead of erasePos.
4630 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
4632 * ParagraphList.h: define PitPosPair
4633 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4634 ParagraphList, fix a bug on pasting multiple pars
4635 * text2.C: change interface to C&P
4637 2003-04-30 André Pönitz <poenitz@gmx.net>
4639 * undo_func.C: revert part of yesterday's patch 2
4641 2003-04-30 John Levon <levon@movementarian.org>
4643 * LColor.C: s/tabular/table/
4645 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4647 * text3.C (dispatch): do not convert iterator -> pointer
4648 * undo_funcs.C (setCursorParUndo): ditto
4649 * text_funcs.C (transposeChars): ditto
4651 * text2.C (setLayout): ws changes only
4653 * text.C (breakParagraph): do not convert iterator -> pointer
4655 (acceptChange): ditto
4656 (rejectChange): ditto
4661 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4664 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4666 * text3.C (gotoInset): YABG (yet another bad getChar)
4668 2003-04-29 André Pönitz <poenitz@gmx.net>
4670 * paragraph.h: make operator= private unimplemented as long as
4673 * ParagraphList.C: whitespace
4676 * paragraph_pimpl.[Ch]:
4677 * paragraph_funcs.C:
4679 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
4682 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4684 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4686 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4687 * paragraph.[Ch] (erase):
4688 * paragraph_pimpl.[Ch] (erase): change return type and value
4689 * text2.C (cutSelection): some rework
4691 2003-04-28 John Levon <levon@movementarian.org>
4693 * bufferlist.C: changes for unsaved changes dialog
4695 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4697 * bufferlist.C (newFile): set language (messages_) for new
4700 * buffer.C (readFile): ws changes only.
4702 2003-04-28 André Pönitz <poenitz@gmx.net>
4707 * BufferView_pimpl.C:
4708 * BufferView.C: getParFromID related ParagraphList::iterator changes
4710 2003-04-28 André Pönitz <poenitz@gmx.net>
4712 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4715 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4717 * messages.C: remove one more localedir class variable.
4719 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4721 * messages.C (getLocaleDir): singleton generation function
4723 (Messages): add a default constructor.
4725 * main.C (main): do not setup localedir here, do not call
4728 * gettext.C (_): use it.
4729 (gettext_init): delete funciton
4731 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4733 * gettext.C (getLyXMessages): new singleton generating function.
4735 * buffer.C (updateDocLang): adjust
4737 * Makefile.am (messages.o): add target
4738 (main.o): remove target
4740 2003-04-27 John Levon <levon@movementarian.org>
4745 * lyxvc.C: specify cancel button in Alert::prompt
4747 2003-04-26 John Levon <levon@movementarian.org>
4752 * LyXAction.C: add LFUN_INSET_SETTINGS
4754 * lyxfunc.C: don't enable tabular-feature when there's
4755 just any locking inset
4757 2003-04-26 John Levon <levon@movementarian.org>
4759 * bufferlist.C: re-add Cancel to buffer close question
4761 * lyxfunc.C: fix import UI a bit
4763 2003-04-25 John Levon <levon@movementarian.org>
4765 * gettext.C: remove the broken asserts for now
4767 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4769 * messages.C: make case where setlocale cannot comply work better.
4771 * buffer.C (updateDocLang): new function
4772 (changeLanguage): use it
4775 * text2.C (setCounter): use B_ a bit.
4777 * lyxlayout.C (Read): be sure to trim the label strings.
4779 * messages.C (Messages): fix typo in comment
4781 * buffer.C (readFile): set message_ after file is loaded.
4782 (makeDocBookFile): remove double return
4783 (changeLanguage): reset message_ upon language change.
4784 (B_): new func, use this to get translated buffer strings.
4786 * main.C: add myself and Jean Marc as authors.
4788 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4790 * messages.[hC]: pimplify Messages, and three different pimpls to be
4791 used in different circumstances.
4793 * gettext.[Ch]: change for use with new message code.
4795 2003-04-24 André Pönitz <poenitz@gmx.net>
4797 * factory.C: support for eqref
4799 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4801 * messages.[Ch]: add missing char
4803 * Makefile.am (lyx_SOURCES): add messages.[Ch]
4805 * messages.[Ch]: New files
4807 2003-04-18 John Levon <levon@movementarian.org>
4811 * BufferView_pimpl.C:
4815 * text2.C: remove layout-copy/paste (bug 778)
4817 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4819 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4821 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4823 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4824 if they succeed. Act accordingly.
4826 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4828 * text2.C (setCharFont): adjust
4829 (setCounter): adjust
4830 (insertStringAsLines): adjust
4832 * text.C (leftMargin): adjust
4833 (setHeightOfRow): adjust
4835 * rowpainter.C (paintFirst): adjust
4838 * paragraph_funcs.C (depthHook): ParagraphList::iterators
4840 (isFirstInSequence): ditto
4841 (getEndLabel): ditto
4844 * paragraph.C (getParLanguage): comment out some hard stuff.
4846 * buffer.C (insertStringAsLines): take a ParagraphList as arg
4848 (simpleDocBookOnePar): ditto
4849 (makeDocBookFile): use ParagraphList::iterator
4851 * CutAndPaste.C (pasteSelection): adjust
4853 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4855 * text2.C (getFont): adjust
4856 (getLayoutFont): adjust
4857 (getLabelFont): adjust
4859 * paragraph_funcs.C (TeXOnePar): adjust
4861 * buffer.C (simpleLinuxDocOnePar): adjust
4862 (simpleDocBookOnePar): adjust
4864 * CutAndPaste.C (pasteSelection): adjust
4866 * BufferView.C (getEncoding): adjust
4868 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4870 2003-04-16 John Levon <levon@movementarian.org>
4872 * lyxfind.C: use parlist stuff for search/changes
4874 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4876 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4878 * text2.C (deleteEmptyParagraphMechanism): adjust
4880 * text2.[Ch] (ownerParagraph): delete func (both of them
4882 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4884 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4886 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4888 * ParagraphList.C: prepare for NO_NEXT
4890 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4892 * text2.C (getFont): adjust
4893 (getLayoutFont): adjust
4894 (getLabelFont): adjust
4896 * paragraph.C (getFont): adjust
4897 (getLabelFont): adjust
4898 (getLayoutFont): adjust
4900 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4902 2003-04-15 John Levon <levon@movementarian.org>
4906 * lyx_main.C: handle Include in .ui files
4908 2003-04-15 John Levon <levon@movementarian.org>
4910 * MenuBackend.C: make the doc files length shorter
4913 * ToolbarBackend.C: handle toolbar placement flags,
4916 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4918 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4921 * paragraph_funcs.C (TeXOnePar): adjust
4923 * paragraph.C (getLabelFont): add outerfont arg, adjust
4924 (getLayoutFont): ditto
4925 (simpleTeXOnePar): adjust
4927 * paragraph_pimpl.C (realizeFont): delete func
4929 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
4931 * text2.C (beforeFullRowInset): added a bad getchar check, removed
4932 row argument, constify cur argument.
4934 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4936 * text2.C (getFont): adjust
4937 (getLayoutFont): adjust
4938 (getLabelFont): adjust
4940 * paragraph_funcs.C (TeXOnePar): adjust
4941 (outerFont): new func...
4942 (realizeFont): ...moved out from here, changed this to facilitate
4945 * paragraph.C (getFont): take outerfont as arg, adjust
4946 (simpleTeXOnePar): add outerfont arg, adjust
4948 * buffer.C (simpleLinuxDocOnePar): adjust
4949 (simpleDocBookOnePar): adjust
4951 * CutAndPaste.C (pasteSelection): adjust
4953 * BufferView.C (getEncoding): adjust
4955 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4957 * text2.C (setCharFont): adjust
4958 (setCounter): adjust
4960 * text.C (leftMargin): adjust
4961 (setHeightOfRow): adjust
4963 * rowpainter.C (paintFirst): adjust
4966 * paragraph_pimpl.C (realizeFont): adjust
4968 * paragraph.C (isFirstInSequence): move from here...
4969 * paragraph_funcs.C (isFirstInSequence): ...to here
4971 * paragraph.C (outerHook): move from here...
4972 * paragraph_funcs.C (outerHook): ...to here
4974 * paragraph.C (depthHook): move from here...
4975 * paragraph_funcs.C (depthHook): ...to here
4977 * paragraph.C (getEndLabel): move from here...
4978 * paragraph_funcs.C (getEndLabel): ...to here
4980 * text2.C (realizeFont): move from here...
4981 * paragraph_funcs.C (realizeFont): ...to here
4983 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4985 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4987 2003-04-14 Angus Leeming <leeming@lyx.org>
4989 * LColor.[Ch]: scrap LColor mathcursor.
4991 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4993 * lyxlex.[Ch] (text): delete function
4994 * trans.C (Load): adjust
4995 * paragraph_funcs.C (readParToken): adjust
4997 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4999 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5000 vector<char> instead of a char[].
5002 * lyxlex_pimpl.C (getString): adjust
5004 (lex): use getString
5008 * lyxlex.C (text): use pimpl_->getString()
5012 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5014 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5015 (makeFontEntriesLayoutSpecific): temp var for par.size()
5016 (setLayout): temp var for ownerParagraphs().end()
5017 (fullRebreak): temp var for rows().end()
5018 (selectionAsString): temp var for boost::next(startpit), realize
5019 that the while really is a regular for loop.
5020 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5021 setCursor in one place.
5022 (setParagraph): temp vr for ownerParagraphs().end()
5023 (updateCounters): make the while loop a for loop
5024 (cutSelection): temp var for ownerParagraphs().end()
5025 (updateInset): make the do {} while() a regular for loop
5026 (getCursorX): use temp vars
5027 (setCurrentFont): use temp vars
5028 (getColumnNearX): use temp vars
5030 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5032 * text.C (transformChar): use temp var for getChar
5033 (computeBidiTables): use temp var for row->par()
5034 (fill): move temp vars for row->par() and pit->layout() earlier in
5036 (labelFill): use temp var for row->par()
5037 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5038 asc and desc, realize that pit never changes and that firstpit is
5039 just a duplicate and not needed. Exchange rit->par() with pit in a
5041 (breakAgain): use a temp var for boost::next(rit)
5042 (breakAgainOneRow): ditto
5043 (breakParagraph): use a temp var for rows().begin()
5044 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5045 (cursorRightOneWord): use temp var for cursor.par() and
5046 cursor.pos(), remove usage of tmpcursor.
5047 (cursorLeftOneWord): use temp var for cursor.par() and
5048 cursor.pos() only set cur at end of function.
5050 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5052 * text.C, text2.C: exchange all usage of Paragraph::next with
5053 boost::next(ParagraphList::iterator)
5055 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5057 * text2.C (cursorTop): simplify implementation
5058 (cursorBottom): ditto
5059 (setParagraph): use ParagraphList::iterator
5060 (setCurrentFont): adjust
5061 (getColumnNearX): adjust
5062 (cursorRight): adjust
5063 (cursorLeft): remove usage of Paragraph::previous
5064 (cursorUpParagraph): ditto
5065 (deleteEmptyParagraphMechanism): slight cleanup
5067 * text.C (isBoundary): take a Paragraph const & instead of a
5069 (addressBreakPoint): ditto
5070 (leftMargin): remove usage of Paragraph::previous.
5071 (setHeightOfRow): ditto
5072 (cursorLeftOneWord): ditto
5073 (selectNextWordToSpellcheck): ditto
5076 (breakParagraph): remove one usage of Paragraph::next
5077 (redoParagraph): ditto
5078 (acceptChange): ditto
5079 (insertChar): adjust
5080 (rowBreakPoint): adjust
5082 * bufferview_funcs.C (toggleAndShow): adjust
5084 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
5086 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5087 methods to access it.
5089 * text.C: Added updateRowPositions to compute all row positions.
5090 Make top_y and getRowNearY() to use the cached y position
5092 2003-04-11 John Levon <levon@movementarian.org>
5094 * text.C (rowBreakPoint): reintroduce the labelEnd
5095 checks, code copied from the row fill stuff. Deep voodoo.
5097 * text.C (fill): add a comment and debugging for the
5100 2003-04-11 John Levon <levon@movementarian.org>
5102 * text.C: make sure fullrow insets get wrapped to the next line,
5103 even when they're in a manual label
5105 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5107 * text2.C (insertParagraph): make it take ParagraphList::iterator
5109 (setLayout): make it return ParagraphList::iterator
5110 (redoParagraphs): ditto
5112 (checkParagraph): ditto
5114 * text.C (getRow): make getrow take ParagraphList::iterator as arg
5116 * text2.C: adjust several funcs.
5117 (realizeFont): take a ParagraphList::iterator as arg.
5118 (getLayoutFont): ditto
5119 (getLabelFont): ditto
5120 (setCharFont): ditto
5122 * text.C: adjust several funcs.
5124 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5126 * text.C (selectNextWordToSpellcheck): don't accidentally
5129 2003-04-10 John Levon <levon@movementarian.org>
5131 * ToolbarBackend.C (getIcon): special handling for
5134 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5136 * text2.C (cursorRight): a getChar assert fixed
5138 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5140 * text2.C (getFont): change to take a ParagraphList::iterator
5141 instead of Paragraph*
5142 Adjust several functions.
5144 * text.C (transformChar): change to take a ParagraphList::iterator
5145 instead of Paragraph*
5146 (singleWidth): ditto
5147 Adjust several functions.
5149 * rowpainter.C: adjust several functions
5150 * rowpainter.h:store a ParagraphList::iterator and not a
5154 2003-04-09 John Levon <levon@movementarian.org>
5159 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5160 and the "help" bits as well
5162 2003-04-09 John Levon <levon@movementarian.org>
5165 * ToolbarBackend.C: allow multiple toolbars
5167 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5169 * undo_funcs.C (setCursorParUndo): adjust
5171 * text_funcs.C (transposeChars): adjust
5173 * text3.C (gotoNextInset): adjust
5176 * text2.C (setLayout): adjust
5177 (changeDepth): adjust
5179 (redoParagraphs): adjust
5180 (selectionAsString): adjust
5181 (setParagraph): adjust
5182 (insertInset): adjust
5183 (cutSelection): adjust
5184 (copySelection): adjust
5185 (pasteSelection): adjust
5186 (insertStringAsLines): adjust
5187 (updateInset): adjust
5188 (setCursor): change to take a ParagraphList::iterator parameter
5189 (setCursorIntern): change to take a ParagraphList::iterator parameter
5190 (setCurrentFont): adjust
5191 (cursorLeft): adjust
5192 (cursorRight): adjust
5193 (deleteEmptyParagraphMechanism): adjust
5195 * text.C (breakParagraph): adjust
5196 (insertChar): adjust
5197 (acceptChange): adjust
5198 (rejectChange): adjust
5199 (selectNextWordToSpellcheck): adjust
5200 (changeCase): adjust
5204 * lyxfind.C (SearchForward): adjust
5205 (SearchBackward): adjust
5206 (nextChange): adjust
5208 * lyxcursor.C (par): adjust
5210 * lyxcursor.h: store a ParagraphList::iterator instead of a
5213 * lyx_cb.C (getPossibleLabel): adjust
5215 * bufferview_funcs.C (toggleAndShow): adjust
5217 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5220 * BufferView.C (removeAutoInsets): adjust
5221 (lockedInsetStoreUndo): adjust
5223 2003-04-09 John Levon <levon@movementarian.org>
5225 * ToolbarBackend.C: try icon without argument
5226 if with argument fails
5228 2003-04-08 John Levon <levon@movementarian.org>
5231 * ToolbarBackend.C: add getIcon(), handle tooltip,
5232 and change from "Icon" to "Item".
5234 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5236 * BufferView.C (lockInset): another bad getchar crunched
5238 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5240 * text2.C (changeDepth): do not setUndo on test_only (make undo work
5243 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
5245 * lyxfind.C (searchForward, searchBackwards): bug 782
5247 2003-04-07 John Levon <levon@movementarian.org>
5249 * paragraph.C: remove dead comment
5251 * text.C: remove troublesome depth-fiddling code
5252 in leftMargin() and rightMargin() (bug 1017)
5254 * text.C: fix breaking of rows in nested lists
5257 * text2.C (updateCounters): fix up depth values
5260 2003-04-07 John Levon <levon@movementarian.org>
5262 * BufferView_pimpl.C: clear message when doc finishes resizing,
5263 and after a mouse event
5265 * lyxfunc.C: clear message after exiting inset
5267 2003-04-07 John Levon <levon@movementarian.org>
5269 * bufferview_funcs.C: show math status not outside
5270 status in the statusbar
5272 2003-04-07 John Levon <levon@movementarian.org>
5274 * lyxfunc.C: note status changed after a depth change
5276 2003-04-04 Angus Leeming <leeming@lyx.org>
5278 * LaTeX.h: move AuxInfo operator==, != out of line.
5279 Remove LaTeX virtual destructor; nothing derives from it.
5280 Move operator()() out of public area and rename it startscript().
5281 Change protected for private.
5283 2003-04-04 Angus Leeming <leeming@lyx.org>
5286 * text2.C: remove unneeded #includes.
5288 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5290 * text2.C (dEPM): fix the heigth of the next row
5292 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5294 * text.C: squashed an invalid getChar requester + some ws changes
5296 2003-04-03 John Levon <levon@movementarian.org>
5298 * bufferview_funcs.h:
5299 * bufferview_funcs.C:
5302 * text2.C: make getStatus work for the env depth lfuns
5304 2003-04-03 John Levon <levon@movementarian.org>
5306 * bufferview_funcs.h:
5307 * bufferview_funcs.C:
5310 * text2.C: parlistize decDepth(), by merging it with incDepth()
5312 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5314 * lyxrow.h: store a ParagraphList::iterator instead of a
5315 Paragraph* and adjust other class functions to suit.
5317 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5320 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5322 * text2.C (setCursor): do not anchor to cursor row for the time being
5324 2003-04-02 John Levon <levon@movementarian.org>
5331 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5333 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5335 * paragraph.h: make ParagraphList and ParagraphList::iterator
5336 friends of Paragraph.
5338 * buffer.C (makeLinuxDocFile): move towards ParagraphList
5340 * ParagraphList.C: Use the private next_ and previous_ from
5343 2003-04-01 John Levon <levon@movementarian.org>
5347 * Makefile.am: rename, remove defaults gunk
5350 * MenuBackend.C: remove defaults gunk
5353 * Languages.C: remove defaults gunk
5356 * lyx_main.C: error out if files couldn't be found.
5358 2003-04-02 John Levon <levon@movementarian.org>
5360 * text2.C: make incDepth() use parlist
5362 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5364 * undo_funcs.C (firstUndoParagraph): adjust
5366 * text3.C (gotoInset): adjust
5367 (dispatch): adjust, and rewrite loop.
5369 * text2.C (init): adjust, and rewrite loop.
5370 (redoParagraphs): adjust
5371 (updateInset): adjust, and rewrite loop.
5372 (deleteEmptyParagraphMechanism): adjust
5374 * tabular.C (LyXTabular): adjust
5375 (SetMultiColumn): adjust
5378 * lyxtext.[Ch] (ownerParagraph): delete function
5379 (ownerParagraphs): new function returns a ParagraphList.
5381 * BufferView.C (removeAutoInsets): adjust
5382 (insertErrors): adjust
5383 (setCursorFromRow): adjust
5385 2003-04-01 Angus Leeming <leeming@lyx.org>
5387 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5390 2003-04-02 John Levon <levon@movementarian.org>
5396 * text_funcs.C: make transposeChars a free function
5398 * lyxrow_funcs.C: remove wrong comment
5400 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5403 * rowpainter.C: adjust
5408 * lyxrow_funcs. [Ch]: new files
5410 * lyxrow.[Ch]: remove next and previous pointers
5411 (next,previous): remove accessor functions
5412 (isParEnd): move to lyxrow_funcs
5413 (lastPos): move to lyxrow_funcs
5414 (nextRowIsAllInset): move to lyxrow_funcs
5415 (lastPrintablePos): move to lyxrow_funcs
5416 (numberOfSeparators): move to lyxrow_funcs
5417 (numberOfHfills): move to lyxrow_funcs
5418 (numberOfLabelHfills): move to lyxrow_funcs
5419 (hfillExpansion): move to lyxrow_funcs
5423 * bufferview_funcs.C (toggleAndShow): adjust
5425 * RowList.h: Remove class RowList from file leave just a
5428 * RowList.C: delete file
5430 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5433 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5435 * text3.C (cursorPrevious): adjust
5436 (cursorNext): adjust
5439 * text2.C (redoHeightOfParagraph): adjust
5440 (redoDrawingOfParagraph): adjust
5443 * text.C (breakParagraph): adjust
5444 (insertChar): adjust
5447 * rowpainter.C (RowPainter): adjust
5448 (leftMargin): simplify and adjust
5449 (most rowpainter functions): adjust.
5451 * rowpainter.h: store the row as RowList::iterator not as Row*
5453 * lyxcursor.C (row): taka RowList::iterator as arg
5456 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5459 2003-04-01 Angus Leeming <leeming@lyx.org>
5461 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5462 stuff like bool Bool.
5464 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5466 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5469 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5471 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5474 * lyxtext.h (rows): drop one version and leve a const variant that
5475 returns a RowList::iterator.
5477 2003-03-31 Angus Leeming <leeming@lyx.org>
5479 * text.C (fill): ensure that the signature is the same as that in the
5482 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
5484 * text2.C (redoParagraphs): adjust
5485 (updateCounters): adjust
5486 (checkParagraph): adjust
5487 (getColumnNearX): adjust and reformat a bit.
5489 * text.C (top_y): adjust
5491 (leftMargin): adjust
5492 (prepareToPrint): adjust
5494 (getRowNearY): adjust
5496 * lyxtext.h: make rowlist_ mutable.
5498 * RowList.h: add const_iterator
5499 * RowList.C: adjust for RowList::const_iterator.
5501 * text2.C (getCursorX): make it take a RowList::iterator as arg,
5504 2003-03-31 John Levon <levon@movementarian.org>
5507 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5509 * lyx_main.C: set default fonts from using lyx_gui funcs
5511 * exporter.C: pdf_mode moved from lyxrc
5514 * lyxfunc.C: changes from above
5516 2003-03-31 John Levon <levon@movementarian.org>
5518 * lyx_main.C: fix to the last fix
5520 2003-03-31 John Levon <levon@movementarian.org>
5522 * bufferlist.C: "Load original" -> "Load Original"
5528 * format.C: more Alert cleanups
5530 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5532 * text2.C (removeParagraph): make it take a RowList::iterator as
5534 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5535 (postRowPaint): make it take a RowList::iterator as arg, adjust.
5537 * text.C (anchor_row): make it take a RowList::iterator as arg,
5539 (computeBidiTables): make it take a const reference to Row instead
5540 of Row pointer, adjust.
5541 (leftMargin): make it take a RowList::iterator as arg, adjust.
5542 (rowBreakPoint): adjust
5543 (breakAgainOneRow): make it take a RowList::iterator as arg,
5545 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5547 * bufferview_funcs.C (toggleAndShow): adjust
5549 2003-03-30 John Levon <levon@movementarian.org>
5553 * boost-inst.C: moved to support
5555 * several files: changes as a result
5557 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5559 * text2.C (LyXText): adjust.
5561 (removeRow): make it take a RowList::iterator as arg, adjust.
5562 (fullRebreak): adjust
5563 (deleteEmptyParagraphMechanism): adjust
5564 (clearPaint): adjust
5567 * text.C (top_y): adjust
5568 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5569 (breakAgain): make it take a RowList::iterator as arg, adjust.
5570 (breakParagraph): adjust
5571 (insertChar): adjust
5574 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5575 need_break_row, and refresh_row.
5577 * text3.C (dispatch): adjust
5579 * text2.C (checkParagraph): adjust
5581 (setCursorFromCoordinates): adjust
5583 * text.C (top_y): adjust
5585 (getRow): make it return a RowList::iterator, adjust
5586 (getRowNearY): make it return a RowList::iterator, adjust
5588 * text2.C (init): adjust
5589 (insertRow): remove function
5590 (insertParagraph): adjust
5591 (redoParagraphs): adjust
5592 (fullRebreak): adjust
5593 (updateCounters): adjust
5595 * text.C (top_y): rewrite to use RowList iterators.
5597 (setHeightOfRow): rewrite to sue RowList iterators.
5598 (appendParagraph): adjust
5599 (breakAgain): adjust
5600 (breakAgainOneRow): adjust
5601 (breakParagraph): adjust
5603 (getRowNearY): adjust, and remove commented code.
5605 * lyxtext.h (firstRow): delete function
5606 (lastRow): delete function
5607 (rows): new function (const and non-const versions.)
5608 (insertRow): delete function
5610 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5612 2003-03-29 John Levon <levon@movementarian.org>
5614 * BufferView_pimpl.C: always update scrollbar top
5615 because pasting text when we're anchored could mean we
5616 miss an update altogether
5618 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5620 * text2.C (init): use rowlist_.end() and not 0.
5621 (insertRow): change to take a RowList::iterator as arg, adjust
5623 (insertParagraph): change to take a RowList::iterator as arg,
5625 (redoParagraphs): remove some debug msgs.
5627 * text.C (appendParagraph): change to take a RowList::iterator
5628 arg, adjust for this.
5629 (breakAgain): add an assert
5630 (breakAgainOneRow): ditto
5632 2003-03-29 John Levon <levon@movementarian.org>
5634 * text2.C: do not clear selection after inc/decDepth
5637 2003-03-29 John Levon <levon@movementarian.org>
5640 * buffer.C: fix broken strerrors according to Lars
5642 2003-03-29 John Levon <levon@movementarian.org>
5644 * converters.C: more Alert cleanups
5646 2003-03-29 John Levon <levon@movementarian.org>
5648 * bufferview_funcs.C: remove pointless Alert
5650 * buffer.C: fix confusing error message when
5651 a template is chmoded 000
5653 2003-03-29 John Levon <levon@movementarian.org>
5657 * BufferView_pimpl.C: Alert fixes
5661 * tabular-old.C: remove unused table compat reading
5663 2003-03-29 John Levon <levon@movementarian.org>
5668 * lyx_cb.C: more Alert cleanups
5670 * lyxfunc.C: don't allow chktex if not latex document
5672 2003-03-29 John Levon <levon@movementarian.org>
5676 * buffer.C: warnings pushed down from support/,
5679 2003-03-29 John Levon <levon@movementarian.org>
5681 * lyxfunc.C: safety check for C-r (revert)
5683 2003-03-29 John Levon <levon@movementarian.org>
5686 * bufferlist.C: several UI fixes using Alert::prompt.
5687 Fix the pointless looping quit code. Fix stupid revert
5692 * lyx_cb.C: use Alert::prompt
5694 * lyx_main.C: remove a silly question
5696 * lyxfunc.C: remove a couple of silly questions,
5699 2003-03-28 John Levon <levon@movementarian.org>
5701 * text2.C: fix bug 974 (End on empty par)
5703 2003-03-28 John Levon <levon@movementarian.org>
5705 * BufferView_pimpl.C:
5707 * lfuns.h: remove do-nothing math greek lfuns
5709 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5711 * lyxgluelength.h (isValidGlueLength): add default arg on
5712 parameter 2. Remove default arg from friend in class.
5714 * lyxlength.h (isValidLength): add default arg on parameter 2.
5715 Remove default arg from friend in class.
5717 * text2.C (LyXText): adjust, initialize refresh_row.
5721 (insertParagraph): adjst
5722 (redoParagraphs): adjust
5723 (fullRebreak): adjust
5724 (updateCounters): adjust
5725 (deleteEmptyParagraphMechanism): first attempt at fixing a
5728 * text.C (top_y): adjust
5729 (setHeightOfRow): adjust
5731 (getRowNearY): adjust
5733 * lyxtext.h: include RowList.h
5734 (~LyXText): not needed anymore, deleted.
5735 (firstRow): modify for RowList
5736 (lastRow): new function
5737 Delete firstrow and lastrow class variables, add a Rowlist
5738 rowlist_ class variable.
5740 * lyxrow.C (lastPos): use empty() and not !size() to check if a
5743 * RowList.C (insert): fix case where it == begin().
5745 2003-03-26 Angus Leeming <leeming@lyx.org>
5747 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5748 the thesaurus dialog.
5750 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5752 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5754 * RowList.[Ch]: new files
5756 * ParagraphList.C (erase): handle the case where it == begin
5759 2003-03-25 John Levon <levon@movementarian.org>
5763 * aspell.C: add new aspell support
5766 * lyxrc.C: Make use_pspell be use_spell_lib. Always
5769 2003-03-25 Angus Leeming <leeming@lyx.org>
5772 * LyXAction.C (init): new LFUN_INSET_INSERT.
5774 * BufferView_pimpl.C (dispatch): split out part of the
5775 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5777 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5780 2003-03-25 Angus Leeming <leeming@lyx.org>
5782 * lyxfunc.C (dispatch): changes to the Dialogs interface.
5784 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
5787 * text3.C: remove useless row->height(0)
5789 2003-03-25 John Levon <levon@movementarian.org>
5793 * text3.C: rename the refreshing stuff to better names
5795 2003-03-24 John Levon <levon@movementarian.org>
5797 * BufferView_pimpl.h:
5798 * BufferView_pimpl.C: update layout choice on a mouse
5801 2003-03-23 John Levon <levon@movementarian.org>
5803 * Makefile.am: fix commandtags.h reference
5805 2003-03-22 John Levon <levon@movementarian.org>
5807 * BufferView_pimpl.C:
5812 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5814 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
5817 * text.C: take the rtl methods out of line
5819 2003-03-21 André Pönitz <poenitz@gmx.net>
5821 * metricsinfo.[Ch]: new files containing structures to be passed around
5822 during the two-phase-drawing...
5824 2003-03-21 André Pönitz <poenitz@gmx.net>
5826 * lyxtextclass.C: read 'environment' tag.
5828 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
5830 * text2.C (removeRow): fix bug 964
5832 2003-03-20 John Levon <levon@movementarian.org>
5836 * text2.C: paint cleanups. Inset::update() dropped font
5839 2003-03-19 John Levon <levon@movementarian.org>
5841 * lyxfunc.C: only fitcursor/markDirty if available()
5843 2003-03-19 John Levon <levon@movementarian.org>
5845 * commandtags.h: rename to ...
5847 * lfuns.h: ... this, and renumber / cleanup
5849 2003-03-19 John Levon <levon@movementarian.org>
5851 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5852 fit the cursor after an lfun
5856 * BufferView_pimpl.h:
5857 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5859 * LyXAction.C: layout-character should have ReadOnly
5861 * ParagraphParameters.C:
5863 * bufferview_funcs.C:
5870 * undo_funcs.C: changes from above
5872 2003-03-18 John Levon <levon@movementarian.org>
5874 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5875 remove it from update()
5877 * lyxfunc.C: update layout choice after an lfun
5879 * text3.C: remove extra updateLayoutChoice()s
5881 2003-03-18 John Levon <levon@movementarian.org>
5883 * text.C: top_y change means full repaint, fix
5884 a drawing bug with cursor movement
5886 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5890 * text2.C: anchor row on setCursor
5892 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5894 * lyxtext.h: remove almost all mutable keywords
5897 * text3.C: remove const keywords accordingly
5899 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5901 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5903 (TeXEnvironment): ditto
5906 2003-03-17 John Levon <levon@movementarian.org>
5908 * text.C (rowBreakPoint): remove attempt to fix displayed
5909 math insets inside a manual label
5911 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5913 * lyxtext.h: remove BufferView* as first arg from almost all class
5915 * other files: adjust.
5917 2003-03-17 John Levon <levon@movementarian.org>
5921 * text2.C: more paint cleanups
5923 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5926 * rowpainter.C: remove "smart" background painting code
5928 2003-03-16 John Levon <levon@movementarian.org>
5933 * text3.C: add helper functions for setting refresh_row/y
5935 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
5937 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5938 newline inset which *can* get inserted in the pass_thru layouts.
5939 This is primarily for literate documents.
5941 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
5943 * buffer.C: increment LYX_FORMAT to 223
5945 2003-03-14 André Pönitz <poenitz@gmx.net>
5947 * textclass.h: prepare for environment handling, ws changes
5948 * lyxlayout.C: read latexheader and latexfooter tags
5950 2003-03-14 John Levon <levon@movementarian.org>
5952 * text2.C: rewrite ::status() a bit
5954 2003-03-13 John Levon <levon@movementarian.org>
5956 * lyxtext.h: add some docs
5958 2003-03-13 John Levon <levon@movementarian.org>
5963 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5965 2003-03-13 John Levon <levon@movementarian.org>
5967 * text3.C: fix appendix redrawing
5969 2003-03-13 John Levon <levon@movementarian.org>
5971 * text.C (setHeightOfRow):
5973 * rowpainter.C: make appendix mark have the text
5974 "Appendix" so the user knows what it is
5977 * LColor.C: s/appendixline/appendix/ from above
5979 2003-03-13 John Levon <levon@movementarian.org>
5981 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5983 * text.C: fix a getChar(pos) bug properly
5985 2003-03-13 Angus Leeming <leeming@lyx.org>
5988 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5989 Probably only temporary. Let's see how things pan out.
5991 * BufferView.C (unlockInset):
5992 * BufferView_pimpl.C (fitCursor):
5993 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5995 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5996 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5998 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5999 new functions that convert ParagraphParameters to and from a string.
6001 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6002 BufferView::Pimpl's dispatch.
6003 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6005 2003-03-13 André Pönitz <poenitz@gmx.net>
6009 * factory.C: make it aware of InsetEnv
6011 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6013 * text2.C (setCursor): never ask for one past last
6014 (setCursor): add some debugging messages.
6016 * text.C (singleWidth): never ask for one past last
6017 (singleWidth): ditto
6019 (rightMargin): ditto
6020 (rowBreakPoint): ditto
6021 (setHeightOfRow): ditto
6022 (prepareToPrint): ditto
6024 * rowpainter.C (paintBackground): never ask for one past last
6025 (paintText): never ask for one past last
6027 * paragraph_pimpl.C (getChar): make the assert stricter, never
6028 allow the one past last pos to be taken
6030 * paragraph.C (getChar): ws changes only
6032 * lyxrow.C (nextRowIsAllInset): never ask for one past last
6033 (numberOfSeparators): ditto
6034 (numberOfHfills): ditto
6036 2003-03-12 John Levon <levon@movementarian.org>
6042 * paragraph_funcs.C: fix per-buffer authorlists
6044 2003-03-12 John Levon <levon@movementarian.org>
6046 * text.C: fix newline in right address
6048 2003-03-12 Angus Leeming <leeming@lyx.org>
6050 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6051 duplicate those in LyXFunc::dispatch.
6055 * ToolbarDefaults.C:
6056 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6057 Add LFUN_FONTFREE_UPDATE.
6059 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6060 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6062 * bufferview_func.[Ch]: several new functions to facilliate
6063 transfer of data to and from the character dialog.
6065 2003-03-12 John Levon <levon@movementarian.org>
6070 * paragraph_funcs.C:
6071 * paragraph_pimpl.C:
6075 * text3.C: remove META_NEWLINE in favour of an inset
6078 * rowpainter.C: remove paintNewline (done by inset)
6080 2003-03-12 John Levon <levon@movementarian.org>
6082 * paragraph_pimpl.C: complain about bad getChar()s
6083 for a while at least
6085 2003-03-12 John Levon <levon@movementarian.org>
6088 * buffer.C: move paragraph read into a separate function,
6089 a little renaming to reflect that.
6092 * bufferparams.C: remove the author_ids map, not necessary now
6095 * factory.C: moved Buffer::readInset to here
6097 * paragraph_funcs.h:
6098 * paragraph_funcs.C: readParagraph free function moved from
6101 * tabular.C: name change
6103 2003-03-12 John Levon <levon@movementarian.org>
6106 * ParagraphParameters.C: move par params input to
6109 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6110 behave like a normal read from the stream wrt reading
6111 a line vs. a \\token
6113 2003-03-12 John Levon <levon@movementarian.org>
6116 * ParagraphParameters.h:
6117 * ParagraphParameters.C: move output code to a
6120 2003-03-12 John Levon <levon@movementarian.org>
6122 * BufferView.C (insertLyXFile):
6125 * tabular.C: use a parlist iterator for creating the
6128 2003-03-12 John Levon <levon@movementarian.org>
6130 * buffer.C: make current_change static local not
6133 2003-03-12 John Levon <levon@movementarian.org>
6135 * buffer.C: fix insertStringAsLines for change tracking
6137 2003-03-12 John Levon <levon@movementarian.org>
6144 * bufferparams.C: move author list into params. Rename some
6145 functions. Move the header reading into a separate token
6146 loop. Move the header token reading into BufferParams.
6148 2003-03-12 John Levon <levon@movementarian.org>
6150 * changes.C: put debug inside lyxerr.debugging() checks
6152 2003-03-11 André Pönitz <poenitz@gmx.net>
6154 * factory.C: make it aware of InsetHFill
6156 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6158 * buffer.C (latexParagraphs): move function from here...
6159 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6162 2003-03-10 Angus Leeming <leeming@lyx.org>
6164 * LyXAction.C (init): fix bug in poplating array with multiple entries
6165 with the same LFUN (spotted by JMarc).
6167 2003-03-10 John Levon <levon@movementarian.org>
6170 * text2.C: move getColumnNearX() near its
6173 2003-03-10 John Levon <levon@movementarian.org>
6175 * text.C: fix break before a minipage
6177 2003-03-10 John Levon <levon@movementarian.org>
6179 * text.C: fix the last commit
6181 2003-03-09 John Levon <levon@movementarian.org>
6185 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6186 bug 365 (don't break before insets unless needed). Don't
6187 return a value > last under any circumstances.
6189 2003-03-09 Angus Leeming <leeming@lyx.org>
6191 * BufferView_pimpl.C (trackChanges, dispatch): call
6192 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6194 2003-03-09 Angus Leeming <leeming@lyx.org>
6196 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6197 than Dialogs::showAboutlyx().
6199 2003-03-09 Angus Leeming <leeming@lyx.org>
6201 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6202 than Dialogs::showTabularCreate().
6204 2003-03-09 John Levon <levon@movementarian.org>
6208 * text2.C: 3rd arg to nextBreakPoint was always the same.
6211 2003-03-08 John Levon <levon@movementarian.org>
6218 * text2.C: Remove the "main" bit from the "main body"
6221 2003-03-08 John Levon <levon@movementarian.org>
6223 * text.C (leftMargin): The left margin of an empty
6224 manual label paragraph should not include the label width
6227 * text.C (prepareToPrint): don't attempt to measure hfills
6228 for empty manual label paragraphs - the answer should be 0
6230 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6232 * CutAndPaste.C: remove commented code and reindent.
6234 2003-03-08 John Levon <levon@movementarian.org>
6237 * lyxfunc.C: move reloadBuffer()
6240 * BufferView.C: to here
6242 * lyxvc.C: add comment
6245 * vc-backend.C: call bv->reload() to avoid
6246 getStatus() check on MENURELOAD
6248 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
6250 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6251 to an old format .dep file.
6253 2003-03-07 Angus Leeming <leeming@lyx.org>
6255 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6256 when the LFUN_MOUSE_RELEASE should have been handled by
6257 inset->localDispatch.
6259 2003-03-07 Angus Leeming <leeming@lyx.org>
6261 * BufferView_pimpl.C (dispatch):
6262 * LyXAction.C (init):
6263 * ToolbarDefaults.C (init):
6265 * lyxfunc.C (getStatus):
6266 remove LFUN_INSET_GRAPHICS.
6268 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6270 2003-03-07 Angus Leeming <leeming@lyx.org>
6273 * LyXAction.C (init):
6274 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6276 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6279 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6281 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6282 localDispatch method LFUN_INSET_DIALOG_UPDATE.
6284 2003-03-07 Angus Leeming <leeming@lyx.org>
6286 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6289 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6291 * ParagraphList.C (front): new function
6294 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
6296 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6297 and top_row_offset_. removed var first_y.
6299 * text2.C (LyXText, removeRow):
6301 * BufferView_pimpl.C:
6302 use these methods instead of using first_y
6304 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6306 * text2.C (pasteSelection): adjust for checkPastePossible
6308 * CutAndPaste.C: remove Paragraph * buf and replace with
6309 ParagraphList paragraphs.
6310 (DeleteBuffer): delete
6311 (cutSelection): change the tc type to textclass_type
6312 (copySelection): change the tc type to textclass_type
6313 (copySelection): adjust for ParagraphList
6314 (pasteSelection): change the tc type to textclass_type
6315 (pasteSelection): adjust for Paragraphlist
6316 (nrOfParagraphs): simplify for ParagraphList
6317 (checkPastePossible): simplify for ParagraphList
6318 (checkPastePossible): remove unused arg
6320 * ParagraphList.C (insert): handle the case where there are no
6323 * CutAndPaste.h: make CutAndPaste a namespace.
6325 * text3.C (dispatch): adjust
6327 * text.C (breakParagraph): add a ParagraphList as arg
6329 * paragraph_funcs.C (breakParagraph): change to take a
6330 BufferParams and a ParagraphList as args.
6331 (breakParagraphConservative): ditto
6332 (mergeParagraph): ditto
6333 (TeXDeeper): add a ParagraphList arg
6334 (TeXEnvironment): ditto
6337 * buffer.C (readLyXformat2): adjust
6338 (insertStringAsLines): adjust
6339 (latexParagraphs): adjust
6341 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6342 (cutSelection): adjust
6343 (pasteSelection): adjust
6345 * BufferView_pimpl.C (insertInset): adjust
6347 2003-03-05 Angus Leeming <leeming@lyx.org>
6350 * LyXAction.C (init):
6351 * BufferView_pimpl.C (dispatch):
6352 * lyxfunc.C (getStatus):
6353 remove LFUN_CHILD_INSERT.
6355 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6357 2003-03-05 Angus Leeming <leeming@lyx.org>
6360 * LyXAction.C (init):
6361 * src/factory.C (createInset):
6362 * lyxfunc.C (getStatus):
6363 * text3.C (dispatch):
6364 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6366 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6368 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6370 * ParagraphList.C (insert): handle insert right before end()
6371 (erase): fix cases where it can be first or last paragraph.
6373 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6375 * paragraph_funcs.C (TeXEnvironment): remove all usage of
6376 Paragraph::next and Paragraph::previous
6379 * text.C (breakParagraph): adjust
6381 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6382 BufferParams& as arg.
6383 (breakParagraph): use ParagraphList::insert
6384 (breakParagraphConservative): take a Buffer* instead of a
6385 BufferParams& as arg.
6386 (breakParagraphConservative): use ParagraphList::insert.
6388 * buffer.C (insertStringAsLines): un-const it
6389 (insertStringAsLines): adjust
6391 * ParagraphList.C (insert): new function
6393 * CutAndPaste.C (pasteSelection): adjust
6395 * text.C (backspace): adjust
6397 * tabular.C (SetMultiColumn): adjust
6399 * CutAndPaste.C (cutSelection): adjust
6400 (pasteSelection): adjust
6402 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6403 Buffer const * as arg
6405 * ParagraphList.C (erase): new function
6406 * paragraph_funcs.C (mergeParagraph): use it
6407 (mergeParagraph): make it take a Buffer* instead of a
6408 BufferParams* as arg
6410 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6412 (breakParagraphConservative): ditto
6414 * paragraph.h: remove the breakParagraph friend
6416 * paragraph.C (eraseIntern): new function
6417 (setChange): new function
6419 * paragraph_funcs.C (mergeParagraph): make it take a
6420 ParagraphList::iterator instead of a Paragraph *, adjust
6423 * paragraph.h: move an #endif so that the change tracking stuff
6424 also works in the NO_NEXT case.
6426 2003-03-04 Angus Leeming <leeming@lyx.org>
6429 * LyXAction.C: new LFUN_INSET_MODIFY.
6431 * BufferView_pimpl.C (dispatch): if an inset is found to be open
6432 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6434 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6436 * several files: ws changes only
6438 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6439 (TeXEnvironment): ditto
6442 * buffer.C (makeLaTeXFile): adjust
6443 (latexParagraphs): make it take ParagraphList::iterator as args
6445 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6447 * buffer.C (latexParagraphs): adjust
6449 * paragraph.C (TeXOnePar): move function...
6450 (optArgInset): move function...
6451 (TeXEnvironment): move function...
6452 * paragraph_pimpl.C (TeXDeeper): move function...
6453 * paragraph_funcs.C: ...here
6455 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6457 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6459 * buffer.C (readInset): remove compability code for old Figure and
6462 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6464 * buffer.C: ws changes
6467 * BufferView_pimpl.C: ditto
6470 * bufferlist.h: ditto
6474 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
6476 * converter.[Ch]: split into itself +
6479 * Makefile.am: += graph.[Ch] + format.[Ch]
6486 * lyxrc.C: added #include "format.h"
6488 2003-02-27 Angus Leeming <leeming@lyx.org>
6490 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6493 * factory.C (createInset): add "label" to the factory.
6495 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6496 string and do no more.
6498 2003-02-27 Angus Leeming <leeming@lyx.org>
6501 * LyXAction.C (init):
6502 * factory.C (createInset):
6503 * BufferView_pimpl.C (dispatch):
6504 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6506 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6508 * lyxfunc.C (dispatch):
6509 * text3.C (dispatch): pass name to params2string.
6511 2003-02-26 Angus Leeming <leeming@lyx.org>
6513 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6515 Rearrange the ~includes. Strip out the unnecessary ones.
6517 * factory.C (createInset): reformat.
6518 create new insets for the various LFUN_XYZ_APPLY lfuns.
6520 2003-02-26 John Levon <levon@movementarian.org>
6523 * lyxrow.C: add isParStart,isParEnd helpers
6525 * paragraph.h: make isInserted/DeletedText take refs
6527 * paragraph_funcs.h:
6528 * paragraph_funcs.C: remove #if 0'd code
6533 * text.C: use lyxrow helpers above.
6534 Move draw and paint routines to RowPainter.
6535 Make several methods use refs not pointers.
6536 Make backgroundColor() const.
6537 Add markChangeInDraw(), isInInset().
6538 Merge changeRegionCase into changeCase.
6539 Make workWidth() shouldn't-happen code into an Assert.
6542 * rowpainter.C: new class for painting a row.
6545 * vspace.C: make inPixels take a ref
6547 2003-02-26 Angus Leeming <leeming@lyx.org>
6549 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6552 2003-02-25 John Levon <levon@movementarian.org>
6554 * ispell.C: give the forked command a more accurate name
6556 2003-02-22 John Levon <levon@movementarian.org>
6559 * toc.C: make TocItem store an id not a Paragraph *
6562 2003-02-21 Angus Leeming <leeming@lyx.org>
6564 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6565 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6566 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6567 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6568 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6569 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6571 * BufferView_pimpl.C (dispatch):
6572 * LyXAction.C (init):
6573 * factory.C (createInset):
6574 * lyxfunc.C (getStatus, dispatch):
6575 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6577 2003-02-21 Angus Leeming <leeming@lyx.org>
6579 * BufferView_pimpl.C (MenuInsertLyXFile):
6580 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6581 * lyxfunc.C (menuNew, open, doImport):
6582 no longer pass a LyXView & to fileDlg.
6584 2003-02-21 Angus Leeming <leeming@lyx.org>
6586 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6587 * LyXAction.C: change, BIBKEY to BIBITEM.
6588 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6589 Change InsetBibKey to InsetBibitem.
6590 Change BIBKEY_CODE to BIBITEM_CODE.
6591 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6592 * factory.C: replace insetbib.h with insetbibitem.h.
6593 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6594 * paragraph.C: replace insetbib.h with insetbibitem.h.
6595 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6596 Change bibkey() to bibitem().
6597 * text.C: remove insetbib.h.
6598 * text2.C: replace insetbib.h with insetbibitem.h.
6599 change bibkey() to bibitem().
6600 * text3.C: remove insetbib.h.
6601 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6603 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6605 * lyxrc.C (output): enclose user email in quotes (in case there are
6608 2003-02-18 John Levon <levon@movementarian.org>
6610 * buffer.h: add std::
6612 2003-02-17 John Levon <levon@movementarian.org>
6618 * pspell.C: reworking. Especially in ispell, a large
6619 number of clean ups and bug fixes.
6621 * lyxfunc.C: fix revert to behave sensibly
6623 2003-02-17 André Pönitz <poenitz@gmx.net>
6626 * commandtags.h: new LFUN_INSERT_BIBKEY
6636 * paragraph_func.C: remove special bibkey handling
6638 2003-02-17 John Levon <levon@movementarian.org>
6640 * text.C (Delete): fix case where delete at the end of
6641 the very first paragraph would not merge the pars
6643 2003-02-17 John Levon <levon@movementarian.org>
6645 * lyxrow.C: fix lastPrintablePos()
6647 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6649 * bufferparams.C (writeLaTeX): add a std:here
6651 * buffer.C: and remove a using directive there
6653 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6655 * buffer.C (makeLaTeXFile): move the code that generates the
6658 * bufferparams.C (writeLaTeX): ... in this new method
6660 * LaTeXFeatures.C (getEncodingSet): make const
6661 (getLanguages): make const
6663 * MenuBackend.C (binding): returns the binding associated to this
6665 (add): sets the status of each item by calling getStatus. Adds
6667 (read): add support for OptSubMenu
6668 (expand): remove extra separator at the end of expanded menu
6670 2003-02-15 John Levon <levon@movementarian.org>
6673 * BufferView_pimpl.C:
6675 * bufferlist.C: remove pointless BufferStorage bloat. Remove
6676 inset code that had no actual effect. Remove unneeded status
6679 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6681 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6684 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
6686 * text.C (drawLengthMarker): also draw an arrow marker for
6687 symbolic lengths (medskip...)
6689 2003-02-14 John Levon <levon@movementarian.org>
6692 * tabular.C: better method names
6694 2003-02-14 John Levon <levon@movementarian.org>
6696 * BufferView_pimpl.C:
6701 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6702 it's a more accurate name. Remove some pointless uses.
6704 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6706 * text2.C (LyXText): change order of initilizers to shut off
6709 2003-02-14 John Levon <levon@movementarian.org>
6711 * buffer.C: use ParIterator for getParFromID()
6715 * paragraph_pimpl.h:
6716 * paragraph_pimpl.C: remove unused getParFromID()
6718 2003-02-14 John Levon <levon@movementarian.org>
6720 * buffer.C: remove some very old #if 0'd parse code
6722 2003-02-13 John Levon <levon@movementarian.org>
6726 * text2.C: move hfillExpansion(), numberOfSeparators(),
6727 rowLast(), rowLastPrintable(), numberofHfills(),
6728 numberOfLabelHfills() ...
6731 * lyxrow.C: ... to member functions here.
6736 * text.C: remove LyXText::beginningOfMainBody(), and call
6737 p->beginningOfMainBody() directly. Move the check for
6738 LABEL_MANUAL into the latter.
6745 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6751 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6752 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6754 2003-02-13 John Levon <levon@movementarian.org>
6756 * CutAndPaste.C: remove debug
6758 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6760 * paragraph.C (asString): remove two unused variables
6762 * lyxtextclass.C (readTitleType):
6764 (LyXTextClass): handle new members titletype_ and titlename_
6766 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6768 2003-02-09 John Levon <levon@movementarian.org>
6771 * buffer.C: replace hand-coded list with a map for the dep clean
6773 2003-02-08 John Levon <levon@movementarian.org>
6775 * LaTeX.C: consolidate code into showRunMessage() helper
6777 2003-02-08 John Levon <levon@movementarian.org>
6782 * BufferView.C: change setSelectionOverString() to setSelectionRange()
6783 and pass the size in explicitly
6785 * BufferView_pimpl.h:
6786 * BufferView_pimpl.C:
6788 * BufferView.C: add getCurrentChange()
6790 * BufferView_pimpl.h:
6791 * BufferView_pimpl.C: handle change lfuns
6793 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6794 for changes. Mark pasted paragraphs as new.
6796 * support/lyxtime.h:
6797 * support/lyxtime.C:
6798 * DepTable.C: abstract time_t as lyx::time_type
6801 * LColor.C: add colours for new text, deleted text, changebars
6803 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6804 package use "usenames" option.
6808 * LyXAction.C: add change lfuns
6812 * author.C: author handling
6815 * buffer.C: add a per-buffer author list, with first entry as
6816 current author. Handle new .lyx tokens for change tracking. Output
6817 author list to .lyx file. Output dvipost stuff to .tex preamble.
6818 Bump lyx format to 222.
6821 * bufferlist.C: add setCurrentAuthor() to reset current author details
6825 * bufferparams.C: add param for tracking
6827 * bufferview_funcs.C: output change info in minibuffer
6831 * changes.C: add change-tracking structure
6834 * debug.C: add CHANGES debug flag
6837 * lyxfind.C: add code for finding the next change piece
6840 * lyxrc.C: add user_name and user_email
6843 * lyxrow.C: add a metric for the top of the text line
6846 * text.C: implement accept/rejectChange()
6849 * text.C: paint changebars. Paint new/deleted text in the chosen
6850 colours. Strike through deleted text.
6854 * paragraph_pimpl.h:
6855 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6856 in the current change to the insert functions. Rework erase to
6857 mark text as deleted, adding an eraseIntern() and a range-based
6858 erase(). Implement per-paragraph change lookup and
6861 * paragraph_funcs.C: Fixup paste for change tracking.
6863 * tabular.C: mark added row/columns as new.
6865 * text.C: fix rowLast() to never return -1. Don't allow
6866 spellchecking of deleted text. Track transpose changes. Don't
6867 allow paragraph break or merge where appropriate.
6869 * text2.C: leave cursor at end of selection after a cut.
6871 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6873 * text.C (getLengthMarkerHeight):
6874 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6875 visible on screen too.
6877 2003-02-07 John Levon <levon@movementarian.org>
6879 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6881 2003-02-05 Angus Leeming <leeming@lyx.org>
6883 * lyxserver.C (read_ready): revert my patch of 11 September last year
6884 as it sends PC cpu through the roof. Presumably this means that
6885 the lyxserver will no longer run on an Alpha...
6887 2003-01-30 Angus Leeming <leeming@lyx.org>
6889 * factory.C (createInset): create an InsetCommandParam of type "index"
6890 and use it to 'do the right thing'.
6892 * text2.C (getStringToIndex): ensure that cursor position is always
6893 reset to the reset_cursor position.
6895 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6897 * lyxfunc.C (getStatus): "buffer-export custom" should never be
6900 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
6904 * lyxfunc.C: Output messages with identical spelling, punctuation,
6907 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
6909 * MenuBackend.C (expandFormats): List only viewable export formats
6912 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6915 * lyxfunc.C (getStatus): Make sure that formats other than
6916 "fax" can also be disabled
6918 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6920 * text3.C (dispatch): put the lfuns that insert insets in 3
6921 groups, and call doInsertInset with appropriate arguments.
6922 (doInsertInset): new function, that creates an inset and inserts
6923 it according to some boolean parameters.
6925 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6927 * buffer.C (readFile): remember to pass on 'par' when calling
6928 readFile recursively.
6930 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6932 * MenuBackend.C (expandFormats): add "..." to import formats.
6934 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
6936 * paragraph.C (asString): Remove XForms RTL hacks.
6938 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
6939 * buffer.C: fix typo
6941 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6943 * Makefile.am (LIBS): delete var
6944 (lyx_LDADD): add @LIBS@ here instead.
6946 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
6948 * Clarify the meaning of "wheel mouse jump"
6950 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6952 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6955 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6957 * importer.C (Loaders): do not preallocate 3 elements in the
6958 vector, since one ends up with 6 elements otherwise
6960 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6962 * DepTable.C (write): write the file name as last element of the
6963 .dep file (because it may contain spaces)
6964 (read): read info in the right order
6966 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6968 * paragraph_pimpl.C (simpleTeXBlanks):
6969 (simpleTeXSpecialChars):
6970 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6972 * tabular.C (latex): add some missing case statements. Reindent.
6974 * MenuBackend.C (expandToc): remove unused variable.
6976 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
6985 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6988 2003-01-05 John Levon <levon@movementarian.org>
6991 * BufferView.C: add getEncoding()
6994 * kbsequence.C: do not store last keypress
6997 * lyxfunc.C: store last keypress here instead. Pass encoding
7000 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7002 * lyx_main.C (init): remove annoying error message when following
7003 symbolic links (bug #780)
7005 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7007 * text.C (insertChar):
7008 * lyxrc.C (getDescription): remove extra spaces
7010 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7012 * lyxrc.C (getDescription): remove extra spaces
7014 2002-12-20 John Levon <levon@movementarian.org>
7016 * text3.C: hack fix for page up/down across tall rows
7018 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7020 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7023 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7025 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7026 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7027 thesaurus is not compiled in
7029 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
7031 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
7033 2002-12-16 Angus Leeming <leeming@lyx.org>
7036 * lyx_main.C (init): remove override_x_deadkeys stuff.
7038 2002-12-12 John Levon <levon@movementarian.org>
7040 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7041 insert. Only remove shift modifier under strict
7044 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7046 * MenuBackend.C (expandToc): fix crash.
7048 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7050 * MenuBackend.C (expandToc): gettext on float names.
7052 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7054 * lyxlength.[Ch]: set default unit to UNIT_NONE,
7055 implement bool empty() [bug 490]
7057 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7059 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7061 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7063 * several files: ws changes
7065 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7067 * text2.C (setCounter): clean up a bit, use boost.format.
7068 (updateCounters): initialize par upon declaration.
7070 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7071 if the layout exists. We do not just store the layout any more.
7072 (SwitchLayoutsBetweenClasses): use boost.format
7074 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7076 * converter.C (convert): if from and to files are the same, use a
7077 temporary files as intermediary
7079 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7082 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7084 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
7086 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7088 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7090 * tabular.C (asciiPrintCell): use string(size, char) instead of
7093 * sgml.C (openTag): fix order of arguments to string constructor
7096 * lyxfunc.C (dispatch): use boost.format
7098 * lots of files: change "c" -> 'c'
7100 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
7102 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7104 2002-11-25 Angus Leeming <leeming@lyx.org>
7106 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7108 * lyx_main.C (init): compile fix.
7110 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7112 * lyx_cb.C (start): boost.formatify
7113 do not include <iostream>
7115 * lengthcommon.C: ws only
7117 * boost-inst.C,BoostFormat.h: add more explict instantations
7119 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7121 * lots of files: handle USE_BOOST_FORMAT
7123 2002-11-21 John Levon <levon@movementarian.org>
7125 * pspell.C: fix compile
7127 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7129 * lyxfunc.C (dispatch): use boost::format
7133 * lyxfont.C (stateText): use boost::format
7135 * lyx_main.C (LyX): use boost::format
7137 (queryUserLyXDir): ditto
7140 (typedef boost::function): use the recommened syntax.
7142 * importer.C (Import): use boost::format
7144 * debug.C (showLevel): use boost::format
7146 * converter.C (view): use boost::format
7151 * bufferview_funcs.C (currentState): use boost::format
7153 * bufferlist.C (emergencyWrite): use boost::format
7155 * buffer.C (readLyXformat2): use boost::format
7156 (parseSingleLyXformat2Token): ditto
7158 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7160 * LaTeX.C (run): use boost::format
7162 * Chktex.C (scanLogFile): use boost::format
7164 * BufferView_pimpl.C (savePosition): use boost::format
7165 (restorePosition): ditto
7166 (MenuInsertLyXFile): ditto
7168 * BoostFormat.h: help file for explicit instation.
7170 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
7172 * tabular.C (latex): Support for block alignment in fixed width
7175 2002-11-17 John Levon <levon@movementarian.org>
7177 * BufferView_pimpl.C:
7179 * lyxfunc.C: split filedialog into open/save
7181 2002-11-08 Juergen Vigna <jug@sad.it>
7183 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7184 by my last patch (hopefully).
7186 2002-11-08 John Levon <levon@movementarian.org>
7195 * toc.C: ParConstIterator, and use it (from Lars)
7197 2002-11-07 Ben Stanley <bds02@uow.edu.au>
7199 * lyxtextclass.[Ch]: revise and add doxygen comments
7201 2002-11-07 John Levon <levon@movementarian.org>
7203 * text.C: fix progress value for spellchecker
7205 * toc.C: fix navigate menu for insetwrap inside minipage
7207 * paragraph_funcs.C: added FIXME for suspect code
7209 2002-11-07 John Levon <levon@movementarian.org>
7211 * BufferView_pimpl.C: fix redrawing of insets
7214 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7216 * text2.C (updateCounters): fix bug 668
7218 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
7220 * text3.C (dispatch): Do not make the buffer dirty when moving the
7223 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7225 * vc-backend.C: STRCONV
7228 * text2.C (setCounter): STRCONV
7230 * paragraph.C (asString): STRCONV
7232 * lyxlength.C (asString): STRCONV
7233 (asLatexString): ditto
7235 * lyxgluelength.C (asString): STRCONV
7236 (asLatexString): ditto
7238 * lyxfunc.C (dispatch): STRCONV
7241 * lyxfont.C (stateText): STRCONV
7243 * importer.C (Import): STRCONV
7245 * counters.C (labelItem): STRCONV
7246 (numberLabel): ditto
7247 (numberLabel): remove unused ostringstream o
7252 * bufferview_funcs.C (currentState): STRCONV
7254 * buffer.C (readFile): STRCONV
7255 (asciiParagraph): ditto
7256 (makeLaTeXFile): ditto
7258 * Spacing.C (writeEnvirBegin): STRCONV
7260 * LaTeXFeatures.C (getLanguages): STRCONV
7261 (getPackages): ditto
7263 (getBabelOptions): ditto
7264 (getTClassPreamble): ditto
7265 (getLyXSGMLEntities): ditto
7266 (getIncludedFiles): ditto
7270 (scanAuxFile): ditto
7273 * LString.h: add the STRCONV macros
7275 * BufferView_pimpl.C (savePosition): STRCONV
7276 (restorePosition): ditto
7277 (MenuInsertLyXFile): ditto
7279 * vc-backend.C (scanMaster): change from submatch[...] to
7282 * funcrequest.C: include config.h
7284 * factory.C: include config.h
7286 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7288 * box.C: include config.h
7290 * LaTeX.C (scanAuxFile): change from submatch[...] to
7294 2002-10-25 Angus Leeming <leeming@lyx.org>
7296 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7298 * ispell.[Ch] (setError): new method.
7299 * ispell.C (c-tor): move out child process into new class LaunchIspell.
7300 Use setError() insetead of goto END.
7302 * lyx_cb.C (AutoSave): move out child process into new class
7305 2002-10-30 John Levon <levon@movementarian.org>
7307 * text3.C: make start appendix undoable
7309 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
7311 * lyxlength.C (inPixels): Fix returned value.
7313 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7316 2002-10-24 Angus Leeming <leeming@lyx.org>
7318 * lyxgluelength.h: no need to forward declare BufferParams
7319 or BufferView, so don't.
7321 2002-10-21 John Levon <levon@movementarian.org>
7323 * BufferView.C: menuUndo ->undo, redo
7325 * BufferView.h: document, remove dead, make some methods private
7327 * paragraph_funcs.h:
7328 * paragraph_funcs.C:
7329 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7334 * sgml.C: move sgml open/close tag into sgml.C
7336 * bufferview_funcs.h: unused prototype
7339 * lyxfunc.C: remove unused
7342 * text.C: remove unused
7344 2002-10-21 John Levon <levon@movementarian.org>
7348 * BufferView_pimpl.h:
7349 * BufferView_pimpl.C: fix mouse wheel handling based on
7350 patch from Darren Freeman
7352 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
7354 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7356 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
7358 * lyxlength.C (inPixels): Fix hanfling of negative length.
7359 Fix LyXLength::MU case.
7361 2002-10-16 John Levon <levon@movementarian.org>
7363 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7365 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7367 * converter.C (view): add support for $$i (file name) and $$p
7368 (file path) for the viewer command. If $$i is not specified, then
7369 it is appended to the command (for compatibility with old syntax)
7371 2002-10-14 Juergen Vigna <jug@sad.it>
7373 * undo_funcs.C (textHandleUndo): alter the order in which the
7374 new undopar is added to the LyXText, as we have to set first
7375 the right prev/next and then add it as otherwise the rebuild of
7376 LyXText is not correct. Also reset the cursor to the right paragraph,
7377 with this IMO we could remove the hack in "redoParagraphs()".
7379 2002-10-09 Angus Leeming <leeming@lyx.org>
7381 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7382 to turn off an optimisation if a new inset is to be inserted.
7384 2002-10-11 André Pönitz <poenitz@gmx.net>
7386 * lyxtext.h: make some functions public to allow access
7387 from inset/lyxtext for handling LFUN_PRIOR/NEXT
7389 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7391 * text3.C (dispatch): when changing layout, avoid an infinite loop
7394 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7396 * lyxrc.C (read): treat a viewer or converter command of "none" as
7399 * MenuBackend.C (expandFormats): for an update, also allow the
7400 formats that are not viewable
7402 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7403 script if it is newer than the lyxrc.defaults in user directory
7405 2002-10-07 André Pönitz <poenitz@gmx.net>
7407 * text.C: Vitaly Lipatov's small i18n fix
7409 2002-09-25 Angus Leeming <leeming@lyx.org>
7411 * ispell.h: doxygen fix.
7413 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
7415 * buffer.h (readFile): Add a new argument to the method, to allow
7416 reading of old-format templates.
7418 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
7420 * toc.C (getTocList): Get TOC from InsetWrap.
7422 2002-09-16 John Levon <levon@movementarian.org>
7424 * lyxfunc.C: check tabular for cut/copy too
7426 2002-09-12 John Levon <levon@movementarian.org>
7431 * factory.C: add header
7433 * paragraph_funcs.h:
7434 * paragraph_funcs.C: cleanup
7436 2002-09-11 John Levon <levon@movementarian.org>
7438 * PrinterParams.h: odd/even default to true
7440 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
7442 * PrinterParams.h: update printer parameters for new xforms dialog
7444 2002-09-11 Angus Leeming <leeming@lyx.org>
7446 * lyxserver.C (read_ready): re-write to make it more transparent
7447 and to make it work in coherent fashion under Tru64 Unix.
7449 2002-09-11 André Pönitz <poenitz@gmx.net>
7453 * text3.C: implement LFUN_WORDSEL
7455 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7457 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7458 make floatlist_ a boost::shared_ptr<FloatList>
7460 * lyxtextclass.C: include FloatList.h
7461 (LyXTextClass): initialize floatlist_
7462 (TextClassTags): add TC_NOFLOAT
7463 (Read): match "nofloat" to TC_NOFLOAT and use it.
7464 (readFloat): modify call to floatlist_
7468 * FloatList.[Ch] (FloatList): remove commented out float
7470 (erase): new function
7472 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7474 * MenuBackend.C (expandToc): fix crash when there is no document
7477 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
7479 * many files: Add insetwrap.
7481 2002-09-09 John Levon <levon@movementarian.org>
7483 * text2.C: remove confusing and awkward depth wraparound
7485 2002-09-09 John Levon <levon@movementarian.org>
7487 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7490 * buffer.C: remove getIncludeonlyList()
7493 * lyxfunc.C: remove headers
7495 2002-09-09 Juergen Vigna <jug@sad.it>
7497 * text.C (getColumnNearX): fix form Michael this is most
7498 probably a cut&paste bug.
7500 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7502 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7504 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7505 references, ws changes.
7507 * text2.C (init): update counters after init
7508 (insertParagraph): no need to set counter on idividual paragraphs.
7509 (setCounter): access the counters object in the textclass object
7510 on in the buffer object.
7511 (updateCounters): ditto
7513 * lyxtextclass.C: include counters.h, add variable ctrs_ as
7514 shared_ptr<Counters> to avoid loading counters.h in all
7516 (LyXTextClass): initialize ctrs_
7517 (TextClassTags): add TC_COUNTER, and ...
7518 (Read): use it here.
7519 (CounterTags): new tags
7520 (readCounter): new function
7521 (counters): new funtion
7522 (defaultLayoutName): return a const reference
7524 * counters.C (Counters): remove contructor
7525 (newCounter): remove a couple of unneeded statements.
7526 (newCounter): simplify a bit.
7527 (numberLabel): some small formatting changes.
7529 * buffer.[Ch]: remove all traces of counters, move the Counters
7530 object to the LyXTextClass.
7532 2002-09-06 Alain Castera <castera@in2p3.fr>
7534 * tabular.C: uses \tabularnewline; uses >{...} construct from array
7535 package to set the horizontal alignment on fixed width columns.
7538 * lyx_sty.h: added tabularnewline macro def.
7540 * LaTeXFeatures.C: added NeedTabularnewline macro feature
7542 2002-09-06 John Levon <levon@movementarian.org>
7544 * LyXAction.C: tooltips for sub/superscript
7546 * MenuBackend.C: a bit more verbose
7548 * lyxfunc.C: tiny clean
7550 * undo_funcs.C: document undo_frozen
7552 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7554 * counters.C (Counters): add missing algorithm counter.
7556 * text2.C (setCounter): lookup the counter with layouts latexname
7557 instead of by section number.
7558 (setCounter): use a hackish way to lookup the correct enum
7560 a float name->type change
7561 reset enum couners with counter name directly instead of depth value.
7563 * counters.C (Counters): remove the push_backs, change to use the
7564 float type not the float name.
7565 (labelItem): remove unused string, float name->type change
7567 * counters.h: don't include vector, loose the enums and sects vectors
7569 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7571 * lyxtextclass.C (TextClassTags): add TC_FLOAT
7572 (Read): add float->TC_FLOAT to textclassTags
7573 (Read): and handle it in the switch
7574 (readFloat): new function
7576 * FloatList.C (FloatList): comment out the hardcoded float
7579 * lyxlayout.h: ws change.
7581 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
7583 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7585 2002-09-03 Angus Leeming <leeming@lyx.org>
7587 * BufferView_pimpl.h: qualified name is not allowed in member
7588 declaration: WorkArea & Pimpl::workarea() const;
7590 * factory.C: added using std::endl directive.
7592 * text3.C: added using std::find and std::vector directives.
7594 2002-08-29 André Pönitz <poenitz@gmx.net>
7597 * text2.C: remove unused member number_of_rows
7600 * BufferView2.C: remove file, move contents to...
7601 * BufferView.C: ... here
7603 * BufferView_pimpl.C:
7604 * factory.C: move more inset creation to factory
7606 * vspace.C: avoid direct usage of LyXText, ws changes
7609 don't provide direct access to WorkArea, use two simple
7610 acessors haveSelction() and workHeight() instead
7613 2002-08-29 John Levon <levon@movementarian.org>
7615 * BufferView_pimpl.C (dispatch): do not continue when
7618 2002-08-28 André Pönitz <poenitz@gmx.net>
7620 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7623 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7625 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
7627 * buffer.C: increment LYX_FORMAT to 221
7629 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7630 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7632 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7634 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7636 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7638 * factory.C (createInset): use LyXTextClass::floats
7640 * MenuBackend.C (expandFloatListInsert):
7641 (expandFloatInsert):
7644 * text2.C (setCounter):
7646 * LaTeXFeatures.C (useFloat):
7647 (getFloatDefinitions):
7649 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7651 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7652 floatlist_, with accessor floats().
7654 * FloatList.h: remove global FloatList
7656 2002-08-26 André Pönitz <poenitz@gmx.net>
7658 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7662 * BufferView_pimpl.C:
7663 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7665 2002-08-25 John Levon <levon@movementarian.org>
7667 * LyXAction.C: fix margin note description
7669 2002-08-24 John Levon <levon@movementarian.org>
7673 * bufferview_funcs.C:
7675 * undo_funcs.C: cleanups
7677 * lyxfunc.C: disable CUT/COPY when no selection
7679 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
7681 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7682 in "enum UNIT"; e.g. PTW for Percent of TextWidth
7684 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7685 Add backward compatibility to "mono", "gray" and "no".
7687 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
7689 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7690 (and file_format >= 200).
7692 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7694 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7696 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7698 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7700 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
7702 * BufferView_pimpl.C:
7709 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7710 inset and code to make it work with the paragraph code. The inset
7711 can be anywhere in the paragraph, but will only do the expected
7712 thing in LaTeX if the layout file contains the parameter line
7714 (or more generally, a nonzero value) for that layout.
7716 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7718 * paragraph.h: remove the declaration of undefined counters class
7721 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
7723 * text2.C (setCounter): fixed enumeration mis-count as reported by
7724 Dr. Richard Hawkins.
7726 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7728 * paragraph_funcs.h: remove some unneeded includes
7730 * text.C (backspace): pasteParagraph now in global scipe
7732 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7733 (pasteSelection): ditto
7735 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7736 * paragraph_funcs.C (pasteParagraph): ... here
7738 2002-08-20 André Pönitz <poenitz@gmx.net>
7740 * commandtags.h: new LFUNs for swapping/copying table row/colums
7743 * lyxfunc.C: support for new lfuns
7745 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7748 * buffer.[Ch]: remove NO_COMPABILITY stuff
7750 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
7752 * boost.C (throw_exception): new file, with helper function for
7753 boost compiled without exceptions.
7758 * ParameterStruct.h:
7759 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7761 * bufferlist.C (emergencyWriteAll): use boost bind
7763 * BufferView_pimpl.C (moveCursorUpdate): remove inline
7765 * text.C: include paragraph_funcs.h
7766 (breakParagraph): breakParagraph is now in global scope
7768 * paragraph_funcs.[Ch]: new files
7770 * paragraph.C (breakParagraph,breakParagraphConservative): move to
7773 * buffer.C: include paragraph_funcs.h
7774 (insertStringAsLines): breakParagraph is now in global scope
7776 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7779 * CutAndPaste.C: include paragraph_funcs.h
7780 (cutSelection): breakParagraphConservative is now in global scope
7781 (pasteSelection): ditto
7783 * buffer.h: declare oprator== and operator!= for
7784 Buffer::inset_iterator
7786 * bufferlist.C (emergencyWrite): don't use fmt(...)
7788 * text3.C: add using std::endl
7790 * BufferView.C (moveCursorUpdate): remove default arg
7792 2002-08-20 André Pönitz <poenitz@gmx.net>
7794 * buffer.[Ch]: move inline functions to .C
7797 * BufferView_pimpl.C:
7799 * buffer.[Ch]: use improved inset_iterator
7802 * paragraph.[Ch]: write one paragraph at a time
7804 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
7806 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7807 style if style is not specified.
7809 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7811 * text2.C (setCounter): when searching for right label for a
7812 caption, make sure to recurse to parent insets (so that a caption
7813 in a minipage in a figure float works) (bug #568)
7815 2002-08-20 André Pönitz <poenitz@gmx.net>
7817 * text3.C: new file for LyXText::dispatch() and helpers
7819 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7821 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7823 2002-08-19 André Pönitz <poenitz@gmx.net>
7826 * text.C: new LyXText::dispatch()
7828 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7830 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
7832 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7834 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7837 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7839 * Makefile.am: use $(variables) instead of @substitutions@
7841 2002-08-15 André Pönitz <poenitz@gmx.net>
7844 * BufferView_pimpl.C: streamlining mathed <-> outer world
7848 * LyXAction.C: remove unused LFUN_MATH
7850 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7852 * paragraph.[Ch]: add some NO_NEXT ifdefs.
7854 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7856 * paragraph.C (Paragraph): reformat a bit
7857 (cutIntoMinibuffer): use builtin InsetList function instad of
7861 * buffer.C: include boost/bind.hpp, add using std::for_each
7862 (writeFileAscii): use ParagraphList iterators
7863 (validate): use for_each for validate traversal of paragraphs
7864 (getBibkeyList): use ParagraphList iterators
7865 (resizeInsets): use for_each to resizeInsetsLyXText for all
7867 (getParFromID): use ParagraphList iterators
7869 * BufferView2.C (lockInset): use paragraph list and iterators
7871 2002-08-14 John Levon <levon@movementarian.org>
7873 * lyxserver.C: remove spurious xforms include
7875 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7877 * lyxfunc.C (getStatus): disable math-extern outside of math mode
7879 2002-08-13 André Pönitz <poenitz@gmx.net>
7882 * lyxfunc.C: further cleaning
7884 2002-08-13 André Pönitz <poenitz@gmx.net>
7886 * funcrequest.h: new constructor
7888 * funcrequest.C: move stuff here from .h
7891 * BufferView_pimpl.C:
7894 * lyxfunc.C: subsequent changes
7896 * lyxfunc.h: new view() member function
7898 * lyxfunc.C: subsequent changes
7900 2002-08-13 Angus Leeming <leeming@lyx.org>
7903 * BufferView_pimpl.C:
7911 changes due to the changed LyXView interface that now returns references
7912 to member variables not pointers.
7914 2002-08-13 Angus Leeming <leeming@lyx.org>
7916 * WordLangTuple (word, lang_code): return references to strings,
7921 * lyxtext.h: forward-declare WordLangTuple.
7926 * text.C: #include "WordLangTuple.h".
7929 * text.C: (selectNextWordToSpellcheck): constify return type.
7931 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
7937 * paragraph_pimpl.h:
7940 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7942 Made updateCounter always count from start of buffer, and removed
7943 second argument (par).
7944 Reverted floats number display to '#'. Perhaps I'll try again when the
7945 code base is sanitized a bit.
7947 2002-08-12 Angus Leeming <leeming@lyx.org>
7949 * buffer.[Ch] (getLabelList): constify.
7951 2002-08-07 André Pönitz <poenitz@gmx.net>
7953 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7955 * funcrequest.h: extension to keep mouse (x,y) position
7957 2002-08-12 Juergen Vigna <jug@sad.it>
7959 * BufferView2.C (insertErrors): forbid undo when inserting error
7962 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7964 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7966 * ParagraphList.[Ch]: new files
7968 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7970 * BufferView2.C (lockInset): ParagraphList changes
7973 * bufferlist.C: ditto
7977 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7979 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7980 unused class variable counter_,
7982 * paragraph.[Ch] (getFirstCounter): delete unused function
7984 * counters.C: include LAssert.h
7985 (reset): add a new function with no arg, change other version to
7986 not have def. arg and to not allow empty arg.
7988 * text2.C (setCounter): remove empty arg from call to Counters::reset
7990 2002-08-11 John Levon <levon@movementarian.org>
7992 * Makefile.am: add WordLangTuple.h
7994 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7996 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7997 lyxfunc.C lyxlex_pimpl.C: ws changes only.
7999 * insets/insettext.C: InsetList changes
8001 * graphics/GraphicsSupport.C (operator()): InsetList changes
8003 * toc.C (getTocList): InsetList changes
8005 * paragraph_pimpl.[Ch]: InsetList changes
8007 * paragraph.[Ch]: InsetList changes
8009 * buffer.C (inset_iterator): InsetList changes
8010 (setParagraph): ditto
8011 * buffer.h (inset_iterator): ditto
8012 * iterators.C (operator++): ditto
8013 * iterators.h: ditto
8015 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8017 * InsetList.[Ch]: new files, most InsetList handling moved out of
8020 * BufferView2.C (removeAutoInsets): InsetList changes
8022 (ChangeInsets): ditto
8024 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8026 * paragraph_pimpl.h (empty): new function
8028 * paragraph.[Ch] (empty): new function
8030 * other files: use the new Paragraph::empty function
8032 2002-08-09 John Levon <levon@movementarian.org>
8034 * lyxtext.h: remove unused refresh_height
8036 2002-08-09 John Levon <levon@movementarian.org>
8043 * paragraph.C: move sgml char escaping out of paragraph
8046 * paragraph.C: remove id setter
8050 * paragraph_pimpl.C: remove dead tex_code_break_column
8052 * bufferview_funcs.C: small cleanup
8054 * lyxfunc.C: remove dead proto
8056 * lyxtext.h: make some stuff private. Remove some dead stuff.
8058 * lyxgluelength.C: make as[LyX]String() readable
8060 2002-08-08 John Levon <levon@movementarian.org>
8065 * ToolbarDefaults.C:
8068 * toc.C: lyxaction cleanup
8070 2002-08-08 John Levon <levon@movementarian.org>
8072 * BufferView2.C: small cleanup
8075 * lyxfind.C: move unnecessary header into the .C
8077 2002-08-08 John Levon <levon@movementarian.org>
8079 * funcrequest.h: just tedious nonsense
8082 * lyx_main.C: cleanups
8085 * vspace.C: remove dead header lyx_main.h
8087 2002-08-07 Angus Leeming <leeming@lyx.org>
8090 * paragraph_pimpl.h:
8091 Forward declare class Counters in paragraph.h by moving the ctrs member
8092 variable into Paragraph::Pimpl.
8093 (counters): new method, returning a reference to pimpl_->ctrs.
8095 * text2.C: ensuing changes.
8097 2002-08-07 John Levon <levon@movementarian.org>
8099 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8101 * BufferView_pimpl.C: announce X selection on double/triple
8104 * lyx_main.C: use correct bool in batch dispatch
8106 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8108 2002-08-07 André Pönitz <poenitz@gmx.net>
8110 * funcrequest.h: new class to wrap a kb_action and its argument
8113 * BufferView_pimpl[Ch]:
8117 * lyxrc.C: subsequent changes
8120 2002-08-07 John Levon <levon@movementarian.org>
8122 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8123 document options change.
8125 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8130 * makefile.am: move counters functionality over from
8131 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8133 2002-08-06 John Levon <levon@movementarian.org>
8135 * WordLangTuple.h: new file for word + language code tuple
8146 * BufferView2.C: use WordLangTuple
8149 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8151 2002-08-06 John Levon <levon@movementarian.org>
8153 * lyx_main.C: fix cmdline batch handling
8155 2002-08-06 André Pönitz <poenitz@gmx.net>
8157 * lyxrc.C: set default for show_banner to true
8159 2002-08-06 John Levon <levon@movementarian.org>
8161 * pspell.C: fix a crash, and allow new aspell to work
8163 2002-08-06 John Levon <levon@movementarian.org>
8166 * kbmap.C: small cleanup
8169 * vspace.C: add const
8171 2002-08-05 John Levon <levon@movementarian.org>
8173 * LyXAction.C: back to tabular-insert
8175 2002-08-04 John Levon <levon@movementarian.org>
8178 * BufferView.C: cosmetic change
8180 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8190 * BufferView2.C: purge all "Lyx" not "LyX" strings
8193 * lyxcursor.C: attempt to add some documentation
8198 * ToolbarDefaults.C:
8199 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8200 merge with LFUN_TABULAR_INSERT
8207 * pspell.C: split up i/pspell implementations into separate
8208 files, many cleanups
8210 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8212 * text2.C: some cleanup
8214 * lyxfunc.C: don't check for isp_command == "none" any more, it
8215 didn't make any sense
8217 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8222 * makefile.am: move counters functionality over
8223 from text2.C/paragraph.[Ch] to counters.[Ch], and
8225 2002-08-02 John Levon <levon@movementarian.org>
8227 * buffer.C: s/lyxconvert/lyx2lyx/
8229 2002-08-02 Angus Leeming <leeming@lyx.org>
8231 * lyxlex.C: revert John's change as it breaks reading of the user
8234 2002-08-02 Angus Leeming <leeming@lyx.org>
8236 * importer.C (Import):
8237 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8238 changes due to LyXView::view() now returning a boost::shared_ptr.
8240 2002-08-02 John Levon <levon@movementarian.org>
8242 * lyxlex.C: small cleanup
8244 2002-08-02 John Levon <levon@movementarian.org>
8246 * text2.C (status): small cleanup, no logic change
8248 2002-08-01 John Levon <levon@movementarian.org>
8251 * buffer.C (writeFile): don't output alerts, caller
8255 * lyx_cb.C: from above
8257 * lyxfunc.C: allow to open non-existent files
8259 2002-07-31 John Levon <levon@movementarian.org>
8261 * lyxserver.C: don't let incidental errors get
8264 2002-07-30 John Levon <levon@movementarian.org>
8266 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8268 2002-07-30 John Levon <levon@movementarian.org>
8271 * lyxserver.C: remove I/O callback too
8273 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8275 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8278 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8280 * many files: strip,frontStrip -> trim,ltrim,rtrim
8282 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8284 * PrinterParams.h: remove extern containsOnly, and include
8285 support/lstrings.h instead.
8287 * LaTeX.C (scanAuxFile): modify because of strip changes
8289 * buffer.C (makeLaTeXFile): ditto
8290 * bufferparams.C (writeFile): ditt
8291 * lyxfont.C (stateText): ditto
8292 * lyxserver.C (read_ready): ditto
8293 * vc-backend.C (scanMaster): ditto
8295 * BufferView_pimpl.h: ws changes
8297 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8299 2002-07-26 André Pönitz <poenitz@gmx.net>
8301 * kb_sequence.C: remove unnedred usings
8303 2002-07-26 Juergen Vigna <jug@sad.it>
8305 * lyxfind.C (LyXReplace): we have to check better if the returned
8306 text is not of theLockingInset()->getLockingInset().
8308 2002-07-25 Juergen Vigna <jug@sad.it>
8310 * lyxfind.C (LyXReplace): don't replace if we don't get the
8313 * undo_funcs.C (createUndo): remove debugging code.
8315 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
8317 * buffer.C (parseSingleLyXformat2Token): Use default placement
8318 when reading old floats.
8320 * FloatList.C (FloatList): Change the default placement of figure
8321 and tables to "tbp".
8323 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
8325 * MenuBackend.C: using std::max
8327 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8329 * MenuBackend.C (expandToc):
8330 (expandToc2): code moved from xforms menu frontend. It is now
8331 generic and TOCs are transparent to menu frontends.
8333 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8335 * toc.C (getTocList): protect against buf=0
8337 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8338 Menu as first parameter. Now, this calls itself recursively to
8339 expand a whole tree (this will be useful for TOC handling)
8340 (expandFloatInsert): remove 'wide' version of floats
8342 * MenuBackend.h (submenuname): returns the name of the submenu.
8343 (submenu): returns the submenu itself, provided it has been
8344 created by MenuBackend::expand
8346 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8348 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8349 insets which have noFontChange == true. (bug #172)
8351 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8353 * BufferView_pimpl.C: add connection objects and use them...
8356 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8358 * MenuBackend.C (expandLastfiles):
8361 (expandFloatListInsert):
8362 (expandFloatInsert):
8363 (expand): split expand in parts
8365 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8367 * lyx_gui.C: use lyx_gui::exit()
8369 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8371 * LyXAction.C: show the failing pseudo action
8373 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
8375 * buffer.C (readFile): Run the lyxconvert script in order to read
8378 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8382 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8384 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8388 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8390 2002-07-22 Herbert Voss <voss@lyx.org>
8393 * lyxlength.[Ch]: add support for the vertical lengths
8395 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
8397 * toc.[Ch]: std:: fixes
8399 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8401 * lyxrc.C: do not include lyx_main.h
8403 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8409 * BufferView2.C: include "lyxlex.h"
8412 * bufferparams.h: do not #include "lyxlex.h"
8414 * lyxtextclasslist.C (Add): remove method
8415 (classlist): renamed to classlist_
8417 * paragraph_pimpl.C:
8421 * bufferview_funcs.C:
8426 * toc.C (getTocList): use BufferParams::getLyXTextClass
8428 * toc.C (getTocList): use InsetFloat::addToToc
8430 * toc.[Ch]: new files, containing helper functions to handle table
8433 * lyxfunc.C (dispatch): no need to remove spaces around command
8435 (getStatus): handle LFUN_SEQUENCE by returning the status of the
8436 first command of the sequence; it is not very clever, but I do not
8437 have a better idea, actually
8439 * LyXAction.C (LookupFunc): make sure to remove space at the
8440 beginning and end of the command
8442 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8444 * MenuBackend.C (getMenubar): new method: return the menubar of
8446 (read): treat differently reading of menu and menubar (in
8447 particular, the menubar has no name now)
8448 (Menu::menubar): remove
8450 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8453 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8455 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8456 a bibitem inset in a RTL paragraph.
8458 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
8460 * paragraph_pimpl.C: constify
8462 * BufferView_pimpl.C:
8464 * lyxfunc.C: fix dispatch in a nicer way
8466 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8468 * lyxfunc.C (dispatch):
8469 * BufferView_pimpl.C:
8470 * BufferView_pimpl.h:
8472 * BufferView.h: rename Dispatch() to dispatch()
8474 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8476 * lyxlayout.C (Read): honor DependsOn tag
8478 * lyxlayout.[Ch] (depends_on): new method
8480 * version.C.in: update lyx_docversion
8482 * LaTeXFeatures.C (getMacros): only define \LyX when needed
8484 * paragraph.C (validate): remove from here...
8485 * paragraph_pimpl.C (validate): ... and move here
8486 (isTextAt): make it const
8488 * buffer.C (getLists): ws cleanup
8490 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8492 * language.C (read): Use iso8859-1 encoding in latex_lang
8493 (this prevents LyX from crashing when using iso10646-1 encoding).
8495 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8497 * text2.C (toggleInset): if cursor is inside an inset, close the
8498 inset and leave cursor _after_ it
8500 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8502 * lyxfunc.C: move minibuffer completion handling out of here
8504 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8506 * BufferView_pimpl.C:
8507 * LaTeX.C: fix dispatch calls
8509 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
8511 * text.C (drawChars): Fix Arabic text rendering.
8513 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
8517 * lyxfunc.C: remove message-push/pop
8521 * lyxfunc.C: rationalise some code by removing verboseDispatch
8522 in favour of a bool argument to dispatch()
8524 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8526 * lyx_main.C (init): make sure to read symlinks as absolute paths
8528 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8531 * lyxfunc.C: no need for commandshortcut to be a member
8533 2002-07-15 André Pönitz <poenitz@gmx.net>
8535 * converter.C: add support for $$s (scripts from lib/scripts dir)
8536 * lyx_main.C: white space
8538 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8542 * lyxrc.C: remove second exit confirmation
8544 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8549 * BufferView_pimpl.h:
8550 * BufferView_pimpl.C:
8551 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8553 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8555 * MenuBackend.C (expand): add numeric shortcuts to document menu
8557 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8559 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8561 * lyxfont.C (setLyXFamily):
8568 * buffer.C (asciiParagraph): use ascii_lowercase
8570 2002-07-15 Mike Fabian <mfabian@suse.de>
8572 * lyxlex_pimpl.C (search_kw):
8573 * lyxlex.C (getLongString):
8574 * converter.h (operator<):
8575 * converter.C (operator<):
8576 * buffer.C (parseSingleLyXformat2Token):
8578 * ToolbarDefaults.C (read):
8579 * MenuBackend.C (checkShortcuts):
8581 * LColor.C (getFromGUIName):
8582 (getFromLyXName): use the compare_ascii_no_case instead of
8583 compare_no_case, because in turkish, 'i' is not the lowercase
8584 version of 'I', and thus turkish locale breaks parsing of tags.
8586 2002-07-16 Angus Leeming <leeming@lyx.org>
8588 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8589 now takes a Buffer const & argument.
8591 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
8593 * BufferView.C (resize): check there's a buffer to resize
8595 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
8597 * lyxfunc.C: remove dead code
8600 * lyxserver.C: use lyx_guii::set_read_callback
8602 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
8604 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8605 an inset in a RTL paragraph.
8607 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8609 * lyxfunc.C: repaint after a font size update
8611 2002-07-15 André Pönitz <poenitz@gmx.net>
8613 * lyxlength.C: inBP should be able to return negative values
8615 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8617 * lyxfunc.C: use lyx_gui::update_fonts()
8619 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8621 * lyxfunc.C: use lyx_gui::update_color()
8623 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8629 * lyxrc.C: remove file->new asks for name option, and let
8630 buffer-new take an argument
8632 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8634 * BufferView_pimpl.C: remove unneeded extra repaint()
8636 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
8638 * LyXAction.C: allow command-sequence with NoBuffer
8640 * lyxfunc.C: don't insist on trailing ';' for command-sequence
8642 2002-07-10 Angus Leeming <leeming@lyx.org>
8644 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8646 2002-07-09 Angus Leeming <leeming@lyx.org>
8648 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8650 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8652 * lengthcommon.h: whitespace
8654 * lyxfunc.C: update scrollbar after goto paragraph
8656 * lyxtext.h: factor out page break drawing, and fix it so
8657 page break/added space paints as selected nicely
8659 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8661 * BufferView_pimpl.C: add FIXMEs, clean up a little
8663 2002-07-09 André Pönitz <poenitz@gmx.net>
8665 * lyxfont.[Ch]: support for wasy symbols
8667 2002-07-08 André Pönitz <poenitz@gmx.net>
8669 * BufferView_pimpl.C: apply John's patch for #93.
8671 2002-07-05 Angus Leeming <leeming@lyx.org>
8673 * BufferView_pimpl.C (buffer): generate previews if desired.
8675 * LColor.h: add "preview" to the color enum.
8677 * LColor.C (LColor): add a corresponding entry to the items array.
8679 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8682 2002-07-05 Angus Leeming <leeming@lyx.org>
8684 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8685 The body of the code is now in the method that is passed an ostream &
8686 rather than a file name.
8687 Pass an additional only_preamble parameter, useful for the forthcoming
8690 2002-07-03 André Pönitz <poenitz@gmx.net>
8692 * lyxfunc.C: simplify getStatus() a bit for math stuff
8694 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8696 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8698 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8700 * text.C (changeRegionCase): do not change case of all the
8701 document when region ends at paragraph end (bug #461)
8703 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8705 * paragraph.C (startTeXParParams):
8706 (endTeXParParams): add \protect when necessary
8708 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8710 * BufferView_pimpl.C (workAreaExpose): remove warning
8712 2002-06-27 Angus Leeming <leeming@lyx.org>
8714 * Makefile.am: add lyxlayout_ptr_fwd.h.
8716 2002-06-26 André Pönitz <poenitz@gmx.net>
8718 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8720 2002-06-25 Angus Leeming <leeming@lyx.org>
8722 * lyxfunc.C (dispatch): Comment out the call to
8723 grfx::GCache::changeDisplay. The method no longer exists now that the
8724 pixmap generation part of the graphics loader has been moved into
8727 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8729 * text2.C: layout as layout
8731 * text.C: layout as layout
8733 * tabular.C (OldFormatRead): layout as layout
8735 * paragraph_pimpl.C (TeXDeeper): layout as layout
8736 (realizeFont): layout as layout
8738 * paragraph.C (writeFile): layout as layout
8739 (validate): layout as layout
8740 (getFont): layout as layout
8741 (getLabelFont): layout as layout
8742 (getLayoutFont): layout as layout
8743 (breakParagraph): layout as layout
8744 (stripLeadingSpaces): layout as layout
8745 (getEndLabel): layout as layout
8746 (getMaxDepthAfter): layout as layout
8747 (applyLayout): layout as layout
8748 (TeXOnePar): layout as layout
8749 (simpleTeXOnePar): layout as layout
8750 (TeXEnvironment): layout as layout
8751 (layout): layout as layout
8752 (layout): layout as layout
8754 * lyxtextclass.C (compare_name): new functor to work with
8755 shared_ptr, layout as layout
8756 (Read): layout as layout
8757 (hasLayout): layout as layout
8758 (operator): layout as layout
8759 (delete_layout): layout as layout
8760 (defaultLayout): layout as layout
8762 * lyxlayout_ptr_fwd.h: new file
8764 * lyxlayout.C (Read): layout as layout
8766 * lyx_cb.C (MenuInsertLabel): layout as layout
8768 * bufferlist.C (newFile): layout as layout
8770 * buffer.C (readLyXformat2): layout as layout
8771 (parseSingleLyXformat2Token): layout as layout
8772 (insertStringAsLines): layout as layout
8773 (asciiParagraph): layout as layout
8774 (latexParagraphs): layout as layout
8775 (makeLinuxDocFile): layout as layout
8776 (simpleLinuxDocOnePar): layout as layout
8777 (makeDocBookFile): layout as layout
8778 (simpleDocBookOnePar): layout as layout
8779 (getLists): layout as layout
8781 * LaTeXFeatures.C (getTClassPreamble): layout as layout
8783 * CutAndPaste.C (cutSelection): layout as layout
8784 (pasteSelection): layout as layout
8785 (SwitchLayoutsBetweenClasses): layout as layout
8787 * BufferView_pimpl.C (Dispatch): layout as layout
8788 (smartQuote): layout as layout
8790 * BufferView2.C (unlockInset): layout as layout
8792 2002-06-24 André Pönitz <poenitz@gmx.net>
8794 * lyxfunc.C: fix #487
8796 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8800 * lyxfunc.C: remove display_shortcuts, show_banner
8802 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8804 * Buffer_pimpl.C: oops, update on resize
8806 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8813 * BufferView.C: use repaint()
8815 * BufferView_pimpl.h:
8816 * BufferView_pimpl.C: s/updateScreen()/repaint()/
8817 as it's a clearer description. Remove superfluous
8820 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8822 * text.C: fix bug 488. Not ideal, but getting
8823 getWord() to work properly for the insets that
8824 matter is more difficult ...
8826 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8828 * BufferView_pimpl.C:
8831 * lyxfunc.C: remove the six million index lyxfuncs to just
8832 one, and DTRT (bug 458)
8834 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8838 * BufferView_pimpl.h:
8839 * BufferView_pimpl.C: clean up resize() stuff,
8840 and unnecessary updateScreen()s
8842 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8846 * BufferView_pimpl.h:
8847 * BufferView_pimpl.C:
8850 * minibuffer.C: remove focus management of workarea,
8851 not needed. Use screen's greyOut()
8853 2002-06-17 Herbert Voss <voss@lyx.org>
8855 * converter.C: (convert) do not post a message, when converting
8856 fails, let the calling function decide what to do in this case
8858 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
8860 * lyxfunc.C: tidy up a little
8862 2002-06-16 <alstrup@diku.dk>
8864 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8865 Got rid of FORMS_H_LOCATION include. Now we are
8868 2002-06-15 LyX Development team <lyx@rilke>
8870 * buffer.[Ch] (sgmlOpenTag):
8871 (sgmlCloseTag): Added support for avoiding pernicious mixed
8872 content. Return number of lines written.
8875 (makeDocBookFile): Fixed calls to sgml*Tag.
8876 Simple white space clean.
8878 (simpleDocBookOnePar): Simple white space clean.
8880 * tabular.[Ch] (docBook): Renamed to docbook and got another
8881 argument to related with the pernicious mixed content.
8883 (docbookRow): Fixed calls for docbook inset method.
8885 2002-06-15 Lyx Development team <larsbj@birdstep.com>
8887 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8888 so it's X11 independent.
8892 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8894 2002-06-15 Lyx Development team <lyx@electronia>
8896 * intl.h: Renamed getTrans to getTransManager.
8898 2002-06-14 Angus Leeming <leeming@lyx.org>
8900 * Makefile.am: nuke forgotten stl_string_fwd.h.
8902 2002-06-12 Angus Leeming <leeming@lyx.org>
8904 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8906 2002-06-13 Angus Leeming <leeming@lyx.org>
8909 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8911 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
8913 * kbmap.C (getiso): add support for cyrillic and greek
8915 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8919 * BufferView_pimpl.h:
8920 * BufferView_pimpl.C: move bogus scrolling logic
8923 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8926 * BufferView_pimpl.C: view->resize() change
8928 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8930 * BufferView_pimpl.C: topCursorVisible
8933 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8937 * lyx_gui.C: move to frontends/
8941 * lyx_main.C: changes from above
8943 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8950 * lyx_main.C: minor tidy
8952 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8954 * BufferView_pimpl.h:
8955 * BufferView_pimpl.C:
8957 * BufferView.C: make painter() const,
8960 * BufferView2.C: use screen() accessor
8963 * lyx_main.C: some minor cleanup
8965 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8967 * BufferView_pimpl.h:
8968 * BufferView_pimpl.C: remove enter/leaveView,
8971 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8976 * BufferView_pimpl.h:
8977 * BufferView_pimpl.C: only construct screen once,
8980 * lyxrc.C: remove pointless comment
8982 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8985 * BufferView.C: remove active() and belowMouse()
8987 * BufferView_pimpl.h:
8988 * BufferView_pimpl.C: use workarea() not workarea_,
8989 and make it use a scoped_ptr instead
8991 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8993 * lyx_gui.C: add debug message on BadWindow
8995 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8997 * sp_spell.C: fdopen is not part of the C++ standard.
8999 * paragraph.C (InsetIterator): use >= instead of ==
9001 2002-06-07 Angus Leeming <leeming@lyx.org>
9003 Fixes needed to compile with Compaq cxx 6.5.
9004 * BufferView_pimpl.C:
9011 * lyxtextclasslist.C:
9016 all c-library variables have been moved into namespace std. Wrap
9017 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9022 Add a using std::abs declaration.
9024 * kbmap.h (modifier_pair):
9025 * paragraph.h (InsetTable, InsetList):
9026 * lyxfont.h (FontBits):
9027 type definition made public.
9029 * bufferlist.C (emergencyWriteAll): the compiler complains that
9030 there is more than one possible lyx::class_fun template to choose from.
9031 I re-named the void specialisation as lyx::void_class_fun.
9033 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9035 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9036 the compiler is is unable to find tostr in write_attribute.
9038 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9040 * buffer.C (sgmlError): hide #warning
9042 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9044 * xtl/*: get rid of xtl, which is not in use anyway
9046 * LyXAction.C (init):
9047 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9048 were unimplemented xtl experimentation
9050 2002-06-04 André Pönitz <poenitz@gmx.net>
9052 * lyxfunc.C: disable array operation on simple formulae
9054 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
9056 * converter.C: constify a bit
9058 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
9060 * lyx_gui.C: check xforms version correctly
9062 2002-04-30 Herbert Voss <voss@lyx.org>
9064 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9067 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
9069 * lyxvc.C: fix bug 416 (make sure buffer is saved before
9070 attempt to register it with a VCS)
9072 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9074 * lyx_main.C (init): honor variables LYX_DIR_13x and
9077 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9081 * lyx_main.C: fix a crash on bad command line,
9082 and give a useful exit status on error
9084 * lyxfunc.C (doImport): allow -i lyx to work
9086 2002-03-30 André Pönitz <poenitz@gmx.net>
9088 * lyxfunc.C: mathed font changes
9090 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9105 * trans_mgr.h: srcdocs, and some minor cleanups
9107 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9109 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9110 call getFont all the time)
9112 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9114 * switch from SigC signals to boost::signals
9116 2002-05-29 André Pönitz <poenitz@gmx.net>
9118 * paragraph_pimpl.C (getChar): don't call size() too often...
9120 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9122 * paragraph_pimpl.C (insertChar): do not try to update tables when
9123 appending (pos == size())
9125 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9126 in order to reduce drastically the number of comparisons needed to
9127 parse a large document
9129 2002-05-29 André Pönitz <poenitz@gmx.net>
9135 * textclasslist.[Ch]:
9136 * sp_ispell.h: whitespace change
9138 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9140 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9141 lyxaction directly now.
9143 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
9147 * lyxvc.C: remove unused headers
9149 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9156 * undo_funcs.C: some cleanups. Use shared_ptr
9157 and a template for the undo stacks.
9159 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9161 * BufferView_pimpl.h:
9162 * BufferView_pimpl.C:
9169 * text2.C: use key_state/mouse_state
9171 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9173 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9176 * chset.C: change include order
9177 (loadFile): use boost regex and get rid of LRegex and LSubstring
9179 * Makefile.am (BOOST_LIBS): new variable
9182 * LaTeX.C: change include order.
9183 (scanAuxFile): use boost regex and get rid of LRegex and
9187 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9192 * FontInfo.C: moved to frontends/xforms/
9195 * FontLoader.C: moved into frontends for GUIIzation
9200 * lyxfunc.C: changes from above
9202 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9204 * LColor.C: remove spurious X include
9206 * BufferView_pimpl.C:
9211 * text2.C: move font metrics to frontends/
9213 2002-05-24 Juergen Vigna <jug@sad.it>
9215 * undo_funcs.C (textHandleUndo): fix the cursor selection after
9216 setting the undo_cursor.
9218 * ParagraphParameters.h: include local includes first.
9220 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9222 * BufferView_pimpl.C:
9223 * BufferView_pimpl.h:
9227 * screen.C: move WorkArea into frontends/
9233 * BufferView2.C: move LyXScreen into frontends/
9237 * lyx_gui.C: move lyxlookup into frontends/xforms/
9239 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9242 * BufferView_pimpl.C:
9252 * bufferview_funcs.C:
9265 * vc-backend.C: move LyX/XFormsView into frontends/
9267 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9279 * text2.C: move Painter to frontends/
9281 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9283 * buffer.C: comment out some some code that depend upon lyx_format
9286 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9287 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9289 * buffer.h (NO_COMPABILITY): turn off compability
9291 * ColorHandler.C: include scoped_array.hpp
9293 * font.C: Use more specific smart_ptr header.
9296 * ShareContainer.h: ditto
9300 * BufferView_pimpl.h: ditto
9301 * ColorHandler.h: ditto
9303 * kbmap.C (defkey): change call to shared_ptr::reset
9305 2002-05-21 Juergen Vigna <jug@sad.it>
9307 * buffer.C (insertErtContents): fix to insert ert asis if it is
9308 non empty. Skip it completely if it contains only whitespaces.
9310 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
9312 * BufferView_pimpl.C:
9313 * BufferView2.C: clear selection on paste (bug 393)
9315 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9317 * DepTable.C: include ctime
9319 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
9321 * buffer.C (latexParagraphs): Add new argument (moving_arg).
9323 2002-05-14 Juergen Vigna <jug@sad.it>
9325 * text.C (breakParagraph): fixed function to honor the keepempty
9326 layout in the right maner and also to permit the right breaking
9327 algorithm on empty or non empyt keepempty paragraphs.
9329 * paragraph.C (breakParagraph): we have to check also if the par
9330 is really empty (!size()) for isempty otherwise we do the wrong
9333 2002-05-10 Juergen Vigna <jug@sad.it>
9335 * buffer.[Ch] : The following are only changes to the ert
9336 compatibility read reading old LaTeX layout and font stuff and
9337 convert it to ERTInsets.
9339 * buffer.h: added isErtInset().
9341 * buffer.C (struct ErtComp): add a fromlayout bool to check
9342 if we're inside a LaTeX layout.
9343 (isErtInset): new helper function.
9344 (insertErtContents): look for other ert insets before this one
9345 and insert the contents there, so that we don't have subsequent
9346 ERT insets with nothing between them. This way we create only one
9347 inset with multiple paragraphs. Also check if we don't insert only
9348 spaces ' ' as they are ignored anyway afterwards in the .tex file
9349 so if we have only spaces we will ignore this latex part in the
9351 (parseSingleLyXformat2Token \\layout): better compatibility when
9352 reading layout-latex stuff.
9353 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9355 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9356 stuff after reading the inset only get the information back from
9359 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
9361 * buffer.C (makeLaTeXFile): Put language options after loading babel.
9363 * LaTeXFeatures.C (getBabelOptions): New method.
9365 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9367 * BufferView_pimpl.C (Dispatch): work around missing argument for
9370 2002-05-08 Juergen Vigna <jug@sad.it>
9372 * text.C (leftMargin): handle paragraph leftindent.
9374 * paragraph.C (writeFile): write the new \\leftindent tag.
9375 (validate): handle leftindent code.
9376 (TeXEnvironment): handle paragraphleftindent code again.
9378 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9380 * buffer.C (parseSingleLyXformat2Token): added compatibility code
9381 for paragrap_extra indent code and new token \\leftindent.
9382 (latexParagraphs): handle the leftindent as environment.
9384 * ParameterStruct.h: added leftindent support.
9386 * ParagraphParameters.C (leftIndent): added support functions for
9387 the paragraph left indent.
9389 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9392 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
9394 * paragraph.C (isRightToLeftPar): Return false for a paragraph
9397 * text.C (computeBidiTables): No bidi in insetERT.
9399 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9402 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9404 * version.C.in: pre 5
9406 2002-05-02 José Matos <jamatos@fep.up.pt>
9407 * buffer.C (makeDocBookFile): white space changes, add newline to
9409 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9411 * tabular.C (docBook): fix typo.
9413 2002-05-03 Juergen Vigna <jug@sad.it>
9415 * screen.C (drawFromTo): recalculate the rowpointer if we had a
9416 change in LyXText as we can not be sure it was not freed.
9417 (drawOneRow): remove unused code.
9419 * text.C (drawInset): redo the calculation of the need_break_row as
9420 it could have a row which was already freed.
9421 (draw): look at the return value of drawInset and return false if
9422 it also returned false.
9423 (paintRowText): look at the return value of draw and return false if
9424 it also returned false.
9426 * lyxtext.h: added bool return type to drawInset() and draw() so that
9427 if we have a change in the row so that the rowbreak has to be redone
9428 we abort drawing as it will be called again.
9430 2002-05-02 Juergen Vigna <jug@sad.it>
9432 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9433 a change in the maintext also if we're inside an inset.
9434 (Dispatch): set the cursor again after a break line and after the
9435 screen has been updated as it could be we're in a different row.
9437 * text2.C (fixCursorAfterDelete): check to make sure we don't request
9438 to set the cursor behind the pargraph with > size().
9439 (setCursor): check also for the same paragraph when checking where
9440 to put the cursor if we have a NFR inset.
9442 * buffer.C (parseSingleLyXformat2Token): move the compatibility
9443 parts of layout read further up as it still was in the wrong
9446 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9448 * screen.C (drawFromTo): change sine fullRebreak always return
9451 * buffer.C (parseSingleLyXformat2Token): reindent some
9453 * BufferView_pimpl.C (update): change since fullRebreak always
9455 (Dispatch): git rid of the last hardcoded "Standard"s.
9457 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9459 * text2.[Ch] (fullRebreak): make it return void now that we always
9462 2002-04-30 Juergen Vigna <jug@sad.it>
9464 * buffer.C (parseSingleLyXformat2Token): reset the font before the
9465 ert compatibility check for "latex" layout.
9467 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
9469 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9470 minipages: use col% instead of p%, and also use the current font.
9471 (makeLaTeXFile): Fix use babel condition.
9472 (parseSingleLyXformat2Token): Correct font when reading old floats.
9474 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
9476 * BufferView_pimpl.C (Dispatch): Check that float type exists when
9477 inserting list of floats.
9479 2002-04-25 Herbert Voss <voss@lyx.org>
9481 * MenuBackend.C (expand): don't add the graphics extensions to the
9484 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9486 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9487 non-existing layout, do not complain if it was the default layout
9488 of the original class (bug #342)
9490 2002-04-24 Juergen Vigna <jug@sad.it>
9492 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9493 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9495 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
9497 * buffer.C (getBibkeyList): If using \bibliography, return the
9498 option field with the reference itself. Enables us to provide natbib
9499 support when using \bibliography.
9501 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
9503 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9505 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9506 natbib is provided by the LaTeX class.
9508 2002-04-23 Juergen Vigna <jug@sad.it>
9510 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9513 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9515 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9517 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9519 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9520 ensuremath around textordmasculine, textordfeminine and
9523 2002-04-19 Juergen Vigna <jug@sad.it>
9525 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9526 reinitializing the buffer otherwise row-dimensions may be wrong.
9527 (update): reset also the selection cursors if they do exits otherwise
9528 their x/y positions may be wrong.
9530 * text2.C (cursorDown): don't enter the inset if we came from a row
9531 above and are one row over the inset.
9533 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9534 really leaving an inset.
9536 2002-04-18 Juergen Vigna <jug@sad.it>
9538 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9539 of the selected paragraph does not have the selected layout also if
9542 * text2.C (setLayout): fixed bug which did not change last selected
9545 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9546 changed the read and substituted \\end_float with \\end_inset!
9548 * BufferView_pimpl.C (cursorPrevious):
9549 (cursorNext): fixed to make it work with rows heigher than the work
9550 area without moving the cursor only the draw of the row.
9551 (workAreaMotionNotify): fix jumping over high rows.
9553 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9555 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9558 2002-04-16 Juergen Vigna <jug@sad.it>
9560 * text2.C (setCursor): set also the irow().
9561 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9563 (cursorDown): support for locking an inset if the x_fix value goes
9564 inside it. That way I can transverse insets too with cursor up/down.
9566 * lyxrow.h: added irow helper function same as other (i) functions.
9568 * BufferView_pimpl.C (cursorPrevious):
9569 (cursorNext): fixed for insets!
9571 2002-04-15 Juergen Vigna <jug@sad.it>
9573 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9574 position otherwise it is wrong in some cases.
9576 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9577 inside the inset before the call.
9579 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
9581 * buffer.[Ch] (getBibkeyList): make it const.
9583 2002-04-12 Juergen Vigna <jug@sad.it>
9585 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9587 * text2.C (getCursorX): new helper function
9588 (setCursor): compute also ix_
9589 (setCursorFromCoordinates): set also ix.
9591 * lyxcursor.h: added ix_ and helper functions.
9593 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9595 * buffer.C (insertStringAsLines): dont break paragraph if the this
9596 paragraph is inside an inset which does not permit it!
9598 * text.C (breakParagraph): honor keepempty flag and break the paragraph
9599 also with no chars on this paragraph.
9600 (paintRowText): only paint stuff if it's inside the workarea!
9602 * paragraph.C (breakParagraph): honor keepempty flag and break the
9603 paragraph always below not above.
9605 * BufferView2.C (unlockInset): update the paragraph layout on inset
9606 unlock as we changed paragraph in such a case.
9608 * lyxfind.C (LyXFind): clear the former selection if not found!
9610 * text2.C (insertInset): freeze Undo after setUndo so that it is not
9611 again called in insertChar().
9613 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9614 an inset which uses the whole row!
9615 (rightMargin): ditto.
9616 (insertChar): force a rebreak if we inserted an inset!
9618 2002-03-28 Herbert Voss <voss@lyx.org>
9620 * lyxlength.[Ch]: add inBP() to get the right PS-point
9621 units (BigPoint). With inPixels we have rounding errors
9623 2002-04-11 Juergen Vigna <jug@sad.it>
9625 * text2.C (setCursorFromCoordinates): set iy to the right value.
9626 (setCursor): add check if row->previous exists!
9628 * buffer.C (parseSingleLyXformat2Token): reset font after read of
9629 an old float_type as this was the case in the old code!
9631 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9633 * BufferView2.C (showLockedInsetCursor): use iy
9634 (fitLockedInsetCursor): ditto
9636 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9637 locked insets as there we have the right value now.
9639 * lyxcursor.C: added iy_ variable and iy functions to set to the
9640 baseline of cursor-y of the locked inset.
9642 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9643 (setCursor): fixed for insets which need a full row.
9645 * text.C (rowLastPrintable): don't ignore the last space when before
9646 an inset which needs a full row.
9647 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9648 as last character of a row when before a inset which needs a full row.
9650 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9652 * version.C.in: update date
9654 * text2.C (fullRebreak): try to always return true and see what
9657 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9659 * MenuBackend.C (expand): use Floating::listName
9661 * FloatList.C (FloatList): add listName argument to the built-in
9664 * Floating.[Ch]: add listName member, which is the 'List of XXX'
9665 text associated with the float.
9667 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9669 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9671 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9673 * ShareContainer.h: add a couple of missing typenames.
9675 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
9677 * lyxrc.C (getDescription): use _() correctly rather than N_().
9679 2002-03-28 Herbert Voss <voss@lyx.org>
9681 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9682 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9684 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9686 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9687 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9689 2002-03-29 Juergen Vigna <jug@sad.it>
9691 * lyxfunc.C (dispatch): add a missing fitCursor call.
9693 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9694 it was scrolled by a cursor move, so return the bool status.
9696 * BufferView.C (fitCursor): return the bool flag also to the outside
9697 world as this is needed.
9699 * screen.C (toggleToggle): don't subtract the offset if it's positive.
9701 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9702 call the edit() as it is not needed (and wrong) IMO.
9703 (workAreaButtonPress): set the screen_first variable before evt.
9704 unlock the inset as this may change screen_first and then we have
9705 a wrong y position for the click!
9707 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9709 * MenuBackend.C (expand): another translation that I missed
9711 2002-03-28 Juergen Vigna <jug@sad.it>
9713 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9715 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9717 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9719 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9721 * MenuBackend.C (expand): fix export/view/update when there is no
9724 2002-03-27 Herbert Voss <voss@lyx.org>
9726 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9729 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9731 * bufferview_funcs.C (currentState): only show paragraph number
9732 for is DEVEL_VERSION is set.
9734 * lyxfunc.C (dispatch): put warning in INFO channel
9736 * MenuBackend.C (expand): translate the name of floats
9738 * FloatList.C (FloatList): mark the float names for translation
9740 * converter.C (convert): use LibScriptSearch
9742 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9744 * MenuBackend.C (defaults): fix default menu (we might as well get
9747 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9749 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9752 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9754 * lyxvc.C: reorder includes.
9756 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
9758 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9761 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
9763 * CutAndPaste.C: change layouts earlier on paste
9764 to avoid crashing when calling getFont()
9766 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
9768 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9771 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9773 * WorkArea.C: remove 'Pending' debug message.
9775 * most files: ws cleanup
9777 * buffer.[Ch]: ws changes
9779 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9781 2002-03-21 Juergen Vigna <jug@sad.it>
9783 * tabular.C (SetMultiColumn): collapse also the contents of the
9784 cells and set the last border right. Added a Buffer const * param.
9786 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9788 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9791 2002-03-19 Juergen Vigna <jug@sad.it>
9793 * text2.C (clearSelection): reset also xsel_cache.
9795 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9796 where it needs to be called (John tells us to do so too :)
9797 (selectionLost): reset sel_cache.
9799 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9801 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9803 * text2.C (setCursorIntern): put debuging code in INSETS channel
9805 2002-03-19 André Pönitz <poenitz@gmx.net>
9807 * lyxfunc.C: tiny whitespace change
9809 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9811 * ToolbarDefaults.C (init):
9812 * LyXAction.C (init):
9814 * BufferView_pimpl.C (Dispatch):
9815 * lyxfunc.C (dispatch): remove LFUN_DEPTH
9817 2002-03-19 Allan Rae <rae@lyx.org>
9819 * exporter.C (Export): removeAutoInsets before doing anything else.
9820 While I've just introduced a dependency on BufferView this really is
9821 the best place to clean the buffer otherwise you need to cleanup in
9822 a dozen places before calling export or cleanup in a dozen functions
9825 * converter.C (runLaTeX):
9826 (scanLog): Better handling of removeAutoInsets and screen updates.
9828 * lyxfunc.C (dispatch): small whitespace changes
9830 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9832 * WorkArea.C (C_WorkAreaEvent): return a value.
9833 (event_cb): return 1 if we handled the event, 0 otherwise.
9835 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9837 2002-03-18 Juergen Vigna <jug@sad.it>
9839 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9840 (GetAdditionalWidth): ditto.
9844 * BufferView2.C (copy): use getLyXText() so that we do it inside an
9845 inset if we're there actually (probably not used right now but this
9846 is the direction to go for unifying code).
9847 (paste): disable code to clear the selection.
9849 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9850 inside an InsetText and move the check further up as it is in the
9853 * text2.C (pasteSelection): set a selection over the pasted text.
9855 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
9857 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9858 and libgraphics to build on Cygwin.
9860 2002-03-15 Juergen Vigna <jug@sad.it>
9862 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9863 inserting an Inset into the paragraph. I know this is not the best
9864 fix but we already use current_view in CutAndPaste so we will remove
9865 all of it's using at the same time.
9867 * buffer.C (sgmlError): deactivated function till it is rewritten in
9868 the right mode, now it can create problems.
9870 * paragraph.C (isLineSeparator): check if getInset returns != 0,
9871 before accessing it.
9873 2002-03-14 Juergen Vigna <jug@sad.it>
9875 * undo_funcs.C (textHandleUndo): do the right thing when updating
9876 the inset after the undo/redo.
9878 * text2.C (setCursor): just some testcode for #44 not ready yet.
9880 * undo_funcs.C (textHandleUndo): set the next() and previous()
9881 pointers of the paragraph to 0 before deleting otherwise we have
9882 problems with the Paragraph::[destructor].
9884 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9885 on a paragraph insertion.
9887 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9889 * buffer.C (asciiParagraph): use += operator for char append to
9892 * paragraph.C (getFontSettings): compare >= not just >
9893 (highestFontInRange): ditto
9896 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9898 * paragraph.C: change several algorithm to be more appripriate for
9899 the problem domain. This is lookip in FontList and in the InsetList.
9901 2002-03-13 André Pönitz <poenitz@gmx.net>
9904 * LyXAction.C: remove unused LFUN_MATH_MACROARG
9906 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
9911 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9913 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9915 * Painter.C (display): anon helper function, adjust code for this
9917 (pixmap): remove function.
9919 * Painter.h: remove private display variable.
9921 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9923 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
9925 * WorkArea.[Ch]: remove figinset_canvas cruft.
9927 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9929 * lyxtextclass.C (operator): add one item cache optimization.
9931 * bufferlist.h: doxy changes
9933 * bufferlist.C: ws changes
9935 * DepTable.[Ch] (ext_exist): place const in the right spot.
9937 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9939 (workAreaExpose): call resizeInsets when the with BufferView changes.
9940 (Dispatch): adjust for protectedBlank removal
9941 (specialChar): call updateInset if the insert went ok.
9943 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9944 specialChar instead.
9946 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9948 * BufferView.h: doxy change
9950 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9952 * lyxtextclass.C (operator[]): remove non-const version
9953 (defaultLayout): remove non-const version
9955 2002-03-12 Juergen Vigna <jug@sad.it>
9957 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9958 did resize the LyXText too.
9960 * buffer.C (readLyXformat2): set layout information on newly allocated
9963 * tabular.C (OldFormatRead): set layout information on the paragraph.
9965 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9967 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9969 2002-03-11 Juergen Vigna <jug@sad.it>
9971 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9973 (resizeCurrentBuffer): force also the insets to resize themselfes.
9974 (moveCursorUpdate): fixed up for InsetText.
9976 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
9979 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9980 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9981 value of Dialogs::tooltipsEnabled().
9982 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9984 2002-03-08 Juergen Vigna <jug@sad.it>
9986 * BufferView_pimpl.C (updateInset): update inset inside inset also
9987 if it isn't inside theLockingInset().
9989 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9991 * buffer.C (asciiParagraph): redo some of the word and line length
9993 (getLists): look for Caption instead of caption.
9995 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9997 * buffer.C (Buffer): initialize niceFile to true
10000 (makeDocBookFile): make sure niceFile is true on exit
10002 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10004 * buffer.C (makeLaTeXFile): escape ~ in \input@path
10006 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
10008 * LyXSendto.C: remove.
10009 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10010 * lyx_gui.C: remove now-redundant comment.
10011 * ColorHandler.h: remove forward declaration of class WorkArea.
10012 * lyxfunc.C: remove #include "WorkArea.h".
10014 2002-03-07 Juergen Vigna <jug@sad.it>
10016 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10017 got moved away with the DEPM and also set the inset_owner always
10018 right which before could have been omitted.
10020 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10022 * buffer.C (parseSingleLyXformat2Token): use default layout is the
10023 wanted layout is not found.
10025 2002-03-07 Juergen Vigna <jug@sad.it>
10027 * CutAndPaste.C (cutSelection): another layout settings forgotten.
10029 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10031 * paragraph.C (breakParagraph): use default layout not layout of
10033 (Paragraph): clear ParagraphParameters.
10035 2002-03-06 Juergen Vigna <jug@sad.it>
10037 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10038 otherwise it would not be a valid lenght. Fixed a special case in
10039 the minipage compatibility read where we end the document with a
10042 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10043 was set as it could be 0 for InsetTexts first entry.
10045 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10047 * paragraph.C (writeFile): if layout is empty write out
10048 defaultLayoutName().
10050 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10051 file without named layout we set layout to defaultLayoutName().
10053 2002-03-06 Juergen Vigna <jug@sad.it>
10055 * CutAndPaste.C (copySelection): set layout for new paragraph.
10057 * text.C (prepareToPrint): leave ERT inset left aligned
10058 (leftMargin): don't indent paragraphs inside ERT insets
10060 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10062 * paragraph.C (breakParagraph): dont call clear do the work manually
10064 * paragraph.[Ch] (clear): remove function
10066 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10068 * paragraph.C (Paragraph): dont call clear, the work has already
10071 * lyxtextclass.C (operator): assert if n is empty
10073 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10074 work manually instead.
10076 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10078 * BufferView_pimpl.C: protect selectionLost against text == 0
10080 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10082 * text.C (breakParagraph): fix a setting layout to '0' problem.
10084 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10086 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10087 final location of file, for the included files, and graphics.
10089 2002-03-05 Juergen Vigna <jug@sad.it>
10091 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10093 2002-03-04 Juergen Vigna <jug@sad.it>
10095 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10097 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10098 last column of multicolumn cells.
10099 (SetWidthOfMulticolCell): recalculate NMC and real columns.
10101 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
10103 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10104 file if it doesn't go to a temporary file.
10106 * buffer.C (sgmlOpenTag):
10107 (sgmlCloseTag): remove extra newline insertion.
10109 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10111 * text.C (getRowNearY): comment out debug msg
10113 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10115 * text2.C: first -> first_y
10117 * text.C (getRowNearY): add some attemts at a possible
10118 optimization, not working.
10120 * tabular.[Ch]: add BufferParams to several function so that newly
10121 created paragraph can be initialized to he default layotu for the
10124 * tabular-old.C (ReadOld): add buf->params to call of Init
10126 * screen.C: rename text->first to text->first_y
10128 * paragraph.C (breakParagraph): always set layout in the broken
10131 * lyxtextclass.C (Read): remove lowercase
10134 (delete_layout): ditto
10136 * lyxtext.h: rename first -> first_y
10138 * lyxlayout.C (Read): remove lowercase
10141 (obsoleted_by): ditto
10143 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10145 * buffer.C (insertErtContents): add params are to InsetERT
10146 (parseSingleLyXformat2Token): add code to check if a paragraphs
10147 layout really exist.
10148 (parseSingleLyXformat2Token): add params to several inset
10150 (asciiParagraph): remove lowercase, do the layout comparisons with
10153 * BufferView_pimpl.C (cursorNext): first -> first_y
10154 (resizeCurrentBuffer): first -> first_y
10155 (updateScrollbar): first -> first_y
10156 (scrollCB): first -> first_y
10157 (workAreaMotionNotify): first -> first_y
10158 (workAreaButtonPress): first -> first_y
10159 (checkInsetHit): first -> first_y
10160 (cursorPrevious): first -> first_y
10161 (cursorNext): first -> first_y
10162 (Dispatch): add buffer_->params to severl inset contructors
10164 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10166 * lyxlayout.C (Read): remove some debug info that I forgot.
10168 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10169 clean up the code slightly.
10170 (makeLinuxDocFile): ditto
10171 (makeDocBookFile): ditto
10173 * text2.C: layout as string
10175 * text.C: layout as string
10177 * paragraph_pimpl.C: layout as string
10179 * paragraph.[Ch]: layout as string
10181 * lyxtextclasslist.[Ch]: layout as string
10183 * lyxtextclass.[Ch]: layout as string
10185 * lyxtext.h: layout as string
10187 * lyxlayout.[Ch]: layout as string
10189 * lyx_cb.C: layout as string
10191 * bufferview_funcs.C: layout as string
10193 * bufferparams.C: layout as string
10195 * buffer.C: layout as string
10197 * LyXView.[Ch]: layout as string
10199 * LaTeXFeatures.[Ch]: layout as string
10201 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10203 * BufferView_pimpl.C: change current_layout to string, remove
10208 (workAreaButtonRelease): layout as string
10210 * BufferView2.C (unlockInset): adjust
10212 * vspace.C (asLatexCommand): use an explict temp variable.
10214 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10216 * Makefile.am: use FRONTEND_*
10218 2002-03-01 Juergen Vigna <jug@sad.it>
10220 * tabular.C (SetWidthOfMulticolCell): changed to something better
10221 I hope but still work in progress.
10222 (recalculateMulticolumnsOfColumn): renamed function from
10223 recalculateMulticolCells as it is more appropriate now.
10224 (SetWidthOfCell): calculate multicols better.
10226 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10228 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10230 * lyxfunc.C (processKeySym): print sequence also if it is
10231 `deleted' (complete)
10233 * kbsequence.C (print): print sequence even if it is deleted
10234 (complete would be a better word, actually).
10236 * lyxfunc.C (dispatch): print complete options after a prefix key
10238 * vspace.C (asLatexCommand): rewrite in a slightly different form.
10240 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
10242 * text2.C (setCharFont): eliminate setCharFont code duplication.
10244 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10246 * BufferView_pimpl.C (Dispatch): remove bogus handling of
10247 LFUN_TABULAR_FEATURE (bug #177)
10249 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
10251 * Makefile.am: remove figure.h
10253 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
10255 * Bufferview_pimpl.C:
10267 * text2.C: remove #include "lyx_gui_misc.h".
10269 * LaTeX.C: added #include <cstdio>
10271 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10273 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10274 that the paragraph following this one can have.
10276 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10278 * vspace.C (asLatexCommand): fix bogus gcc warning
10280 * Makefile.am (lyx_SOURCES): remove vms_defines.h
10282 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
10284 * text2.C (setLayout): get rid of redundant code
10286 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
10288 * text2.C (incDepth): make sure depth cannot be increased beyond
10291 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
10293 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10294 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10296 * PainterBase.h (image):
10297 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10298 a LyXImage const *.
10300 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10304 * BufferView_pimpl.C:
10305 * BufferView_pimpl.h:
10325 * sp_spell.C: remove fig inset, and the crap house of
10326 cards that follows it
10328 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10333 * os2_errortable.h:
10334 * nt_defines.h: move .h into support/
10336 * vms_defines.h: remove
10338 * WorkArea.C: add space in debug output
10342 * buffer.C: add WITH_WARNINGS
10346 * bufferlist.C: s/retrive/retrieve/, add docs
10355 * chset.C: add docs
10357 * lyxgui.C: add ID to X error handler
10359 * lyxtestclass.c: fix typo
10361 2002-02-26 Juergen Vigna <jug@sad.it>
10363 * tabular_funcs.C (write_attribute): changed so that some default
10364 attributes are not written at all.
10365 (getTokenValue): set default values before trying to read the
10366 value so we have the return value always set as default if we don't
10367 find the token we search for.
10369 * tabular.C (Write): write bools as bools not as strings!
10371 2002-02-22 Juergen Vigna <jug@sad.it>
10373 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10374 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10376 * text.C (leftMargin): don't add an indent for paragraphs inside
10377 tabular cells (fix #208).
10379 2002-02-21 José Matos <jamatos@fep.up.pt>
10381 * tabular.C (docBook): fixed support for long tables.
10383 2002-02-20 Juergen Vigna <jug@sad.it>
10385 * text2.C (getFont): get the drawing font of the Inset if this
10386 paragraph is inside an inset (only important for InsetERT for now).
10388 * buffer.C (insertErtContents): use new lanugage params in ERT
10391 * CutAndPaste.C: commenting out seemingly uneeded code.
10393 2002-02-19 Allan Rae <rae@lyx.org>
10395 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10396 Iterators might be simple to use but they also get invalidated.
10397 (removeAutoInsets): renamed saved cursor tracking variables and added
10398 some comments to clarify what everything does.
10400 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
10407 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10408 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10411 * vc-backend.h: remove #include "support/syscall.h"
10415 * converter.C: rearrange #includes in Lars' approved fashion.
10417 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10418 forward declare class Timeout in the header file.
10420 * XFormsView.C: changes due to the above.
10422 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10423 similar to LyXView.
10425 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10426 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10428 2002-02-18 José Matos <jamatos@fep.up.pt>
10430 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10433 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10435 * a lot of small ws changes
10436 * add a lot of using std::XXX
10437 * use std construcs some places where approp.
10438 * use some exisint stuff from lyxfunctional where approp.
10439 * Make file changes to use partial linking (lets test this now...)
10441 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10445 remove #include "support/syscontr.h" as it's redundant. Always has been.
10453 change Systemcalls::System to Systemcalls::Wait and
10454 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10455 No change of functionality, just reflects the stripped down Systemcalls
10458 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10460 * debug.[Ch]: add a GRAPHICS type to the enum.
10462 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10464 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10466 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10469 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10471 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10472 match the changes below.
10474 * text2.C (toggleInset): if there is not editable inset at cursor
10475 position, try to see if cursor is _inside_ a collapsable inset
10478 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10480 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10481 document menu has a nice checkbox
10483 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10485 * lyxlength.C (asLatexString): change PW to output as percent of
10488 * lengthcommon.C: change '%' to 't%'
10490 * lyxfunc.C (dispatch): a few comments from Martin
10492 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
10496 * BufferView_pimpl.h:
10497 * BufferView_pimpl.C: clear our selection when X tells us we've lost
10500 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10502 * vspace.C (inPixels): fix compiler warning
10504 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10506 * lyxfunc.C (getStatus): fix status message for disabled commands.
10508 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
10510 * BufferView_pimpl.C: fix crash on close buffer
10511 during selection (#227)
10513 2002-01-27 Herbert Voss <voss@lyx.org>
10515 * buffer.C: link old Figure to new graphic inset
10517 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
10519 * FontLoader.C (getFontinfo): Change the latex font names in order
10520 to match the names of type1inst.
10522 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10524 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10526 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10527 (extchanged): ditto
10529 (remove_files_with_extension): ditto
10530 (remove_file): ditto
10533 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10534 document is smaller than the work area height. Do not initialize
10535 static variables to 0.
10537 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10539 * lyx_gui.C (init): give the toolbar tooltips a normal font.
10541 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10542 LFUN_LAYOUT_PARAGRAPHS.
10544 * tabular.C (GetCellFromInset): new method. Finds an inset in a
10545 tabular. It is possible to provide a possible cell, which will
10546 typically be the actcell from the corresponding insettabular
10548 * lyxfunc.C (getStatus): small cleanup; disable
10549 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10552 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10554 * tabular.C (Validate): remove broken optimization (fixes bug #201)
10556 * paragraph.C (startTeXParParams):
10557 (endTeXParParams): new methods. The LaTeX code to
10558 start/end paragraph formatting
10559 (simpleTeXOnePar): call startTeXParParams also when paragraph is
10560 empty (fixes bug #200)
10562 * vspace.C (inPixels): adapt to the change below
10563 (inPixels): [later] more cleanups (remove unused variables)
10565 * lyxlength.C (inPixels): change to use a width and a height as
10568 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10570 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10571 Replaced with \paperwidth
10573 * DepTable.C (insert): add std:: qualifier
10575 2002-01-18 Allan Rae <rae@lyx.org>
10577 * text2.C (removeRow): add comment. Should other refresh_?? vars be
10580 * text.C (drawInset): Turned out I didn't know enough about how
10581 rebreaking worked. This fixes most of the redraw problems. I see
10582 an occasional cursor trail when a line is broken now and the cursor
10583 placement can seem out by a few pixels also after a rebreak.
10585 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10587 * buffer.C (parseSingleLyXformat2Token): update because minipage
10588 width is now a LyXLength
10590 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10592 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10595 2002-01-17 Juergen Vigna <jug@sad.it>
10597 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10599 * BufferView2.C (lockInset): call edit() so that theLockingInset()
10600 is set correctly and the inset is updated correctly.
10602 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10604 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10605 the beginning of the loop.
10607 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
10609 * lyxrc.C: improve help for use_scalable_fonts
10611 2002-01-17 Allan Rae <rae@lyx.org>
10613 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10615 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10617 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10618 make sure to set their inset_owner to the right value (bug #171)
10620 2001-12-12 Ben Stanley <bds02@uow.edu.au>
10623 * DepTable.C: Implement mtime checking to reduce time spent doing
10626 2002-01-16 Juergen Vigna <jug@sad.it>
10628 * tabular.C (GetAdditionalHeight): one of error fixed.
10630 * lyxrc.C (output): small fix in writing use_pspell.
10632 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
10634 * sp_base.h: #include LString.h
10636 2002-01-16 Allan Rae <rae@lyx.org>
10638 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
10639 Can someone check this please?
10641 * text.C (drawInset): It was possible that p.row would be removed by
10642 breakAgainOneRow upsetting a few other settings. There may be another
10643 small tweak possible by setting need_break_row = 0 when p.row has been
10644 removed but I don't know enough about the logic here.
10646 2002-01-15 Allan Rae <rae@lyx.org>
10648 * text.C (insertChar): removed conditional truism.
10650 * BufferView2.C (removeAutoInsets): More tweaks.
10651 cur_par_prev could be a stray pointer. Check for trailing empty line
10652 in case last line was cur_par and only had an error inset on it.
10654 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10656 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10659 * vc-backend.C (most methods):
10660 * exporter.C (Export):
10661 * converter.C (convert):
10663 * LyXSendto.C (SendtoApplyCB):
10664 * lyxfunc.C (dispatch):
10668 * lyx_cb.C (AutoSave):
10670 * BufferView_pimpl.C (MenuInsertLyXFile):
10671 * buffer.C (runChktex): use Buffer::filePath().
10673 * buffer.h: rename filename to filename_; rename filepath to
10674 filepath_ and make it private
10675 (filePath): new method
10677 * buffer.C (writeFile): use fileName()
10680 * lyx_main.C (init): fix starting of LyX when the binary is a
10681 link from so,ewhere else.
10683 * minibuffer.C: include <cctype> for isprint
10685 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10687 * buffer.C (parseSingleLyXformat2Token): changes associated with the
10688 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10689 name clash with InsetCollapsable's width function.
10691 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10693 * lastfiles.C: include <iterator>
10695 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10697 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10700 * buffer.C (makeLaTeXFile): ditto.
10701 Also make loop operation more transparent.
10703 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10705 * ToolbarDefaults.C: remove trailing comma closing namespace.
10707 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10709 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10712 * trans.C (Load): comment out unused variable, allowed.
10714 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10716 * minibuffer.[Ch] (append_char): new method to recieve input from the
10717 drop-down completion browser. If a key was pressed, then recieve this
10718 char and append it to the existing string.
10719 (peek_event): modify the positioning data passed to the completion
10720 browser so that it can be placed above the minibuffer rather than below.
10721 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10723 * LyXAction.C (init): alloe error-next for readonly documents.
10725 * BufferView2.C (ChangeRefsIfUnique): use standard version of
10728 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10730 * bufferlist.C (readFile): create the buffer _after_ checking that
10733 * lyxfunc.C (verboseDispatch): fix handling of arguments
10735 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10737 * lyxrc.C: use string::erase() instead of initializing to "".
10740 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10742 * BufferView_pimpl.h:
10743 * BufferView_pimpl.C:
10746 * text2.C: tell X when we have made a selection for copying
10748 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10750 * BufferView_pimpl.C (MenuInsertLyXFile):
10751 * lyxfunc.C (menuNew):
10753 (doImport): add shortcuts to directory buttons
10755 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10758 * lyxfunc.C (setStatusMessage):
10759 (getStatusMessage): new methods
10760 (getStatus):use setStatusMessage instead of setErrorMessage
10761 (dispatch): when function is disabled, set error message here
10762 [instead of in getStatus previously]
10764 * BufferView_pimpl.C (workAreaButtonRelease): update
10765 toolbar/menubar here too.
10767 2002-01-13 Allan Rae <rae@lyx.org>
10769 * BufferView2.C (removeAutoInsets): finished off earlier fix.
10770 Now seems indestructible. Remaining task is to audit all other
10771 code affected by deleteEmptyParagraphMechanism. One small quirk
10772 left is that an empty document with an error in the preamble can
10773 be made to report an error but no error box appears. I don't know
10775 (removeAutoInsets): Improved comments.
10777 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
10780 * Thesaurus.C: update for Aiksaurus 0.14
10782 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10784 * text2.C (firstParagraph): removed member function, all uses
10785 replaces with ownerParagraph
10786 (redoParagraphs): here
10787 (updateInset): here
10788 (toggleAppendix): here
10789 * BufferView2.C (insertErrors): here
10790 (setCursorFromRow): here
10792 2002-01-13 Allan Rae <rae@lyx.org>
10794 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10795 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10796 There is still a way to segfault this although you may have to do this
10797 multiple times: Have an InsetERT with an unknown command in it.
10798 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10799 <down-arrow>, <Enter> again, View->DVI, BANG!
10801 * text2.C (setCursor):
10802 (deleteEmptyParagraphMechanism):
10803 * lyxtext.h (setCursor):
10804 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10805 Making use of the return value may help fix other bugs.
10807 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10809 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10811 * LyXView.C (updateMenubar): call MenuBar::update here
10812 (updateToolbar): but not here
10813 (showState): do not update toolbar/menubar
10815 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10816 should need to care about that.
10818 * lyxfunc.C (verboseDispatch): simplify a bit
10819 (getStatus): have a version which takes a pseudoaction, and
10820 another which requires a (kb_action,string).
10822 * LyXAction.C (retrieveActionArg): make it work also when action
10823 is not a pseudo-action.
10824 (getActionName): simplify a bit
10827 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10829 * lyxfunc.C (verboseDispatch): new families of methods with
10830 several ways to specify a command and a bool to indicate whether
10831 the command name and shortcut should be displayed in minibuffer
10832 (eventually, we could extend that to a finer bitmask like
10833 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10834 (dispatch): the pristine dispatch command which just, well,
10835 dispatchs! Note it still sets its result to minibuffer; I'm not
10838 * lyxfunc.h: remove setHintMessage
10840 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10842 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10844 * BufferView_pimpl.C (specialChar): delete new inset if we have
10845 not been able to insert it.
10847 * kbmap.C: revert to using int instead of kb_action, since all we
10848 are dealing with is pseudo-actions.
10850 * LyXAction.C (searchActionArg): change to return int instead of
10851 kb_action, since the result is a pseudoaction.
10853 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
10855 * buffer.C (insertErtContents): Fix (partially) the font bug.
10857 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10859 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10860 as the other one is broken on my machine!
10862 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
10865 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10867 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
10869 * lyxrc.[Ch]: change names and descriptions of popup font variables to
10870 reflect their actual use. Provide compatibility code for older lyxrc
10873 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10875 change names of popup font variables in line with the changes to lyxrc.C
10877 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10879 * buffer.C (asciiParagraph): avoid outputing a word twice after
10882 * lyxrc.C (getDescription): document that document_path and
10883 template_path can be empty.
10885 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10887 * LaTeXFeatures.C (getMacros):
10888 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10890 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10892 * LaTeXFeatures.C (useFloat): require "float" here instead of in
10894 (getPackages): rename feature "floats" to "float". Use an array to
10895 iterate over 'simple' features (i.e. just a \usepackage). Add
10896 handling of "amsmath" (renamed from "amsstyle").
10898 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
10900 * LaTeXFeatures.C (require): Prevent duplicate entries in the
10903 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
10905 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10906 FuncStaus::FuncStatus & FuncStaus::some_method().
10908 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
10910 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10911 of the func_satus stuff. Edited and massaged in various ways by
10914 * lyxfunc.C (getStatus): use FuncStatus
10916 2002-01-08 Juergen Vigna <jug@sad.it>
10918 * text.C (nextBreakPoint): use function Inset::isChar().
10920 * paragraph.C (TeXOnePar): use function
10921 Inset::forceDefaultParagraphs.
10923 * buffer.C (latexParagraphs): use function
10924 Inset::forceDefaultParagraphs.
10926 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10928 * lyx_gui.C (init): set the style of the menu popups to
10929 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10931 2002-01-07 Juergen Vigna <jug@sad.it>
10933 * text.C (setHeightOfRow): small fix
10934 (prepareToPrint): don't look at alignment if we don't have the place
10937 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10939 * box.C: New file. Move the Box methods and functions out of box.h,
10940 following Lars' suggestion.
10942 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10944 * box.h: #include "support/LOstream.h", needed for inlined function.
10947 * lyxtextclasslist.C: added some using std declarations.
10949 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
10951 * box.h: make signed dimensions to allow insets wider than
10952 the screen (bug #162)
10954 * BufferView_pimpl.C: add some insetHit debug
10956 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
10958 * vc-backend.C: add FIXME
10960 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10962 * lyxfunc.C (getStatus): enable code for showing math font status
10965 2002-01-07 Juergen Vigna <jug@sad.it>
10967 * text.C (nextBreakPoint): removed debug output not needed anymore.
10969 2002-01-06 Juergen Vigna <jug@sad.it>
10971 * text.C (nextBreakPoint): fixed up this function we had this bug
10972 since ever but now hopefully we break row better.
10973 (insertChar): we have to check if an inset is the next char as it
10974 could now happen that a large inset is causing a break.
10976 2002-01-05 Juergen Vigna <jug@sad.it>
10978 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10979 if it doesn't like to be drawed.
10981 2002-01-04 Juergen Vigna <jug@sad.it>
10983 * BufferView2.C (lockInset): forgot to set a cursor.
10985 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10987 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
10989 * FormMathsPanel.C:
10992 * form_maths_panel.C:
10993 * form_maths_panel.h:
10994 * form_maths_panel.fd: implemented sub- and super- buttons in math
10997 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10998 (or ^ space) to be used as in TeX (req'd by André).
11000 * lyxfunc.C: Allow ^ and _ again to be used both as
11001 super/subscript (mathed) and as themselves (in text).
11003 2002-01-03 Allan Rae <rae@lyx.org>
11005 * LyXView.C (updateWindowTitle): Setup a short icon title of either
11006 "LyX" or the filename of the current buffer if it has one. This is a
11007 modified form of John Levon's patch.
11009 * XFormsView.C (setWindowTitle): also set icon title.
11011 * LyXView.h (setWindowTitle): signature changed.
11012 * XFormsView.h (setWindowTitle): ditto.
11014 2002-01-02 Juergen Vigna <jug@sad.it>
11016 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11018 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11020 * screen.C (topCursorVisible): introduce a temp var for
11021 text->cursor.row(), handle the case where this row is null. (kindo
11024 * text2.C (setCursor): add a couple of asserts.
11026 * paragraph.h (inset_iterator): add -> operator
11028 * paragraph.[Ch] (autoDeleteInsets): remove member function
11030 * BufferView2.C (removeAutoInsets): rewrite to handle the old
11031 cursor pos correctly and handle inset deletion by itself.
11032 (insertErrors): move iterator declaration out of for expression
11034 * lyxtextclass.C: add <algorithm>
11036 * Makefile.am: added the new files to sources, removed layout.C
11038 * layout.C: removed file
11040 * layout.h: remove LYX_DUMMY_LAYOUT
11042 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11046 * lyxtextclass.[Ch]:
11047 * lyxtextclasslist.[Ch]: new files
11049 * include order changes to a lot of files, also changes because of
11052 2001-12-27 Juergen Vigna <jug@sad.it>
11054 * buffer.C (asciiParagraph): more fixes.
11056 * tabular.C (ascii): make ascii export support export of only the
11057 data separated by a column-delimiter.
11058 (ascii): better support for ascii export.
11060 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11062 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11064 * tabular_funcs.C: use a "using std::getline" instead of the
11065 previous fix from Angus (necessary for cxx + lyxstring)
11067 2001-12-24 Juergen Vigna <jug@sad.it>
11069 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11071 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11072 problems. First check a minipage also if we have some ert-contents
11073 (not only on par->size(), second set the right depth of the paragraph
11074 on the relink to the root-paragraph-list!
11076 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11077 which then did not anymore update the main paragraphs on undo/redo!
11079 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11081 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11082 code. Support all font-changing funcs (even those which are not in
11083 menu currently). Support for reporting font settings in
11084 mathed (disabled until Andre provides a function on mathed's side).
11086 * func_status.h (toggle): small helper function to set toggle
11089 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
11091 * tabular_funcs.C: getline -> std::getline
11093 2001-12-21 Juergen Vigna <jug@sad.it>
11095 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11096 accessed and could be 0 (I couldn't generate this but it seems
11099 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11101 * tabular_funcs.C: add LIstream.h, move write_attribute to..
11102 * tabular_funcs.h: here and include iosfwd
11104 2001-12-20 Juergen Vigna <jug@sad.it>
11106 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11107 inside inset but undo_par was.
11109 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11111 * Thesaurus.C: always include <config.h> in sources.
11115 * box.h: do not include <config.h> in header files
11117 * text.C (paintLastRow): remove unused variable
11119 * text.C (transformChar):
11121 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11123 * Painter.C (text):
11124 * font.C (width): rewrite to use uppercase() instead of
11127 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11129 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
11131 * lyxfind.C: clean up of find failure position change
11133 2001-12-20 Juergen Vigna <jug@sad.it>
11135 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11137 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11138 (TeXRow): added to LaTeX a single tabular row.
11139 (TeXLongtableHeaderFooter): added to output LT-h/f data.
11140 (Latex): simplified and finally good LT-h/f support.
11141 (various_functions): just small adaptions for LT-h/f support.
11143 * tabular_funcs.[hC]: added and moved here all not classfunctions
11146 2001-12-19 Juergen Vigna <jug@sad.it>
11148 * tabular.[Ch]: better support for longtabular options (not finished
11151 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11153 * text.C (paintLastRow): use the label font instead of the font of
11154 the last character to compute the size of *_BOX. This makes more
11155 sense and avoids a crash with empty paragraphs.
11156 Use Painter::rectangle to draw EMPTY_BOX.
11158 2001-12-19 Juergen Vigna <jug@sad.it>
11160 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11161 the paragraphs if the replaced paragraph is not the first one!
11162 Tried to delete not used paragraphs but does not work yet so for
11163 now it's inside #ifdef's and by default off!
11165 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11167 * MenuBackend.C: include "lyx_main.h" instead of declaring
11168 lastfiles (actually was declared as LastFiles* instead of a
11171 2001-12-17 Juergen Vigna <jug@sad.it>
11173 * tabular.C (AppendColumn): applied John's fix
11175 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
11179 * BufferView_pimpl.h:
11180 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11183 * box.h: new start of class for above
11185 * lyxfunc.C: ignore space-only minibuffer dispatches.
11186 Show the command name when it doesn't exist
11188 * minibuffer.C: don't add empty lines to the history
11190 * minibuffer.C: add a space on dropdown completion
11192 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
11194 * text.C: fix line above/below drawing in insets
11196 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11198 * lyxlength.C (LyXLength): Initialize private variables.
11200 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
11202 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11203 when inserting error insets.
11205 2001-12-13 Juergen Vigna <jug@sad.it>
11207 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11208 actually sometimes the before-paragraph.
11209 (setUndo): don't clear the redostack if we're not actually undoing!
11211 2001-12-06 Juergen Vigna <jug@sad.it>
11213 * undo_funcs.C (textHandleUndo): well after John's hint I got here
11214 and fixed redoing of main paragraph, so we can use it now ;)
11216 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11218 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11220 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11223 2001-12-13 André Pönitz <poenitz@gmx.net>
11226 * undo_func.C: minor cleanup
11228 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11230 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11231 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11232 font in urw-fonts package which is marked as -urw-fontspecific and
11233 does not work (incidentally, changing the encoding in the
11234 fonts.dir of this package to -adobe-fontspecific fixes the
11237 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11238 is a crash when undoing first paragraph (Juergen, please take a
11239 look). THis does not mean the undo fix is wrong, just that it
11242 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11243 the (Paragraph*) version when needed instead of duplicating the
11246 * text.C (workWidth): use Inset::parOwner to find out where the
11247 inset has been inserted. This is a huge performance gain for large
11248 documents with lots of insets. If Inset::parOwner is not set, fall
11249 back on the brute force method
11251 * paragraph_pimpl.C (insertInset):
11252 * paragraph.C (Paragraph):
11253 (cutIntoMinibuffer): set parOwner of insets when
11254 inserting/removing them
11256 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11258 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
11264 * mathed/formulabase.C:
11265 * mathed/math_cursor.[Ch]:
11266 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11269 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11271 * lyxlength.[Ch] (operator!=): new function
11273 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11275 * text.C (workWidth): use Inset::parOwner to find out where the
11276 inset has been inserted. This is a huge performance gain for large
11277 documents with lots of insets. If Inset::parOwner is not set, fall
11278 back on the brute force method
11280 * paragraph_pimpl.C (insertInset):
11281 * paragraph.C (Paragraph):
11282 (cutIntoMinibuffer): set parOwner of insets when
11283 inserting/removing them
11285 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11287 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11289 * tabular-old.C (getTokenValue):
11290 * tabular.C (getTokenValue):
11291 (write_attribute): new versions for LyXLength
11292 (everywhere): adjust the use of widths
11294 * tabular.h: change the type of widths from string to LyXLength
11296 2001-12-11 Ben Stanley <bds02@uow.edu.au>
11298 * paragraph.C: fixed missing line number count when exporting
11299 Environments to LaTeX file
11301 * buffer.C: added informational message for checking line numbers.
11303 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11305 * text2.C (deleteEmptyParagraphMechanism): if there is only one
11306 paragraph, do the 'double space' part, but not the 'empty
11309 * text.C (workWidth): small optimization
11310 (getLengthMarkerHeight): use minimal size for negative lengths.
11312 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
11314 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11316 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11318 2001-12-11 André Pönitz <poenitz@gmx.net>
11321 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11323 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11325 * text2.C: keep selection on a setFont()
11327 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11329 * lyx_cb.C: another bv->text misuse, from insert label
11331 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11334 * kbsequence.C: re-instate nmodifier mask
11336 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
11338 * lyx_main.h: make lyxGUI private.
11340 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11342 * lyxfind.C: place the cursor correctly on failed search
11344 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11346 * text.C (getLengthMarkerHeight): for small heights, the arrows
11347 are not always on top/bottom of the text
11348 (drawLengthMarker): smaller arrows; take the left margin in
11349 account; draw also vfills.
11351 (paintLastRow): remove special code for vfill and standard spaces,
11352 since everything is handled in drawLengthMarker now.
11354 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11356 * buffer.C (insertErtContents): try to handle font and language
11357 interaction a bit better.g
11359 * ColorHandler.C (updateColor): change the hash to cover the whole
11360 LColor enum, ws cleanup
11361 (getGCLinepars): ditto
11362 (getGCLinepars): only lookup in the linecache once.
11364 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
11366 * iterators.C (operator++): Make the iterator more robust
11368 * BufferView2.C (removeAutoInsets): Use paragraph iterators
11370 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11372 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11375 * text.C: better added space drawing
11377 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11380 * BufferView2.C: fix layout combo update on inset unlock
11382 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11384 * Makefile.am: don't compile unused files
11386 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11390 * LyXAction.C: remove old LFUN_LAYOUTNO
11392 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11394 * paragraph_pimpl.h:
11395 * paragraph_pimpl.C: isTextAt() doesn't need font param
11397 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11400 * lyxlex.C: little cleanup
11402 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11404 * BufferView_pimpl.C: fix insertAscii for insets
11406 2001-12-05 Juergen Vigna <jug@sad.it>
11408 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11409 set the right font on the "multi" paragraph paste!
11411 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11417 * lyxlength.C: remove out-commented code.
11419 * BufferView_pimpl:
11433 * vc-backend.C: change "while(" to "while ("
11435 * lyxlength.[Ch]: add zero function to check if length is zero or
11437 * lyxgluelength.C: use it
11439 2001-12-05 Allan Rae <rae@lyx.org>
11441 * lyxlength.C: Attempted a fix for the abs(int) header selection.
11442 Works for 2.95.3, from what I understand of Garst's reports this should
11443 work for other g++ versions. We're screwed if the abs(int) definition
11444 changed between bugfix releases of gcc.
11446 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11448 * text.C: fix chapter label offset !
11450 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11453 * text.C: fix hfill at end of line, clean up
11455 2001-12-04 Juergen Vigna <jug@sad.it>
11457 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11458 that we force an update of the inset and it's owners if neccessary.
11460 2001-12-03 Juergen Vigna <jug@sad.it>
11462 * text.C (rowLast): simplified code
11464 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11466 * lyxfunc.C: fix show options on timeout
11468 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11470 * screen.C (topCursorVisible): scroll half a page when the cursor
11471 reached top of bottom of screen
11473 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
11475 * minibuffer.C: deactivate on loss of focus
11477 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11479 * vspace.[Ch] (operator!=): add operator.
11481 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
11483 * BufferView_pimpl.C: refuse to open an inset when
11484 there's a selection.
11486 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
11488 * BufferView_pimpl.C: allow to click on RHS of full row insets
11490 2001-11-30 Juergen Vigna <jug@sad.it>
11492 * tabular.C (LyXTabular): add a same_id to set the same id's in the
11493 insets for undo reasons.
11495 2001-11-28 André Pönitz <poenitz@gmx.net>
11497 * vspace.[Ch]: cosmetical changes
11499 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11509 * kbsequence.C: part re-write of old kb code
11512 * WorkArea.C: remove Lgb_bug_find_hack
11514 2001-11-30 José Matos <jamatos@fep.up.pt>
11516 * buffer.C (makeDocBookFile): add a comment to point a hack.
11517 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11518 Fixed a double write of labels.
11520 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11523 * LaTeX.h Fixed bug in LaTeX class where it would not
11524 re-run latex if no depfiles were changed, but the .dvi was removed.
11526 2001-11-28 André Pönitz <poenitz@gmx.net>
11528 * all the files from the change on 2001/11/26:
11529 use lyx::layout_type instead of LyXTextClass::size_type
11530 use lyx::textclass_type instead of LyXTextClassList::size_type
11532 2001-11-29 Juergen Vigna <jug@sad.it>
11534 * text.C: added support for paragraph::isFreeSpacing()
11536 * buffer.C: same as above
11538 * paragraph.h: inserted isFreeSpacing() function to enable
11539 FreeSpacing inside InsetERT.
11541 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11542 of the paragraph's in the cut/copy buffer to 0!
11544 * text2.C (removeRow): remove the assert as it can!
11546 * lyxtext.h: added helper function firstRow returning firstrow and
11547 made firstrow private again.
11549 * BufferView2.C (lockInset): don't relock if we're already locked!
11551 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11552 the only paragraph.
11553 (removeRow): added Assert::(firstrow)
11555 * debug.C: forgot to add INSETTEXT here.
11557 2001-11-28 Juergen Vigna <jug@sad.it>
11559 * sp_spell.C (initialize): changed error text to more general
11560 spellchecker command use (not only ispell!)
11562 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11564 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11566 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11568 * vspace.C: initialise lyxgluelength on failure
11570 2001-11-28 Allan Rae <rae@lyx.org>
11572 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11573 declaration & definition that looks like a function declaration.
11575 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11577 * BufferView2.C (copy):
11578 (copyEnvironment): do not clear the selection when doing a copy.
11580 * text.C (paintFirstRow): compilation fix
11582 2001-11-27 Ben Stanley <bds02@uow.edu.au>
11584 * tabular.C (Latex): correct line count when writing latex.
11586 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
11588 * paragraph_pimpl.h:
11589 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11592 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11596 * LColor.C: change vfillline->added_space
11598 * text.C: add markers and text for added space
11600 * vspace.C: fix comment
11602 2001-11-28 André Pönitz <poenitz@gmx.net>
11604 * paragraph.C: whitespace changes
11605 * all the other files from the change on 2001/11/26:
11606 change *::pos_type into lyx::pos_type
11608 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
11610 * buffer.C (parseSingleLyXformat2Token): Set the language to the
11611 language of the document when inserting error insets.
11613 2001-11-26 André Pönitz <poenitz@gmx.net>
11615 * BufferView_pimpl.[Ch]:
11623 * paragraph_pimpl.[Ch]:
11626 * text2.C: reduce header dependencies, introduce type for positions
11628 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11630 * <various>: change to use Alert.h
11632 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
11634 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11635 when encountering an unknown token.
11636 (readLyXformat2): Show an error message if there were unknown tokens.
11638 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
11641 * BufferView_pimpl.C:
11645 * text2.C: use par->isInset()
11647 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11649 * paragraph_pimpl.h:
11650 * paragraph_pimpl.C: cleanup
11652 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11654 * text2.C (removeRow):
11655 * text.C (setHeightOfRow): remove useless (and costly) call to
11658 2001-11-20 Allan Rae <rae@lyx.org>
11660 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11661 Now need Inset*::checkInsertChar() to return true for appropriate
11662 cases so that the characters in the minibuffer will actually be
11665 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11667 * text.C: change the order of the includes.
11668 (workWidth): initialize it at once.
11669 (workWidth): make maxw unsigned
11670 (setHeightOfRow): remove unused variable (inset)
11671 (selectSelectedWord): remove unused variable (inset)
11672 (paintRowText): fix drawing of hfill characters, and clean up a bit.
11674 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11676 * lyxserver.C (emergencyCleanup): do not try to close pipes if
11677 server is not running.
11679 (closeConnection): add debug info when server is disabled.
11681 * ColorHandler.C (getGCForeground): send debug message to GUI
11684 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11686 * kbmap.C (bind): modify because return conventions of
11687 kb_sequence::parse have changed.
11689 * kbsequence.C (parse): only ignore spaces and not any stupid
11690 control character. This avoids tests like s[i] <= ' ', which are
11691 guaranteed to fail with 8bit characters and signed chars.
11692 Change return code to string::npos when there have been no error
11693 (0 was a bad idea when error is at first character)
11695 2001-11-14 José Matos <jamatos@fep.up.pt>
11698 * buffer.C (simpleDocBookOnePar): removed unused argument.
11700 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11702 * text.C (selectNextWordToSpellcheck): do not test explicitely for
11703 insets which are part of a word. Paragraph::isLetter takes care of
11704 that now. Use Paragraph::isInset to identify insets.
11705 (selectSelectedWord): do not test for hyphenation break.
11707 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11708 that protected spaces are considered as spaces.
11710 * paragraph.C (isLetter): cleanup the code for ispell extras; use
11713 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
11716 * lyxserver.C: fix it. and small cleanup.
11718 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11720 * BufferView_pimpl.C: use inline helpers
11723 * LaTeXFeatures.C: fix typos
11726 * Spacing.C: move spacing_string into class
11728 * ToolbarDefaults.C: move stuff into namespace anon
11730 * layout.h: update enum
11732 * lyxfunc.C: use better debug
11734 * minibuffer.h: fix typo
11738 * WorkArea.C: add and use Debug::WORKAREA
11742 * text2.C: code re-organisation, inline helpers
11744 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
11746 * Layout.C: replaced a few cases of std::vector.size() == 0 with
11747 std::vector.empty().
11749 2001-11-09 Allan Rae <rae@lyx.org>
11751 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11752 '\n's after tables. Tabular and ERT inset work now makes this no
11755 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11758 * minibuffer.C: fix crash, improve drop-down completion
11760 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
11763 * lyxserver.C: invalidate fd's when doing endPipe()
11765 2001-11-08 José Matos <jamatos@fep.up.pt>
11767 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11768 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11771 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11773 2001-11-07 José Matos <jamatos@fep.up.pt>
11776 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11779 * buffer.C (sgmlOpenTag):
11780 * buffer.C (sgmlCloseTag): removed debug info.
11782 * buffer.h (sgmlOpenTag):
11783 * buffer.h (sgmlCloseTag): made public.
11785 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11787 * buffer.C (saveParamsAsDefaults):
11788 * lyx_cb.C (MenuLayoutSave): remove
11790 * LyXAction.C (init):
11792 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11794 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11796 * buffer.C (setPaperStuff): removed from here...
11798 * bufferparams.C (setPaperStuff): ... and moved there.
11800 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
11804 * XFormsView.C: add support for drop-down completion
11806 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
11808 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11811 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11813 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11816 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
11818 * lyx_main.C: change ref to known bugs
11820 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
11822 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11823 to work around older babel problems.
11825 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11827 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11829 2001-10-24 Juergen Vigna <jug@sad.it>
11831 * tabular-old.C (ReadOld): below variable changes reflected.
11833 * tabular.[Ch]: added ltType struct for longtable header/footer
11834 defines and changed all instances where they are used. Added
11835 future support for double top/bottom rows.
11837 2001-10-24 José Matos <jamatos@fep.up.pt>
11839 * buffer.h (docbookHandleCaption):
11840 * buffer.C (docbookHandleCaption): removed unused function.
11841 (makeDocBookFile): moved docbook supported version to v4.1.
11843 2001-10-24 José Matos <jamatos@fep.up.pt>
11846 * tabular.C (docbookRow): new function to export docbook code of a row.
11847 (DocBook): now honors the longtable flags.
11849 2001-10-23 José Matos <jamatos@fep.up.pt>
11852 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11853 of the lyx defined sgml entities used in a docbook/linuxdoc document.
11855 * buffer.C (makeLinuxDocFile):
11856 (makeDocBookFile): reworked the preamble, more clean, and with
11857 support for lyx defined entities. Changed the document declaration
11858 to be more XML friendly.
11860 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11861 if we need to output XML that should be done with a filter.
11863 2001-10-22 Juergen Vigna <jug@sad.it>
11865 * sp_pspell.h (class PSpell): add alive function needed in the
11866 controller to see if the spellchecker could be started.
11868 2001-10-22 Juergen Vigna <jug@sad.it>
11870 * buffer.C (insertStringAsLines): modify the font for inserting
11871 chars in certain conditions by calling checkInsertChar(font).
11873 2001-10-19 Juergen Vigna <jug@sad.it>
11875 * text.C (workWidth): use getRow instead of wrong algorithm.
11876 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11878 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
11883 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11885 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11887 * text.C (workWidth): do not search for the exact row when
11888 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11889 optimization for big documents.
11891 2001-10-18 Juergen Vigna <jug@sad.it>
11893 * text.C (workWidth): new function with added Inset * parameter.
11895 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11897 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11899 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11900 change return type of getColumnNearX.
11903 * text.C (changeRegionCase): use uppercase/lowercase instead of
11906 (rightMargin): simplify code by factoring out the uses of
11911 (appendParagraph): use Paragraph::size_type
11913 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11915 * vspace.C (asLatexString): add a missing break
11917 2001-10-15 Herbert Voss <voss@perce.de>
11919 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11921 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11923 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11926 2001-10-10 André Pönitz <poenitz@gmx.net>
11928 * lyxfunc.C: removed greek_kb_flag.
11930 2001-10-10 Herbert Voss <voss@perce.de>
11932 * lyx_main.C: delete global string help_lyxdir.
11934 2001-10-09 Herbert Voss <voss@perce.de>
11936 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11938 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11940 * lyx_main.C: added global string help_lyxdir.
11942 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11944 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
11946 * lyxrc.C (set_font_norm_type): support iso8859-4
11948 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
11950 * LaTeX.C (deplog): add another regex for MikTeX
11952 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
11954 * lyxrc.C (set_font_norm_type): support iso8859-3
11956 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11958 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11960 * LaTeXFeatures.C: remove special case of french and index
11962 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11963 before \begin{document}). This solves several incompatibilities.
11965 2001-10-03 Garst Reese <reese@isn.net>
11967 * lyx_cb.C: change CheckTex error msg.
11969 2001-10-03 José Matos <jamatos@fep.up.pt>
11971 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11973 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11975 * .cvsignore: update
11977 * lyx_main.C (commandLineVersionInfo): use new style version info.
11979 * buffer.C (writeFile):
11981 (makeLinuxDocFile):
11982 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11984 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11986 * version.h: update to use stuff in version.C
11988 * version.C.in: new file. Contains version information determined
11989 at compile time. This is a merging of version.h and
11992 2001-10-03 Juergen Vigna <jug@sad.it>
11994 * BufferView_pimpl.C (update): don't change "dirty" status in
11997 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
11999 * WorkArea.C (c-tor): re-position version string slightly.
12001 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
12003 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12004 revert to previous code.
12006 WorkArea.[Ch]: (show, destroySplash): methods removed.
12008 WorkArea.C: rework code so that it's an amalgam of the codes before and
12009 after the splash screen was moved to WorkArea.
12011 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12014 * vspace.C (inPixels):
12017 * buffer.C (insertStringAsLines):
12018 (asciiParagraph): fix types to be large enough
12020 * lyxlex_pimpl.h: change member status from short to int
12022 * layout.h: fix type of endlabeltype
12025 * kbsequence.C (parse): change return type to string::size_type
12027 * LaTeX.C (updateBibtexDependencies): comment out unneeded
12030 * Bullet.C (bulletSize):
12031 (bulletEntry): do not use short ints as parameters
12033 * BufferView2.C (insertLyXFile): change a char to an int.
12035 * WorkArea.C (WorkArea): remove unneeded floats in computation
12037 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
12039 * buffer.C (asciiParagraph): Treat '\\' as other chars.
12041 * paragraph.C (asString): Do not ignore newline/hfill chars when
12042 copying to the clipboard.
12044 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
12046 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12047 after a multi-line inset.
12049 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
12051 * paragraph.C (validate): Set NeedLyXFootnoteCode
12053 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12055 * lyxfont.C (LyXSizeNames): changed increase-error to increase
12056 and decrease-error to decrease.
12058 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12060 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12061 it more readable (should be equivalent)
12063 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
12065 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12067 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12069 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12070 of a cursor (row, etc.) after a character has been deleted
12071 (deleteEmptyParagraphMechanism): call the method above on _all_
12072 cursors held by the LyXText when a double space has been
12075 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12077 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12079 (resizeCurrentBuff): remove code to destroy the old splash dialog.
12081 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12082 background. Use greyOut() and the new show() methods to toggle between
12083 the foreground and background. Add code to remove the splash after
12084 its initial showing.
12086 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12087 (create_forms): no longer call Dialogs::showSplash.
12089 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12091 * .cvsignore: add version_info.h
12093 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12095 * version_info.h.in: new file
12097 * Makefile.am: add version_info.h.in
12099 * lyx_main.C (commandLineVersionInfo): use version_info defined in
12100 version_info.h instead of VERSION_INFO
12102 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
12104 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12105 The ERT inset now returns string().
12107 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
12109 * lyxtext.h, text.C (selectNextWord): renamed as
12110 selectNextWordToSpellcheck.
12112 * text.C (selectNextWordToSpellcheck): Modified to not select
12113 words inside an ERT inset.
12115 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12117 * lyx_cb.C (MenuLayoutSave): change a bit the question
12119 * sp_base.h: include <sys/types.h>
12121 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
12123 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12125 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
12127 * several files: fix typos in user-visible strings
12129 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12131 * text2.C (pasteSelection): do not set the selection, since it
12132 will be cleared later. Actually, the intent was to fix the way the
12133 selection was set, but I figured rmoving the code was just as good.
12135 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
12137 * FontLoader.C (available): Check if font is available without
12140 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
12142 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12144 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
12146 * lyxrc.[Ch]: added display_graphics variable and associated code.
12148 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12150 * bufferparams.C (hasClassDefaults): new method. Returns true if
12151 the buffer parameters correspond to known class defaults
12153 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
12155 * XFormsView.C (show): set minimum size to the main window.
12157 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12159 * text2.C (copySelection):
12161 * lyxfind.C (LyXReplace):
12162 * BufferView_pimpl.C (Dispatch): pass the correct flag to
12163 LyXText::selectionAsString.
12165 * paragraph.C (asString): add "label" argument to the second form
12167 * text2.C (selectionAsString): add "label" argument and pass it to
12168 Paragraph::asString.
12170 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12172 * lyx_main.C (commandLineHelp): remove version information
12174 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
12176 * lyx_main.C: add -version commandline option
12178 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12180 * paragraph.h: make the optional constructor arg required instead.
12181 some modifications to other files because of this.
12183 * minibuffer.C (C_MiniBuffer_peek_event): make it static
12185 * lyxserver.C (C_LyXComm_callback): make it static
12187 * lyx_main.C (error_handler): make it static
12189 * lyx_gui.C (LyX_XErrHandler): make it static
12191 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12193 * WorkArea.C: make the extern "C" methods static.
12195 * Makefile.am (lyx_LDADD): simplify
12197 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12199 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12200 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12202 * LyXAction.C (init):
12203 * lyxfunc.C (dispatch): associated code removal.
12205 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12207 * lyxfont.h (isSymbolFont): shut off warning
12209 * text.C (setHeightOfRow):
12210 (getVisibleRow): fix crash with empty paragraphs which have a
12213 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
12215 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12218 2001-09-04 José Matos <jamatos@fep.up.pt>
12221 * tabular.C (docbook): rename docBook method to docbook.
12223 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12225 * Makefile.am: add dependencies to main.o.
12227 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
12229 * FontLoader.C (available): Return false if !lyxrc.use_gui
12231 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
12233 * FontInfo.C (query):
12234 * converter.C (view):
12235 * importer.C (Import):
12236 * exporter.C (Export): Can not -> cannot.
12238 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
12240 * BufferView_pimpl.C: allow to create index inset even if
12243 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12245 * buffer.C (getLists): replace boost::tie code with an explicit pair
12246 as boost::tie can break some compilers.
12248 * iterators.h: Added a std:: declaration to the return type of
12251 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
12253 * lyxrc.C: add help for view_dvi_paper_option, default to safe
12256 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
12258 * iterators.[Ch]: New files. Provide paragraph iterators.
12260 * buffer.C (changeLanguage): Use paragraph iterators.
12261 (isMultiLingual): ditto
12263 * BufferView2.C (ChangeInsets): Use paragraph iterators.
12265 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
12267 * FontLoader.C: Support for cmr font.
12269 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
12271 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12272 (available): New method.
12274 * FontInfo.C (getFontname): Use scalable fonts even when
12275 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12278 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12280 * converter.C (Formats::view): reverted! Incorrect fix.
12282 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12284 * converter.C (Formats::view): only output the -paper option
12285 if the dvi viewer is xdvi, thereby fixing bug #233429.
12287 2001-08-23 Herbert Voss <voss@perce>
12289 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12291 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
12293 * Spacing.h (Spacing): Set space to Default on in the default
12296 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
12298 * vc-backend.h (RCS::versionString): add RCS to version
12299 (CVS::versionString): add CVS to version
12301 * vc-backend.C (scanMaster): do not add CVS to version.
12302 (scanMaster): do not add RCS to version
12304 * lyxvc.C (versionString): new method
12306 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12308 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12310 * Spacing.C (set): initialize fval
12312 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
12314 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12317 2001-08-16 Juergen Vigna <jug@sad.it>
12319 * lyxfunc.C (dispatch): implemented the new FINISHED states.
12321 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12323 * BufferView_pimpl.C:
12326 * text2.C: setParagraph takes linespacing now
12328 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
12330 * LyxAction.C: add internal LFUN_CITATION_INSERT
12332 * LyXView.C: actually apply fix
12334 * bufferlist.C: fix open non-existent file
12336 * lyxfind.C: fix indentation
12338 * lyxfunc.C: remove unneeded assert, fix typo
12340 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12342 * MenuBackend.C: use "Floatname List"
12344 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
12346 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12347 when converting LaTeX layout to insetERT.
12348 Generate a non-collapsed float when reading old float
12350 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12352 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12355 2001-08-13 Juergen Vigna <jug@sad.it>
12357 * text.C (fill): return 0 instead of 20 as this seems to be the more
12360 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12362 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12365 2001-08-13 Juergen Vigna <jug@sad.it>
12367 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12369 (SearchBackward): comment out the unlocking of the inset_owner this
12370 should not be needed!
12372 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
12374 * Many files: Remove inherit_language, and add latex_language
12376 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12377 collapsible insets.
12379 2001-08-10 Juergen Vigna <jug@sad.it>
12381 * text.C (prepareToPrint): fixed hfill-width in draw!
12383 * BufferView2.C (selectLastWord): save the selection cursor as this
12384 now is cleared in the function LyXText::clearSelection!
12386 2001-08-08 Juergen Vigna <jug@sad.it>
12388 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12389 BACKSPACE type functions.
12391 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12392 is only cutted from the document but not put in the cut-buffer, where
12393 still the old stuff should be.
12395 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12397 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12399 * tabular.C (SetWidthOfCell): fixed special case where the width
12401 (LeftLine): handle '|' in align_special.
12403 (LeftAlreadyDrawed): ditto
12404 (SetWidthOfCell): ditto
12406 2001-08-07 Juergen Vigna <jug@sad.it>
12408 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12410 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12412 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12413 * lyxlex.[hC]: ditto
12415 2001-08-06 Juergen Vigna <jug@sad.it>
12417 * text.C (getVisibleRow): fix up row clearing a bit.
12419 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12421 * minibuffer.C: make sure the X server sees the changes in the input.
12423 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12425 * paragraph.C (getFont): split into...
12426 (getLabelFont): this
12427 (getLayoutFont): and this
12428 * paragraph_pimpl.C (realizeFont): calling this
12430 * text2.C (getFont): split into...
12431 (getLayoutFont): this
12432 (getLabelFont): and this
12433 (realizeFont): all three calling this
12435 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12438 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12440 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12442 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
12444 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12445 layouts from the Quote inset insertion.
12447 2001-08-03 Juergen Vigna <jug@sad.it>
12449 * BufferView_pimpl.C (update): do the fitCursor only at the end!
12451 * screen.C (drawFromTo): don't call fitcursor here and do the loop
12452 only if status not is already CHANGED_IN_DRAW (second level).
12454 * text.C (draw): don't set the need_break_row when inside an
12457 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12459 * buffer.C (parseSingleLyXformat2Token): handle more latex
12462 * bufferview_funcs.[hC]: change function names to
12463 begin with small char, adjust other files.
12465 2001-08-02 André Pönitz <poenitz@gmx.net>
12468 BufferView_pimpl.C: remove broken special code for math-greek
12470 2001-08-02 Juergen Vigna <jug@sad.it>
12472 * BufferView_pimpl.C (update): redone this function so that we
12473 update the text again if there was a CHANGE_IN_DRAW.
12475 * screen.C (cursorToggle): removed LyXText parameter and recoded.
12476 (drawFromTo): added a new internal bool which is used by draw() and
12478 (general): some cursor drawing problems fixed.
12480 2001-08-01 Juergen Vigna <jug@sad.it>
12482 * lyxfind.C (LyXFind): fixed
12483 (SearchForward): ditto
12484 (SearchBackward): ditto
12486 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12487 spurius drawing of the cursor in the main area.
12489 * text2.C (status): small fix which could lead to a segfault!
12490 (clearSelection): remove unneeded BufferView param.
12492 2001-08-01 André Pönitz <poenitz@gmx.net>
12494 * lyxfunc.C: small change due to changed mathed interface
12496 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12498 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12500 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
12502 * lyxfunc.c: fail gracefully if file doesn't exist
12507 * BufferView_pimpl.C: IsDirWriteable() proto changed
12509 * LyXView.C: fix updateWindowTitle() to store the last title
12511 2001-07-31 Juergen Vigna <jug@sad.it>
12513 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12514 the font (wrong since using of Paragraph::highestFontInRange).
12516 * paragraph.C (highestFontInRange): added a default_size parameter.
12518 * text.C (getVisibleRow): minor clear row changes (still not perfect).
12519 (setHeightOfRow): reformat
12521 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12523 * converter.[hC] + affected files: move to (inital-char)lowercase
12526 * ParagraphParameters.C (ParagraphParameters): remove commented code
12528 * PainterBase.[Ch]: remove commented code
12530 * LaTeXFeatures.h: add "bool floats" for float.sty
12532 * LaTeXFeatures.C (LaTeXFeatures): init floats
12533 (require): handle float
12534 (getPackages): do it with floats
12536 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12538 * BufferView_pimpl.C (Dispatch): improve handling of
12539 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12541 * commandtags.h: #include lyxfont.h here temporarily to avoid
12544 * bufferlist.h: include LString.h here.
12546 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12548 * text2.C (getStringToIndex): new method.
12550 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
12552 * *: Reduced header file dependencies all over.
12554 2001-07-30 Baruch Even <baruch@lyx.org>
12556 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12558 2001-07-29 Baruch Even <baruch@lyx.org>
12560 * buffer.C (readInset): Changed GRAPHICS to Graphics.
12562 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12564 * ParameterStruct.h (endif): add a default constructor to make
12565 sure that all variables is initialized.
12567 * ParagraphParameters.C (ParagraphParameters): adjust
12569 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12571 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12572 index; also, check that there is something to index, and that it
12573 does not span over several paragraphs.
12574 (doubleClick): use WHOLE_WORD_STRICT for double click.
12576 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12578 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12581 2001-07-26 Baruch Even <baruch@lyx.org>
12583 * buffer.C (readInset): Changed to call up InsetGraphics when reading
12584 an InsetFig figure, backwards compatible reading of old figure code.
12586 2001-07-27 Juergen Vigna <jug@sad.it>
12588 * text2.C: font.realize function adaption.
12590 * text.C (draw): add a warnings lyxerr text if needed.
12592 * layout.C: font.realize function adaption.
12594 * language.C: add inherit_language and implement it's handlings
12596 * bufferview_funcs.C (StyleReset): remove language parameter from
12597 font creation (should be language_inherit now).
12599 * bufferparams.C (writeFile): handle ignore_language.
12601 * paragraph.C (getFontSettings): the language has to be resolved
12602 otherwise we have problems in LyXFont!
12604 * lyxfont.C (lyxWriteChanges): added document_language parameter
12605 (update): removed unneeded language parameter
12607 * paragraph.C (validate): fixed wrong output of color-package when
12608 using interface colors for certain fonts in certain environments,
12609 which should not seen as that on the final output.
12611 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
12613 * BufferView_pimpl.C:
12618 * LyXAction.C: add thesaurus support
12621 * lyxfind.C: add "once" parameter, for thesaurus, to not
12622 move to the next match
12624 2001-07-26 Juergen Vigna <jug@sad.it>
12626 * lyxfont.C (realize): honor ignore_language too!
12629 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12631 * text.C (draw): one place more for ignore_language to not draw
12634 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
12636 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12638 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12640 * buffer.C (parseSingleLyXformat2Token): a more general fix for
12641 the minipage conversion problem.
12643 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12645 * buffer.C (parseSingleLyXformat2Token): check minipage if we
12648 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12650 * BufferView.h: don't forward declare WorkArea
12652 * BufferView.C: don't include WorkArea.h
12654 2001-07-25 André Pönitz <poenitz@gmx.net>
12658 * lyxfunc.C: new LFUN 'math-space'
12660 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12662 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12664 * text2.C (toggleInset): call open/close
12666 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12668 * lyxfunc.C (dispatch): add debug for the disabled case
12670 * font.C (buttonText): make similar to rectText
12672 * buffer.C (readInset): comment out parsing of insetlist and
12675 * PainterBase.C (rectText): small correction
12677 * BufferView_pimpl.C: comment out insettheorem and insetlist
12678 * LyXAction.C: ditto
12679 * commandtags.h: ditto
12681 2001-07-24 Juergen Vigna <jug@sad.it>
12683 * text.C (draw): honor the ignore_language.
12685 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12687 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12689 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12692 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12694 * lyxtext.h: remove unused (and unimplemented) methods
12696 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12698 * text.C (getVisibleRow): honor background color
12701 * Painter.h: remove default color argument for fillRectangle
12703 * text.C (backgroundColor): new method
12705 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12707 * text.C (getVisibleRow): adjust
12709 * font.[Ch] (rectText): new method, metrics
12710 (buttonText): new method, metrics
12712 * PainterBase.[hC]: make rectText and buttonText always draw and take
12715 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12717 * ToolbarDefaults.C (read):
12718 * MenuBackend.C (read): allow escaping in all strings
12720 * BufferView_pimpl.C (insertAndEditInset): new method.
12721 (Dispatch): use insertAndEditInset whenever appropriate.
12723 * BufferView_pimpl.C (insertNote): removed
12725 * BufferView_pimpl.C (smartQuote): new method, moved from
12726 BufferView; if an insetquote cannot be inserted, insert a '"'
12729 * BufferView2.C: remove insertCorrectQuote();
12731 * lyxfunc.C (getStatus): Add support for all remaingin
12732 inset-insert lfuns.
12734 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12736 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12737 command (necessary to pass " as parameter of self-insert.
12739 * text.C (selectWordWhenUnderCursor):
12740 (selectWord): add word_location parameter
12741 (selectWordWhenUnderCursor): same + remove special code for word
12743 (selectNextWord): use kind() to guess type of insetspecialchar,
12746 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12747 (insertErtContents): create ert insets as collapsed.
12748 (readInset): better compatibility code for Info inset.
12750 2001-07-20 Juergen Vigna <jug@sad.it>
12752 * lyxfunc.C (dispatch): use always LyXFind now!
12754 * text2.C (init): add a reinit flag so that the LyXText can be
12755 reinited instead of deleted and reallocated (used in InsetText).
12757 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12763 2001-07-18 Juergen Vigna <jug@sad.it>
12765 * text.C (selectNextWord): handle insets inside inset by calling
12766 always the bv->text functions so that we can go up the_locking_inset!
12768 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12769 in strange locations when inside an inset!
12771 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12772 handling to include insets.
12774 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12776 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12778 * LyXAction.C (init):
12780 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12781 LIGATURE_BREAK, since the name is so stupid.
12783 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12785 * buffer.C (readInset): enable reading of new InsetNotes as well as old
12788 * FontLoader.C: remove FORMS_H_LOCATION cruft.
12790 * sp_form.[Ch]: remove.
12792 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12794 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12797 * src/buffer.C (readInset): ditto.
12799 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12801 * BufferView_pimpl.C (specialChar): new method. Obsoletes
12802 menuSeparator(), endOfSentenceDot(), ldots() and
12803 hyphenationPoint(), which are therefore removed.
12804 (Dispatch): handle LFUN_HYPHENATION_BREAK.
12806 * LyXAction.C (init):
12807 * commandtags.h: add LFUN_HYPHENATION_BREAK.
12809 * paragraph.C (getWord): removed.
12811 * BufferView_pimpl.C (Dispatch): use last word or selection for
12812 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12814 * lyx_main.C (queryUserLyXDir): do not ask before creating
12815 user_dir, except if it has been named explicitely.
12817 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12819 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12820 a document of zero size.
12822 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
12824 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12825 approriately in the c-tor and in require().
12826 (getPackages): output the appropriate LaTeX for natbib support.
12828 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12829 variables "use_natbib" and "use_numerical_citations" when reading the
12831 (readInset): read the various natbib cite commands.
12832 (validate): white-space change.
12834 * bufferparams.[Ch]: new variables "bool use_natbib" and
12835 "bool use_numerical_citations".
12836 (writeFile): output them in the LyX file.
12838 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12840 * lyxfunc.C (getStatus): add support for all the inset insertion
12843 * text2.C (insertInset):
12844 * paragraph.C (insetAllowed):
12845 * BufferView_pimpl.C (insertInset): update to take in account the
12846 renaming of insertInsetAllowed
12848 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12850 * text2.C (getInset): new method. returns inset at cursor position.
12852 * BufferView_pimpl.C (Dispatch): changes because of this.
12854 * LyXAction.C (init): rename open-stuff to inset-toggle.
12856 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12858 * text2.C (toggleInset): renamed from openStuff; use
12861 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
12863 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12865 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12867 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
12869 * buffer.C (readLyXformat2): Add filename to the error dialog
12871 2001-07-18 Juergen Vigna <jug@sad.it>
12873 * tabular.C (GetCellNumber): put an assert here instead of the check!
12875 2001-07-17 Juergen Vigna <jug@sad.it>
12877 * BufferView_pimpl.C (toggleSelection): adapted too.
12879 * text.C (selectNextWord): adapted for use with insets.
12880 (selectSelectedWord): ditto
12882 2001-07-17 Juergen Vigna <jug@sad.it>
12884 * sp_spell.C (PSpell): fix initialitation order.
12886 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12888 * paragraph.C: spacing
12890 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
12892 * sp_spell.C: repair language selection for pspell
12894 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12896 * lyxfunc.h: change more methods to begin with lower char.
12898 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
12900 * buffer.C (parseSingleLyXformat2Token): Generate error insets
12901 for unknown layouts.
12903 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
12905 * buffer.C (readLyXformat2): Generate an error dialog if there are
12908 2001-07-16 Juergen Vigna <jug@sad.it>
12910 * sp_spell.C: always compile ISpell part.
12912 * lyxrc.C: added use_pspell entry and it's handling.
12914 2001-07-13 Juergen Vigna <jug@sad.it>
12916 * sp_spell.C: removed double includes.
12918 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
12920 Consistent use of Lsstream.h:
12921 * Lsstream.h: added using std::stringstream for consistencies sake.
12923 * buffer.C: removed using std::stringstream
12925 * lyxfont.C (stateText):
12926 * paragraph.C (asString):
12927 * text.C (selectNextWord, selectSelectedWord):
12928 * text2.C (setCounter):
12929 * vspace.C (asString, asLatexString):
12930 std::ostringstream -> ostringstream.
12932 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12934 * LyXAction.C: add LFUN_HELP_ABOUTLYX
12935 * commandtags.h: add LFUN_HELP_ABOUTLYX
12936 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12938 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12940 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12942 * lyx_gui_misc.C: remove spellchecker
12943 * lyxfunc.C: showSpellchecker
12945 * sp_ispell.h: added
12946 * sp_pspell.h: added
12947 * sp_spell.C: added
12948 * sp_form.[Ch]: removed
12949 * spellchecker.[Ch]: removed
12951 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
12953 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12955 (simpleTeXSpecialChars): Simply print the input character without
12956 any special translation if pass_thru is set.
12958 * layout.h: Added bool pass_thru to layout class for being able to
12959 implement pass through of a paragraph for Literate Programming.
12961 * layout.C: add LT_PASS_THRU to LayoutTags enum.
12962 * layout.C (LyXLayout): set pass_thru to flase in constructor.
12963 * layout.C (Read): add "passthru" to list of layout tags and add
12964 code to set the pass_thru boolean when it is read.
12966 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12968 * trans_decl.h: remove allowed from KmodInfo
12970 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12971 remove allowed code
12974 * paragraph_pimpl.C (erase): use boost::prior
12976 * Painter.C (text): use data() instead of c_str() when length is
12978 * WorkArea.C (putClipboard): ditto
12979 * font.h (width): ditto
12981 * BufferView2.C: use it-> instead of (*it). for iterators
12983 * paragraph_pimpl.C: ditto
12984 * paragraph.C: ditto
12985 * minibuffer.C: ditto
12986 * language.C: ditto
12988 * encoding.C: ditto
12989 * counters.C: ditto
12990 * converter.C: ditto
12992 * Variables.C: ditto
12993 * TextCache.C: ditto
12994 * MenuBackend.C: ditto
12995 * LyXAction.C: ditto
12997 * FloatList.C: ditto
12998 * DepTable.C: ditto
12999 * ColorHandler.C (LyXColorHandler): ditto
13001 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13003 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13005 * text2.C (openStuff): reintroduce this method (which had been
13006 nuked in NEW_INSETS frenzy).
13008 * lyxfunc.C (Dispatch): when an action has not been handled, use
13009 its name in the error message, not its number.
13011 * paragraph.C (inInset): change method name to begin with lowercase.
13014 * text2.C: updates because of this.
13016 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13018 * ToolbarDefaults.C (add): add spaces in error message
13020 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13022 * buffer.C (readLyXformat2): initialize the ert comp. variables.
13023 (readLyXformat2): rename return_par to first_par, use lyxlex's
13024 pushToken and remove the manual push handling.
13025 (parseSingleLyXformat2Token): add another ert comp. variable:
13026 in_tabular, rename return_par to first_par. handle newlines better
13028 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13030 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13032 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13034 * text2.C (getParFromID): removed
13036 * buffer.C (getParFromID): new method moved form lyxtext.
13037 * BufferView2.C (insertErrors): adjust
13038 (setCursorFromRow): adjust
13039 * BufferView_pimpl.C (restorePosition): adjust
13040 * lyxfunc.C (Dispatch): adjust
13041 * undo_funcs.C (textUndo): adjust
13043 (textHandleUndo): adjust
13044 (textHandleUndo): adjust
13046 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13048 * buffer.C: up' the LYX_FORMAT
13050 * lyxfont.h: turn NO_LATEX on as default
13052 * buffer.C (insertErtContents): new methods of tex style compability.
13053 (parseSingleLyXformat2Token): use it several places.
13054 * tabular.C (OldFormatRead): and here
13056 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13058 * text2.C: remove some commented code.
13061 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13062 * trans.C: changes because of the above.
13064 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
13066 * text2.C (setCounter): Fix counters bug with bibliography layout.
13068 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13070 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13071 own member functions
13072 (simpleTeXSpecialChars): ditto
13074 2001-07-06 Juergen Vigna <jug@sad.it>
13076 * a lot of files: changed the access to LyXText::status and the
13077 call of undo-functions.
13079 * undo.[Ch]: added a inset_id to the undo informations.
13081 * undo_funcs.[Ch]: added and moved here all undo functions.
13083 * lyxtext.h: give the status enum a weight, made status_ a private
13084 variable and made accessor functions for it, removed the whole bunch
13085 of undo-functions as they are now in their own file, make some
13086 functions publically available. Added function ownerParagraph with
13089 * paragraph.[Ch]: added "bool same_ids" to the constructor,
13090 made InInset() a const function, added getParFromID() function.
13092 * buffer.[Ch]: added const version for inset_iterator functions,
13093 added getInsetFromID() function.
13095 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13096 changed undo functions for new version.
13098 2001-07-05 Juergen Vigna <jug@sad.it>
13100 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13101 unknow mechanism does not call the proper constructor but only this
13102 one also if I request the other!?
13104 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13106 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13108 * text2.C (LyXText): use initialization lists.
13110 * lyxtext.h (Selection): initialize set_ and mark_
13111 (init): remove method
13113 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
13115 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13117 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13119 * screen.[Ch]: change method names to begin with lowercase
13121 * BufferView_pimpl.C (updateScrollbar): simplify further and
13122 hopefully make it a bit faster.
13124 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13126 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13127 calling directly xforms functions.
13129 * Painter.C (Painter):
13130 * lyx_cb.C (MenuWrite):
13131 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13134 * lyx_gui.C: remove bogus guiruntime extern declaration.
13136 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13138 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13140 (redoDrawingOfParagraph): ditto
13141 (redoParagraphs): ditto
13142 (cutSelection): don't create a object for CutAndPaste use the
13143 static method directly
13144 (pasteSelection): ditto
13146 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13149 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13151 * modifications to some other files because of this.
13153 * Makefile.am (lyx_SOURCES): add XFormsView
13155 * XFormsView.[Ch]: new files
13157 * LyXView.[Ch]: make LyXView a base class for the gui handling for
13158 the main window. Move the gui dependent stuff to XFormsView
13160 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13162 * tabular.C (GetCellInset): update cur_cell also in the row/col
13163 version of this function.
13165 * lyxfunc.C: no need to include figure_form.h here.
13171 * lyxvc.C: no need to include forms.h here.
13173 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13175 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13177 * lyxfunc.C (Dispatch):
13179 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13180 constructor argument.
13182 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13184 * paragraph.C (Paragraph): dont't clear, and just set layout.
13185 (makeSameLayout): use params's copy contructor.
13187 * ParagraphParameters.[Ch] (makeSame): delete method
13189 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
13191 * Variables.[Ch]: fix indentation, rename set to isSet
13193 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13195 * lyxfunc.C (Dispatch): fix typo
13197 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13199 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13202 * bufferlist.C: include assert.h for emergencyWrite().
13204 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13206 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13207 give up at last (bug #425202) !
13209 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
13215 * spellchecker.C: strip spellchecker options and bring up
13216 preferences tab instead
13218 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13220 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13221 the istringstream constructor
13223 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13225 * paragraph.C (getLayout): fix return value
13227 * paragraph.h: do not declare getLayout as inline.
13229 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13231 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13233 * lyxcursor.h (operator<): new func
13234 (operator>): new func
13235 (operator>=): new func
13236 (operator<=): new func
13238 * text.C (changeCase): use selection.start and selection.end
13239 (changeRegionCase): require from to be <= to. Require par to be a
13242 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13244 2001-06-27 Juergen Vigna <jug@sad.it>
13246 * text.C (cursorLeftOneWord): changed to return the cursor and added
13247 overlay with BufferView * parameter which calls this one.
13249 (selectWord): use new getWord function.
13250 (changeCase): renamed from changeWordCase as and extended to work
13251 also on selections.
13253 * lyxtext.h: added enum word_location
13255 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13256 changeCase as this operates now also on selections.
13258 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
13260 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13262 * many files: send debug output to Debug::INFO instead of
13265 * converter.C (View):
13267 (Move): send debug output to Debug::FILES instead of console.
13269 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
13271 * lyxfunc.C (getStatus): use func_status
13273 * func_status.h: new header, describing the results of
13274 LyXFunc::getStatus;
13276 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13279 2001-06-25 The LyX Project <jug@sad.it>
13281 * buffer.C (sgmlOpenTag):
13283 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
13285 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13287 * text2.C: remove some dead code
13289 * tabular.C (GetCellInset): store the last cell checked (gotten)
13291 * tabular.h: add the helper for the speedup
13293 * lyxtext.h: remove some dead code
13295 2001-06-26 The LyX Project <Asger>
13297 * paragraph.C: Change export to LaTeX of alignment to
13298 \begin{center} and family for better roundtrip work with reLyX.
13300 * Tune the math drawing a bit.
13302 2001-06-25 The LyX Project <Asger>
13304 * LColor.C (LColor): New color for math background. New color
13307 2001-06-25 The LyX Project <jug@sad.it>
13309 * lyxfunc.C (MenuNew): remove extra check for .lyx file
13311 * lyxfunc.C (Open):
13312 * bufferlist.C (newFile): do not restrict to files ending with
13315 * BufferView_pimpl.C (MenuInsertLyXFile):
13317 2001-06-24 The LyX Project <jug@sad.it>
13319 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13322 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13324 * lyxtext.h: rename most methods to begin with a small char.
13325 Lots of changes because of this.
13327 * paragraph.C (Paragraph): do not call fitToSize
13328 (erase): call Pimpl::erase
13329 (insertChar): call Pimpl::insertChar
13330 (insertInset): call Pipl::insertInset
13331 (breakParagraph): do not call fitToSize
13332 (breakParagraphConservative): do not call fitToSize
13333 (fitToSize): remove method
13335 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13337 2001-06-24 The LyX Project <Asger>
13339 * Fix Qt compilation^2
13341 2001-06-24 The LyX Project <jug@sad.it>
13343 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13344 depthHook(getDepth()-1).
13347 * ParagraphParameters.h:
13348 * ParameterStruct.h: change type of depth to unsigned int ==
13349 depth_type. Many adaptations to other files before of that.
13351 2001-06-24 The LyX Project <Asger>
13353 * Fix Qt compilation.
13355 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13357 * paragraph.h: renamed several methods to begin with small letter.
13358 several changes to many parts of the code because of this.
13360 2001-06-23 The LyX Project <jug@sad.it>
13362 * text2.C (InsertStringAsLines): renamed from InsertStringA;
13363 rewritten to discard all double spaces when KeepEmpty is off
13364 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13365 to only handle newlines but not fiddle with spaces and friends.
13367 * lyxfunc.C (MenuNew): when doing 'new from template', use
13368 template_path as default directory
13370 2001-06-23 The LyX Project <Asger>
13372 * Clean-up of header file includes all over
13373 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13375 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13377 * paragraph.h: renamed from lyxparagraph.h
13379 2001-06-23 Asger <lyx@violet.home.sad.it>
13381 * Buffer.h: Removed Buffer::resize
13382 * BufferList.h: Removed BufferList::resize
13383 * LyXView.h: Added LyXView::resize. This way, we will only reflow
13384 the document lazily when we change the width, or the font settings.
13386 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13388 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13390 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13392 * buffer.h: remove out of date comment
13394 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13397 * screen.C: fix "theoretical" GC leak
13399 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13401 * LaTeX.C (scanAuxFile):
13402 (deplog): remove trailing \r when reading stream (useful under
13405 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
13407 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13408 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13409 and BufferView::theLockingInset(Inset*), so should use them and not
13410 access bv_->text->the_locking_inset directly.
13412 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13414 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13417 * tex-defs.h: remove old unused file
13419 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
13421 * BufferView_pimpl.C: fix typo, remove minibuffer message
13422 when buffer has loaded
13424 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13426 * lyxfunc.C (Dispatch): use stringstream
13427 (MenuNew): use stringstream
13428 (Open): use stringstream
13430 * importer.C (Import): use stringstream
13432 * bufferview_funcs.C (CurrentState): use stringstream
13434 * LaTeX.C (run): use stringstream
13436 * BufferView_pimpl.C (savePosition): use stringstream
13437 (restorePosition): use stringstream
13438 (MenuInsertLyXFile): use stringstream
13440 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
13453 * vspace.C: removed // -*- C++ -*- as first line.
13456 * version.h: added // -*- C++ -*- as first line.
13458 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13460 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13462 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13465 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13467 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13470 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13472 * gettext.C: include LString.h even when --disable-nls is on.
13474 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
13476 * converter.h (Get): changed argument type from int to
13477 FormatList::size_type to avoid unnecessary conversion.
13479 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13482 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13484 * gettext.h: include LString.h even when --disable-nls is on.
13486 2001-06-07 Juergen Vigna <jug@sad.it>
13488 * text.C (BreakAgain): subst spaces with tabs.
13490 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13491 (resizeInsetsLyXText): set force on resizeLyXText.
13493 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13495 * gettext.h (gettext_init):
13496 (locale_init): use a real definition instead of a macro
13498 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13500 * Bufferview_pimpl.C:
13502 * LColor.C: further lcolor tidies
13504 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13506 * BufferView_pimpl.C (updateScrollbar): simplify.
13508 * BufferView2.C: don't include insets/insetinfo.h, change
13509 prototype for insertInset and call the Pimpl version. let
13510 updateInset call Pimpl version.
13512 * BufferView.h: move inset_slept to BufferView::Pimpl, move
13513 gotoInset to BufferView::Pimpl
13515 2001-06-01 Juergen Vigna <jug@sad.it>
13517 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13518 inside a LockingInset (is the update needed at all?).
13520 2001-05-31 Juergen Vigna <jug@sad.it>
13522 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13523 here not the old one otherwise how should we compare it afterwards
13526 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13531 * FontInfo.C: bring C functions into global namespace when
13534 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13536 * LString.h: make sure config.h has been loaded before LString.h.
13538 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13539 (one for each char read by EatLine!).
13541 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13544 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13546 * paragraph.C (BreakParagraph): set the inset_owner in the new par
13547 to the same as the par we break from
13549 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
13551 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13553 * MenuBackend.C (expand): also create menu entries for wide
13554 versions of the floats.
13556 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13558 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13560 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13561 frontends/Makefile.am
13567 * tabular.C (getTokenValue): add std::
13569 * tabular-old.C (getTokenValue): add std::
13570 (getTokenValue): ditto
13571 (getTokenValue): ditto
13573 * screen.C (ToggleSelection): adjust
13575 * lyxtext.h: put selection cursors inside a Selection struct.
13577 * lyxfunc.C (moveCursorUpdate): adjust
13579 * lyxfont.C (latexWriteStartChanges): add std::
13581 * lyxfind.C: adjust
13583 * font.h: delete with(char const *, LyXFont const &)
13585 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13587 * FontInfo.C (getFontname): add std::
13589 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13590 (workAreaButtonPress): adjust
13591 (tripleClick): adjust
13593 (moveCursorUpdate): adjust
13596 * BufferView2.C (gotoInset): adjust
13598 2001-05-30 Juergen Vigna <jug@sad.it>
13600 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13601 to check pspell I add this as default as I now have new pspell
13602 libraries and they seem to use this.
13604 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13606 * text2.C (CutSelection): make the cursor valid before the call to
13609 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13611 * kbsequence.C (parse): de-uglify a bit the parsing code, which
13612 relied on 0 terminated strings and other horrors. Bug found due to
13613 the new assert in lyxstring!
13615 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13618 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13620 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13623 * lyxfunc.C (processKeySym): change method of getting to the
13626 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13627 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13628 * BufferView_pimpl.[Ch]: here as private methods.
13630 2001-05-28 Juergen Vigna <jug@sad.it>
13632 * text.C (SetHeightOfRow): added the update() call again as it is
13633 needed to initialize inset dimensions!
13635 2001-05-16 Juergen Vigna <jug@sad.it>
13637 * text2.C (SetCharFont): Add new function with BufferView * and
13638 bool toggleall parameters for setting insets internal fonts.
13639 (SetFont): Freeze the undo as we may change fonts in Insets and
13640 all this change should be inside only one Undo!
13642 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13643 setting font's in insets as for them we have the SetFont function!
13645 2001-05-15 Juergen Vigna <jug@sad.it>
13647 * text2.C (ClearSelection): to be sure we REALLY don't have any
13650 * tabular.C (TeXCellPreamble): fixed the left border problem for
13653 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
13655 * LaTeX.C (deplog): Make sure that the main .tex file is in the
13658 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13660 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13661 LFUN_BREAKPARAGRAPH.
13663 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13664 help test to "internal only", similar for LFUN_INSERT_URL
13666 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13667 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13668 auto_region_delete and deadkeys.
13670 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
13673 * LColor.C: remove some dead entries, tidy a little
13675 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13677 * lyxfunc.C (processKeySym): comment the Escape handling, remove
13679 (Dispatch): implement LFUN_ESCAPE
13681 * commandtags.h: add LFUN_ESCAPE
13683 * LyXAction.C (init): add entry for LFUN_ESCAPE
13685 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13686 Remove commented code.
13687 (insertNote): moved here
13688 (open_new_inset): moved here
13690 * BufferView[2].[Ch]: move insertNote and open_new_inset to
13693 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13695 * kbmap.C (findbinding): clean it up and make it work correctly.
13697 * lyx_main.C (init): do not pass argc and argv as parameters
13699 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
13701 * buffer.C: fix path for OS/2 & Win32
13705 * lyx_main.C: Added os:: class.
13707 * os2_defines.h: update
13709 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13711 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13712 better by trying again with reduced state.
13714 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13716 * lyxrc.C (read): print error about invalid key sequence only when
13717 debugging (because not all latinX keysyms are known to some X
13720 * kbsequence.C (getiso): add a few std:: qualifiers
13721 (getiso): comment out extra return statement.
13723 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
13725 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13727 (Dispatch): enhance the accent inset a bit. (not perfect)
13729 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13731 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13733 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13735 * bufferlist.C (emergencyWrite): fix assert() call
13737 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
13739 * text.C (InsertChar): Added trivial patch to only send the "you
13740 can not do multiple spaces this way" message once during a
13743 2001-05-08 Baruch Even <baruch@lyx.org>
13745 * Makefile.am: Changed order of libraries to get LyX to link properly
13746 with the gnome frontend.
13748 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13750 * LaTeXFeatures.h: add a std:: qualifier
13752 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13754 * paragraph.C (String): use stringstream
13756 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13758 * paragraph.C (writeFile): remove footflag arg
13760 * buffer.C (makeLaTeXFile): use stringstream
13761 (latexParagraphs): remove footnot gurba
13763 * LaTeXFeatures.C (getPackages): use stringstream
13764 (getMacros): likewise
13765 (getTClassPreamble): likewise
13766 (getFloatDefinitions): new method
13768 * paragraph.C (writeFile): reindent
13771 * WorkArea.h: revert the xpos + etc changes.
13773 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13775 * lyxparagraph.[Ch]: add copy constructor, remove Clone
13777 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13778 (pasteSelection): likewise
13779 * text2.C (CreateUndo): likewise
13781 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13783 * minibuffer.C (peek_event): temporarily reduce the functionality
13784 of the minibuffer (to allow args on lfuns)
13786 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13787 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13789 * buffer.C (readInset): add compability reading of old float
13790 lists, add reading of new style float list.
13791 (readInset): avoid reevaluation of inscmd.getCmdName()
13792 (getLists): reindent
13794 * MenuBackend.C (MenuItem): implement parsing of
13795 md_floatlistinsert and md_floatinsert.
13796 (expand::LastFiles): move initalizaton of iterators out of loop,
13797 avoid reevaluation.
13798 (expand::Documents): introduce typdedef vector<string> Strings,
13800 (expand::ExportFormats): introduce typedef vector<Format const *>
13801 Formats, and use it.
13802 (expand): implement FloatListInsert and FloatInsert.
13804 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13805 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13806 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13808 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13810 (Dispatch::LFUN_FLOAT_LIST): implement
13812 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13814 * LaTeX.C (run): Fix problem with --export code.
13816 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13818 * BufferView.[Ch] (workarea): removed.
13819 (getClipboard) new method; wrapper for workarea()->getClipboard()
13821 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13824 * WorkArea.h (width, height, xpos, ypos): These methods all
13825 returned the dimensions of the work_area sub-area of WorkArea,
13826 resulting in a position error if the WorkArea were resized. Now
13827 return the dimensions of the entire WorkArea.
13829 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13831 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13833 * LaTeX.C (deplog): correct the syntax of regex reg1
13835 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13837 * undo.C: remove !NEW_INSETS cruft
13839 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13841 * text2.C: remove !NEW_INSETS cruft
13843 * text.C: remove !NEW_INSETS cruft
13845 * tabular.C: remove !NEW_INSETS cruft
13847 * spellchecker.C: remove !NEW_INSETS cruft
13849 * lyxtext.h: remove !NEW_INSETS cruft
13851 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13853 * lyxfunc.C: remove !NEW_INSETS cruft
13855 * lyxfind.C: remove !NEW_INSETS cruft
13857 * lyx_cb.C: remove !NEW_INSETS cruft
13859 * figureForm.C: remove !NEW_INSETS cruft
13861 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13863 * buffer.[Ch]: remove !NEW_INSETS cruft
13865 * ToolbarDefaults.C: remove !NEW_INSETS cruft
13867 * CutAndPaste.C: remove !NEW_INSETS cruft
13869 * BufferView_pimpl.C: remove !NEW_INSETS cruft
13871 * BufferView2.C: remove !NEW_INSETS cruft
13873 * BufferView.h: remove !NEW_INSETS cruft
13875 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13877 * Lsstream.h: include LString.h before the sstream headers to
13878 fix problem with gcc 2.95.3 and lyxstring
13880 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13882 * lyx_main.C: add using directives when needed for C functions
13883 declared in std:: namespace.
13885 2001-04-27 Juergen Vigna <jug@sad.it>
13887 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13888 (SetHeightOfRow): comment out the update call should not be needed!
13890 2001-04-13 Juergen Vigna <jug@sad.it>
13892 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13893 (LyXTabular): tried to minimize operator= operations (and realized
13894 hopfully Lars wish).
13896 2001-04-27 Juergen Vigna <jug@sad.it>
13898 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13900 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13902 * lyxfunc.C (Dispatch): hack to make listof algorithm work
13904 * buffer.C (readInset): hack to make listof algorithm work
13906 * BufferView_pimpl.C: hack to make listof algorithm work
13908 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13910 * LyXAction.C: removed all !NEW_INSETS cruft
13911 (init): moved lfun_item in method
13913 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13915 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13917 * BufferView2.C (theLockingInset): white space.
13919 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13921 * minibuffer.C: include <iostream>
13923 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13925 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13927 * commandtags.h: add LFUN_TRANSPOSE_CHARS
13929 * text.[Ch] (TransposeChars): new method
13931 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13933 * call message directly through LyXView instead of through LyXFunc
13934 * BufferView2.C: adjust
13935 * BufferView_pimpl.C: adjust
13936 * FontLoader.C: adjust
13938 * bufferview_funcs.C: adjust
13939 * converter.C: adjust
13940 * figureForm.C: adjust
13941 * importer.C: adjust
13943 * lyx_gui_misc.C: adjust
13944 * lyxfunc.C: adjust
13947 + more files in subdirs
13949 * lyxparagraph.h (size): move up int file
13952 * adjust all uses of Assert to lyx::Assert.
13954 * BufferView2.C (ChangeCitationsIfUnique): adjust for
13955 lyxfunctional in namespace lyx
13956 * layout.C (hasLayout): ditto
13959 (delete_layout): ditto
13960 (NumberOfClass): ditto
13961 * converter.C (GetFormat): ditto
13966 * bufferlist.C (getFileNames): ditto
13967 (emergencyWriteAll): ditto
13970 * MenuBackend.C (hasSubmenu): ditto
13973 * BufferView_pimpl.C (getInsetByCode): ditto
13975 2001-04-18 Juergen Vigna <jug@sad.it>
13977 * vspace.C (asLatexString): fixed the 100% problem.
13979 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13981 * lyxfunc.C (Dispatch):
13983 * minibuffer.h: add a few std:: qualifiers
13985 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13987 * minibuffer.[Ch]: reimplement so that commands is initiated and
13988 run from lyxfunc, simplified som handling, and made the completion
13989 and history code for complete. wip.
13991 * lyxfunc.C (processKeySym): call message
13992 (miniDispatch): new temporary method
13993 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13994 (LFUN_MESSAGE): implement
13995 (LFUN_MESSAGE_PUSH): implement
13996 (LFUN_MESSAGE_POP): implement
13997 (initMiniBuffer): the initial/defualt minibuffer message.
13999 * lyxfont.[Ch]: inline some more getters
14001 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14003 * lyx_gui_misc.[Ch] (WriteStatus): remove method
14005 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14006 (AutoSave): use LFUN_MESSAGE
14007 (Reconfigure): ditto
14009 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14011 * figureForm.C: use LFUN_MESSAGE
14013 * converter.C (runLaTeX): use LFUN_MESSAGE
14015 * bufferview_funcs.C: use LFUN_MESSAGE
14017 (changeDepth): ditto
14019 * bufferparams.h: use boost::
14021 * bufferlist.h: inherit privately from noncopyable
14023 * bufferlist.C (loadLyXFile): remove some commented code.
14025 * buffer.C (runChktex): use LFUN_MESSAGE
14027 * ShareContainer.h: inherit privately from noncopyable
14029 * ParagraphParameters.[hC] (depth): inline it.
14031 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14033 (message): new method
14034 (messagePush): ditto
14035 (messagePop): ditto
14036 (show): init minibuffer
14037 (showState): direct call
14039 * LaTeX.[Ch]: inherit privately from noncopyable
14040 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14041 instead of WriteStatus.
14043 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14045 * BufferView_pimpl.C (buffer): don't init minibuffer
14046 (workAreaButtonPress): use LFUN_MESSAGE
14047 (workAreaButtonRelease): ditto
14048 (savePosition): ditto
14049 (restorePosition): ditto
14050 (MenuInsertLyXFile): ditto
14051 (workAreaExpose): don't init minibuffer
14052 (update): remove commented code, simplify
14054 * BufferView2.C (openStuff): use LFUN_MESSAGE
14055 (toggleFloat): ditto
14058 (copyEnvironment): ditto
14059 (pasteEnvironment): ditto
14064 (updateInset): remove some commented code
14066 * lastfiles.h: inherit privately from noncopyable
14069 * lyx_main.h: ditto
14071 * lyxlex_pimpl.h: ditto
14073 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14074 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14075 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14077 * LyXAction.h: inherit privately from noncopyable, add methods
14078 func_begin, func_end, returning iterators to the func map.
14080 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14081 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14082 (func_begin): new method
14083 (func_end): new method
14085 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14087 (copySelection): ditto
14088 (pasteSelection): ditto
14090 * BufferView.C: whitespace change
14091 * BufferView.h: inherit privately from noncopyable
14093 2001-04-16 Allan Rae <rae@lyx.org>
14095 * tabular-old.C (l_getline):
14096 * spellchecker.C (sc_check_word):
14097 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14098 an unrecognised preprocessor directive. So ensure they're wrapped.
14100 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
14102 * src/exporter.C (Export): Give an error message when path to file
14105 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
14107 * LaTeX.C (deplog): Always check that foundfile exists.
14109 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14112 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14114 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14116 * tabular.[Ch] (getLabelList): implement new method
14118 * minibuffer.h: comment ouf setTiimer
14120 * minibuffer.C (ExecutingCB): constify res
14121 (peek_event): constify s
14122 (Set): constify ntext
14123 (Init): constify nicename
14125 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14127 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14128 (savePosition): use two params to Minibuffer::Set
14129 (restorePosition): ditto
14131 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14133 * lyx_main.C: include language.h
14135 * Makefile.am (lyx_main.o): add language.h
14137 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14143 * CutAndPaste.C: include gettext.h
14145 * lyxfont.h: remove old hack with ON and OFF.
14148 * lyxfont.h: do not include language.h...
14153 * bufferview_funcs.C:
14159 * paragraph.C: ... but do it here instead
14161 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14163 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14165 * tabular.C: small reformat
14167 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14170 (BreakParagraph): ditto
14171 (SetOnlyLayout): ditto
14174 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14177 * lastfiles.C: removed most using decl, add std:: where needed
14179 * buffer.C: ws changes
14181 * MenuBackend.C (class compare_format): put into anon namespace
14182 (expand): constify label, names, action, action2
14185 * text.C (SingleWidth): constify font
14186 (IsBoundary): constify rtl2
14187 (GetVisibleRow): constify ww
14189 * LaTeX.C (deplog): constify logfile
14191 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14193 (workAreaExpose): constify widthChange, heightChange
14195 * lyxrow.C (par): moved
14198 * lyxrow.h: as inlines here
14200 * lyxfont.h (shape): moved from lyxfont.C
14201 (emph): moved from lyxfont.C
14203 * lyxfont.C (LyXFont): use initialization list for all
14205 (shape): move to lyxfont.h as inline
14206 (emph): move to lyxfont.h as inline
14209 2001-04-04 Juergen Vigna <jug@sad.it>
14211 * vspace.C: had to include stdio.h for use of sscanf
14213 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
14216 * BufferView_pimpl.h: remove xforms cruft. Both classes are
14217 independent of xforms.
14219 2001-04-02 Juergen Vigna <jug@sad.it>
14221 * spellchecker.C: fixed namespace placing!
14223 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
14225 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14226 the LyXParagraph * is 0.
14228 2001-03-29 Juergen Vigna <jug@sad.it>
14230 * vspace.C: added support for %, c%, p%, l%.
14231 (stringFromUnit): added helper function.
14232 (asLatexString): changed to give right results for the %-values.
14234 * buffer.C: convert the widthp in a width%.
14236 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
14238 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14241 * figureForm.[Ch]: stripped the FD_from_figure manipulation
14242 code out of lux_cb.[Ch], ready for its (imminent?) removal.
14244 * lyx_cb.[Ch]: see above.
14246 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14250 * lyx.[Ch]: replaced by figure_form.[Ch].
14254 * lyxfunc.C: changed headers associated with above changes.
14256 2001-03-27 Juergen Vigna <jug@sad.it>
14258 * BufferView_pimpl.C: set the temporary cursor right!
14260 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
14262 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14264 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
14266 * LString.h: removed "using std::getline"!
14268 * BufferView_pimpl.C (Dispatch): changes due to changes in
14269 InsetInclude::Params.
14271 * buffer.C (tag_name): removed redundant break statements as they were
14272 producing lots of warnings with my compiler.
14274 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14276 * LString.h: add "using std::getline" when using the real <string>.
14278 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
14280 * buffer.C: removed bitset usage.
14281 PAR_TAG moved to an anonymous name space.
14282 (tag_name): new funtion, also in the anonymous namespace.
14283 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14284 (makeDocBookFile): clean code. Completed transition from string arrays
14286 (SimpleDocBookOnePar): code clean.
14288 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14290 * tabular.C: add some comments.
14292 2001-03-22 Juergen Vigna <jug@sad.it>
14294 * buffer.C (parseSingleLyXformat2Token): redone the minipage
14295 compatibility read a bit and fixed bug with minipage in different
14298 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
14300 * buffer.C (pop_tag): removed.
14301 (push_tag): removed.
14302 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14303 array replaced with vector. Added support for CDATA sections.
14304 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14306 (makeDocBookFile): XML conformant declaration of CDATA section,
14307 fixed bug related to <emphasis> in the first paragraph char.
14308 (sgmlOpenTag): exclude empty tags.
14309 (sgmlCloseTag): ditto.
14311 * buffer.h (pop_tag): removed.
14312 (push_tag): removed.
14314 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
14316 * language.h (Languages): added size_type and size().
14318 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14320 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14321 response on compability reading of minipages. One probliem is that
14322 the old usage of minipages was «flertydig»
14324 * several files here and in subdirs: don't use static at file
14325 scope use anon namespaces instead.
14327 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
14329 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14330 LaTeX output. This is necessary for Literate document
14333 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14335 * buffer.C: insert hfill when needed.
14337 * tabular.C (l_getline): use string::erase, small whitespace change.
14339 * BufferView_pimpl.C: try the anon namespace.
14340 * WorkArea.C: ditto
14342 2001-03-16 Juergen Vigna <jug@sad.it>
14344 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14345 otherwise it won't open options-dialogs.
14347 * buffer.C: honor pextraWidth(p) on converting minipages.
14349 * tabular.C (l_getline): changed the functions to strip trailing \r.
14351 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
14353 * BufferView_pimpl.C:
14354 * minibuffer..C: added "using SigC::slot" declaration.
14356 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14358 * lyxlex_pimpl.h: noncopyable is in namespace boost.
14364 * paragraph.C: ditto
14366 * lyxtext.h: NO_PEXTRA
14368 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14370 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14371 * ParameterStruct.h: ditto
14372 * ParagraphParameters.h: ditto
14373 * lyxparagraph.h: ditto
14375 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14377 * buffer.C: add compability for minipage alignment.
14378 (latexParagraphs): remove unwanted pextra check.
14380 * several files: remove CXX_WORKING_NAMESPACES
14382 * buffer.C (pop_tag): tie is in namespace boost
14384 * BufferView.h: noncopyable is in namespace boost
14386 * lyx_main.h: ditto
14389 * lastfiles.h: ditto
14390 * bufferlist.h: ditto
14391 * ShareContainer.h: ditto
14393 * LyXAction.h: ditto
14396 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14398 * Merging changes from BRANCH_MVC back into HEAD.
14400 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14402 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
14404 * BufferView_pimpl.C: change from intl.C
14408 * Makefile.am: move combox.*
14414 * intl.C: remove dialog (covered by prefs)
14416 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14418 * lyxfunc.C (Dispatch): removed redundant break statement.
14420 2001-03-14 Juergen Vigna <jug@sad.it>
14422 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14424 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14426 * buffer.C: add hack to fix compability reading of minipages.
14428 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
14430 * buffer.C (getLists): Cleanup.
14432 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14434 * lyxfont.C (update): don't honor toggleall on font size.
14436 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
14440 * Makefile.am: moved to frontends/xforms/
14444 * BufferView_pimpl.C: changes for moved mathpanel
14446 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14448 * gettext.h: fix gettext_init() in --disable-nls
14450 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14452 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14454 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
14457 * lyx.h: strip external form
14459 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14461 * BufferView_pimpl.C: add comment, destroySplash()
14463 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14465 * BufferView_pimpl.C:
14469 * lyxfunc.C: use re-worked insetinclude
14471 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14473 * buffer.C: add using std::stringstream.
14475 * lyx_cb.C: readd using std::ios.
14477 * buffer.C: add using std::map.
14479 * BufferView_pimpl.C: add using std::vector.
14481 * ShareContainer.h: add std:: to swap.
14483 * buffer.h: add some typedefs
14484 * buffer.C (getLists): use them
14485 (getLists): renamed from getTocList.
14486 add a counter for the different float types and use it in the
14488 (getLists): use the same counter for the NEW_INSETS and the "non"
14491 * lyx_cb.h: remove unused items, includes, using etc.
14493 * ShareContainer.h: remove some commented code, add more comments
14494 and "documentation".
14496 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14498 * buffer.C (getTocList): make the list also when NEW_INSETS is
14501 * buffer.h: remove TocType
14503 * buffer.C (getTocList): change to return a map<string,
14504 vector<TocItem> >, implement for dynamic number of list.
14506 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14507 * text2.C (PasteSelection): adjust
14508 * CutAndPaste.C (pasteSelection): adjust
14510 * FloatList.C (FloatList): update from the new_insets branch.
14511 * Floating.[Ch]: ditto
14512 * LaTeXFeatures.C: ditto
14514 * lyxlex_pimpl.C: ditto
14516 * paragraph.C (Last): remove when NEW_INSETS is defined.
14518 * other file: changes because of the above.
14520 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14522 * lyxparagraph.h: rename next to next_, previous to previous_,
14523 make them private for NEW_INSETS. Rename Next() to next(),
14524 Previous() to previous().
14526 * other files: changes because of the above.
14528 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
14531 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14534 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14536 * main.C (main): pass lyx_localedir to gettext_init().
14538 * gettext.h: remove locale_init and gettext_init macros
14540 * gettext.C (locale_init): new function
14541 (gettext_init): new function
14543 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14546 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
14548 * Moved credits to frontends:
14549 * credits.[Ch]: removed
14550 * credits_form.[Ch]: removed
14551 * lyx_gui_misc.C: remove credits stuff
14554 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14556 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14558 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14559 unneeded destructor.
14561 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14562 a standalone pointer again.
14564 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14566 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
14572 * ToolbarDefaults.C:
14581 * BufferView_pimpl.C: use new file dialog in GUII
14584 * lyx_cb.C: remove LayoutsCB to Toolbar
14586 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14588 * ShareContainer.h (get): add std:: qualifier
14590 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14592 * ShareContainer.h: define a proper ShareContainer::value_type
14593 type (and use typename to please compaq cxx)
14595 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14597 * lyxparagraph.h: move serveral local vars to
14598 ParameterStruct/ParagraphParameters., use ShareContainer in
14599 FontTable., make vars in FontTable private and add getter and
14602 * paragraph.C: changes because of the above.
14604 * lyxfont.h: remove copy constructor and copy assignment. (the
14605 default ones is ok), move number inside FontBits. move inlines to
14608 * lyxfont.C: add number to initializaton of statics, move several
14609 inlines here. constify several local vars. some whitespace
14610 cleanup. Dont hide outerscope variables.
14612 * Spacing.h: add two new constructors to match the set methods.
14614 * ShareContainer.h: new file, will perhaps be moved to support
14616 * ParameterStruct.h: new file
14618 * ParagraphParameters.h: new file
14620 * ParagraphParameters.C: new file
14622 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14623 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14625 * BufferView_pimpl.C: ParagraphParameter changes.
14626 * buffer.C: Likewise.
14627 * bufferview_funcs.C: Likewise.
14628 * text.C: Likewise.
14629 * text2.C: Likewise.
14631 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14633 * lyxfind.C (LyXReplace): do not redefine default argument in
14635 (IsStringInText): ditto
14636 (SearchForward): ditto
14637 (SearchBackward): ditto
14639 2001-03-06 Juergen Vigna <jug@sad.it>
14641 * lyxfind.C (IsStringInText): put parentes around expressions.
14643 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
14645 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14647 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
14649 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14651 * stl_string_fwd.h: add comment
14653 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14656 * tabular.C: remove unused DocBook methods
14662 killed DO_USE_DEFAULT_LANGUAGE
14664 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14666 * lyx_gui.C: do not include language.h.
14668 * bufferview_funcs.C (ToggleAndShow): do not provide optional
14669 arguments in function implementation.
14671 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14673 * BufferView_pimpl.C: add <ctime>
14675 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14677 * BufferView_pimpl.C: add using std::find_if
14679 2001-02-27 José Matos <jamatos@fep.up.pt>
14681 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14684 2001-02-11 José Matos <jamatos@fep.up.pt>
14686 * buffer.C (makeDocBookFile): command styles now have a parameter as
14687 "title" by default.
14689 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
14691 * layout_forms.[Ch]: removed
14692 * lyx_cb.[Ch]: out character
14693 * lyx_gui.C: out character
14694 * lyx_gui_misc.C: out character
14695 * bufferview_funcs.C: : out character,
14696 added toggleall as parameter in ToggleAndShow
14698 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
14700 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14702 * text2.C (SetCurrentFont): Disable number property at boundary.
14704 2001-02-26 Juergen Vigna <jug@sad.it>
14706 * lyxfunc.C (getStatus): added a string argument override function so
14707 that this is correctly called from LyXFunc::Dispatch if it contains a
14708 do_not_use_argument which is used!
14709 (Dispatch): added check for "custom" export and call appropriate func.
14711 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
14713 * lyxrc.C: Add language_command_local, language_use_babel and
14714 language_global_options.
14716 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14718 * buffer.C (makeLaTeXFile): Use language_use_babel and
14719 language_global_options.
14721 2001-02-23 Juergen Vigna <jug@sad.it>
14723 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14724 which works with LyXText and putted it inside BufferView. Here now we
14725 only call for that part the BufferView::Dispatch() function.
14727 * BufferView.C (Dispatch): added.
14729 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14730 functions which needs to use a LyXText over from LyXFunc.
14731 (MenuInsertLyXFile): added
14732 (getInsetByCode): added
14733 (moveCursorUpdate): added
14734 (static TEXT): added
14736 2001-02-22 Juergen Vigna <jug@sad.it>
14738 * BufferView_pimpl.C (update): call a status update to see if LyXText
14741 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14743 * vc-backend.C (revert): implement for CVS
14744 (getLog): implement for CVS
14746 2001-02-20 Juergen Vigna <jug@sad.it>
14748 * text2.C (ClearSelection): added BufferView param for inset_owner call
14750 * lyxfunc.C (TEXT): added this function and use it instead of
14751 directly owner->view()-text of getLyXText().
14753 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
14755 * src/layout_forms.C: out preamble
14756 * src/layout_forms.h: out preamble
14757 * src/lyx_cb.C: out preamble
14758 * src/lyx_cb.h: out preamble
14759 * src/lyx_gui.C: out preamble
14760 * src/lyx_gui_misc.C: out preamble
14761 * src/lyxfunc.C: connect with guii preamble
14763 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
14765 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14767 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
14769 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14770 whether to run bibtex.
14772 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
14774 * Makefile.am (lyx_SOURCES): Remove BackStack.h
14776 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14778 * Makefile.am (lyx_SOURCES): removed bibforms.h
14780 * vspace.h: doxygen
14782 * text.C (GetVisibleRow): make several local vars const
14784 * tabular.C: small cleanup.
14786 * lyxserver.C (callback): use compare instead of strncmp
14788 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14789 inlines to after class or to paragraph.C
14791 * lyxfont.h: remove friend operator!=
14793 * converter.h: move friend bool operator< to non friend and after
14796 * combox.h: small cleanup
14798 * buffer.h: doxygen, remove unused constructor, move inclas inlies
14799 to inlines after class def.
14801 * buffer.C (pop_tag): use string operations instead of strcmp
14803 * bmtable.c: doxygen, small cleanup
14805 * LaTeX.h: remove friend operator==
14807 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
14819 * BufferView_pimpl.C:
14820 * BufferView.[Ch]: remove cruft
14822 2001-02-14 Juergen Vigna <jug@sad.it>
14824 * lyxfunc.C: removed #if 0 unused code
14826 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14828 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14830 * text2.C (SetSelection): added a BufferView * parameter
14832 2001-02-13 Juergen Vigna <jug@sad.it>
14834 * lyxfunc.C (Dispatch): fixed protected blank problem.
14835 * BufferView2.C (protectedBlank): added LyxText * parameter.
14837 * tabular.C (AppendRow): forgot to set row_info of newly added row.
14838 (AppendColumn): same as above for column_info.
14840 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14841 (moveCursorUpdate): use a LyXText param for support of InsetText.
14843 * BufferView_pimpl.C (doubleClick): added support for InsetText.
14844 (tripleClick): ditto
14846 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14848 * BufferView_pimpl.C (update): added LyXText param to honor insets.
14850 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14852 * text2.C (SetSelection): set correct update status if inset_owner
14853 (ToggleFree): ditto
14855 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
14857 * tabular.C: remove some commented code.
14859 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
14861 * BufferView_pimpl.C: call hideSplash()
14863 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14866 * bibforms.h: remove
14869 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14870 add LFUN_CHILD_CREATE
14872 * counters.h: fix tiny typo
14877 * lyx.C: move splash to frontends/xforms/
14879 * lyx_gui_misc.C: move Include and Bibform to frontends
14881 * lyxvc.h: clarify comment
14883 * vspace.C: tiny housekeeping
14885 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
14887 * text.C (PrepareToPrint): RTL Fix.
14889 * paragraph.C (GetUChar): New method.
14890 (String): Use GetUChar.
14892 * buffer.C (asciiParagraph): Use GetUChar.
14894 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
14896 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14898 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
14901 * buffer.C: rename to getLogName(), handle
14902 build log / latex log nicely
14904 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14907 * MenuBackend.h: remove support for reference menuitem type.
14909 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
14911 * BufferView_pimpl.C: housekeeping
14912 * BufferView_pimpl.h:
14917 * minibuffer.h: move Timeout GUI-I
14919 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
14921 * lyxrc.C (read): Update converters data-structures.
14923 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
14925 * LaTeX.h (operator!=): add operator != for Aux_Info
14927 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
14929 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14931 * LaTeXLog.C: deleted, useful code moved to Buffer
14934 * buffer.C: new function getLatexLogName()
14940 * lyxfunc.C: use frontends for LaTeX and VC logs
14942 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14944 * LaTeX.h: yet another std:: that Allan forgot.
14946 * Variables.C (set): renamed from isset(), because this clashes
14947 with some HP-UX macros (grr).
14949 2001-02-06 Allan Rae <rae@lyx.org>
14951 * LaTeX.h: Another bug fix. Missing std:: this time.
14953 2001-02-04 Allan Rae <rae@lyx.org>
14955 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14956 floats problem. I've left it commented out because it's not quite
14957 correct. It should also test that the current object is a table or
14958 figure inset. But I haven't gotten around to figuring out how to do
14959 that. I *think* it'll be something like: "table" == inset.type()
14961 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14964 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
14966 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14967 all the citation/databases/styles in the auxilary file.
14968 (run): Rerun latex if there was a babel language error.
14970 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
14972 * text.C (Backspace): Preserve the font when changing newline char
14974 (BreakParagraph): If the cursor is before a space, delete the space.
14976 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14978 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
14980 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14981 new argument (code).
14982 (ChangeCitationsIfUnique): New method.
14984 * paragraph.C (GetPositionOfInset): Handle bibkey.
14986 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14988 * BufferView_pimpl.h: change type of Position::par_pos to
14989 LyXParagraph::size_type.
14991 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
14993 * BufferView_pimpl.C (savePosition, restorePosition): Write
14994 messages to minibuffer.
14996 2001-01-28 José Matos <jamatos@fep.up.pt>
14998 * buffer.C (makeDocBookFile): adds support for document language.
14999 A silly restriction on the name of LatexCommand types where removed.
15000 Added support for CDATA sections, allows to chars unescaped, used
15001 among others in code, to avoid escape < and >.
15003 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15005 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15006 saved positions instrad of a stack. Furthermore, a position is
15007 stored using paragraph id/paragraph position.
15009 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15010 Remove LFUN_REF_BACK.
15012 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15014 * converter.C (dvipdfm_options): New method.
15016 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
15018 * vspace.C (isValidLength): Fix for empty input string.
15020 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15022 * LyXAction.C (init): change description of LFUN_FIGURE to
15025 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15027 * LaTeX.C: add using directive
15029 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15031 * MenuBackend.C (expand): Fix the sorting of the formats.
15033 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
15035 * lyx_main.C: tiny error message fix
15037 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15039 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15040 calling fl_initialize(). This fixes the problem with ',' as
15041 decimal separator in text files.
15043 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15045 * trans.C (process): Fix the keymap bug.
15047 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
15049 * LaTeX.C (scanAuxFiles): New method. Provides support for
15050 multiple bibliographies (when using the bibtopic/bibunits pacakges).
15051 (scanLogFile) Scan for "run BibTeX" messages.
15053 * buffer.C (makeLaTeXFile): Do not load the ae package when using
15054 OT1 font encoding. Also, load the aecompl package if the ae
15057 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15059 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15061 * texrow.C (increasePos): turn two error messages into debug
15064 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
15066 * LaTeX.C (scanAux): Handle the \@input macro.
15067 (runBibTeX): Use scanAux().
15069 * language.C (latex_options_): New field.
15071 * LaTeXFeatures.C (getMacros): Add language macros.
15073 * buffer.C (makeLaTeXFile): Small fix.
15075 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15077 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15079 * text2.C: add a using directive.
15081 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
15086 * lyxfunc.C: kill LyXBell.
15088 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
15090 * text.C (IsBoundary): Remove the error message
15092 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15094 * lyxrc.C (setDefaults): Correct initialization value for
15097 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
15099 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15102 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15103 and GotoNextNote().
15105 * src/LyXAction.C: Added reference-next.
15107 * text.C (InsertChar): Use contains instead of strchr.
15109 * lyx_cb.C (MenuInsertLabel): Enable default value code.
15111 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
15113 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15114 alignment commands (when needed).
15116 * text.C (InsertChar): Add ':' to number separator chars.