1 2004-03-28 Angus Leeming <leeming@lyx.org>
4 * LyXAction.C (init): new LFUN_PRINT.
6 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
8 2004-03-27 Angus Leeming <leeming@lyx.org>
11 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
13 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
15 2004-03-27 Angus Leeming <leeming@lyx.org>
17 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
18 insetlist always contains non-null pointers to insets.
20 2004-03-26 Angus Leeming <leeming@lyx.org>
22 * src/BufferView_pimpl.C:
26 * src/output_plaintext.C:
28 * src/paragraph_funcs.C:
32 * src/frontends/controllers/ControlErrorList.C:
33 * src/frontends/gtk/FileDialogPrivate.C:
34 * src/frontends/gtk/GPainter.C:
35 * src/frontends/gtk/GToolbar.C:
36 * src/frontends/qt2/QRef.C:
37 * src/mathed/math_scriptinset.C: squash compiler warnings.
39 2004-03-26 Angus Leeming <leeming@lyx.org>
41 * ispell.C (LaunchIspell::start):
42 * lyx_cb.C (AutoSaveBuffer::start):
43 invoke run(DontWait) rather than runNonBlocking().
45 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
47 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
49 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
51 * kbsequence.C (print): adjust
53 * kbmap.C (printKeySym): rename and change signature
54 (printKey): use LyXKeySym::print()
56 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
58 * undo.C: add using std::advance to compile for stlport
60 2004-03-24 Angus Leeming <leeming@lyx.org>
62 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
63 it leads to a crash when no buffer is present.
65 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
66 Martin Vermeer <martin.vermeer@hut.fi>
68 * lyxfunc.C (dispatch):
69 * bufferparams.C (readToken): use the new LColor::setColor
71 * LColor.[Ch] (setColor): new version that takes two strings as
72 argument and creates a new color entry if necessary
74 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
76 * buffer.C (makeLaTeXFile): if the main latex file that is
77 processed is usually a subdocument of some master, then pretend
78 for a while that it is actually the master
80 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
82 * buffer.C (getLabelList):
83 (getBibkeyList): use getMasterBuffer()
84 (getMasterBuffer): new method. Returns the main document in the
85 case where one is using included documents.
87 2004-03-25 André Pönitz <poenitz@gmx.net>
91 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
93 * ParagraphList_fwd.h: change ParagraphList to a std::vector
95 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
96 text*.C over here. Rename namespace CutAndPaste to lyx::cap
98 * ParameterStruct.h: merge with ParagraphParameters
100 * lyxtext.h: remove LyXText::parOffset() and getPar()
102 * text3.C: Remove all 'manual' update calls. We do now one per user
103 interaction which is completely sufficient.
107 * BufferView_pimpl.C:
110 * ParagraphParameters.[Ch]:
122 * output_docbook.[Ch]:
124 * output_linuxdoc.[Ch]:
125 * output_plaintext.[Ch]:
127 * paragraph_funcs.[Ch]:
128 * paragraph_pimpl.[Ch]:
136 * frontends/controllers/ControlDocument.C:
137 * frontends/controllers/ControlErrorList.C:
138 * frontends/controllers/ControlSpellchecker.C:
141 * insets/insetbase.h:
142 * insets/insetbibitem.C:
144 * insets/insetbranch.C:
145 * insets/insetcaption.C:
146 * insets/insetcharstyle.C:
147 * insets/insetcharstyle.h:
148 * insets/insetcollapsable.C:
149 * insets/insetcollapsable.h:
151 * insets/insetfloat.C:
152 * insets/insetfoot.C:
153 * insets/insetmarginal.C:
154 * insets/insetnote.C:
155 * insets/insetoptarg.C:
156 * insets/insettabular.C:
157 * insets/insettext.C:
158 * insets/insettext.h:
159 * insets/insetwrap.C:
160 * mathed/math_mboxinset.C:
161 * mathed/math_nestinset.C:
162 * mathed/math_scriptinset.C:
163 * mathed/math_scriptinset.h:
166 2004-03-24 Angus Leeming <leeming@lyx.org>
168 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
169 deal with any child processes that have finished but are waiting to
170 communicate this fact to the rest of LyX.
172 2004-03-24 Angus Leeming <leeming@lyx.org>
174 64-bit compile fixes.
176 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
177 (c-tor): pass lyx::pos_types rather than ints.
179 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
182 * text.C (Delete): compile fix.
183 (getPar): ensure that function declaration is the same as that in
186 2004-03-23 Angus Leeming <leeming@lyx.org>
188 * ispell.C (LaunchIspell):
189 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
190 a boost::shred_ptr rather than a std::auto_ptr.
192 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
194 * lyxfunc.C (getStatus): handle read-only buffers correctly;
195 handle LFUN_FILE_INSERT_*
197 * lyxrc.C (setDefaults, getDescription, output, read):
198 * lyxrc.h: remove ps_command
200 2004-03-22 Angus Leeming <leeming@lyx.org>
202 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
203 Ensure that error_handler is processed once only and that all data
204 is saved before attempting to output any warning messages.
206 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
208 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
210 * tabular.C (TeXRow): crash fix (from Kayvan and André)
212 2004-03-19 André Pönitz <poenitz@gmx.net>
214 * cursor.[Ch] (reset): take main text inset as argument
217 * BufferView_pimpl.C: adjust
219 * paragraph.[Ch]: fix completely broken operator=()
221 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
223 * LColor.C (getFromLyXName): make sure that the color name is used
226 2004-03-17 Angus Leeming <leeming@lyx.org>
229 * LyXAction.C (init): remove LFUN_FORKS_KILL.
231 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
232 dialog and to kill a forked process.
234 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
236 * text2.C (setCursorFromCoordinates): fix font problem
238 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
240 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
241 bogus "rebuild cursor" code
243 2004-03-11 André Pönitz <poenitz@gmx.net>
245 * buffer.[Ch]: use InsetText instead of LyXText as container for
248 * dociterator.[Ch]: drop the BufferView * member which is not needed
249 anymore after the change to buffer.C
255 * BufferView_pimpl.[Ch]:
257 * cursor_slice.[Ch]: adjust
259 * text3.C: fix bug in mathDispatch
261 2004-03-08 André Pönitz <poenitz@gmx.net>
263 * undo.[Ch]: use 'StableDocumentIterator' as base for
266 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
269 * bufferparams.[Ch]: add jurabib support and param.
271 * LaTeX.C: add FIXME/comment.
273 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
275 * buffer.C: increment file format to 230.
277 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
279 * cursor.C (dispatch): avoid infinite loops
281 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
283 * rowpainter.C (paintSelection): fix x coordinates
285 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
287 * text.C (rowBreakPoint): fix breaking before displayed insets
289 2004-03-01 André Pönitz <poenitz@gmx.net>
291 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
293 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
297 * BufferView_pimpl.C:
305 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
311 * BufferView_pimpl.C: rename textwidth -> maxwidth,
312 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
314 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
316 * Bidi.[Ch] (computeTables): const correctness
317 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
318 fill_hfill, fill_label_hfill and x from Row
319 * lyxtext.h: prepareToPrint returns a RowMetrics
320 * rowPainter.C: adjust
321 * text.C (prepareToPrint): use width, not textWidth. adjust
322 (redoParagraphInternal, cursorX): adjust
323 * text2.C (getColumnNearX): adjust
324 (init): put a default value to the top LyXText::width
326 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
328 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
330 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
332 * lyxtext.h: add FontIterator class
334 * text.C (FontIterator, operator*, operator->, operator++): add
335 (rowBreakPoint, setRowWidth): adjust (fixing a
338 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
340 * BufferView_pimpl.C (workAreaDispatch): allow also
341 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
343 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
345 * text.C (rowBreakPoint): fix a bug showing with very large insets
347 2004-02-25 André Pönitz <poenitz@gmx.net>
350 * cursor.[Ch]: move some mathed specific code to mathed
352 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
354 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
355 use_tempdir in preferences
356 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
358 * lyx_main.C: ensure that tempdir is valid
359 * lyxlex.h: correct typo
360 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
361 * paragraph.[Ch] (isMultiLingual): make const
362 * cursor.[Ch] (openable): make const
364 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
366 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
368 2004-02-20 André Pönitz <poenitz@gmx.net>
370 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
372 * cursor.[Ch]: prepare for localized getStatus()
378 * text3.C: streamlines the LyXText cursor movement handlers a bit.
380 2004-02-20 André Pönitz <poenitz@gmx.net>
382 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
384 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
386 * text2.C (setCursorFromCoordinates): switch to absolute coords
389 * text3.C (dispatch): adjust
391 2004-02-16 André Pönitz <poenitz@gmx.net>
393 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
396 * cursor_slice.[Ch]: remove unneeded acessor function
398 * lyxtext.h: rename rtl() to isRTL()
406 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
408 * rowpainter.C (paintSelection): coord fix
410 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
412 * Spacing.C: compile fix
414 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
416 * cursor.C (dispatch): restore current_ before returning
418 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
420 * text2.C (cursorUp, cursorDown): fix coords
423 2004-02-12 André Pönitz <poenitz@gmx.net>
428 * text3.C: add LCursor & parameter to most cursor movement functions
429 remove usage of LyXText::cursorRow() and cursorPar()
431 * cursor.[Ch]: add textRow() needed members
434 * BufferView_pimpl.C:
437 * BufferView_pimpl.C: adjust
439 2004-02-11 André Pönitz <poenitz@gmx.net>
443 * BufferView_pimpl.C: shift undo/redo handling
445 * cursor.[Ch]: fix mathed crash
448 * lyxtext.h: move selectionAsText to LCursor
456 * rowpainter.C: fix excessive drawing
458 2004-02-06 André Pönitz <poenitz@gmx.net>
461 * BufferView_pimpl.[Ch]:
462 * text3.C: move some text specific LFUN handling
464 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
466 * text3.C (checkInsetHit): adjust coords
467 * text2.C (getColumnNearX): adjust coords
468 (edit): adjust coords
469 * text.C (getRowNearY): add two asserts
471 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
474 * format.C: add using std::distance to compile on gcc 2.95/stlport
476 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
478 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
480 2004-02-04 André Pönitz <poenitz@gmx.net>
482 * BufferView.[Ch] (insertInset):
483 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
488 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
490 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
491 on the default clause of the switch
492 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
493 wasn't catched by LCursor::dispatch
495 2004-02-03 André Pönitz <poenitz@gmx.net>
498 * cursor.[Ch]: some additional asserts
500 * undo.[Ch]: remove LyXText dependency in interface
504 * lyxtext.h (firstPar, lastPar): remove dead functions
509 * paragraph.[Ch]: adjust
511 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
513 * lyxfind.C (find): fix argument order in call to ::find
515 2004-02-02 André Pönitz <poenitz@gmx.net>
517 * cursor.[Ch]: remove direct access to anchor
519 * text.C: remove findText() hack
521 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
523 * iterators.[Ch] (lockPath): remove in favour of...
524 * BufferView.[Ch] (setCursor): this addition
525 * BufferView.C (putSelectionAt): adjust
526 * undo.C (performUndoOrRedo): adjust
527 * lyxfunc.C (dispatch): adjust
529 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
531 * iterators.C (lockPath): add a missing slice
532 * undo.C (performUndoOrRedo): remove redundant positioning code
534 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
536 * vc-backend.C (scanMaster): ";" -> ';'
538 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
540 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
543 * lyxtextclass.C (compare_name): rename to...
544 (LayoutNamesEqual): ...this
546 * lyxlex_pimpl.C (compare_tags): inherit from
547 std::binary_function, put back into anon namespace
549 * lyxfind.C (MatchString): inherig from std::binary_function
550 (findChange): use empty() istead of !size()
552 * format.C (FormatNamesEqual): new functor
559 * converter.C (compare_Converter): rename to...
560 (ConverterEqual): ...this, and fixup a bit.
561 (getConverter): use it, and make function const
562 (getNumber): use it, and make function const
566 * bufferlist.C: add using boost::bind
568 * MenuBackend.C (MenuNamesEqual): new functor
569 (hasMenu): use it, and make function const
570 (hasSubmenu): use nested bind to get rid of compare_memfun.
572 2004-01-30 André Pönitz <poenitz@gmx.net>
574 * BufferView_pimpl.C:
585 * text3.C: move some of the edit(x,y) handling to the insets
586 some coordinate changes.
588 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
590 * text.C: add using statements for std::advance and std::distance
592 * paragraph.C: add using statement for std::distance
594 * lyxfind.C: add using statement for std::advance
596 * cursor.C (region): remove std:: from swap
597 (openable): use nucleus in stead of operator->
599 * BufferView.C: add using statements for std::distance and std::swap
601 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
603 * iterators.C: Remove the pimple, move the needed structures to
604 the header file. Create accessor for the positions stack.
605 (asPosIterator): remove function
607 * PosIterator.C (PosIterator): move constructors to top of file
608 (PosIterator): reimplement the constructor taking a ParIterator in
610 (setFrom): new function
611 (operator!=): inline it
613 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
615 * lyxfind.C (replaceAll): use std::advance
617 * iterators.h: inherit from std::iterator.
619 * PosIterator.C (advance, distance): remove
620 * PosIterator.h: interit from std::iterator.
622 2004-01-26 André Pönitz <poenitz@gmx.net>
625 * BufferView_pimpl.[Ch]:
629 * bufferview_funcs.C:
640 * output_plaintext.C:
642 * paragraph_funcs.[Ch]:
643 * paragraph_pimpl.[Ch]:
649 * text3.C: more IU: dumps most of the rest of the mathcursor
650 implementation into cursor.[Ch]; "globalize" a bit of it.
652 2004-01-25 Angus Leeming <leeming@lyx.org>
654 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
656 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
658 * LaTeXFeatures.h: add nice_ and nice() const
659 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
661 2004-01-20 André Pönitz <poenitz@gmx.net>
664 * BufferView_pimpl.C:
666 * bufferview_funcs.C:
679 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
680 LCursor and mathcursor parts to LCursor and InsetBase.
682 2004-01-15 André Pönitz <poenitz@gmx.net>
684 * cursor_slice.[Ch]: add a few covienience functions
686 * funcrequest.[Ch]: remove BufferView * member
688 * BufferView_pimpl.C:
695 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
697 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
699 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
700 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
702 2004-01-13 André Pönitz <poenitz@gmx.net>
705 * lyxtext.h: hide cursor and selection anchor behind accessor function
708 * BufferView_pimpl.[Ch]:
710 * bufferview_funcs.C:
720 * cursor_slice.[Ch]: some integer type changes for inset unification
722 * lyxcursor.[hC]: remove, it's CursorSlice now.
725 * BufferView_pimpl.[Ch]:
726 * bufferview_funcs.C:
732 * textcursor.[Ch]: adjust
734 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
736 * text2.C (undoSpan): add and use
737 * text.C (breakParagraph): use undoSpan (fix bug 578)
740 2004-01-08 Angus Leeming <leeming@lyx.org>
742 * BufferView_pimpl.C (MenuInsertLyXFile):
743 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
744 * lyxfunc.C (menuNew, open, doImport):
745 FileFilterList change to the FileDialog open and save functions.
747 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
749 * ShareContainer.h: make isEqual and isUnique adaptable
751 * CutAndPaste.C: make resetOwnerAndChanges adaptable
753 2004-01-07 Angus Leeming <leeming@lyx.org>
756 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
758 * BufferView_pimpl.C (dispatch): act on these LFUNs.
760 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
761 functions replacing find, replace and replaceAll.
763 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
764 LFUN_WORDFIND(FORWARD|BACKWARD).
766 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
768 * text.C (breakParagraph): remove an outdated #warning
770 2004-01-07 André Pönitz <poenitz@gmx.net>
772 * lyxfind.C: somewhat clearer logic
774 * text.C: prevent crash in cursorX on unitialized row cache
776 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
778 * lyxcursor.[Ch] (operator>): add
779 * textcursor.C (selStart, selEnd): use std::min and std::max
781 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
783 * Chktex.C: include boost/format.hpp
785 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
787 * InsetList.C: replace functor MathcIt with adaptable functor
789 (insetIterator): modify accordingly
791 * BranchList.h: move the BranchNamesEqual functor here from...
792 * BranchList.C: ... to here
794 * BranchList.C: new BranchListEqual fuctor, use it. Remove
796 (add): replace a finding loop with std::find_if.
798 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
800 * output_docbook.C: moving LatexParam functionality into
803 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
805 * buffer.C: increment format to 229.
807 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
810 * lyx_sty.[Ch]: remove minipageindent_def
816 * text3.C: remove LFUN_INSET_MINIPAGE
818 2003-12-28 Angus Leeming <leeming@lyx.org>
820 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
822 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
824 * text2.C (setParagraph): fix off-by-one crash
826 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
828 * output_docbook.C: header stuff for AGU
830 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
832 * text2.C (redoCursor): remove
835 * BufferView_pimpl.C: remove calls to redoCursor and
836 setCursor(cursor.par(), cursor.pos()) all around
838 2003-12-15 Angus Leeming <leeming@lyx.org>
840 * buffer.C: up the format to 228.
842 2003-12-15 André Pönitz <poenitz@gmx.net>
844 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
849 * BufferView_pimpl.C:
858 2003-12-15 Angus Leeming <leeming@lyx.org>
860 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
861 than getFromGUIName to manipulate the color.
863 2003-12-14 Angus Leeming <leeming@lyx.org>
865 * BranchList.[Ch]: minimize the API.
866 (Branch::getBranch, getColor): now return a 'const &'.
867 (Branch::setSelected) now returns a bool set to true if the
868 selection status changes.
869 (BranchList::clear, size, getColor, setColor, setSelected,
870 allBranches, allSelected, separator): removed.
871 (BranchList::find): new functions, returning the Branch with
873 (BranchList::add, remove): return a bool indicating that
874 the operation was successful.
876 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
877 new InsetBranch::isBranchSlected member function.
879 * LColor.[Ch]: mimimize the API.
880 (fill): renamed as addColor and made private.
881 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
882 versions of these functions taking a string arg have been removed.
884 * bufferparams.C (readToken):
885 * lyxfunc.C (dispatch):
886 * lyxrc.C (read): changes due to the altered BranchList and
889 * factory.C (createInset, readInset): changes due to altered
892 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
895 * lyxfunc.C: remove insetminipage. "minipage-insert"
896 now produces a frameless minipage box inset.
898 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
900 * textcursor.[Ch] (selStart,selEnd): add new methods
901 remove selection::start, end, use LyXCursor::operator<
902 * lyxcursor.[Ch] (operator<): add
903 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
904 * BufferView.[Ch] (unsetXSel): add
905 * text2.C (clearSelection): use unsetXSel,adjust
908 * rowpainter.C: adjust
909 * bufferview_funcs.C (put_selection_at): adjust
911 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
913 * BufferView_pimpl.C: small coord. correction
915 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
917 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
918 dragging over the splash screen.
920 2003-12-11 Angus Leeming <leeming@lyx.org>
922 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
923 as it is now handled in LyXText::dispatch.
925 * text3.C (doInsertInset): remove a level of nesting.
927 2003-12-11 Angus Leeming <leeming@lyx.org>
929 * factory.C (createInset): changes due to the changed interface to
930 InsetCommandMailer::string2params.
932 2003-12-10 Angus Leeming <leeming@lyx.org>
934 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
935 'dialog-show-new-inset <inset name>'
937 2003-12-10 Angus Leeming <leeming@lyx.org>
939 * buffer.C: up the format to 227.
941 * factory.C: the box inset is now identified simply by 'Box'.
943 2003-12-10 Angus Leeming <leeming@lyx.org>
945 * buffer.C: up the format to 226.
947 * factory.C: the note inset is now identified simply by 'Note'.
949 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
951 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
952 when a pit is enough. Standarize a couple of loops.
954 2003-12-05 Angus Leeming <leeming@lyx.org>
956 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
957 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
958 data to the re-worked "log" dialog.
960 2003-12-03 André Pönitz <poenitz@gmx.net>
968 * text2.C: use Inset::getText instead of Inset::getParagraph
970 2003-12-03 André Pönitz <poenitz@gmx.net>
974 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
975 InsetText::read() as LyXText::read()
977 2003-12-02 Angus Leeming <leeming@lyx.org>
979 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
980 type. Add a comment in the implementation that the function uses
981 the stream's bad() function rather than fail() as the std::streams
984 2003-12-02 André Pönitz <poenitz@gmx.net>
986 * lyxlex.[Ch]: make interface more similar to std::stream
988 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
990 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
992 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
994 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
996 * vspace.[Ch]: remove VSpace::NONE
998 2003-12-01 André Pönitz <poenitz@gmx.net>
1001 * lyxtext.h: move ParagraphList member to LyXText
1002 rename LyXText::ownerParagraphs to LyXText::paragraph
1005 * bufferview_funcs.C:
1015 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1017 * undo.C: fix cursor positioning
1019 2003-12-01 John Levon <levon@movementarian.org>
1021 * BufferView_pimpl.C: fix a crash on exit with
1024 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
1026 * BranchList.C: fix setSelected() method.
1028 2003-11-28 André Pönitz <poenitz@gmx.net>
1030 * ParagraphParameters.[Ch]:
1031 * ParameterStruct.h: remove space above/below from Paragraph to
1034 * BufferView_pimpl.C:
1040 * paragraph_funcs.C:
1046 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1048 * factory.C: Syntax change for CharStyles
1050 2003-11-28 André Pönitz <poenitz@gmx.net>
1055 * buffer.[Ch]: move LyXText member
1057 2003-11-28 André Pönitz <poenitz@gmx.net>
1059 * BufferView.[Ch]: make LyXText * text a private member
1061 * BufferView_pimpl.C:
1072 * output_plaintext.C: cleanup
1074 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1077 * lyxtextclass.[Ch]: parametrize SGML document header
1079 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1082 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1085 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1087 * text2.C (setFont): rework using PosIterator (no more recursive)
1088 (setCharFont): no more needed
1089 (setLayout): no more selection cursors fiddling (done by redoCursor)
1090 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1091 destroy remaining ones)
1093 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
1095 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1097 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1100 * text3.C: adjust + re-allow multi par depth changes
1101 * textcursor.C: simplify a bit
1103 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
1109 * src/output_docbook.C:
1110 * src/output_latex.C:
1115 * src/text2.C: Introducing a number of tags parametrizing various
1116 XML formats that we may want to support
1118 2003-11-25 André Pönitz <poenitz@gmx.net>
1120 * InsetList.[Ch] (begein, end): inline as suggested by profiler
1122 * lyxtext.h (leftMargin/rightMargin): simplify interface
1129 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1131 * lyxfunc.C (dispatch): propogate the bibtex databases from the
1132 master file to any child files. Fixes bug 546.
1134 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1136 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1138 2003-11-24 André Pönitz <poenitz@gmx.net>
1140 * rowpainter.C: simplification
1142 * text2.C (updateCounters): remove call to redoParagraph on
1143 changed labels as this is far too expensive.
1145 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1147 * converter.C (convert): fix a crash: this function gets
1148 called with buffer == 0 from importer code.
1150 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1152 * text3.C (cursorPrevious): make sure that we do not compare
1153 iterators form different containers.
1156 * rowpainter.C (paintSelection): make sure that we do not compare
1157 iterators from different containers.
1159 * text3.C (dispatch): [PRIOR] make sure that we do not compare
1160 iterators from different ParagraphList containers.
1163 * text2.C (LyXText): change order of initialization slightly
1164 (operator=): new function. copy all variables except cache_par_
1165 (moveUp): make sure that we do not compare iterators from
1166 different ParagraphList constainers.
1169 * text.C (firstPar): new function
1170 (lastPar): new function
1171 (endPar): new function
1173 * lyxtext.h: move things around and group public functions, public
1174 variables, private functions, private variables
1176 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1178 * factory.C: change call to InsetERT constructor to avoid
1179 additional invocation of method status
1180 * text2.C (toggleInset): remove redundant update() call
1181 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1182 instead of a Bufferview pointer
1184 2003-11-21 André Pönitz <poenitz@gmx.net>
1186 * rowpainter.C: simplification
1188 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1190 * text3.C (dispatch): make possible to extend a word/row selection
1193 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1195 * lyxtext.h: x0_,y0_ -> xo_,yo_
1196 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1197 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1198 * rowpainter.C (paintRows): paint full paragraphs
1200 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1202 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1205 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1207 * lyxtext.h: add x0_, y0_
1208 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1209 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1211 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
1213 * text2.C (setCursorIntern): move the x_target update here *
1214 * text3.C: change some bv() to true/false in calls to
1215 cursorUp/Down/Right/Left
1216 * cursor.C: use helper function.
1218 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1220 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1221 * paragraph_funcs.[Ch]: correct comment
1222 * rowpainter.C: do not paint selections away from bv->cursor()
1223 Fix a long standing selection painting bug.
1224 * text3.C: generalize mouse-selection code to LyXTexts other that
1226 * textcursor.C: do not use y coords if we can use par offsets
1228 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1230 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1231 cursor position after e.g. inset insert)
1233 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
1235 * lyxfind.C (replace): adjust to locking removal + some
1238 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
1240 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1243 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
1246 * output_docbook.C: XML sanitation: new layout
1247 parameters InnerTag and CommandDepth
1249 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
1251 * BufferView_pimpl.C:
1253 * text3.C: Fix the insertion and modification of button-style
1256 2003-11-13 André Pönitz <poenitz@gmx.net>
1258 * InsetList.[Ch]: remove deleteLyXText
1260 * paragraph.[Ch]: cache beginOfBody position
1265 * text3.C: remove superfluous update() calls
1269 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1271 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1272 * BufferView.C (fitLockedInsetCursor): remove
1273 * cursor.[Ch] (getDim): add
1274 * text.C (getRowNearY): add faster version
1275 * text3.C: remove some update calls
1277 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1289 * text3.C: The Character Style /XML short element patch.
1291 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
1294 * factory.C: Small step to solving 'unable to insert some insets'
1297 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1299 * cursor.[Ch] (updatePos): new function for updating the y
1300 position of the tip inset
1301 * bufferview_funcs.C (put_selection_at):
1302 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1304 2003-11-11 André Pönitz <poenitz@gmx.net>
1306 * text.C: remove big comment on invalid Paragraph pointers as it is
1309 2003-11-11 André Pönitz <poenitz@gmx.net>
1311 * text_funcs.[Ch]: merge with ...
1319 * Makefile.am: remove text_funcs.[Ch]
1321 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1323 * cursor.C (getPos): return absolute cached y coord
1325 * BufferView_pimpl.C (fitCursor): new simplistic code
1326 (workAreaDispatch): add a fitCursor call
1328 2003-11-10 André Pönitz <poenitz@gmx.net>
1331 * BufferView_pimpl.[Ch]: merge update() and updateInset()
1333 2003-11-10 André Pönitz <poenitz@gmx.net>
1335 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1336 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1337 indicate that the cursor needs to leave an inset
1339 * lyxtext.h: remove inset locking
1341 * cursor.[Ch]: re-implement functionality provided by inset locking
1344 * BufferView_pimpl.[Ch]:
1346 * bufferview_funcs.[Ch]:
1358 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1360 * PosIterator.[Ch]: replace the stack with a vector, add inset
1362 * iterators.[C]: adjust
1364 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1366 * lyxfind.C (replaceAll): mark the buffer dirty if something was
1368 * paragraph_funcs.C (readParToken): put the correct id in the
1369 error item, not the id of the top paragraph
1371 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1373 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1374 * bufferview_funcs.C (put_selection_at): use the above
1376 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1378 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1380 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1382 * output_linuxdoc.h:
1383 * output_plaintext.h:
1385 * output_docbook.h: add #include statements
1387 2003-11-05 José Matos <jamatos@lyx.org>
1389 * output_docbook.[Ch]:
1390 * output_latex.[Ch]:
1391 * output_linuxdoc.[Ch]:
1392 * output_plaintext.[Ch]: New files for output formats.
1393 * output.[Ch]: New file for helper functions.
1396 * paragraph_funcs.[Ch]: output functions moved to new files.
1398 * outputparams.h: rename of latexrunparams.h
1406 * paragraph_funcs.[Ch]:
1407 * paragraph_pimpl.[Ch]:
1408 * tabular.[Ch]: rename ascii to plaintext
1409 and LatexRunParams to OutputParams.
1411 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1413 * iterators.[Ch] (text): require bv argument
1414 * undo.C (recordUndo):
1415 * lyxfunc.C (dispatch):
1416 * bufferview_funcs.C (put_selection_at): adjust
1418 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
1420 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1422 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1424 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1427 2003-11-04 André Pönitz <poenitz@gmx.net>
1429 * cursor.[Ch]: restructure
1432 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1434 * iterators.[Ch] (asCursor): remove
1436 * lfuns.h: remove LFUN_INSET_EDIT
1442 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1444 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1446 * lyxfind.[Ch]: complete overhaul
1447 * BufferView_pimpl.C:
1449 * paragraph.[Ch] (insert): add
1451 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1455 * text.C: remove dead spellcheck code
1457 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1459 * dispatchresult.h: add a val setter
1461 * cursor.C (dispatch): use a tempvar for data_[i]
1463 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1465 * PosIterator.[Ch]: compile fix
1467 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1469 * text.C (cursorPar): deactivate the cursor cache
1471 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1473 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1475 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1477 * text3.C (dispatch): adjust for new DisptchResult semantics.
1479 * lyxfunc.C (dispatch): handle update when return from
1480 Cursor::dispatch, adjust for new DispatchResult semantics.
1482 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1483 DispatchResult(true) mean to not update. Add class functions for
1484 setting dispatched and update, as well as reading.
1486 * cursor.C (dispatch): don't handle update here
1488 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1490 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1491 * trans_mgr.C: adjust
1493 * paragraph_funcs.C (readParToken): exception safety
1495 * lyxvc.h: store the vcs pointer in a scoped_ptr
1498 * lyxsocket.C (serverCallback): exception safety
1500 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1502 * ispell.C (clone): make it return a auto_ptr
1504 * factory.C (createInset): exception safety
1505 (readInset): exception safety
1507 * bufferlist.C (newBuffer): exception safety
1509 * Thesaurus.C (Thesaurus): use initialization for aik_
1511 * MenuBackend.C (expandToc): exception safety.
1513 2003-11-03 André Pönitz <poenitz@gmx.net>
1517 * bufferview_funcs.C: remove getInsetFromId()
1520 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1526 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1528 * PosIterator.C (distance, advance): new
1529 * bufferview_funcs.[Ch] (put_selection_at): new
1530 * iterators.[Ch] (lockPath): new
1532 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
1534 * iterators.[Ch] (asPosIterator): added
1535 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1536 * PosIterator.[Ch]: added
1538 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1542 * cursor.C (dispatch):
1543 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1545 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1546 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1547 contructor, add a class function dispatched. Remove operator>=
1549 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1551 * debug.C: only use the default constructor for debugstream
1554 * main.C (main): include debug.h and setup the lyxerr streambuf
1557 2003-10-31 José Matos <jamatos@lyx.org>
1559 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1561 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1562 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1563 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1564 * paragraph_pimpl.C (simpleTeXSpecialC):
1565 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1566 add LatexRunParams argument.
1568 * exporter.C (Export): change call accordingly.
1570 * latexrunparams.h: add new member to take care of the other backends.
1571 2003-10-30 José Matos <jamatos@lyx.org>
1573 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1574 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1575 factorise code for paragraph output.
1577 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1580 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1582 * text3.C (dispatch):
1583 * lyxfunc.C (dispatch):
1584 * cursor.C (dispatch):
1585 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1587 * dispatchresult.h: make the dispatch_result_t ctor explicit
1589 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1592 * buffer.C: small refactoring of docbook stuff
1594 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1596 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1599 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1601 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1602 operator dispatch_result_t, and operators for == != and >=
1604 * cursor.C (dispatch): adjust for operator dispatch_result_t
1605 removal. comment out call to update
1607 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1609 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1617 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1620 * dispatchresult.h: new file, DispatchResult broken out of
1623 * Makefile.am (lyx_SOURCES): add dispatchresult.h
1625 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1627 * text.C (rowBreakPoint): put a hack inside #if 0
1629 2003-10-28 André Pönitz <poenitz@gmx.net>
1633 * paragraph_funcs.C:
1636 * text2.C: general cleanup (lots of small stuff)
1638 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1640 * text2.C (cursorEnd): simple fix to the "end key goes to one
1641 before the end on last row" bug
1643 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1645 * text.C (backspace): fix the "zombie characters"
1647 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1649 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1651 2003-10-27 André Pönitz <poenitz@gmx.net>
1653 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1655 * factory.C: handle new InsetPagebreak, InsetLine
1657 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1658 and move handling into new InsetPagebreak, InsetLine
1660 * BufferView_pimpl.C:
1662 * ParagraphParameters.C:
1663 * ParameterStruct.h:
1668 * paragraph_funcs.C:
1669 * paragraph_pimpl.C:
1675 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1678 * lyxrow_funcs.[Ch]:
1684 * text3.C: remove lastPos uses in favour of Row::endpos
1686 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1688 * undo.C (performUndoOrRedo): fix two crashes by setting a
1689 cursor by hand and reordering some calls. Use bv->lockInset instead
1690 of inset->edit because the latter loses cursor information
1692 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
1694 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1696 (rowBreakPoint): fix width. change point to point + 1.
1697 Add a missing check.
1699 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
1702 * lyxfunc.C: fix (at least partly) the problems
1703 with the Nav menu and headers inside branch insets
1706 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
1708 * paragraph.C (getChar): add strong asserts
1710 * lyxrow_funcs.C (lastPos): remove hideous hack
1712 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1713 (fill): adjust to that (avoid an infinite loop)
1715 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1717 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1719 2003-10-23 André Pönitz <poenitz@gmx.net>
1721 * RowList_fwd.h: change list<> to vector<> to gain speed
1722 after suggestion from Alfredo
1724 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1726 * lyxtext.h: move the bidi stuff from here...
1729 * Bidi.[Ch]: ... to here
1731 2003-10-23 André Pönitz <poenitz@gmx.net>
1734 * text.C (isLastRow, isFirstRow): new functions
1736 * paragraph.h: new width cache member
1738 * rowpainter.C: replace RowList::iterator with Row & where possible
1740 * lyxfunc.C: replace several view()->text with a single call
1742 * toc.C: fix 'unused' warning
1744 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1746 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1747 when woring with stream::pos_type
1748 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1750 2003-10-22 André Pönitz <poenitz@gmx.net>
1753 * text.C: use Row & instead of RowList::iterator
1755 * lyxrow.h: rename end() to endpos()
1761 2003-10-22 Angus Leeming <leeming@lyx.org>
1763 * buffer.[Ch] (fully_loaded): new member function, returning true
1764 only when the file has been loaded fully.
1765 Used to prevent the premature generation of previews and by the
1766 citation inset to prevent computation of the natbib-style label.
1768 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1769 templates are all set up.
1771 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1773 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
1775 * text.C: fixed an "oops" in the "is a bit silly"
1778 2003-10-21 André Pönitz <poenitz@gmx.net>
1780 * FuncStatus.[Ch]: small stuff, whitespace
1782 * lyxfont.[Ch]: operator<<() for debug reasons
1786 * lyxtext.h: whitespace, spelling
1788 * paragraph.C: naming of variables
1791 * text2.C: small stuff
1794 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1796 * text.C: (1) finish off the inset display() work;
1797 (2) fix the "is a bit silly" bug (accessing char
1800 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1802 * text.C: re-introduce display() for insets, fixing the
1803 various bugs (stretch of line above, math inset
1806 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1808 * text.C (rightMargin): remove spurious semicolon
1810 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1813 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
1815 * text3.C: fix one crash due to wrong cursor def
1817 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1819 * vc-backend.C (scanMaster): make the regex static
1821 * LaTeX.C (scanAuxFile): make the regexs static
1823 * text3.C (doInsertInset, dispatch, dispatch):
1824 * text2.C (cursorUp, cursorDown):
1825 * text.C (selectNextWordToSpellcheck):
1826 * BufferView_pimpl.C (dispatch):
1827 * lyxfunc.C (dispatch): localDispatch -> dispatch
1829 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1831 * lyxsocket.C: include <cerrno>
1833 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1835 * lyxfunc.C (dispatch): remove textcache stuff
1837 * bufferlist.C (release): remove textcache stuff
1840 * TextCache.C: delete file
1841 * TextCache.h: delete file
1843 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1845 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1846 delete of the bv_->text.
1847 (resizeCurrentBuffer): remove texcache stuff
1848 (workAreaResize): ditto
1850 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1852 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1855 2003-10-16 André Pönitz <poenitz@gmx.net>
1862 * text3.C: speed up by storing y positions per paragraph plus per-row
1863 offset instead of having a 'full' y position in the row.
1865 2003-10-15 André Pönitz <poenitz@gmx.net>
1869 * undo.[Ch]: make undo aware of inner insets
1871 2003-10-14 Angus Leeming <leeming@lyx.org>
1873 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1874 static member functions LyX::ref() and LyX::cref.
1875 (lastfiles): new accessor functions for the new lastfiles_ member var.
1876 (addLyXView, views_): add a new LyXView to the list of views_.
1877 (updateInset): loop over all LyXViews to call their own updateInset
1878 member function, returning a pointer to the Buffer owning the inset.
1880 * BufferView_pimpl.C (loadLyXFile):
1881 * MenuBackend.C (expandLastfiles):
1882 * bufferlist.C (MenuWrite, QuitLyX):
1883 lastfiles is no longer a global variable.
1884 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1886 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1887 static function. Access through LyX::cref().emergencyCleanup().
1889 2003-10-14 André Pönitz <poenitz@gmx.net>
1891 * iterators.[Ch]: new direct access to innermost LyXText and Inset
1893 * undo.[Ch]: restoring part of 'undo in insets'
1896 * undo_funcs.[Ch]: merge with undo.[Ch]
1898 * tabular.C: small cleansing stuff
1900 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
1902 * paragraph_funcs.C (readParToken): report unknown insets as error
1903 boxes. Use the outer paragraph as location (also for unknown
1906 * factory.C (readInset): do not abort on reading an unknown inset.
1907 Eat it and return 0.
1909 2003-10-13 Angus Leeming <leeming@lyx.org>
1911 * lyx_main.C (LyX): remove call to setDisplayTranslator().
1913 * lyxrc.C: displayTranslator is now a function,
1914 declared in GraphicsTypes.h.
1916 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1918 * format.C: new placeholder $$a to pass the socket address.
1920 * bufferlist.[Ch]: new function getBufferFromTmp.
1922 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1923 files in the temporary dir.
1925 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1927 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1929 * Makefile.am: add lyxsocket.[Ch].
1931 * lyx_main.C (error_handler): handle SIGPIPE.
1933 2003-10-13 André Pönitz <poenitz@gmx.net>
1935 * BufferView_pimpl.C:
1940 * undo_funcs.[Ch]: use paroffset_type instead of
1941 ParagraphList::iterators to prevent multiple conversion
1942 (and get a more robust interface)
1944 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1946 * lyxfunc.C (dispatch): RESULT -> dispatch_result
1948 * text3.C (dispatch): ditto
1950 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1952 * LaTeX.C (handleFoundFile): move the static to smaller scope,
1953 move the onlyfile, use onlyfile instead of foundfile in a couple
1956 * DepTable.C (update): flush the error stream a bit more
1958 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1960 * lyxserver.C (callback): adjust
1962 * lyxfunc.C (getStatus): add a missing brace in commented code
1963 (ensureBufferClean): reindent
1964 (dispatch): delete version taking a string
1966 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1968 * LaTeX.C (deplog): move found file handlig from here...
1969 (handleFoundFile): .. to new function here.
1970 (deplog): make sure to discover several files mentioned on the
1973 2003-10-10 André Pönitz <poenitz@gmx.net>
1980 * text3.C: fix some of the tabular crashes
1982 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1984 * MenuBackend.C (binding): put debug message into Debug::KBMAP
1986 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1988 2003-10-09 André Pönitz <poenitz@gmx.net>
1990 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1993 * BufferView_pimpl.C:
1994 * bufferview_funcs.C:
2005 * undo_funcs.C: adjust
2007 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2009 * text2.C (incrementItemDepth): new function, use a backtracking
2010 algorithm to discover the correct item depth.
2011 (resetEnumCounterIfNeeded): new function, use a backtracking
2012 algorithm to discover if counter reset is needed.
2013 (setCounter): use them. Simplify a bit. Add different labels for
2014 different item depths for itemize.
2016 * paragraph.C (Paragraph): remove initialization of enumdepth
2019 * paragraph.h: get rid of enumdepth, and use itemdepth both for
2020 enumerate and itemize. Change the type of itemdepth to signed char.
2022 2003-10-08 André Pönitz <poenitz@gmx.net>
2024 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2029 * tabular.[Ch]: fix crash after 'row-insert'
2031 2003-10-08 Angus Leeming <leeming@lyx.org>
2033 Fix doxygen warnings.
2035 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2036 Remove CutAndPaste:: prefix from header file declaration.
2038 * LColor.h (fill): remove LColor:: prefix from declaration.
2040 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2041 use lyx::depth_type rather than Paragraph::depth_type so that
2042 header file and .C file match.
2044 * converter.h (intToFormat): remove Converters:: prefix from declaration.
2046 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2047 * aspell.C: \file aspell_local.C -> \file aspell.C
2048 * gettext.C: \file gettext.C -> \file src/gettext.C
2049 * gettext.h: \file gettext.h -> \file src/gettext.h
2050 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2051 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2052 * text.C: \file text.C -> \file src/text.C
2054 * toc.C: move comment so that doxygen is not confused.
2056 2003-10-07 Angus Leeming <leeming@lyx.org>
2058 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2060 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2063 * aspell_local.h: add forgotten std::string's.
2065 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2072 * text3.C: The Box patch. Fancybox support, minipage, parbox
2074 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2080 * ParagraphParameters.h:
2090 * lyxtextclasslist.h:
2093 * paragraph_pimpl.C:
2094 * textcursor.h: add <string> and other small fixes to make Lars'
2095 std::string patch compile with STLport.
2097 2003-10-06 Angus Leeming <leeming@lyx.org>
2099 * LColor.h: Add missing #include <string>.
2101 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2103 * All most all file in all subdirs: Make <string> be the prefered
2104 way of getting to std::string, add using declarations.
2106 2003-10-06 André Pönitz <poenitz@gmx.net>
2108 * metricsinfo.C: initialize LyXFont before changing attribute.
2109 (fixes the 'math in \emph is upright' bug)
2111 2003-10-06 André Pönitz <poenitz@gmx.net>
2113 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2115 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
2118 * paragraph_pimpl.C: Small fixes to build using STLport
2120 2003-10-02 André Pönitz <poenitz@gmx.net>
2123 * text3.C: move handling of LFUN_DEPTH *; fix #1360
2125 2003-10-01 André Pönitz <poenitz@gmx.net>
2127 * factory.C: assert early
2129 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2131 * lyx_main.C: remove the global debug object
2133 * debug.h: adjust for new debugstream
2135 * debug.C: adjust for new debugstream and keep the global debug
2138 2003-09-22 Angus Leeming <leeming@lyx.org>
2140 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2141 of g++ which otherwise complain that the scoped_ptr destructor can't delete
2142 an incomplete class LyXFont.
2144 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2146 * factory.C: bug fix in branches
2148 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2150 * lyxfunc.C (processKeySym): adjust
2152 (dispatch): change arg name from ev to func, adjust
2153 (sendDispatchMessage): ditto
2155 * lyx_main.C (defaultKeyBindings): adjust keybindings
2156 (deadKeyBindings): ditto
2158 * kbsequence.C (addkey): return a FuncRequest
2160 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2162 * kbmap.C (bind): take a FuncRequest as arg, adjust
2165 (defkey): change to take a FuncRequest as arg, adjust
2166 (findbinding): take a FuncRequest as arg, adjust.
2168 * funcrequest.h (operator=): added
2170 * funcrequest.C (FuncRequest): default kb_action changed from
2171 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2173 * buffer.C (dispatch): simplify
2174 (dispatch): adjust to take a FuncRequest as arg, adjust
2176 * boost.C (assertion_failed): change assertion message slightly
2178 * ToolbarBackend.C (read): simplify
2180 * MenuBackend.C (binding): adjust call to findbinding, add a
2181 message if no binding is found.
2183 (expandToc): correct by adding a empty FuncRequest
2185 * LyXAction.C: include <boost/assert.hpp>
2186 (isPseudoAction): delete function
2187 (LookupFunc): change name to...
2188 (lookupFunc): this. change return type to FuncRequest.
2189 (getActionName): take kb_action as arg, simplify
2190 (funcHasFlag): add an assert, simplify.
2192 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2194 * toc.C (action): return a FuncRequest, simplify
2196 * lyxfunc.C (processKeySym): adjust
2197 (getStatus): delete version that takes an int.
2199 (dispatch): delete version that takes action as int
2201 (sendDispatchMessage): simplify and adjust
2203 * funcrequest.C (getArg): take unsigned int as arg
2205 * ToolbarBackend.C (read): adjust
2206 (add): delete version that takes func as a string.
2207 (getIton): take a FuncRequest as arg
2209 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2212 * MenuBackend.C (MenuItem): add a new construct that only takes a
2213 Kind, simplify the constructor use for submenus.
2215 (expandLastfiles): adjust
2216 (expandDocuments): adjust
2217 (expandFormats): adjust
2218 (expandFloatListInsert): adjust
2219 (expandFloatInsert): adjust
2220 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2222 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2223 Remove class variables lyx_pseudo_map and lyx_arg_map
2225 * LyXAction.C (searchActionArg): delete function
2226 (getPseudoAction): delete function
2227 (retrieveActionArg): delete function
2228 (LookupFunc): make it return kb_action, simplify.
2229 (getActionName): simplify
2231 * factory.C (createInset): fix new bug
2233 2003-09-19 Angus Leeming <leeming@lyx.org>
2235 * CutAndPaste.C (pasteSelection): remove fudge used to set the
2236 masterFilename_ parameter in the include inset.
2238 * factory.C (createInset): changes due to the changes to InsetInclude.
2240 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2242 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2244 2003-09-18 Angus Leeming <leeming@lyx.org>
2247 * BufferView.C: pass the buffer when calling Inset::getLabelList,
2248 Inset::fillWithBibKeys.
2249 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2251 2003-09-18 Angus Leeming <leeming@lyx.org>
2253 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2255 (ctor): pass and store a 'Buffer const &'
2256 (buffer): new member function.
2258 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2259 '*this' to the LaTeXFeatures ctor.
2261 2003-09-18 Angus Leeming <leeming@lyx.org>
2267 * text.C: rename EnumLColor as LColor_color.
2269 2003-09-18 Angus Leeming <leeming@lyx.org>
2271 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2272 remove #include "insets/insetbase.h" from cursor.h.
2274 2003-09-18 Angus Leeming <leeming@lyx.org>
2276 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2277 InsetOld_code to remove #include "inset.h".
2279 * iterators.C: add #include "insets/inset.h"
2281 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
2283 * BufferView.C: remove more locking stuff that apparently doesn't
2284 do anything sensible.
2286 2003-09-16 André Pönitz <poenitz@gmx.net>
2289 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2292 2003-09-16 Angus Leeming <leeming@lyx.org>
2294 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2296 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2299 * paragraph.h: remove #include "lyxfont.h". Forward declare
2302 2003-09-16 Angus Leeming <leeming@lyx.org>
2304 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2305 of support/textutils.h.
2306 (isWord): move the contents of support/textutils.h's IsWordChar here.
2312 * text2.C: add #include "paragraph.h".
2315 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2317 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2323 * LaTeX.C: use namespace alias for lyx::support::os
2325 2003-09-16 Angus Leeming <leeming@lyx.org>
2328 * bufferview_funcs.C:
2331 * paragraph_pimpl.C:
2333 * text.C: add #include "LColor.h".
2335 2003-09-16 Angus Leeming <leeming@lyx.org>
2337 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2338 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2340 Store the FontBits::color variable as an int rather than as an
2341 LColor::colorso that we can move LColor.h out of the lyxfont.h header
2344 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2345 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2346 string calls together.
2348 * lyxrc.C: add #include "LColor.h".
2350 2003-09-15 Angus Leeming <leeming@lyx.org>
2352 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2355 2003-09-15 Angus Leeming <leeming@lyx.org>
2357 * LColor.h: add an EnumLColor wrapper for LColor::color.
2359 * lyxfont.[Ch] (color, setColor, realColor):
2360 * lyxtext.h, text.C (backgroundColor):
2361 pass EnumLColor args to/from the functions, rather than LColor::color
2365 * lyxtext.h: forward declare EnumLColor.
2367 * lyx_main.C: add #include "LColor.h".
2369 2003-09-15 Angus Leeming <leeming@lyx.org>
2371 * .cvsignore: add lyx-gtk.
2373 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2378 * ParagraphParameters.C
2382 * bufferview_funcs.C
2392 * vc-backend.C: remove usage of STRCONV
2394 2003-09-15 Angus Leeming <leeming@lyx.org>
2396 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2397 explicitly define the color passed to the painter.
2399 2003-09-15 Angus Leeming <leeming@lyx.org>
2401 * bufferparams.C (BufferParams): reorder member initializers to avoid
2404 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
2406 * CutAndPaste.C (pasteSelection): remove an outdated #warning
2407 * text.C (updateRowPositions): remove an unusual nop
2409 2003-09-12 André Pönitz <poenitz@gmx.net>
2411 * BufferView_pimpl.C:
2420 * Counters.[Ch]: finish the 'automatic counters' job
2422 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2424 * aspell.C: include <boost/assert.cpp> (compile fix)
2426 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
2428 * boost.C (assertion_failed): use lyx::support::abort instead of
2431 2003-09-10 Angus Leeming <leeming@lyx.org>
2433 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2434 with their _fwd progeny.
2436 2003-09-09 Angus Leeming <leeming@lyx.org>
2438 134 files throughtout the source tree: replace 'using namespace abc;'
2439 directives with the appropriate 'using abc::xyz;' declarations.
2441 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2443 * boost.C (emergencyCleanup): moved here from LAssert.c
2444 (assertion_failed): new function, called by BOOST_ASSERT
2446 * several files: change Assert to BOOST_ASSERT
2448 2003-09-09 Angus Leeming <leeming@lyx.org>
2450 * buffer.[Ch]: Add an Impl class and move Buffer's member
2451 variables into it. As a result move several header files out of
2454 Add header files to lots of .C files all over the tree as a result.
2456 2003-09-09 Angus Leeming <leeming@lyx.org>
2458 * buffer.[Ch]: make Buffer's member variables private. Add
2461 Lots of changes all over the tree as a result.
2463 2003-09-08 Angus Leeming <leeming@lyx.org>
2465 * graph.C: #include <config.h>.
2467 2003-09-08 Angus Leeming <leeming@lyx.org>
2471 * BufferView_pimpl.C:
2500 * toc.C: remove redundant using directives.
2502 2003-09-07 Angus Leeming <leeming@lyx.org>
2504 * LaTeXFeatures.h: remove #include "support/types.h".
2505 * ToolbarBackend.h: remove #include <algorithm>.
2506 * changes.h: remove #include <ctime>.
2507 * debug.h: remove #include <iosfwd>.
2508 * graph.h: remove #include "support/std_string.h".
2509 * lyx_main.h: remove #include <csignal>.
2510 * lyxlex_pimpl.h: remove #include <fstream>.
2511 * sgml.h: remove #include <algorithm>, <utility>.
2512 * toc.h: remove #include "support/std_ostream.h".
2513 Add #include <iosfwd>.
2515 2003-09-07 Angus Leeming <leeming@lyx.org>
2517 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2519 * converter.h: forward declare LatexRunParams.
2520 * encoding.h: remove #include "lyxrc.h".
2521 * lyxtext.h: remove #include "LColor.h".
2522 * lyxtextclass.h: remove #include "support/types.h".
2523 * trans.h: remove #include "tex-accent.h".
2524 * trans_mgr.h: remove #include "tex-accent.h".
2525 * insets/inset.h: remove #include "support/types.h", <vector>.
2526 * insets/insetcollapsable.h: remove #include "LColor.h".
2527 * insets/insetinclude.h: remove #include "dimension.h".
2528 * insets/insetlatexaccent.h: remove #include "dimension.h".
2529 * insets/insetoptarg.h:: remove #include "insettext.h".
2530 * insets/insettext.h: remove #include "dimension.h",
2531 <boost/shared_ptr.hpp>
2533 * insets/renderers.h: add #include "dimension.h".
2534 * insets/updatableinset.h: add #include "support/types.h".
2536 * many .C files: Associated changes.
2538 2003-09-06 Angus Leeming <leeming@lyx.org>
2540 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2541 one, inside testInvariant.
2543 * PrinterParams.C: new file.
2544 * PrinterParams.[Ch]: move the function bodies out of line.
2546 2003-09-06 Angus Leeming <leeming@lyx.org>
2548 * ParagraphParameters.h: forward declare ParameterStruct rather than
2549 including its header file.
2550 (depth): moved out-of-line.
2552 2003-09-06 Angus Leeming <leeming@lyx.org>
2554 * BufferView_pimpl.h:
2557 * lyxfunc.h: forward declare LyXKeySym rather than
2558 #include "frontends/LyXKeySym.h".
2560 * BufferView_pimpl.C:
2563 * lyxfunc.C: associated changes.
2565 2003-09-06 Angus Leeming <leeming@lyx.org>
2567 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2568 As a result, can remove the #include "insets/inset.h" from BufferView.h
2570 2003-09-06 Angus Leeming <leeming@lyx.org>
2572 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2573 As a result, can remove the #include "insets/inset.h" from BufferView.h
2575 2003-09-06 Angus Leeming <leeming@lyx.org>
2581 * bufferview_funcs.C:
2582 * BufferView_pimpl.C:
2587 * ParagraphParameters.C:
2592 * frontends/controllers/ControlDocument.C:
2593 * insets/insetcaption.C: rearrange the #includes into some sort of
2596 * buffer.h: remove #includes ErrorList.h, undo.h
2598 2003-09-06 Angus Leeming <leeming@lyx.org>
2600 * support/types.h: add a 'depth_type' typedef, used to store the
2601 nesting depth of a paragraph.
2604 * ParameterStruct.h: use this lyx::depth_type typedef rather than
2605 defining explicitly.
2608 * paragraph_funcs.h:
2609 * ParagraphParameters.h:
2610 * sgml.h: use lyx::depth_type rather than Paragraph or
2611 ParameterStruct's depth_type.
2614 * paragraph_funcs.h: no need to #include paragraph.h anymore.
2617 * BufferView_pimpl.C:
2619 * ParagraphParameters.C:
2622 * bufferview_funcs.C:
2629 * frontends/LyXView.C:
2630 * frontends/controllers/ControlDocument.C:
2631 * frontends/controllers/ControlErrorList.C:
2632 * insets/insetbibitem.C:
2633 * insets/insetbranch.C:
2634 * insets/insetcaption.C:
2635 * insets/insetcollapsable.C:
2636 * insets/insetenv.C:
2637 * insets/insetert.C:
2638 * insets/insetfloat.C:
2639 * insets/insetfoot.C:
2640 * insets/insetfootlike.C:
2641 * insets/insetnewline.C:
2642 * insets/insetquotes.C:
2643 * insets/insettabular.C:
2644 * insets/insettext.C:
2645 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2647 * frontends/controllers/ControlChanges.C: #include "changes.h".
2649 2003-09-06 Angus Leeming <leeming@lyx.org>
2651 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2652 than #including paragraph.h.
2655 * RowList.h: deleted. Superfluous.
2665 * insets/insettext.h: use ParagraphList_fwd.h rather than
2668 * paragraph.h: don't forward declare ParagraphList.
2671 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2672 rather than ParagraphList.h. paragraph.h is still needed for the
2673 Paragraph::depth_type parameters.
2675 * textcursor.h: enable it to compile stand-alone in light of the
2678 * bufferview_funcs.C:
2690 * frontends/controllers/ControlParagraph.C:
2691 * frontends/controllers/ControlTabular.C:
2692 * insets/insetmarginal.C:
2693 * insets/insetminipage.C:
2694 * insets/insetnote.C:
2695 * insets/insetoptarg.C: add header files needed to compile again.
2697 2003-09-06 Angus Leeming <leeming@lyx.org>
2699 * RowList_fwd.h: new file, forward-declaring Row rather than
2700 #including lyxrow.h.
2705 * insets/insettext.h: use it instead of RowList.h
2707 * bufferview_funcs.C:
2714 * text3.C: #include "RowList.h".
2716 2003-09-05 Angus Leeming <leeming@lyx.org>
2718 * factory.C (createInset):
2719 * vspace.C (c-tor): replace sscanf call with an istringstream.
2720 * ispell.C: re-add missing HP/UX headers.
2721 * lyxserver.C: re-add missing os2 headers.
2723 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
2732 * text3.C: re-add missing system headers, needed for 2.95.2.
2734 2003-09-05 Angus Leeming <leeming@lyx.org>
2736 Changes most place everywhere due to the removal of using directives
2737 from support/std_sstream.h.
2739 2003-09-05 Angus Leeming <leeming@lyx.org>
2741 Replace LString.h with support/std_string.h,
2742 Lsstream.h with support/std_sstream.h,
2743 support/LIstream.h with support/std_istream.h,
2744 support/LOstream.h with support/std_ostream.h.
2746 Changes resulting throughout the tree.
2748 2003-09-05 Angus Leeming <leeming@lyx.org>
2750 * sgml.h: ensure that the header file can be compiled stand-alone.
2751 * *.C: strip out redundant #includes. (320 in total.)
2753 2003-09-04 Angus Leeming <leeming@lyx.org>
2755 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2756 here (from getPackages).
2758 * debug.[Ch]: add a new EXTERNAL tag.
2760 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2762 * text2.C (cursorEnd): simplify
2764 (getColumnNearX): adjust
2766 * text.C (computeBidiTables): adjust
2769 * rowpainter.C (paintChars): adjust
2770 (paintSelection): adjust
2771 (paintChangeBar): adjust
2774 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2776 (numberOfSeparators): adjust
2778 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2784 * text3.C: Restricts the mouse click functionality
2785 of insets like bibtex, include, toc and floatlist to the visible
2786 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2787 up the dialogs. Cursor has to be in front of the inset (i.e.
2788 start of row) for this to function.
2790 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2792 * bufferview_funcs.C (currentState): output row information
2794 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2796 * bufferview_funcs.C (currentState): output paragraph position
2798 2003-09-04 Angus Leeming <leeming@lyx.org>
2800 * FloatList.h: move out #include "Floating.h".
2801 * LaTeX.h: move out #include "DepTable.h".
2802 * LyXAction.h: move out #include "funcrequest.h".
2803 * buffer.h: move out #include "author.h", "iterators.h".
2804 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2805 * lyx_main.h: move out #include "errorlist.h".
2806 * lyxfunc.h: move out #include "FuncStatus.h".
2807 * lyxtext: move out #include "lyxcursor.h".
2808 * paragraph_pimpl.h: move out #include "counters.h".
2810 2003-09-03 Angus Leeming <leeming@lyx.org>
2812 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2813 preamble_snippets list, enabling us to add snippets to the preamble
2814 only if the snippet was not there already.
2816 2003-09-04 Angus Leeming <leeming@lyx.org>
2818 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2820 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2822 * lyxfunc.C (dispatch): if fitCursor did something be sure to
2825 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2827 * BranchList.C: point fix, earlier forgotten
2829 2003-09-02 Angus Leeming <leeming@lyx.org>
2831 * box.C (contains): renamed from 'contained' after a fantastic
2834 2003-09-02 John Levon <levon@movementarian.org>
2840 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2842 2003-09-02 John Levon <levon@movementarian.org>
2844 * text2.C: simplification of cursorEnd(), including partial
2847 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2849 * buffer.C (readFile): add a space
2851 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
2853 * BufferView_pimpl.C (update): remove bogus fitCursor() call
2855 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2857 * buffer.C (readFile): new function, take a filename and a
2858 ParagraphList::iterator
2860 (readFile): adjust, make it private. don't use setStream, make
2861 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2862 always contain the filename.
2864 * BufferView.C (insertLyXFile): simplify and make it work for
2867 2003-08-30 John Levon <levon@movementarian.org>
2869 * Makefile.am: fix dist (from Kayvan)
2871 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2873 * most files: change to use const Buffer refs
2875 2003-08-27 André Pönitz <poenitz@gmx.net>
2877 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2878 on top of ownerPar().
2880 2003-08-27 John Levon <levon@movementarian.org>
2882 * funcrequest.C: properly initialise POD members
2884 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2886 * lyxtext.h (top_y): move top_y from here
2891 * BufferView_pimpl.[Ch]: to here
2892 * frontends/screen.C:
2893 * insets/insettabular.C:
2894 * insets/insettext.C: adjust
2895 * rowpainter.[Ch] (paintRows): remove LyXText & argument
2897 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2900 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2902 2003-08-26 André Pönitz <poenitz@gmx.net>
2904 * paragraph_func.[Ch] (outerPar): new function
2907 * paragraph_funcs.C:
2908 * paragraph_funcs.h:
2909 * paragraph_pimpl.C:
2910 * text2.C: remove Inset::par_owner
2912 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2917 * text2.C: eliminates the needFullRow/display() stuff
2918 altogether, putting the logic in metrics/draw in the insets.
2920 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
2922 * text2.C (redoParagraphInternal, redoParagraphs):
2923 * text.C (redoParagraph): add a call to updateRowPositions at the
2924 end of each 'metrics-like' call. Remove all others.
2925 (getRow): remove the 'y-computing' version.
2926 (getRowNearY): do not compute nor return the real y. Solve the
2927 'y < 0' problem and simplify.
2929 2003-08-22 Angus Leeming <leeming@lyx.org>
2931 * *.[Ch]: clean-up of licence and author blurbs.
2932 Also move config.h out of a few .h files and into a few .C files.
2934 2003-08-22 André Pönitz <poenitz@gmx.net>
2936 * lyxrow.[Ch]: add x_ and *fill_ members
2941 * text2.C: adjust/remove prepareToPrint() calls
2943 2003-08-22 André Pönitz <poenitz@gmx.net>
2945 * lyxrow.[Ch]: add end_ member
2947 * lyxrow_funcs.C: use LyXRow::end_
2949 * lyxtext.h (singleWidth): add LyXFont parameter
2952 * text2.C: adjust LyXText::singleWidth() calls
2954 * text.C (redoParagraph): simplify row breaking logic
2957 2003-08-19 André Pönitz <poenitz@gmx.net>
2959 * funcrequest.C: initialize button_ member
2962 * rowpainter.[Ch]: interface consolidation
2964 2003-08-18 André Pönitz <poenitz@gmx.net>
2967 * BufferView_pimpl.C:
2969 * paragraph_funcs.C:
2971 * text3.C: remove LyXScreen::draw() and fitCursor calls
2973 * BranchList.h: remove spurious semicolons
2975 * MenuBackend.C: fix branchlist related crash
2977 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2985 * bufferparams.[Ch]:
2989 * text3.C: implements the 'branch inset'
2990 idea. This allows the output of various versions of a document
2991 from a single source version, selectively outputing or suppressing
2992 output of parts of the text.
2993 This implementation contains a 'branch list editor' in a separate
2994 tab of the document settings dialog. Branches are user definable
2995 and have a "display colour" to distinguish them on-screen.
2997 ColorHandler was somewhat cleaned up.
2998 (1) make possible a dynamically growing LColor list by allowing
2999 the graphic context cache to grow along (vector);
3000 (2) eliminate an IMHO unnecessary step in colour allocation.
3002 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
3004 * BufferView_pimpl.C: compile fix
3006 2003-08-15 André Pönitz <poenitz@gmx.net>
3008 * rowpainter.C: remove extra metrics calls
3010 * lyxtext.h: merge the two constructors into a single one,
3011 pass reference to owner's par list
3013 * BufferView_pimpl.C:
3017 2003-08-15 André Pönitz <poenitz@gmx.net>
3019 * lyxrow_funcs.[Ch]:
3022 * paragraph_funcs.C:
3027 * text_funcs.C: split LyXText::rowlist_ into individual
3028 Paragraph::rows_ chunks
3031 * BufferView_pimpl.[Ch]:
3034 * text3.C: remove toggleSelection()
3036 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
3038 * bufferlist.C: beautify two alerts (shorter text of buttons)
3039 * buffer.C: Remove redundant ' ' from message
3041 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3042 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3043 rename VALIGN_CENTER to VALIGN_MIDDLE
3045 2003-08-11 André Pönitz <poenitz@gmx.net>
3047 * lyxtext.h (getPar):
3048 * text.C: new function
3050 2003-08-11 André Pönitz <poenitz@gmx.net>
3053 * tracer.[Ch]: remove unneeded files
3055 * InsetList.[Ch]: remove resizeInsetsLyXText()
3060 * text3.C: merge insertParagraphs() and appendParagraph()
3061 remove breakAgain(), update()
3063 * BufferView_pimpl.[Ch]:
3064 * bufferview_funcs.[Ch]:
3068 * tabular.C: adjust after text & InsetList changes.
3070 2003-08-08 André Pönitz <poenitz@gmx.net>
3072 * text.C (insertChar, backspace): replace rowlist fiddling
3073 with rebreak of full par
3076 * text.C (breakAgainOneRow, redoHeightOfParagraph,
3077 checkParagraph, updateInset): removed
3079 2003-08-07 André Pönitz <poenitz@gmx.net>
3082 * text3.C: merge some LFUN handlers, remove dead code
3084 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3086 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3088 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
3090 * text2.C (DEPM): fix part of bug 1255 and 1256
3092 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3094 * BufferView_pimpl.C (workAreaDispatch): change to use
3095 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3096 that are no mouse related.
3098 2003-08-05 André Pönitz <poenitz@gmx.net>
3101 * BufferView_pimpl.[Ch]:
3102 * bufferview_funcs.C:
3104 * text3.C: rip out "deep update"
3106 * textcursor.[Ch] (last_sel_cursor): remove unused member
3108 2003-08-04 André Pönitz <poenitz@gmx.net>
3111 * BufferView_pimpl.[Ch]:
3112 * ParagraphParameters.C:
3113 * bufferview_funcs.C:
3119 * text3.C: replace "complicated" BufferView::update(...) calls with
3122 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3124 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
3126 * Makefile.am (lyx_SOURCES): add paper.h
3128 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3130 * Makefile.am: move things around so that both lyx-qt and
3131 lyx-xforms can be built (according to --with-frontend). Then lyx
3132 is a symbolic link to lyx-[firstfrontend]
3134 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
3136 * Always use std::endl with lyxerr
3138 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
3140 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3142 2003-08-01 André Pönitz <poenitz@gmx.net>
3145 * BufferView_pimpl.[Ch]:
3147 * text3.C: merge BufferView::repaint() and BufferView::update()
3149 2003-08-01 José Matos <jamatos@lyx.org>
3151 * buffer.[Ch]: file_format is no longer a buffer data element.
3153 2003-08-01 André Pönitz <poenitz@gmx.net>
3158 * text2.C: make redoParagraph more independent of current cursor
3160 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3162 * text2.C: remove unneeded members
3164 2003-07-30 André Pönitz <poenitz@gmx.net>
3166 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3168 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3169 create a single function...
3171 * paragraph_funcs.C (moveItem): ... here.
3174 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3176 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3178 * LColor.[Ch]: Add comment and greyedout logical colors.
3180 2003-07-30 André Pönitz <poenitz@gmx.net>
3182 * tabular.C: don't use Assert too heavily. This crashes where it
3185 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
3187 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3188 is disabled (bug 1232)
3190 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3192 * factory.C: limited 'arg' scope
3194 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3196 * factory.C: fixed Note submenu issues
3198 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3200 * factory.C: submenu for Note/Comment/Greyedout
3202 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
3205 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3207 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
3210 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3211 greyedout. Patch provided by Jürgen Spitzmüller.
3213 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3215 * kbmap.C (read): fix error message when reading bind files
3217 2003-07-29 Angus Leeming <leeming@lyx.org>
3219 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3220 certainly does not do what it purports to do. I am doing it, and
3221 us, a favour by killing it.
3223 2003-07-28 José Matos <jamatos@lyx.org>
3225 * buffer.C (readBody, do_writeFile):
3226 * paragraph.C(readParagraph): \end_document replaces \the_end.
3228 2003-07-29 André Pönitz <poenitz@gmx.net>
3231 * BufferView_pimpl.[Ch]:
3235 * textcursor.[Ch]: remove toggleToggle & Co
3237 2003-07-28 José Matos <jamatos@fep.up.pt>
3239 * buffer.C (readParagraph):
3240 * params_func (readParToken, readParagraph):
3241 * paragraph.C (write): \layout -> \begin_layout.
3243 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3245 * lyxlex_pimpl.C (setFile): clean up slightly.
3247 * bufferparams.h: add compressed var
3249 * buffer_funcs.C (readFile): adjust for LyXLex change
3250 (newFile): ditto + simplify
3252 * buffer.C (writeFile): handle writing of compressed files
3254 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3255 Check if the file is compressed and set a bufferparm if so.
3257 * Makefile.am (lyx_LDADD): remove explicit -lz
3259 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3261 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3262 makeDocBookFile): put the real LyX version in the first line of
3266 * version.C.in: remove lyx_docversion
3268 * tabular.C (write_attribute): add a template-based version to
3269 write enums properly
3271 2003-07-28 André Pönitz <poenitz@gmx.net>
3276 * text3.C: use doubles again for x-coordinates. They are needed.
3278 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3280 * messages.C (getLocaleDir): use lyx_localedir()
3282 * lyxlex_pimpl.C (setFile): compress stuff
3284 * buffer.C (writeFile): add some compression stuff
3285 (do_writeFile): new func, dont call expliti close... will this
3288 * Makefile.am (lyx_LDADD): add -lz
3290 2003-07-28 José Matos <jamatos@fep.up.pt>
3292 * buffer.C: increment file format.
3293 * paragraph_funcs (readParagraph, readParToken):
3294 * paragraph.C (readParagraph): add \end_layout.
3296 2003-07-27 Angus Leeming <leeming@lyx.org>
3298 * Makefile.am: remove special casing for configure-time setting of
3299 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3301 * lyx_main.C (init): remove all Jean-Marc's magic setting of
3302 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3304 2003-07-26 André Pönitz <poenitz@gmx.net>
3306 * paragraph_func.[Ch]:
3307 * paragraph.C (realizeFont): inline it whereever it is used
3312 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3315 2003-07-26 André Pönitz <poenitz@gmx.net>
3319 * text2.C: get rid of LyXText::need_break_row
3321 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3323 * toc.[Ch]: put namespace toc inside namespace lyx
3325 * MenuBackend.C (expandToc2): adjust for lyx::toc
3328 * lyxfunc.C (dispatch): adjust for lyx::find
3330 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3331 lyx::find instead. Reorganize a bit.
3332 (LyXReplace): rename to replace
3333 (LyXFind): rename to find
3335 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3338 2003-07-26 André Pönitz <poenitz@gmx.net>
3340 * text.C (setHeightOfRow): restrict scope of temporary variable
3342 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
3343 code (never has been used?)
3345 2003-07-27 Asger Alstrup <alstrup@local>
3347 * text.C (fill): Optimise algorithm to exploit that we can reuse
3348 the LyXFont for many characters.
3349 (setHeightOfRow): Same thing.
3350 (rowBreakPoint): Same thing.
3352 2003-07-26 Asger Alstrup <alstrup@local>
3354 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3356 * text.C (singleWidth): Spurious font copying in hot-spot
3357 singleWidth avoided. Reorder tests for arabic for efficiency.
3359 * text.C (fill): handle empty paragraphs better.
3361 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3364 * encoding.h: add includes
3366 * lyxrc.C: remove reading of bind files
3368 * lyx_main.C (init): setup bindings and menus only if we have a
3371 * kbmap.C (read): new method. Do the actual reading of bind
3374 * converter.C (dvipdfm_options):
3377 (output): adapt PAPER_* enums.
3379 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3381 * bufferparams.h: remove paper-related enums from there
3383 * paper.h: New file. A trivial header file to hold paper-related
3384 enums. It should later expand to contain many paper-related
3387 * lyxrc.C: declare extern displayTranslator
3389 2003-07-27 José Matos <jamatos@fep.up.pt>
3391 * tabular.[Ch] (linuxdoc): add support for tables and figures
3394 2003-07-27 José Matos <jamatos@fep.up.pt>
3396 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3397 consistency in both functions.
3398 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3400 2003-07-26 Asger Alstrup <alstrup@local>
3402 * rowpainter.C (paintRows): Change algorithm to work directly on
3403 the insets rather than asking every character in the document
3404 whether its an inset.
3406 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
3408 * buffer.C (openFileWrite): factorize some code
3410 2003-07-26 Angus Leeming <leeming@lyx.org>
3413 * lyx_main.[Ch]: replace occurances of system_tempdir with
3416 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3418 * rename Inset to InsetOld
3420 2003-07-25 Asger Alstrup <alstrup@diku.dk>
3422 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3423 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3424 which I think is a bit clearer. EDIT is gone, since it was
3425 premature optimisation, and broken for mathed anyway.
3426 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3427 with cursor positioning in insets as well (math insets still do not
3428 work, but that's a different story anyway.) It mysteriously
3429 crashes sometimes with undo in the first paragraph, but I'm fairly
3430 confident that this is a compiler bug.
3432 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3434 * paragraph.C (Paragraph): adjust for new clone return type
3436 (copyIntoMinibuffer): ditto
3438 2003-07-25 Asger Alstrup <alstrup@lyx.org>
3440 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3441 by not having a special case, and always doing a full rebreak of
3442 the document after undo.
3444 2003-07-23 Angus Leeming <leeming@lyx.org>
3446 * factory.C (createInset): InsetExternal::setParams now takes a
3449 2003-07-23 Angus Leeming <leeming@lyx.org>
3451 * factory.C (createInset): changed interface to the external and
3452 graphics mailers' string2params functions.
3454 2003-07-23 Angus Leeming <leeming@lyx.org>
3456 * factory.C (createInset): pass a
3457 Buffer const * parameter to InsetExternalMailer's string2params.
3459 2003-07-22 John Levon <levon@movementarian.org>
3461 * Thesaurus.h: include the right aiksaurus header
3463 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3465 * MenuBackend.C (expand): check menu shortcuts unconditionally
3467 2003-07-21 Angus Leeming <leeming@lyx.org>
3469 * factory.C (createInset): pass a
3470 buffer_path parameter to InsetGraphicsMailer's string2params.
3472 2003-07-21 Angus Leeming <leeming@lyx.org>
3474 * BufferView_pimpl.C (buffer):
3477 * lyxfunc.C (dispatch):
3478 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3479 rather than the grfx shortcut.
3481 2003-07-21 André Pönitz <poenitz@gmx.net>
3483 * rowpainter.C: remove unused variables
3486 * tabular_funcs.h: move to tabular.C
3487 * Makefile.am: adjust
3489 * tabular.[Ch]: basic optical cleaning
3491 * author.h: pass references, not values
3493 2003-07-18 André Pönitz <poenitz@gmx.net>
3501 * text3.C: two-phase drawing for InsetText and InsetTabular
3502 some float -> int changes.
3504 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3506 * lyx_main.C: fix the fix
3508 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3510 * lyx_main.C: fix a crash in batch mode if no files specified
3513 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
3515 * format.[Ch] (papersize): moved to BufferParams
3516 * converter.[Ch] (dvips_options): moved to BufferParams
3517 (dvipdfm_options): moved to anon namespace
3518 * bufferparams.[Ch]: added above functions.
3520 2003-07-17 André Pönitz <poenitz@gmx.net>
3524 * text2.C: don't call inset->update() anymore
3526 * metricsinfo.[Ch]: add convenience constructor
3528 2003-07-16 André Pönitz <poenitz@gmx.net>
3533 * text2.C: replace the LyXCursor::irow_ member with
3534 on-demand computation of the value
3536 2003-07-16 John Levon <levon@movementarian.org>
3538 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3540 2003-07-15 André Pönitz <poenitz@gmx.net>
3543 * text2.C: remove no more needed refresh_row
3545 2003-07-15 André Pönitz <poenitz@gmx.net>
3550 * text3.C: refresh_status tristate -> need_update bool
3552 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
3554 * lyxtext.h (init): remove reinit argument (act as if always true)
3555 * text2.C: adjust to that
3557 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3559 * bufferview_funcs.[Ch]: introduce function replaceSelection()
3560 * text3.C: use it to delete selections in some cases
3561 (bugs 441, 673, 702, 954).
3563 2003-07-14 André Pönitz <poenitz@gmx.net>
3565 * rowpainter.[Ch]: reduce interface
3567 2003-07-14 André Pönitz <poenitz@gmx.net>
3569 * BufferView_pimpl.C:
3570 * text2.C: adjust after removing unused BufferView * argument
3572 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
3574 * text2.C (init): fix a crash fired on resize
3576 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
3578 * buffer.[Ch]: added new closing signal
3579 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3580 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3581 BufferView::Pimpl via the closing the signal
3583 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
3585 * buffer.[Ch]: take out all bv-related from buffer
3587 * BufferView_pimpl.[Ch]: connect to new signals
3588 * CutAndPaste.C: removed useless asserts
3589 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3592 * lyxfunc.C: moved view-related funciontality from vc here
3593 * paragraph.C: removed outdated comments
3596 2003-07-10 André Pönitz <poenitz@gmx.net>
3598 * BufferView_pimpl.C:
3602 * text2.C: remove InsetText::InnerCache, clean up consequences
3604 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
3606 * ispell.C: fix two typos in error messages
3608 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
3610 * Extend Note inset to other forms of annotation like Comment
3611 and Greyedout. Right button click gives dialog.
3613 Files modified or added (+):
3617 * ControlNote.[Ch] +
3619 * Makefile.am in frontends/xforms, frontends/xforms/forms,
3620 frontends/controllers
3624 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3626 * aspell.C: add missing namespace lyx::support
3628 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
3630 * BufferView.[Ch] (newFile): Add
3631 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3632 * LaTeX.[Ch] (message): added this signal and use it
3633 * buffer.[Ch] (busy, message): added these signals and use them
3634 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3638 * importer.C: use buffer signals instead of direct bv calling
3639 * lyx_cb.[Ch] (ShowMessage): removed
3642 * paragraph_funcs.C:
3643 * text2.C: use buffer signals
3645 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3647 * introduce namespace lyx::graphics
3649 2003-07-02 André Pönitz <poenitz@gmx.net>
3651 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3653 2003-07-01 André Pönitz <poenitz@gmx.net>
3660 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3661 text*.C to text_func.C
3663 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3665 * introduce namespace lyx::support
3667 2003-06-30 André Pönitz <poenitz@gmx.net>
3672 * text.C: re-enable --with-included-string
3674 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3676 * textcursor.C: add <config.h>
3678 * text.C (getWord): remove const from word_location arg
3680 * lyxvc.C (getLogFile): fix const type order
3682 * lyxtext.h: remove const from word_location arg, add arg name
3684 * lyxlayout.h: currect type on labeltype.
3686 * importer.C: correct \file
3688 * converter.C (intToFormat): use std:: on ret val, ws changes
3690 * bufferlist.h: correct \file
3692 * buffer.C (makeLinuxDocFile): fix const type order
3693 (makeDocBookFile): ditto
3694 (fillWithBibKeys): use std:: on stdlib args.
3696 * CutAndPaste.C: fix authors.
3697 (availableSelections): use std:: on return vector
3699 2003-06-27 André Pönitz <poenitz@gmx.net>
3701 * BufferView_pimpl.C:
3702 * bufferview_funcs.C:
3710 * text3.C: remove LyXCursor::row_ member
3713 * text.C: rename fullRebreak() to partialRebreak() and implement
3714 a fullRebreak() that really bereks fully
3716 * textcursor.h: new struct for cursor-related data
3718 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
3720 * lyx_main.C (LyX): get full path of document loaded on the
3723 2003-06-26 André Pönitz <poenitz@gmx.net>
3725 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3726 remove unused/broken operator>,<,>=.
3728 * text.C: remove only use of broken operator<= in an Assert().
3730 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3732 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3733 moved errorlist_.clear to showErrorList
3735 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3737 * converter.C (scanLog, runLaTeX):
3738 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3739 move the bv->showErrorList call to the callers
3740 * lyxfunc.C: i.e. here...
3742 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3743 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3744 namespace, the second to...
3745 * buffer_funcs (BufferFormat, parseErrors): added
3746 * errorlist.C (ErrorList(TeXErrors const &)): removed
3748 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3750 * ToolbarBackend.C (getIcon): complain when icon cannot be found
3752 2003-06-24 "Garst R. Reese" <reese@isn.net>
3756 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3758 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3760 * version.C.in: change docversion to 1.4
3762 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
3764 * buffer.C: fix a bug just introduced
3766 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3768 * buffer.[Ch]: added the parseError signal and use it, removed
3770 * BufferView.[Ch] (addError): moved to ...
3771 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3772 to the Buffer::parseError signal to catch (guess what) parse errors
3773 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3775 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3777 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3778 ability to create a buffer and to return an existing one from
3779 the list. Moved these functions to...
3780 * buffer_funcs.[Ch]: added
3781 * BufferView.[Ch] (loadLyXFile): added
3782 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3783 job removed from bufferlist::loadLyXFile.
3784 * buffer.C (setReadOnly): make it work without view
3785 (i.e added an if (users))
3787 2003-06-19 Angus Leeming <leeming@lyx.org>
3790 * LyXAction.C (init):
3791 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3792 with LFUN_DIALOG_SHOW <name> <data>.
3794 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3796 * CutAndPaste.C (availableSelections): small compilation fix for
3797 ancient (gcc 2.9x) compilers
3799 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3801 * text3.C (cursorNext): add tmp var
3803 * text2.C (updateCounters): for function calling out of for clause
3804 (replaceSelectionWithString): ditto
3805 (insertStringAsParagraphs): ditto
3806 (getColumnNearX): add tmp var
3807 (setCursorFromCoordinates): add tmp var
3808 (cursorDownParagraph): add tmp var
3809 (deleteEmptyParagraphMechanism): add tmp var
3811 * text.C (insertChar): add tmp var
3813 * rowpainter.C (paintDepthBar): add tmp var
3815 * CutAndPaste.C (availableSelections): potentially check all
3816 paragraphs in a cut to fill the shown strings.
3818 2003-06-18 André Pönitz <poenitz@gmx.net>
3820 * kbmap.[Ch]: use vector<> instead of list<>
3822 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3824 * text3.C (dispatch): handle arg to LFUN_PASTE, call
3825 pasteSelection with index
3827 * text2.C (pasteSelection): modify, call pasteSelection with index
3829 * paragraph.C (asString): reimplement version with no interval to
3830 call the one with interval.
3832 * lyxtext.h: add index arg to pasteSelection
3834 * MenuBackend.C (MenuItem): handle PasteRecent
3835 (Menu::read::Menutags): add md_pasterecent
3837 (expandPasteRecent): new function
3840 * MenuBackend.h: add PasteRecent to MenuItem::Kind
3842 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3844 (availableSelections): new function
3846 2003-06-17 Angus Leeming <leeming@lyx.org>
3848 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3850 2003-06-17 Angus Leeming <leeming@lyx.org>
3853 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3855 * lyxfunc.C (dispatch): invoke it.
3857 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3859 * iterators.C (operator++, ParPosition): reintroduce some
3860 const_cast for the benefit of older compilers.
3862 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3864 * text3.C (dispatch): do not modify clipboard when doing
3865 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3866 LFUN_DELETE_SKIP on a selection selection
3868 2003-06-16 André Pönitz <poenitz@gmx.net>
3874 * tabular.[Ch]: IU of clone() and getLabelList();
3876 2003-06-13 André Pönitz <poenitz@gmx.net>
3878 * tabular.h: compactification
3880 2003-06-12 André Pönitz <poenitz@gmx.net>
3884 * tabular_funcs.h: some renaming plus whitespace
3886 2003-06-12 André Pönitz <poenitz@gmx.net>
3889 * BufferView_pimpl.C:
3895 * toc.C: Return a Paragraph & for ParIterator::operator*()
3897 2003-06-11 John Levon <levon@movementarian.org>
3901 * ToolbarBackend.C: add "Toolbars" section and
3904 2003-06-10 Angus Leeming <leeming@lyx.org>
3907 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3909 * lyxfunc.C (dispatch): invoke it.
3911 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3913 * main.C: protect <ios> with HAVE_IOS
3914 (main): protect sync_with_stdio with HAVE_IOS
3916 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
3918 * text2.C (cutSelection): adjust
3919 (pasteSelection): adjust
3921 * messages.C: handle get of empty string
3923 * main.C (main): use sync_with_stdio(false)
3925 * lyxfunc.C (dispatch): adjust
3927 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3928 (WriteAs): remove unneeded BufferView arg.
3930 * bufferparams.h: use correct types on papersize, papersize2 and
3933 * bufferparams.C (readToken): adjust for type
3934 (writeLaTeX): add missing cases to switch.
3936 * bufferlist.C (quitWriteBuffer): adjust
3939 * buffer.C (asciiParagraph): remove some commented code.
3941 * CutAndPaste.C: remove current_view extern variable.
3942 (cutSelection): add BufferParams arg.
3943 (eraseSelection): add BufferParams arg.
3944 (pasteSelection): add Buffer const & arg
3946 2003-06-07 John Levon <levon@movementarian.org>
3949 * paragraph_funcs.C:
3950 * paragraph_pimpl.C:
3954 * paragraph.C: allow InsetERT to freely space lines,
3955 and some consolidation of code
3957 2003-06-06 José Matos <jamatos@fep.up.pt>
3959 * buffer.C (makeDocBookFile): fix bug #821
3961 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3963 * BufferView_pimpl.C (dispatch): use Dialogs::visible
3965 2003-06-04 Angus Leeming <leeming@lyx.org>
3967 * buffer.C: bump format to 224.
3969 2003-06-05 André Pönitz <poenitz@gmx.net>
3971 * text2.C (redoParagraphs): remove two const_cast<>
3973 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3975 * ParagraphList.h: remove last remnants of NO_STD_LIST
3977 2003-06-03 Angus Leeming <leeming@lyx.org>
3979 * factory.C (createInset): small change to the way InsetExternal's params
3982 2003-06-04 André Pönitz <poenitz@gmx.net>
3984 * buffer.h: use Undo directly instead of shared_ptr<Undo>
3986 * paragraph_pimpl.h:
3987 * paragraph.[Ch]: some Inset -> UpdatableInset changes
3989 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3991 * undo_funcs.C: make some simple cases of undo work again
3993 2003-06-03 John Levon <levon@movementarian.org>
3995 * ispell.C: HPUX doesn't have sys/select.h
3998 2003-06-03 John Levon <levon@movementarian.org>
4000 * CutAndPaste.C: update tabular and include inset
4005 * paragraph.C: remove owningBuffer(), don't pass Buffer
4008 * factory.C: insetGraphicsParams changed
4010 2003-06-02 John Levon <levon@movementarian.org>
4016 * text3.C: remove insetparent
4018 2003-06-02 John Levon <levon@movementarian.org>
4021 * buffer.C: fix inset_iterator.end(), move out of line
4024 2003-06-01 John Levon <levon@movementarian.org>
4026 * text3.C: use a proper cut/paste when doing inset
4027 insert (from Jürgen Spitzmüller)
4029 2003-06-01 John Levon <levon@movementarian.org>
4031 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4033 2003-05-30 André Pönitz <poenitz@gmx.net>
4035 * rowpainter.C: unify second drawing phase
4037 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4039 * trans_mgr.C: remove one case of current_view
4041 * text2.C (cursorBottom): delete NO_STD_LIST stuff
4043 * paragraph_funcs.h: remove paragraph.h include
4045 * paragraph.h: delete NO_STD_LIST stuff
4047 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4049 * buffer.h: remove paragraph.h include
4051 * ParagraphList.C: delete file
4053 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4055 * toc.C (getTocList): adjust
4057 * paragraph_pimpl.C (validate): adjust
4059 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4061 * paragraph.C (Paragraph): adjust
4062 (getPositionOfInset): use const_iterator, adjust
4063 (bibitem): use const_iterator, adjust
4064 (setInsetOwner): adjust
4066 * iterators.C (operator++): adjust
4068 * InsetList.[Ch]: Replace selfmade iterator with standard
4069 vector::iterator also introduce const_iterator. Remove getPos,
4070 getInset and setInset from InsetTable. Adjust accordingly.
4072 * BufferView.C (lockInset): adjust
4073 (ChangeInsets): adjust
4075 * tabular.[Ch]: delete commented same_id functions
4077 2003-05-28 John Levon <levon@movementarian.org>
4079 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4081 2003-05-28 André Pönitz <poenitz@gmx.net>
4083 * metricsinfo.[Ch]: remove 'fullredraw' member
4085 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
4087 * lyxtextclass.C (operator): remove caching.
4089 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4093 * text2.C (cursorBottom): adjust
4094 (setCounter): use ParagraphList::find, adjust
4096 * text.C (workWidth): use ParagraphList::find, adjust
4098 * lyxcursor.C (LyXCursor): adjust
4100 * buffer.C (inset_iterator): adjust
4102 * ParagraphList.h: make iterator(value_type) private, make
4103 ParagraphList a friend of iterator.
4105 * ParagraphList.C (find): new function
4107 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4109 2003-05-27 André Pönitz <poenitz@gmx.net>
4111 * dimension.[Ch]: a -> asc, d -> des, w -> wid
4113 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4115 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4117 2003-05-26 John Levon <levon@movementarian.org>
4119 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4121 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4123 * remove same_id from function signatures, adjust.
4125 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4127 * undo_funcs.C (createUndo): use the id functions directly, adjust.
4129 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4131 * paragraph.C (Paragraph): get rid of same_ids parameter
4133 * ParagraphList.C (insert): adjust
4136 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4138 * paragraph_funcs.C (breakParagraph): adjust
4139 (breakParagraphConservative): adjust
4141 * buffer.C (readParagraph): adjust
4143 * ParagraphList.C (insert): take a reference instead of a pointer
4146 * paragraph.[Ch] (id): new function
4148 * bufferlist.C (newFile): adjust
4150 * ParagraphList.C (ParagraphList): adjust
4152 (push_back): take a reference instead of a pointer.
4154 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4156 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4159 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4160 set else use old code.
4162 * ParagraphList.C: remove all NO_NEXT code and only compile this
4163 code of NO_STD_LIST is set.
4165 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4167 * BufferView_pimpl.C:
4177 * graphics/GraphicsConverter.C:
4178 * graphics/PreviewLoader.C: header adjustment
4180 2003-05-23 Angus Leeming <leeming@lyx.org>
4182 * LaTeXFeatures.[Ch] (useBabel): new method.
4183 * bufferparams.C (writeLaTeX): use it.
4185 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4187 * ParagraphList.h (set): remove unused function.
4189 2003-05-23 André Pönitz <poenitz@gmx.net>
4192 * BufferView_pimpl.C:
4196 * undo_funcs.C: setUndo reworked
4198 * iterators.[Ch]: add access to topmost ParagraphList
4200 * lyxtext.[Ch] (workWidth): add a const
4202 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4204 * texrow.[Ch] (increasePos): remove function
4205 * exporter.C (export): removed unused var and outdated comment
4207 2003-05-23 Angus Leeming <leeming@lyx.org>
4209 * latexrunparams.h: rename fragile as moving_arg.
4210 * paragraph.C (simpleTeXOnePar): ditto.
4211 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4213 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4215 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4217 (textUndoOrRedo): comment out a currently unused var.
4219 * paragraph.h (NO_NEXT): enable NO_NEXT
4221 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4223 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4225 * exporter.C (Export): adjust for removeAutoInsets removal.
4227 * buffer.C (runChktex): adjust for removeAutoInsets removal.
4229 * LyXAction.C (init): remove LFUN_REMOVEERRORS
4231 * BufferView.[Ch] (removeAutoInsets): delete function
4233 2003-05-22 Angus Leeming <leeming@lyx.org>
4235 * latexrunparams.h: add a free_spacing variable.
4237 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4238 to pass moving_arg, as the data is stored in runparams.fragile.
4240 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4241 to Inset::latexOptional or to simpleTeXOnePar.
4243 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4244 free_spacing arg to Inset::latexOptional.
4246 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4249 2003-05-22 Angus Leeming <leeming@lyx.org>
4251 * latexrunparams.h: add fragile and use_babel variables.
4253 * bufferparams.[Ch] (writeLaTeX): return use_babel.
4254 * buffer.C (makeLaTeXFile): store this returned value in
4255 runparams.use_babel, thus passing it to the inset::latex methods.
4257 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4258 simpleTeXSpecialChars as it is now stored in runparams.fragile.
4260 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4261 longer has a fragile arg, as it is stored in runparams.fragile.
4263 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4264 moving_arg parameter as the data is stored in runparams.fragile.
4266 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4267 a fragile parameter as the data is stored in runparams.fragile.
4269 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4271 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4273 2003-05-22 Angus Leeming <leeming@lyx.org>
4275 * latexrunparams.h: add a 'bool nice' which defaults to false.
4277 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4278 now encapsulated within runparams.
4280 * bufferlist.C (updateIncludedTeXfiles):
4281 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4283 2003-05-22 Angus Leeming <leeming@lyx.org>
4285 * latexrunparams.h: new file containing struct LatexRunParams.
4286 * Makefile.am: add new file.
4288 * LaTeX.[Ch] (c-tor, run):
4289 * buffer.[Ch] (makeLaTeXFile):
4290 * bufferlist.[Ch] (updateIncludedTeXfiles):
4291 * converter.C (convert, scanLog):
4292 * converter.[Ch] (runLaTeX):
4293 * exporter.C (Export):
4294 * paragraph.[Ch] (simpleTeXOnePar):
4295 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4296 * paragraph_funcs.[Ch] (latexParagraphs):
4297 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4298 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4299 pass around a LatexRunParams parameter.
4301 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4303 * paragraph.[Ch]: remove unused constructor
4305 * ParagraphList.C (erase): new function, taking two iterators
4307 2003-05-22 André Pönitz <poenitz@gmx.net>
4309 * undo_funcs.C: remove duplicated code
4311 * iterator.[Ch]: operator=
4313 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4315 * tabular.C (SetMultiColumn): ws changes
4317 * rowpainter.C (paintFirst): get rid of a ->previous
4319 * lyx_cb.C (getPossibleLabel): parlist simplification
4321 * BufferView.C (ChangeInsets): simplify slightly.
4323 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4325 * LyXAction.C: new lfun space-insert, kill protected-space-insert
4326 * lfuns.h: new LFUN_SPACE
4327 * lyxfunc.C: protected space has a new lfun
4328 * paragraph_funcs.C: read new space insets
4330 * factory.C: handle new space insets
4332 2003-05-22 André Pönitz <poenitz@gmx.net>
4335 * BufferView_pimpl.C:
4338 * undo_funcs.C: return a ParIterator from getParFromID.
4340 * iterators.[Ch]: add two const's
4342 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4344 * toc.C (getTocList): adjust
4346 * iterators.[Ch]: rework for parlist
4348 * buffer.C (par_iterator_begin): adjust
4349 (par_iterator_end): adjust
4351 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4353 * BufferView.C (removeAutoInsets): adjust
4354 (ChangeInsets): adjust
4356 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
4358 * text.C (top_y): fix bug 1110
4360 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
4362 * errorlist.[Ch]: added
4365 * BufferView_pimpl.C:
4366 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4369 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4371 * Makefile.am: ensure that lyx is relinked upon changes to the
4372 various "convenience" libs.
4374 2003-05-20 Angus Leeming <leeming@lyx.org>
4376 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4377 files are compiled in alphabetical order again.
4379 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4381 2003-05-19 Angus Leeming <leeming@lyx.org>
4383 * gettext.[Ch]: remove "char const * _(char const *)".
4385 2003-05-19 André Pönitz <poenitz@gmx.net>
4387 * dimension.[Ch]: promote from mathed/dimension.[Ch]
4396 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4398 2003-05-19 André Pönitz <poenitz@gmx.net>
4402 * lyxtextclass.[Ch]:
4404 * paragraph_funcs.[Ch]:
4406 * text3.C: more insetenv work
4408 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
4410 * ParagraphParameters.C (params2string): small bug fixed
4412 2003-05-16 André Pönitz <poenitz@gmx.net>
4415 * bufferview_funcs.C: patch from Kornel Benko to prevent
4416 crash when _(...) is called twice in a statement
4418 2003-05-16 André Pönitz <poenitz@gmx.net>
4425 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4427 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
4429 * lyx_main.C (init): remove spurious static_cast
4431 2003-05-14 André Pönitz <poenitz@gmx.net>
4433 * BufferView.C: fix format string
4435 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
4437 * BufferView.[Ch] (insertErrors): removed
4438 * BufferView.[Ch] (showErrorList): added
4439 * buffer.C (runChkTeX):
4440 * converter.C (scanLog): call showErrorList instead of inserterrors
4442 2003-05-13 André Pönitz <poenitz@gmx.net>
4444 * BufferView_pimpl.C:
4446 * bufferview_func.C:
4453 * tabular_funcs.h: tostr() from its own header
4455 * ParagraphParameters.C:
4460 * text3.C: STRCONV()
4462 2003-05-12 André Pönitz <poenitz@gmx.net>
4465 * BufferView_pimpl.C:
4469 * ParagraphParameters.C:
4473 * bufferview_funcs.C:
4486 * paragraph_funcs.C:
4490 * text3.C: boost::format -> bformat all over the place
4493 2003-05-09 André Pönitz <poenitz@gmx.net>
4495 * LColor.[Ch]: Pimpl the #include <map> away
4497 2003-05-09 John Levon <levon@movementarian.org>
4499 * bufferlist.C: never remove emergency saves
4501 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4503 * Makefile.am: better lib building
4505 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4507 * texrow.[Ch]: remove dependency on Paragraph and just store a id
4509 * paragraph_pimpl.C (simpleTeXBlanks): adjust
4510 (simpleTeXSpecialChars): adjust
4511 (simpleTeXSpecialChars): adjust
4512 * paragraph.C (simpleTeXOnePar): adjust
4513 * buffer.C (makeLaTeXFile): adjust
4515 * Makefile.am (BOOST_LIBS): allow boost as system lib.
4517 * text2.C (changeDepth): parlist cleanup
4518 (getColumnNearX): ditto
4520 * rowpainter.C (getLabelFont): parlist cleanup
4522 * bufferlist.C (newFile): parlist cleanup
4524 * CutAndPaste.C (eraseSelection): parlist cleanup
4526 * BufferView_pimpl.C (trackChanges): parlist cleanup
4529 * BufferView.C (lockInset): parlist cleanup.
4530 (ChangeInsets): ditto
4532 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4534 * CutAndPaste.h: Update file header.
4536 * CutAndPaste.C: Update file header.
4537 Store the parts cut out of the Document in a limited_stack.
4538 (copySelection): adjust
4539 (pasteSelection): new function, takes the index in the limited stack.
4540 (nrOfParagraphs): adjust
4541 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4542 simplify error inset insertion.
4543 (checkPastePossible): adjust
4545 2003-05-06 John Levon <levon@movementarian.org>
4547 * text2.C: don't cast wrap inset to float
4549 2003-05-05 André Pönitz <poenitz@gmx.net>
4552 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4554 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4555 few naked Paragraph *.
4557 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
4559 * bufferparams.C: Output warning if a document with missing
4560 TeX document class is loaded
4561 * exporter.C: Disable TeX exports if the document class is missing
4564 * lyxtextclasslist.C: Handle new textclass.lst format; new method
4565 isTeXClassAvailable()
4567 2003-05-03 John Levon <levon@movementarian.org>
4570 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4571 explicit cursor show/hide
4573 * BufferView_pimpl.h:
4574 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4575 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4577 * lyxfunc.C: hide cursor before dispatching.
4582 * text3.C: remove explicit cursor hides
4584 2003-05-02 André Pönitz <poenitz@gmx.net>
4586 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4589 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4592 * text2.C: tiny whitespace
4594 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4596 * undo_funcs.C: almost only ws changes.
4598 * ParagraphList.C (splice): just return if pl is empty.
4600 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4602 * ParagraphList.C (splice): new function.
4604 * CutAndPaste.C (pasteSelection): use it
4606 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4608 * CutAndPaste.C (pasteSelection): remove the last next and
4609 previous from this file.
4611 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4613 * CutAndPaste.C (pasteSelection): more clean up, user proper
4614 ParagraphList functions for pasteing.
4616 * ParagraphList.C (insert): new function, three arg insert
4618 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4620 * ParagraphList.C (insert): new function, three arg insert
4622 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4625 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4627 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4629 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4631 * CutAndPaste.C (pasteSelection): remove some unneeded code.
4633 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4635 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4636 (copySelection): clean up a bit.
4637 (pasteSelection): use make_pair
4639 * ParagraphList.C (ParagraphList): implement copy constructor
4640 (operator=): implement, base on copy constructor.
4643 * paragraph.C (erase): return a bool
4645 * paragraph_pimpl.C (erasePos): remove function, move contents...
4646 (erase): ... here. Return a bool.
4647 (erase): call erase instead of erasePos.
4649 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
4651 * ParagraphList.h: define PitPosPair
4652 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4653 ParagraphList, fix a bug on pasting multiple pars
4654 * text2.C: change interface to C&P
4656 2003-04-30 André Pönitz <poenitz@gmx.net>
4658 * undo_func.C: revert part of yesterday's patch 2
4660 2003-04-30 John Levon <levon@movementarian.org>
4662 * LColor.C: s/tabular/table/
4664 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4666 * text3.C (dispatch): do not convert iterator -> pointer
4667 * undo_funcs.C (setCursorParUndo): ditto
4668 * text_funcs.C (transposeChars): ditto
4670 * text2.C (setLayout): ws changes only
4672 * text.C (breakParagraph): do not convert iterator -> pointer
4674 (acceptChange): ditto
4675 (rejectChange): ditto
4680 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4683 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4685 * text3.C (gotoInset): YABG (yet another bad getChar)
4687 2003-04-29 André Pönitz <poenitz@gmx.net>
4689 * paragraph.h: make operator= private unimplemented as long as
4692 * ParagraphList.C: whitespace
4695 * paragraph_pimpl.[Ch]:
4696 * paragraph_funcs.C:
4698 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
4701 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4703 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4705 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4706 * paragraph.[Ch] (erase):
4707 * paragraph_pimpl.[Ch] (erase): change return type and value
4708 * text2.C (cutSelection): some rework
4710 2003-04-28 John Levon <levon@movementarian.org>
4712 * bufferlist.C: changes for unsaved changes dialog
4714 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4716 * bufferlist.C (newFile): set language (messages_) for new
4719 * buffer.C (readFile): ws changes only.
4721 2003-04-28 André Pönitz <poenitz@gmx.net>
4726 * BufferView_pimpl.C:
4727 * BufferView.C: getParFromID related ParagraphList::iterator changes
4729 2003-04-28 André Pönitz <poenitz@gmx.net>
4731 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4734 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4736 * messages.C: remove one more localedir class variable.
4738 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4740 * messages.C (getLocaleDir): singleton generation function
4742 (Messages): add a default constructor.
4744 * main.C (main): do not setup localedir here, do not call
4747 * gettext.C (_): use it.
4748 (gettext_init): delete funciton
4750 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4752 * gettext.C (getLyXMessages): new singleton generating function.
4754 * buffer.C (updateDocLang): adjust
4756 * Makefile.am (messages.o): add target
4757 (main.o): remove target
4759 2003-04-27 John Levon <levon@movementarian.org>
4764 * lyxvc.C: specify cancel button in Alert::prompt
4766 2003-04-26 John Levon <levon@movementarian.org>
4771 * LyXAction.C: add LFUN_INSET_SETTINGS
4773 * lyxfunc.C: don't enable tabular-feature when there's
4774 just any locking inset
4776 2003-04-26 John Levon <levon@movementarian.org>
4778 * bufferlist.C: re-add Cancel to buffer close question
4780 * lyxfunc.C: fix import UI a bit
4782 2003-04-25 John Levon <levon@movementarian.org>
4784 * gettext.C: remove the broken asserts for now
4786 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4788 * messages.C: make case where setlocale cannot comply work better.
4790 * buffer.C (updateDocLang): new function
4791 (changeLanguage): use it
4794 * text2.C (setCounter): use B_ a bit.
4796 * lyxlayout.C (Read): be sure to trim the label strings.
4798 * messages.C (Messages): fix typo in comment
4800 * buffer.C (readFile): set message_ after file is loaded.
4801 (makeDocBookFile): remove double return
4802 (changeLanguage): reset message_ upon language change.
4803 (B_): new func, use this to get translated buffer strings.
4805 * main.C: add myself and Jean Marc as authors.
4807 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4809 * messages.[hC]: pimplify Messages, and three different pimpls to be
4810 used in different circumstances.
4812 * gettext.[Ch]: change for use with new message code.
4814 2003-04-24 André Pönitz <poenitz@gmx.net>
4816 * factory.C: support for eqref
4818 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4820 * messages.[Ch]: add missing char
4822 * Makefile.am (lyx_SOURCES): add messages.[Ch]
4824 * messages.[Ch]: New files
4826 2003-04-18 John Levon <levon@movementarian.org>
4830 * BufferView_pimpl.C:
4834 * text2.C: remove layout-copy/paste (bug 778)
4836 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4838 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4840 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4842 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4843 if they succeed. Act accordingly.
4845 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4847 * text2.C (setCharFont): adjust
4848 (setCounter): adjust
4849 (insertStringAsLines): adjust
4851 * text.C (leftMargin): adjust
4852 (setHeightOfRow): adjust
4854 * rowpainter.C (paintFirst): adjust
4857 * paragraph_funcs.C (depthHook): ParagraphList::iterators
4859 (isFirstInSequence): ditto
4860 (getEndLabel): ditto
4863 * paragraph.C (getParLanguage): comment out some hard stuff.
4865 * buffer.C (insertStringAsLines): take a ParagraphList as arg
4867 (simpleDocBookOnePar): ditto
4868 (makeDocBookFile): use ParagraphList::iterator
4870 * CutAndPaste.C (pasteSelection): adjust
4872 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4874 * text2.C (getFont): adjust
4875 (getLayoutFont): adjust
4876 (getLabelFont): adjust
4878 * paragraph_funcs.C (TeXOnePar): adjust
4880 * buffer.C (simpleLinuxDocOnePar): adjust
4881 (simpleDocBookOnePar): adjust
4883 * CutAndPaste.C (pasteSelection): adjust
4885 * BufferView.C (getEncoding): adjust
4887 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4889 2003-04-16 John Levon <levon@movementarian.org>
4891 * lyxfind.C: use parlist stuff for search/changes
4893 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4895 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4897 * text2.C (deleteEmptyParagraphMechanism): adjust
4899 * text2.[Ch] (ownerParagraph): delete func (both of them
4901 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4903 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4905 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4907 * ParagraphList.C: prepare for NO_NEXT
4909 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4911 * text2.C (getFont): adjust
4912 (getLayoutFont): adjust
4913 (getLabelFont): adjust
4915 * paragraph.C (getFont): adjust
4916 (getLabelFont): adjust
4917 (getLayoutFont): adjust
4919 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4921 2003-04-15 John Levon <levon@movementarian.org>
4925 * lyx_main.C: handle Include in .ui files
4927 2003-04-15 John Levon <levon@movementarian.org>
4929 * MenuBackend.C: make the doc files length shorter
4932 * ToolbarBackend.C: handle toolbar placement flags,
4935 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4937 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4940 * paragraph_funcs.C (TeXOnePar): adjust
4942 * paragraph.C (getLabelFont): add outerfont arg, adjust
4943 (getLayoutFont): ditto
4944 (simpleTeXOnePar): adjust
4946 * paragraph_pimpl.C (realizeFont): delete func
4948 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
4950 * text2.C (beforeFullRowInset): added a bad getchar check, removed
4951 row argument, constify cur argument.
4953 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4955 * text2.C (getFont): adjust
4956 (getLayoutFont): adjust
4957 (getLabelFont): adjust
4959 * paragraph_funcs.C (TeXOnePar): adjust
4960 (outerFont): new func...
4961 (realizeFont): ...moved out from here, changed this to facilitate
4964 * paragraph.C (getFont): take outerfont as arg, adjust
4965 (simpleTeXOnePar): add outerfont arg, adjust
4967 * buffer.C (simpleLinuxDocOnePar): adjust
4968 (simpleDocBookOnePar): adjust
4970 * CutAndPaste.C (pasteSelection): adjust
4972 * BufferView.C (getEncoding): adjust
4974 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4976 * text2.C (setCharFont): adjust
4977 (setCounter): adjust
4979 * text.C (leftMargin): adjust
4980 (setHeightOfRow): adjust
4982 * rowpainter.C (paintFirst): adjust
4985 * paragraph_pimpl.C (realizeFont): adjust
4987 * paragraph.C (isFirstInSequence): move from here...
4988 * paragraph_funcs.C (isFirstInSequence): ...to here
4990 * paragraph.C (outerHook): move from here...
4991 * paragraph_funcs.C (outerHook): ...to here
4993 * paragraph.C (depthHook): move from here...
4994 * paragraph_funcs.C (depthHook): ...to here
4996 * paragraph.C (getEndLabel): move from here...
4997 * paragraph_funcs.C (getEndLabel): ...to here
4999 * text2.C (realizeFont): move from here...
5000 * paragraph_funcs.C (realizeFont): ...to here
5002 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5004 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5006 2003-04-14 Angus Leeming <leeming@lyx.org>
5008 * LColor.[Ch]: scrap LColor mathcursor.
5010 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5012 * lyxlex.[Ch] (text): delete function
5013 * trans.C (Load): adjust
5014 * paragraph_funcs.C (readParToken): adjust
5016 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5018 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5019 vector<char> instead of a char[].
5021 * lyxlex_pimpl.C (getString): adjust
5023 (lex): use getString
5027 * lyxlex.C (text): use pimpl_->getString()
5031 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5033 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5034 (makeFontEntriesLayoutSpecific): temp var for par.size()
5035 (setLayout): temp var for ownerParagraphs().end()
5036 (fullRebreak): temp var for rows().end()
5037 (selectionAsString): temp var for boost::next(startpit), realize
5038 that the while really is a regular for loop.
5039 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5040 setCursor in one place.
5041 (setParagraph): temp vr for ownerParagraphs().end()
5042 (updateCounters): make the while loop a for loop
5043 (cutSelection): temp var for ownerParagraphs().end()
5044 (updateInset): make the do {} while() a regular for loop
5045 (getCursorX): use temp vars
5046 (setCurrentFont): use temp vars
5047 (getColumnNearX): use temp vars
5049 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5051 * text.C (transformChar): use temp var for getChar
5052 (computeBidiTables): use temp var for row->par()
5053 (fill): move temp vars for row->par() and pit->layout() earlier in
5055 (labelFill): use temp var for row->par()
5056 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5057 asc and desc, realize that pit never changes and that firstpit is
5058 just a duplicate and not needed. Exchange rit->par() with pit in a
5060 (breakAgain): use a temp var for boost::next(rit)
5061 (breakAgainOneRow): ditto
5062 (breakParagraph): use a temp var for rows().begin()
5063 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5064 (cursorRightOneWord): use temp var for cursor.par() and
5065 cursor.pos(), remove usage of tmpcursor.
5066 (cursorLeftOneWord): use temp var for cursor.par() and
5067 cursor.pos() only set cur at end of function.
5069 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5071 * text.C, text2.C: exchange all usage of Paragraph::next with
5072 boost::next(ParagraphList::iterator)
5074 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5076 * text2.C (cursorTop): simplify implementation
5077 (cursorBottom): ditto
5078 (setParagraph): use ParagraphList::iterator
5079 (setCurrentFont): adjust
5080 (getColumnNearX): adjust
5081 (cursorRight): adjust
5082 (cursorLeft): remove usage of Paragraph::previous
5083 (cursorUpParagraph): ditto
5084 (deleteEmptyParagraphMechanism): slight cleanup
5086 * text.C (isBoundary): take a Paragraph const & instead of a
5088 (addressBreakPoint): ditto
5089 (leftMargin): remove usage of Paragraph::previous.
5090 (setHeightOfRow): ditto
5091 (cursorLeftOneWord): ditto
5092 (selectNextWordToSpellcheck): ditto
5095 (breakParagraph): remove one usage of Paragraph::next
5096 (redoParagraph): ditto
5097 (acceptChange): ditto
5098 (insertChar): adjust
5099 (rowBreakPoint): adjust
5101 * bufferview_funcs.C (toggleAndShow): adjust
5103 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
5105 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5106 methods to access it.
5108 * text.C: Added updateRowPositions to compute all row positions.
5109 Make top_y and getRowNearY() to use the cached y position
5111 2003-04-11 John Levon <levon@movementarian.org>
5113 * text.C (rowBreakPoint): reintroduce the labelEnd
5114 checks, code copied from the row fill stuff. Deep voodoo.
5116 * text.C (fill): add a comment and debugging for the
5119 2003-04-11 John Levon <levon@movementarian.org>
5121 * text.C: make sure fullrow insets get wrapped to the next line,
5122 even when they're in a manual label
5124 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5126 * text2.C (insertParagraph): make it take ParagraphList::iterator
5128 (setLayout): make it return ParagraphList::iterator
5129 (redoParagraphs): ditto
5131 (checkParagraph): ditto
5133 * text.C (getRow): make getrow take ParagraphList::iterator as arg
5135 * text2.C: adjust several funcs.
5136 (realizeFont): take a ParagraphList::iterator as arg.
5137 (getLayoutFont): ditto
5138 (getLabelFont): ditto
5139 (setCharFont): ditto
5141 * text.C: adjust several funcs.
5143 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5145 * text.C (selectNextWordToSpellcheck): don't accidentally
5148 2003-04-10 John Levon <levon@movementarian.org>
5150 * ToolbarBackend.C (getIcon): special handling for
5153 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5155 * text2.C (cursorRight): a getChar assert fixed
5157 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5159 * text2.C (getFont): change to take a ParagraphList::iterator
5160 instead of Paragraph*
5161 Adjust several functions.
5163 * text.C (transformChar): change to take a ParagraphList::iterator
5164 instead of Paragraph*
5165 (singleWidth): ditto
5166 Adjust several functions.
5168 * rowpainter.C: adjust several functions
5169 * rowpainter.h:store a ParagraphList::iterator and not a
5173 2003-04-09 John Levon <levon@movementarian.org>
5178 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5179 and the "help" bits as well
5181 2003-04-09 John Levon <levon@movementarian.org>
5184 * ToolbarBackend.C: allow multiple toolbars
5186 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5188 * undo_funcs.C (setCursorParUndo): adjust
5190 * text_funcs.C (transposeChars): adjust
5192 * text3.C (gotoNextInset): adjust
5195 * text2.C (setLayout): adjust
5196 (changeDepth): adjust
5198 (redoParagraphs): adjust
5199 (selectionAsString): adjust
5200 (setParagraph): adjust
5201 (insertInset): adjust
5202 (cutSelection): adjust
5203 (copySelection): adjust
5204 (pasteSelection): adjust
5205 (insertStringAsLines): adjust
5206 (updateInset): adjust
5207 (setCursor): change to take a ParagraphList::iterator parameter
5208 (setCursorIntern): change to take a ParagraphList::iterator parameter
5209 (setCurrentFont): adjust
5210 (cursorLeft): adjust
5211 (cursorRight): adjust
5212 (deleteEmptyParagraphMechanism): adjust
5214 * text.C (breakParagraph): adjust
5215 (insertChar): adjust
5216 (acceptChange): adjust
5217 (rejectChange): adjust
5218 (selectNextWordToSpellcheck): adjust
5219 (changeCase): adjust
5223 * lyxfind.C (SearchForward): adjust
5224 (SearchBackward): adjust
5225 (nextChange): adjust
5227 * lyxcursor.C (par): adjust
5229 * lyxcursor.h: store a ParagraphList::iterator instead of a
5232 * lyx_cb.C (getPossibleLabel): adjust
5234 * bufferview_funcs.C (toggleAndShow): adjust
5236 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5239 * BufferView.C (removeAutoInsets): adjust
5240 (lockedInsetStoreUndo): adjust
5242 2003-04-09 John Levon <levon@movementarian.org>
5244 * ToolbarBackend.C: try icon without argument
5245 if with argument fails
5247 2003-04-08 John Levon <levon@movementarian.org>
5250 * ToolbarBackend.C: add getIcon(), handle tooltip,
5251 and change from "Icon" to "Item".
5253 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5255 * BufferView.C (lockInset): another bad getchar crunched
5257 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5259 * text2.C (changeDepth): do not setUndo on test_only (make undo work
5262 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
5264 * lyxfind.C (searchForward, searchBackwards): bug 782
5266 2003-04-07 John Levon <levon@movementarian.org>
5268 * paragraph.C: remove dead comment
5270 * text.C: remove troublesome depth-fiddling code
5271 in leftMargin() and rightMargin() (bug 1017)
5273 * text.C: fix breaking of rows in nested lists
5276 * text2.C (updateCounters): fix up depth values
5279 2003-04-07 John Levon <levon@movementarian.org>
5281 * BufferView_pimpl.C: clear message when doc finishes resizing,
5282 and after a mouse event
5284 * lyxfunc.C: clear message after exiting inset
5286 2003-04-07 John Levon <levon@movementarian.org>
5288 * bufferview_funcs.C: show math status not outside
5289 status in the statusbar
5291 2003-04-07 John Levon <levon@movementarian.org>
5293 * lyxfunc.C: note status changed after a depth change
5295 2003-04-04 Angus Leeming <leeming@lyx.org>
5297 * LaTeX.h: move AuxInfo operator==, != out of line.
5298 Remove LaTeX virtual destructor; nothing derives from it.
5299 Move operator()() out of public area and rename it startscript().
5300 Change protected for private.
5302 2003-04-04 Angus Leeming <leeming@lyx.org>
5305 * text2.C: remove unneeded #includes.
5307 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5309 * text2.C (dEPM): fix the heigth of the next row
5311 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5313 * text.C: squashed an invalid getChar requester + some ws changes
5315 2003-04-03 John Levon <levon@movementarian.org>
5317 * bufferview_funcs.h:
5318 * bufferview_funcs.C:
5321 * text2.C: make getStatus work for the env depth lfuns
5323 2003-04-03 John Levon <levon@movementarian.org>
5325 * bufferview_funcs.h:
5326 * bufferview_funcs.C:
5329 * text2.C: parlistize decDepth(), by merging it with incDepth()
5331 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5333 * lyxrow.h: store a ParagraphList::iterator instead of a
5334 Paragraph* and adjust other class functions to suit.
5336 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5339 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5341 * text2.C (setCursor): do not anchor to cursor row for the time being
5343 2003-04-02 John Levon <levon@movementarian.org>
5350 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5352 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5354 * paragraph.h: make ParagraphList and ParagraphList::iterator
5355 friends of Paragraph.
5357 * buffer.C (makeLinuxDocFile): move towards ParagraphList
5359 * ParagraphList.C: Use the private next_ and previous_ from
5362 2003-04-01 John Levon <levon@movementarian.org>
5366 * Makefile.am: rename, remove defaults gunk
5369 * MenuBackend.C: remove defaults gunk
5372 * Languages.C: remove defaults gunk
5375 * lyx_main.C: error out if files couldn't be found.
5377 2003-04-02 John Levon <levon@movementarian.org>
5379 * text2.C: make incDepth() use parlist
5381 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5383 * undo_funcs.C (firstUndoParagraph): adjust
5385 * text3.C (gotoInset): adjust
5386 (dispatch): adjust, and rewrite loop.
5388 * text2.C (init): adjust, and rewrite loop.
5389 (redoParagraphs): adjust
5390 (updateInset): adjust, and rewrite loop.
5391 (deleteEmptyParagraphMechanism): adjust
5393 * tabular.C (LyXTabular): adjust
5394 (SetMultiColumn): adjust
5397 * lyxtext.[Ch] (ownerParagraph): delete function
5398 (ownerParagraphs): new function returns a ParagraphList.
5400 * BufferView.C (removeAutoInsets): adjust
5401 (insertErrors): adjust
5402 (setCursorFromRow): adjust
5404 2003-04-01 Angus Leeming <leeming@lyx.org>
5406 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5409 2003-04-02 John Levon <levon@movementarian.org>
5415 * text_funcs.C: make transposeChars a free function
5417 * lyxrow_funcs.C: remove wrong comment
5419 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5422 * rowpainter.C: adjust
5427 * lyxrow_funcs. [Ch]: new files
5429 * lyxrow.[Ch]: remove next and previous pointers
5430 (next,previous): remove accessor functions
5431 (isParEnd): move to lyxrow_funcs
5432 (lastPos): move to lyxrow_funcs
5433 (nextRowIsAllInset): move to lyxrow_funcs
5434 (lastPrintablePos): move to lyxrow_funcs
5435 (numberOfSeparators): move to lyxrow_funcs
5436 (numberOfHfills): move to lyxrow_funcs
5437 (numberOfLabelHfills): move to lyxrow_funcs
5438 (hfillExpansion): move to lyxrow_funcs
5442 * bufferview_funcs.C (toggleAndShow): adjust
5444 * RowList.h: Remove class RowList from file leave just a
5447 * RowList.C: delete file
5449 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5452 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5454 * text3.C (cursorPrevious): adjust
5455 (cursorNext): adjust
5458 * text2.C (redoHeightOfParagraph): adjust
5459 (redoDrawingOfParagraph): adjust
5462 * text.C (breakParagraph): adjust
5463 (insertChar): adjust
5466 * rowpainter.C (RowPainter): adjust
5467 (leftMargin): simplify and adjust
5468 (most rowpainter functions): adjust.
5470 * rowpainter.h: store the row as RowList::iterator not as Row*
5472 * lyxcursor.C (row): taka RowList::iterator as arg
5475 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5478 2003-04-01 Angus Leeming <leeming@lyx.org>
5480 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5481 stuff like bool Bool.
5483 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5485 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5488 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5490 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5493 * lyxtext.h (rows): drop one version and leve a const variant that
5494 returns a RowList::iterator.
5496 2003-03-31 Angus Leeming <leeming@lyx.org>
5498 * text.C (fill): ensure that the signature is the same as that in the
5501 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
5503 * text2.C (redoParagraphs): adjust
5504 (updateCounters): adjust
5505 (checkParagraph): adjust
5506 (getColumnNearX): adjust and reformat a bit.
5508 * text.C (top_y): adjust
5510 (leftMargin): adjust
5511 (prepareToPrint): adjust
5513 (getRowNearY): adjust
5515 * lyxtext.h: make rowlist_ mutable.
5517 * RowList.h: add const_iterator
5518 * RowList.C: adjust for RowList::const_iterator.
5520 * text2.C (getCursorX): make it take a RowList::iterator as arg,
5523 2003-03-31 John Levon <levon@movementarian.org>
5526 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5528 * lyx_main.C: set default fonts from using lyx_gui funcs
5530 * exporter.C: pdf_mode moved from lyxrc
5533 * lyxfunc.C: changes from above
5535 2003-03-31 John Levon <levon@movementarian.org>
5537 * lyx_main.C: fix to the last fix
5539 2003-03-31 John Levon <levon@movementarian.org>
5541 * bufferlist.C: "Load original" -> "Load Original"
5547 * format.C: more Alert cleanups
5549 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5551 * text2.C (removeParagraph): make it take a RowList::iterator as
5553 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5554 (postRowPaint): make it take a RowList::iterator as arg, adjust.
5556 * text.C (anchor_row): make it take a RowList::iterator as arg,
5558 (computeBidiTables): make it take a const reference to Row instead
5559 of Row pointer, adjust.
5560 (leftMargin): make it take a RowList::iterator as arg, adjust.
5561 (rowBreakPoint): adjust
5562 (breakAgainOneRow): make it take a RowList::iterator as arg,
5564 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5566 * bufferview_funcs.C (toggleAndShow): adjust
5568 2003-03-30 John Levon <levon@movementarian.org>
5572 * boost-inst.C: moved to support
5574 * several files: changes as a result
5576 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5578 * text2.C (LyXText): adjust.
5580 (removeRow): make it take a RowList::iterator as arg, adjust.
5581 (fullRebreak): adjust
5582 (deleteEmptyParagraphMechanism): adjust
5583 (clearPaint): adjust
5586 * text.C (top_y): adjust
5587 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5588 (breakAgain): make it take a RowList::iterator as arg, adjust.
5589 (breakParagraph): adjust
5590 (insertChar): adjust
5593 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5594 need_break_row, and refresh_row.
5596 * text3.C (dispatch): adjust
5598 * text2.C (checkParagraph): adjust
5600 (setCursorFromCoordinates): adjust
5602 * text.C (top_y): adjust
5604 (getRow): make it return a RowList::iterator, adjust
5605 (getRowNearY): make it return a RowList::iterator, adjust
5607 * text2.C (init): adjust
5608 (insertRow): remove function
5609 (insertParagraph): adjust
5610 (redoParagraphs): adjust
5611 (fullRebreak): adjust
5612 (updateCounters): adjust
5614 * text.C (top_y): rewrite to use RowList iterators.
5616 (setHeightOfRow): rewrite to sue RowList iterators.
5617 (appendParagraph): adjust
5618 (breakAgain): adjust
5619 (breakAgainOneRow): adjust
5620 (breakParagraph): adjust
5622 (getRowNearY): adjust, and remove commented code.
5624 * lyxtext.h (firstRow): delete function
5625 (lastRow): delete function
5626 (rows): new function (const and non-const versions.)
5627 (insertRow): delete function
5629 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5631 2003-03-29 John Levon <levon@movementarian.org>
5633 * BufferView_pimpl.C: always update scrollbar top
5634 because pasting text when we're anchored could mean we
5635 miss an update altogether
5637 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5639 * text2.C (init): use rowlist_.end() and not 0.
5640 (insertRow): change to take a RowList::iterator as arg, adjust
5642 (insertParagraph): change to take a RowList::iterator as arg,
5644 (redoParagraphs): remove some debug msgs.
5646 * text.C (appendParagraph): change to take a RowList::iterator
5647 arg, adjust for this.
5648 (breakAgain): add an assert
5649 (breakAgainOneRow): ditto
5651 2003-03-29 John Levon <levon@movementarian.org>
5653 * text2.C: do not clear selection after inc/decDepth
5656 2003-03-29 John Levon <levon@movementarian.org>
5659 * buffer.C: fix broken strerrors according to Lars
5661 2003-03-29 John Levon <levon@movementarian.org>
5663 * converters.C: more Alert cleanups
5665 2003-03-29 John Levon <levon@movementarian.org>
5667 * bufferview_funcs.C: remove pointless Alert
5669 * buffer.C: fix confusing error message when
5670 a template is chmoded 000
5672 2003-03-29 John Levon <levon@movementarian.org>
5676 * BufferView_pimpl.C: Alert fixes
5680 * tabular-old.C: remove unused table compat reading
5682 2003-03-29 John Levon <levon@movementarian.org>
5687 * lyx_cb.C: more Alert cleanups
5689 * lyxfunc.C: don't allow chktex if not latex document
5691 2003-03-29 John Levon <levon@movementarian.org>
5695 * buffer.C: warnings pushed down from support/,
5698 2003-03-29 John Levon <levon@movementarian.org>
5700 * lyxfunc.C: safety check for C-r (revert)
5702 2003-03-29 John Levon <levon@movementarian.org>
5705 * bufferlist.C: several UI fixes using Alert::prompt.
5706 Fix the pointless looping quit code. Fix stupid revert
5711 * lyx_cb.C: use Alert::prompt
5713 * lyx_main.C: remove a silly question
5715 * lyxfunc.C: remove a couple of silly questions,
5718 2003-03-28 John Levon <levon@movementarian.org>
5720 * text2.C: fix bug 974 (End on empty par)
5722 2003-03-28 John Levon <levon@movementarian.org>
5724 * BufferView_pimpl.C:
5726 * lfuns.h: remove do-nothing math greek lfuns
5728 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5730 * lyxgluelength.h (isValidGlueLength): add default arg on
5731 parameter 2. Remove default arg from friend in class.
5733 * lyxlength.h (isValidLength): add default arg on parameter 2.
5734 Remove default arg from friend in class.
5736 * text2.C (LyXText): adjust, initialize refresh_row.
5740 (insertParagraph): adjst
5741 (redoParagraphs): adjust
5742 (fullRebreak): adjust
5743 (updateCounters): adjust
5744 (deleteEmptyParagraphMechanism): first attempt at fixing a
5747 * text.C (top_y): adjust
5748 (setHeightOfRow): adjust
5750 (getRowNearY): adjust
5752 * lyxtext.h: include RowList.h
5753 (~LyXText): not needed anymore, deleted.
5754 (firstRow): modify for RowList
5755 (lastRow): new function
5756 Delete firstrow and lastrow class variables, add a Rowlist
5757 rowlist_ class variable.
5759 * lyxrow.C (lastPos): use empty() and not !size() to check if a
5762 * RowList.C (insert): fix case where it == begin().
5764 2003-03-26 Angus Leeming <leeming@lyx.org>
5766 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5767 the thesaurus dialog.
5769 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5771 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5773 * RowList.[Ch]: new files
5775 * ParagraphList.C (erase): handle the case where it == begin
5778 2003-03-25 John Levon <levon@movementarian.org>
5782 * aspell.C: add new aspell support
5785 * lyxrc.C: Make use_pspell be use_spell_lib. Always
5788 2003-03-25 Angus Leeming <leeming@lyx.org>
5791 * LyXAction.C (init): new LFUN_INSET_INSERT.
5793 * BufferView_pimpl.C (dispatch): split out part of the
5794 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5796 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5799 2003-03-25 Angus Leeming <leeming@lyx.org>
5801 * lyxfunc.C (dispatch): changes to the Dialogs interface.
5803 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
5806 * text3.C: remove useless row->height(0)
5808 2003-03-25 John Levon <levon@movementarian.org>
5812 * text3.C: rename the refreshing stuff to better names
5814 2003-03-24 John Levon <levon@movementarian.org>
5816 * BufferView_pimpl.h:
5817 * BufferView_pimpl.C: update layout choice on a mouse
5820 2003-03-23 John Levon <levon@movementarian.org>
5822 * Makefile.am: fix commandtags.h reference
5824 2003-03-22 John Levon <levon@movementarian.org>
5826 * BufferView_pimpl.C:
5831 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5833 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
5836 * text.C: take the rtl methods out of line
5838 2003-03-21 André Pönitz <poenitz@gmx.net>
5840 * metricsinfo.[Ch]: new files containing structures to be passed around
5841 during the two-phase-drawing...
5843 2003-03-21 André Pönitz <poenitz@gmx.net>
5845 * lyxtextclass.C: read 'environment' tag.
5847 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
5849 * text2.C (removeRow): fix bug 964
5851 2003-03-20 John Levon <levon@movementarian.org>
5855 * text2.C: paint cleanups. Inset::update() dropped font
5858 2003-03-19 John Levon <levon@movementarian.org>
5860 * lyxfunc.C: only fitcursor/markDirty if available()
5862 2003-03-19 John Levon <levon@movementarian.org>
5864 * commandtags.h: rename to ...
5866 * lfuns.h: ... this, and renumber / cleanup
5868 2003-03-19 John Levon <levon@movementarian.org>
5870 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5871 fit the cursor after an lfun
5875 * BufferView_pimpl.h:
5876 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5878 * LyXAction.C: layout-character should have ReadOnly
5880 * ParagraphParameters.C:
5882 * bufferview_funcs.C:
5889 * undo_funcs.C: changes from above
5891 2003-03-18 John Levon <levon@movementarian.org>
5893 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5894 remove it from update()
5896 * lyxfunc.C: update layout choice after an lfun
5898 * text3.C: remove extra updateLayoutChoice()s
5900 2003-03-18 John Levon <levon@movementarian.org>
5902 * text.C: top_y change means full repaint, fix
5903 a drawing bug with cursor movement
5905 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5909 * text2.C: anchor row on setCursor
5911 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5913 * lyxtext.h: remove almost all mutable keywords
5916 * text3.C: remove const keywords accordingly
5918 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5920 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5922 (TeXEnvironment): ditto
5925 2003-03-17 John Levon <levon@movementarian.org>
5927 * text.C (rowBreakPoint): remove attempt to fix displayed
5928 math insets inside a manual label
5930 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5932 * lyxtext.h: remove BufferView* as first arg from almost all class
5934 * other files: adjust.
5936 2003-03-17 John Levon <levon@movementarian.org>
5940 * text2.C: more paint cleanups
5942 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5945 * rowpainter.C: remove "smart" background painting code
5947 2003-03-16 John Levon <levon@movementarian.org>
5952 * text3.C: add helper functions for setting refresh_row/y
5954 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
5956 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5957 newline inset which *can* get inserted in the pass_thru layouts.
5958 This is primarily for literate documents.
5960 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
5962 * buffer.C: increment LYX_FORMAT to 223
5964 2003-03-14 André Pönitz <poenitz@gmx.net>
5966 * textclass.h: prepare for environment handling, ws changes
5967 * lyxlayout.C: read latexheader and latexfooter tags
5969 2003-03-14 John Levon <levon@movementarian.org>
5971 * text2.C: rewrite ::status() a bit
5973 2003-03-13 John Levon <levon@movementarian.org>
5975 * lyxtext.h: add some docs
5977 2003-03-13 John Levon <levon@movementarian.org>
5982 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5984 2003-03-13 John Levon <levon@movementarian.org>
5986 * text3.C: fix appendix redrawing
5988 2003-03-13 John Levon <levon@movementarian.org>
5990 * text.C (setHeightOfRow):
5992 * rowpainter.C: make appendix mark have the text
5993 "Appendix" so the user knows what it is
5996 * LColor.C: s/appendixline/appendix/ from above
5998 2003-03-13 John Levon <levon@movementarian.org>
6000 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6002 * text.C: fix a getChar(pos) bug properly
6004 2003-03-13 Angus Leeming <leeming@lyx.org>
6007 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6008 Probably only temporary. Let's see how things pan out.
6010 * BufferView.C (unlockInset):
6011 * BufferView_pimpl.C (fitCursor):
6012 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6014 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6015 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6017 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6018 new functions that convert ParagraphParameters to and from a string.
6020 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6021 BufferView::Pimpl's dispatch.
6022 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6024 2003-03-13 André Pönitz <poenitz@gmx.net>
6028 * factory.C: make it aware of InsetEnv
6030 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6032 * text2.C (setCursor): never ask for one past last
6033 (setCursor): add some debugging messages.
6035 * text.C (singleWidth): never ask for one past last
6036 (singleWidth): ditto
6038 (rightMargin): ditto
6039 (rowBreakPoint): ditto
6040 (setHeightOfRow): ditto
6041 (prepareToPrint): ditto
6043 * rowpainter.C (paintBackground): never ask for one past last
6044 (paintText): never ask for one past last
6046 * paragraph_pimpl.C (getChar): make the assert stricter, never
6047 allow the one past last pos to be taken
6049 * paragraph.C (getChar): ws changes only
6051 * lyxrow.C (nextRowIsAllInset): never ask for one past last
6052 (numberOfSeparators): ditto
6053 (numberOfHfills): ditto
6055 2003-03-12 John Levon <levon@movementarian.org>
6061 * paragraph_funcs.C: fix per-buffer authorlists
6063 2003-03-12 John Levon <levon@movementarian.org>
6065 * text.C: fix newline in right address
6067 2003-03-12 Angus Leeming <leeming@lyx.org>
6069 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6070 duplicate those in LyXFunc::dispatch.
6074 * ToolbarDefaults.C:
6075 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6076 Add LFUN_FONTFREE_UPDATE.
6078 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6079 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6081 * bufferview_func.[Ch]: several new functions to facilliate
6082 transfer of data to and from the character dialog.
6084 2003-03-12 John Levon <levon@movementarian.org>
6089 * paragraph_funcs.C:
6090 * paragraph_pimpl.C:
6094 * text3.C: remove META_NEWLINE in favour of an inset
6097 * rowpainter.C: remove paintNewline (done by inset)
6099 2003-03-12 John Levon <levon@movementarian.org>
6101 * paragraph_pimpl.C: complain about bad getChar()s
6102 for a while at least
6104 2003-03-12 John Levon <levon@movementarian.org>
6107 * buffer.C: move paragraph read into a separate function,
6108 a little renaming to reflect that.
6111 * bufferparams.C: remove the author_ids map, not necessary now
6114 * factory.C: moved Buffer::readInset to here
6116 * paragraph_funcs.h:
6117 * paragraph_funcs.C: readParagraph free function moved from
6120 * tabular.C: name change
6122 2003-03-12 John Levon <levon@movementarian.org>
6125 * ParagraphParameters.C: move par params input to
6128 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6129 behave like a normal read from the stream wrt reading
6130 a line vs. a \\token
6132 2003-03-12 John Levon <levon@movementarian.org>
6135 * ParagraphParameters.h:
6136 * ParagraphParameters.C: move output code to a
6139 2003-03-12 John Levon <levon@movementarian.org>
6141 * BufferView.C (insertLyXFile):
6144 * tabular.C: use a parlist iterator for creating the
6147 2003-03-12 John Levon <levon@movementarian.org>
6149 * buffer.C: make current_change static local not
6152 2003-03-12 John Levon <levon@movementarian.org>
6154 * buffer.C: fix insertStringAsLines for change tracking
6156 2003-03-12 John Levon <levon@movementarian.org>
6163 * bufferparams.C: move author list into params. Rename some
6164 functions. Move the header reading into a separate token
6165 loop. Move the header token reading into BufferParams.
6167 2003-03-12 John Levon <levon@movementarian.org>
6169 * changes.C: put debug inside lyxerr.debugging() checks
6171 2003-03-11 André Pönitz <poenitz@gmx.net>
6173 * factory.C: make it aware of InsetHFill
6175 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6177 * buffer.C (latexParagraphs): move function from here...
6178 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6181 2003-03-10 Angus Leeming <leeming@lyx.org>
6183 * LyXAction.C (init): fix bug in poplating array with multiple entries
6184 with the same LFUN (spotted by JMarc).
6186 2003-03-10 John Levon <levon@movementarian.org>
6189 * text2.C: move getColumnNearX() near its
6192 2003-03-10 John Levon <levon@movementarian.org>
6194 * text.C: fix break before a minipage
6196 2003-03-10 John Levon <levon@movementarian.org>
6198 * text.C: fix the last commit
6200 2003-03-09 John Levon <levon@movementarian.org>
6204 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6205 bug 365 (don't break before insets unless needed). Don't
6206 return a value > last under any circumstances.
6208 2003-03-09 Angus Leeming <leeming@lyx.org>
6210 * BufferView_pimpl.C (trackChanges, dispatch): call
6211 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6213 2003-03-09 Angus Leeming <leeming@lyx.org>
6215 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6216 than Dialogs::showAboutlyx().
6218 2003-03-09 Angus Leeming <leeming@lyx.org>
6220 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6221 than Dialogs::showTabularCreate().
6223 2003-03-09 John Levon <levon@movementarian.org>
6227 * text2.C: 3rd arg to nextBreakPoint was always the same.
6230 2003-03-08 John Levon <levon@movementarian.org>
6237 * text2.C: Remove the "main" bit from the "main body"
6240 2003-03-08 John Levon <levon@movementarian.org>
6242 * text.C (leftMargin): The left margin of an empty
6243 manual label paragraph should not include the label width
6246 * text.C (prepareToPrint): don't attempt to measure hfills
6247 for empty manual label paragraphs - the answer should be 0
6249 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6251 * CutAndPaste.C: remove commented code and reindent.
6253 2003-03-08 John Levon <levon@movementarian.org>
6256 * lyxfunc.C: move reloadBuffer()
6259 * BufferView.C: to here
6261 * lyxvc.C: add comment
6264 * vc-backend.C: call bv->reload() to avoid
6265 getStatus() check on MENURELOAD
6267 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
6269 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6270 to an old format .dep file.
6272 2003-03-07 Angus Leeming <leeming@lyx.org>
6274 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6275 when the LFUN_MOUSE_RELEASE should have been handled by
6276 inset->localDispatch.
6278 2003-03-07 Angus Leeming <leeming@lyx.org>
6280 * BufferView_pimpl.C (dispatch):
6281 * LyXAction.C (init):
6282 * ToolbarDefaults.C (init):
6284 * lyxfunc.C (getStatus):
6285 remove LFUN_INSET_GRAPHICS.
6287 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6289 2003-03-07 Angus Leeming <leeming@lyx.org>
6292 * LyXAction.C (init):
6293 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6295 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6298 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6300 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6301 localDispatch method LFUN_INSET_DIALOG_UPDATE.
6303 2003-03-07 Angus Leeming <leeming@lyx.org>
6305 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6308 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6310 * ParagraphList.C (front): new function
6313 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
6315 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6316 and top_row_offset_. removed var first_y.
6318 * text2.C (LyXText, removeRow):
6320 * BufferView_pimpl.C:
6321 use these methods instead of using first_y
6323 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6325 * text2.C (pasteSelection): adjust for checkPastePossible
6327 * CutAndPaste.C: remove Paragraph * buf and replace with
6328 ParagraphList paragraphs.
6329 (DeleteBuffer): delete
6330 (cutSelection): change the tc type to textclass_type
6331 (copySelection): change the tc type to textclass_type
6332 (copySelection): adjust for ParagraphList
6333 (pasteSelection): change the tc type to textclass_type
6334 (pasteSelection): adjust for Paragraphlist
6335 (nrOfParagraphs): simplify for ParagraphList
6336 (checkPastePossible): simplify for ParagraphList
6337 (checkPastePossible): remove unused arg
6339 * ParagraphList.C (insert): handle the case where there are no
6342 * CutAndPaste.h: make CutAndPaste a namespace.
6344 * text3.C (dispatch): adjust
6346 * text.C (breakParagraph): add a ParagraphList as arg
6348 * paragraph_funcs.C (breakParagraph): change to take a
6349 BufferParams and a ParagraphList as args.
6350 (breakParagraphConservative): ditto
6351 (mergeParagraph): ditto
6352 (TeXDeeper): add a ParagraphList arg
6353 (TeXEnvironment): ditto
6356 * buffer.C (readLyXformat2): adjust
6357 (insertStringAsLines): adjust
6358 (latexParagraphs): adjust
6360 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6361 (cutSelection): adjust
6362 (pasteSelection): adjust
6364 * BufferView_pimpl.C (insertInset): adjust
6366 2003-03-05 Angus Leeming <leeming@lyx.org>
6369 * LyXAction.C (init):
6370 * BufferView_pimpl.C (dispatch):
6371 * lyxfunc.C (getStatus):
6372 remove LFUN_CHILD_INSERT.
6374 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6376 2003-03-05 Angus Leeming <leeming@lyx.org>
6379 * LyXAction.C (init):
6380 * src/factory.C (createInset):
6381 * lyxfunc.C (getStatus):
6382 * text3.C (dispatch):
6383 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6385 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6387 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6389 * ParagraphList.C (insert): handle insert right before end()
6390 (erase): fix cases where it can be first or last paragraph.
6392 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6394 * paragraph_funcs.C (TeXEnvironment): remove all usage of
6395 Paragraph::next and Paragraph::previous
6398 * text.C (breakParagraph): adjust
6400 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6401 BufferParams& as arg.
6402 (breakParagraph): use ParagraphList::insert
6403 (breakParagraphConservative): take a Buffer* instead of a
6404 BufferParams& as arg.
6405 (breakParagraphConservative): use ParagraphList::insert.
6407 * buffer.C (insertStringAsLines): un-const it
6408 (insertStringAsLines): adjust
6410 * ParagraphList.C (insert): new function
6412 * CutAndPaste.C (pasteSelection): adjust
6414 * text.C (backspace): adjust
6416 * tabular.C (SetMultiColumn): adjust
6418 * CutAndPaste.C (cutSelection): adjust
6419 (pasteSelection): adjust
6421 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6422 Buffer const * as arg
6424 * ParagraphList.C (erase): new function
6425 * paragraph_funcs.C (mergeParagraph): use it
6426 (mergeParagraph): make it take a Buffer* instead of a
6427 BufferParams* as arg
6429 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6431 (breakParagraphConservative): ditto
6433 * paragraph.h: remove the breakParagraph friend
6435 * paragraph.C (eraseIntern): new function
6436 (setChange): new function
6438 * paragraph_funcs.C (mergeParagraph): make it take a
6439 ParagraphList::iterator instead of a Paragraph *, adjust
6442 * paragraph.h: move an #endif so that the change tracking stuff
6443 also works in the NO_NEXT case.
6445 2003-03-04 Angus Leeming <leeming@lyx.org>
6448 * LyXAction.C: new LFUN_INSET_MODIFY.
6450 * BufferView_pimpl.C (dispatch): if an inset is found to be open
6451 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6453 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6455 * several files: ws changes only
6457 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6458 (TeXEnvironment): ditto
6461 * buffer.C (makeLaTeXFile): adjust
6462 (latexParagraphs): make it take ParagraphList::iterator as args
6464 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6466 * buffer.C (latexParagraphs): adjust
6468 * paragraph.C (TeXOnePar): move function...
6469 (optArgInset): move function...
6470 (TeXEnvironment): move function...
6471 * paragraph_pimpl.C (TeXDeeper): move function...
6472 * paragraph_funcs.C: ...here
6474 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6476 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6478 * buffer.C (readInset): remove compability code for old Figure and
6481 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6483 * buffer.C: ws changes
6486 * BufferView_pimpl.C: ditto
6489 * bufferlist.h: ditto
6493 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
6495 * converter.[Ch]: split into itself +
6498 * Makefile.am: += graph.[Ch] + format.[Ch]
6505 * lyxrc.C: added #include "format.h"
6507 2003-02-27 Angus Leeming <leeming@lyx.org>
6509 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6512 * factory.C (createInset): add "label" to the factory.
6514 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6515 string and do no more.
6517 2003-02-27 Angus Leeming <leeming@lyx.org>
6520 * LyXAction.C (init):
6521 * factory.C (createInset):
6522 * BufferView_pimpl.C (dispatch):
6523 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6525 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6527 * lyxfunc.C (dispatch):
6528 * text3.C (dispatch): pass name to params2string.
6530 2003-02-26 Angus Leeming <leeming@lyx.org>
6532 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6534 Rearrange the ~includes. Strip out the unnecessary ones.
6536 * factory.C (createInset): reformat.
6537 create new insets for the various LFUN_XYZ_APPLY lfuns.
6539 2003-02-26 John Levon <levon@movementarian.org>
6542 * lyxrow.C: add isParStart,isParEnd helpers
6544 * paragraph.h: make isInserted/DeletedText take refs
6546 * paragraph_funcs.h:
6547 * paragraph_funcs.C: remove #if 0'd code
6552 * text.C: use lyxrow helpers above.
6553 Move draw and paint routines to RowPainter.
6554 Make several methods use refs not pointers.
6555 Make backgroundColor() const.
6556 Add markChangeInDraw(), isInInset().
6557 Merge changeRegionCase into changeCase.
6558 Make workWidth() shouldn't-happen code into an Assert.
6561 * rowpainter.C: new class for painting a row.
6564 * vspace.C: make inPixels take a ref
6566 2003-02-26 Angus Leeming <leeming@lyx.org>
6568 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6571 2003-02-25 John Levon <levon@movementarian.org>
6573 * ispell.C: give the forked command a more accurate name
6575 2003-02-22 John Levon <levon@movementarian.org>
6578 * toc.C: make TocItem store an id not a Paragraph *
6581 2003-02-21 Angus Leeming <leeming@lyx.org>
6583 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6584 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6585 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6586 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6587 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6588 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6590 * BufferView_pimpl.C (dispatch):
6591 * LyXAction.C (init):
6592 * factory.C (createInset):
6593 * lyxfunc.C (getStatus, dispatch):
6594 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6596 2003-02-21 Angus Leeming <leeming@lyx.org>
6598 * BufferView_pimpl.C (MenuInsertLyXFile):
6599 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6600 * lyxfunc.C (menuNew, open, doImport):
6601 no longer pass a LyXView & to fileDlg.
6603 2003-02-21 Angus Leeming <leeming@lyx.org>
6605 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6606 * LyXAction.C: change, BIBKEY to BIBITEM.
6607 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6608 Change InsetBibKey to InsetBibitem.
6609 Change BIBKEY_CODE to BIBITEM_CODE.
6610 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6611 * factory.C: replace insetbib.h with insetbibitem.h.
6612 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6613 * paragraph.C: replace insetbib.h with insetbibitem.h.
6614 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6615 Change bibkey() to bibitem().
6616 * text.C: remove insetbib.h.
6617 * text2.C: replace insetbib.h with insetbibitem.h.
6618 change bibkey() to bibitem().
6619 * text3.C: remove insetbib.h.
6620 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6622 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6624 * lyxrc.C (output): enclose user email in quotes (in case there are
6627 2003-02-18 John Levon <levon@movementarian.org>
6629 * buffer.h: add std::
6631 2003-02-17 John Levon <levon@movementarian.org>
6637 * pspell.C: reworking. Especially in ispell, a large
6638 number of clean ups and bug fixes.
6640 * lyxfunc.C: fix revert to behave sensibly
6642 2003-02-17 André Pönitz <poenitz@gmx.net>
6645 * commandtags.h: new LFUN_INSERT_BIBKEY
6655 * paragraph_func.C: remove special bibkey handling
6657 2003-02-17 John Levon <levon@movementarian.org>
6659 * text.C (Delete): fix case where delete at the end of
6660 the very first paragraph would not merge the pars
6662 2003-02-17 John Levon <levon@movementarian.org>
6664 * lyxrow.C: fix lastPrintablePos()
6666 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6668 * bufferparams.C (writeLaTeX): add a std:here
6670 * buffer.C: and remove a using directive there
6672 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6674 * buffer.C (makeLaTeXFile): move the code that generates the
6677 * bufferparams.C (writeLaTeX): ... in this new method
6679 * LaTeXFeatures.C (getEncodingSet): make const
6680 (getLanguages): make const
6682 * MenuBackend.C (binding): returns the binding associated to this
6684 (add): sets the status of each item by calling getStatus. Adds
6686 (read): add support for OptSubMenu
6687 (expand): remove extra separator at the end of expanded menu
6689 2003-02-15 John Levon <levon@movementarian.org>
6692 * BufferView_pimpl.C:
6694 * bufferlist.C: remove pointless BufferStorage bloat. Remove
6695 inset code that had no actual effect. Remove unneeded status
6698 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6700 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6703 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
6705 * text.C (drawLengthMarker): also draw an arrow marker for
6706 symbolic lengths (medskip...)
6708 2003-02-14 John Levon <levon@movementarian.org>
6711 * tabular.C: better method names
6713 2003-02-14 John Levon <levon@movementarian.org>
6715 * BufferView_pimpl.C:
6720 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6721 it's a more accurate name. Remove some pointless uses.
6723 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6725 * text2.C (LyXText): change order of initilizers to shut off
6728 2003-02-14 John Levon <levon@movementarian.org>
6730 * buffer.C: use ParIterator for getParFromID()
6734 * paragraph_pimpl.h:
6735 * paragraph_pimpl.C: remove unused getParFromID()
6737 2003-02-14 John Levon <levon@movementarian.org>
6739 * buffer.C: remove some very old #if 0'd parse code
6741 2003-02-13 John Levon <levon@movementarian.org>
6745 * text2.C: move hfillExpansion(), numberOfSeparators(),
6746 rowLast(), rowLastPrintable(), numberofHfills(),
6747 numberOfLabelHfills() ...
6750 * lyxrow.C: ... to member functions here.
6755 * text.C: remove LyXText::beginningOfMainBody(), and call
6756 p->beginningOfMainBody() directly. Move the check for
6757 LABEL_MANUAL into the latter.
6764 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6770 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6771 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6773 2003-02-13 John Levon <levon@movementarian.org>
6775 * CutAndPaste.C: remove debug
6777 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6779 * paragraph.C (asString): remove two unused variables
6781 * lyxtextclass.C (readTitleType):
6783 (LyXTextClass): handle new members titletype_ and titlename_
6785 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6787 2003-02-09 John Levon <levon@movementarian.org>
6790 * buffer.C: replace hand-coded list with a map for the dep clean
6792 2003-02-08 John Levon <levon@movementarian.org>
6794 * LaTeX.C: consolidate code into showRunMessage() helper
6796 2003-02-08 John Levon <levon@movementarian.org>
6801 * BufferView.C: change setSelectionOverString() to setSelectionRange()
6802 and pass the size in explicitly
6804 * BufferView_pimpl.h:
6805 * BufferView_pimpl.C:
6807 * BufferView.C: add getCurrentChange()
6809 * BufferView_pimpl.h:
6810 * BufferView_pimpl.C: handle change lfuns
6812 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6813 for changes. Mark pasted paragraphs as new.
6815 * support/lyxtime.h:
6816 * support/lyxtime.C:
6817 * DepTable.C: abstract time_t as lyx::time_type
6820 * LColor.C: add colours for new text, deleted text, changebars
6822 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6823 package use "usenames" option.
6827 * LyXAction.C: add change lfuns
6831 * author.C: author handling
6834 * buffer.C: add a per-buffer author list, with first entry as
6835 current author. Handle new .lyx tokens for change tracking. Output
6836 author list to .lyx file. Output dvipost stuff to .tex preamble.
6837 Bump lyx format to 222.
6840 * bufferlist.C: add setCurrentAuthor() to reset current author details
6844 * bufferparams.C: add param for tracking
6846 * bufferview_funcs.C: output change info in minibuffer
6850 * changes.C: add change-tracking structure
6853 * debug.C: add CHANGES debug flag
6856 * lyxfind.C: add code for finding the next change piece
6859 * lyxrc.C: add user_name and user_email
6862 * lyxrow.C: add a metric for the top of the text line
6865 * text.C: implement accept/rejectChange()
6868 * text.C: paint changebars. Paint new/deleted text in the chosen
6869 colours. Strike through deleted text.
6873 * paragraph_pimpl.h:
6874 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6875 in the current change to the insert functions. Rework erase to
6876 mark text as deleted, adding an eraseIntern() and a range-based
6877 erase(). Implement per-paragraph change lookup and
6880 * paragraph_funcs.C: Fixup paste for change tracking.
6882 * tabular.C: mark added row/columns as new.
6884 * text.C: fix rowLast() to never return -1. Don't allow
6885 spellchecking of deleted text. Track transpose changes. Don't
6886 allow paragraph break or merge where appropriate.
6888 * text2.C: leave cursor at end of selection after a cut.
6890 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6892 * text.C (getLengthMarkerHeight):
6893 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6894 visible on screen too.
6896 2003-02-07 John Levon <levon@movementarian.org>
6898 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6900 2003-02-05 Angus Leeming <leeming@lyx.org>
6902 * lyxserver.C (read_ready): revert my patch of 11 September last year
6903 as it sends PC cpu through the roof. Presumably this means that
6904 the lyxserver will no longer run on an Alpha...
6906 2003-01-30 Angus Leeming <leeming@lyx.org>
6908 * factory.C (createInset): create an InsetCommandParam of type "index"
6909 and use it to 'do the right thing'.
6911 * text2.C (getStringToIndex): ensure that cursor position is always
6912 reset to the reset_cursor position.
6914 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6916 * lyxfunc.C (getStatus): "buffer-export custom" should never be
6919 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
6923 * lyxfunc.C: Output messages with identical spelling, punctuation,
6926 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
6928 * MenuBackend.C (expandFormats): List only viewable export formats
6931 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6934 * lyxfunc.C (getStatus): Make sure that formats other than
6935 "fax" can also be disabled
6937 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6939 * text3.C (dispatch): put the lfuns that insert insets in 3
6940 groups, and call doInsertInset with appropriate arguments.
6941 (doInsertInset): new function, that creates an inset and inserts
6942 it according to some boolean parameters.
6944 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6946 * buffer.C (readFile): remember to pass on 'par' when calling
6947 readFile recursively.
6949 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6951 * MenuBackend.C (expandFormats): add "..." to import formats.
6953 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
6955 * paragraph.C (asString): Remove XForms RTL hacks.
6957 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
6958 * buffer.C: fix typo
6960 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6962 * Makefile.am (LIBS): delete var
6963 (lyx_LDADD): add @LIBS@ here instead.
6965 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
6967 * Clarify the meaning of "wheel mouse jump"
6969 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6971 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6974 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6976 * importer.C (Loaders): do not preallocate 3 elements in the
6977 vector, since one ends up with 6 elements otherwise
6979 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6981 * DepTable.C (write): write the file name as last element of the
6982 .dep file (because it may contain spaces)
6983 (read): read info in the right order
6985 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6987 * paragraph_pimpl.C (simpleTeXBlanks):
6988 (simpleTeXSpecialChars):
6989 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6991 * tabular.C (latex): add some missing case statements. Reindent.
6993 * MenuBackend.C (expandToc): remove unused variable.
6995 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
7004 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7007 2003-01-05 John Levon <levon@movementarian.org>
7010 * BufferView.C: add getEncoding()
7013 * kbsequence.C: do not store last keypress
7016 * lyxfunc.C: store last keypress here instead. Pass encoding
7019 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7021 * lyx_main.C (init): remove annoying error message when following
7022 symbolic links (bug #780)
7024 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7026 * text.C (insertChar):
7027 * lyxrc.C (getDescription): remove extra spaces
7029 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7031 * lyxrc.C (getDescription): remove extra spaces
7033 2002-12-20 John Levon <levon@movementarian.org>
7035 * text3.C: hack fix for page up/down across tall rows
7037 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7039 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7042 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7044 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7045 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7046 thesaurus is not compiled in
7048 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
7050 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
7052 2002-12-16 Angus Leeming <leeming@lyx.org>
7055 * lyx_main.C (init): remove override_x_deadkeys stuff.
7057 2002-12-12 John Levon <levon@movementarian.org>
7059 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7060 insert. Only remove shift modifier under strict
7063 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7065 * MenuBackend.C (expandToc): fix crash.
7067 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7069 * MenuBackend.C (expandToc): gettext on float names.
7071 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7073 * lyxlength.[Ch]: set default unit to UNIT_NONE,
7074 implement bool empty() [bug 490]
7076 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7078 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7080 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7082 * several files: ws changes
7084 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7086 * text2.C (setCounter): clean up a bit, use boost.format.
7087 (updateCounters): initialize par upon declaration.
7089 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7090 if the layout exists. We do not just store the layout any more.
7091 (SwitchLayoutsBetweenClasses): use boost.format
7093 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7095 * converter.C (convert): if from and to files are the same, use a
7096 temporary files as intermediary
7098 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7101 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7103 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
7105 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7107 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7109 * tabular.C (asciiPrintCell): use string(size, char) instead of
7112 * sgml.C (openTag): fix order of arguments to string constructor
7115 * lyxfunc.C (dispatch): use boost.format
7117 * lots of files: change "c" -> 'c'
7119 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
7121 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7123 2002-11-25 Angus Leeming <leeming@lyx.org>
7125 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7127 * lyx_main.C (init): compile fix.
7129 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7131 * lyx_cb.C (start): boost.formatify
7132 do not include <iostream>
7134 * lengthcommon.C: ws only
7136 * boost-inst.C,BoostFormat.h: add more explict instantations
7138 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7140 * lots of files: handle USE_BOOST_FORMAT
7142 2002-11-21 John Levon <levon@movementarian.org>
7144 * pspell.C: fix compile
7146 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7148 * lyxfunc.C (dispatch): use boost::format
7152 * lyxfont.C (stateText): use boost::format
7154 * lyx_main.C (LyX): use boost::format
7156 (queryUserLyXDir): ditto
7159 (typedef boost::function): use the recommened syntax.
7161 * importer.C (Import): use boost::format
7163 * debug.C (showLevel): use boost::format
7165 * converter.C (view): use boost::format
7170 * bufferview_funcs.C (currentState): use boost::format
7172 * bufferlist.C (emergencyWrite): use boost::format
7174 * buffer.C (readLyXformat2): use boost::format
7175 (parseSingleLyXformat2Token): ditto
7177 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7179 * LaTeX.C (run): use boost::format
7181 * Chktex.C (scanLogFile): use boost::format
7183 * BufferView_pimpl.C (savePosition): use boost::format
7184 (restorePosition): ditto
7185 (MenuInsertLyXFile): ditto
7187 * BoostFormat.h: help file for explicit instation.
7189 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
7191 * tabular.C (latex): Support for block alignment in fixed width
7194 2002-11-17 John Levon <levon@movementarian.org>
7196 * BufferView_pimpl.C:
7198 * lyxfunc.C: split filedialog into open/save
7200 2002-11-08 Juergen Vigna <jug@sad.it>
7202 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7203 by my last patch (hopefully).
7205 2002-11-08 John Levon <levon@movementarian.org>
7214 * toc.C: ParConstIterator, and use it (from Lars)
7216 2002-11-07 Ben Stanley <bds02@uow.edu.au>
7218 * lyxtextclass.[Ch]: revise and add doxygen comments
7220 2002-11-07 John Levon <levon@movementarian.org>
7222 * text.C: fix progress value for spellchecker
7224 * toc.C: fix navigate menu for insetwrap inside minipage
7226 * paragraph_funcs.C: added FIXME for suspect code
7228 2002-11-07 John Levon <levon@movementarian.org>
7230 * BufferView_pimpl.C: fix redrawing of insets
7233 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7235 * text2.C (updateCounters): fix bug 668
7237 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
7239 * text3.C (dispatch): Do not make the buffer dirty when moving the
7242 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7244 * vc-backend.C: STRCONV
7247 * text2.C (setCounter): STRCONV
7249 * paragraph.C (asString): STRCONV
7251 * lyxlength.C (asString): STRCONV
7252 (asLatexString): ditto
7254 * lyxgluelength.C (asString): STRCONV
7255 (asLatexString): ditto
7257 * lyxfunc.C (dispatch): STRCONV
7260 * lyxfont.C (stateText): STRCONV
7262 * importer.C (Import): STRCONV
7264 * counters.C (labelItem): STRCONV
7265 (numberLabel): ditto
7266 (numberLabel): remove unused ostringstream o
7271 * bufferview_funcs.C (currentState): STRCONV
7273 * buffer.C (readFile): STRCONV
7274 (asciiParagraph): ditto
7275 (makeLaTeXFile): ditto
7277 * Spacing.C (writeEnvirBegin): STRCONV
7279 * LaTeXFeatures.C (getLanguages): STRCONV
7280 (getPackages): ditto
7282 (getBabelOptions): ditto
7283 (getTClassPreamble): ditto
7284 (getLyXSGMLEntities): ditto
7285 (getIncludedFiles): ditto
7289 (scanAuxFile): ditto
7292 * LString.h: add the STRCONV macros
7294 * BufferView_pimpl.C (savePosition): STRCONV
7295 (restorePosition): ditto
7296 (MenuInsertLyXFile): ditto
7298 * vc-backend.C (scanMaster): change from submatch[...] to
7301 * funcrequest.C: include config.h
7303 * factory.C: include config.h
7305 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7307 * box.C: include config.h
7309 * LaTeX.C (scanAuxFile): change from submatch[...] to
7313 2002-10-25 Angus Leeming <leeming@lyx.org>
7315 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7317 * ispell.[Ch] (setError): new method.
7318 * ispell.C (c-tor): move out child process into new class LaunchIspell.
7319 Use setError() insetead of goto END.
7321 * lyx_cb.C (AutoSave): move out child process into new class
7324 2002-10-30 John Levon <levon@movementarian.org>
7326 * text3.C: make start appendix undoable
7328 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
7330 * lyxlength.C (inPixels): Fix returned value.
7332 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7335 2002-10-24 Angus Leeming <leeming@lyx.org>
7337 * lyxgluelength.h: no need to forward declare BufferParams
7338 or BufferView, so don't.
7340 2002-10-21 John Levon <levon@movementarian.org>
7342 * BufferView.C: menuUndo ->undo, redo
7344 * BufferView.h: document, remove dead, make some methods private
7346 * paragraph_funcs.h:
7347 * paragraph_funcs.C:
7348 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7353 * sgml.C: move sgml open/close tag into sgml.C
7355 * bufferview_funcs.h: unused prototype
7358 * lyxfunc.C: remove unused
7361 * text.C: remove unused
7363 2002-10-21 John Levon <levon@movementarian.org>
7367 * BufferView_pimpl.h:
7368 * BufferView_pimpl.C: fix mouse wheel handling based on
7369 patch from Darren Freeman
7371 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
7373 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7375 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
7377 * lyxlength.C (inPixels): Fix hanfling of negative length.
7378 Fix LyXLength::MU case.
7380 2002-10-16 John Levon <levon@movementarian.org>
7382 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7384 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7386 * converter.C (view): add support for $$i (file name) and $$p
7387 (file path) for the viewer command. If $$i is not specified, then
7388 it is appended to the command (for compatibility with old syntax)
7390 2002-10-14 Juergen Vigna <jug@sad.it>
7392 * undo_funcs.C (textHandleUndo): alter the order in which the
7393 new undopar is added to the LyXText, as we have to set first
7394 the right prev/next and then add it as otherwise the rebuild of
7395 LyXText is not correct. Also reset the cursor to the right paragraph,
7396 with this IMO we could remove the hack in "redoParagraphs()".
7398 2002-10-09 Angus Leeming <leeming@lyx.org>
7400 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7401 to turn off an optimisation if a new inset is to be inserted.
7403 2002-10-11 André Pönitz <poenitz@gmx.net>
7405 * lyxtext.h: make some functions public to allow access
7406 from inset/lyxtext for handling LFUN_PRIOR/NEXT
7408 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7410 * text3.C (dispatch): when changing layout, avoid an infinite loop
7413 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7415 * lyxrc.C (read): treat a viewer or converter command of "none" as
7418 * MenuBackend.C (expandFormats): for an update, also allow the
7419 formats that are not viewable
7421 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7422 script if it is newer than the lyxrc.defaults in user directory
7424 2002-10-07 André Pönitz <poenitz@gmx.net>
7426 * text.C: Vitaly Lipatov's small i18n fix
7428 2002-09-25 Angus Leeming <leeming@lyx.org>
7430 * ispell.h: doxygen fix.
7432 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
7434 * buffer.h (readFile): Add a new argument to the method, to allow
7435 reading of old-format templates.
7437 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
7439 * toc.C (getTocList): Get TOC from InsetWrap.
7441 2002-09-16 John Levon <levon@movementarian.org>
7443 * lyxfunc.C: check tabular for cut/copy too
7445 2002-09-12 John Levon <levon@movementarian.org>
7450 * factory.C: add header
7452 * paragraph_funcs.h:
7453 * paragraph_funcs.C: cleanup
7455 2002-09-11 John Levon <levon@movementarian.org>
7457 * PrinterParams.h: odd/even default to true
7459 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
7461 * PrinterParams.h: update printer parameters for new xforms dialog
7463 2002-09-11 Angus Leeming <leeming@lyx.org>
7465 * lyxserver.C (read_ready): re-write to make it more transparent
7466 and to make it work in coherent fashion under Tru64 Unix.
7468 2002-09-11 André Pönitz <poenitz@gmx.net>
7472 * text3.C: implement LFUN_WORDSEL
7474 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7476 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7477 make floatlist_ a boost::shared_ptr<FloatList>
7479 * lyxtextclass.C: include FloatList.h
7480 (LyXTextClass): initialize floatlist_
7481 (TextClassTags): add TC_NOFLOAT
7482 (Read): match "nofloat" to TC_NOFLOAT and use it.
7483 (readFloat): modify call to floatlist_
7487 * FloatList.[Ch] (FloatList): remove commented out float
7489 (erase): new function
7491 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7493 * MenuBackend.C (expandToc): fix crash when there is no document
7496 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
7498 * many files: Add insetwrap.
7500 2002-09-09 John Levon <levon@movementarian.org>
7502 * text2.C: remove confusing and awkward depth wraparound
7504 2002-09-09 John Levon <levon@movementarian.org>
7506 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7509 * buffer.C: remove getIncludeonlyList()
7512 * lyxfunc.C: remove headers
7514 2002-09-09 Juergen Vigna <jug@sad.it>
7516 * text.C (getColumnNearX): fix form Michael this is most
7517 probably a cut&paste bug.
7519 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7521 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7523 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7524 references, ws changes.
7526 * text2.C (init): update counters after init
7527 (insertParagraph): no need to set counter on idividual paragraphs.
7528 (setCounter): access the counters object in the textclass object
7529 on in the buffer object.
7530 (updateCounters): ditto
7532 * lyxtextclass.C: include counters.h, add variable ctrs_ as
7533 shared_ptr<Counters> to avoid loading counters.h in all
7535 (LyXTextClass): initialize ctrs_
7536 (TextClassTags): add TC_COUNTER, and ...
7537 (Read): use it here.
7538 (CounterTags): new tags
7539 (readCounter): new function
7540 (counters): new funtion
7541 (defaultLayoutName): return a const reference
7543 * counters.C (Counters): remove contructor
7544 (newCounter): remove a couple of unneeded statements.
7545 (newCounter): simplify a bit.
7546 (numberLabel): some small formatting changes.
7548 * buffer.[Ch]: remove all traces of counters, move the Counters
7549 object to the LyXTextClass.
7551 2002-09-06 Alain Castera <castera@in2p3.fr>
7553 * tabular.C: uses \tabularnewline; uses >{...} construct from array
7554 package to set the horizontal alignment on fixed width columns.
7557 * lyx_sty.h: added tabularnewline macro def.
7559 * LaTeXFeatures.C: added NeedTabularnewline macro feature
7561 2002-09-06 John Levon <levon@movementarian.org>
7563 * LyXAction.C: tooltips for sub/superscript
7565 * MenuBackend.C: a bit more verbose
7567 * lyxfunc.C: tiny clean
7569 * undo_funcs.C: document undo_frozen
7571 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7573 * counters.C (Counters): add missing algorithm counter.
7575 * text2.C (setCounter): lookup the counter with layouts latexname
7576 instead of by section number.
7577 (setCounter): use a hackish way to lookup the correct enum
7579 a float name->type change
7580 reset enum couners with counter name directly instead of depth value.
7582 * counters.C (Counters): remove the push_backs, change to use the
7583 float type not the float name.
7584 (labelItem): remove unused string, float name->type change
7586 * counters.h: don't include vector, loose the enums and sects vectors
7588 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7590 * lyxtextclass.C (TextClassTags): add TC_FLOAT
7591 (Read): add float->TC_FLOAT to textclassTags
7592 (Read): and handle it in the switch
7593 (readFloat): new function
7595 * FloatList.C (FloatList): comment out the hardcoded float
7598 * lyxlayout.h: ws change.
7600 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
7602 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7604 2002-09-03 Angus Leeming <leeming@lyx.org>
7606 * BufferView_pimpl.h: qualified name is not allowed in member
7607 declaration: WorkArea & Pimpl::workarea() const;
7609 * factory.C: added using std::endl directive.
7611 * text3.C: added using std::find and std::vector directives.
7613 2002-08-29 André Pönitz <poenitz@gmx.net>
7616 * text2.C: remove unused member number_of_rows
7619 * BufferView2.C: remove file, move contents to...
7620 * BufferView.C: ... here
7622 * BufferView_pimpl.C:
7623 * factory.C: move more inset creation to factory
7625 * vspace.C: avoid direct usage of LyXText, ws changes
7628 don't provide direct access to WorkArea, use two simple
7629 acessors haveSelction() and workHeight() instead
7632 2002-08-29 John Levon <levon@movementarian.org>
7634 * BufferView_pimpl.C (dispatch): do not continue when
7637 2002-08-28 André Pönitz <poenitz@gmx.net>
7639 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7642 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7644 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
7646 * buffer.C: increment LYX_FORMAT to 221
7648 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7649 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7651 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7653 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7655 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7657 * factory.C (createInset): use LyXTextClass::floats
7659 * MenuBackend.C (expandFloatListInsert):
7660 (expandFloatInsert):
7663 * text2.C (setCounter):
7665 * LaTeXFeatures.C (useFloat):
7666 (getFloatDefinitions):
7668 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7670 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7671 floatlist_, with accessor floats().
7673 * FloatList.h: remove global FloatList
7675 2002-08-26 André Pönitz <poenitz@gmx.net>
7677 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7681 * BufferView_pimpl.C:
7682 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7684 2002-08-25 John Levon <levon@movementarian.org>
7686 * LyXAction.C: fix margin note description
7688 2002-08-24 John Levon <levon@movementarian.org>
7692 * bufferview_funcs.C:
7694 * undo_funcs.C: cleanups
7696 * lyxfunc.C: disable CUT/COPY when no selection
7698 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
7700 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7701 in "enum UNIT"; e.g. PTW for Percent of TextWidth
7703 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7704 Add backward compatibility to "mono", "gray" and "no".
7706 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
7708 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7709 (and file_format >= 200).
7711 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7713 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7715 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7717 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7719 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
7721 * BufferView_pimpl.C:
7728 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7729 inset and code to make it work with the paragraph code. The inset
7730 can be anywhere in the paragraph, but will only do the expected
7731 thing in LaTeX if the layout file contains the parameter line
7733 (or more generally, a nonzero value) for that layout.
7735 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7737 * paragraph.h: remove the declaration of undefined counters class
7740 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
7742 * text2.C (setCounter): fixed enumeration mis-count as reported by
7743 Dr. Richard Hawkins.
7745 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7747 * paragraph_funcs.h: remove some unneeded includes
7749 * text.C (backspace): pasteParagraph now in global scipe
7751 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7752 (pasteSelection): ditto
7754 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7755 * paragraph_funcs.C (pasteParagraph): ... here
7757 2002-08-20 André Pönitz <poenitz@gmx.net>
7759 * commandtags.h: new LFUNs for swapping/copying table row/colums
7762 * lyxfunc.C: support for new lfuns
7764 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7767 * buffer.[Ch]: remove NO_COMPABILITY stuff
7769 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
7771 * boost.C (throw_exception): new file, with helper function for
7772 boost compiled without exceptions.
7777 * ParameterStruct.h:
7778 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7780 * bufferlist.C (emergencyWriteAll): use boost bind
7782 * BufferView_pimpl.C (moveCursorUpdate): remove inline
7784 * text.C: include paragraph_funcs.h
7785 (breakParagraph): breakParagraph is now in global scope
7787 * paragraph_funcs.[Ch]: new files
7789 * paragraph.C (breakParagraph,breakParagraphConservative): move to
7792 * buffer.C: include paragraph_funcs.h
7793 (insertStringAsLines): breakParagraph is now in global scope
7795 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7798 * CutAndPaste.C: include paragraph_funcs.h
7799 (cutSelection): breakParagraphConservative is now in global scope
7800 (pasteSelection): ditto
7802 * buffer.h: declare oprator== and operator!= for
7803 Buffer::inset_iterator
7805 * bufferlist.C (emergencyWrite): don't use fmt(...)
7807 * text3.C: add using std::endl
7809 * BufferView.C (moveCursorUpdate): remove default arg
7811 2002-08-20 André Pönitz <poenitz@gmx.net>
7813 * buffer.[Ch]: move inline functions to .C
7816 * BufferView_pimpl.C:
7818 * buffer.[Ch]: use improved inset_iterator
7821 * paragraph.[Ch]: write one paragraph at a time
7823 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
7825 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7826 style if style is not specified.
7828 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7830 * text2.C (setCounter): when searching for right label for a
7831 caption, make sure to recurse to parent insets (so that a caption
7832 in a minipage in a figure float works) (bug #568)
7834 2002-08-20 André Pönitz <poenitz@gmx.net>
7836 * text3.C: new file for LyXText::dispatch() and helpers
7838 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7840 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7842 2002-08-19 André Pönitz <poenitz@gmx.net>
7845 * text.C: new LyXText::dispatch()
7847 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7849 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
7851 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7853 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7856 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7858 * Makefile.am: use $(variables) instead of @substitutions@
7860 2002-08-15 André Pönitz <poenitz@gmx.net>
7863 * BufferView_pimpl.C: streamlining mathed <-> outer world
7867 * LyXAction.C: remove unused LFUN_MATH
7869 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7871 * paragraph.[Ch]: add some NO_NEXT ifdefs.
7873 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7875 * paragraph.C (Paragraph): reformat a bit
7876 (cutIntoMinibuffer): use builtin InsetList function instad of
7880 * buffer.C: include boost/bind.hpp, add using std::for_each
7881 (writeFileAscii): use ParagraphList iterators
7882 (validate): use for_each for validate traversal of paragraphs
7883 (getBibkeyList): use ParagraphList iterators
7884 (resizeInsets): use for_each to resizeInsetsLyXText for all
7886 (getParFromID): use ParagraphList iterators
7888 * BufferView2.C (lockInset): use paragraph list and iterators
7890 2002-08-14 John Levon <levon@movementarian.org>
7892 * lyxserver.C: remove spurious xforms include
7894 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7896 * lyxfunc.C (getStatus): disable math-extern outside of math mode
7898 2002-08-13 André Pönitz <poenitz@gmx.net>
7901 * lyxfunc.C: further cleaning
7903 2002-08-13 André Pönitz <poenitz@gmx.net>
7905 * funcrequest.h: new constructor
7907 * funcrequest.C: move stuff here from .h
7910 * BufferView_pimpl.C:
7913 * lyxfunc.C: subsequent changes
7915 * lyxfunc.h: new view() member function
7917 * lyxfunc.C: subsequent changes
7919 2002-08-13 Angus Leeming <leeming@lyx.org>
7922 * BufferView_pimpl.C:
7930 changes due to the changed LyXView interface that now returns references
7931 to member variables not pointers.
7933 2002-08-13 Angus Leeming <leeming@lyx.org>
7935 * WordLangTuple (word, lang_code): return references to strings,
7940 * lyxtext.h: forward-declare WordLangTuple.
7945 * text.C: #include "WordLangTuple.h".
7948 * text.C: (selectNextWordToSpellcheck): constify return type.
7950 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
7956 * paragraph_pimpl.h:
7959 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7961 Made updateCounter always count from start of buffer, and removed
7962 second argument (par).
7963 Reverted floats number display to '#'. Perhaps I'll try again when the
7964 code base is sanitized a bit.
7966 2002-08-12 Angus Leeming <leeming@lyx.org>
7968 * buffer.[Ch] (getLabelList): constify.
7970 2002-08-07 André Pönitz <poenitz@gmx.net>
7972 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7974 * funcrequest.h: extension to keep mouse (x,y) position
7976 2002-08-12 Juergen Vigna <jug@sad.it>
7978 * BufferView2.C (insertErrors): forbid undo when inserting error
7981 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7983 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7985 * ParagraphList.[Ch]: new files
7987 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7989 * BufferView2.C (lockInset): ParagraphList changes
7992 * bufferlist.C: ditto
7996 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7998 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7999 unused class variable counter_,
8001 * paragraph.[Ch] (getFirstCounter): delete unused function
8003 * counters.C: include LAssert.h
8004 (reset): add a new function with no arg, change other version to
8005 not have def. arg and to not allow empty arg.
8007 * text2.C (setCounter): remove empty arg from call to Counters::reset
8009 2002-08-11 John Levon <levon@movementarian.org>
8011 * Makefile.am: add WordLangTuple.h
8013 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8015 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8016 lyxfunc.C lyxlex_pimpl.C: ws changes only.
8018 * insets/insettext.C: InsetList changes
8020 * graphics/GraphicsSupport.C (operator()): InsetList changes
8022 * toc.C (getTocList): InsetList changes
8024 * paragraph_pimpl.[Ch]: InsetList changes
8026 * paragraph.[Ch]: InsetList changes
8028 * buffer.C (inset_iterator): InsetList changes
8029 (setParagraph): ditto
8030 * buffer.h (inset_iterator): ditto
8031 * iterators.C (operator++): ditto
8032 * iterators.h: ditto
8034 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8036 * InsetList.[Ch]: new files, most InsetList handling moved out of
8039 * BufferView2.C (removeAutoInsets): InsetList changes
8041 (ChangeInsets): ditto
8043 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8045 * paragraph_pimpl.h (empty): new function
8047 * paragraph.[Ch] (empty): new function
8049 * other files: use the new Paragraph::empty function
8051 2002-08-09 John Levon <levon@movementarian.org>
8053 * lyxtext.h: remove unused refresh_height
8055 2002-08-09 John Levon <levon@movementarian.org>
8062 * paragraph.C: move sgml char escaping out of paragraph
8065 * paragraph.C: remove id setter
8069 * paragraph_pimpl.C: remove dead tex_code_break_column
8071 * bufferview_funcs.C: small cleanup
8073 * lyxfunc.C: remove dead proto
8075 * lyxtext.h: make some stuff private. Remove some dead stuff.
8077 * lyxgluelength.C: make as[LyX]String() readable
8079 2002-08-08 John Levon <levon@movementarian.org>
8084 * ToolbarDefaults.C:
8087 * toc.C: lyxaction cleanup
8089 2002-08-08 John Levon <levon@movementarian.org>
8091 * BufferView2.C: small cleanup
8094 * lyxfind.C: move unnecessary header into the .C
8096 2002-08-08 John Levon <levon@movementarian.org>
8098 * funcrequest.h: just tedious nonsense
8101 * lyx_main.C: cleanups
8104 * vspace.C: remove dead header lyx_main.h
8106 2002-08-07 Angus Leeming <leeming@lyx.org>
8109 * paragraph_pimpl.h:
8110 Forward declare class Counters in paragraph.h by moving the ctrs member
8111 variable into Paragraph::Pimpl.
8112 (counters): new method, returning a reference to pimpl_->ctrs.
8114 * text2.C: ensuing changes.
8116 2002-08-07 John Levon <levon@movementarian.org>
8118 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8120 * BufferView_pimpl.C: announce X selection on double/triple
8123 * lyx_main.C: use correct bool in batch dispatch
8125 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8127 2002-08-07 André Pönitz <poenitz@gmx.net>
8129 * funcrequest.h: new class to wrap a kb_action and its argument
8132 * BufferView_pimpl[Ch]:
8136 * lyxrc.C: subsequent changes
8139 2002-08-07 John Levon <levon@movementarian.org>
8141 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8142 document options change.
8144 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8149 * makefile.am: move counters functionality over from
8150 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8152 2002-08-06 John Levon <levon@movementarian.org>
8154 * WordLangTuple.h: new file for word + language code tuple
8165 * BufferView2.C: use WordLangTuple
8168 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8170 2002-08-06 John Levon <levon@movementarian.org>
8172 * lyx_main.C: fix cmdline batch handling
8174 2002-08-06 André Pönitz <poenitz@gmx.net>
8176 * lyxrc.C: set default for show_banner to true
8178 2002-08-06 John Levon <levon@movementarian.org>
8180 * pspell.C: fix a crash, and allow new aspell to work
8182 2002-08-06 John Levon <levon@movementarian.org>
8185 * kbmap.C: small cleanup
8188 * vspace.C: add const
8190 2002-08-05 John Levon <levon@movementarian.org>
8192 * LyXAction.C: back to tabular-insert
8194 2002-08-04 John Levon <levon@movementarian.org>
8197 * BufferView.C: cosmetic change
8199 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8209 * BufferView2.C: purge all "Lyx" not "LyX" strings
8212 * lyxcursor.C: attempt to add some documentation
8217 * ToolbarDefaults.C:
8218 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8219 merge with LFUN_TABULAR_INSERT
8226 * pspell.C: split up i/pspell implementations into separate
8227 files, many cleanups
8229 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8231 * text2.C: some cleanup
8233 * lyxfunc.C: don't check for isp_command == "none" any more, it
8234 didn't make any sense
8236 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8241 * makefile.am: move counters functionality over
8242 from text2.C/paragraph.[Ch] to counters.[Ch], and
8244 2002-08-02 John Levon <levon@movementarian.org>
8246 * buffer.C: s/lyxconvert/lyx2lyx/
8248 2002-08-02 Angus Leeming <leeming@lyx.org>
8250 * lyxlex.C: revert John's change as it breaks reading of the user
8253 2002-08-02 Angus Leeming <leeming@lyx.org>
8255 * importer.C (Import):
8256 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8257 changes due to LyXView::view() now returning a boost::shared_ptr.
8259 2002-08-02 John Levon <levon@movementarian.org>
8261 * lyxlex.C: small cleanup
8263 2002-08-02 John Levon <levon@movementarian.org>
8265 * text2.C (status): small cleanup, no logic change
8267 2002-08-01 John Levon <levon@movementarian.org>
8270 * buffer.C (writeFile): don't output alerts, caller
8274 * lyx_cb.C: from above
8276 * lyxfunc.C: allow to open non-existent files
8278 2002-07-31 John Levon <levon@movementarian.org>
8280 * lyxserver.C: don't let incidental errors get
8283 2002-07-30 John Levon <levon@movementarian.org>
8285 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8287 2002-07-30 John Levon <levon@movementarian.org>
8290 * lyxserver.C: remove I/O callback too
8292 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8294 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8297 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8299 * many files: strip,frontStrip -> trim,ltrim,rtrim
8301 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8303 * PrinterParams.h: remove extern containsOnly, and include
8304 support/lstrings.h instead.
8306 * LaTeX.C (scanAuxFile): modify because of strip changes
8308 * buffer.C (makeLaTeXFile): ditto
8309 * bufferparams.C (writeFile): ditt
8310 * lyxfont.C (stateText): ditto
8311 * lyxserver.C (read_ready): ditto
8312 * vc-backend.C (scanMaster): ditto
8314 * BufferView_pimpl.h: ws changes
8316 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8318 2002-07-26 André Pönitz <poenitz@gmx.net>
8320 * kb_sequence.C: remove unnedred usings
8322 2002-07-26 Juergen Vigna <jug@sad.it>
8324 * lyxfind.C (LyXReplace): we have to check better if the returned
8325 text is not of theLockingInset()->getLockingInset().
8327 2002-07-25 Juergen Vigna <jug@sad.it>
8329 * lyxfind.C (LyXReplace): don't replace if we don't get the
8332 * undo_funcs.C (createUndo): remove debugging code.
8334 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
8336 * buffer.C (parseSingleLyXformat2Token): Use default placement
8337 when reading old floats.
8339 * FloatList.C (FloatList): Change the default placement of figure
8340 and tables to "tbp".
8342 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
8344 * MenuBackend.C: using std::max
8346 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8348 * MenuBackend.C (expandToc):
8349 (expandToc2): code moved from xforms menu frontend. It is now
8350 generic and TOCs are transparent to menu frontends.
8352 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8354 * toc.C (getTocList): protect against buf=0
8356 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8357 Menu as first parameter. Now, this calls itself recursively to
8358 expand a whole tree (this will be useful for TOC handling)
8359 (expandFloatInsert): remove 'wide' version of floats
8361 * MenuBackend.h (submenuname): returns the name of the submenu.
8362 (submenu): returns the submenu itself, provided it has been
8363 created by MenuBackend::expand
8365 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8367 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8368 insets which have noFontChange == true. (bug #172)
8370 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8372 * BufferView_pimpl.C: add connection objects and use them...
8375 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8377 * MenuBackend.C (expandLastfiles):
8380 (expandFloatListInsert):
8381 (expandFloatInsert):
8382 (expand): split expand in parts
8384 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8386 * lyx_gui.C: use lyx_gui::exit()
8388 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8390 * LyXAction.C: show the failing pseudo action
8392 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
8394 * buffer.C (readFile): Run the lyxconvert script in order to read
8397 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8401 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8403 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8407 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8409 2002-07-22 Herbert Voss <voss@lyx.org>
8412 * lyxlength.[Ch]: add support for the vertical lengths
8414 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
8416 * toc.[Ch]: std:: fixes
8418 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8420 * lyxrc.C: do not include lyx_main.h
8422 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8428 * BufferView2.C: include "lyxlex.h"
8431 * bufferparams.h: do not #include "lyxlex.h"
8433 * lyxtextclasslist.C (Add): remove method
8434 (classlist): renamed to classlist_
8436 * paragraph_pimpl.C:
8440 * bufferview_funcs.C:
8445 * toc.C (getTocList): use BufferParams::getLyXTextClass
8447 * toc.C (getTocList): use InsetFloat::addToToc
8449 * toc.[Ch]: new files, containing helper functions to handle table
8452 * lyxfunc.C (dispatch): no need to remove spaces around command
8454 (getStatus): handle LFUN_SEQUENCE by returning the status of the
8455 first command of the sequence; it is not very clever, but I do not
8456 have a better idea, actually
8458 * LyXAction.C (LookupFunc): make sure to remove space at the
8459 beginning and end of the command
8461 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8463 * MenuBackend.C (getMenubar): new method: return the menubar of
8465 (read): treat differently reading of menu and menubar (in
8466 particular, the menubar has no name now)
8467 (Menu::menubar): remove
8469 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8472 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8474 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8475 a bibitem inset in a RTL paragraph.
8477 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
8479 * paragraph_pimpl.C: constify
8481 * BufferView_pimpl.C:
8483 * lyxfunc.C: fix dispatch in a nicer way
8485 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8487 * lyxfunc.C (dispatch):
8488 * BufferView_pimpl.C:
8489 * BufferView_pimpl.h:
8491 * BufferView.h: rename Dispatch() to dispatch()
8493 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8495 * lyxlayout.C (Read): honor DependsOn tag
8497 * lyxlayout.[Ch] (depends_on): new method
8499 * version.C.in: update lyx_docversion
8501 * LaTeXFeatures.C (getMacros): only define \LyX when needed
8503 * paragraph.C (validate): remove from here...
8504 * paragraph_pimpl.C (validate): ... and move here
8505 (isTextAt): make it const
8507 * buffer.C (getLists): ws cleanup
8509 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8511 * language.C (read): Use iso8859-1 encoding in latex_lang
8512 (this prevents LyX from crashing when using iso10646-1 encoding).
8514 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8516 * text2.C (toggleInset): if cursor is inside an inset, close the
8517 inset and leave cursor _after_ it
8519 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8521 * lyxfunc.C: move minibuffer completion handling out of here
8523 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8525 * BufferView_pimpl.C:
8526 * LaTeX.C: fix dispatch calls
8528 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
8530 * text.C (drawChars): Fix Arabic text rendering.
8532 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
8536 * lyxfunc.C: remove message-push/pop
8540 * lyxfunc.C: rationalise some code by removing verboseDispatch
8541 in favour of a bool argument to dispatch()
8543 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8545 * lyx_main.C (init): make sure to read symlinks as absolute paths
8547 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8550 * lyxfunc.C: no need for commandshortcut to be a member
8552 2002-07-15 André Pönitz <poenitz@gmx.net>
8554 * converter.C: add support for $$s (scripts from lib/scripts dir)
8555 * lyx_main.C: white space
8557 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8561 * lyxrc.C: remove second exit confirmation
8563 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8568 * BufferView_pimpl.h:
8569 * BufferView_pimpl.C:
8570 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8572 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8574 * MenuBackend.C (expand): add numeric shortcuts to document menu
8576 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8578 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8580 * lyxfont.C (setLyXFamily):
8587 * buffer.C (asciiParagraph): use ascii_lowercase
8589 2002-07-15 Mike Fabian <mfabian@suse.de>
8591 * lyxlex_pimpl.C (search_kw):
8592 * lyxlex.C (getLongString):
8593 * converter.h (operator<):
8594 * converter.C (operator<):
8595 * buffer.C (parseSingleLyXformat2Token):
8597 * ToolbarDefaults.C (read):
8598 * MenuBackend.C (checkShortcuts):
8600 * LColor.C (getFromGUIName):
8601 (getFromLyXName): use the compare_ascii_no_case instead of
8602 compare_no_case, because in turkish, 'i' is not the lowercase
8603 version of 'I', and thus turkish locale breaks parsing of tags.
8605 2002-07-16 Angus Leeming <leeming@lyx.org>
8607 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8608 now takes a Buffer const & argument.
8610 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
8612 * BufferView.C (resize): check there's a buffer to resize
8614 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
8616 * lyxfunc.C: remove dead code
8619 * lyxserver.C: use lyx_guii::set_read_callback
8621 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
8623 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8624 an inset in a RTL paragraph.
8626 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8628 * lyxfunc.C: repaint after a font size update
8630 2002-07-15 André Pönitz <poenitz@gmx.net>
8632 * lyxlength.C: inBP should be able to return negative values
8634 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8636 * lyxfunc.C: use lyx_gui::update_fonts()
8638 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8640 * lyxfunc.C: use lyx_gui::update_color()
8642 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8648 * lyxrc.C: remove file->new asks for name option, and let
8649 buffer-new take an argument
8651 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8653 * BufferView_pimpl.C: remove unneeded extra repaint()
8655 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
8657 * LyXAction.C: allow command-sequence with NoBuffer
8659 * lyxfunc.C: don't insist on trailing ';' for command-sequence
8661 2002-07-10 Angus Leeming <leeming@lyx.org>
8663 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8665 2002-07-09 Angus Leeming <leeming@lyx.org>
8667 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8669 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8671 * lengthcommon.h: whitespace
8673 * lyxfunc.C: update scrollbar after goto paragraph
8675 * lyxtext.h: factor out page break drawing, and fix it so
8676 page break/added space paints as selected nicely
8678 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8680 * BufferView_pimpl.C: add FIXMEs, clean up a little
8682 2002-07-09 André Pönitz <poenitz@gmx.net>
8684 * lyxfont.[Ch]: support for wasy symbols
8686 2002-07-08 André Pönitz <poenitz@gmx.net>
8688 * BufferView_pimpl.C: apply John's patch for #93.
8690 2002-07-05 Angus Leeming <leeming@lyx.org>
8692 * BufferView_pimpl.C (buffer): generate previews if desired.
8694 * LColor.h: add "preview" to the color enum.
8696 * LColor.C (LColor): add a corresponding entry to the items array.
8698 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8701 2002-07-05 Angus Leeming <leeming@lyx.org>
8703 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8704 The body of the code is now in the method that is passed an ostream &
8705 rather than a file name.
8706 Pass an additional only_preamble parameter, useful for the forthcoming
8709 2002-07-03 André Pönitz <poenitz@gmx.net>
8711 * lyxfunc.C: simplify getStatus() a bit for math stuff
8713 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8715 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8717 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8719 * text.C (changeRegionCase): do not change case of all the
8720 document when region ends at paragraph end (bug #461)
8722 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8724 * paragraph.C (startTeXParParams):
8725 (endTeXParParams): add \protect when necessary
8727 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8729 * BufferView_pimpl.C (workAreaExpose): remove warning
8731 2002-06-27 Angus Leeming <leeming@lyx.org>
8733 * Makefile.am: add lyxlayout_ptr_fwd.h.
8735 2002-06-26 André Pönitz <poenitz@gmx.net>
8737 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8739 2002-06-25 Angus Leeming <leeming@lyx.org>
8741 * lyxfunc.C (dispatch): Comment out the call to
8742 grfx::GCache::changeDisplay. The method no longer exists now that the
8743 pixmap generation part of the graphics loader has been moved into
8746 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8748 * text2.C: layout as layout
8750 * text.C: layout as layout
8752 * tabular.C (OldFormatRead): layout as layout
8754 * paragraph_pimpl.C (TeXDeeper): layout as layout
8755 (realizeFont): layout as layout
8757 * paragraph.C (writeFile): layout as layout
8758 (validate): layout as layout
8759 (getFont): layout as layout
8760 (getLabelFont): layout as layout
8761 (getLayoutFont): layout as layout
8762 (breakParagraph): layout as layout
8763 (stripLeadingSpaces): layout as layout
8764 (getEndLabel): layout as layout
8765 (getMaxDepthAfter): layout as layout
8766 (applyLayout): layout as layout
8767 (TeXOnePar): layout as layout
8768 (simpleTeXOnePar): layout as layout
8769 (TeXEnvironment): layout as layout
8770 (layout): layout as layout
8771 (layout): layout as layout
8773 * lyxtextclass.C (compare_name): new functor to work with
8774 shared_ptr, layout as layout
8775 (Read): layout as layout
8776 (hasLayout): layout as layout
8777 (operator): layout as layout
8778 (delete_layout): layout as layout
8779 (defaultLayout): layout as layout
8781 * lyxlayout_ptr_fwd.h: new file
8783 * lyxlayout.C (Read): layout as layout
8785 * lyx_cb.C (MenuInsertLabel): layout as layout
8787 * bufferlist.C (newFile): layout as layout
8789 * buffer.C (readLyXformat2): layout as layout
8790 (parseSingleLyXformat2Token): layout as layout
8791 (insertStringAsLines): layout as layout
8792 (asciiParagraph): layout as layout
8793 (latexParagraphs): layout as layout
8794 (makeLinuxDocFile): layout as layout
8795 (simpleLinuxDocOnePar): layout as layout
8796 (makeDocBookFile): layout as layout
8797 (simpleDocBookOnePar): layout as layout
8798 (getLists): layout as layout
8800 * LaTeXFeatures.C (getTClassPreamble): layout as layout
8802 * CutAndPaste.C (cutSelection): layout as layout
8803 (pasteSelection): layout as layout
8804 (SwitchLayoutsBetweenClasses): layout as layout
8806 * BufferView_pimpl.C (Dispatch): layout as layout
8807 (smartQuote): layout as layout
8809 * BufferView2.C (unlockInset): layout as layout
8811 2002-06-24 André Pönitz <poenitz@gmx.net>
8813 * lyxfunc.C: fix #487
8815 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8819 * lyxfunc.C: remove display_shortcuts, show_banner
8821 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8823 * Buffer_pimpl.C: oops, update on resize
8825 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8832 * BufferView.C: use repaint()
8834 * BufferView_pimpl.h:
8835 * BufferView_pimpl.C: s/updateScreen()/repaint()/
8836 as it's a clearer description. Remove superfluous
8839 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8841 * text.C: fix bug 488. Not ideal, but getting
8842 getWord() to work properly for the insets that
8843 matter is more difficult ...
8845 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8847 * BufferView_pimpl.C:
8850 * lyxfunc.C: remove the six million index lyxfuncs to just
8851 one, and DTRT (bug 458)
8853 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8857 * BufferView_pimpl.h:
8858 * BufferView_pimpl.C: clean up resize() stuff,
8859 and unnecessary updateScreen()s
8861 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8865 * BufferView_pimpl.h:
8866 * BufferView_pimpl.C:
8869 * minibuffer.C: remove focus management of workarea,
8870 not needed. Use screen's greyOut()
8872 2002-06-17 Herbert Voss <voss@lyx.org>
8874 * converter.C: (convert) do not post a message, when converting
8875 fails, let the calling function decide what to do in this case
8877 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
8879 * lyxfunc.C: tidy up a little
8881 2002-06-16 <alstrup@diku.dk>
8883 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8884 Got rid of FORMS_H_LOCATION include. Now we are
8887 2002-06-15 LyX Development team <lyx@rilke>
8889 * buffer.[Ch] (sgmlOpenTag):
8890 (sgmlCloseTag): Added support for avoiding pernicious mixed
8891 content. Return number of lines written.
8894 (makeDocBookFile): Fixed calls to sgml*Tag.
8895 Simple white space clean.
8897 (simpleDocBookOnePar): Simple white space clean.
8899 * tabular.[Ch] (docBook): Renamed to docbook and got another
8900 argument to related with the pernicious mixed content.
8902 (docbookRow): Fixed calls for docbook inset method.
8904 2002-06-15 Lyx Development team <larsbj@birdstep.com>
8906 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8907 so it's X11 independent.
8911 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8913 2002-06-15 Lyx Development team <lyx@electronia>
8915 * intl.h: Renamed getTrans to getTransManager.
8917 2002-06-14 Angus Leeming <leeming@lyx.org>
8919 * Makefile.am: nuke forgotten stl_string_fwd.h.
8921 2002-06-12 Angus Leeming <leeming@lyx.org>
8923 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8925 2002-06-13 Angus Leeming <leeming@lyx.org>
8928 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8930 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
8932 * kbmap.C (getiso): add support for cyrillic and greek
8934 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8938 * BufferView_pimpl.h:
8939 * BufferView_pimpl.C: move bogus scrolling logic
8942 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8945 * BufferView_pimpl.C: view->resize() change
8947 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8949 * BufferView_pimpl.C: topCursorVisible
8952 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8956 * lyx_gui.C: move to frontends/
8960 * lyx_main.C: changes from above
8962 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8969 * lyx_main.C: minor tidy
8971 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8973 * BufferView_pimpl.h:
8974 * BufferView_pimpl.C:
8976 * BufferView.C: make painter() const,
8979 * BufferView2.C: use screen() accessor
8982 * lyx_main.C: some minor cleanup
8984 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8986 * BufferView_pimpl.h:
8987 * BufferView_pimpl.C: remove enter/leaveView,
8990 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8995 * BufferView_pimpl.h:
8996 * BufferView_pimpl.C: only construct screen once,
8999 * lyxrc.C: remove pointless comment
9001 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9004 * BufferView.C: remove active() and belowMouse()
9006 * BufferView_pimpl.h:
9007 * BufferView_pimpl.C: use workarea() not workarea_,
9008 and make it use a scoped_ptr instead
9010 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9012 * lyx_gui.C: add debug message on BadWindow
9014 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9016 * sp_spell.C: fdopen is not part of the C++ standard.
9018 * paragraph.C (InsetIterator): use >= instead of ==
9020 2002-06-07 Angus Leeming <leeming@lyx.org>
9022 Fixes needed to compile with Compaq cxx 6.5.
9023 * BufferView_pimpl.C:
9030 * lyxtextclasslist.C:
9035 all c-library variables have been moved into namespace std. Wrap
9036 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9041 Add a using std::abs declaration.
9043 * kbmap.h (modifier_pair):
9044 * paragraph.h (InsetTable, InsetList):
9045 * lyxfont.h (FontBits):
9046 type definition made public.
9048 * bufferlist.C (emergencyWriteAll): the compiler complains that
9049 there is more than one possible lyx::class_fun template to choose from.
9050 I re-named the void specialisation as lyx::void_class_fun.
9052 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9054 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9055 the compiler is is unable to find tostr in write_attribute.
9057 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9059 * buffer.C (sgmlError): hide #warning
9061 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9063 * xtl/*: get rid of xtl, which is not in use anyway
9065 * LyXAction.C (init):
9066 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9067 were unimplemented xtl experimentation
9069 2002-06-04 André Pönitz <poenitz@gmx.net>
9071 * lyxfunc.C: disable array operation on simple formulae
9073 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
9075 * converter.C: constify a bit
9077 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
9079 * lyx_gui.C: check xforms version correctly
9081 2002-04-30 Herbert Voss <voss@lyx.org>
9083 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9086 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
9088 * lyxvc.C: fix bug 416 (make sure buffer is saved before
9089 attempt to register it with a VCS)
9091 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9093 * lyx_main.C (init): honor variables LYX_DIR_13x and
9096 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9100 * lyx_main.C: fix a crash on bad command line,
9101 and give a useful exit status on error
9103 * lyxfunc.C (doImport): allow -i lyx to work
9105 2002-03-30 André Pönitz <poenitz@gmx.net>
9107 * lyxfunc.C: mathed font changes
9109 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9124 * trans_mgr.h: srcdocs, and some minor cleanups
9126 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9128 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9129 call getFont all the time)
9131 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9133 * switch from SigC signals to boost::signals
9135 2002-05-29 André Pönitz <poenitz@gmx.net>
9137 * paragraph_pimpl.C (getChar): don't call size() too often...
9139 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9141 * paragraph_pimpl.C (insertChar): do not try to update tables when
9142 appending (pos == size())
9144 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9145 in order to reduce drastically the number of comparisons needed to
9146 parse a large document
9148 2002-05-29 André Pönitz <poenitz@gmx.net>
9154 * textclasslist.[Ch]:
9155 * sp_ispell.h: whitespace change
9157 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9159 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9160 lyxaction directly now.
9162 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
9166 * lyxvc.C: remove unused headers
9168 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9175 * undo_funcs.C: some cleanups. Use shared_ptr
9176 and a template for the undo stacks.
9178 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9180 * BufferView_pimpl.h:
9181 * BufferView_pimpl.C:
9188 * text2.C: use key_state/mouse_state
9190 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9192 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9195 * chset.C: change include order
9196 (loadFile): use boost regex and get rid of LRegex and LSubstring
9198 * Makefile.am (BOOST_LIBS): new variable
9201 * LaTeX.C: change include order.
9202 (scanAuxFile): use boost regex and get rid of LRegex and
9206 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9211 * FontInfo.C: moved to frontends/xforms/
9214 * FontLoader.C: moved into frontends for GUIIzation
9219 * lyxfunc.C: changes from above
9221 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9223 * LColor.C: remove spurious X include
9225 * BufferView_pimpl.C:
9230 * text2.C: move font metrics to frontends/
9232 2002-05-24 Juergen Vigna <jug@sad.it>
9234 * undo_funcs.C (textHandleUndo): fix the cursor selection after
9235 setting the undo_cursor.
9237 * ParagraphParameters.h: include local includes first.
9239 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9241 * BufferView_pimpl.C:
9242 * BufferView_pimpl.h:
9246 * screen.C: move WorkArea into frontends/
9252 * BufferView2.C: move LyXScreen into frontends/
9256 * lyx_gui.C: move lyxlookup into frontends/xforms/
9258 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9261 * BufferView_pimpl.C:
9271 * bufferview_funcs.C:
9284 * vc-backend.C: move LyX/XFormsView into frontends/
9286 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9298 * text2.C: move Painter to frontends/
9300 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9302 * buffer.C: comment out some some code that depend upon lyx_format
9305 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9306 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9308 * buffer.h (NO_COMPABILITY): turn off compability
9310 * ColorHandler.C: include scoped_array.hpp
9312 * font.C: Use more specific smart_ptr header.
9315 * ShareContainer.h: ditto
9319 * BufferView_pimpl.h: ditto
9320 * ColorHandler.h: ditto
9322 * kbmap.C (defkey): change call to shared_ptr::reset
9324 2002-05-21 Juergen Vigna <jug@sad.it>
9326 * buffer.C (insertErtContents): fix to insert ert asis if it is
9327 non empty. Skip it completely if it contains only whitespaces.
9329 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
9331 * BufferView_pimpl.C:
9332 * BufferView2.C: clear selection on paste (bug 393)
9334 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9336 * DepTable.C: include ctime
9338 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
9340 * buffer.C (latexParagraphs): Add new argument (moving_arg).
9342 2002-05-14 Juergen Vigna <jug@sad.it>
9344 * text.C (breakParagraph): fixed function to honor the keepempty
9345 layout in the right maner and also to permit the right breaking
9346 algorithm on empty or non empyt keepempty paragraphs.
9348 * paragraph.C (breakParagraph): we have to check also if the par
9349 is really empty (!size()) for isempty otherwise we do the wrong
9352 2002-05-10 Juergen Vigna <jug@sad.it>
9354 * buffer.[Ch] : The following are only changes to the ert
9355 compatibility read reading old LaTeX layout and font stuff and
9356 convert it to ERTInsets.
9358 * buffer.h: added isErtInset().
9360 * buffer.C (struct ErtComp): add a fromlayout bool to check
9361 if we're inside a LaTeX layout.
9362 (isErtInset): new helper function.
9363 (insertErtContents): look for other ert insets before this one
9364 and insert the contents there, so that we don't have subsequent
9365 ERT insets with nothing between them. This way we create only one
9366 inset with multiple paragraphs. Also check if we don't insert only
9367 spaces ' ' as they are ignored anyway afterwards in the .tex file
9368 so if we have only spaces we will ignore this latex part in the
9370 (parseSingleLyXformat2Token \\layout): better compatibility when
9371 reading layout-latex stuff.
9372 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9374 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9375 stuff after reading the inset only get the information back from
9378 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
9380 * buffer.C (makeLaTeXFile): Put language options after loading babel.
9382 * LaTeXFeatures.C (getBabelOptions): New method.
9384 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9386 * BufferView_pimpl.C (Dispatch): work around missing argument for
9389 2002-05-08 Juergen Vigna <jug@sad.it>
9391 * text.C (leftMargin): handle paragraph leftindent.
9393 * paragraph.C (writeFile): write the new \\leftindent tag.
9394 (validate): handle leftindent code.
9395 (TeXEnvironment): handle paragraphleftindent code again.
9397 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9399 * buffer.C (parseSingleLyXformat2Token): added compatibility code
9400 for paragrap_extra indent code and new token \\leftindent.
9401 (latexParagraphs): handle the leftindent as environment.
9403 * ParameterStruct.h: added leftindent support.
9405 * ParagraphParameters.C (leftIndent): added support functions for
9406 the paragraph left indent.
9408 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9411 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
9413 * paragraph.C (isRightToLeftPar): Return false for a paragraph
9416 * text.C (computeBidiTables): No bidi in insetERT.
9418 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9421 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9423 * version.C.in: pre 5
9425 2002-05-02 José Matos <jamatos@fep.up.pt>
9426 * buffer.C (makeDocBookFile): white space changes, add newline to
9428 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9430 * tabular.C (docBook): fix typo.
9432 2002-05-03 Juergen Vigna <jug@sad.it>
9434 * screen.C (drawFromTo): recalculate the rowpointer if we had a
9435 change in LyXText as we can not be sure it was not freed.
9436 (drawOneRow): remove unused code.
9438 * text.C (drawInset): redo the calculation of the need_break_row as
9439 it could have a row which was already freed.
9440 (draw): look at the return value of drawInset and return false if
9441 it also returned false.
9442 (paintRowText): look at the return value of draw and return false if
9443 it also returned false.
9445 * lyxtext.h: added bool return type to drawInset() and draw() so that
9446 if we have a change in the row so that the rowbreak has to be redone
9447 we abort drawing as it will be called again.
9449 2002-05-02 Juergen Vigna <jug@sad.it>
9451 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9452 a change in the maintext also if we're inside an inset.
9453 (Dispatch): set the cursor again after a break line and after the
9454 screen has been updated as it could be we're in a different row.
9456 * text2.C (fixCursorAfterDelete): check to make sure we don't request
9457 to set the cursor behind the pargraph with > size().
9458 (setCursor): check also for the same paragraph when checking where
9459 to put the cursor if we have a NFR inset.
9461 * buffer.C (parseSingleLyXformat2Token): move the compatibility
9462 parts of layout read further up as it still was in the wrong
9465 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9467 * screen.C (drawFromTo): change sine fullRebreak always return
9470 * buffer.C (parseSingleLyXformat2Token): reindent some
9472 * BufferView_pimpl.C (update): change since fullRebreak always
9474 (Dispatch): git rid of the last hardcoded "Standard"s.
9476 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9478 * text2.[Ch] (fullRebreak): make it return void now that we always
9481 2002-04-30 Juergen Vigna <jug@sad.it>
9483 * buffer.C (parseSingleLyXformat2Token): reset the font before the
9484 ert compatibility check for "latex" layout.
9486 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
9488 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9489 minipages: use col% instead of p%, and also use the current font.
9490 (makeLaTeXFile): Fix use babel condition.
9491 (parseSingleLyXformat2Token): Correct font when reading old floats.
9493 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
9495 * BufferView_pimpl.C (Dispatch): Check that float type exists when
9496 inserting list of floats.
9498 2002-04-25 Herbert Voss <voss@lyx.org>
9500 * MenuBackend.C (expand): don't add the graphics extensions to the
9503 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9505 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9506 non-existing layout, do not complain if it was the default layout
9507 of the original class (bug #342)
9509 2002-04-24 Juergen Vigna <jug@sad.it>
9511 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9512 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9514 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
9516 * buffer.C (getBibkeyList): If using \bibliography, return the
9517 option field with the reference itself. Enables us to provide natbib
9518 support when using \bibliography.
9520 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
9522 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9524 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9525 natbib is provided by the LaTeX class.
9527 2002-04-23 Juergen Vigna <jug@sad.it>
9529 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9532 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9534 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9536 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9538 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9539 ensuremath around textordmasculine, textordfeminine and
9542 2002-04-19 Juergen Vigna <jug@sad.it>
9544 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9545 reinitializing the buffer otherwise row-dimensions may be wrong.
9546 (update): reset also the selection cursors if they do exits otherwise
9547 their x/y positions may be wrong.
9549 * text2.C (cursorDown): don't enter the inset if we came from a row
9550 above and are one row over the inset.
9552 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9553 really leaving an inset.
9555 2002-04-18 Juergen Vigna <jug@sad.it>
9557 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9558 of the selected paragraph does not have the selected layout also if
9561 * text2.C (setLayout): fixed bug which did not change last selected
9564 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9565 changed the read and substituted \\end_float with \\end_inset!
9567 * BufferView_pimpl.C (cursorPrevious):
9568 (cursorNext): fixed to make it work with rows heigher than the work
9569 area without moving the cursor only the draw of the row.
9570 (workAreaMotionNotify): fix jumping over high rows.
9572 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9574 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9577 2002-04-16 Juergen Vigna <jug@sad.it>
9579 * text2.C (setCursor): set also the irow().
9580 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9582 (cursorDown): support for locking an inset if the x_fix value goes
9583 inside it. That way I can transverse insets too with cursor up/down.
9585 * lyxrow.h: added irow helper function same as other (i) functions.
9587 * BufferView_pimpl.C (cursorPrevious):
9588 (cursorNext): fixed for insets!
9590 2002-04-15 Juergen Vigna <jug@sad.it>
9592 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9593 position otherwise it is wrong in some cases.
9595 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9596 inside the inset before the call.
9598 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
9600 * buffer.[Ch] (getBibkeyList): make it const.
9602 2002-04-12 Juergen Vigna <jug@sad.it>
9604 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9606 * text2.C (getCursorX): new helper function
9607 (setCursor): compute also ix_
9608 (setCursorFromCoordinates): set also ix.
9610 * lyxcursor.h: added ix_ and helper functions.
9612 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9614 * buffer.C (insertStringAsLines): dont break paragraph if the this
9615 paragraph is inside an inset which does not permit it!
9617 * text.C (breakParagraph): honor keepempty flag and break the paragraph
9618 also with no chars on this paragraph.
9619 (paintRowText): only paint stuff if it's inside the workarea!
9621 * paragraph.C (breakParagraph): honor keepempty flag and break the
9622 paragraph always below not above.
9624 * BufferView2.C (unlockInset): update the paragraph layout on inset
9625 unlock as we changed paragraph in such a case.
9627 * lyxfind.C (LyXFind): clear the former selection if not found!
9629 * text2.C (insertInset): freeze Undo after setUndo so that it is not
9630 again called in insertChar().
9632 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9633 an inset which uses the whole row!
9634 (rightMargin): ditto.
9635 (insertChar): force a rebreak if we inserted an inset!
9637 2002-03-28 Herbert Voss <voss@lyx.org>
9639 * lyxlength.[Ch]: add inBP() to get the right PS-point
9640 units (BigPoint). With inPixels we have rounding errors
9642 2002-04-11 Juergen Vigna <jug@sad.it>
9644 * text2.C (setCursorFromCoordinates): set iy to the right value.
9645 (setCursor): add check if row->previous exists!
9647 * buffer.C (parseSingleLyXformat2Token): reset font after read of
9648 an old float_type as this was the case in the old code!
9650 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9652 * BufferView2.C (showLockedInsetCursor): use iy
9653 (fitLockedInsetCursor): ditto
9655 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9656 locked insets as there we have the right value now.
9658 * lyxcursor.C: added iy_ variable and iy functions to set to the
9659 baseline of cursor-y of the locked inset.
9661 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9662 (setCursor): fixed for insets which need a full row.
9664 * text.C (rowLastPrintable): don't ignore the last space when before
9665 an inset which needs a full row.
9666 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9667 as last character of a row when before a inset which needs a full row.
9669 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9671 * version.C.in: update date
9673 * text2.C (fullRebreak): try to always return true and see what
9676 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9678 * MenuBackend.C (expand): use Floating::listName
9680 * FloatList.C (FloatList): add listName argument to the built-in
9683 * Floating.[Ch]: add listName member, which is the 'List of XXX'
9684 text associated with the float.
9686 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9688 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9690 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9692 * ShareContainer.h: add a couple of missing typenames.
9694 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
9696 * lyxrc.C (getDescription): use _() correctly rather than N_().
9698 2002-03-28 Herbert Voss <voss@lyx.org>
9700 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9701 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9703 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9705 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9706 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9708 2002-03-29 Juergen Vigna <jug@sad.it>
9710 * lyxfunc.C (dispatch): add a missing fitCursor call.
9712 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9713 it was scrolled by a cursor move, so return the bool status.
9715 * BufferView.C (fitCursor): return the bool flag also to the outside
9716 world as this is needed.
9718 * screen.C (toggleToggle): don't subtract the offset if it's positive.
9720 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9721 call the edit() as it is not needed (and wrong) IMO.
9722 (workAreaButtonPress): set the screen_first variable before evt.
9723 unlock the inset as this may change screen_first and then we have
9724 a wrong y position for the click!
9726 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9728 * MenuBackend.C (expand): another translation that I missed
9730 2002-03-28 Juergen Vigna <jug@sad.it>
9732 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9734 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9736 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9738 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9740 * MenuBackend.C (expand): fix export/view/update when there is no
9743 2002-03-27 Herbert Voss <voss@lyx.org>
9745 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9748 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9750 * bufferview_funcs.C (currentState): only show paragraph number
9751 for is DEVEL_VERSION is set.
9753 * lyxfunc.C (dispatch): put warning in INFO channel
9755 * MenuBackend.C (expand): translate the name of floats
9757 * FloatList.C (FloatList): mark the float names for translation
9759 * converter.C (convert): use LibScriptSearch
9761 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9763 * MenuBackend.C (defaults): fix default menu (we might as well get
9766 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9768 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9771 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9773 * lyxvc.C: reorder includes.
9775 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
9777 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9780 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
9782 * CutAndPaste.C: change layouts earlier on paste
9783 to avoid crashing when calling getFont()
9785 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
9787 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9790 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9792 * WorkArea.C: remove 'Pending' debug message.
9794 * most files: ws cleanup
9796 * buffer.[Ch]: ws changes
9798 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9800 2002-03-21 Juergen Vigna <jug@sad.it>
9802 * tabular.C (SetMultiColumn): collapse also the contents of the
9803 cells and set the last border right. Added a Buffer const * param.
9805 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9807 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9810 2002-03-19 Juergen Vigna <jug@sad.it>
9812 * text2.C (clearSelection): reset also xsel_cache.
9814 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9815 where it needs to be called (John tells us to do so too :)
9816 (selectionLost): reset sel_cache.
9818 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9820 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9822 * text2.C (setCursorIntern): put debuging code in INSETS channel
9824 2002-03-19 André Pönitz <poenitz@gmx.net>
9826 * lyxfunc.C: tiny whitespace change
9828 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9830 * ToolbarDefaults.C (init):
9831 * LyXAction.C (init):
9833 * BufferView_pimpl.C (Dispatch):
9834 * lyxfunc.C (dispatch): remove LFUN_DEPTH
9836 2002-03-19 Allan Rae <rae@lyx.org>
9838 * exporter.C (Export): removeAutoInsets before doing anything else.
9839 While I've just introduced a dependency on BufferView this really is
9840 the best place to clean the buffer otherwise you need to cleanup in
9841 a dozen places before calling export or cleanup in a dozen functions
9844 * converter.C (runLaTeX):
9845 (scanLog): Better handling of removeAutoInsets and screen updates.
9847 * lyxfunc.C (dispatch): small whitespace changes
9849 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9851 * WorkArea.C (C_WorkAreaEvent): return a value.
9852 (event_cb): return 1 if we handled the event, 0 otherwise.
9854 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9856 2002-03-18 Juergen Vigna <jug@sad.it>
9858 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9859 (GetAdditionalWidth): ditto.
9863 * BufferView2.C (copy): use getLyXText() so that we do it inside an
9864 inset if we're there actually (probably not used right now but this
9865 is the direction to go for unifying code).
9866 (paste): disable code to clear the selection.
9868 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9869 inside an InsetText and move the check further up as it is in the
9872 * text2.C (pasteSelection): set a selection over the pasted text.
9874 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
9876 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9877 and libgraphics to build on Cygwin.
9879 2002-03-15 Juergen Vigna <jug@sad.it>
9881 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9882 inserting an Inset into the paragraph. I know this is not the best
9883 fix but we already use current_view in CutAndPaste so we will remove
9884 all of it's using at the same time.
9886 * buffer.C (sgmlError): deactivated function till it is rewritten in
9887 the right mode, now it can create problems.
9889 * paragraph.C (isLineSeparator): check if getInset returns != 0,
9890 before accessing it.
9892 2002-03-14 Juergen Vigna <jug@sad.it>
9894 * undo_funcs.C (textHandleUndo): do the right thing when updating
9895 the inset after the undo/redo.
9897 * text2.C (setCursor): just some testcode for #44 not ready yet.
9899 * undo_funcs.C (textHandleUndo): set the next() and previous()
9900 pointers of the paragraph to 0 before deleting otherwise we have
9901 problems with the Paragraph::[destructor].
9903 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9904 on a paragraph insertion.
9906 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9908 * buffer.C (asciiParagraph): use += operator for char append to
9911 * paragraph.C (getFontSettings): compare >= not just >
9912 (highestFontInRange): ditto
9915 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9917 * paragraph.C: change several algorithm to be more appripriate for
9918 the problem domain. This is lookip in FontList and in the InsetList.
9920 2002-03-13 André Pönitz <poenitz@gmx.net>
9923 * LyXAction.C: remove unused LFUN_MATH_MACROARG
9925 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
9930 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9932 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9934 * Painter.C (display): anon helper function, adjust code for this
9936 (pixmap): remove function.
9938 * Painter.h: remove private display variable.
9940 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9942 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
9944 * WorkArea.[Ch]: remove figinset_canvas cruft.
9946 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9948 * lyxtextclass.C (operator): add one item cache optimization.
9950 * bufferlist.h: doxy changes
9952 * bufferlist.C: ws changes
9954 * DepTable.[Ch] (ext_exist): place const in the right spot.
9956 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9958 (workAreaExpose): call resizeInsets when the with BufferView changes.
9959 (Dispatch): adjust for protectedBlank removal
9960 (specialChar): call updateInset if the insert went ok.
9962 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9963 specialChar instead.
9965 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9967 * BufferView.h: doxy change
9969 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9971 * lyxtextclass.C (operator[]): remove non-const version
9972 (defaultLayout): remove non-const version
9974 2002-03-12 Juergen Vigna <jug@sad.it>
9976 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9977 did resize the LyXText too.
9979 * buffer.C (readLyXformat2): set layout information on newly allocated
9982 * tabular.C (OldFormatRead): set layout information on the paragraph.
9984 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9986 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9988 2002-03-11 Juergen Vigna <jug@sad.it>
9990 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9992 (resizeCurrentBuffer): force also the insets to resize themselfes.
9993 (moveCursorUpdate): fixed up for InsetText.
9995 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
9998 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9999 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10000 value of Dialogs::tooltipsEnabled().
10001 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10003 2002-03-08 Juergen Vigna <jug@sad.it>
10005 * BufferView_pimpl.C (updateInset): update inset inside inset also
10006 if it isn't inside theLockingInset().
10008 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10010 * buffer.C (asciiParagraph): redo some of the word and line length
10012 (getLists): look for Caption instead of caption.
10014 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10016 * buffer.C (Buffer): initialize niceFile to true
10018 (makeLinuxDocFile):
10019 (makeDocBookFile): make sure niceFile is true on exit
10021 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10023 * buffer.C (makeLaTeXFile): escape ~ in \input@path
10025 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
10027 * LyXSendto.C: remove.
10028 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10029 * lyx_gui.C: remove now-redundant comment.
10030 * ColorHandler.h: remove forward declaration of class WorkArea.
10031 * lyxfunc.C: remove #include "WorkArea.h".
10033 2002-03-07 Juergen Vigna <jug@sad.it>
10035 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10036 got moved away with the DEPM and also set the inset_owner always
10037 right which before could have been omitted.
10039 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10041 * buffer.C (parseSingleLyXformat2Token): use default layout is the
10042 wanted layout is not found.
10044 2002-03-07 Juergen Vigna <jug@sad.it>
10046 * CutAndPaste.C (cutSelection): another layout settings forgotten.
10048 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10050 * paragraph.C (breakParagraph): use default layout not layout of
10052 (Paragraph): clear ParagraphParameters.
10054 2002-03-06 Juergen Vigna <jug@sad.it>
10056 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10057 otherwise it would not be a valid lenght. Fixed a special case in
10058 the minipage compatibility read where we end the document with a
10061 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10062 was set as it could be 0 for InsetTexts first entry.
10064 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10066 * paragraph.C (writeFile): if layout is empty write out
10067 defaultLayoutName().
10069 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10070 file without named layout we set layout to defaultLayoutName().
10072 2002-03-06 Juergen Vigna <jug@sad.it>
10074 * CutAndPaste.C (copySelection): set layout for new paragraph.
10076 * text.C (prepareToPrint): leave ERT inset left aligned
10077 (leftMargin): don't indent paragraphs inside ERT insets
10079 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10081 * paragraph.C (breakParagraph): dont call clear do the work manually
10083 * paragraph.[Ch] (clear): remove function
10085 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10087 * paragraph.C (Paragraph): dont call clear, the work has already
10090 * lyxtextclass.C (operator): assert if n is empty
10092 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10093 work manually instead.
10095 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10097 * BufferView_pimpl.C: protect selectionLost against text == 0
10099 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10101 * text.C (breakParagraph): fix a setting layout to '0' problem.
10103 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10105 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10106 final location of file, for the included files, and graphics.
10108 2002-03-05 Juergen Vigna <jug@sad.it>
10110 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10112 2002-03-04 Juergen Vigna <jug@sad.it>
10114 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10116 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10117 last column of multicolumn cells.
10118 (SetWidthOfMulticolCell): recalculate NMC and real columns.
10120 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
10122 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10123 file if it doesn't go to a temporary file.
10125 * buffer.C (sgmlOpenTag):
10126 (sgmlCloseTag): remove extra newline insertion.
10128 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10130 * text.C (getRowNearY): comment out debug msg
10132 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10134 * text2.C: first -> first_y
10136 * text.C (getRowNearY): add some attemts at a possible
10137 optimization, not working.
10139 * tabular.[Ch]: add BufferParams to several function so that newly
10140 created paragraph can be initialized to he default layotu for the
10143 * tabular-old.C (ReadOld): add buf->params to call of Init
10145 * screen.C: rename text->first to text->first_y
10147 * paragraph.C (breakParagraph): always set layout in the broken
10150 * lyxtextclass.C (Read): remove lowercase
10153 (delete_layout): ditto
10155 * lyxtext.h: rename first -> first_y
10157 * lyxlayout.C (Read): remove lowercase
10160 (obsoleted_by): ditto
10162 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10164 * buffer.C (insertErtContents): add params are to InsetERT
10165 (parseSingleLyXformat2Token): add code to check if a paragraphs
10166 layout really exist.
10167 (parseSingleLyXformat2Token): add params to several inset
10169 (asciiParagraph): remove lowercase, do the layout comparisons with
10172 * BufferView_pimpl.C (cursorNext): first -> first_y
10173 (resizeCurrentBuffer): first -> first_y
10174 (updateScrollbar): first -> first_y
10175 (scrollCB): first -> first_y
10176 (workAreaMotionNotify): first -> first_y
10177 (workAreaButtonPress): first -> first_y
10178 (checkInsetHit): first -> first_y
10179 (cursorPrevious): first -> first_y
10180 (cursorNext): first -> first_y
10181 (Dispatch): add buffer_->params to severl inset contructors
10183 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10185 * lyxlayout.C (Read): remove some debug info that I forgot.
10187 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10188 clean up the code slightly.
10189 (makeLinuxDocFile): ditto
10190 (makeDocBookFile): ditto
10192 * text2.C: layout as string
10194 * text.C: layout as string
10196 * paragraph_pimpl.C: layout as string
10198 * paragraph.[Ch]: layout as string
10200 * lyxtextclasslist.[Ch]: layout as string
10202 * lyxtextclass.[Ch]: layout as string
10204 * lyxtext.h: layout as string
10206 * lyxlayout.[Ch]: layout as string
10208 * lyx_cb.C: layout as string
10210 * bufferview_funcs.C: layout as string
10212 * bufferparams.C: layout as string
10214 * buffer.C: layout as string
10216 * LyXView.[Ch]: layout as string
10218 * LaTeXFeatures.[Ch]: layout as string
10220 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10222 * BufferView_pimpl.C: change current_layout to string, remove
10227 (workAreaButtonRelease): layout as string
10229 * BufferView2.C (unlockInset): adjust
10231 * vspace.C (asLatexCommand): use an explict temp variable.
10233 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10235 * Makefile.am: use FRONTEND_*
10237 2002-03-01 Juergen Vigna <jug@sad.it>
10239 * tabular.C (SetWidthOfMulticolCell): changed to something better
10240 I hope but still work in progress.
10241 (recalculateMulticolumnsOfColumn): renamed function from
10242 recalculateMulticolCells as it is more appropriate now.
10243 (SetWidthOfCell): calculate multicols better.
10245 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10247 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10249 * lyxfunc.C (processKeySym): print sequence also if it is
10250 `deleted' (complete)
10252 * kbsequence.C (print): print sequence even if it is deleted
10253 (complete would be a better word, actually).
10255 * lyxfunc.C (dispatch): print complete options after a prefix key
10257 * vspace.C (asLatexCommand): rewrite in a slightly different form.
10259 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
10261 * text2.C (setCharFont): eliminate setCharFont code duplication.
10263 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10265 * BufferView_pimpl.C (Dispatch): remove bogus handling of
10266 LFUN_TABULAR_FEATURE (bug #177)
10268 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
10270 * Makefile.am: remove figure.h
10272 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
10274 * Bufferview_pimpl.C:
10286 * text2.C: remove #include "lyx_gui_misc.h".
10288 * LaTeX.C: added #include <cstdio>
10290 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10292 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10293 that the paragraph following this one can have.
10295 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10297 * vspace.C (asLatexCommand): fix bogus gcc warning
10299 * Makefile.am (lyx_SOURCES): remove vms_defines.h
10301 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
10303 * text2.C (setLayout): get rid of redundant code
10305 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
10307 * text2.C (incDepth): make sure depth cannot be increased beyond
10310 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
10312 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10313 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10315 * PainterBase.h (image):
10316 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10317 a LyXImage const *.
10319 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10323 * BufferView_pimpl.C:
10324 * BufferView_pimpl.h:
10344 * sp_spell.C: remove fig inset, and the crap house of
10345 cards that follows it
10347 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10352 * os2_errortable.h:
10353 * nt_defines.h: move .h into support/
10355 * vms_defines.h: remove
10357 * WorkArea.C: add space in debug output
10361 * buffer.C: add WITH_WARNINGS
10365 * bufferlist.C: s/retrive/retrieve/, add docs
10374 * chset.C: add docs
10376 * lyxgui.C: add ID to X error handler
10378 * lyxtestclass.c: fix typo
10380 2002-02-26 Juergen Vigna <jug@sad.it>
10382 * tabular_funcs.C (write_attribute): changed so that some default
10383 attributes are not written at all.
10384 (getTokenValue): set default values before trying to read the
10385 value so we have the return value always set as default if we don't
10386 find the token we search for.
10388 * tabular.C (Write): write bools as bools not as strings!
10390 2002-02-22 Juergen Vigna <jug@sad.it>
10392 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10393 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10395 * text.C (leftMargin): don't add an indent for paragraphs inside
10396 tabular cells (fix #208).
10398 2002-02-21 José Matos <jamatos@fep.up.pt>
10400 * tabular.C (docBook): fixed support for long tables.
10402 2002-02-20 Juergen Vigna <jug@sad.it>
10404 * text2.C (getFont): get the drawing font of the Inset if this
10405 paragraph is inside an inset (only important for InsetERT for now).
10407 * buffer.C (insertErtContents): use new lanugage params in ERT
10410 * CutAndPaste.C: commenting out seemingly uneeded code.
10412 2002-02-19 Allan Rae <rae@lyx.org>
10414 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10415 Iterators might be simple to use but they also get invalidated.
10416 (removeAutoInsets): renamed saved cursor tracking variables and added
10417 some comments to clarify what everything does.
10419 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
10426 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10427 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10430 * vc-backend.h: remove #include "support/syscall.h"
10434 * converter.C: rearrange #includes in Lars' approved fashion.
10436 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10437 forward declare class Timeout in the header file.
10439 * XFormsView.C: changes due to the above.
10441 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10442 similar to LyXView.
10444 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10445 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10447 2002-02-18 José Matos <jamatos@fep.up.pt>
10449 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10452 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10454 * a lot of small ws changes
10455 * add a lot of using std::XXX
10456 * use std construcs some places where approp.
10457 * use some exisint stuff from lyxfunctional where approp.
10458 * Make file changes to use partial linking (lets test this now...)
10460 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10464 remove #include "support/syscontr.h" as it's redundant. Always has been.
10472 change Systemcalls::System to Systemcalls::Wait and
10473 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10474 No change of functionality, just reflects the stripped down Systemcalls
10477 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10479 * debug.[Ch]: add a GRAPHICS type to the enum.
10481 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10483 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10485 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10488 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10490 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10491 match the changes below.
10493 * text2.C (toggleInset): if there is not editable inset at cursor
10494 position, try to see if cursor is _inside_ a collapsable inset
10497 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10499 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10500 document menu has a nice checkbox
10502 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10504 * lyxlength.C (asLatexString): change PW to output as percent of
10507 * lengthcommon.C: change '%' to 't%'
10509 * lyxfunc.C (dispatch): a few comments from Martin
10511 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
10515 * BufferView_pimpl.h:
10516 * BufferView_pimpl.C: clear our selection when X tells us we've lost
10519 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10521 * vspace.C (inPixels): fix compiler warning
10523 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10525 * lyxfunc.C (getStatus): fix status message for disabled commands.
10527 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
10529 * BufferView_pimpl.C: fix crash on close buffer
10530 during selection (#227)
10532 2002-01-27 Herbert Voss <voss@lyx.org>
10534 * buffer.C: link old Figure to new graphic inset
10536 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
10538 * FontLoader.C (getFontinfo): Change the latex font names in order
10539 to match the names of type1inst.
10541 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10543 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10545 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10546 (extchanged): ditto
10548 (remove_files_with_extension): ditto
10549 (remove_file): ditto
10552 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10553 document is smaller than the work area height. Do not initialize
10554 static variables to 0.
10556 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10558 * lyx_gui.C (init): give the toolbar tooltips a normal font.
10560 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10561 LFUN_LAYOUT_PARAGRAPHS.
10563 * tabular.C (GetCellFromInset): new method. Finds an inset in a
10564 tabular. It is possible to provide a possible cell, which will
10565 typically be the actcell from the corresponding insettabular
10567 * lyxfunc.C (getStatus): small cleanup; disable
10568 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10571 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10573 * tabular.C (Validate): remove broken optimization (fixes bug #201)
10575 * paragraph.C (startTeXParParams):
10576 (endTeXParParams): new methods. The LaTeX code to
10577 start/end paragraph formatting
10578 (simpleTeXOnePar): call startTeXParParams also when paragraph is
10579 empty (fixes bug #200)
10581 * vspace.C (inPixels): adapt to the change below
10582 (inPixels): [later] more cleanups (remove unused variables)
10584 * lyxlength.C (inPixels): change to use a width and a height as
10587 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10589 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10590 Replaced with \paperwidth
10592 * DepTable.C (insert): add std:: qualifier
10594 2002-01-18 Allan Rae <rae@lyx.org>
10596 * text2.C (removeRow): add comment. Should other refresh_?? vars be
10599 * text.C (drawInset): Turned out I didn't know enough about how
10600 rebreaking worked. This fixes most of the redraw problems. I see
10601 an occasional cursor trail when a line is broken now and the cursor
10602 placement can seem out by a few pixels also after a rebreak.
10604 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10606 * buffer.C (parseSingleLyXformat2Token): update because minipage
10607 width is now a LyXLength
10609 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10611 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10614 2002-01-17 Juergen Vigna <jug@sad.it>
10616 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10618 * BufferView2.C (lockInset): call edit() so that theLockingInset()
10619 is set correctly and the inset is updated correctly.
10621 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10623 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10624 the beginning of the loop.
10626 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
10628 * lyxrc.C: improve help for use_scalable_fonts
10630 2002-01-17 Allan Rae <rae@lyx.org>
10632 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10634 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10636 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10637 make sure to set their inset_owner to the right value (bug #171)
10639 2001-12-12 Ben Stanley <bds02@uow.edu.au>
10642 * DepTable.C: Implement mtime checking to reduce time spent doing
10645 2002-01-16 Juergen Vigna <jug@sad.it>
10647 * tabular.C (GetAdditionalHeight): one of error fixed.
10649 * lyxrc.C (output): small fix in writing use_pspell.
10651 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
10653 * sp_base.h: #include LString.h
10655 2002-01-16 Allan Rae <rae@lyx.org>
10657 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
10658 Can someone check this please?
10660 * text.C (drawInset): It was possible that p.row would be removed by
10661 breakAgainOneRow upsetting a few other settings. There may be another
10662 small tweak possible by setting need_break_row = 0 when p.row has been
10663 removed but I don't know enough about the logic here.
10665 2002-01-15 Allan Rae <rae@lyx.org>
10667 * text.C (insertChar): removed conditional truism.
10669 * BufferView2.C (removeAutoInsets): More tweaks.
10670 cur_par_prev could be a stray pointer. Check for trailing empty line
10671 in case last line was cur_par and only had an error inset on it.
10673 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10675 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10678 * vc-backend.C (most methods):
10679 * exporter.C (Export):
10680 * converter.C (convert):
10682 * LyXSendto.C (SendtoApplyCB):
10683 * lyxfunc.C (dispatch):
10687 * lyx_cb.C (AutoSave):
10689 * BufferView_pimpl.C (MenuInsertLyXFile):
10690 * buffer.C (runChktex): use Buffer::filePath().
10692 * buffer.h: rename filename to filename_; rename filepath to
10693 filepath_ and make it private
10694 (filePath): new method
10696 * buffer.C (writeFile): use fileName()
10699 * lyx_main.C (init): fix starting of LyX when the binary is a
10700 link from so,ewhere else.
10702 * minibuffer.C: include <cctype> for isprint
10704 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10706 * buffer.C (parseSingleLyXformat2Token): changes associated with the
10707 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10708 name clash with InsetCollapsable's width function.
10710 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10712 * lastfiles.C: include <iterator>
10714 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10716 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10719 * buffer.C (makeLaTeXFile): ditto.
10720 Also make loop operation more transparent.
10722 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10724 * ToolbarDefaults.C: remove trailing comma closing namespace.
10726 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10728 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10731 * trans.C (Load): comment out unused variable, allowed.
10733 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10735 * minibuffer.[Ch] (append_char): new method to recieve input from the
10736 drop-down completion browser. If a key was pressed, then recieve this
10737 char and append it to the existing string.
10738 (peek_event): modify the positioning data passed to the completion
10739 browser so that it can be placed above the minibuffer rather than below.
10740 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10742 * LyXAction.C (init): alloe error-next for readonly documents.
10744 * BufferView2.C (ChangeRefsIfUnique): use standard version of
10747 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10749 * bufferlist.C (readFile): create the buffer _after_ checking that
10752 * lyxfunc.C (verboseDispatch): fix handling of arguments
10754 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10756 * lyxrc.C: use string::erase() instead of initializing to "".
10759 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10761 * BufferView_pimpl.h:
10762 * BufferView_pimpl.C:
10765 * text2.C: tell X when we have made a selection for copying
10767 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10769 * BufferView_pimpl.C (MenuInsertLyXFile):
10770 * lyxfunc.C (menuNew):
10772 (doImport): add shortcuts to directory buttons
10774 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10777 * lyxfunc.C (setStatusMessage):
10778 (getStatusMessage): new methods
10779 (getStatus):use setStatusMessage instead of setErrorMessage
10780 (dispatch): when function is disabled, set error message here
10781 [instead of in getStatus previously]
10783 * BufferView_pimpl.C (workAreaButtonRelease): update
10784 toolbar/menubar here too.
10786 2002-01-13 Allan Rae <rae@lyx.org>
10788 * BufferView2.C (removeAutoInsets): finished off earlier fix.
10789 Now seems indestructible. Remaining task is to audit all other
10790 code affected by deleteEmptyParagraphMechanism. One small quirk
10791 left is that an empty document with an error in the preamble can
10792 be made to report an error but no error box appears. I don't know
10794 (removeAutoInsets): Improved comments.
10796 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
10799 * Thesaurus.C: update for Aiksaurus 0.14
10801 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10803 * text2.C (firstParagraph): removed member function, all uses
10804 replaces with ownerParagraph
10805 (redoParagraphs): here
10806 (updateInset): here
10807 (toggleAppendix): here
10808 * BufferView2.C (insertErrors): here
10809 (setCursorFromRow): here
10811 2002-01-13 Allan Rae <rae@lyx.org>
10813 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10814 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10815 There is still a way to segfault this although you may have to do this
10816 multiple times: Have an InsetERT with an unknown command in it.
10817 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10818 <down-arrow>, <Enter> again, View->DVI, BANG!
10820 * text2.C (setCursor):
10821 (deleteEmptyParagraphMechanism):
10822 * lyxtext.h (setCursor):
10823 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10824 Making use of the return value may help fix other bugs.
10826 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10828 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10830 * LyXView.C (updateMenubar): call MenuBar::update here
10831 (updateToolbar): but not here
10832 (showState): do not update toolbar/menubar
10834 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10835 should need to care about that.
10837 * lyxfunc.C (verboseDispatch): simplify a bit
10838 (getStatus): have a version which takes a pseudoaction, and
10839 another which requires a (kb_action,string).
10841 * LyXAction.C (retrieveActionArg): make it work also when action
10842 is not a pseudo-action.
10843 (getActionName): simplify a bit
10846 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10848 * lyxfunc.C (verboseDispatch): new families of methods with
10849 several ways to specify a command and a bool to indicate whether
10850 the command name and shortcut should be displayed in minibuffer
10851 (eventually, we could extend that to a finer bitmask like
10852 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10853 (dispatch): the pristine dispatch command which just, well,
10854 dispatchs! Note it still sets its result to minibuffer; I'm not
10857 * lyxfunc.h: remove setHintMessage
10859 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10861 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10863 * BufferView_pimpl.C (specialChar): delete new inset if we have
10864 not been able to insert it.
10866 * kbmap.C: revert to using int instead of kb_action, since all we
10867 are dealing with is pseudo-actions.
10869 * LyXAction.C (searchActionArg): change to return int instead of
10870 kb_action, since the result is a pseudoaction.
10872 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
10874 * buffer.C (insertErtContents): Fix (partially) the font bug.
10876 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10878 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10879 as the other one is broken on my machine!
10881 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
10884 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10886 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
10888 * lyxrc.[Ch]: change names and descriptions of popup font variables to
10889 reflect their actual use. Provide compatibility code for older lyxrc
10892 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10894 change names of popup font variables in line with the changes to lyxrc.C
10896 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10898 * buffer.C (asciiParagraph): avoid outputing a word twice after
10901 * lyxrc.C (getDescription): document that document_path and
10902 template_path can be empty.
10904 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10906 * LaTeXFeatures.C (getMacros):
10907 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10909 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10911 * LaTeXFeatures.C (useFloat): require "float" here instead of in
10913 (getPackages): rename feature "floats" to "float". Use an array to
10914 iterate over 'simple' features (i.e. just a \usepackage). Add
10915 handling of "amsmath" (renamed from "amsstyle").
10917 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
10919 * LaTeXFeatures.C (require): Prevent duplicate entries in the
10922 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
10924 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10925 FuncStaus::FuncStatus & FuncStaus::some_method().
10927 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
10929 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10930 of the func_satus stuff. Edited and massaged in various ways by
10933 * lyxfunc.C (getStatus): use FuncStatus
10935 2002-01-08 Juergen Vigna <jug@sad.it>
10937 * text.C (nextBreakPoint): use function Inset::isChar().
10939 * paragraph.C (TeXOnePar): use function
10940 Inset::forceDefaultParagraphs.
10942 * buffer.C (latexParagraphs): use function
10943 Inset::forceDefaultParagraphs.
10945 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10947 * lyx_gui.C (init): set the style of the menu popups to
10948 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10950 2002-01-07 Juergen Vigna <jug@sad.it>
10952 * text.C (setHeightOfRow): small fix
10953 (prepareToPrint): don't look at alignment if we don't have the place
10956 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10958 * box.C: New file. Move the Box methods and functions out of box.h,
10959 following Lars' suggestion.
10961 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10963 * box.h: #include "support/LOstream.h", needed for inlined function.
10966 * lyxtextclasslist.C: added some using std declarations.
10968 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
10970 * box.h: make signed dimensions to allow insets wider than
10971 the screen (bug #162)
10973 * BufferView_pimpl.C: add some insetHit debug
10975 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
10977 * vc-backend.C: add FIXME
10979 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10981 * lyxfunc.C (getStatus): enable code for showing math font status
10984 2002-01-07 Juergen Vigna <jug@sad.it>
10986 * text.C (nextBreakPoint): removed debug output not needed anymore.
10988 2002-01-06 Juergen Vigna <jug@sad.it>
10990 * text.C (nextBreakPoint): fixed up this function we had this bug
10991 since ever but now hopefully we break row better.
10992 (insertChar): we have to check if an inset is the next char as it
10993 could now happen that a large inset is causing a break.
10995 2002-01-05 Juergen Vigna <jug@sad.it>
10997 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10998 if it doesn't like to be drawed.
11000 2002-01-04 Juergen Vigna <jug@sad.it>
11002 * BufferView2.C (lockInset): forgot to set a cursor.
11004 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11006 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
11008 * FormMathsPanel.C:
11011 * form_maths_panel.C:
11012 * form_maths_panel.h:
11013 * form_maths_panel.fd: implemented sub- and super- buttons in math
11016 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11017 (or ^ space) to be used as in TeX (req'd by André).
11019 * lyxfunc.C: Allow ^ and _ again to be used both as
11020 super/subscript (mathed) and as themselves (in text).
11022 2002-01-03 Allan Rae <rae@lyx.org>
11024 * LyXView.C (updateWindowTitle): Setup a short icon title of either
11025 "LyX" or the filename of the current buffer if it has one. This is a
11026 modified form of John Levon's patch.
11028 * XFormsView.C (setWindowTitle): also set icon title.
11030 * LyXView.h (setWindowTitle): signature changed.
11031 * XFormsView.h (setWindowTitle): ditto.
11033 2002-01-02 Juergen Vigna <jug@sad.it>
11035 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11037 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11039 * screen.C (topCursorVisible): introduce a temp var for
11040 text->cursor.row(), handle the case where this row is null. (kindo
11043 * text2.C (setCursor): add a couple of asserts.
11045 * paragraph.h (inset_iterator): add -> operator
11047 * paragraph.[Ch] (autoDeleteInsets): remove member function
11049 * BufferView2.C (removeAutoInsets): rewrite to handle the old
11050 cursor pos correctly and handle inset deletion by itself.
11051 (insertErrors): move iterator declaration out of for expression
11053 * lyxtextclass.C: add <algorithm>
11055 * Makefile.am: added the new files to sources, removed layout.C
11057 * layout.C: removed file
11059 * layout.h: remove LYX_DUMMY_LAYOUT
11061 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11065 * lyxtextclass.[Ch]:
11066 * lyxtextclasslist.[Ch]: new files
11068 * include order changes to a lot of files, also changes because of
11071 2001-12-27 Juergen Vigna <jug@sad.it>
11073 * buffer.C (asciiParagraph): more fixes.
11075 * tabular.C (ascii): make ascii export support export of only the
11076 data separated by a column-delimiter.
11077 (ascii): better support for ascii export.
11079 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11081 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11083 * tabular_funcs.C: use a "using std::getline" instead of the
11084 previous fix from Angus (necessary for cxx + lyxstring)
11086 2001-12-24 Juergen Vigna <jug@sad.it>
11088 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11090 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11091 problems. First check a minipage also if we have some ert-contents
11092 (not only on par->size(), second set the right depth of the paragraph
11093 on the relink to the root-paragraph-list!
11095 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11096 which then did not anymore update the main paragraphs on undo/redo!
11098 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11100 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11101 code. Support all font-changing funcs (even those which are not in
11102 menu currently). Support for reporting font settings in
11103 mathed (disabled until Andre provides a function on mathed's side).
11105 * func_status.h (toggle): small helper function to set toggle
11108 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
11110 * tabular_funcs.C: getline -> std::getline
11112 2001-12-21 Juergen Vigna <jug@sad.it>
11114 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11115 accessed and could be 0 (I couldn't generate this but it seems
11118 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11120 * tabular_funcs.C: add LIstream.h, move write_attribute to..
11121 * tabular_funcs.h: here and include iosfwd
11123 2001-12-20 Juergen Vigna <jug@sad.it>
11125 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11126 inside inset but undo_par was.
11128 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11130 * Thesaurus.C: always include <config.h> in sources.
11134 * box.h: do not include <config.h> in header files
11136 * text.C (paintLastRow): remove unused variable
11138 * text.C (transformChar):
11140 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11142 * Painter.C (text):
11143 * font.C (width): rewrite to use uppercase() instead of
11146 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11148 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
11150 * lyxfind.C: clean up of find failure position change
11152 2001-12-20 Juergen Vigna <jug@sad.it>
11154 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11156 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11157 (TeXRow): added to LaTeX a single tabular row.
11158 (TeXLongtableHeaderFooter): added to output LT-h/f data.
11159 (Latex): simplified and finally good LT-h/f support.
11160 (various_functions): just small adaptions for LT-h/f support.
11162 * tabular_funcs.[hC]: added and moved here all not classfunctions
11165 2001-12-19 Juergen Vigna <jug@sad.it>
11167 * tabular.[Ch]: better support for longtabular options (not finished
11170 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11172 * text.C (paintLastRow): use the label font instead of the font of
11173 the last character to compute the size of *_BOX. This makes more
11174 sense and avoids a crash with empty paragraphs.
11175 Use Painter::rectangle to draw EMPTY_BOX.
11177 2001-12-19 Juergen Vigna <jug@sad.it>
11179 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11180 the paragraphs if the replaced paragraph is not the first one!
11181 Tried to delete not used paragraphs but does not work yet so for
11182 now it's inside #ifdef's and by default off!
11184 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11186 * MenuBackend.C: include "lyx_main.h" instead of declaring
11187 lastfiles (actually was declared as LastFiles* instead of a
11190 2001-12-17 Juergen Vigna <jug@sad.it>
11192 * tabular.C (AppendColumn): applied John's fix
11194 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
11198 * BufferView_pimpl.h:
11199 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11202 * box.h: new start of class for above
11204 * lyxfunc.C: ignore space-only minibuffer dispatches.
11205 Show the command name when it doesn't exist
11207 * minibuffer.C: don't add empty lines to the history
11209 * minibuffer.C: add a space on dropdown completion
11211 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
11213 * text.C: fix line above/below drawing in insets
11215 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11217 * lyxlength.C (LyXLength): Initialize private variables.
11219 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
11221 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11222 when inserting error insets.
11224 2001-12-13 Juergen Vigna <jug@sad.it>
11226 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11227 actually sometimes the before-paragraph.
11228 (setUndo): don't clear the redostack if we're not actually undoing!
11230 2001-12-06 Juergen Vigna <jug@sad.it>
11232 * undo_funcs.C (textHandleUndo): well after John's hint I got here
11233 and fixed redoing of main paragraph, so we can use it now ;)
11235 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11237 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11239 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11242 2001-12-13 André Pönitz <poenitz@gmx.net>
11245 * undo_func.C: minor cleanup
11247 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11249 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11250 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11251 font in urw-fonts package which is marked as -urw-fontspecific and
11252 does not work (incidentally, changing the encoding in the
11253 fonts.dir of this package to -adobe-fontspecific fixes the
11256 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11257 is a crash when undoing first paragraph (Juergen, please take a
11258 look). THis does not mean the undo fix is wrong, just that it
11261 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11262 the (Paragraph*) version when needed instead of duplicating the
11265 * text.C (workWidth): use Inset::parOwner to find out where the
11266 inset has been inserted. This is a huge performance gain for large
11267 documents with lots of insets. If Inset::parOwner is not set, fall
11268 back on the brute force method
11270 * paragraph_pimpl.C (insertInset):
11271 * paragraph.C (Paragraph):
11272 (cutIntoMinibuffer): set parOwner of insets when
11273 inserting/removing them
11275 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11277 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
11283 * mathed/formulabase.C:
11284 * mathed/math_cursor.[Ch]:
11285 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11288 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11290 * lyxlength.[Ch] (operator!=): new function
11292 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11294 * text.C (workWidth): use Inset::parOwner to find out where the
11295 inset has been inserted. This is a huge performance gain for large
11296 documents with lots of insets. If Inset::parOwner is not set, fall
11297 back on the brute force method
11299 * paragraph_pimpl.C (insertInset):
11300 * paragraph.C (Paragraph):
11301 (cutIntoMinibuffer): set parOwner of insets when
11302 inserting/removing them
11304 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11306 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11308 * tabular-old.C (getTokenValue):
11309 * tabular.C (getTokenValue):
11310 (write_attribute): new versions for LyXLength
11311 (everywhere): adjust the use of widths
11313 * tabular.h: change the type of widths from string to LyXLength
11315 2001-12-11 Ben Stanley <bds02@uow.edu.au>
11317 * paragraph.C: fixed missing line number count when exporting
11318 Environments to LaTeX file
11320 * buffer.C: added informational message for checking line numbers.
11322 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11324 * text2.C (deleteEmptyParagraphMechanism): if there is only one
11325 paragraph, do the 'double space' part, but not the 'empty
11328 * text.C (workWidth): small optimization
11329 (getLengthMarkerHeight): use minimal size for negative lengths.
11331 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
11333 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11335 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11337 2001-12-11 André Pönitz <poenitz@gmx.net>
11340 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11342 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11344 * text2.C: keep selection on a setFont()
11346 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11348 * lyx_cb.C: another bv->text misuse, from insert label
11350 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11353 * kbsequence.C: re-instate nmodifier mask
11355 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
11357 * lyx_main.h: make lyxGUI private.
11359 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11361 * lyxfind.C: place the cursor correctly on failed search
11363 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11365 * text.C (getLengthMarkerHeight): for small heights, the arrows
11366 are not always on top/bottom of the text
11367 (drawLengthMarker): smaller arrows; take the left margin in
11368 account; draw also vfills.
11370 (paintLastRow): remove special code for vfill and standard spaces,
11371 since everything is handled in drawLengthMarker now.
11373 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11375 * buffer.C (insertErtContents): try to handle font and language
11376 interaction a bit better.g
11378 * ColorHandler.C (updateColor): change the hash to cover the whole
11379 LColor enum, ws cleanup
11380 (getGCLinepars): ditto
11381 (getGCLinepars): only lookup in the linecache once.
11383 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
11385 * iterators.C (operator++): Make the iterator more robust
11387 * BufferView2.C (removeAutoInsets): Use paragraph iterators
11389 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11391 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11394 * text.C: better added space drawing
11396 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11399 * BufferView2.C: fix layout combo update on inset unlock
11401 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11403 * Makefile.am: don't compile unused files
11405 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11409 * LyXAction.C: remove old LFUN_LAYOUTNO
11411 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11413 * paragraph_pimpl.h:
11414 * paragraph_pimpl.C: isTextAt() doesn't need font param
11416 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11419 * lyxlex.C: little cleanup
11421 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11423 * BufferView_pimpl.C: fix insertAscii for insets
11425 2001-12-05 Juergen Vigna <jug@sad.it>
11427 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11428 set the right font on the "multi" paragraph paste!
11430 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11436 * lyxlength.C: remove out-commented code.
11438 * BufferView_pimpl:
11452 * vc-backend.C: change "while(" to "while ("
11454 * lyxlength.[Ch]: add zero function to check if length is zero or
11456 * lyxgluelength.C: use it
11458 2001-12-05 Allan Rae <rae@lyx.org>
11460 * lyxlength.C: Attempted a fix for the abs(int) header selection.
11461 Works for 2.95.3, from what I understand of Garst's reports this should
11462 work for other g++ versions. We're screwed if the abs(int) definition
11463 changed between bugfix releases of gcc.
11465 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11467 * text.C: fix chapter label offset !
11469 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11472 * text.C: fix hfill at end of line, clean up
11474 2001-12-04 Juergen Vigna <jug@sad.it>
11476 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11477 that we force an update of the inset and it's owners if neccessary.
11479 2001-12-03 Juergen Vigna <jug@sad.it>
11481 * text.C (rowLast): simplified code
11483 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11485 * lyxfunc.C: fix show options on timeout
11487 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11489 * screen.C (topCursorVisible): scroll half a page when the cursor
11490 reached top of bottom of screen
11492 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
11494 * minibuffer.C: deactivate on loss of focus
11496 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11498 * vspace.[Ch] (operator!=): add operator.
11500 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
11502 * BufferView_pimpl.C: refuse to open an inset when
11503 there's a selection.
11505 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
11507 * BufferView_pimpl.C: allow to click on RHS of full row insets
11509 2001-11-30 Juergen Vigna <jug@sad.it>
11511 * tabular.C (LyXTabular): add a same_id to set the same id's in the
11512 insets for undo reasons.
11514 2001-11-28 André Pönitz <poenitz@gmx.net>
11516 * vspace.[Ch]: cosmetical changes
11518 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11528 * kbsequence.C: part re-write of old kb code
11531 * WorkArea.C: remove Lgb_bug_find_hack
11533 2001-11-30 José Matos <jamatos@fep.up.pt>
11535 * buffer.C (makeDocBookFile): add a comment to point a hack.
11536 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11537 Fixed a double write of labels.
11539 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11542 * LaTeX.h Fixed bug in LaTeX class where it would not
11543 re-run latex if no depfiles were changed, but the .dvi was removed.
11545 2001-11-28 André Pönitz <poenitz@gmx.net>
11547 * all the files from the change on 2001/11/26:
11548 use lyx::layout_type instead of LyXTextClass::size_type
11549 use lyx::textclass_type instead of LyXTextClassList::size_type
11551 2001-11-29 Juergen Vigna <jug@sad.it>
11553 * text.C: added support for paragraph::isFreeSpacing()
11555 * buffer.C: same as above
11557 * paragraph.h: inserted isFreeSpacing() function to enable
11558 FreeSpacing inside InsetERT.
11560 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11561 of the paragraph's in the cut/copy buffer to 0!
11563 * text2.C (removeRow): remove the assert as it can!
11565 * lyxtext.h: added helper function firstRow returning firstrow and
11566 made firstrow private again.
11568 * BufferView2.C (lockInset): don't relock if we're already locked!
11570 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11571 the only paragraph.
11572 (removeRow): added Assert::(firstrow)
11574 * debug.C: forgot to add INSETTEXT here.
11576 2001-11-28 Juergen Vigna <jug@sad.it>
11578 * sp_spell.C (initialize): changed error text to more general
11579 spellchecker command use (not only ispell!)
11581 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11583 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11585 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11587 * vspace.C: initialise lyxgluelength on failure
11589 2001-11-28 Allan Rae <rae@lyx.org>
11591 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11592 declaration & definition that looks like a function declaration.
11594 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11596 * BufferView2.C (copy):
11597 (copyEnvironment): do not clear the selection when doing a copy.
11599 * text.C (paintFirstRow): compilation fix
11601 2001-11-27 Ben Stanley <bds02@uow.edu.au>
11603 * tabular.C (Latex): correct line count when writing latex.
11605 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
11607 * paragraph_pimpl.h:
11608 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11611 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11615 * LColor.C: change vfillline->added_space
11617 * text.C: add markers and text for added space
11619 * vspace.C: fix comment
11621 2001-11-28 André Pönitz <poenitz@gmx.net>
11623 * paragraph.C: whitespace changes
11624 * all the other files from the change on 2001/11/26:
11625 change *::pos_type into lyx::pos_type
11627 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
11629 * buffer.C (parseSingleLyXformat2Token): Set the language to the
11630 language of the document when inserting error insets.
11632 2001-11-26 André Pönitz <poenitz@gmx.net>
11634 * BufferView_pimpl.[Ch]:
11642 * paragraph_pimpl.[Ch]:
11645 * text2.C: reduce header dependencies, introduce type for positions
11647 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11649 * <various>: change to use Alert.h
11651 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
11653 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11654 when encountering an unknown token.
11655 (readLyXformat2): Show an error message if there were unknown tokens.
11657 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
11660 * BufferView_pimpl.C:
11664 * text2.C: use par->isInset()
11666 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11668 * paragraph_pimpl.h:
11669 * paragraph_pimpl.C: cleanup
11671 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11673 * text2.C (removeRow):
11674 * text.C (setHeightOfRow): remove useless (and costly) call to
11677 2001-11-20 Allan Rae <rae@lyx.org>
11679 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11680 Now need Inset*::checkInsertChar() to return true for appropriate
11681 cases so that the characters in the minibuffer will actually be
11684 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11686 * text.C: change the order of the includes.
11687 (workWidth): initialize it at once.
11688 (workWidth): make maxw unsigned
11689 (setHeightOfRow): remove unused variable (inset)
11690 (selectSelectedWord): remove unused variable (inset)
11691 (paintRowText): fix drawing of hfill characters, and clean up a bit.
11693 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11695 * lyxserver.C (emergencyCleanup): do not try to close pipes if
11696 server is not running.
11698 (closeConnection): add debug info when server is disabled.
11700 * ColorHandler.C (getGCForeground): send debug message to GUI
11703 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11705 * kbmap.C (bind): modify because return conventions of
11706 kb_sequence::parse have changed.
11708 * kbsequence.C (parse): only ignore spaces and not any stupid
11709 control character. This avoids tests like s[i] <= ' ', which are
11710 guaranteed to fail with 8bit characters and signed chars.
11711 Change return code to string::npos when there have been no error
11712 (0 was a bad idea when error is at first character)
11714 2001-11-14 José Matos <jamatos@fep.up.pt>
11717 * buffer.C (simpleDocBookOnePar): removed unused argument.
11719 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11721 * text.C (selectNextWordToSpellcheck): do not test explicitely for
11722 insets which are part of a word. Paragraph::isLetter takes care of
11723 that now. Use Paragraph::isInset to identify insets.
11724 (selectSelectedWord): do not test for hyphenation break.
11726 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11727 that protected spaces are considered as spaces.
11729 * paragraph.C (isLetter): cleanup the code for ispell extras; use
11732 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
11735 * lyxserver.C: fix it. and small cleanup.
11737 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11739 * BufferView_pimpl.C: use inline helpers
11742 * LaTeXFeatures.C: fix typos
11745 * Spacing.C: move spacing_string into class
11747 * ToolbarDefaults.C: move stuff into namespace anon
11749 * layout.h: update enum
11751 * lyxfunc.C: use better debug
11753 * minibuffer.h: fix typo
11757 * WorkArea.C: add and use Debug::WORKAREA
11761 * text2.C: code re-organisation, inline helpers
11763 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
11765 * Layout.C: replaced a few cases of std::vector.size() == 0 with
11766 std::vector.empty().
11768 2001-11-09 Allan Rae <rae@lyx.org>
11770 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11771 '\n's after tables. Tabular and ERT inset work now makes this no
11774 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11777 * minibuffer.C: fix crash, improve drop-down completion
11779 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
11782 * lyxserver.C: invalidate fd's when doing endPipe()
11784 2001-11-08 José Matos <jamatos@fep.up.pt>
11786 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11787 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11790 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11792 2001-11-07 José Matos <jamatos@fep.up.pt>
11795 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11798 * buffer.C (sgmlOpenTag):
11799 * buffer.C (sgmlCloseTag): removed debug info.
11801 * buffer.h (sgmlOpenTag):
11802 * buffer.h (sgmlCloseTag): made public.
11804 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11806 * buffer.C (saveParamsAsDefaults):
11807 * lyx_cb.C (MenuLayoutSave): remove
11809 * LyXAction.C (init):
11811 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11813 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11815 * buffer.C (setPaperStuff): removed from here...
11817 * bufferparams.C (setPaperStuff): ... and moved there.
11819 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
11823 * XFormsView.C: add support for drop-down completion
11825 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
11827 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11830 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11832 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11835 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
11837 * lyx_main.C: change ref to known bugs
11839 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
11841 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11842 to work around older babel problems.
11844 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11846 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11848 2001-10-24 Juergen Vigna <jug@sad.it>
11850 * tabular-old.C (ReadOld): below variable changes reflected.
11852 * tabular.[Ch]: added ltType struct for longtable header/footer
11853 defines and changed all instances where they are used. Added
11854 future support for double top/bottom rows.
11856 2001-10-24 José Matos <jamatos@fep.up.pt>
11858 * buffer.h (docbookHandleCaption):
11859 * buffer.C (docbookHandleCaption): removed unused function.
11860 (makeDocBookFile): moved docbook supported version to v4.1.
11862 2001-10-24 José Matos <jamatos@fep.up.pt>
11865 * tabular.C (docbookRow): new function to export docbook code of a row.
11866 (DocBook): now honors the longtable flags.
11868 2001-10-23 José Matos <jamatos@fep.up.pt>
11871 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11872 of the lyx defined sgml entities used in a docbook/linuxdoc document.
11874 * buffer.C (makeLinuxDocFile):
11875 (makeDocBookFile): reworked the preamble, more clean, and with
11876 support for lyx defined entities. Changed the document declaration
11877 to be more XML friendly.
11879 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11880 if we need to output XML that should be done with a filter.
11882 2001-10-22 Juergen Vigna <jug@sad.it>
11884 * sp_pspell.h (class PSpell): add alive function needed in the
11885 controller to see if the spellchecker could be started.
11887 2001-10-22 Juergen Vigna <jug@sad.it>
11889 * buffer.C (insertStringAsLines): modify the font for inserting
11890 chars in certain conditions by calling checkInsertChar(font).
11892 2001-10-19 Juergen Vigna <jug@sad.it>
11894 * text.C (workWidth): use getRow instead of wrong algorithm.
11895 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11897 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
11902 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11904 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11906 * text.C (workWidth): do not search for the exact row when
11907 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11908 optimization for big documents.
11910 2001-10-18 Juergen Vigna <jug@sad.it>
11912 * text.C (workWidth): new function with added Inset * parameter.
11914 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11916 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11918 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11919 change return type of getColumnNearX.
11922 * text.C (changeRegionCase): use uppercase/lowercase instead of
11925 (rightMargin): simplify code by factoring out the uses of
11930 (appendParagraph): use Paragraph::size_type
11932 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11934 * vspace.C (asLatexString): add a missing break
11936 2001-10-15 Herbert Voss <voss@perce.de>
11938 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11940 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11942 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11945 2001-10-10 André Pönitz <poenitz@gmx.net>
11947 * lyxfunc.C: removed greek_kb_flag.
11949 2001-10-10 Herbert Voss <voss@perce.de>
11951 * lyx_main.C: delete global string help_lyxdir.
11953 2001-10-09 Herbert Voss <voss@perce.de>
11955 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11957 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11959 * lyx_main.C: added global string help_lyxdir.
11961 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11963 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
11965 * lyxrc.C (set_font_norm_type): support iso8859-4
11967 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
11969 * LaTeX.C (deplog): add another regex for MikTeX
11971 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
11973 * lyxrc.C (set_font_norm_type): support iso8859-3
11975 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11977 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11979 * LaTeXFeatures.C: remove special case of french and index
11981 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11982 before \begin{document}). This solves several incompatibilities.
11984 2001-10-03 Garst Reese <reese@isn.net>
11986 * lyx_cb.C: change CheckTex error msg.
11988 2001-10-03 José Matos <jamatos@fep.up.pt>
11990 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11992 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11994 * .cvsignore: update
11996 * lyx_main.C (commandLineVersionInfo): use new style version info.
11998 * buffer.C (writeFile):
12000 (makeLinuxDocFile):
12001 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12003 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12005 * version.h: update to use stuff in version.C
12007 * version.C.in: new file. Contains version information determined
12008 at compile time. This is a merging of version.h and
12011 2001-10-03 Juergen Vigna <jug@sad.it>
12013 * BufferView_pimpl.C (update): don't change "dirty" status in
12016 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
12018 * WorkArea.C (c-tor): re-position version string slightly.
12020 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
12022 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12023 revert to previous code.
12025 WorkArea.[Ch]: (show, destroySplash): methods removed.
12027 WorkArea.C: rework code so that it's an amalgam of the codes before and
12028 after the splash screen was moved to WorkArea.
12030 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12033 * vspace.C (inPixels):
12036 * buffer.C (insertStringAsLines):
12037 (asciiParagraph): fix types to be large enough
12039 * lyxlex_pimpl.h: change member status from short to int
12041 * layout.h: fix type of endlabeltype
12044 * kbsequence.C (parse): change return type to string::size_type
12046 * LaTeX.C (updateBibtexDependencies): comment out unneeded
12049 * Bullet.C (bulletSize):
12050 (bulletEntry): do not use short ints as parameters
12052 * BufferView2.C (insertLyXFile): change a char to an int.
12054 * WorkArea.C (WorkArea): remove unneeded floats in computation
12056 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
12058 * buffer.C (asciiParagraph): Treat '\\' as other chars.
12060 * paragraph.C (asString): Do not ignore newline/hfill chars when
12061 copying to the clipboard.
12063 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
12065 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12066 after a multi-line inset.
12068 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
12070 * paragraph.C (validate): Set NeedLyXFootnoteCode
12072 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12074 * lyxfont.C (LyXSizeNames): changed increase-error to increase
12075 and decrease-error to decrease.
12077 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12079 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12080 it more readable (should be equivalent)
12082 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
12084 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12086 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12088 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12089 of a cursor (row, etc.) after a character has been deleted
12090 (deleteEmptyParagraphMechanism): call the method above on _all_
12091 cursors held by the LyXText when a double space has been
12094 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12096 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12098 (resizeCurrentBuff): remove code to destroy the old splash dialog.
12100 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12101 background. Use greyOut() and the new show() methods to toggle between
12102 the foreground and background. Add code to remove the splash after
12103 its initial showing.
12105 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12106 (create_forms): no longer call Dialogs::showSplash.
12108 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12110 * .cvsignore: add version_info.h
12112 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12114 * version_info.h.in: new file
12116 * Makefile.am: add version_info.h.in
12118 * lyx_main.C (commandLineVersionInfo): use version_info defined in
12119 version_info.h instead of VERSION_INFO
12121 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
12123 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12124 The ERT inset now returns string().
12126 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
12128 * lyxtext.h, text.C (selectNextWord): renamed as
12129 selectNextWordToSpellcheck.
12131 * text.C (selectNextWordToSpellcheck): Modified to not select
12132 words inside an ERT inset.
12134 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12136 * lyx_cb.C (MenuLayoutSave): change a bit the question
12138 * sp_base.h: include <sys/types.h>
12140 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
12142 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12144 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
12146 * several files: fix typos in user-visible strings
12148 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12150 * text2.C (pasteSelection): do not set the selection, since it
12151 will be cleared later. Actually, the intent was to fix the way the
12152 selection was set, but I figured rmoving the code was just as good.
12154 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
12156 * FontLoader.C (available): Check if font is available without
12159 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
12161 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12163 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
12165 * lyxrc.[Ch]: added display_graphics variable and associated code.
12167 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12169 * bufferparams.C (hasClassDefaults): new method. Returns true if
12170 the buffer parameters correspond to known class defaults
12172 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
12174 * XFormsView.C (show): set minimum size to the main window.
12176 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12178 * text2.C (copySelection):
12180 * lyxfind.C (LyXReplace):
12181 * BufferView_pimpl.C (Dispatch): pass the correct flag to
12182 LyXText::selectionAsString.
12184 * paragraph.C (asString): add "label" argument to the second form
12186 * text2.C (selectionAsString): add "label" argument and pass it to
12187 Paragraph::asString.
12189 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12191 * lyx_main.C (commandLineHelp): remove version information
12193 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
12195 * lyx_main.C: add -version commandline option
12197 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12199 * paragraph.h: make the optional constructor arg required instead.
12200 some modifications to other files because of this.
12202 * minibuffer.C (C_MiniBuffer_peek_event): make it static
12204 * lyxserver.C (C_LyXComm_callback): make it static
12206 * lyx_main.C (error_handler): make it static
12208 * lyx_gui.C (LyX_XErrHandler): make it static
12210 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12212 * WorkArea.C: make the extern "C" methods static.
12214 * Makefile.am (lyx_LDADD): simplify
12216 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12218 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12219 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12221 * LyXAction.C (init):
12222 * lyxfunc.C (dispatch): associated code removal.
12224 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12226 * lyxfont.h (isSymbolFont): shut off warning
12228 * text.C (setHeightOfRow):
12229 (getVisibleRow): fix crash with empty paragraphs which have a
12232 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
12234 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12237 2001-09-04 José Matos <jamatos@fep.up.pt>
12240 * tabular.C (docbook): rename docBook method to docbook.
12242 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12244 * Makefile.am: add dependencies to main.o.
12246 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
12248 * FontLoader.C (available): Return false if !lyxrc.use_gui
12250 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
12252 * FontInfo.C (query):
12253 * converter.C (view):
12254 * importer.C (Import):
12255 * exporter.C (Export): Can not -> cannot.
12257 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
12259 * BufferView_pimpl.C: allow to create index inset even if
12262 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12264 * buffer.C (getLists): replace boost::tie code with an explicit pair
12265 as boost::tie can break some compilers.
12267 * iterators.h: Added a std:: declaration to the return type of
12270 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
12272 * lyxrc.C: add help for view_dvi_paper_option, default to safe
12275 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
12277 * iterators.[Ch]: New files. Provide paragraph iterators.
12279 * buffer.C (changeLanguage): Use paragraph iterators.
12280 (isMultiLingual): ditto
12282 * BufferView2.C (ChangeInsets): Use paragraph iterators.
12284 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
12286 * FontLoader.C: Support for cmr font.
12288 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
12290 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12291 (available): New method.
12293 * FontInfo.C (getFontname): Use scalable fonts even when
12294 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12297 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12299 * converter.C (Formats::view): reverted! Incorrect fix.
12301 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12303 * converter.C (Formats::view): only output the -paper option
12304 if the dvi viewer is xdvi, thereby fixing bug #233429.
12306 2001-08-23 Herbert Voss <voss@perce>
12308 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12310 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
12312 * Spacing.h (Spacing): Set space to Default on in the default
12315 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
12317 * vc-backend.h (RCS::versionString): add RCS to version
12318 (CVS::versionString): add CVS to version
12320 * vc-backend.C (scanMaster): do not add CVS to version.
12321 (scanMaster): do not add RCS to version
12323 * lyxvc.C (versionString): new method
12325 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12327 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12329 * Spacing.C (set): initialize fval
12331 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
12333 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12336 2001-08-16 Juergen Vigna <jug@sad.it>
12338 * lyxfunc.C (dispatch): implemented the new FINISHED states.
12340 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12342 * BufferView_pimpl.C:
12345 * text2.C: setParagraph takes linespacing now
12347 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
12349 * LyxAction.C: add internal LFUN_CITATION_INSERT
12351 * LyXView.C: actually apply fix
12353 * bufferlist.C: fix open non-existent file
12355 * lyxfind.C: fix indentation
12357 * lyxfunc.C: remove unneeded assert, fix typo
12359 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12361 * MenuBackend.C: use "Floatname List"
12363 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
12365 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12366 when converting LaTeX layout to insetERT.
12367 Generate a non-collapsed float when reading old float
12369 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12371 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12374 2001-08-13 Juergen Vigna <jug@sad.it>
12376 * text.C (fill): return 0 instead of 20 as this seems to be the more
12379 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12381 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12384 2001-08-13 Juergen Vigna <jug@sad.it>
12386 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12388 (SearchBackward): comment out the unlocking of the inset_owner this
12389 should not be needed!
12391 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
12393 * Many files: Remove inherit_language, and add latex_language
12395 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12396 collapsible insets.
12398 2001-08-10 Juergen Vigna <jug@sad.it>
12400 * text.C (prepareToPrint): fixed hfill-width in draw!
12402 * BufferView2.C (selectLastWord): save the selection cursor as this
12403 now is cleared in the function LyXText::clearSelection!
12405 2001-08-08 Juergen Vigna <jug@sad.it>
12407 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12408 BACKSPACE type functions.
12410 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12411 is only cutted from the document but not put in the cut-buffer, where
12412 still the old stuff should be.
12414 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12416 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12418 * tabular.C (SetWidthOfCell): fixed special case where the width
12420 (LeftLine): handle '|' in align_special.
12422 (LeftAlreadyDrawed): ditto
12423 (SetWidthOfCell): ditto
12425 2001-08-07 Juergen Vigna <jug@sad.it>
12427 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12429 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12431 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12432 * lyxlex.[hC]: ditto
12434 2001-08-06 Juergen Vigna <jug@sad.it>
12436 * text.C (getVisibleRow): fix up row clearing a bit.
12438 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12440 * minibuffer.C: make sure the X server sees the changes in the input.
12442 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12444 * paragraph.C (getFont): split into...
12445 (getLabelFont): this
12446 (getLayoutFont): and this
12447 * paragraph_pimpl.C (realizeFont): calling this
12449 * text2.C (getFont): split into...
12450 (getLayoutFont): this
12451 (getLabelFont): and this
12452 (realizeFont): all three calling this
12454 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12457 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12459 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12461 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
12463 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12464 layouts from the Quote inset insertion.
12466 2001-08-03 Juergen Vigna <jug@sad.it>
12468 * BufferView_pimpl.C (update): do the fitCursor only at the end!
12470 * screen.C (drawFromTo): don't call fitcursor here and do the loop
12471 only if status not is already CHANGED_IN_DRAW (second level).
12473 * text.C (draw): don't set the need_break_row when inside an
12476 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12478 * buffer.C (parseSingleLyXformat2Token): handle more latex
12481 * bufferview_funcs.[hC]: change function names to
12482 begin with small char, adjust other files.
12484 2001-08-02 André Pönitz <poenitz@gmx.net>
12487 BufferView_pimpl.C: remove broken special code for math-greek
12489 2001-08-02 Juergen Vigna <jug@sad.it>
12491 * BufferView_pimpl.C (update): redone this function so that we
12492 update the text again if there was a CHANGE_IN_DRAW.
12494 * screen.C (cursorToggle): removed LyXText parameter and recoded.
12495 (drawFromTo): added a new internal bool which is used by draw() and
12497 (general): some cursor drawing problems fixed.
12499 2001-08-01 Juergen Vigna <jug@sad.it>
12501 * lyxfind.C (LyXFind): fixed
12502 (SearchForward): ditto
12503 (SearchBackward): ditto
12505 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12506 spurius drawing of the cursor in the main area.
12508 * text2.C (status): small fix which could lead to a segfault!
12509 (clearSelection): remove unneeded BufferView param.
12511 2001-08-01 André Pönitz <poenitz@gmx.net>
12513 * lyxfunc.C: small change due to changed mathed interface
12515 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12517 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12519 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
12521 * lyxfunc.c: fail gracefully if file doesn't exist
12526 * BufferView_pimpl.C: IsDirWriteable() proto changed
12528 * LyXView.C: fix updateWindowTitle() to store the last title
12530 2001-07-31 Juergen Vigna <jug@sad.it>
12532 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12533 the font (wrong since using of Paragraph::highestFontInRange).
12535 * paragraph.C (highestFontInRange): added a default_size parameter.
12537 * text.C (getVisibleRow): minor clear row changes (still not perfect).
12538 (setHeightOfRow): reformat
12540 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12542 * converter.[hC] + affected files: move to (inital-char)lowercase
12545 * ParagraphParameters.C (ParagraphParameters): remove commented code
12547 * PainterBase.[Ch]: remove commented code
12549 * LaTeXFeatures.h: add "bool floats" for float.sty
12551 * LaTeXFeatures.C (LaTeXFeatures): init floats
12552 (require): handle float
12553 (getPackages): do it with floats
12555 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12557 * BufferView_pimpl.C (Dispatch): improve handling of
12558 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12560 * commandtags.h: #include lyxfont.h here temporarily to avoid
12563 * bufferlist.h: include LString.h here.
12565 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12567 * text2.C (getStringToIndex): new method.
12569 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
12571 * *: Reduced header file dependencies all over.
12573 2001-07-30 Baruch Even <baruch@lyx.org>
12575 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12577 2001-07-29 Baruch Even <baruch@lyx.org>
12579 * buffer.C (readInset): Changed GRAPHICS to Graphics.
12581 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12583 * ParameterStruct.h (endif): add a default constructor to make
12584 sure that all variables is initialized.
12586 * ParagraphParameters.C (ParagraphParameters): adjust
12588 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12590 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12591 index; also, check that there is something to index, and that it
12592 does not span over several paragraphs.
12593 (doubleClick): use WHOLE_WORD_STRICT for double click.
12595 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12597 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12600 2001-07-26 Baruch Even <baruch@lyx.org>
12602 * buffer.C (readInset): Changed to call up InsetGraphics when reading
12603 an InsetFig figure, backwards compatible reading of old figure code.
12605 2001-07-27 Juergen Vigna <jug@sad.it>
12607 * text2.C: font.realize function adaption.
12609 * text.C (draw): add a warnings lyxerr text if needed.
12611 * layout.C: font.realize function adaption.
12613 * language.C: add inherit_language and implement it's handlings
12615 * bufferview_funcs.C (StyleReset): remove language parameter from
12616 font creation (should be language_inherit now).
12618 * bufferparams.C (writeFile): handle ignore_language.
12620 * paragraph.C (getFontSettings): the language has to be resolved
12621 otherwise we have problems in LyXFont!
12623 * lyxfont.C (lyxWriteChanges): added document_language parameter
12624 (update): removed unneeded language parameter
12626 * paragraph.C (validate): fixed wrong output of color-package when
12627 using interface colors for certain fonts in certain environments,
12628 which should not seen as that on the final output.
12630 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
12632 * BufferView_pimpl.C:
12637 * LyXAction.C: add thesaurus support
12640 * lyxfind.C: add "once" parameter, for thesaurus, to not
12641 move to the next match
12643 2001-07-26 Juergen Vigna <jug@sad.it>
12645 * lyxfont.C (realize): honor ignore_language too!
12648 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12650 * text.C (draw): one place more for ignore_language to not draw
12653 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
12655 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12657 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12659 * buffer.C (parseSingleLyXformat2Token): a more general fix for
12660 the minipage conversion problem.
12662 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12664 * buffer.C (parseSingleLyXformat2Token): check minipage if we
12667 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12669 * BufferView.h: don't forward declare WorkArea
12671 * BufferView.C: don't include WorkArea.h
12673 2001-07-25 André Pönitz <poenitz@gmx.net>
12677 * lyxfunc.C: new LFUN 'math-space'
12679 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12681 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12683 * text2.C (toggleInset): call open/close
12685 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12687 * lyxfunc.C (dispatch): add debug for the disabled case
12689 * font.C (buttonText): make similar to rectText
12691 * buffer.C (readInset): comment out parsing of insetlist and
12694 * PainterBase.C (rectText): small correction
12696 * BufferView_pimpl.C: comment out insettheorem and insetlist
12697 * LyXAction.C: ditto
12698 * commandtags.h: ditto
12700 2001-07-24 Juergen Vigna <jug@sad.it>
12702 * text.C (draw): honor the ignore_language.
12704 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12706 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12708 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12711 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12713 * lyxtext.h: remove unused (and unimplemented) methods
12715 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12717 * text.C (getVisibleRow): honor background color
12720 * Painter.h: remove default color argument for fillRectangle
12722 * text.C (backgroundColor): new method
12724 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12726 * text.C (getVisibleRow): adjust
12728 * font.[Ch] (rectText): new method, metrics
12729 (buttonText): new method, metrics
12731 * PainterBase.[hC]: make rectText and buttonText always draw and take
12734 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12736 * ToolbarDefaults.C (read):
12737 * MenuBackend.C (read): allow escaping in all strings
12739 * BufferView_pimpl.C (insertAndEditInset): new method.
12740 (Dispatch): use insertAndEditInset whenever appropriate.
12742 * BufferView_pimpl.C (insertNote): removed
12744 * BufferView_pimpl.C (smartQuote): new method, moved from
12745 BufferView; if an insetquote cannot be inserted, insert a '"'
12748 * BufferView2.C: remove insertCorrectQuote();
12750 * lyxfunc.C (getStatus): Add support for all remaingin
12751 inset-insert lfuns.
12753 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12755 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12756 command (necessary to pass " as parameter of self-insert.
12758 * text.C (selectWordWhenUnderCursor):
12759 (selectWord): add word_location parameter
12760 (selectWordWhenUnderCursor): same + remove special code for word
12762 (selectNextWord): use kind() to guess type of insetspecialchar,
12765 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12766 (insertErtContents): create ert insets as collapsed.
12767 (readInset): better compatibility code for Info inset.
12769 2001-07-20 Juergen Vigna <jug@sad.it>
12771 * lyxfunc.C (dispatch): use always LyXFind now!
12773 * text2.C (init): add a reinit flag so that the LyXText can be
12774 reinited instead of deleted and reallocated (used in InsetText).
12776 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12782 2001-07-18 Juergen Vigna <jug@sad.it>
12784 * text.C (selectNextWord): handle insets inside inset by calling
12785 always the bv->text functions so that we can go up the_locking_inset!
12787 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12788 in strange locations when inside an inset!
12790 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12791 handling to include insets.
12793 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12795 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12797 * LyXAction.C (init):
12799 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12800 LIGATURE_BREAK, since the name is so stupid.
12802 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12804 * buffer.C (readInset): enable reading of new InsetNotes as well as old
12807 * FontLoader.C: remove FORMS_H_LOCATION cruft.
12809 * sp_form.[Ch]: remove.
12811 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12813 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12816 * src/buffer.C (readInset): ditto.
12818 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12820 * BufferView_pimpl.C (specialChar): new method. Obsoletes
12821 menuSeparator(), endOfSentenceDot(), ldots() and
12822 hyphenationPoint(), which are therefore removed.
12823 (Dispatch): handle LFUN_HYPHENATION_BREAK.
12825 * LyXAction.C (init):
12826 * commandtags.h: add LFUN_HYPHENATION_BREAK.
12828 * paragraph.C (getWord): removed.
12830 * BufferView_pimpl.C (Dispatch): use last word or selection for
12831 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12833 * lyx_main.C (queryUserLyXDir): do not ask before creating
12834 user_dir, except if it has been named explicitely.
12836 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12838 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12839 a document of zero size.
12841 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
12843 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12844 approriately in the c-tor and in require().
12845 (getPackages): output the appropriate LaTeX for natbib support.
12847 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12848 variables "use_natbib" and "use_numerical_citations" when reading the
12850 (readInset): read the various natbib cite commands.
12851 (validate): white-space change.
12853 * bufferparams.[Ch]: new variables "bool use_natbib" and
12854 "bool use_numerical_citations".
12855 (writeFile): output them in the LyX file.
12857 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12859 * lyxfunc.C (getStatus): add support for all the inset insertion
12862 * text2.C (insertInset):
12863 * paragraph.C (insetAllowed):
12864 * BufferView_pimpl.C (insertInset): update to take in account the
12865 renaming of insertInsetAllowed
12867 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12869 * text2.C (getInset): new method. returns inset at cursor position.
12871 * BufferView_pimpl.C (Dispatch): changes because of this.
12873 * LyXAction.C (init): rename open-stuff to inset-toggle.
12875 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12877 * text2.C (toggleInset): renamed from openStuff; use
12880 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
12882 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12884 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12886 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
12888 * buffer.C (readLyXformat2): Add filename to the error dialog
12890 2001-07-18 Juergen Vigna <jug@sad.it>
12892 * tabular.C (GetCellNumber): put an assert here instead of the check!
12894 2001-07-17 Juergen Vigna <jug@sad.it>
12896 * BufferView_pimpl.C (toggleSelection): adapted too.
12898 * text.C (selectNextWord): adapted for use with insets.
12899 (selectSelectedWord): ditto
12901 2001-07-17 Juergen Vigna <jug@sad.it>
12903 * sp_spell.C (PSpell): fix initialitation order.
12905 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12907 * paragraph.C: spacing
12909 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
12911 * sp_spell.C: repair language selection for pspell
12913 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12915 * lyxfunc.h: change more methods to begin with lower char.
12917 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
12919 * buffer.C (parseSingleLyXformat2Token): Generate error insets
12920 for unknown layouts.
12922 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
12924 * buffer.C (readLyXformat2): Generate an error dialog if there are
12927 2001-07-16 Juergen Vigna <jug@sad.it>
12929 * sp_spell.C: always compile ISpell part.
12931 * lyxrc.C: added use_pspell entry and it's handling.
12933 2001-07-13 Juergen Vigna <jug@sad.it>
12935 * sp_spell.C: removed double includes.
12937 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
12939 Consistent use of Lsstream.h:
12940 * Lsstream.h: added using std::stringstream for consistencies sake.
12942 * buffer.C: removed using std::stringstream
12944 * lyxfont.C (stateText):
12945 * paragraph.C (asString):
12946 * text.C (selectNextWord, selectSelectedWord):
12947 * text2.C (setCounter):
12948 * vspace.C (asString, asLatexString):
12949 std::ostringstream -> ostringstream.
12951 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12953 * LyXAction.C: add LFUN_HELP_ABOUTLYX
12954 * commandtags.h: add LFUN_HELP_ABOUTLYX
12955 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12957 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12959 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12961 * lyx_gui_misc.C: remove spellchecker
12962 * lyxfunc.C: showSpellchecker
12964 * sp_ispell.h: added
12965 * sp_pspell.h: added
12966 * sp_spell.C: added
12967 * sp_form.[Ch]: removed
12968 * spellchecker.[Ch]: removed
12970 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
12972 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12974 (simpleTeXSpecialChars): Simply print the input character without
12975 any special translation if pass_thru is set.
12977 * layout.h: Added bool pass_thru to layout class for being able to
12978 implement pass through of a paragraph for Literate Programming.
12980 * layout.C: add LT_PASS_THRU to LayoutTags enum.
12981 * layout.C (LyXLayout): set pass_thru to flase in constructor.
12982 * layout.C (Read): add "passthru" to list of layout tags and add
12983 code to set the pass_thru boolean when it is read.
12985 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12987 * trans_decl.h: remove allowed from KmodInfo
12989 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12990 remove allowed code
12993 * paragraph_pimpl.C (erase): use boost::prior
12995 * Painter.C (text): use data() instead of c_str() when length is
12997 * WorkArea.C (putClipboard): ditto
12998 * font.h (width): ditto
13000 * BufferView2.C: use it-> instead of (*it). for iterators
13002 * paragraph_pimpl.C: ditto
13003 * paragraph.C: ditto
13004 * minibuffer.C: ditto
13005 * language.C: ditto
13007 * encoding.C: ditto
13008 * counters.C: ditto
13009 * converter.C: ditto
13011 * Variables.C: ditto
13012 * TextCache.C: ditto
13013 * MenuBackend.C: ditto
13014 * LyXAction.C: ditto
13016 * FloatList.C: ditto
13017 * DepTable.C: ditto
13018 * ColorHandler.C (LyXColorHandler): ditto
13020 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13022 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13024 * text2.C (openStuff): reintroduce this method (which had been
13025 nuked in NEW_INSETS frenzy).
13027 * lyxfunc.C (Dispatch): when an action has not been handled, use
13028 its name in the error message, not its number.
13030 * paragraph.C (inInset): change method name to begin with lowercase.
13033 * text2.C: updates because of this.
13035 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13037 * ToolbarDefaults.C (add): add spaces in error message
13039 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13041 * buffer.C (readLyXformat2): initialize the ert comp. variables.
13042 (readLyXformat2): rename return_par to first_par, use lyxlex's
13043 pushToken and remove the manual push handling.
13044 (parseSingleLyXformat2Token): add another ert comp. variable:
13045 in_tabular, rename return_par to first_par. handle newlines better
13047 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13049 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13051 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13053 * text2.C (getParFromID): removed
13055 * buffer.C (getParFromID): new method moved form lyxtext.
13056 * BufferView2.C (insertErrors): adjust
13057 (setCursorFromRow): adjust
13058 * BufferView_pimpl.C (restorePosition): adjust
13059 * lyxfunc.C (Dispatch): adjust
13060 * undo_funcs.C (textUndo): adjust
13062 (textHandleUndo): adjust
13063 (textHandleUndo): adjust
13065 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13067 * buffer.C: up' the LYX_FORMAT
13069 * lyxfont.h: turn NO_LATEX on as default
13071 * buffer.C (insertErtContents): new methods of tex style compability.
13072 (parseSingleLyXformat2Token): use it several places.
13073 * tabular.C (OldFormatRead): and here
13075 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13077 * text2.C: remove some commented code.
13080 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13081 * trans.C: changes because of the above.
13083 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
13085 * text2.C (setCounter): Fix counters bug with bibliography layout.
13087 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13089 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13090 own member functions
13091 (simpleTeXSpecialChars): ditto
13093 2001-07-06 Juergen Vigna <jug@sad.it>
13095 * a lot of files: changed the access to LyXText::status and the
13096 call of undo-functions.
13098 * undo.[Ch]: added a inset_id to the undo informations.
13100 * undo_funcs.[Ch]: added and moved here all undo functions.
13102 * lyxtext.h: give the status enum a weight, made status_ a private
13103 variable and made accessor functions for it, removed the whole bunch
13104 of undo-functions as they are now in their own file, make some
13105 functions publically available. Added function ownerParagraph with
13108 * paragraph.[Ch]: added "bool same_ids" to the constructor,
13109 made InInset() a const function, added getParFromID() function.
13111 * buffer.[Ch]: added const version for inset_iterator functions,
13112 added getInsetFromID() function.
13114 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13115 changed undo functions for new version.
13117 2001-07-05 Juergen Vigna <jug@sad.it>
13119 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13120 unknow mechanism does not call the proper constructor but only this
13121 one also if I request the other!?
13123 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13125 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13127 * text2.C (LyXText): use initialization lists.
13129 * lyxtext.h (Selection): initialize set_ and mark_
13130 (init): remove method
13132 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
13134 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13136 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13138 * screen.[Ch]: change method names to begin with lowercase
13140 * BufferView_pimpl.C (updateScrollbar): simplify further and
13141 hopefully make it a bit faster.
13143 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13145 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13146 calling directly xforms functions.
13148 * Painter.C (Painter):
13149 * lyx_cb.C (MenuWrite):
13150 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13153 * lyx_gui.C: remove bogus guiruntime extern declaration.
13155 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13157 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13159 (redoDrawingOfParagraph): ditto
13160 (redoParagraphs): ditto
13161 (cutSelection): don't create a object for CutAndPaste use the
13162 static method directly
13163 (pasteSelection): ditto
13165 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13168 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13170 * modifications to some other files because of this.
13172 * Makefile.am (lyx_SOURCES): add XFormsView
13174 * XFormsView.[Ch]: new files
13176 * LyXView.[Ch]: make LyXView a base class for the gui handling for
13177 the main window. Move the gui dependent stuff to XFormsView
13179 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13181 * tabular.C (GetCellInset): update cur_cell also in the row/col
13182 version of this function.
13184 * lyxfunc.C: no need to include figure_form.h here.
13190 * lyxvc.C: no need to include forms.h here.
13192 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13194 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13196 * lyxfunc.C (Dispatch):
13198 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13199 constructor argument.
13201 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13203 * paragraph.C (Paragraph): dont't clear, and just set layout.
13204 (makeSameLayout): use params's copy contructor.
13206 * ParagraphParameters.[Ch] (makeSame): delete method
13208 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
13210 * Variables.[Ch]: fix indentation, rename set to isSet
13212 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13214 * lyxfunc.C (Dispatch): fix typo
13216 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13218 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13221 * bufferlist.C: include assert.h for emergencyWrite().
13223 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13225 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13226 give up at last (bug #425202) !
13228 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
13234 * spellchecker.C: strip spellchecker options and bring up
13235 preferences tab instead
13237 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13239 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13240 the istringstream constructor
13242 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13244 * paragraph.C (getLayout): fix return value
13246 * paragraph.h: do not declare getLayout as inline.
13248 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13250 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13252 * lyxcursor.h (operator<): new func
13253 (operator>): new func
13254 (operator>=): new func
13255 (operator<=): new func
13257 * text.C (changeCase): use selection.start and selection.end
13258 (changeRegionCase): require from to be <= to. Require par to be a
13261 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13263 2001-06-27 Juergen Vigna <jug@sad.it>
13265 * text.C (cursorLeftOneWord): changed to return the cursor and added
13266 overlay with BufferView * parameter which calls this one.
13268 (selectWord): use new getWord function.
13269 (changeCase): renamed from changeWordCase as and extended to work
13270 also on selections.
13272 * lyxtext.h: added enum word_location
13274 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13275 changeCase as this operates now also on selections.
13277 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
13279 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13281 * many files: send debug output to Debug::INFO instead of
13284 * converter.C (View):
13286 (Move): send debug output to Debug::FILES instead of console.
13288 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
13290 * lyxfunc.C (getStatus): use func_status
13292 * func_status.h: new header, describing the results of
13293 LyXFunc::getStatus;
13295 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13298 2001-06-25 The LyX Project <jug@sad.it>
13300 * buffer.C (sgmlOpenTag):
13302 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
13304 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13306 * text2.C: remove some dead code
13308 * tabular.C (GetCellInset): store the last cell checked (gotten)
13310 * tabular.h: add the helper for the speedup
13312 * lyxtext.h: remove some dead code
13314 2001-06-26 The LyX Project <Asger>
13316 * paragraph.C: Change export to LaTeX of alignment to
13317 \begin{center} and family for better roundtrip work with reLyX.
13319 * Tune the math drawing a bit.
13321 2001-06-25 The LyX Project <Asger>
13323 * LColor.C (LColor): New color for math background. New color
13326 2001-06-25 The LyX Project <jug@sad.it>
13328 * lyxfunc.C (MenuNew): remove extra check for .lyx file
13330 * lyxfunc.C (Open):
13331 * bufferlist.C (newFile): do not restrict to files ending with
13334 * BufferView_pimpl.C (MenuInsertLyXFile):
13336 2001-06-24 The LyX Project <jug@sad.it>
13338 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13341 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13343 * lyxtext.h: rename most methods to begin with a small char.
13344 Lots of changes because of this.
13346 * paragraph.C (Paragraph): do not call fitToSize
13347 (erase): call Pimpl::erase
13348 (insertChar): call Pimpl::insertChar
13349 (insertInset): call Pipl::insertInset
13350 (breakParagraph): do not call fitToSize
13351 (breakParagraphConservative): do not call fitToSize
13352 (fitToSize): remove method
13354 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13356 2001-06-24 The LyX Project <Asger>
13358 * Fix Qt compilation^2
13360 2001-06-24 The LyX Project <jug@sad.it>
13362 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13363 depthHook(getDepth()-1).
13366 * ParagraphParameters.h:
13367 * ParameterStruct.h: change type of depth to unsigned int ==
13368 depth_type. Many adaptations to other files before of that.
13370 2001-06-24 The LyX Project <Asger>
13372 * Fix Qt compilation.
13374 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13376 * paragraph.h: renamed several methods to begin with small letter.
13377 several changes to many parts of the code because of this.
13379 2001-06-23 The LyX Project <jug@sad.it>
13381 * text2.C (InsertStringAsLines): renamed from InsertStringA;
13382 rewritten to discard all double spaces when KeepEmpty is off
13383 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13384 to only handle newlines but not fiddle with spaces and friends.
13386 * lyxfunc.C (MenuNew): when doing 'new from template', use
13387 template_path as default directory
13389 2001-06-23 The LyX Project <Asger>
13391 * Clean-up of header file includes all over
13392 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13394 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13396 * paragraph.h: renamed from lyxparagraph.h
13398 2001-06-23 Asger <lyx@violet.home.sad.it>
13400 * Buffer.h: Removed Buffer::resize
13401 * BufferList.h: Removed BufferList::resize
13402 * LyXView.h: Added LyXView::resize. This way, we will only reflow
13403 the document lazily when we change the width, or the font settings.
13405 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13407 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13409 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13411 * buffer.h: remove out of date comment
13413 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13416 * screen.C: fix "theoretical" GC leak
13418 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13420 * LaTeX.C (scanAuxFile):
13421 (deplog): remove trailing \r when reading stream (useful under
13424 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
13426 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13427 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13428 and BufferView::theLockingInset(Inset*), so should use them and not
13429 access bv_->text->the_locking_inset directly.
13431 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13433 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13436 * tex-defs.h: remove old unused file
13438 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
13440 * BufferView_pimpl.C: fix typo, remove minibuffer message
13441 when buffer has loaded
13443 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13445 * lyxfunc.C (Dispatch): use stringstream
13446 (MenuNew): use stringstream
13447 (Open): use stringstream
13449 * importer.C (Import): use stringstream
13451 * bufferview_funcs.C (CurrentState): use stringstream
13453 * LaTeX.C (run): use stringstream
13455 * BufferView_pimpl.C (savePosition): use stringstream
13456 (restorePosition): use stringstream
13457 (MenuInsertLyXFile): use stringstream
13459 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
13472 * vspace.C: removed // -*- C++ -*- as first line.
13475 * version.h: added // -*- C++ -*- as first line.
13477 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13479 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13481 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13484 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13486 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13489 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13491 * gettext.C: include LString.h even when --disable-nls is on.
13493 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
13495 * converter.h (Get): changed argument type from int to
13496 FormatList::size_type to avoid unnecessary conversion.
13498 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13501 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13503 * gettext.h: include LString.h even when --disable-nls is on.
13505 2001-06-07 Juergen Vigna <jug@sad.it>
13507 * text.C (BreakAgain): subst spaces with tabs.
13509 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13510 (resizeInsetsLyXText): set force on resizeLyXText.
13512 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13514 * gettext.h (gettext_init):
13515 (locale_init): use a real definition instead of a macro
13517 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13519 * Bufferview_pimpl.C:
13521 * LColor.C: further lcolor tidies
13523 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13525 * BufferView_pimpl.C (updateScrollbar): simplify.
13527 * BufferView2.C: don't include insets/insetinfo.h, change
13528 prototype for insertInset and call the Pimpl version. let
13529 updateInset call Pimpl version.
13531 * BufferView.h: move inset_slept to BufferView::Pimpl, move
13532 gotoInset to BufferView::Pimpl
13534 2001-06-01 Juergen Vigna <jug@sad.it>
13536 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13537 inside a LockingInset (is the update needed at all?).
13539 2001-05-31 Juergen Vigna <jug@sad.it>
13541 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13542 here not the old one otherwise how should we compare it afterwards
13545 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13550 * FontInfo.C: bring C functions into global namespace when
13553 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13555 * LString.h: make sure config.h has been loaded before LString.h.
13557 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13558 (one for each char read by EatLine!).
13560 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13563 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13565 * paragraph.C (BreakParagraph): set the inset_owner in the new par
13566 to the same as the par we break from
13568 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
13570 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13572 * MenuBackend.C (expand): also create menu entries for wide
13573 versions of the floats.
13575 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13577 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13579 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13580 frontends/Makefile.am
13586 * tabular.C (getTokenValue): add std::
13588 * tabular-old.C (getTokenValue): add std::
13589 (getTokenValue): ditto
13590 (getTokenValue): ditto
13592 * screen.C (ToggleSelection): adjust
13594 * lyxtext.h: put selection cursors inside a Selection struct.
13596 * lyxfunc.C (moveCursorUpdate): adjust
13598 * lyxfont.C (latexWriteStartChanges): add std::
13600 * lyxfind.C: adjust
13602 * font.h: delete with(char const *, LyXFont const &)
13604 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13606 * FontInfo.C (getFontname): add std::
13608 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13609 (workAreaButtonPress): adjust
13610 (tripleClick): adjust
13612 (moveCursorUpdate): adjust
13615 * BufferView2.C (gotoInset): adjust
13617 2001-05-30 Juergen Vigna <jug@sad.it>
13619 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13620 to check pspell I add this as default as I now have new pspell
13621 libraries and they seem to use this.
13623 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13625 * text2.C (CutSelection): make the cursor valid before the call to
13628 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13630 * kbsequence.C (parse): de-uglify a bit the parsing code, which
13631 relied on 0 terminated strings and other horrors. Bug found due to
13632 the new assert in lyxstring!
13634 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13637 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13639 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13642 * lyxfunc.C (processKeySym): change method of getting to the
13645 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13646 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13647 * BufferView_pimpl.[Ch]: here as private methods.
13649 2001-05-28 Juergen Vigna <jug@sad.it>
13651 * text.C (SetHeightOfRow): added the update() call again as it is
13652 needed to initialize inset dimensions!
13654 2001-05-16 Juergen Vigna <jug@sad.it>
13656 * text2.C (SetCharFont): Add new function with BufferView * and
13657 bool toggleall parameters for setting insets internal fonts.
13658 (SetFont): Freeze the undo as we may change fonts in Insets and
13659 all this change should be inside only one Undo!
13661 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13662 setting font's in insets as for them we have the SetFont function!
13664 2001-05-15 Juergen Vigna <jug@sad.it>
13666 * text2.C (ClearSelection): to be sure we REALLY don't have any
13669 * tabular.C (TeXCellPreamble): fixed the left border problem for
13672 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
13674 * LaTeX.C (deplog): Make sure that the main .tex file is in the
13677 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13679 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13680 LFUN_BREAKPARAGRAPH.
13682 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13683 help test to "internal only", similar for LFUN_INSERT_URL
13685 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13686 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13687 auto_region_delete and deadkeys.
13689 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
13692 * LColor.C: remove some dead entries, tidy a little
13694 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13696 * lyxfunc.C (processKeySym): comment the Escape handling, remove
13698 (Dispatch): implement LFUN_ESCAPE
13700 * commandtags.h: add LFUN_ESCAPE
13702 * LyXAction.C (init): add entry for LFUN_ESCAPE
13704 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13705 Remove commented code.
13706 (insertNote): moved here
13707 (open_new_inset): moved here
13709 * BufferView[2].[Ch]: move insertNote and open_new_inset to
13712 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13714 * kbmap.C (findbinding): clean it up and make it work correctly.
13716 * lyx_main.C (init): do not pass argc and argv as parameters
13718 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
13720 * buffer.C: fix path for OS/2 & Win32
13724 * lyx_main.C: Added os:: class.
13726 * os2_defines.h: update
13728 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13730 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13731 better by trying again with reduced state.
13733 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13735 * lyxrc.C (read): print error about invalid key sequence only when
13736 debugging (because not all latinX keysyms are known to some X
13739 * kbsequence.C (getiso): add a few std:: qualifiers
13740 (getiso): comment out extra return statement.
13742 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
13744 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13746 (Dispatch): enhance the accent inset a bit. (not perfect)
13748 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13750 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13752 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13754 * bufferlist.C (emergencyWrite): fix assert() call
13756 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
13758 * text.C (InsertChar): Added trivial patch to only send the "you
13759 can not do multiple spaces this way" message once during a
13762 2001-05-08 Baruch Even <baruch@lyx.org>
13764 * Makefile.am: Changed order of libraries to get LyX to link properly
13765 with the gnome frontend.
13767 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13769 * LaTeXFeatures.h: add a std:: qualifier
13771 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13773 * paragraph.C (String): use stringstream
13775 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13777 * paragraph.C (writeFile): remove footflag arg
13779 * buffer.C (makeLaTeXFile): use stringstream
13780 (latexParagraphs): remove footnot gurba
13782 * LaTeXFeatures.C (getPackages): use stringstream
13783 (getMacros): likewise
13784 (getTClassPreamble): likewise
13785 (getFloatDefinitions): new method
13787 * paragraph.C (writeFile): reindent
13790 * WorkArea.h: revert the xpos + etc changes.
13792 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13794 * lyxparagraph.[Ch]: add copy constructor, remove Clone
13796 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13797 (pasteSelection): likewise
13798 * text2.C (CreateUndo): likewise
13800 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13802 * minibuffer.C (peek_event): temporarily reduce the functionality
13803 of the minibuffer (to allow args on lfuns)
13805 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13806 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13808 * buffer.C (readInset): add compability reading of old float
13809 lists, add reading of new style float list.
13810 (readInset): avoid reevaluation of inscmd.getCmdName()
13811 (getLists): reindent
13813 * MenuBackend.C (MenuItem): implement parsing of
13814 md_floatlistinsert and md_floatinsert.
13815 (expand::LastFiles): move initalizaton of iterators out of loop,
13816 avoid reevaluation.
13817 (expand::Documents): introduce typdedef vector<string> Strings,
13819 (expand::ExportFormats): introduce typedef vector<Format const *>
13820 Formats, and use it.
13821 (expand): implement FloatListInsert and FloatInsert.
13823 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13824 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13825 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13827 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13829 (Dispatch::LFUN_FLOAT_LIST): implement
13831 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13833 * LaTeX.C (run): Fix problem with --export code.
13835 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13837 * BufferView.[Ch] (workarea): removed.
13838 (getClipboard) new method; wrapper for workarea()->getClipboard()
13840 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13843 * WorkArea.h (width, height, xpos, ypos): These methods all
13844 returned the dimensions of the work_area sub-area of WorkArea,
13845 resulting in a position error if the WorkArea were resized. Now
13846 return the dimensions of the entire WorkArea.
13848 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13850 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13852 * LaTeX.C (deplog): correct the syntax of regex reg1
13854 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13856 * undo.C: remove !NEW_INSETS cruft
13858 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13860 * text2.C: remove !NEW_INSETS cruft
13862 * text.C: remove !NEW_INSETS cruft
13864 * tabular.C: remove !NEW_INSETS cruft
13866 * spellchecker.C: remove !NEW_INSETS cruft
13868 * lyxtext.h: remove !NEW_INSETS cruft
13870 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13872 * lyxfunc.C: remove !NEW_INSETS cruft
13874 * lyxfind.C: remove !NEW_INSETS cruft
13876 * lyx_cb.C: remove !NEW_INSETS cruft
13878 * figureForm.C: remove !NEW_INSETS cruft
13880 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13882 * buffer.[Ch]: remove !NEW_INSETS cruft
13884 * ToolbarDefaults.C: remove !NEW_INSETS cruft
13886 * CutAndPaste.C: remove !NEW_INSETS cruft
13888 * BufferView_pimpl.C: remove !NEW_INSETS cruft
13890 * BufferView2.C: remove !NEW_INSETS cruft
13892 * BufferView.h: remove !NEW_INSETS cruft
13894 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13896 * Lsstream.h: include LString.h before the sstream headers to
13897 fix problem with gcc 2.95.3 and lyxstring
13899 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13901 * lyx_main.C: add using directives when needed for C functions
13902 declared in std:: namespace.
13904 2001-04-27 Juergen Vigna <jug@sad.it>
13906 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13907 (SetHeightOfRow): comment out the update call should not be needed!
13909 2001-04-13 Juergen Vigna <jug@sad.it>
13911 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13912 (LyXTabular): tried to minimize operator= operations (and realized
13913 hopfully Lars wish).
13915 2001-04-27 Juergen Vigna <jug@sad.it>
13917 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13919 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13921 * lyxfunc.C (Dispatch): hack to make listof algorithm work
13923 * buffer.C (readInset): hack to make listof algorithm work
13925 * BufferView_pimpl.C: hack to make listof algorithm work
13927 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13929 * LyXAction.C: removed all !NEW_INSETS cruft
13930 (init): moved lfun_item in method
13932 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13934 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13936 * BufferView2.C (theLockingInset): white space.
13938 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13940 * minibuffer.C: include <iostream>
13942 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13944 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13946 * commandtags.h: add LFUN_TRANSPOSE_CHARS
13948 * text.[Ch] (TransposeChars): new method
13950 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13952 * call message directly through LyXView instead of through LyXFunc
13953 * BufferView2.C: adjust
13954 * BufferView_pimpl.C: adjust
13955 * FontLoader.C: adjust
13957 * bufferview_funcs.C: adjust
13958 * converter.C: adjust
13959 * figureForm.C: adjust
13960 * importer.C: adjust
13962 * lyx_gui_misc.C: adjust
13963 * lyxfunc.C: adjust
13966 + more files in subdirs
13968 * lyxparagraph.h (size): move up int file
13971 * adjust all uses of Assert to lyx::Assert.
13973 * BufferView2.C (ChangeCitationsIfUnique): adjust for
13974 lyxfunctional in namespace lyx
13975 * layout.C (hasLayout): ditto
13978 (delete_layout): ditto
13979 (NumberOfClass): ditto
13980 * converter.C (GetFormat): ditto
13985 * bufferlist.C (getFileNames): ditto
13986 (emergencyWriteAll): ditto
13989 * MenuBackend.C (hasSubmenu): ditto
13992 * BufferView_pimpl.C (getInsetByCode): ditto
13994 2001-04-18 Juergen Vigna <jug@sad.it>
13996 * vspace.C (asLatexString): fixed the 100% problem.
13998 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14000 * lyxfunc.C (Dispatch):
14002 * minibuffer.h: add a few std:: qualifiers
14004 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14006 * minibuffer.[Ch]: reimplement so that commands is initiated and
14007 run from lyxfunc, simplified som handling, and made the completion
14008 and history code for complete. wip.
14010 * lyxfunc.C (processKeySym): call message
14011 (miniDispatch): new temporary method
14012 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14013 (LFUN_MESSAGE): implement
14014 (LFUN_MESSAGE_PUSH): implement
14015 (LFUN_MESSAGE_POP): implement
14016 (initMiniBuffer): the initial/defualt minibuffer message.
14018 * lyxfont.[Ch]: inline some more getters
14020 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14022 * lyx_gui_misc.[Ch] (WriteStatus): remove method
14024 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14025 (AutoSave): use LFUN_MESSAGE
14026 (Reconfigure): ditto
14028 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14030 * figureForm.C: use LFUN_MESSAGE
14032 * converter.C (runLaTeX): use LFUN_MESSAGE
14034 * bufferview_funcs.C: use LFUN_MESSAGE
14036 (changeDepth): ditto
14038 * bufferparams.h: use boost::
14040 * bufferlist.h: inherit privately from noncopyable
14042 * bufferlist.C (loadLyXFile): remove some commented code.
14044 * buffer.C (runChktex): use LFUN_MESSAGE
14046 * ShareContainer.h: inherit privately from noncopyable
14048 * ParagraphParameters.[hC] (depth): inline it.
14050 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14052 (message): new method
14053 (messagePush): ditto
14054 (messagePop): ditto
14055 (show): init minibuffer
14056 (showState): direct call
14058 * LaTeX.[Ch]: inherit privately from noncopyable
14059 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14060 instead of WriteStatus.
14062 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14064 * BufferView_pimpl.C (buffer): don't init minibuffer
14065 (workAreaButtonPress): use LFUN_MESSAGE
14066 (workAreaButtonRelease): ditto
14067 (savePosition): ditto
14068 (restorePosition): ditto
14069 (MenuInsertLyXFile): ditto
14070 (workAreaExpose): don't init minibuffer
14071 (update): remove commented code, simplify
14073 * BufferView2.C (openStuff): use LFUN_MESSAGE
14074 (toggleFloat): ditto
14077 (copyEnvironment): ditto
14078 (pasteEnvironment): ditto
14083 (updateInset): remove some commented code
14085 * lastfiles.h: inherit privately from noncopyable
14088 * lyx_main.h: ditto
14090 * lyxlex_pimpl.h: ditto
14092 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14093 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14094 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14096 * LyXAction.h: inherit privately from noncopyable, add methods
14097 func_begin, func_end, returning iterators to the func map.
14099 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14100 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14101 (func_begin): new method
14102 (func_end): new method
14104 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14106 (copySelection): ditto
14107 (pasteSelection): ditto
14109 * BufferView.C: whitespace change
14110 * BufferView.h: inherit privately from noncopyable
14112 2001-04-16 Allan Rae <rae@lyx.org>
14114 * tabular-old.C (l_getline):
14115 * spellchecker.C (sc_check_word):
14116 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14117 an unrecognised preprocessor directive. So ensure they're wrapped.
14119 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
14121 * src/exporter.C (Export): Give an error message when path to file
14124 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
14126 * LaTeX.C (deplog): Always check that foundfile exists.
14128 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14131 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14133 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14135 * tabular.[Ch] (getLabelList): implement new method
14137 * minibuffer.h: comment ouf setTiimer
14139 * minibuffer.C (ExecutingCB): constify res
14140 (peek_event): constify s
14141 (Set): constify ntext
14142 (Init): constify nicename
14144 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14146 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14147 (savePosition): use two params to Minibuffer::Set
14148 (restorePosition): ditto
14150 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14152 * lyx_main.C: include language.h
14154 * Makefile.am (lyx_main.o): add language.h
14156 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14162 * CutAndPaste.C: include gettext.h
14164 * lyxfont.h: remove old hack with ON and OFF.
14167 * lyxfont.h: do not include language.h...
14172 * bufferview_funcs.C:
14178 * paragraph.C: ... but do it here instead
14180 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14182 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14184 * tabular.C: small reformat
14186 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14189 (BreakParagraph): ditto
14190 (SetOnlyLayout): ditto
14193 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14196 * lastfiles.C: removed most using decl, add std:: where needed
14198 * buffer.C: ws changes
14200 * MenuBackend.C (class compare_format): put into anon namespace
14201 (expand): constify label, names, action, action2
14204 * text.C (SingleWidth): constify font
14205 (IsBoundary): constify rtl2
14206 (GetVisibleRow): constify ww
14208 * LaTeX.C (deplog): constify logfile
14210 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14212 (workAreaExpose): constify widthChange, heightChange
14214 * lyxrow.C (par): moved
14217 * lyxrow.h: as inlines here
14219 * lyxfont.h (shape): moved from lyxfont.C
14220 (emph): moved from lyxfont.C
14222 * lyxfont.C (LyXFont): use initialization list for all
14224 (shape): move to lyxfont.h as inline
14225 (emph): move to lyxfont.h as inline
14228 2001-04-04 Juergen Vigna <jug@sad.it>
14230 * vspace.C: had to include stdio.h for use of sscanf
14232 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
14235 * BufferView_pimpl.h: remove xforms cruft. Both classes are
14236 independent of xforms.
14238 2001-04-02 Juergen Vigna <jug@sad.it>
14240 * spellchecker.C: fixed namespace placing!
14242 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
14244 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14245 the LyXParagraph * is 0.
14247 2001-03-29 Juergen Vigna <jug@sad.it>
14249 * vspace.C: added support for %, c%, p%, l%.
14250 (stringFromUnit): added helper function.
14251 (asLatexString): changed to give right results for the %-values.
14253 * buffer.C: convert the widthp in a width%.
14255 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
14257 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14260 * figureForm.[Ch]: stripped the FD_from_figure manipulation
14261 code out of lux_cb.[Ch], ready for its (imminent?) removal.
14263 * lyx_cb.[Ch]: see above.
14265 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14269 * lyx.[Ch]: replaced by figure_form.[Ch].
14273 * lyxfunc.C: changed headers associated with above changes.
14275 2001-03-27 Juergen Vigna <jug@sad.it>
14277 * BufferView_pimpl.C: set the temporary cursor right!
14279 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
14281 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14283 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
14285 * LString.h: removed "using std::getline"!
14287 * BufferView_pimpl.C (Dispatch): changes due to changes in
14288 InsetInclude::Params.
14290 * buffer.C (tag_name): removed redundant break statements as they were
14291 producing lots of warnings with my compiler.
14293 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14295 * LString.h: add "using std::getline" when using the real <string>.
14297 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
14299 * buffer.C: removed bitset usage.
14300 PAR_TAG moved to an anonymous name space.
14301 (tag_name): new funtion, also in the anonymous namespace.
14302 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14303 (makeDocBookFile): clean code. Completed transition from string arrays
14305 (SimpleDocBookOnePar): code clean.
14307 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14309 * tabular.C: add some comments.
14311 2001-03-22 Juergen Vigna <jug@sad.it>
14313 * buffer.C (parseSingleLyXformat2Token): redone the minipage
14314 compatibility read a bit and fixed bug with minipage in different
14317 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
14319 * buffer.C (pop_tag): removed.
14320 (push_tag): removed.
14321 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14322 array replaced with vector. Added support for CDATA sections.
14323 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14325 (makeDocBookFile): XML conformant declaration of CDATA section,
14326 fixed bug related to <emphasis> in the first paragraph char.
14327 (sgmlOpenTag): exclude empty tags.
14328 (sgmlCloseTag): ditto.
14330 * buffer.h (pop_tag): removed.
14331 (push_tag): removed.
14333 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
14335 * language.h (Languages): added size_type and size().
14337 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14339 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14340 response on compability reading of minipages. One probliem is that
14341 the old usage of minipages was «flertydig»
14343 * several files here and in subdirs: don't use static at file
14344 scope use anon namespaces instead.
14346 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
14348 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14349 LaTeX output. This is necessary for Literate document
14352 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14354 * buffer.C: insert hfill when needed.
14356 * tabular.C (l_getline): use string::erase, small whitespace change.
14358 * BufferView_pimpl.C: try the anon namespace.
14359 * WorkArea.C: ditto
14361 2001-03-16 Juergen Vigna <jug@sad.it>
14363 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14364 otherwise it won't open options-dialogs.
14366 * buffer.C: honor pextraWidth(p) on converting minipages.
14368 * tabular.C (l_getline): changed the functions to strip trailing \r.
14370 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
14372 * BufferView_pimpl.C:
14373 * minibuffer..C: added "using SigC::slot" declaration.
14375 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14377 * lyxlex_pimpl.h: noncopyable is in namespace boost.
14383 * paragraph.C: ditto
14385 * lyxtext.h: NO_PEXTRA
14387 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14389 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14390 * ParameterStruct.h: ditto
14391 * ParagraphParameters.h: ditto
14392 * lyxparagraph.h: ditto
14394 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14396 * buffer.C: add compability for minipage alignment.
14397 (latexParagraphs): remove unwanted pextra check.
14399 * several files: remove CXX_WORKING_NAMESPACES
14401 * buffer.C (pop_tag): tie is in namespace boost
14403 * BufferView.h: noncopyable is in namespace boost
14405 * lyx_main.h: ditto
14408 * lastfiles.h: ditto
14409 * bufferlist.h: ditto
14410 * ShareContainer.h: ditto
14412 * LyXAction.h: ditto
14415 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14417 * Merging changes from BRANCH_MVC back into HEAD.
14419 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14421 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
14423 * BufferView_pimpl.C: change from intl.C
14427 * Makefile.am: move combox.*
14433 * intl.C: remove dialog (covered by prefs)
14435 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14437 * lyxfunc.C (Dispatch): removed redundant break statement.
14439 2001-03-14 Juergen Vigna <jug@sad.it>
14441 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14443 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14445 * buffer.C: add hack to fix compability reading of minipages.
14447 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
14449 * buffer.C (getLists): Cleanup.
14451 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14453 * lyxfont.C (update): don't honor toggleall on font size.
14455 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
14459 * Makefile.am: moved to frontends/xforms/
14463 * BufferView_pimpl.C: changes for moved mathpanel
14465 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14467 * gettext.h: fix gettext_init() in --disable-nls
14469 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14471 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14473 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
14476 * lyx.h: strip external form
14478 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14480 * BufferView_pimpl.C: add comment, destroySplash()
14482 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14484 * BufferView_pimpl.C:
14488 * lyxfunc.C: use re-worked insetinclude
14490 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14492 * buffer.C: add using std::stringstream.
14494 * lyx_cb.C: readd using std::ios.
14496 * buffer.C: add using std::map.
14498 * BufferView_pimpl.C: add using std::vector.
14500 * ShareContainer.h: add std:: to swap.
14502 * buffer.h: add some typedefs
14503 * buffer.C (getLists): use them
14504 (getLists): renamed from getTocList.
14505 add a counter for the different float types and use it in the
14507 (getLists): use the same counter for the NEW_INSETS and the "non"
14510 * lyx_cb.h: remove unused items, includes, using etc.
14512 * ShareContainer.h: remove some commented code, add more comments
14513 and "documentation".
14515 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14517 * buffer.C (getTocList): make the list also when NEW_INSETS is
14520 * buffer.h: remove TocType
14522 * buffer.C (getTocList): change to return a map<string,
14523 vector<TocItem> >, implement for dynamic number of list.
14525 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14526 * text2.C (PasteSelection): adjust
14527 * CutAndPaste.C (pasteSelection): adjust
14529 * FloatList.C (FloatList): update from the new_insets branch.
14530 * Floating.[Ch]: ditto
14531 * LaTeXFeatures.C: ditto
14533 * lyxlex_pimpl.C: ditto
14535 * paragraph.C (Last): remove when NEW_INSETS is defined.
14537 * other file: changes because of the above.
14539 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14541 * lyxparagraph.h: rename next to next_, previous to previous_,
14542 make them private for NEW_INSETS. Rename Next() to next(),
14543 Previous() to previous().
14545 * other files: changes because of the above.
14547 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
14550 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14553 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14555 * main.C (main): pass lyx_localedir to gettext_init().
14557 * gettext.h: remove locale_init and gettext_init macros
14559 * gettext.C (locale_init): new function
14560 (gettext_init): new function
14562 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14565 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
14567 * Moved credits to frontends:
14568 * credits.[Ch]: removed
14569 * credits_form.[Ch]: removed
14570 * lyx_gui_misc.C: remove credits stuff
14573 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14575 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14577 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14578 unneeded destructor.
14580 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14581 a standalone pointer again.
14583 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14585 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
14591 * ToolbarDefaults.C:
14600 * BufferView_pimpl.C: use new file dialog in GUII
14603 * lyx_cb.C: remove LayoutsCB to Toolbar
14605 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14607 * ShareContainer.h (get): add std:: qualifier
14609 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14611 * ShareContainer.h: define a proper ShareContainer::value_type
14612 type (and use typename to please compaq cxx)
14614 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14616 * lyxparagraph.h: move serveral local vars to
14617 ParameterStruct/ParagraphParameters., use ShareContainer in
14618 FontTable., make vars in FontTable private and add getter and
14621 * paragraph.C: changes because of the above.
14623 * lyxfont.h: remove copy constructor and copy assignment. (the
14624 default ones is ok), move number inside FontBits. move inlines to
14627 * lyxfont.C: add number to initializaton of statics, move several
14628 inlines here. constify several local vars. some whitespace
14629 cleanup. Dont hide outerscope variables.
14631 * Spacing.h: add two new constructors to match the set methods.
14633 * ShareContainer.h: new file, will perhaps be moved to support
14635 * ParameterStruct.h: new file
14637 * ParagraphParameters.h: new file
14639 * ParagraphParameters.C: new file
14641 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14642 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14644 * BufferView_pimpl.C: ParagraphParameter changes.
14645 * buffer.C: Likewise.
14646 * bufferview_funcs.C: Likewise.
14647 * text.C: Likewise.
14648 * text2.C: Likewise.
14650 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14652 * lyxfind.C (LyXReplace): do not redefine default argument in
14654 (IsStringInText): ditto
14655 (SearchForward): ditto
14656 (SearchBackward): ditto
14658 2001-03-06 Juergen Vigna <jug@sad.it>
14660 * lyxfind.C (IsStringInText): put parentes around expressions.
14662 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
14664 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14666 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
14668 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14670 * stl_string_fwd.h: add comment
14672 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14675 * tabular.C: remove unused DocBook methods
14681 killed DO_USE_DEFAULT_LANGUAGE
14683 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14685 * lyx_gui.C: do not include language.h.
14687 * bufferview_funcs.C (ToggleAndShow): do not provide optional
14688 arguments in function implementation.
14690 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14692 * BufferView_pimpl.C: add <ctime>
14694 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14696 * BufferView_pimpl.C: add using std::find_if
14698 2001-02-27 José Matos <jamatos@fep.up.pt>
14700 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14703 2001-02-11 José Matos <jamatos@fep.up.pt>
14705 * buffer.C (makeDocBookFile): command styles now have a parameter as
14706 "title" by default.
14708 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
14710 * layout_forms.[Ch]: removed
14711 * lyx_cb.[Ch]: out character
14712 * lyx_gui.C: out character
14713 * lyx_gui_misc.C: out character
14714 * bufferview_funcs.C: : out character,
14715 added toggleall as parameter in ToggleAndShow
14717 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
14719 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14721 * text2.C (SetCurrentFont): Disable number property at boundary.
14723 2001-02-26 Juergen Vigna <jug@sad.it>
14725 * lyxfunc.C (getStatus): added a string argument override function so
14726 that this is correctly called from LyXFunc::Dispatch if it contains a
14727 do_not_use_argument which is used!
14728 (Dispatch): added check for "custom" export and call appropriate func.
14730 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
14732 * lyxrc.C: Add language_command_local, language_use_babel and
14733 language_global_options.
14735 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14737 * buffer.C (makeLaTeXFile): Use language_use_babel and
14738 language_global_options.
14740 2001-02-23 Juergen Vigna <jug@sad.it>
14742 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14743 which works with LyXText and putted it inside BufferView. Here now we
14744 only call for that part the BufferView::Dispatch() function.
14746 * BufferView.C (Dispatch): added.
14748 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14749 functions which needs to use a LyXText over from LyXFunc.
14750 (MenuInsertLyXFile): added
14751 (getInsetByCode): added
14752 (moveCursorUpdate): added
14753 (static TEXT): added
14755 2001-02-22 Juergen Vigna <jug@sad.it>
14757 * BufferView_pimpl.C (update): call a status update to see if LyXText
14760 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14762 * vc-backend.C (revert): implement for CVS
14763 (getLog): implement for CVS
14765 2001-02-20 Juergen Vigna <jug@sad.it>
14767 * text2.C (ClearSelection): added BufferView param for inset_owner call
14769 * lyxfunc.C (TEXT): added this function and use it instead of
14770 directly owner->view()-text of getLyXText().
14772 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
14774 * src/layout_forms.C: out preamble
14775 * src/layout_forms.h: out preamble
14776 * src/lyx_cb.C: out preamble
14777 * src/lyx_cb.h: out preamble
14778 * src/lyx_gui.C: out preamble
14779 * src/lyx_gui_misc.C: out preamble
14780 * src/lyxfunc.C: connect with guii preamble
14782 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
14784 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14786 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
14788 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14789 whether to run bibtex.
14791 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
14793 * Makefile.am (lyx_SOURCES): Remove BackStack.h
14795 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14797 * Makefile.am (lyx_SOURCES): removed bibforms.h
14799 * vspace.h: doxygen
14801 * text.C (GetVisibleRow): make several local vars const
14803 * tabular.C: small cleanup.
14805 * lyxserver.C (callback): use compare instead of strncmp
14807 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14808 inlines to after class or to paragraph.C
14810 * lyxfont.h: remove friend operator!=
14812 * converter.h: move friend bool operator< to non friend and after
14815 * combox.h: small cleanup
14817 * buffer.h: doxygen, remove unused constructor, move inclas inlies
14818 to inlines after class def.
14820 * buffer.C (pop_tag): use string operations instead of strcmp
14822 * bmtable.c: doxygen, small cleanup
14824 * LaTeX.h: remove friend operator==
14826 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
14838 * BufferView_pimpl.C:
14839 * BufferView.[Ch]: remove cruft
14841 2001-02-14 Juergen Vigna <jug@sad.it>
14843 * lyxfunc.C: removed #if 0 unused code
14845 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14847 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14849 * text2.C (SetSelection): added a BufferView * parameter
14851 2001-02-13 Juergen Vigna <jug@sad.it>
14853 * lyxfunc.C (Dispatch): fixed protected blank problem.
14854 * BufferView2.C (protectedBlank): added LyxText * parameter.
14856 * tabular.C (AppendRow): forgot to set row_info of newly added row.
14857 (AppendColumn): same as above for column_info.
14859 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14860 (moveCursorUpdate): use a LyXText param for support of InsetText.
14862 * BufferView_pimpl.C (doubleClick): added support for InsetText.
14863 (tripleClick): ditto
14865 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14867 * BufferView_pimpl.C (update): added LyXText param to honor insets.
14869 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14871 * text2.C (SetSelection): set correct update status if inset_owner
14872 (ToggleFree): ditto
14874 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
14876 * tabular.C: remove some commented code.
14878 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
14880 * BufferView_pimpl.C: call hideSplash()
14882 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14885 * bibforms.h: remove
14888 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14889 add LFUN_CHILD_CREATE
14891 * counters.h: fix tiny typo
14896 * lyx.C: move splash to frontends/xforms/
14898 * lyx_gui_misc.C: move Include and Bibform to frontends
14900 * lyxvc.h: clarify comment
14902 * vspace.C: tiny housekeeping
14904 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
14906 * text.C (PrepareToPrint): RTL Fix.
14908 * paragraph.C (GetUChar): New method.
14909 (String): Use GetUChar.
14911 * buffer.C (asciiParagraph): Use GetUChar.
14913 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
14915 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14917 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
14920 * buffer.C: rename to getLogName(), handle
14921 build log / latex log nicely
14923 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14926 * MenuBackend.h: remove support for reference menuitem type.
14928 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
14930 * BufferView_pimpl.C: housekeeping
14931 * BufferView_pimpl.h:
14936 * minibuffer.h: move Timeout GUI-I
14938 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
14940 * lyxrc.C (read): Update converters data-structures.
14942 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
14944 * LaTeX.h (operator!=): add operator != for Aux_Info
14946 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
14948 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14950 * LaTeXLog.C: deleted, useful code moved to Buffer
14953 * buffer.C: new function getLatexLogName()
14959 * lyxfunc.C: use frontends for LaTeX and VC logs
14961 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14963 * LaTeX.h: yet another std:: that Allan forgot.
14965 * Variables.C (set): renamed from isset(), because this clashes
14966 with some HP-UX macros (grr).
14968 2001-02-06 Allan Rae <rae@lyx.org>
14970 * LaTeX.h: Another bug fix. Missing std:: this time.
14972 2001-02-04 Allan Rae <rae@lyx.org>
14974 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14975 floats problem. I've left it commented out because it's not quite
14976 correct. It should also test that the current object is a table or
14977 figure inset. But I haven't gotten around to figuring out how to do
14978 that. I *think* it'll be something like: "table" == inset.type()
14980 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14983 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
14985 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14986 all the citation/databases/styles in the auxilary file.
14987 (run): Rerun latex if there was a babel language error.
14989 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
14991 * text.C (Backspace): Preserve the font when changing newline char
14993 (BreakParagraph): If the cursor is before a space, delete the space.
14995 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14997 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
14999 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15000 new argument (code).
15001 (ChangeCitationsIfUnique): New method.
15003 * paragraph.C (GetPositionOfInset): Handle bibkey.
15005 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15007 * BufferView_pimpl.h: change type of Position::par_pos to
15008 LyXParagraph::size_type.
15010 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
15012 * BufferView_pimpl.C (savePosition, restorePosition): Write
15013 messages to minibuffer.
15015 2001-01-28 José Matos <jamatos@fep.up.pt>
15017 * buffer.C (makeDocBookFile): adds support for document language.
15018 A silly restriction on the name of LatexCommand types where removed.
15019 Added support for CDATA sections, allows to chars unescaped, used
15020 among others in code, to avoid escape < and >.
15022 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15024 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15025 saved positions instrad of a stack. Furthermore, a position is
15026 stored using paragraph id/paragraph position.
15028 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15029 Remove LFUN_REF_BACK.
15031 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15033 * converter.C (dvipdfm_options): New method.
15035 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
15037 * vspace.C (isValidLength): Fix for empty input string.
15039 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15041 * LyXAction.C (init): change description of LFUN_FIGURE to
15044 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15046 * LaTeX.C: add using directive
15048 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15050 * MenuBackend.C (expand): Fix the sorting of the formats.
15052 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
15054 * lyx_main.C: tiny error message fix
15056 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15058 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15059 calling fl_initialize(). This fixes the problem with ',' as
15060 decimal separator in text files.
15062 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15064 * trans.C (process): Fix the keymap bug.
15066 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
15068 * LaTeX.C (scanAuxFiles): New method. Provides support for
15069 multiple bibliographies (when using the bibtopic/bibunits pacakges).
15070 (scanLogFile) Scan for "run BibTeX" messages.
15072 * buffer.C (makeLaTeXFile): Do not load the ae package when using
15073 OT1 font encoding. Also, load the aecompl package if the ae
15076 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15078 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15080 * texrow.C (increasePos): turn two error messages into debug
15083 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
15085 * LaTeX.C (scanAux): Handle the \@input macro.
15086 (runBibTeX): Use scanAux().
15088 * language.C (latex_options_): New field.
15090 * LaTeXFeatures.C (getMacros): Add language macros.
15092 * buffer.C (makeLaTeXFile): Small fix.
15094 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15096 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15098 * text2.C: add a using directive.
15100 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
15105 * lyxfunc.C: kill LyXBell.
15107 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
15109 * text.C (IsBoundary): Remove the error message
15111 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15113 * lyxrc.C (setDefaults): Correct initialization value for
15116 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
15118 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15121 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15122 and GotoNextNote().
15124 * src/LyXAction.C: Added reference-next.
15126 * text.C (InsertChar): Use contains instead of strchr.
15128 * lyx_cb.C (MenuInsertLabel): Enable default value code.
15130 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
15132 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15133 alignment commands (when needed).
15135 * text.C (InsertChar): Add ':' to number separator chars.