1 2004-03-31 Angus Leeming <leeming@lyx.org>
3 * lyxfunc.C (getStatus, dispatch): changed invocation of the
6 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
16 * undo.[Ch]: s/DocumentIterator/DocIterator/g
18 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
20 * BufferView.C (setCursor, putSelectionAt): call edit to open the
21 insets where we are putting the cursor.
23 2004-03-31 Angus Leeming <leeming@lyx.org>
26 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
28 * lyxrc.[Ch] (read, write): overloaded member functions taking
29 a std::[io]stream arguments.
31 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
33 2004-03-31 Angus Leeming <leeming@lyx.org>
35 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
36 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
38 * lyxtextclass.C (load): if the text class couldn't be loaded, then
39 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
41 2004-03-31 Angus Leeming <leeming@lyx.org>
43 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
44 the LFUN_ALL_INSETS_TOGGLE code.
46 2004-03-30 Angus Leeming <leeming@lyx.org>
48 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
49 has died. Fall through to the generic Dialogs::show("document").
51 2004-03-30 Angus Leeming <leeming@lyx.org>
54 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
55 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
57 * lyxfunc.C (getStatus, dispatch): define the actions for these
58 lfuns. Little more than a cut and pste job from ControlDocument.C
60 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
62 2004-03-30 Angus Leeming <leeming@lyx.org>
65 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
66 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
68 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
69 open/closed state of ollapsable insets. Usage:
71 all-inset-toggle <state> <name>, where
72 <state> == "open" || "closed" || "toggle" and
73 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
75 * lyxtext.h, text2.C (toggleInset): removed.
77 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
78 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
79 now passes LFUN_INSET_TOGGLE to the found inset.
81 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
82 is now invoked as "all-insets-toggle toggle branch".
84 2004-03-30 Angus Leeming <leeming@lyx.org>
88 * pariterator.[Ch]: added/corrected header blurb.
90 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
92 * dociterator.[Ch]: add an inset_ member
93 (backwardPos): implemented
94 (backwardPos, forwardPos): use inset_ when the stack is empty.
95 (doc_iterator_begin, doc_iterator_end): implemented
96 * pariterator.[Ch]: adjust, add begin, end
97 * insetiterator.[Ch]: adjust, add begin, end
101 * BufferView_pimpl.C:
102 * CutAndPaste.C: adjust
104 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
106 * buffer.C: increment file format to 232.
107 * LaTeXFeatures.C: add bibtopic package.
108 * bufferparams.[Ch]: param \use_bibtopic.
110 * lyxrc.[Ch]: add lyxrc bibtex_command
111 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
113 * buffer.C: increment file format to 231.
115 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
117 * dociterator.C: implement forwardPar
118 * iterators.[Ch]: remove, replaced by
119 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
121 * BufferView_pimpl.C:
124 * bufferview_funcs.C:
130 * Makefile.am: adjust
132 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
134 * CutAndPaste.C (pasteSelection): fix 2 crashes
135 (eraseSelection): fix a crash
136 * paragraph_funcs.C: remove a warning
138 2004-03-28 Angus Leeming <leeming@lyx.org>
141 * LyXAction.C (init): new LFUN_PRINT.
143 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
145 2004-03-27 Angus Leeming <leeming@lyx.org>
148 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
150 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
152 2004-03-27 Angus Leeming <leeming@lyx.org>
154 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
155 insetlist always contains non-null pointers to insets.
157 2004-03-26 Angus Leeming <leeming@lyx.org>
159 * src/BufferView_pimpl.C:
163 * src/output_plaintext.C:
164 * src/outputparams.h:
165 * src/paragraph_funcs.C:
169 * src/frontends/controllers/ControlErrorList.C:
170 * src/frontends/gtk/FileDialogPrivate.C:
171 * src/frontends/gtk/GPainter.C:
172 * src/frontends/gtk/GToolbar.C:
173 * src/frontends/qt2/QRef.C:
174 * src/mathed/math_scriptinset.C: squash compiler warnings.
176 2004-03-26 Angus Leeming <leeming@lyx.org>
178 * ispell.C (LaunchIspell::start):
179 * lyx_cb.C (AutoSaveBuffer::start):
180 invoke run(DontWait) rather than runNonBlocking().
182 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
184 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
186 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
188 * kbsequence.C (print): adjust
190 * kbmap.C (printKeySym): rename and change signature
191 (printKey): use LyXKeySym::print()
193 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
195 * undo.C: add using std::advance to compile for stlport
197 2004-03-24 Angus Leeming <leeming@lyx.org>
199 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
200 it leads to a crash when no buffer is present.
202 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
203 Martin Vermeer <martin.vermeer@hut.fi>
205 * lyxfunc.C (dispatch):
206 * bufferparams.C (readToken): use the new LColor::setColor
208 * LColor.[Ch] (setColor): new version that takes two strings as
209 argument and creates a new color entry if necessary
211 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
213 * buffer.C (makeLaTeXFile): if the main latex file that is
214 processed is usually a subdocument of some master, then pretend
215 for a while that it is actually the master
217 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
219 * buffer.C (getLabelList):
220 (getBibkeyList): use getMasterBuffer()
221 (getMasterBuffer): new method. Returns the main document in the
222 case where one is using included documents.
224 2004-03-25 André Pönitz <poenitz@gmx.net>
228 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
230 * ParagraphList_fwd.h: change ParagraphList to a std::vector
232 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
233 text*.C over here. Rename namespace CutAndPaste to lyx::cap
235 * ParameterStruct.h: merge with ParagraphParameters
237 * lyxtext.h: remove LyXText::parOffset() and getPar()
239 * text3.C: Remove all 'manual' update calls. We do now one per user
240 interaction which is completely sufficient.
244 * BufferView_pimpl.C:
247 * ParagraphParameters.[Ch]:
259 * output_docbook.[Ch]:
261 * output_linuxdoc.[Ch]:
262 * output_plaintext.[Ch]:
264 * paragraph_funcs.[Ch]:
265 * paragraph_pimpl.[Ch]:
273 * frontends/controllers/ControlDocument.C:
274 * frontends/controllers/ControlErrorList.C:
275 * frontends/controllers/ControlSpellchecker.C:
278 * insets/insetbase.h:
279 * insets/insetbibitem.C:
281 * insets/insetbranch.C:
282 * insets/insetcaption.C:
283 * insets/insetcharstyle.C:
284 * insets/insetcharstyle.h:
285 * insets/insetcollapsable.C:
286 * insets/insetcollapsable.h:
288 * insets/insetfloat.C:
289 * insets/insetfoot.C:
290 * insets/insetmarginal.C:
291 * insets/insetnote.C:
292 * insets/insetoptarg.C:
293 * insets/insettabular.C:
294 * insets/insettext.C:
295 * insets/insettext.h:
296 * insets/insetwrap.C:
297 * mathed/math_mboxinset.C:
298 * mathed/math_nestinset.C:
299 * mathed/math_scriptinset.C:
300 * mathed/math_scriptinset.h:
303 2004-03-24 Angus Leeming <leeming@lyx.org>
305 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
306 deal with any child processes that have finished but are waiting to
307 communicate this fact to the rest of LyX.
309 2004-03-24 Angus Leeming <leeming@lyx.org>
311 64-bit compile fixes.
313 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
314 (c-tor): pass lyx::pos_types rather than ints.
316 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
319 * text.C (Delete): compile fix.
320 (getPar): ensure that function declaration is the same as that in
323 2004-03-23 Angus Leeming <leeming@lyx.org>
325 * ispell.C (LaunchIspell):
326 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
327 a boost::shred_ptr rather than a std::auto_ptr.
329 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
331 * lyxfunc.C (getStatus): handle read-only buffers correctly;
332 handle LFUN_FILE_INSERT_*
334 * lyxrc.C (setDefaults, getDescription, output, read):
335 * lyxrc.h: remove ps_command
337 2004-03-22 Angus Leeming <leeming@lyx.org>
339 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
340 Ensure that error_handler is processed once only and that all data
341 is saved before attempting to output any warning messages.
343 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
345 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
347 * tabular.C (TeXRow): crash fix (from Kayvan and André)
349 2004-03-19 André Pönitz <poenitz@gmx.net>
351 * cursor.[Ch] (reset): take main text inset as argument
354 * BufferView_pimpl.C: adjust
356 * paragraph.[Ch]: fix completely broken operator=()
358 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
360 * LColor.C (getFromLyXName): make sure that the color name is used
363 2004-03-17 Angus Leeming <leeming@lyx.org>
366 * LyXAction.C (init): remove LFUN_FORKS_KILL.
368 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
369 dialog and to kill a forked process.
371 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
373 * text2.C (setCursorFromCoordinates): fix font problem
375 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
377 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
378 bogus "rebuild cursor" code
380 2004-03-11 André Pönitz <poenitz@gmx.net>
382 * buffer.[Ch]: use InsetText instead of LyXText as container for
385 * dociterator.[Ch]: drop the BufferView * member which is not needed
386 anymore after the change to buffer.C
392 * BufferView_pimpl.[Ch]:
394 * cursor_slice.[Ch]: adjust
396 * text3.C: fix bug in mathDispatch
398 2004-03-08 André Pönitz <poenitz@gmx.net>
400 * undo.[Ch]: use 'StableDocumentIterator' as base for
403 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
406 * bufferparams.[Ch]: add jurabib support and param.
408 * LaTeX.C: add FIXME/comment.
410 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
412 * buffer.C: increment file format to 230.
414 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
416 * cursor.C (dispatch): avoid infinite loops
418 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
420 * rowpainter.C (paintSelection): fix x coordinates
422 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
424 * text.C (rowBreakPoint): fix breaking before displayed insets
426 2004-03-01 André Pönitz <poenitz@gmx.net>
428 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
430 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
434 * BufferView_pimpl.C:
442 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
448 * BufferView_pimpl.C: rename textwidth -> maxwidth,
449 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
451 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
453 * Bidi.[Ch] (computeTables): const correctness
454 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
455 fill_hfill, fill_label_hfill and x from Row
456 * lyxtext.h: prepareToPrint returns a RowMetrics
457 * rowPainter.C: adjust
458 * text.C (prepareToPrint): use width, not textWidth. adjust
459 (redoParagraphInternal, cursorX): adjust
460 * text2.C (getColumnNearX): adjust
461 (init): put a default value to the top LyXText::width
463 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
465 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
467 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
469 * lyxtext.h: add FontIterator class
471 * text.C (FontIterator, operator*, operator->, operator++): add
472 (rowBreakPoint, setRowWidth): adjust (fixing a
475 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
477 * BufferView_pimpl.C (workAreaDispatch): allow also
478 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
480 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
482 * text.C (rowBreakPoint): fix a bug showing with very large insets
484 2004-02-25 André Pönitz <poenitz@gmx.net>
487 * cursor.[Ch]: move some mathed specific code to mathed
489 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
491 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
492 use_tempdir in preferences
493 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
495 * lyx_main.C: ensure that tempdir is valid
496 * lyxlex.h: correct typo
497 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
498 * paragraph.[Ch] (isMultiLingual): make const
499 * cursor.[Ch] (openable): make const
501 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
503 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
505 2004-02-20 André Pönitz <poenitz@gmx.net>
507 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
509 * cursor.[Ch]: prepare for localized getStatus()
515 * text3.C: streamlines the LyXText cursor movement handlers a bit.
517 2004-02-20 André Pönitz <poenitz@gmx.net>
519 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
521 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
523 * text2.C (setCursorFromCoordinates): switch to absolute coords
526 * text3.C (dispatch): adjust
528 2004-02-16 André Pönitz <poenitz@gmx.net>
530 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
533 * cursor_slice.[Ch]: remove unneeded acessor function
535 * lyxtext.h: rename rtl() to isRTL()
543 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
545 * rowpainter.C (paintSelection): coord fix
547 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
549 * Spacing.C: compile fix
551 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
553 * cursor.C (dispatch): restore current_ before returning
555 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
557 * text2.C (cursorUp, cursorDown): fix coords
560 2004-02-12 André Pönitz <poenitz@gmx.net>
565 * text3.C: add LCursor & parameter to most cursor movement functions
566 remove usage of LyXText::cursorRow() and cursorPar()
568 * cursor.[Ch]: add textRow() needed members
571 * BufferView_pimpl.C:
574 * BufferView_pimpl.C: adjust
576 2004-02-11 André Pönitz <poenitz@gmx.net>
580 * BufferView_pimpl.C: shift undo/redo handling
582 * cursor.[Ch]: fix mathed crash
585 * lyxtext.h: move selectionAsText to LCursor
593 * rowpainter.C: fix excessive drawing
595 2004-02-06 André Pönitz <poenitz@gmx.net>
598 * BufferView_pimpl.[Ch]:
599 * text3.C: move some text specific LFUN handling
601 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
603 * text3.C (checkInsetHit): adjust coords
604 * text2.C (getColumnNearX): adjust coords
605 (edit): adjust coords
606 * text.C (getRowNearY): add two asserts
608 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
611 * format.C: add using std::distance to compile on gcc 2.95/stlport
613 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
615 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
617 2004-02-04 André Pönitz <poenitz@gmx.net>
619 * BufferView.[Ch] (insertInset):
620 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
625 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
627 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
628 on the default clause of the switch
629 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
630 wasn't catched by LCursor::dispatch
632 2004-02-03 André Pönitz <poenitz@gmx.net>
635 * cursor.[Ch]: some additional asserts
637 * undo.[Ch]: remove LyXText dependency in interface
641 * lyxtext.h (firstPar, lastPar): remove dead functions
646 * paragraph.[Ch]: adjust
648 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
650 * lyxfind.C (find): fix argument order in call to ::find
652 2004-02-02 André Pönitz <poenitz@gmx.net>
654 * cursor.[Ch]: remove direct access to anchor
656 * text.C: remove findText() hack
658 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
660 * iterators.[Ch] (lockPath): remove in favour of...
661 * BufferView.[Ch] (setCursor): this addition
662 * BufferView.C (putSelectionAt): adjust
663 * undo.C (performUndoOrRedo): adjust
664 * lyxfunc.C (dispatch): adjust
666 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
668 * iterators.C (lockPath): add a missing slice
669 * undo.C (performUndoOrRedo): remove redundant positioning code
671 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
673 * vc-backend.C (scanMaster): ";" -> ';'
675 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
677 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
680 * lyxtextclass.C (compare_name): rename to...
681 (LayoutNamesEqual): ...this
683 * lyxlex_pimpl.C (compare_tags): inherit from
684 std::binary_function, put back into anon namespace
686 * lyxfind.C (MatchString): inherig from std::binary_function
687 (findChange): use empty() istead of !size()
689 * format.C (FormatNamesEqual): new functor
696 * converter.C (compare_Converter): rename to...
697 (ConverterEqual): ...this, and fixup a bit.
698 (getConverter): use it, and make function const
699 (getNumber): use it, and make function const
703 * bufferlist.C: add using boost::bind
705 * MenuBackend.C (MenuNamesEqual): new functor
706 (hasMenu): use it, and make function const
707 (hasSubmenu): use nested bind to get rid of compare_memfun.
709 2004-01-30 André Pönitz <poenitz@gmx.net>
711 * BufferView_pimpl.C:
722 * text3.C: move some of the edit(x,y) handling to the insets
723 some coordinate changes.
725 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
727 * text.C: add using statements for std::advance and std::distance
729 * paragraph.C: add using statement for std::distance
731 * lyxfind.C: add using statement for std::advance
733 * cursor.C (region): remove std:: from swap
734 (openable): use nucleus in stead of operator->
736 * BufferView.C: add using statements for std::distance and std::swap
738 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
740 * iterators.C: Remove the pimple, move the needed structures to
741 the header file. Create accessor for the positions stack.
742 (asPosIterator): remove function
744 * PosIterator.C (PosIterator): move constructors to top of file
745 (PosIterator): reimplement the constructor taking a ParIterator in
747 (setFrom): new function
748 (operator!=): inline it
750 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
752 * lyxfind.C (replaceAll): use std::advance
754 * iterators.h: inherit from std::iterator.
756 * PosIterator.C (advance, distance): remove
757 * PosIterator.h: interit from std::iterator.
759 2004-01-26 André Pönitz <poenitz@gmx.net>
762 * BufferView_pimpl.[Ch]:
766 * bufferview_funcs.C:
777 * output_plaintext.C:
779 * paragraph_funcs.[Ch]:
780 * paragraph_pimpl.[Ch]:
786 * text3.C: more IU: dumps most of the rest of the mathcursor
787 implementation into cursor.[Ch]; "globalize" a bit of it.
789 2004-01-25 Angus Leeming <leeming@lyx.org>
791 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
793 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
795 * LaTeXFeatures.h: add nice_ and nice() const
796 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
798 2004-01-20 André Pönitz <poenitz@gmx.net>
801 * BufferView_pimpl.C:
803 * bufferview_funcs.C:
816 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
817 LCursor and mathcursor parts to LCursor and InsetBase.
819 2004-01-15 André Pönitz <poenitz@gmx.net>
821 * cursor_slice.[Ch]: add a few covienience functions
823 * funcrequest.[Ch]: remove BufferView * member
825 * BufferView_pimpl.C:
832 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
834 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
836 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
837 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
839 2004-01-13 André Pönitz <poenitz@gmx.net>
842 * lyxtext.h: hide cursor and selection anchor behind accessor function
845 * BufferView_pimpl.[Ch]:
847 * bufferview_funcs.C:
857 * cursor_slice.[Ch]: some integer type changes for inset unification
859 * lyxcursor.[hC]: remove, it's CursorSlice now.
862 * BufferView_pimpl.[Ch]:
863 * bufferview_funcs.C:
869 * textcursor.[Ch]: adjust
871 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
873 * text2.C (undoSpan): add and use
874 * text.C (breakParagraph): use undoSpan (fix bug 578)
877 2004-01-08 Angus Leeming <leeming@lyx.org>
879 * BufferView_pimpl.C (MenuInsertLyXFile):
880 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
881 * lyxfunc.C (menuNew, open, doImport):
882 FileFilterList change to the FileDialog open and save functions.
884 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
886 * ShareContainer.h: make isEqual and isUnique adaptable
888 * CutAndPaste.C: make resetOwnerAndChanges adaptable
890 2004-01-07 Angus Leeming <leeming@lyx.org>
893 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
895 * BufferView_pimpl.C (dispatch): act on these LFUNs.
897 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
898 functions replacing find, replace and replaceAll.
900 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
901 LFUN_WORDFIND(FORWARD|BACKWARD).
903 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
905 * text.C (breakParagraph): remove an outdated #warning
907 2004-01-07 André Pönitz <poenitz@gmx.net>
909 * lyxfind.C: somewhat clearer logic
911 * text.C: prevent crash in cursorX on unitialized row cache
913 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
915 * lyxcursor.[Ch] (operator>): add
916 * textcursor.C (selStart, selEnd): use std::min and std::max
918 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
920 * Chktex.C: include boost/format.hpp
922 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
924 * InsetList.C: replace functor MathcIt with adaptable functor
926 (insetIterator): modify accordingly
928 * BranchList.h: move the BranchNamesEqual functor here from...
929 * BranchList.C: ... to here
931 * BranchList.C: new BranchListEqual fuctor, use it. Remove
933 (add): replace a finding loop with std::find_if.
935 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
937 * output_docbook.C: moving LatexParam functionality into
940 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
942 * buffer.C: increment format to 229.
944 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
947 * lyx_sty.[Ch]: remove minipageindent_def
953 * text3.C: remove LFUN_INSET_MINIPAGE
955 2003-12-28 Angus Leeming <leeming@lyx.org>
957 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
959 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
961 * text2.C (setParagraph): fix off-by-one crash
963 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
965 * output_docbook.C: header stuff for AGU
967 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
969 * text2.C (redoCursor): remove
972 * BufferView_pimpl.C: remove calls to redoCursor and
973 setCursor(cursor.par(), cursor.pos()) all around
975 2003-12-15 Angus Leeming <leeming@lyx.org>
977 * buffer.C: up the format to 228.
979 2003-12-15 André Pönitz <poenitz@gmx.net>
981 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
986 * BufferView_pimpl.C:
995 2003-12-15 Angus Leeming <leeming@lyx.org>
997 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
998 than getFromGUIName to manipulate the color.
1000 2003-12-14 Angus Leeming <leeming@lyx.org>
1002 * BranchList.[Ch]: minimize the API.
1003 (Branch::getBranch, getColor): now return a 'const &'.
1004 (Branch::setSelected) now returns a bool set to true if the
1005 selection status changes.
1006 (BranchList::clear, size, getColor, setColor, setSelected,
1007 allBranches, allSelected, separator): removed.
1008 (BranchList::find): new functions, returning the Branch with
1010 (BranchList::add, remove): return a bool indicating that
1011 the operation was successful.
1013 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1014 new InsetBranch::isBranchSlected member function.
1016 * LColor.[Ch]: mimimize the API.
1017 (fill): renamed as addColor and made private.
1018 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1019 versions of these functions taking a string arg have been removed.
1021 * bufferparams.C (readToken):
1022 * lyxfunc.C (dispatch):
1023 * lyxrc.C (read): changes due to the altered BranchList and
1026 * factory.C (createInset, readInset): changes due to altered
1029 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1032 * lyxfunc.C: remove insetminipage. "minipage-insert"
1033 now produces a frameless minipage box inset.
1035 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1037 * textcursor.[Ch] (selStart,selEnd): add new methods
1038 remove selection::start, end, use LyXCursor::operator<
1039 * lyxcursor.[Ch] (operator<): add
1040 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1041 * BufferView.[Ch] (unsetXSel): add
1042 * text2.C (clearSelection): use unsetXSel,adjust
1045 * rowpainter.C: adjust
1046 * bufferview_funcs.C (put_selection_at): adjust
1048 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1050 * BufferView_pimpl.C: small coord. correction
1052 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1054 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1055 dragging over the splash screen.
1057 2003-12-11 Angus Leeming <leeming@lyx.org>
1059 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1060 as it is now handled in LyXText::dispatch.
1062 * text3.C (doInsertInset): remove a level of nesting.
1064 2003-12-11 Angus Leeming <leeming@lyx.org>
1066 * factory.C (createInset): changes due to the changed interface to
1067 InsetCommandMailer::string2params.
1069 2003-12-10 Angus Leeming <leeming@lyx.org>
1071 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1072 'dialog-show-new-inset <inset name>'
1074 2003-12-10 Angus Leeming <leeming@lyx.org>
1076 * buffer.C: up the format to 227.
1078 * factory.C: the box inset is now identified simply by 'Box'.
1080 2003-12-10 Angus Leeming <leeming@lyx.org>
1082 * buffer.C: up the format to 226.
1084 * factory.C: the note inset is now identified simply by 'Note'.
1086 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
1088 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1089 when a pit is enough. Standarize a couple of loops.
1091 2003-12-05 Angus Leeming <leeming@lyx.org>
1093 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1094 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1095 data to the re-worked "log" dialog.
1097 2003-12-03 André Pönitz <poenitz@gmx.net>
1103 * paragraph_funcs.C:
1105 * text2.C: use Inset::getText instead of Inset::getParagraph
1107 2003-12-03 André Pönitz <poenitz@gmx.net>
1111 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1112 InsetText::read() as LyXText::read()
1114 2003-12-02 Angus Leeming <leeming@lyx.org>
1116 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1117 type. Add a comment in the implementation that the function uses
1118 the stream's bad() function rather than fail() as the std::streams
1121 2003-12-02 André Pönitz <poenitz@gmx.net>
1123 * lyxlex.[Ch]: make interface more similar to std::stream
1125 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1127 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1129 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1131 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1133 * vspace.[Ch]: remove VSpace::NONE
1135 2003-12-01 André Pönitz <poenitz@gmx.net>
1138 * lyxtext.h: move ParagraphList member to LyXText
1139 rename LyXText::ownerParagraphs to LyXText::paragraph
1142 * bufferview_funcs.C:
1152 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1154 * undo.C: fix cursor positioning
1156 2003-12-01 John Levon <levon@movementarian.org>
1158 * BufferView_pimpl.C: fix a crash on exit with
1161 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
1163 * BranchList.C: fix setSelected() method.
1165 2003-11-28 André Pönitz <poenitz@gmx.net>
1167 * ParagraphParameters.[Ch]:
1168 * ParameterStruct.h: remove space above/below from Paragraph to
1171 * BufferView_pimpl.C:
1177 * paragraph_funcs.C:
1183 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1185 * factory.C: Syntax change for CharStyles
1187 2003-11-28 André Pönitz <poenitz@gmx.net>
1192 * buffer.[Ch]: move LyXText member
1194 2003-11-28 André Pönitz <poenitz@gmx.net>
1196 * BufferView.[Ch]: make LyXText * text a private member
1198 * BufferView_pimpl.C:
1209 * output_plaintext.C: cleanup
1211 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1214 * lyxtextclass.[Ch]: parametrize SGML document header
1216 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1219 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1222 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1224 * text2.C (setFont): rework using PosIterator (no more recursive)
1225 (setCharFont): no more needed
1226 (setLayout): no more selection cursors fiddling (done by redoCursor)
1227 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1228 destroy remaining ones)
1230 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
1232 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1234 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1237 * text3.C: adjust + re-allow multi par depth changes
1238 * textcursor.C: simplify a bit
1240 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
1246 * src/output_docbook.C:
1247 * src/output_latex.C:
1252 * src/text2.C: Introducing a number of tags parametrizing various
1253 XML formats that we may want to support
1255 2003-11-25 André Pönitz <poenitz@gmx.net>
1257 * InsetList.[Ch] (begein, end): inline as suggested by profiler
1259 * lyxtext.h (leftMargin/rightMargin): simplify interface
1266 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1268 * lyxfunc.C (dispatch): propogate the bibtex databases from the
1269 master file to any child files. Fixes bug 546.
1271 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1273 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1275 2003-11-24 André Pönitz <poenitz@gmx.net>
1277 * rowpainter.C: simplification
1279 * text2.C (updateCounters): remove call to redoParagraph on
1280 changed labels as this is far too expensive.
1282 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1284 * converter.C (convert): fix a crash: this function gets
1285 called with buffer == 0 from importer code.
1287 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1289 * text3.C (cursorPrevious): make sure that we do not compare
1290 iterators form different containers.
1293 * rowpainter.C (paintSelection): make sure that we do not compare
1294 iterators from different containers.
1296 * text3.C (dispatch): [PRIOR] make sure that we do not compare
1297 iterators from different ParagraphList containers.
1300 * text2.C (LyXText): change order of initialization slightly
1301 (operator=): new function. copy all variables except cache_par_
1302 (moveUp): make sure that we do not compare iterators from
1303 different ParagraphList constainers.
1306 * text.C (firstPar): new function
1307 (lastPar): new function
1308 (endPar): new function
1310 * lyxtext.h: move things around and group public functions, public
1311 variables, private functions, private variables
1313 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1315 * factory.C: change call to InsetERT constructor to avoid
1316 additional invocation of method status
1317 * text2.C (toggleInset): remove redundant update() call
1318 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1319 instead of a Bufferview pointer
1321 2003-11-21 André Pönitz <poenitz@gmx.net>
1323 * rowpainter.C: simplification
1325 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1327 * text3.C (dispatch): make possible to extend a word/row selection
1330 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1332 * lyxtext.h: x0_,y0_ -> xo_,yo_
1333 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1334 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1335 * rowpainter.C (paintRows): paint full paragraphs
1337 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1339 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1342 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1344 * lyxtext.h: add x0_, y0_
1345 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1346 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1348 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
1350 * text2.C (setCursorIntern): move the x_target update here *
1351 * text3.C: change some bv() to true/false in calls to
1352 cursorUp/Down/Right/Left
1353 * cursor.C: use helper function.
1355 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1357 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1358 * paragraph_funcs.[Ch]: correct comment
1359 * rowpainter.C: do not paint selections away from bv->cursor()
1360 Fix a long standing selection painting bug.
1361 * text3.C: generalize mouse-selection code to LyXTexts other that
1363 * textcursor.C: do not use y coords if we can use par offsets
1365 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1367 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1368 cursor position after e.g. inset insert)
1370 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
1372 * lyxfind.C (replace): adjust to locking removal + some
1375 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
1377 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1380 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
1383 * output_docbook.C: XML sanitation: new layout
1384 parameters InnerTag and CommandDepth
1386 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
1388 * BufferView_pimpl.C:
1390 * text3.C: Fix the insertion and modification of button-style
1393 2003-11-13 André Pönitz <poenitz@gmx.net>
1395 * InsetList.[Ch]: remove deleteLyXText
1397 * paragraph.[Ch]: cache beginOfBody position
1402 * text3.C: remove superfluous update() calls
1406 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1408 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1409 * BufferView.C (fitLockedInsetCursor): remove
1410 * cursor.[Ch] (getDim): add
1411 * text.C (getRowNearY): add faster version
1412 * text3.C: remove some update calls
1414 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1426 * text3.C: The Character Style /XML short element patch.
1428 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
1431 * factory.C: Small step to solving 'unable to insert some insets'
1434 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1436 * cursor.[Ch] (updatePos): new function for updating the y
1437 position of the tip inset
1438 * bufferview_funcs.C (put_selection_at):
1439 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1441 2003-11-11 André Pönitz <poenitz@gmx.net>
1443 * text.C: remove big comment on invalid Paragraph pointers as it is
1446 2003-11-11 André Pönitz <poenitz@gmx.net>
1448 * text_funcs.[Ch]: merge with ...
1456 * Makefile.am: remove text_funcs.[Ch]
1458 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1460 * cursor.C (getPos): return absolute cached y coord
1462 * BufferView_pimpl.C (fitCursor): new simplistic code
1463 (workAreaDispatch): add a fitCursor call
1465 2003-11-10 André Pönitz <poenitz@gmx.net>
1468 * BufferView_pimpl.[Ch]: merge update() and updateInset()
1470 2003-11-10 André Pönitz <poenitz@gmx.net>
1472 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1473 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1474 indicate that the cursor needs to leave an inset
1476 * lyxtext.h: remove inset locking
1478 * cursor.[Ch]: re-implement functionality provided by inset locking
1481 * BufferView_pimpl.[Ch]:
1483 * bufferview_funcs.[Ch]:
1495 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1497 * PosIterator.[Ch]: replace the stack with a vector, add inset
1499 * iterators.[C]: adjust
1501 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1503 * lyxfind.C (replaceAll): mark the buffer dirty if something was
1505 * paragraph_funcs.C (readParToken): put the correct id in the
1506 error item, not the id of the top paragraph
1508 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1510 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1511 * bufferview_funcs.C (put_selection_at): use the above
1513 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1515 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1517 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1519 * output_linuxdoc.h:
1520 * output_plaintext.h:
1522 * output_docbook.h: add #include statements
1524 2003-11-05 José Matos <jamatos@lyx.org>
1526 * output_docbook.[Ch]:
1527 * output_latex.[Ch]:
1528 * output_linuxdoc.[Ch]:
1529 * output_plaintext.[Ch]: New files for output formats.
1530 * output.[Ch]: New file for helper functions.
1533 * paragraph_funcs.[Ch]: output functions moved to new files.
1535 * outputparams.h: rename of latexrunparams.h
1543 * paragraph_funcs.[Ch]:
1544 * paragraph_pimpl.[Ch]:
1545 * tabular.[Ch]: rename ascii to plaintext
1546 and LatexRunParams to OutputParams.
1548 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1550 * iterators.[Ch] (text): require bv argument
1551 * undo.C (recordUndo):
1552 * lyxfunc.C (dispatch):
1553 * bufferview_funcs.C (put_selection_at): adjust
1555 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
1557 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1559 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1561 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1564 2003-11-04 André Pönitz <poenitz@gmx.net>
1566 * cursor.[Ch]: restructure
1569 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1571 * iterators.[Ch] (asCursor): remove
1573 * lfuns.h: remove LFUN_INSET_EDIT
1579 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1581 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1583 * lyxfind.[Ch]: complete overhaul
1584 * BufferView_pimpl.C:
1586 * paragraph.[Ch] (insert): add
1588 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1592 * text.C: remove dead spellcheck code
1594 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1596 * dispatchresult.h: add a val setter
1598 * cursor.C (dispatch): use a tempvar for data_[i]
1600 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1602 * PosIterator.[Ch]: compile fix
1604 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1606 * text.C (cursorPar): deactivate the cursor cache
1608 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1610 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1612 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1614 * text3.C (dispatch): adjust for new DisptchResult semantics.
1616 * lyxfunc.C (dispatch): handle update when return from
1617 Cursor::dispatch, adjust for new DispatchResult semantics.
1619 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1620 DispatchResult(true) mean to not update. Add class functions for
1621 setting dispatched and update, as well as reading.
1623 * cursor.C (dispatch): don't handle update here
1625 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1627 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1628 * trans_mgr.C: adjust
1630 * paragraph_funcs.C (readParToken): exception safety
1632 * lyxvc.h: store the vcs pointer in a scoped_ptr
1635 * lyxsocket.C (serverCallback): exception safety
1637 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1639 * ispell.C (clone): make it return a auto_ptr
1641 * factory.C (createInset): exception safety
1642 (readInset): exception safety
1644 * bufferlist.C (newBuffer): exception safety
1646 * Thesaurus.C (Thesaurus): use initialization for aik_
1648 * MenuBackend.C (expandToc): exception safety.
1650 2003-11-03 André Pönitz <poenitz@gmx.net>
1654 * bufferview_funcs.C: remove getInsetFromId()
1657 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1663 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1665 * PosIterator.C (distance, advance): new
1666 * bufferview_funcs.[Ch] (put_selection_at): new
1667 * iterators.[Ch] (lockPath): new
1669 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
1671 * iterators.[Ch] (asPosIterator): added
1672 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1673 * PosIterator.[Ch]: added
1675 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1679 * cursor.C (dispatch):
1680 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1682 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1683 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1684 contructor, add a class function dispatched. Remove operator>=
1686 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1688 * debug.C: only use the default constructor for debugstream
1691 * main.C (main): include debug.h and setup the lyxerr streambuf
1694 2003-10-31 José Matos <jamatos@lyx.org>
1696 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1698 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1699 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1700 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1701 * paragraph_pimpl.C (simpleTeXSpecialC):
1702 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1703 add LatexRunParams argument.
1705 * exporter.C (Export): change call accordingly.
1707 * latexrunparams.h: add new member to take care of the other backends.
1708 2003-10-30 José Matos <jamatos@lyx.org>
1710 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1711 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1712 factorise code for paragraph output.
1714 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1717 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1719 * text3.C (dispatch):
1720 * lyxfunc.C (dispatch):
1721 * cursor.C (dispatch):
1722 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1724 * dispatchresult.h: make the dispatch_result_t ctor explicit
1726 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1729 * buffer.C: small refactoring of docbook stuff
1731 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1733 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1736 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1738 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1739 operator dispatch_result_t, and operators for == != and >=
1741 * cursor.C (dispatch): adjust for operator dispatch_result_t
1742 removal. comment out call to update
1744 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1746 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1754 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1757 * dispatchresult.h: new file, DispatchResult broken out of
1760 * Makefile.am (lyx_SOURCES): add dispatchresult.h
1762 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1764 * text.C (rowBreakPoint): put a hack inside #if 0
1766 2003-10-28 André Pönitz <poenitz@gmx.net>
1770 * paragraph_funcs.C:
1773 * text2.C: general cleanup (lots of small stuff)
1775 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1777 * text2.C (cursorEnd): simple fix to the "end key goes to one
1778 before the end on last row" bug
1780 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1782 * text.C (backspace): fix the "zombie characters"
1784 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1786 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1788 2003-10-27 André Pönitz <poenitz@gmx.net>
1790 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1792 * factory.C: handle new InsetPagebreak, InsetLine
1794 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1795 and move handling into new InsetPagebreak, InsetLine
1797 * BufferView_pimpl.C:
1799 * ParagraphParameters.C:
1800 * ParameterStruct.h:
1805 * paragraph_funcs.C:
1806 * paragraph_pimpl.C:
1812 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1815 * lyxrow_funcs.[Ch]:
1821 * text3.C: remove lastPos uses in favour of Row::endpos
1823 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1825 * undo.C (performUndoOrRedo): fix two crashes by setting a
1826 cursor by hand and reordering some calls. Use bv->lockInset instead
1827 of inset->edit because the latter loses cursor information
1829 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
1831 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1833 (rowBreakPoint): fix width. change point to point + 1.
1834 Add a missing check.
1836 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
1839 * lyxfunc.C: fix (at least partly) the problems
1840 with the Nav menu and headers inside branch insets
1843 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
1845 * paragraph.C (getChar): add strong asserts
1847 * lyxrow_funcs.C (lastPos): remove hideous hack
1849 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1850 (fill): adjust to that (avoid an infinite loop)
1852 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1854 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1856 2003-10-23 André Pönitz <poenitz@gmx.net>
1858 * RowList_fwd.h: change list<> to vector<> to gain speed
1859 after suggestion from Alfredo
1861 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1863 * lyxtext.h: move the bidi stuff from here...
1866 * Bidi.[Ch]: ... to here
1868 2003-10-23 André Pönitz <poenitz@gmx.net>
1871 * text.C (isLastRow, isFirstRow): new functions
1873 * paragraph.h: new width cache member
1875 * rowpainter.C: replace RowList::iterator with Row & where possible
1877 * lyxfunc.C: replace several view()->text with a single call
1879 * toc.C: fix 'unused' warning
1881 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1883 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1884 when woring with stream::pos_type
1885 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1887 2003-10-22 André Pönitz <poenitz@gmx.net>
1890 * text.C: use Row & instead of RowList::iterator
1892 * lyxrow.h: rename end() to endpos()
1898 2003-10-22 Angus Leeming <leeming@lyx.org>
1900 * buffer.[Ch] (fully_loaded): new member function, returning true
1901 only when the file has been loaded fully.
1902 Used to prevent the premature generation of previews and by the
1903 citation inset to prevent computation of the natbib-style label.
1905 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1906 templates are all set up.
1908 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1910 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
1912 * text.C: fixed an "oops" in the "is a bit silly"
1915 2003-10-21 André Pönitz <poenitz@gmx.net>
1917 * FuncStatus.[Ch]: small stuff, whitespace
1919 * lyxfont.[Ch]: operator<<() for debug reasons
1923 * lyxtext.h: whitespace, spelling
1925 * paragraph.C: naming of variables
1928 * text2.C: small stuff
1931 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1933 * text.C: (1) finish off the inset display() work;
1934 (2) fix the "is a bit silly" bug (accessing char
1937 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1939 * text.C: re-introduce display() for insets, fixing the
1940 various bugs (stretch of line above, math inset
1943 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1945 * text.C (rightMargin): remove spurious semicolon
1947 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1950 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
1952 * text3.C: fix one crash due to wrong cursor def
1954 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1956 * vc-backend.C (scanMaster): make the regex static
1958 * LaTeX.C (scanAuxFile): make the regexs static
1960 * text3.C (doInsertInset, dispatch, dispatch):
1961 * text2.C (cursorUp, cursorDown):
1962 * text.C (selectNextWordToSpellcheck):
1963 * BufferView_pimpl.C (dispatch):
1964 * lyxfunc.C (dispatch): localDispatch -> dispatch
1966 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1968 * lyxsocket.C: include <cerrno>
1970 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1972 * lyxfunc.C (dispatch): remove textcache stuff
1974 * bufferlist.C (release): remove textcache stuff
1977 * TextCache.C: delete file
1978 * TextCache.h: delete file
1980 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1982 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1983 delete of the bv_->text.
1984 (resizeCurrentBuffer): remove texcache stuff
1985 (workAreaResize): ditto
1987 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1989 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1992 2003-10-16 André Pönitz <poenitz@gmx.net>
1999 * text3.C: speed up by storing y positions per paragraph plus per-row
2000 offset instead of having a 'full' y position in the row.
2002 2003-10-15 André Pönitz <poenitz@gmx.net>
2006 * undo.[Ch]: make undo aware of inner insets
2008 2003-10-14 Angus Leeming <leeming@lyx.org>
2010 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2011 static member functions LyX::ref() and LyX::cref.
2012 (lastfiles): new accessor functions for the new lastfiles_ member var.
2013 (addLyXView, views_): add a new LyXView to the list of views_.
2014 (updateInset): loop over all LyXViews to call their own updateInset
2015 member function, returning a pointer to the Buffer owning the inset.
2017 * BufferView_pimpl.C (loadLyXFile):
2018 * MenuBackend.C (expandLastfiles):
2019 * bufferlist.C (MenuWrite, QuitLyX):
2020 lastfiles is no longer a global variable.
2021 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2023 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2024 static function. Access through LyX::cref().emergencyCleanup().
2026 2003-10-14 André Pönitz <poenitz@gmx.net>
2028 * iterators.[Ch]: new direct access to innermost LyXText and Inset
2030 * undo.[Ch]: restoring part of 'undo in insets'
2033 * undo_funcs.[Ch]: merge with undo.[Ch]
2035 * tabular.C: small cleansing stuff
2037 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
2039 * paragraph_funcs.C (readParToken): report unknown insets as error
2040 boxes. Use the outer paragraph as location (also for unknown
2043 * factory.C (readInset): do not abort on reading an unknown inset.
2044 Eat it and return 0.
2046 2003-10-13 Angus Leeming <leeming@lyx.org>
2048 * lyx_main.C (LyX): remove call to setDisplayTranslator().
2050 * lyxrc.C: displayTranslator is now a function,
2051 declared in GraphicsTypes.h.
2053 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2055 * format.C: new placeholder $$a to pass the socket address.
2057 * bufferlist.[Ch]: new function getBufferFromTmp.
2059 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2060 files in the temporary dir.
2062 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2064 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2066 * Makefile.am: add lyxsocket.[Ch].
2068 * lyx_main.C (error_handler): handle SIGPIPE.
2070 2003-10-13 André Pönitz <poenitz@gmx.net>
2072 * BufferView_pimpl.C:
2077 * undo_funcs.[Ch]: use paroffset_type instead of
2078 ParagraphList::iterators to prevent multiple conversion
2079 (and get a more robust interface)
2081 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2083 * lyxfunc.C (dispatch): RESULT -> dispatch_result
2085 * text3.C (dispatch): ditto
2087 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2089 * LaTeX.C (handleFoundFile): move the static to smaller scope,
2090 move the onlyfile, use onlyfile instead of foundfile in a couple
2093 * DepTable.C (update): flush the error stream a bit more
2095 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2097 * lyxserver.C (callback): adjust
2099 * lyxfunc.C (getStatus): add a missing brace in commented code
2100 (ensureBufferClean): reindent
2101 (dispatch): delete version taking a string
2103 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2105 * LaTeX.C (deplog): move found file handlig from here...
2106 (handleFoundFile): .. to new function here.
2107 (deplog): make sure to discover several files mentioned on the
2110 2003-10-10 André Pönitz <poenitz@gmx.net>
2117 * text3.C: fix some of the tabular crashes
2119 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2121 * MenuBackend.C (binding): put debug message into Debug::KBMAP
2123 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2125 2003-10-09 André Pönitz <poenitz@gmx.net>
2127 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2130 * BufferView_pimpl.C:
2131 * bufferview_funcs.C:
2142 * undo_funcs.C: adjust
2144 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2146 * text2.C (incrementItemDepth): new function, use a backtracking
2147 algorithm to discover the correct item depth.
2148 (resetEnumCounterIfNeeded): new function, use a backtracking
2149 algorithm to discover if counter reset is needed.
2150 (setCounter): use them. Simplify a bit. Add different labels for
2151 different item depths for itemize.
2153 * paragraph.C (Paragraph): remove initialization of enumdepth
2156 * paragraph.h: get rid of enumdepth, and use itemdepth both for
2157 enumerate and itemize. Change the type of itemdepth to signed char.
2159 2003-10-08 André Pönitz <poenitz@gmx.net>
2161 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2166 * tabular.[Ch]: fix crash after 'row-insert'
2168 2003-10-08 Angus Leeming <leeming@lyx.org>
2170 Fix doxygen warnings.
2172 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2173 Remove CutAndPaste:: prefix from header file declaration.
2175 * LColor.h (fill): remove LColor:: prefix from declaration.
2177 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2178 use lyx::depth_type rather than Paragraph::depth_type so that
2179 header file and .C file match.
2181 * converter.h (intToFormat): remove Converters:: prefix from declaration.
2183 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2184 * aspell.C: \file aspell_local.C -> \file aspell.C
2185 * gettext.C: \file gettext.C -> \file src/gettext.C
2186 * gettext.h: \file gettext.h -> \file src/gettext.h
2187 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2188 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2189 * text.C: \file text.C -> \file src/text.C
2191 * toc.C: move comment so that doxygen is not confused.
2193 2003-10-07 Angus Leeming <leeming@lyx.org>
2195 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2197 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2200 * aspell_local.h: add forgotten std::string's.
2202 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2209 * text3.C: The Box patch. Fancybox support, minipage, parbox
2211 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2217 * ParagraphParameters.h:
2227 * lyxtextclasslist.h:
2230 * paragraph_pimpl.C:
2231 * textcursor.h: add <string> and other small fixes to make Lars'
2232 std::string patch compile with STLport.
2234 2003-10-06 Angus Leeming <leeming@lyx.org>
2236 * LColor.h: Add missing #include <string>.
2238 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2240 * All most all file in all subdirs: Make <string> be the prefered
2241 way of getting to std::string, add using declarations.
2243 2003-10-06 André Pönitz <poenitz@gmx.net>
2245 * metricsinfo.C: initialize LyXFont before changing attribute.
2246 (fixes the 'math in \emph is upright' bug)
2248 2003-10-06 André Pönitz <poenitz@gmx.net>
2250 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2252 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
2255 * paragraph_pimpl.C: Small fixes to build using STLport
2257 2003-10-02 André Pönitz <poenitz@gmx.net>
2260 * text3.C: move handling of LFUN_DEPTH *; fix #1360
2262 2003-10-01 André Pönitz <poenitz@gmx.net>
2264 * factory.C: assert early
2266 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2268 * lyx_main.C: remove the global debug object
2270 * debug.h: adjust for new debugstream
2272 * debug.C: adjust for new debugstream and keep the global debug
2275 2003-09-22 Angus Leeming <leeming@lyx.org>
2277 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2278 of g++ which otherwise complain that the scoped_ptr destructor can't delete
2279 an incomplete class LyXFont.
2281 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2283 * factory.C: bug fix in branches
2285 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2287 * lyxfunc.C (processKeySym): adjust
2289 (dispatch): change arg name from ev to func, adjust
2290 (sendDispatchMessage): ditto
2292 * lyx_main.C (defaultKeyBindings): adjust keybindings
2293 (deadKeyBindings): ditto
2295 * kbsequence.C (addkey): return a FuncRequest
2297 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2299 * kbmap.C (bind): take a FuncRequest as arg, adjust
2302 (defkey): change to take a FuncRequest as arg, adjust
2303 (findbinding): take a FuncRequest as arg, adjust.
2305 * funcrequest.h (operator=): added
2307 * funcrequest.C (FuncRequest): default kb_action changed from
2308 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2310 * buffer.C (dispatch): simplify
2311 (dispatch): adjust to take a FuncRequest as arg, adjust
2313 * boost.C (assertion_failed): change assertion message slightly
2315 * ToolbarBackend.C (read): simplify
2317 * MenuBackend.C (binding): adjust call to findbinding, add a
2318 message if no binding is found.
2320 (expandToc): correct by adding a empty FuncRequest
2322 * LyXAction.C: include <boost/assert.hpp>
2323 (isPseudoAction): delete function
2324 (LookupFunc): change name to...
2325 (lookupFunc): this. change return type to FuncRequest.
2326 (getActionName): take kb_action as arg, simplify
2327 (funcHasFlag): add an assert, simplify.
2329 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2331 * toc.C (action): return a FuncRequest, simplify
2333 * lyxfunc.C (processKeySym): adjust
2334 (getStatus): delete version that takes an int.
2336 (dispatch): delete version that takes action as int
2338 (sendDispatchMessage): simplify and adjust
2340 * funcrequest.C (getArg): take unsigned int as arg
2342 * ToolbarBackend.C (read): adjust
2343 (add): delete version that takes func as a string.
2344 (getIton): take a FuncRequest as arg
2346 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2349 * MenuBackend.C (MenuItem): add a new construct that only takes a
2350 Kind, simplify the constructor use for submenus.
2352 (expandLastfiles): adjust
2353 (expandDocuments): adjust
2354 (expandFormats): adjust
2355 (expandFloatListInsert): adjust
2356 (expandFloatInsert): adjust
2357 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2359 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2360 Remove class variables lyx_pseudo_map and lyx_arg_map
2362 * LyXAction.C (searchActionArg): delete function
2363 (getPseudoAction): delete function
2364 (retrieveActionArg): delete function
2365 (LookupFunc): make it return kb_action, simplify.
2366 (getActionName): simplify
2368 * factory.C (createInset): fix new bug
2370 2003-09-19 Angus Leeming <leeming@lyx.org>
2372 * CutAndPaste.C (pasteSelection): remove fudge used to set the
2373 masterFilename_ parameter in the include inset.
2375 * factory.C (createInset): changes due to the changes to InsetInclude.
2377 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2379 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2381 2003-09-18 Angus Leeming <leeming@lyx.org>
2384 * BufferView.C: pass the buffer when calling Inset::getLabelList,
2385 Inset::fillWithBibKeys.
2386 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2388 2003-09-18 Angus Leeming <leeming@lyx.org>
2390 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2392 (ctor): pass and store a 'Buffer const &'
2393 (buffer): new member function.
2395 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2396 '*this' to the LaTeXFeatures ctor.
2398 2003-09-18 Angus Leeming <leeming@lyx.org>
2404 * text.C: rename EnumLColor as LColor_color.
2406 2003-09-18 Angus Leeming <leeming@lyx.org>
2408 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2409 remove #include "insets/insetbase.h" from cursor.h.
2411 2003-09-18 Angus Leeming <leeming@lyx.org>
2413 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2414 InsetOld_code to remove #include "inset.h".
2416 * iterators.C: add #include "insets/inset.h"
2418 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
2420 * BufferView.C: remove more locking stuff that apparently doesn't
2421 do anything sensible.
2423 2003-09-16 André Pönitz <poenitz@gmx.net>
2426 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2429 2003-09-16 Angus Leeming <leeming@lyx.org>
2431 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2433 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2436 * paragraph.h: remove #include "lyxfont.h". Forward declare
2439 2003-09-16 Angus Leeming <leeming@lyx.org>
2441 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2442 of support/textutils.h.
2443 (isWord): move the contents of support/textutils.h's IsWordChar here.
2449 * text2.C: add #include "paragraph.h".
2452 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2454 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2460 * LaTeX.C: use namespace alias for lyx::support::os
2462 2003-09-16 Angus Leeming <leeming@lyx.org>
2465 * bufferview_funcs.C:
2468 * paragraph_pimpl.C:
2470 * text.C: add #include "LColor.h".
2472 2003-09-16 Angus Leeming <leeming@lyx.org>
2474 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2475 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2477 Store the FontBits::color variable as an int rather than as an
2478 LColor::colorso that we can move LColor.h out of the lyxfont.h header
2481 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2482 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2483 string calls together.
2485 * lyxrc.C: add #include "LColor.h".
2487 2003-09-15 Angus Leeming <leeming@lyx.org>
2489 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2492 2003-09-15 Angus Leeming <leeming@lyx.org>
2494 * LColor.h: add an EnumLColor wrapper for LColor::color.
2496 * lyxfont.[Ch] (color, setColor, realColor):
2497 * lyxtext.h, text.C (backgroundColor):
2498 pass EnumLColor args to/from the functions, rather than LColor::color
2502 * lyxtext.h: forward declare EnumLColor.
2504 * lyx_main.C: add #include "LColor.h".
2506 2003-09-15 Angus Leeming <leeming@lyx.org>
2508 * .cvsignore: add lyx-gtk.
2510 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2515 * ParagraphParameters.C
2519 * bufferview_funcs.C
2529 * vc-backend.C: remove usage of STRCONV
2531 2003-09-15 Angus Leeming <leeming@lyx.org>
2533 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2534 explicitly define the color passed to the painter.
2536 2003-09-15 Angus Leeming <leeming@lyx.org>
2538 * bufferparams.C (BufferParams): reorder member initializers to avoid
2541 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
2543 * CutAndPaste.C (pasteSelection): remove an outdated #warning
2544 * text.C (updateRowPositions): remove an unusual nop
2546 2003-09-12 André Pönitz <poenitz@gmx.net>
2548 * BufferView_pimpl.C:
2557 * Counters.[Ch]: finish the 'automatic counters' job
2559 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2561 * aspell.C: include <boost/assert.cpp> (compile fix)
2563 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
2565 * boost.C (assertion_failed): use lyx::support::abort instead of
2568 2003-09-10 Angus Leeming <leeming@lyx.org>
2570 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2571 with their _fwd progeny.
2573 2003-09-09 Angus Leeming <leeming@lyx.org>
2575 134 files throughtout the source tree: replace 'using namespace abc;'
2576 directives with the appropriate 'using abc::xyz;' declarations.
2578 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2580 * boost.C (emergencyCleanup): moved here from LAssert.c
2581 (assertion_failed): new function, called by BOOST_ASSERT
2583 * several files: change Assert to BOOST_ASSERT
2585 2003-09-09 Angus Leeming <leeming@lyx.org>
2587 * buffer.[Ch]: Add an Impl class and move Buffer's member
2588 variables into it. As a result move several header files out of
2591 Add header files to lots of .C files all over the tree as a result.
2593 2003-09-09 Angus Leeming <leeming@lyx.org>
2595 * buffer.[Ch]: make Buffer's member variables private. Add
2598 Lots of changes all over the tree as a result.
2600 2003-09-08 Angus Leeming <leeming@lyx.org>
2602 * graph.C: #include <config.h>.
2604 2003-09-08 Angus Leeming <leeming@lyx.org>
2608 * BufferView_pimpl.C:
2637 * toc.C: remove redundant using directives.
2639 2003-09-07 Angus Leeming <leeming@lyx.org>
2641 * LaTeXFeatures.h: remove #include "support/types.h".
2642 * ToolbarBackend.h: remove #include <algorithm>.
2643 * changes.h: remove #include <ctime>.
2644 * debug.h: remove #include <iosfwd>.
2645 * graph.h: remove #include "support/std_string.h".
2646 * lyx_main.h: remove #include <csignal>.
2647 * lyxlex_pimpl.h: remove #include <fstream>.
2648 * sgml.h: remove #include <algorithm>, <utility>.
2649 * toc.h: remove #include "support/std_ostream.h".
2650 Add #include <iosfwd>.
2652 2003-09-07 Angus Leeming <leeming@lyx.org>
2654 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2656 * converter.h: forward declare LatexRunParams.
2657 * encoding.h: remove #include "lyxrc.h".
2658 * lyxtext.h: remove #include "LColor.h".
2659 * lyxtextclass.h: remove #include "support/types.h".
2660 * trans.h: remove #include "tex-accent.h".
2661 * trans_mgr.h: remove #include "tex-accent.h".
2662 * insets/inset.h: remove #include "support/types.h", <vector>.
2663 * insets/insetcollapsable.h: remove #include "LColor.h".
2664 * insets/insetinclude.h: remove #include "dimension.h".
2665 * insets/insetlatexaccent.h: remove #include "dimension.h".
2666 * insets/insetoptarg.h:: remove #include "insettext.h".
2667 * insets/insettext.h: remove #include "dimension.h",
2668 <boost/shared_ptr.hpp>
2670 * insets/renderers.h: add #include "dimension.h".
2671 * insets/updatableinset.h: add #include "support/types.h".
2673 * many .C files: Associated changes.
2675 2003-09-06 Angus Leeming <leeming@lyx.org>
2677 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2678 one, inside testInvariant.
2680 * PrinterParams.C: new file.
2681 * PrinterParams.[Ch]: move the function bodies out of line.
2683 2003-09-06 Angus Leeming <leeming@lyx.org>
2685 * ParagraphParameters.h: forward declare ParameterStruct rather than
2686 including its header file.
2687 (depth): moved out-of-line.
2689 2003-09-06 Angus Leeming <leeming@lyx.org>
2691 * BufferView_pimpl.h:
2694 * lyxfunc.h: forward declare LyXKeySym rather than
2695 #include "frontends/LyXKeySym.h".
2697 * BufferView_pimpl.C:
2700 * lyxfunc.C: associated changes.
2702 2003-09-06 Angus Leeming <leeming@lyx.org>
2704 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2705 As a result, can remove the #include "insets/inset.h" from BufferView.h
2707 2003-09-06 Angus Leeming <leeming@lyx.org>
2709 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2710 As a result, can remove the #include "insets/inset.h" from BufferView.h
2712 2003-09-06 Angus Leeming <leeming@lyx.org>
2718 * bufferview_funcs.C:
2719 * BufferView_pimpl.C:
2724 * ParagraphParameters.C:
2729 * frontends/controllers/ControlDocument.C:
2730 * insets/insetcaption.C: rearrange the #includes into some sort of
2733 * buffer.h: remove #includes ErrorList.h, undo.h
2735 2003-09-06 Angus Leeming <leeming@lyx.org>
2737 * support/types.h: add a 'depth_type' typedef, used to store the
2738 nesting depth of a paragraph.
2741 * ParameterStruct.h: use this lyx::depth_type typedef rather than
2742 defining explicitly.
2745 * paragraph_funcs.h:
2746 * ParagraphParameters.h:
2747 * sgml.h: use lyx::depth_type rather than Paragraph or
2748 ParameterStruct's depth_type.
2751 * paragraph_funcs.h: no need to #include paragraph.h anymore.
2754 * BufferView_pimpl.C:
2756 * ParagraphParameters.C:
2759 * bufferview_funcs.C:
2766 * frontends/LyXView.C:
2767 * frontends/controllers/ControlDocument.C:
2768 * frontends/controllers/ControlErrorList.C:
2769 * insets/insetbibitem.C:
2770 * insets/insetbranch.C:
2771 * insets/insetcaption.C:
2772 * insets/insetcollapsable.C:
2773 * insets/insetenv.C:
2774 * insets/insetert.C:
2775 * insets/insetfloat.C:
2776 * insets/insetfoot.C:
2777 * insets/insetfootlike.C:
2778 * insets/insetnewline.C:
2779 * insets/insetquotes.C:
2780 * insets/insettabular.C:
2781 * insets/insettext.C:
2782 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2784 * frontends/controllers/ControlChanges.C: #include "changes.h".
2786 2003-09-06 Angus Leeming <leeming@lyx.org>
2788 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2789 than #including paragraph.h.
2792 * RowList.h: deleted. Superfluous.
2802 * insets/insettext.h: use ParagraphList_fwd.h rather than
2805 * paragraph.h: don't forward declare ParagraphList.
2808 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2809 rather than ParagraphList.h. paragraph.h is still needed for the
2810 Paragraph::depth_type parameters.
2812 * textcursor.h: enable it to compile stand-alone in light of the
2815 * bufferview_funcs.C:
2827 * frontends/controllers/ControlParagraph.C:
2828 * frontends/controllers/ControlTabular.C:
2829 * insets/insetmarginal.C:
2830 * insets/insetminipage.C:
2831 * insets/insetnote.C:
2832 * insets/insetoptarg.C: add header files needed to compile again.
2834 2003-09-06 Angus Leeming <leeming@lyx.org>
2836 * RowList_fwd.h: new file, forward-declaring Row rather than
2837 #including lyxrow.h.
2842 * insets/insettext.h: use it instead of RowList.h
2844 * bufferview_funcs.C:
2851 * text3.C: #include "RowList.h".
2853 2003-09-05 Angus Leeming <leeming@lyx.org>
2855 * factory.C (createInset):
2856 * vspace.C (c-tor): replace sscanf call with an istringstream.
2857 * ispell.C: re-add missing HP/UX headers.
2858 * lyxserver.C: re-add missing os2 headers.
2860 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
2869 * text3.C: re-add missing system headers, needed for 2.95.2.
2871 2003-09-05 Angus Leeming <leeming@lyx.org>
2873 Changes most place everywhere due to the removal of using directives
2874 from support/std_sstream.h.
2876 2003-09-05 Angus Leeming <leeming@lyx.org>
2878 Replace LString.h with support/std_string.h,
2879 Lsstream.h with support/std_sstream.h,
2880 support/LIstream.h with support/std_istream.h,
2881 support/LOstream.h with support/std_ostream.h.
2883 Changes resulting throughout the tree.
2885 2003-09-05 Angus Leeming <leeming@lyx.org>
2887 * sgml.h: ensure that the header file can be compiled stand-alone.
2888 * *.C: strip out redundant #includes. (320 in total.)
2890 2003-09-04 Angus Leeming <leeming@lyx.org>
2892 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2893 here (from getPackages).
2895 * debug.[Ch]: add a new EXTERNAL tag.
2897 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2899 * text2.C (cursorEnd): simplify
2901 (getColumnNearX): adjust
2903 * text.C (computeBidiTables): adjust
2906 * rowpainter.C (paintChars): adjust
2907 (paintSelection): adjust
2908 (paintChangeBar): adjust
2911 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2913 (numberOfSeparators): adjust
2915 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2921 * text3.C: Restricts the mouse click functionality
2922 of insets like bibtex, include, toc and floatlist to the visible
2923 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2924 up the dialogs. Cursor has to be in front of the inset (i.e.
2925 start of row) for this to function.
2927 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2929 * bufferview_funcs.C (currentState): output row information
2931 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2933 * bufferview_funcs.C (currentState): output paragraph position
2935 2003-09-04 Angus Leeming <leeming@lyx.org>
2937 * FloatList.h: move out #include "Floating.h".
2938 * LaTeX.h: move out #include "DepTable.h".
2939 * LyXAction.h: move out #include "funcrequest.h".
2940 * buffer.h: move out #include "author.h", "iterators.h".
2941 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2942 * lyx_main.h: move out #include "errorlist.h".
2943 * lyxfunc.h: move out #include "FuncStatus.h".
2944 * lyxtext: move out #include "lyxcursor.h".
2945 * paragraph_pimpl.h: move out #include "counters.h".
2947 2003-09-03 Angus Leeming <leeming@lyx.org>
2949 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2950 preamble_snippets list, enabling us to add snippets to the preamble
2951 only if the snippet was not there already.
2953 2003-09-04 Angus Leeming <leeming@lyx.org>
2955 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2957 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2959 * lyxfunc.C (dispatch): if fitCursor did something be sure to
2962 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2964 * BranchList.C: point fix, earlier forgotten
2966 2003-09-02 Angus Leeming <leeming@lyx.org>
2968 * box.C (contains): renamed from 'contained' after a fantastic
2971 2003-09-02 John Levon <levon@movementarian.org>
2977 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2979 2003-09-02 John Levon <levon@movementarian.org>
2981 * text2.C: simplification of cursorEnd(), including partial
2984 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2986 * buffer.C (readFile): add a space
2988 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
2990 * BufferView_pimpl.C (update): remove bogus fitCursor() call
2992 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2994 * buffer.C (readFile): new function, take a filename and a
2995 ParagraphList::iterator
2997 (readFile): adjust, make it private. don't use setStream, make
2998 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2999 always contain the filename.
3001 * BufferView.C (insertLyXFile): simplify and make it work for
3004 2003-08-30 John Levon <levon@movementarian.org>
3006 * Makefile.am: fix dist (from Kayvan)
3008 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3010 * most files: change to use const Buffer refs
3012 2003-08-27 André Pönitz <poenitz@gmx.net>
3014 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3015 on top of ownerPar().
3017 2003-08-27 John Levon <levon@movementarian.org>
3019 * funcrequest.C: properly initialise POD members
3021 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3023 * lyxtext.h (top_y): move top_y from here
3028 * BufferView_pimpl.[Ch]: to here
3029 * frontends/screen.C:
3030 * insets/insettabular.C:
3031 * insets/insettext.C: adjust
3032 * rowpainter.[Ch] (paintRows): remove LyXText & argument
3034 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3037 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3039 2003-08-26 André Pönitz <poenitz@gmx.net>
3041 * paragraph_func.[Ch] (outerPar): new function
3044 * paragraph_funcs.C:
3045 * paragraph_funcs.h:
3046 * paragraph_pimpl.C:
3047 * text2.C: remove Inset::par_owner
3049 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
3054 * text2.C: eliminates the needFullRow/display() stuff
3055 altogether, putting the logic in metrics/draw in the insets.
3057 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
3059 * text2.C (redoParagraphInternal, redoParagraphs):
3060 * text.C (redoParagraph): add a call to updateRowPositions at the
3061 end of each 'metrics-like' call. Remove all others.
3062 (getRow): remove the 'y-computing' version.
3063 (getRowNearY): do not compute nor return the real y. Solve the
3064 'y < 0' problem and simplify.
3066 2003-08-22 Angus Leeming <leeming@lyx.org>
3068 * *.[Ch]: clean-up of licence and author blurbs.
3069 Also move config.h out of a few .h files and into a few .C files.
3071 2003-08-22 André Pönitz <poenitz@gmx.net>
3073 * lyxrow.[Ch]: add x_ and *fill_ members
3078 * text2.C: adjust/remove prepareToPrint() calls
3080 2003-08-22 André Pönitz <poenitz@gmx.net>
3082 * lyxrow.[Ch]: add end_ member
3084 * lyxrow_funcs.C: use LyXRow::end_
3086 * lyxtext.h (singleWidth): add LyXFont parameter
3089 * text2.C: adjust LyXText::singleWidth() calls
3091 * text.C (redoParagraph): simplify row breaking logic
3094 2003-08-19 André Pönitz <poenitz@gmx.net>
3096 * funcrequest.C: initialize button_ member
3099 * rowpainter.[Ch]: interface consolidation
3101 2003-08-18 André Pönitz <poenitz@gmx.net>
3104 * BufferView_pimpl.C:
3106 * paragraph_funcs.C:
3108 * text3.C: remove LyXScreen::draw() and fitCursor calls
3110 * BranchList.h: remove spurious semicolons
3112 * MenuBackend.C: fix branchlist related crash
3114 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
3122 * bufferparams.[Ch]:
3126 * text3.C: implements the 'branch inset'
3127 idea. This allows the output of various versions of a document
3128 from a single source version, selectively outputing or suppressing
3129 output of parts of the text.
3130 This implementation contains a 'branch list editor' in a separate
3131 tab of the document settings dialog. Branches are user definable
3132 and have a "display colour" to distinguish them on-screen.
3134 ColorHandler was somewhat cleaned up.
3135 (1) make possible a dynamically growing LColor list by allowing
3136 the graphic context cache to grow along (vector);
3137 (2) eliminate an IMHO unnecessary step in colour allocation.
3139 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
3141 * BufferView_pimpl.C: compile fix
3143 2003-08-15 André Pönitz <poenitz@gmx.net>
3145 * rowpainter.C: remove extra metrics calls
3147 * lyxtext.h: merge the two constructors into a single one,
3148 pass reference to owner's par list
3150 * BufferView_pimpl.C:
3154 2003-08-15 André Pönitz <poenitz@gmx.net>
3156 * lyxrow_funcs.[Ch]:
3159 * paragraph_funcs.C:
3164 * text_funcs.C: split LyXText::rowlist_ into individual
3165 Paragraph::rows_ chunks
3168 * BufferView_pimpl.[Ch]:
3171 * text3.C: remove toggleSelection()
3173 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
3175 * bufferlist.C: beautify two alerts (shorter text of buttons)
3176 * buffer.C: Remove redundant ' ' from message
3178 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3179 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3180 rename VALIGN_CENTER to VALIGN_MIDDLE
3182 2003-08-11 André Pönitz <poenitz@gmx.net>
3184 * lyxtext.h (getPar):
3185 * text.C: new function
3187 2003-08-11 André Pönitz <poenitz@gmx.net>
3190 * tracer.[Ch]: remove unneeded files
3192 * InsetList.[Ch]: remove resizeInsetsLyXText()
3197 * text3.C: merge insertParagraphs() and appendParagraph()
3198 remove breakAgain(), update()
3200 * BufferView_pimpl.[Ch]:
3201 * bufferview_funcs.[Ch]:
3205 * tabular.C: adjust after text & InsetList changes.
3207 2003-08-08 André Pönitz <poenitz@gmx.net>
3209 * text.C (insertChar, backspace): replace rowlist fiddling
3210 with rebreak of full par
3213 * text.C (breakAgainOneRow, redoHeightOfParagraph,
3214 checkParagraph, updateInset): removed
3216 2003-08-07 André Pönitz <poenitz@gmx.net>
3219 * text3.C: merge some LFUN handlers, remove dead code
3221 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3223 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3225 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
3227 * text2.C (DEPM): fix part of bug 1255 and 1256
3229 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3231 * BufferView_pimpl.C (workAreaDispatch): change to use
3232 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3233 that are no mouse related.
3235 2003-08-05 André Pönitz <poenitz@gmx.net>
3238 * BufferView_pimpl.[Ch]:
3239 * bufferview_funcs.C:
3241 * text3.C: rip out "deep update"
3243 * textcursor.[Ch] (last_sel_cursor): remove unused member
3245 2003-08-04 André Pönitz <poenitz@gmx.net>
3248 * BufferView_pimpl.[Ch]:
3249 * ParagraphParameters.C:
3250 * bufferview_funcs.C:
3256 * text3.C: replace "complicated" BufferView::update(...) calls with
3259 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3261 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
3263 * Makefile.am (lyx_SOURCES): add paper.h
3265 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3267 * Makefile.am: move things around so that both lyx-qt and
3268 lyx-xforms can be built (according to --with-frontend). Then lyx
3269 is a symbolic link to lyx-[firstfrontend]
3271 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
3273 * Always use std::endl with lyxerr
3275 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
3277 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3279 2003-08-01 André Pönitz <poenitz@gmx.net>
3282 * BufferView_pimpl.[Ch]:
3284 * text3.C: merge BufferView::repaint() and BufferView::update()
3286 2003-08-01 José Matos <jamatos@lyx.org>
3288 * buffer.[Ch]: file_format is no longer a buffer data element.
3290 2003-08-01 André Pönitz <poenitz@gmx.net>
3295 * text2.C: make redoParagraph more independent of current cursor
3297 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3299 * text2.C: remove unneeded members
3301 2003-07-30 André Pönitz <poenitz@gmx.net>
3303 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3305 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3306 create a single function...
3308 * paragraph_funcs.C (moveItem): ... here.
3311 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3313 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3315 * LColor.[Ch]: Add comment and greyedout logical colors.
3317 2003-07-30 André Pönitz <poenitz@gmx.net>
3319 * tabular.C: don't use Assert too heavily. This crashes where it
3322 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
3324 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3325 is disabled (bug 1232)
3327 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3329 * factory.C: limited 'arg' scope
3331 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3333 * factory.C: fixed Note submenu issues
3335 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3337 * factory.C: submenu for Note/Comment/Greyedout
3339 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
3342 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3344 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
3347 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3348 greyedout. Patch provided by Jürgen Spitzmüller.
3350 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3352 * kbmap.C (read): fix error message when reading bind files
3354 2003-07-29 Angus Leeming <leeming@lyx.org>
3356 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3357 certainly does not do what it purports to do. I am doing it, and
3358 us, a favour by killing it.
3360 2003-07-28 José Matos <jamatos@lyx.org>
3362 * buffer.C (readBody, do_writeFile):
3363 * paragraph.C(readParagraph): \end_document replaces \the_end.
3365 2003-07-29 André Pönitz <poenitz@gmx.net>
3368 * BufferView_pimpl.[Ch]:
3372 * textcursor.[Ch]: remove toggleToggle & Co
3374 2003-07-28 José Matos <jamatos@fep.up.pt>
3376 * buffer.C (readParagraph):
3377 * params_func (readParToken, readParagraph):
3378 * paragraph.C (write): \layout -> \begin_layout.
3380 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3382 * lyxlex_pimpl.C (setFile): clean up slightly.
3384 * bufferparams.h: add compressed var
3386 * buffer_funcs.C (readFile): adjust for LyXLex change
3387 (newFile): ditto + simplify
3389 * buffer.C (writeFile): handle writing of compressed files
3391 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3392 Check if the file is compressed and set a bufferparm if so.
3394 * Makefile.am (lyx_LDADD): remove explicit -lz
3396 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3398 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3399 makeDocBookFile): put the real LyX version in the first line of
3403 * version.C.in: remove lyx_docversion
3405 * tabular.C (write_attribute): add a template-based version to
3406 write enums properly
3408 2003-07-28 André Pönitz <poenitz@gmx.net>
3413 * text3.C: use doubles again for x-coordinates. They are needed.
3415 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3417 * messages.C (getLocaleDir): use lyx_localedir()
3419 * lyxlex_pimpl.C (setFile): compress stuff
3421 * buffer.C (writeFile): add some compression stuff
3422 (do_writeFile): new func, dont call expliti close... will this
3425 * Makefile.am (lyx_LDADD): add -lz
3427 2003-07-28 José Matos <jamatos@fep.up.pt>
3429 * buffer.C: increment file format.
3430 * paragraph_funcs (readParagraph, readParToken):
3431 * paragraph.C (readParagraph): add \end_layout.
3433 2003-07-27 Angus Leeming <leeming@lyx.org>
3435 * Makefile.am: remove special casing for configure-time setting of
3436 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3438 * lyx_main.C (init): remove all Jean-Marc's magic setting of
3439 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3441 2003-07-26 André Pönitz <poenitz@gmx.net>
3443 * paragraph_func.[Ch]:
3444 * paragraph.C (realizeFont): inline it whereever it is used
3449 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3452 2003-07-26 André Pönitz <poenitz@gmx.net>
3456 * text2.C: get rid of LyXText::need_break_row
3458 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3460 * toc.[Ch]: put namespace toc inside namespace lyx
3462 * MenuBackend.C (expandToc2): adjust for lyx::toc
3465 * lyxfunc.C (dispatch): adjust for lyx::find
3467 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3468 lyx::find instead. Reorganize a bit.
3469 (LyXReplace): rename to replace
3470 (LyXFind): rename to find
3472 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3475 2003-07-26 André Pönitz <poenitz@gmx.net>
3477 * text.C (setHeightOfRow): restrict scope of temporary variable
3479 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
3480 code (never has been used?)
3482 2003-07-27 Asger Alstrup <alstrup@local>
3484 * text.C (fill): Optimise algorithm to exploit that we can reuse
3485 the LyXFont for many characters.
3486 (setHeightOfRow): Same thing.
3487 (rowBreakPoint): Same thing.
3489 2003-07-26 Asger Alstrup <alstrup@local>
3491 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3493 * text.C (singleWidth): Spurious font copying in hot-spot
3494 singleWidth avoided. Reorder tests for arabic for efficiency.
3496 * text.C (fill): handle empty paragraphs better.
3498 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3501 * encoding.h: add includes
3503 * lyxrc.C: remove reading of bind files
3505 * lyx_main.C (init): setup bindings and menus only if we have a
3508 * kbmap.C (read): new method. Do the actual reading of bind
3511 * converter.C (dvipdfm_options):
3514 (output): adapt PAPER_* enums.
3516 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3518 * bufferparams.h: remove paper-related enums from there
3520 * paper.h: New file. A trivial header file to hold paper-related
3521 enums. It should later expand to contain many paper-related
3524 * lyxrc.C: declare extern displayTranslator
3526 2003-07-27 José Matos <jamatos@fep.up.pt>
3528 * tabular.[Ch] (linuxdoc): add support for tables and figures
3531 2003-07-27 José Matos <jamatos@fep.up.pt>
3533 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3534 consistency in both functions.
3535 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3537 2003-07-26 Asger Alstrup <alstrup@local>
3539 * rowpainter.C (paintRows): Change algorithm to work directly on
3540 the insets rather than asking every character in the document
3541 whether its an inset.
3543 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
3545 * buffer.C (openFileWrite): factorize some code
3547 2003-07-26 Angus Leeming <leeming@lyx.org>
3550 * lyx_main.[Ch]: replace occurances of system_tempdir with
3553 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3555 * rename Inset to InsetOld
3557 2003-07-25 Asger Alstrup <alstrup@diku.dk>
3559 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3560 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3561 which I think is a bit clearer. EDIT is gone, since it was
3562 premature optimisation, and broken for mathed anyway.
3563 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3564 with cursor positioning in insets as well (math insets still do not
3565 work, but that's a different story anyway.) It mysteriously
3566 crashes sometimes with undo in the first paragraph, but I'm fairly
3567 confident that this is a compiler bug.
3569 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3571 * paragraph.C (Paragraph): adjust for new clone return type
3573 (copyIntoMinibuffer): ditto
3575 2003-07-25 Asger Alstrup <alstrup@lyx.org>
3577 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3578 by not having a special case, and always doing a full rebreak of
3579 the document after undo.
3581 2003-07-23 Angus Leeming <leeming@lyx.org>
3583 * factory.C (createInset): InsetExternal::setParams now takes a
3586 2003-07-23 Angus Leeming <leeming@lyx.org>
3588 * factory.C (createInset): changed interface to the external and
3589 graphics mailers' string2params functions.
3591 2003-07-23 Angus Leeming <leeming@lyx.org>
3593 * factory.C (createInset): pass a
3594 Buffer const * parameter to InsetExternalMailer's string2params.
3596 2003-07-22 John Levon <levon@movementarian.org>
3598 * Thesaurus.h: include the right aiksaurus header
3600 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3602 * MenuBackend.C (expand): check menu shortcuts unconditionally
3604 2003-07-21 Angus Leeming <leeming@lyx.org>
3606 * factory.C (createInset): pass a
3607 buffer_path parameter to InsetGraphicsMailer's string2params.
3609 2003-07-21 Angus Leeming <leeming@lyx.org>
3611 * BufferView_pimpl.C (buffer):
3614 * lyxfunc.C (dispatch):
3615 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3616 rather than the grfx shortcut.
3618 2003-07-21 André Pönitz <poenitz@gmx.net>
3620 * rowpainter.C: remove unused variables
3623 * tabular_funcs.h: move to tabular.C
3624 * Makefile.am: adjust
3626 * tabular.[Ch]: basic optical cleaning
3628 * author.h: pass references, not values
3630 2003-07-18 André Pönitz <poenitz@gmx.net>
3638 * text3.C: two-phase drawing for InsetText and InsetTabular
3639 some float -> int changes.
3641 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3643 * lyx_main.C: fix the fix
3645 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3647 * lyx_main.C: fix a crash in batch mode if no files specified
3650 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
3652 * format.[Ch] (papersize): moved to BufferParams
3653 * converter.[Ch] (dvips_options): moved to BufferParams
3654 (dvipdfm_options): moved to anon namespace
3655 * bufferparams.[Ch]: added above functions.
3657 2003-07-17 André Pönitz <poenitz@gmx.net>
3661 * text2.C: don't call inset->update() anymore
3663 * metricsinfo.[Ch]: add convenience constructor
3665 2003-07-16 André Pönitz <poenitz@gmx.net>
3670 * text2.C: replace the LyXCursor::irow_ member with
3671 on-demand computation of the value
3673 2003-07-16 John Levon <levon@movementarian.org>
3675 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3677 2003-07-15 André Pönitz <poenitz@gmx.net>
3680 * text2.C: remove no more needed refresh_row
3682 2003-07-15 André Pönitz <poenitz@gmx.net>
3687 * text3.C: refresh_status tristate -> need_update bool
3689 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
3691 * lyxtext.h (init): remove reinit argument (act as if always true)
3692 * text2.C: adjust to that
3694 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3696 * bufferview_funcs.[Ch]: introduce function replaceSelection()
3697 * text3.C: use it to delete selections in some cases
3698 (bugs 441, 673, 702, 954).
3700 2003-07-14 André Pönitz <poenitz@gmx.net>
3702 * rowpainter.[Ch]: reduce interface
3704 2003-07-14 André Pönitz <poenitz@gmx.net>
3706 * BufferView_pimpl.C:
3707 * text2.C: adjust after removing unused BufferView * argument
3709 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
3711 * text2.C (init): fix a crash fired on resize
3713 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
3715 * buffer.[Ch]: added new closing signal
3716 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3717 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3718 BufferView::Pimpl via the closing the signal
3720 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
3722 * buffer.[Ch]: take out all bv-related from buffer
3724 * BufferView_pimpl.[Ch]: connect to new signals
3725 * CutAndPaste.C: removed useless asserts
3726 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3729 * lyxfunc.C: moved view-related funciontality from vc here
3730 * paragraph.C: removed outdated comments
3733 2003-07-10 André Pönitz <poenitz@gmx.net>
3735 * BufferView_pimpl.C:
3739 * text2.C: remove InsetText::InnerCache, clean up consequences
3741 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
3743 * ispell.C: fix two typos in error messages
3745 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
3747 * Extend Note inset to other forms of annotation like Comment
3748 and Greyedout. Right button click gives dialog.
3750 Files modified or added (+):
3754 * ControlNote.[Ch] +
3756 * Makefile.am in frontends/xforms, frontends/xforms/forms,
3757 frontends/controllers
3761 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3763 * aspell.C: add missing namespace lyx::support
3765 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
3767 * BufferView.[Ch] (newFile): Add
3768 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3769 * LaTeX.[Ch] (message): added this signal and use it
3770 * buffer.[Ch] (busy, message): added these signals and use them
3771 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3775 * importer.C: use buffer signals instead of direct bv calling
3776 * lyx_cb.[Ch] (ShowMessage): removed
3779 * paragraph_funcs.C:
3780 * text2.C: use buffer signals
3782 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3784 * introduce namespace lyx::graphics
3786 2003-07-02 André Pönitz <poenitz@gmx.net>
3788 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3790 2003-07-01 André Pönitz <poenitz@gmx.net>
3797 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3798 text*.C to text_func.C
3800 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3802 * introduce namespace lyx::support
3804 2003-06-30 André Pönitz <poenitz@gmx.net>
3809 * text.C: re-enable --with-included-string
3811 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3813 * textcursor.C: add <config.h>
3815 * text.C (getWord): remove const from word_location arg
3817 * lyxvc.C (getLogFile): fix const type order
3819 * lyxtext.h: remove const from word_location arg, add arg name
3821 * lyxlayout.h: currect type on labeltype.
3823 * importer.C: correct \file
3825 * converter.C (intToFormat): use std:: on ret val, ws changes
3827 * bufferlist.h: correct \file
3829 * buffer.C (makeLinuxDocFile): fix const type order
3830 (makeDocBookFile): ditto
3831 (fillWithBibKeys): use std:: on stdlib args.
3833 * CutAndPaste.C: fix authors.
3834 (availableSelections): use std:: on return vector
3836 2003-06-27 André Pönitz <poenitz@gmx.net>
3838 * BufferView_pimpl.C:
3839 * bufferview_funcs.C:
3847 * text3.C: remove LyXCursor::row_ member
3850 * text.C: rename fullRebreak() to partialRebreak() and implement
3851 a fullRebreak() that really bereks fully
3853 * textcursor.h: new struct for cursor-related data
3855 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
3857 * lyx_main.C (LyX): get full path of document loaded on the
3860 2003-06-26 André Pönitz <poenitz@gmx.net>
3862 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3863 remove unused/broken operator>,<,>=.
3865 * text.C: remove only use of broken operator<= in an Assert().
3867 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3869 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3870 moved errorlist_.clear to showErrorList
3872 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3874 * converter.C (scanLog, runLaTeX):
3875 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3876 move the bv->showErrorList call to the callers
3877 * lyxfunc.C: i.e. here...
3879 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3880 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3881 namespace, the second to...
3882 * buffer_funcs (BufferFormat, parseErrors): added
3883 * errorlist.C (ErrorList(TeXErrors const &)): removed
3885 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3887 * ToolbarBackend.C (getIcon): complain when icon cannot be found
3889 2003-06-24 "Garst R. Reese" <reese@isn.net>
3893 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3895 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3897 * version.C.in: change docversion to 1.4
3899 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
3901 * buffer.C: fix a bug just introduced
3903 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3905 * buffer.[Ch]: added the parseError signal and use it, removed
3907 * BufferView.[Ch] (addError): moved to ...
3908 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3909 to the Buffer::parseError signal to catch (guess what) parse errors
3910 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3912 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3914 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3915 ability to create a buffer and to return an existing one from
3916 the list. Moved these functions to...
3917 * buffer_funcs.[Ch]: added
3918 * BufferView.[Ch] (loadLyXFile): added
3919 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3920 job removed from bufferlist::loadLyXFile.
3921 * buffer.C (setReadOnly): make it work without view
3922 (i.e added an if (users))
3924 2003-06-19 Angus Leeming <leeming@lyx.org>
3927 * LyXAction.C (init):
3928 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3929 with LFUN_DIALOG_SHOW <name> <data>.
3931 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3933 * CutAndPaste.C (availableSelections): small compilation fix for
3934 ancient (gcc 2.9x) compilers
3936 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3938 * text3.C (cursorNext): add tmp var
3940 * text2.C (updateCounters): for function calling out of for clause
3941 (replaceSelectionWithString): ditto
3942 (insertStringAsParagraphs): ditto
3943 (getColumnNearX): add tmp var
3944 (setCursorFromCoordinates): add tmp var
3945 (cursorDownParagraph): add tmp var
3946 (deleteEmptyParagraphMechanism): add tmp var
3948 * text.C (insertChar): add tmp var
3950 * rowpainter.C (paintDepthBar): add tmp var
3952 * CutAndPaste.C (availableSelections): potentially check all
3953 paragraphs in a cut to fill the shown strings.
3955 2003-06-18 André Pönitz <poenitz@gmx.net>
3957 * kbmap.[Ch]: use vector<> instead of list<>
3959 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3961 * text3.C (dispatch): handle arg to LFUN_PASTE, call
3962 pasteSelection with index
3964 * text2.C (pasteSelection): modify, call pasteSelection with index
3966 * paragraph.C (asString): reimplement version with no interval to
3967 call the one with interval.
3969 * lyxtext.h: add index arg to pasteSelection
3971 * MenuBackend.C (MenuItem): handle PasteRecent
3972 (Menu::read::Menutags): add md_pasterecent
3974 (expandPasteRecent): new function
3977 * MenuBackend.h: add PasteRecent to MenuItem::Kind
3979 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3981 (availableSelections): new function
3983 2003-06-17 Angus Leeming <leeming@lyx.org>
3985 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3987 2003-06-17 Angus Leeming <leeming@lyx.org>
3990 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3992 * lyxfunc.C (dispatch): invoke it.
3994 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3996 * iterators.C (operator++, ParPosition): reintroduce some
3997 const_cast for the benefit of older compilers.
3999 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4001 * text3.C (dispatch): do not modify clipboard when doing
4002 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4003 LFUN_DELETE_SKIP on a selection selection
4005 2003-06-16 André Pönitz <poenitz@gmx.net>
4011 * tabular.[Ch]: IU of clone() and getLabelList();
4013 2003-06-13 André Pönitz <poenitz@gmx.net>
4015 * tabular.h: compactification
4017 2003-06-12 André Pönitz <poenitz@gmx.net>
4021 * tabular_funcs.h: some renaming plus whitespace
4023 2003-06-12 André Pönitz <poenitz@gmx.net>
4026 * BufferView_pimpl.C:
4032 * toc.C: Return a Paragraph & for ParIterator::operator*()
4034 2003-06-11 John Levon <levon@movementarian.org>
4038 * ToolbarBackend.C: add "Toolbars" section and
4041 2003-06-10 Angus Leeming <leeming@lyx.org>
4044 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4046 * lyxfunc.C (dispatch): invoke it.
4048 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4050 * main.C: protect <ios> with HAVE_IOS
4051 (main): protect sync_with_stdio with HAVE_IOS
4053 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
4055 * text2.C (cutSelection): adjust
4056 (pasteSelection): adjust
4058 * messages.C: handle get of empty string
4060 * main.C (main): use sync_with_stdio(false)
4062 * lyxfunc.C (dispatch): adjust
4064 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4065 (WriteAs): remove unneeded BufferView arg.
4067 * bufferparams.h: use correct types on papersize, papersize2 and
4070 * bufferparams.C (readToken): adjust for type
4071 (writeLaTeX): add missing cases to switch.
4073 * bufferlist.C (quitWriteBuffer): adjust
4076 * buffer.C (asciiParagraph): remove some commented code.
4078 * CutAndPaste.C: remove current_view extern variable.
4079 (cutSelection): add BufferParams arg.
4080 (eraseSelection): add BufferParams arg.
4081 (pasteSelection): add Buffer const & arg
4083 2003-06-07 John Levon <levon@movementarian.org>
4086 * paragraph_funcs.C:
4087 * paragraph_pimpl.C:
4091 * paragraph.C: allow InsetERT to freely space lines,
4092 and some consolidation of code
4094 2003-06-06 José Matos <jamatos@fep.up.pt>
4096 * buffer.C (makeDocBookFile): fix bug #821
4098 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
4100 * BufferView_pimpl.C (dispatch): use Dialogs::visible
4102 2003-06-04 Angus Leeming <leeming@lyx.org>
4104 * buffer.C: bump format to 224.
4106 2003-06-05 André Pönitz <poenitz@gmx.net>
4108 * text2.C (redoParagraphs): remove two const_cast<>
4110 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4112 * ParagraphList.h: remove last remnants of NO_STD_LIST
4114 2003-06-03 Angus Leeming <leeming@lyx.org>
4116 * factory.C (createInset): small change to the way InsetExternal's params
4119 2003-06-04 André Pönitz <poenitz@gmx.net>
4121 * buffer.h: use Undo directly instead of shared_ptr<Undo>
4123 * paragraph_pimpl.h:
4124 * paragraph.[Ch]: some Inset -> UpdatableInset changes
4126 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4128 * undo_funcs.C: make some simple cases of undo work again
4130 2003-06-03 John Levon <levon@movementarian.org>
4132 * ispell.C: HPUX doesn't have sys/select.h
4135 2003-06-03 John Levon <levon@movementarian.org>
4137 * CutAndPaste.C: update tabular and include inset
4142 * paragraph.C: remove owningBuffer(), don't pass Buffer
4145 * factory.C: insetGraphicsParams changed
4147 2003-06-02 John Levon <levon@movementarian.org>
4153 * text3.C: remove insetparent
4155 2003-06-02 John Levon <levon@movementarian.org>
4158 * buffer.C: fix inset_iterator.end(), move out of line
4161 2003-06-01 John Levon <levon@movementarian.org>
4163 * text3.C: use a proper cut/paste when doing inset
4164 insert (from Jürgen Spitzmüller)
4166 2003-06-01 John Levon <levon@movementarian.org>
4168 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4170 2003-05-30 André Pönitz <poenitz@gmx.net>
4172 * rowpainter.C: unify second drawing phase
4174 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4176 * trans_mgr.C: remove one case of current_view
4178 * text2.C (cursorBottom): delete NO_STD_LIST stuff
4180 * paragraph_funcs.h: remove paragraph.h include
4182 * paragraph.h: delete NO_STD_LIST stuff
4184 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4186 * buffer.h: remove paragraph.h include
4188 * ParagraphList.C: delete file
4190 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4192 * toc.C (getTocList): adjust
4194 * paragraph_pimpl.C (validate): adjust
4196 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4198 * paragraph.C (Paragraph): adjust
4199 (getPositionOfInset): use const_iterator, adjust
4200 (bibitem): use const_iterator, adjust
4201 (setInsetOwner): adjust
4203 * iterators.C (operator++): adjust
4205 * InsetList.[Ch]: Replace selfmade iterator with standard
4206 vector::iterator also introduce const_iterator. Remove getPos,
4207 getInset and setInset from InsetTable. Adjust accordingly.
4209 * BufferView.C (lockInset): adjust
4210 (ChangeInsets): adjust
4212 * tabular.[Ch]: delete commented same_id functions
4214 2003-05-28 John Levon <levon@movementarian.org>
4216 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4218 2003-05-28 André Pönitz <poenitz@gmx.net>
4220 * metricsinfo.[Ch]: remove 'fullredraw' member
4222 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
4224 * lyxtextclass.C (operator): remove caching.
4226 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4230 * text2.C (cursorBottom): adjust
4231 (setCounter): use ParagraphList::find, adjust
4233 * text.C (workWidth): use ParagraphList::find, adjust
4235 * lyxcursor.C (LyXCursor): adjust
4237 * buffer.C (inset_iterator): adjust
4239 * ParagraphList.h: make iterator(value_type) private, make
4240 ParagraphList a friend of iterator.
4242 * ParagraphList.C (find): new function
4244 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4246 2003-05-27 André Pönitz <poenitz@gmx.net>
4248 * dimension.[Ch]: a -> asc, d -> des, w -> wid
4250 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4252 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4254 2003-05-26 John Levon <levon@movementarian.org>
4256 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4258 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4260 * remove same_id from function signatures, adjust.
4262 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4264 * undo_funcs.C (createUndo): use the id functions directly, adjust.
4266 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4268 * paragraph.C (Paragraph): get rid of same_ids parameter
4270 * ParagraphList.C (insert): adjust
4273 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4275 * paragraph_funcs.C (breakParagraph): adjust
4276 (breakParagraphConservative): adjust
4278 * buffer.C (readParagraph): adjust
4280 * ParagraphList.C (insert): take a reference instead of a pointer
4283 * paragraph.[Ch] (id): new function
4285 * bufferlist.C (newFile): adjust
4287 * ParagraphList.C (ParagraphList): adjust
4289 (push_back): take a reference instead of a pointer.
4291 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4293 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4296 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4297 set else use old code.
4299 * ParagraphList.C: remove all NO_NEXT code and only compile this
4300 code of NO_STD_LIST is set.
4302 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4304 * BufferView_pimpl.C:
4314 * graphics/GraphicsConverter.C:
4315 * graphics/PreviewLoader.C: header adjustment
4317 2003-05-23 Angus Leeming <leeming@lyx.org>
4319 * LaTeXFeatures.[Ch] (useBabel): new method.
4320 * bufferparams.C (writeLaTeX): use it.
4322 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4324 * ParagraphList.h (set): remove unused function.
4326 2003-05-23 André Pönitz <poenitz@gmx.net>
4329 * BufferView_pimpl.C:
4333 * undo_funcs.C: setUndo reworked
4335 * iterators.[Ch]: add access to topmost ParagraphList
4337 * lyxtext.[Ch] (workWidth): add a const
4339 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4341 * texrow.[Ch] (increasePos): remove function
4342 * exporter.C (export): removed unused var and outdated comment
4344 2003-05-23 Angus Leeming <leeming@lyx.org>
4346 * latexrunparams.h: rename fragile as moving_arg.
4347 * paragraph.C (simpleTeXOnePar): ditto.
4348 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4350 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4352 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4354 (textUndoOrRedo): comment out a currently unused var.
4356 * paragraph.h (NO_NEXT): enable NO_NEXT
4358 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4360 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4362 * exporter.C (Export): adjust for removeAutoInsets removal.
4364 * buffer.C (runChktex): adjust for removeAutoInsets removal.
4366 * LyXAction.C (init): remove LFUN_REMOVEERRORS
4368 * BufferView.[Ch] (removeAutoInsets): delete function
4370 2003-05-22 Angus Leeming <leeming@lyx.org>
4372 * latexrunparams.h: add a free_spacing variable.
4374 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4375 to pass moving_arg, as the data is stored in runparams.fragile.
4377 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4378 to Inset::latexOptional or to simpleTeXOnePar.
4380 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4381 free_spacing arg to Inset::latexOptional.
4383 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4386 2003-05-22 Angus Leeming <leeming@lyx.org>
4388 * latexrunparams.h: add fragile and use_babel variables.
4390 * bufferparams.[Ch] (writeLaTeX): return use_babel.
4391 * buffer.C (makeLaTeXFile): store this returned value in
4392 runparams.use_babel, thus passing it to the inset::latex methods.
4394 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4395 simpleTeXSpecialChars as it is now stored in runparams.fragile.
4397 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4398 longer has a fragile arg, as it is stored in runparams.fragile.
4400 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4401 moving_arg parameter as the data is stored in runparams.fragile.
4403 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4404 a fragile parameter as the data is stored in runparams.fragile.
4406 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4408 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4410 2003-05-22 Angus Leeming <leeming@lyx.org>
4412 * latexrunparams.h: add a 'bool nice' which defaults to false.
4414 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4415 now encapsulated within runparams.
4417 * bufferlist.C (updateIncludedTeXfiles):
4418 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4420 2003-05-22 Angus Leeming <leeming@lyx.org>
4422 * latexrunparams.h: new file containing struct LatexRunParams.
4423 * Makefile.am: add new file.
4425 * LaTeX.[Ch] (c-tor, run):
4426 * buffer.[Ch] (makeLaTeXFile):
4427 * bufferlist.[Ch] (updateIncludedTeXfiles):
4428 * converter.C (convert, scanLog):
4429 * converter.[Ch] (runLaTeX):
4430 * exporter.C (Export):
4431 * paragraph.[Ch] (simpleTeXOnePar):
4432 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4433 * paragraph_funcs.[Ch] (latexParagraphs):
4434 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4435 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4436 pass around a LatexRunParams parameter.
4438 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4440 * paragraph.[Ch]: remove unused constructor
4442 * ParagraphList.C (erase): new function, taking two iterators
4444 2003-05-22 André Pönitz <poenitz@gmx.net>
4446 * undo_funcs.C: remove duplicated code
4448 * iterator.[Ch]: operator=
4450 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4452 * tabular.C (SetMultiColumn): ws changes
4454 * rowpainter.C (paintFirst): get rid of a ->previous
4456 * lyx_cb.C (getPossibleLabel): parlist simplification
4458 * BufferView.C (ChangeInsets): simplify slightly.
4460 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4462 * LyXAction.C: new lfun space-insert, kill protected-space-insert
4463 * lfuns.h: new LFUN_SPACE
4464 * lyxfunc.C: protected space has a new lfun
4465 * paragraph_funcs.C: read new space insets
4467 * factory.C: handle new space insets
4469 2003-05-22 André Pönitz <poenitz@gmx.net>
4472 * BufferView_pimpl.C:
4475 * undo_funcs.C: return a ParIterator from getParFromID.
4477 * iterators.[Ch]: add two const's
4479 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4481 * toc.C (getTocList): adjust
4483 * iterators.[Ch]: rework for parlist
4485 * buffer.C (par_iterator_begin): adjust
4486 (par_iterator_end): adjust
4488 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4490 * BufferView.C (removeAutoInsets): adjust
4491 (ChangeInsets): adjust
4493 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
4495 * text.C (top_y): fix bug 1110
4497 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
4499 * errorlist.[Ch]: added
4502 * BufferView_pimpl.C:
4503 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4506 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4508 * Makefile.am: ensure that lyx is relinked upon changes to the
4509 various "convenience" libs.
4511 2003-05-20 Angus Leeming <leeming@lyx.org>
4513 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4514 files are compiled in alphabetical order again.
4516 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4518 2003-05-19 Angus Leeming <leeming@lyx.org>
4520 * gettext.[Ch]: remove "char const * _(char const *)".
4522 2003-05-19 André Pönitz <poenitz@gmx.net>
4524 * dimension.[Ch]: promote from mathed/dimension.[Ch]
4533 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4535 2003-05-19 André Pönitz <poenitz@gmx.net>
4539 * lyxtextclass.[Ch]:
4541 * paragraph_funcs.[Ch]:
4543 * text3.C: more insetenv work
4545 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
4547 * ParagraphParameters.C (params2string): small bug fixed
4549 2003-05-16 André Pönitz <poenitz@gmx.net>
4552 * bufferview_funcs.C: patch from Kornel Benko to prevent
4553 crash when _(...) is called twice in a statement
4555 2003-05-16 André Pönitz <poenitz@gmx.net>
4562 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4564 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
4566 * lyx_main.C (init): remove spurious static_cast
4568 2003-05-14 André Pönitz <poenitz@gmx.net>
4570 * BufferView.C: fix format string
4572 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
4574 * BufferView.[Ch] (insertErrors): removed
4575 * BufferView.[Ch] (showErrorList): added
4576 * buffer.C (runChkTeX):
4577 * converter.C (scanLog): call showErrorList instead of inserterrors
4579 2003-05-13 André Pönitz <poenitz@gmx.net>
4581 * BufferView_pimpl.C:
4583 * bufferview_func.C:
4590 * tabular_funcs.h: tostr() from its own header
4592 * ParagraphParameters.C:
4597 * text3.C: STRCONV()
4599 2003-05-12 André Pönitz <poenitz@gmx.net>
4602 * BufferView_pimpl.C:
4606 * ParagraphParameters.C:
4610 * bufferview_funcs.C:
4623 * paragraph_funcs.C:
4627 * text3.C: boost::format -> bformat all over the place
4630 2003-05-09 André Pönitz <poenitz@gmx.net>
4632 * LColor.[Ch]: Pimpl the #include <map> away
4634 2003-05-09 John Levon <levon@movementarian.org>
4636 * bufferlist.C: never remove emergency saves
4638 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4640 * Makefile.am: better lib building
4642 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4644 * texrow.[Ch]: remove dependency on Paragraph and just store a id
4646 * paragraph_pimpl.C (simpleTeXBlanks): adjust
4647 (simpleTeXSpecialChars): adjust
4648 (simpleTeXSpecialChars): adjust
4649 * paragraph.C (simpleTeXOnePar): adjust
4650 * buffer.C (makeLaTeXFile): adjust
4652 * Makefile.am (BOOST_LIBS): allow boost as system lib.
4654 * text2.C (changeDepth): parlist cleanup
4655 (getColumnNearX): ditto
4657 * rowpainter.C (getLabelFont): parlist cleanup
4659 * bufferlist.C (newFile): parlist cleanup
4661 * CutAndPaste.C (eraseSelection): parlist cleanup
4663 * BufferView_pimpl.C (trackChanges): parlist cleanup
4666 * BufferView.C (lockInset): parlist cleanup.
4667 (ChangeInsets): ditto
4669 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4671 * CutAndPaste.h: Update file header.
4673 * CutAndPaste.C: Update file header.
4674 Store the parts cut out of the Document in a limited_stack.
4675 (copySelection): adjust
4676 (pasteSelection): new function, takes the index in the limited stack.
4677 (nrOfParagraphs): adjust
4678 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4679 simplify error inset insertion.
4680 (checkPastePossible): adjust
4682 2003-05-06 John Levon <levon@movementarian.org>
4684 * text2.C: don't cast wrap inset to float
4686 2003-05-05 André Pönitz <poenitz@gmx.net>
4689 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4691 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4692 few naked Paragraph *.
4694 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
4696 * bufferparams.C: Output warning if a document with missing
4697 TeX document class is loaded
4698 * exporter.C: Disable TeX exports if the document class is missing
4701 * lyxtextclasslist.C: Handle new textclass.lst format; new method
4702 isTeXClassAvailable()
4704 2003-05-03 John Levon <levon@movementarian.org>
4707 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4708 explicit cursor show/hide
4710 * BufferView_pimpl.h:
4711 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4712 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4714 * lyxfunc.C: hide cursor before dispatching.
4719 * text3.C: remove explicit cursor hides
4721 2003-05-02 André Pönitz <poenitz@gmx.net>
4723 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4726 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4729 * text2.C: tiny whitespace
4731 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4733 * undo_funcs.C: almost only ws changes.
4735 * ParagraphList.C (splice): just return if pl is empty.
4737 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4739 * ParagraphList.C (splice): new function.
4741 * CutAndPaste.C (pasteSelection): use it
4743 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4745 * CutAndPaste.C (pasteSelection): remove the last next and
4746 previous from this file.
4748 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4750 * CutAndPaste.C (pasteSelection): more clean up, user proper
4751 ParagraphList functions for pasteing.
4753 * ParagraphList.C (insert): new function, three arg insert
4755 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4757 * ParagraphList.C (insert): new function, three arg insert
4759 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4762 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4764 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4766 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4768 * CutAndPaste.C (pasteSelection): remove some unneeded code.
4770 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4772 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4773 (copySelection): clean up a bit.
4774 (pasteSelection): use make_pair
4776 * ParagraphList.C (ParagraphList): implement copy constructor
4777 (operator=): implement, base on copy constructor.
4780 * paragraph.C (erase): return a bool
4782 * paragraph_pimpl.C (erasePos): remove function, move contents...
4783 (erase): ... here. Return a bool.
4784 (erase): call erase instead of erasePos.
4786 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
4788 * ParagraphList.h: define PitPosPair
4789 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4790 ParagraphList, fix a bug on pasting multiple pars
4791 * text2.C: change interface to C&P
4793 2003-04-30 André Pönitz <poenitz@gmx.net>
4795 * undo_func.C: revert part of yesterday's patch 2
4797 2003-04-30 John Levon <levon@movementarian.org>
4799 * LColor.C: s/tabular/table/
4801 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4803 * text3.C (dispatch): do not convert iterator -> pointer
4804 * undo_funcs.C (setCursorParUndo): ditto
4805 * text_funcs.C (transposeChars): ditto
4807 * text2.C (setLayout): ws changes only
4809 * text.C (breakParagraph): do not convert iterator -> pointer
4811 (acceptChange): ditto
4812 (rejectChange): ditto
4817 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4820 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4822 * text3.C (gotoInset): YABG (yet another bad getChar)
4824 2003-04-29 André Pönitz <poenitz@gmx.net>
4826 * paragraph.h: make operator= private unimplemented as long as
4829 * ParagraphList.C: whitespace
4832 * paragraph_pimpl.[Ch]:
4833 * paragraph_funcs.C:
4835 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
4838 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4840 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4842 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4843 * paragraph.[Ch] (erase):
4844 * paragraph_pimpl.[Ch] (erase): change return type and value
4845 * text2.C (cutSelection): some rework
4847 2003-04-28 John Levon <levon@movementarian.org>
4849 * bufferlist.C: changes for unsaved changes dialog
4851 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4853 * bufferlist.C (newFile): set language (messages_) for new
4856 * buffer.C (readFile): ws changes only.
4858 2003-04-28 André Pönitz <poenitz@gmx.net>
4863 * BufferView_pimpl.C:
4864 * BufferView.C: getParFromID related ParagraphList::iterator changes
4866 2003-04-28 André Pönitz <poenitz@gmx.net>
4868 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4871 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4873 * messages.C: remove one more localedir class variable.
4875 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4877 * messages.C (getLocaleDir): singleton generation function
4879 (Messages): add a default constructor.
4881 * main.C (main): do not setup localedir here, do not call
4884 * gettext.C (_): use it.
4885 (gettext_init): delete funciton
4887 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4889 * gettext.C (getLyXMessages): new singleton generating function.
4891 * buffer.C (updateDocLang): adjust
4893 * Makefile.am (messages.o): add target
4894 (main.o): remove target
4896 2003-04-27 John Levon <levon@movementarian.org>
4901 * lyxvc.C: specify cancel button in Alert::prompt
4903 2003-04-26 John Levon <levon@movementarian.org>
4908 * LyXAction.C: add LFUN_INSET_SETTINGS
4910 * lyxfunc.C: don't enable tabular-feature when there's
4911 just any locking inset
4913 2003-04-26 John Levon <levon@movementarian.org>
4915 * bufferlist.C: re-add Cancel to buffer close question
4917 * lyxfunc.C: fix import UI a bit
4919 2003-04-25 John Levon <levon@movementarian.org>
4921 * gettext.C: remove the broken asserts for now
4923 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4925 * messages.C: make case where setlocale cannot comply work better.
4927 * buffer.C (updateDocLang): new function
4928 (changeLanguage): use it
4931 * text2.C (setCounter): use B_ a bit.
4933 * lyxlayout.C (Read): be sure to trim the label strings.
4935 * messages.C (Messages): fix typo in comment
4937 * buffer.C (readFile): set message_ after file is loaded.
4938 (makeDocBookFile): remove double return
4939 (changeLanguage): reset message_ upon language change.
4940 (B_): new func, use this to get translated buffer strings.
4942 * main.C: add myself and Jean Marc as authors.
4944 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4946 * messages.[hC]: pimplify Messages, and three different pimpls to be
4947 used in different circumstances.
4949 * gettext.[Ch]: change for use with new message code.
4951 2003-04-24 André Pönitz <poenitz@gmx.net>
4953 * factory.C: support for eqref
4955 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4957 * messages.[Ch]: add missing char
4959 * Makefile.am (lyx_SOURCES): add messages.[Ch]
4961 * messages.[Ch]: New files
4963 2003-04-18 John Levon <levon@movementarian.org>
4967 * BufferView_pimpl.C:
4971 * text2.C: remove layout-copy/paste (bug 778)
4973 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4975 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4977 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4979 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4980 if they succeed. Act accordingly.
4982 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4984 * text2.C (setCharFont): adjust
4985 (setCounter): adjust
4986 (insertStringAsLines): adjust
4988 * text.C (leftMargin): adjust
4989 (setHeightOfRow): adjust
4991 * rowpainter.C (paintFirst): adjust
4994 * paragraph_funcs.C (depthHook): ParagraphList::iterators
4996 (isFirstInSequence): ditto
4997 (getEndLabel): ditto
5000 * paragraph.C (getParLanguage): comment out some hard stuff.
5002 * buffer.C (insertStringAsLines): take a ParagraphList as arg
5004 (simpleDocBookOnePar): ditto
5005 (makeDocBookFile): use ParagraphList::iterator
5007 * CutAndPaste.C (pasteSelection): adjust
5009 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5011 * text2.C (getFont): adjust
5012 (getLayoutFont): adjust
5013 (getLabelFont): adjust
5015 * paragraph_funcs.C (TeXOnePar): adjust
5017 * buffer.C (simpleLinuxDocOnePar): adjust
5018 (simpleDocBookOnePar): adjust
5020 * CutAndPaste.C (pasteSelection): adjust
5022 * BufferView.C (getEncoding): adjust
5024 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5026 2003-04-16 John Levon <levon@movementarian.org>
5028 * lyxfind.C: use parlist stuff for search/changes
5030 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5032 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5034 * text2.C (deleteEmptyParagraphMechanism): adjust
5036 * text2.[Ch] (ownerParagraph): delete func (both of them
5038 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5040 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5042 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5044 * ParagraphList.C: prepare for NO_NEXT
5046 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5048 * text2.C (getFont): adjust
5049 (getLayoutFont): adjust
5050 (getLabelFont): adjust
5052 * paragraph.C (getFont): adjust
5053 (getLabelFont): adjust
5054 (getLayoutFont): adjust
5056 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5058 2003-04-15 John Levon <levon@movementarian.org>
5062 * lyx_main.C: handle Include in .ui files
5064 2003-04-15 John Levon <levon@movementarian.org>
5066 * MenuBackend.C: make the doc files length shorter
5069 * ToolbarBackend.C: handle toolbar placement flags,
5072 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5074 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5077 * paragraph_funcs.C (TeXOnePar): adjust
5079 * paragraph.C (getLabelFont): add outerfont arg, adjust
5080 (getLayoutFont): ditto
5081 (simpleTeXOnePar): adjust
5083 * paragraph_pimpl.C (realizeFont): delete func
5085 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
5087 * text2.C (beforeFullRowInset): added a bad getchar check, removed
5088 row argument, constify cur argument.
5090 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5092 * text2.C (getFont): adjust
5093 (getLayoutFont): adjust
5094 (getLabelFont): adjust
5096 * paragraph_funcs.C (TeXOnePar): adjust
5097 (outerFont): new func...
5098 (realizeFont): ...moved out from here, changed this to facilitate
5101 * paragraph.C (getFont): take outerfont as arg, adjust
5102 (simpleTeXOnePar): add outerfont arg, adjust
5104 * buffer.C (simpleLinuxDocOnePar): adjust
5105 (simpleDocBookOnePar): adjust
5107 * CutAndPaste.C (pasteSelection): adjust
5109 * BufferView.C (getEncoding): adjust
5111 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5113 * text2.C (setCharFont): adjust
5114 (setCounter): adjust
5116 * text.C (leftMargin): adjust
5117 (setHeightOfRow): adjust
5119 * rowpainter.C (paintFirst): adjust
5122 * paragraph_pimpl.C (realizeFont): adjust
5124 * paragraph.C (isFirstInSequence): move from here...
5125 * paragraph_funcs.C (isFirstInSequence): ...to here
5127 * paragraph.C (outerHook): move from here...
5128 * paragraph_funcs.C (outerHook): ...to here
5130 * paragraph.C (depthHook): move from here...
5131 * paragraph_funcs.C (depthHook): ...to here
5133 * paragraph.C (getEndLabel): move from here...
5134 * paragraph_funcs.C (getEndLabel): ...to here
5136 * text2.C (realizeFont): move from here...
5137 * paragraph_funcs.C (realizeFont): ...to here
5139 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5141 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5143 2003-04-14 Angus Leeming <leeming@lyx.org>
5145 * LColor.[Ch]: scrap LColor mathcursor.
5147 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5149 * lyxlex.[Ch] (text): delete function
5150 * trans.C (Load): adjust
5151 * paragraph_funcs.C (readParToken): adjust
5153 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5155 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5156 vector<char> instead of a char[].
5158 * lyxlex_pimpl.C (getString): adjust
5160 (lex): use getString
5164 * lyxlex.C (text): use pimpl_->getString()
5168 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5170 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5171 (makeFontEntriesLayoutSpecific): temp var for par.size()
5172 (setLayout): temp var for ownerParagraphs().end()
5173 (fullRebreak): temp var for rows().end()
5174 (selectionAsString): temp var for boost::next(startpit), realize
5175 that the while really is a regular for loop.
5176 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5177 setCursor in one place.
5178 (setParagraph): temp vr for ownerParagraphs().end()
5179 (updateCounters): make the while loop a for loop
5180 (cutSelection): temp var for ownerParagraphs().end()
5181 (updateInset): make the do {} while() a regular for loop
5182 (getCursorX): use temp vars
5183 (setCurrentFont): use temp vars
5184 (getColumnNearX): use temp vars
5186 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5188 * text.C (transformChar): use temp var for getChar
5189 (computeBidiTables): use temp var for row->par()
5190 (fill): move temp vars for row->par() and pit->layout() earlier in
5192 (labelFill): use temp var for row->par()
5193 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5194 asc and desc, realize that pit never changes and that firstpit is
5195 just a duplicate and not needed. Exchange rit->par() with pit in a
5197 (breakAgain): use a temp var for boost::next(rit)
5198 (breakAgainOneRow): ditto
5199 (breakParagraph): use a temp var for rows().begin()
5200 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5201 (cursorRightOneWord): use temp var for cursor.par() and
5202 cursor.pos(), remove usage of tmpcursor.
5203 (cursorLeftOneWord): use temp var for cursor.par() and
5204 cursor.pos() only set cur at end of function.
5206 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5208 * text.C, text2.C: exchange all usage of Paragraph::next with
5209 boost::next(ParagraphList::iterator)
5211 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5213 * text2.C (cursorTop): simplify implementation
5214 (cursorBottom): ditto
5215 (setParagraph): use ParagraphList::iterator
5216 (setCurrentFont): adjust
5217 (getColumnNearX): adjust
5218 (cursorRight): adjust
5219 (cursorLeft): remove usage of Paragraph::previous
5220 (cursorUpParagraph): ditto
5221 (deleteEmptyParagraphMechanism): slight cleanup
5223 * text.C (isBoundary): take a Paragraph const & instead of a
5225 (addressBreakPoint): ditto
5226 (leftMargin): remove usage of Paragraph::previous.
5227 (setHeightOfRow): ditto
5228 (cursorLeftOneWord): ditto
5229 (selectNextWordToSpellcheck): ditto
5232 (breakParagraph): remove one usage of Paragraph::next
5233 (redoParagraph): ditto
5234 (acceptChange): ditto
5235 (insertChar): adjust
5236 (rowBreakPoint): adjust
5238 * bufferview_funcs.C (toggleAndShow): adjust
5240 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
5242 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5243 methods to access it.
5245 * text.C: Added updateRowPositions to compute all row positions.
5246 Make top_y and getRowNearY() to use the cached y position
5248 2003-04-11 John Levon <levon@movementarian.org>
5250 * text.C (rowBreakPoint): reintroduce the labelEnd
5251 checks, code copied from the row fill stuff. Deep voodoo.
5253 * text.C (fill): add a comment and debugging for the
5256 2003-04-11 John Levon <levon@movementarian.org>
5258 * text.C: make sure fullrow insets get wrapped to the next line,
5259 even when they're in a manual label
5261 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5263 * text2.C (insertParagraph): make it take ParagraphList::iterator
5265 (setLayout): make it return ParagraphList::iterator
5266 (redoParagraphs): ditto
5268 (checkParagraph): ditto
5270 * text.C (getRow): make getrow take ParagraphList::iterator as arg
5272 * text2.C: adjust several funcs.
5273 (realizeFont): take a ParagraphList::iterator as arg.
5274 (getLayoutFont): ditto
5275 (getLabelFont): ditto
5276 (setCharFont): ditto
5278 * text.C: adjust several funcs.
5280 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5282 * text.C (selectNextWordToSpellcheck): don't accidentally
5285 2003-04-10 John Levon <levon@movementarian.org>
5287 * ToolbarBackend.C (getIcon): special handling for
5290 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5292 * text2.C (cursorRight): a getChar assert fixed
5294 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5296 * text2.C (getFont): change to take a ParagraphList::iterator
5297 instead of Paragraph*
5298 Adjust several functions.
5300 * text.C (transformChar): change to take a ParagraphList::iterator
5301 instead of Paragraph*
5302 (singleWidth): ditto
5303 Adjust several functions.
5305 * rowpainter.C: adjust several functions
5306 * rowpainter.h:store a ParagraphList::iterator and not a
5310 2003-04-09 John Levon <levon@movementarian.org>
5315 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5316 and the "help" bits as well
5318 2003-04-09 John Levon <levon@movementarian.org>
5321 * ToolbarBackend.C: allow multiple toolbars
5323 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5325 * undo_funcs.C (setCursorParUndo): adjust
5327 * text_funcs.C (transposeChars): adjust
5329 * text3.C (gotoNextInset): adjust
5332 * text2.C (setLayout): adjust
5333 (changeDepth): adjust
5335 (redoParagraphs): adjust
5336 (selectionAsString): adjust
5337 (setParagraph): adjust
5338 (insertInset): adjust
5339 (cutSelection): adjust
5340 (copySelection): adjust
5341 (pasteSelection): adjust
5342 (insertStringAsLines): adjust
5343 (updateInset): adjust
5344 (setCursor): change to take a ParagraphList::iterator parameter
5345 (setCursorIntern): change to take a ParagraphList::iterator parameter
5346 (setCurrentFont): adjust
5347 (cursorLeft): adjust
5348 (cursorRight): adjust
5349 (deleteEmptyParagraphMechanism): adjust
5351 * text.C (breakParagraph): adjust
5352 (insertChar): adjust
5353 (acceptChange): adjust
5354 (rejectChange): adjust
5355 (selectNextWordToSpellcheck): adjust
5356 (changeCase): adjust
5360 * lyxfind.C (SearchForward): adjust
5361 (SearchBackward): adjust
5362 (nextChange): adjust
5364 * lyxcursor.C (par): adjust
5366 * lyxcursor.h: store a ParagraphList::iterator instead of a
5369 * lyx_cb.C (getPossibleLabel): adjust
5371 * bufferview_funcs.C (toggleAndShow): adjust
5373 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5376 * BufferView.C (removeAutoInsets): adjust
5377 (lockedInsetStoreUndo): adjust
5379 2003-04-09 John Levon <levon@movementarian.org>
5381 * ToolbarBackend.C: try icon without argument
5382 if with argument fails
5384 2003-04-08 John Levon <levon@movementarian.org>
5387 * ToolbarBackend.C: add getIcon(), handle tooltip,
5388 and change from "Icon" to "Item".
5390 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5392 * BufferView.C (lockInset): another bad getchar crunched
5394 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5396 * text2.C (changeDepth): do not setUndo on test_only (make undo work
5399 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
5401 * lyxfind.C (searchForward, searchBackwards): bug 782
5403 2003-04-07 John Levon <levon@movementarian.org>
5405 * paragraph.C: remove dead comment
5407 * text.C: remove troublesome depth-fiddling code
5408 in leftMargin() and rightMargin() (bug 1017)
5410 * text.C: fix breaking of rows in nested lists
5413 * text2.C (updateCounters): fix up depth values
5416 2003-04-07 John Levon <levon@movementarian.org>
5418 * BufferView_pimpl.C: clear message when doc finishes resizing,
5419 and after a mouse event
5421 * lyxfunc.C: clear message after exiting inset
5423 2003-04-07 John Levon <levon@movementarian.org>
5425 * bufferview_funcs.C: show math status not outside
5426 status in the statusbar
5428 2003-04-07 John Levon <levon@movementarian.org>
5430 * lyxfunc.C: note status changed after a depth change
5432 2003-04-04 Angus Leeming <leeming@lyx.org>
5434 * LaTeX.h: move AuxInfo operator==, != out of line.
5435 Remove LaTeX virtual destructor; nothing derives from it.
5436 Move operator()() out of public area and rename it startscript().
5437 Change protected for private.
5439 2003-04-04 Angus Leeming <leeming@lyx.org>
5442 * text2.C: remove unneeded #includes.
5444 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5446 * text2.C (dEPM): fix the heigth of the next row
5448 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5450 * text.C: squashed an invalid getChar requester + some ws changes
5452 2003-04-03 John Levon <levon@movementarian.org>
5454 * bufferview_funcs.h:
5455 * bufferview_funcs.C:
5458 * text2.C: make getStatus work for the env depth lfuns
5460 2003-04-03 John Levon <levon@movementarian.org>
5462 * bufferview_funcs.h:
5463 * bufferview_funcs.C:
5466 * text2.C: parlistize decDepth(), by merging it with incDepth()
5468 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5470 * lyxrow.h: store a ParagraphList::iterator instead of a
5471 Paragraph* and adjust other class functions to suit.
5473 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5476 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5478 * text2.C (setCursor): do not anchor to cursor row for the time being
5480 2003-04-02 John Levon <levon@movementarian.org>
5487 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5489 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5491 * paragraph.h: make ParagraphList and ParagraphList::iterator
5492 friends of Paragraph.
5494 * buffer.C (makeLinuxDocFile): move towards ParagraphList
5496 * ParagraphList.C: Use the private next_ and previous_ from
5499 2003-04-01 John Levon <levon@movementarian.org>
5503 * Makefile.am: rename, remove defaults gunk
5506 * MenuBackend.C: remove defaults gunk
5509 * Languages.C: remove defaults gunk
5512 * lyx_main.C: error out if files couldn't be found.
5514 2003-04-02 John Levon <levon@movementarian.org>
5516 * text2.C: make incDepth() use parlist
5518 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5520 * undo_funcs.C (firstUndoParagraph): adjust
5522 * text3.C (gotoInset): adjust
5523 (dispatch): adjust, and rewrite loop.
5525 * text2.C (init): adjust, and rewrite loop.
5526 (redoParagraphs): adjust
5527 (updateInset): adjust, and rewrite loop.
5528 (deleteEmptyParagraphMechanism): adjust
5530 * tabular.C (LyXTabular): adjust
5531 (SetMultiColumn): adjust
5534 * lyxtext.[Ch] (ownerParagraph): delete function
5535 (ownerParagraphs): new function returns a ParagraphList.
5537 * BufferView.C (removeAutoInsets): adjust
5538 (insertErrors): adjust
5539 (setCursorFromRow): adjust
5541 2003-04-01 Angus Leeming <leeming@lyx.org>
5543 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5546 2003-04-02 John Levon <levon@movementarian.org>
5552 * text_funcs.C: make transposeChars a free function
5554 * lyxrow_funcs.C: remove wrong comment
5556 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5559 * rowpainter.C: adjust
5564 * lyxrow_funcs. [Ch]: new files
5566 * lyxrow.[Ch]: remove next and previous pointers
5567 (next,previous): remove accessor functions
5568 (isParEnd): move to lyxrow_funcs
5569 (lastPos): move to lyxrow_funcs
5570 (nextRowIsAllInset): move to lyxrow_funcs
5571 (lastPrintablePos): move to lyxrow_funcs
5572 (numberOfSeparators): move to lyxrow_funcs
5573 (numberOfHfills): move to lyxrow_funcs
5574 (numberOfLabelHfills): move to lyxrow_funcs
5575 (hfillExpansion): move to lyxrow_funcs
5579 * bufferview_funcs.C (toggleAndShow): adjust
5581 * RowList.h: Remove class RowList from file leave just a
5584 * RowList.C: delete file
5586 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5589 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5591 * text3.C (cursorPrevious): adjust
5592 (cursorNext): adjust
5595 * text2.C (redoHeightOfParagraph): adjust
5596 (redoDrawingOfParagraph): adjust
5599 * text.C (breakParagraph): adjust
5600 (insertChar): adjust
5603 * rowpainter.C (RowPainter): adjust
5604 (leftMargin): simplify and adjust
5605 (most rowpainter functions): adjust.
5607 * rowpainter.h: store the row as RowList::iterator not as Row*
5609 * lyxcursor.C (row): taka RowList::iterator as arg
5612 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5615 2003-04-01 Angus Leeming <leeming@lyx.org>
5617 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5618 stuff like bool Bool.
5620 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5622 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5625 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5627 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5630 * lyxtext.h (rows): drop one version and leve a const variant that
5631 returns a RowList::iterator.
5633 2003-03-31 Angus Leeming <leeming@lyx.org>
5635 * text.C (fill): ensure that the signature is the same as that in the
5638 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
5640 * text2.C (redoParagraphs): adjust
5641 (updateCounters): adjust
5642 (checkParagraph): adjust
5643 (getColumnNearX): adjust and reformat a bit.
5645 * text.C (top_y): adjust
5647 (leftMargin): adjust
5648 (prepareToPrint): adjust
5650 (getRowNearY): adjust
5652 * lyxtext.h: make rowlist_ mutable.
5654 * RowList.h: add const_iterator
5655 * RowList.C: adjust for RowList::const_iterator.
5657 * text2.C (getCursorX): make it take a RowList::iterator as arg,
5660 2003-03-31 John Levon <levon@movementarian.org>
5663 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5665 * lyx_main.C: set default fonts from using lyx_gui funcs
5667 * exporter.C: pdf_mode moved from lyxrc
5670 * lyxfunc.C: changes from above
5672 2003-03-31 John Levon <levon@movementarian.org>
5674 * lyx_main.C: fix to the last fix
5676 2003-03-31 John Levon <levon@movementarian.org>
5678 * bufferlist.C: "Load original" -> "Load Original"
5684 * format.C: more Alert cleanups
5686 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5688 * text2.C (removeParagraph): make it take a RowList::iterator as
5690 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5691 (postRowPaint): make it take a RowList::iterator as arg, adjust.
5693 * text.C (anchor_row): make it take a RowList::iterator as arg,
5695 (computeBidiTables): make it take a const reference to Row instead
5696 of Row pointer, adjust.
5697 (leftMargin): make it take a RowList::iterator as arg, adjust.
5698 (rowBreakPoint): adjust
5699 (breakAgainOneRow): make it take a RowList::iterator as arg,
5701 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5703 * bufferview_funcs.C (toggleAndShow): adjust
5705 2003-03-30 John Levon <levon@movementarian.org>
5709 * boost-inst.C: moved to support
5711 * several files: changes as a result
5713 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5715 * text2.C (LyXText): adjust.
5717 (removeRow): make it take a RowList::iterator as arg, adjust.
5718 (fullRebreak): adjust
5719 (deleteEmptyParagraphMechanism): adjust
5720 (clearPaint): adjust
5723 * text.C (top_y): adjust
5724 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5725 (breakAgain): make it take a RowList::iterator as arg, adjust.
5726 (breakParagraph): adjust
5727 (insertChar): adjust
5730 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5731 need_break_row, and refresh_row.
5733 * text3.C (dispatch): adjust
5735 * text2.C (checkParagraph): adjust
5737 (setCursorFromCoordinates): adjust
5739 * text.C (top_y): adjust
5741 (getRow): make it return a RowList::iterator, adjust
5742 (getRowNearY): make it return a RowList::iterator, adjust
5744 * text2.C (init): adjust
5745 (insertRow): remove function
5746 (insertParagraph): adjust
5747 (redoParagraphs): adjust
5748 (fullRebreak): adjust
5749 (updateCounters): adjust
5751 * text.C (top_y): rewrite to use RowList iterators.
5753 (setHeightOfRow): rewrite to sue RowList iterators.
5754 (appendParagraph): adjust
5755 (breakAgain): adjust
5756 (breakAgainOneRow): adjust
5757 (breakParagraph): adjust
5759 (getRowNearY): adjust, and remove commented code.
5761 * lyxtext.h (firstRow): delete function
5762 (lastRow): delete function
5763 (rows): new function (const and non-const versions.)
5764 (insertRow): delete function
5766 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5768 2003-03-29 John Levon <levon@movementarian.org>
5770 * BufferView_pimpl.C: always update scrollbar top
5771 because pasting text when we're anchored could mean we
5772 miss an update altogether
5774 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5776 * text2.C (init): use rowlist_.end() and not 0.
5777 (insertRow): change to take a RowList::iterator as arg, adjust
5779 (insertParagraph): change to take a RowList::iterator as arg,
5781 (redoParagraphs): remove some debug msgs.
5783 * text.C (appendParagraph): change to take a RowList::iterator
5784 arg, adjust for this.
5785 (breakAgain): add an assert
5786 (breakAgainOneRow): ditto
5788 2003-03-29 John Levon <levon@movementarian.org>
5790 * text2.C: do not clear selection after inc/decDepth
5793 2003-03-29 John Levon <levon@movementarian.org>
5796 * buffer.C: fix broken strerrors according to Lars
5798 2003-03-29 John Levon <levon@movementarian.org>
5800 * converters.C: more Alert cleanups
5802 2003-03-29 John Levon <levon@movementarian.org>
5804 * bufferview_funcs.C: remove pointless Alert
5806 * buffer.C: fix confusing error message when
5807 a template is chmoded 000
5809 2003-03-29 John Levon <levon@movementarian.org>
5813 * BufferView_pimpl.C: Alert fixes
5817 * tabular-old.C: remove unused table compat reading
5819 2003-03-29 John Levon <levon@movementarian.org>
5824 * lyx_cb.C: more Alert cleanups
5826 * lyxfunc.C: don't allow chktex if not latex document
5828 2003-03-29 John Levon <levon@movementarian.org>
5832 * buffer.C: warnings pushed down from support/,
5835 2003-03-29 John Levon <levon@movementarian.org>
5837 * lyxfunc.C: safety check for C-r (revert)
5839 2003-03-29 John Levon <levon@movementarian.org>
5842 * bufferlist.C: several UI fixes using Alert::prompt.
5843 Fix the pointless looping quit code. Fix stupid revert
5848 * lyx_cb.C: use Alert::prompt
5850 * lyx_main.C: remove a silly question
5852 * lyxfunc.C: remove a couple of silly questions,
5855 2003-03-28 John Levon <levon@movementarian.org>
5857 * text2.C: fix bug 974 (End on empty par)
5859 2003-03-28 John Levon <levon@movementarian.org>
5861 * BufferView_pimpl.C:
5863 * lfuns.h: remove do-nothing math greek lfuns
5865 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5867 * lyxgluelength.h (isValidGlueLength): add default arg on
5868 parameter 2. Remove default arg from friend in class.
5870 * lyxlength.h (isValidLength): add default arg on parameter 2.
5871 Remove default arg from friend in class.
5873 * text2.C (LyXText): adjust, initialize refresh_row.
5877 (insertParagraph): adjst
5878 (redoParagraphs): adjust
5879 (fullRebreak): adjust
5880 (updateCounters): adjust
5881 (deleteEmptyParagraphMechanism): first attempt at fixing a
5884 * text.C (top_y): adjust
5885 (setHeightOfRow): adjust
5887 (getRowNearY): adjust
5889 * lyxtext.h: include RowList.h
5890 (~LyXText): not needed anymore, deleted.
5891 (firstRow): modify for RowList
5892 (lastRow): new function
5893 Delete firstrow and lastrow class variables, add a Rowlist
5894 rowlist_ class variable.
5896 * lyxrow.C (lastPos): use empty() and not !size() to check if a
5899 * RowList.C (insert): fix case where it == begin().
5901 2003-03-26 Angus Leeming <leeming@lyx.org>
5903 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5904 the thesaurus dialog.
5906 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5908 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5910 * RowList.[Ch]: new files
5912 * ParagraphList.C (erase): handle the case where it == begin
5915 2003-03-25 John Levon <levon@movementarian.org>
5919 * aspell.C: add new aspell support
5922 * lyxrc.C: Make use_pspell be use_spell_lib. Always
5925 2003-03-25 Angus Leeming <leeming@lyx.org>
5928 * LyXAction.C (init): new LFUN_INSET_INSERT.
5930 * BufferView_pimpl.C (dispatch): split out part of the
5931 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5933 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5936 2003-03-25 Angus Leeming <leeming@lyx.org>
5938 * lyxfunc.C (dispatch): changes to the Dialogs interface.
5940 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
5943 * text3.C: remove useless row->height(0)
5945 2003-03-25 John Levon <levon@movementarian.org>
5949 * text3.C: rename the refreshing stuff to better names
5951 2003-03-24 John Levon <levon@movementarian.org>
5953 * BufferView_pimpl.h:
5954 * BufferView_pimpl.C: update layout choice on a mouse
5957 2003-03-23 John Levon <levon@movementarian.org>
5959 * Makefile.am: fix commandtags.h reference
5961 2003-03-22 John Levon <levon@movementarian.org>
5963 * BufferView_pimpl.C:
5968 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5970 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
5973 * text.C: take the rtl methods out of line
5975 2003-03-21 André Pönitz <poenitz@gmx.net>
5977 * metricsinfo.[Ch]: new files containing structures to be passed around
5978 during the two-phase-drawing...
5980 2003-03-21 André Pönitz <poenitz@gmx.net>
5982 * lyxtextclass.C: read 'environment' tag.
5984 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
5986 * text2.C (removeRow): fix bug 964
5988 2003-03-20 John Levon <levon@movementarian.org>
5992 * text2.C: paint cleanups. Inset::update() dropped font
5995 2003-03-19 John Levon <levon@movementarian.org>
5997 * lyxfunc.C: only fitcursor/markDirty if available()
5999 2003-03-19 John Levon <levon@movementarian.org>
6001 * commandtags.h: rename to ...
6003 * lfuns.h: ... this, and renumber / cleanup
6005 2003-03-19 John Levon <levon@movementarian.org>
6007 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6008 fit the cursor after an lfun
6012 * BufferView_pimpl.h:
6013 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6015 * LyXAction.C: layout-character should have ReadOnly
6017 * ParagraphParameters.C:
6019 * bufferview_funcs.C:
6026 * undo_funcs.C: changes from above
6028 2003-03-18 John Levon <levon@movementarian.org>
6030 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6031 remove it from update()
6033 * lyxfunc.C: update layout choice after an lfun
6035 * text3.C: remove extra updateLayoutChoice()s
6037 2003-03-18 John Levon <levon@movementarian.org>
6039 * text.C: top_y change means full repaint, fix
6040 a drawing bug with cursor movement
6042 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6046 * text2.C: anchor row on setCursor
6048 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6050 * lyxtext.h: remove almost all mutable keywords
6053 * text3.C: remove const keywords accordingly
6055 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6057 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6059 (TeXEnvironment): ditto
6062 2003-03-17 John Levon <levon@movementarian.org>
6064 * text.C (rowBreakPoint): remove attempt to fix displayed
6065 math insets inside a manual label
6067 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6069 * lyxtext.h: remove BufferView* as first arg from almost all class
6071 * other files: adjust.
6073 2003-03-17 John Levon <levon@movementarian.org>
6077 * text2.C: more paint cleanups
6079 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6082 * rowpainter.C: remove "smart" background painting code
6084 2003-03-16 John Levon <levon@movementarian.org>
6089 * text3.C: add helper functions for setting refresh_row/y
6091 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
6093 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6094 newline inset which *can* get inserted in the pass_thru layouts.
6095 This is primarily for literate documents.
6097 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
6099 * buffer.C: increment LYX_FORMAT to 223
6101 2003-03-14 André Pönitz <poenitz@gmx.net>
6103 * textclass.h: prepare for environment handling, ws changes
6104 * lyxlayout.C: read latexheader and latexfooter tags
6106 2003-03-14 John Levon <levon@movementarian.org>
6108 * text2.C: rewrite ::status() a bit
6110 2003-03-13 John Levon <levon@movementarian.org>
6112 * lyxtext.h: add some docs
6114 2003-03-13 John Levon <levon@movementarian.org>
6119 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6121 2003-03-13 John Levon <levon@movementarian.org>
6123 * text3.C: fix appendix redrawing
6125 2003-03-13 John Levon <levon@movementarian.org>
6127 * text.C (setHeightOfRow):
6129 * rowpainter.C: make appendix mark have the text
6130 "Appendix" so the user knows what it is
6133 * LColor.C: s/appendixline/appendix/ from above
6135 2003-03-13 John Levon <levon@movementarian.org>
6137 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6139 * text.C: fix a getChar(pos) bug properly
6141 2003-03-13 Angus Leeming <leeming@lyx.org>
6144 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6145 Probably only temporary. Let's see how things pan out.
6147 * BufferView.C (unlockInset):
6148 * BufferView_pimpl.C (fitCursor):
6149 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6151 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6152 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6154 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6155 new functions that convert ParagraphParameters to and from a string.
6157 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6158 BufferView::Pimpl's dispatch.
6159 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6161 2003-03-13 André Pönitz <poenitz@gmx.net>
6165 * factory.C: make it aware of InsetEnv
6167 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6169 * text2.C (setCursor): never ask for one past last
6170 (setCursor): add some debugging messages.
6172 * text.C (singleWidth): never ask for one past last
6173 (singleWidth): ditto
6175 (rightMargin): ditto
6176 (rowBreakPoint): ditto
6177 (setHeightOfRow): ditto
6178 (prepareToPrint): ditto
6180 * rowpainter.C (paintBackground): never ask for one past last
6181 (paintText): never ask for one past last
6183 * paragraph_pimpl.C (getChar): make the assert stricter, never
6184 allow the one past last pos to be taken
6186 * paragraph.C (getChar): ws changes only
6188 * lyxrow.C (nextRowIsAllInset): never ask for one past last
6189 (numberOfSeparators): ditto
6190 (numberOfHfills): ditto
6192 2003-03-12 John Levon <levon@movementarian.org>
6198 * paragraph_funcs.C: fix per-buffer authorlists
6200 2003-03-12 John Levon <levon@movementarian.org>
6202 * text.C: fix newline in right address
6204 2003-03-12 Angus Leeming <leeming@lyx.org>
6206 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6207 duplicate those in LyXFunc::dispatch.
6211 * ToolbarDefaults.C:
6212 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6213 Add LFUN_FONTFREE_UPDATE.
6215 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6216 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6218 * bufferview_func.[Ch]: several new functions to facilliate
6219 transfer of data to and from the character dialog.
6221 2003-03-12 John Levon <levon@movementarian.org>
6226 * paragraph_funcs.C:
6227 * paragraph_pimpl.C:
6231 * text3.C: remove META_NEWLINE in favour of an inset
6234 * rowpainter.C: remove paintNewline (done by inset)
6236 2003-03-12 John Levon <levon@movementarian.org>
6238 * paragraph_pimpl.C: complain about bad getChar()s
6239 for a while at least
6241 2003-03-12 John Levon <levon@movementarian.org>
6244 * buffer.C: move paragraph read into a separate function,
6245 a little renaming to reflect that.
6248 * bufferparams.C: remove the author_ids map, not necessary now
6251 * factory.C: moved Buffer::readInset to here
6253 * paragraph_funcs.h:
6254 * paragraph_funcs.C: readParagraph free function moved from
6257 * tabular.C: name change
6259 2003-03-12 John Levon <levon@movementarian.org>
6262 * ParagraphParameters.C: move par params input to
6265 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6266 behave like a normal read from the stream wrt reading
6267 a line vs. a \\token
6269 2003-03-12 John Levon <levon@movementarian.org>
6272 * ParagraphParameters.h:
6273 * ParagraphParameters.C: move output code to a
6276 2003-03-12 John Levon <levon@movementarian.org>
6278 * BufferView.C (insertLyXFile):
6281 * tabular.C: use a parlist iterator for creating the
6284 2003-03-12 John Levon <levon@movementarian.org>
6286 * buffer.C: make current_change static local not
6289 2003-03-12 John Levon <levon@movementarian.org>
6291 * buffer.C: fix insertStringAsLines for change tracking
6293 2003-03-12 John Levon <levon@movementarian.org>
6300 * bufferparams.C: move author list into params. Rename some
6301 functions. Move the header reading into a separate token
6302 loop. Move the header token reading into BufferParams.
6304 2003-03-12 John Levon <levon@movementarian.org>
6306 * changes.C: put debug inside lyxerr.debugging() checks
6308 2003-03-11 André Pönitz <poenitz@gmx.net>
6310 * factory.C: make it aware of InsetHFill
6312 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6314 * buffer.C (latexParagraphs): move function from here...
6315 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6318 2003-03-10 Angus Leeming <leeming@lyx.org>
6320 * LyXAction.C (init): fix bug in poplating array with multiple entries
6321 with the same LFUN (spotted by JMarc).
6323 2003-03-10 John Levon <levon@movementarian.org>
6326 * text2.C: move getColumnNearX() near its
6329 2003-03-10 John Levon <levon@movementarian.org>
6331 * text.C: fix break before a minipage
6333 2003-03-10 John Levon <levon@movementarian.org>
6335 * text.C: fix the last commit
6337 2003-03-09 John Levon <levon@movementarian.org>
6341 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6342 bug 365 (don't break before insets unless needed). Don't
6343 return a value > last under any circumstances.
6345 2003-03-09 Angus Leeming <leeming@lyx.org>
6347 * BufferView_pimpl.C (trackChanges, dispatch): call
6348 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6350 2003-03-09 Angus Leeming <leeming@lyx.org>
6352 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6353 than Dialogs::showAboutlyx().
6355 2003-03-09 Angus Leeming <leeming@lyx.org>
6357 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6358 than Dialogs::showTabularCreate().
6360 2003-03-09 John Levon <levon@movementarian.org>
6364 * text2.C: 3rd arg to nextBreakPoint was always the same.
6367 2003-03-08 John Levon <levon@movementarian.org>
6374 * text2.C: Remove the "main" bit from the "main body"
6377 2003-03-08 John Levon <levon@movementarian.org>
6379 * text.C (leftMargin): The left margin of an empty
6380 manual label paragraph should not include the label width
6383 * text.C (prepareToPrint): don't attempt to measure hfills
6384 for empty manual label paragraphs - the answer should be 0
6386 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6388 * CutAndPaste.C: remove commented code and reindent.
6390 2003-03-08 John Levon <levon@movementarian.org>
6393 * lyxfunc.C: move reloadBuffer()
6396 * BufferView.C: to here
6398 * lyxvc.C: add comment
6401 * vc-backend.C: call bv->reload() to avoid
6402 getStatus() check on MENURELOAD
6404 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
6406 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6407 to an old format .dep file.
6409 2003-03-07 Angus Leeming <leeming@lyx.org>
6411 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6412 when the LFUN_MOUSE_RELEASE should have been handled by
6413 inset->localDispatch.
6415 2003-03-07 Angus Leeming <leeming@lyx.org>
6417 * BufferView_pimpl.C (dispatch):
6418 * LyXAction.C (init):
6419 * ToolbarDefaults.C (init):
6421 * lyxfunc.C (getStatus):
6422 remove LFUN_INSET_GRAPHICS.
6424 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6426 2003-03-07 Angus Leeming <leeming@lyx.org>
6429 * LyXAction.C (init):
6430 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6432 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6435 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6437 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6438 localDispatch method LFUN_INSET_DIALOG_UPDATE.
6440 2003-03-07 Angus Leeming <leeming@lyx.org>
6442 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6445 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6447 * ParagraphList.C (front): new function
6450 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
6452 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6453 and top_row_offset_. removed var first_y.
6455 * text2.C (LyXText, removeRow):
6457 * BufferView_pimpl.C:
6458 use these methods instead of using first_y
6460 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6462 * text2.C (pasteSelection): adjust for checkPastePossible
6464 * CutAndPaste.C: remove Paragraph * buf and replace with
6465 ParagraphList paragraphs.
6466 (DeleteBuffer): delete
6467 (cutSelection): change the tc type to textclass_type
6468 (copySelection): change the tc type to textclass_type
6469 (copySelection): adjust for ParagraphList
6470 (pasteSelection): change the tc type to textclass_type
6471 (pasteSelection): adjust for Paragraphlist
6472 (nrOfParagraphs): simplify for ParagraphList
6473 (checkPastePossible): simplify for ParagraphList
6474 (checkPastePossible): remove unused arg
6476 * ParagraphList.C (insert): handle the case where there are no
6479 * CutAndPaste.h: make CutAndPaste a namespace.
6481 * text3.C (dispatch): adjust
6483 * text.C (breakParagraph): add a ParagraphList as arg
6485 * paragraph_funcs.C (breakParagraph): change to take a
6486 BufferParams and a ParagraphList as args.
6487 (breakParagraphConservative): ditto
6488 (mergeParagraph): ditto
6489 (TeXDeeper): add a ParagraphList arg
6490 (TeXEnvironment): ditto
6493 * buffer.C (readLyXformat2): adjust
6494 (insertStringAsLines): adjust
6495 (latexParagraphs): adjust
6497 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6498 (cutSelection): adjust
6499 (pasteSelection): adjust
6501 * BufferView_pimpl.C (insertInset): adjust
6503 2003-03-05 Angus Leeming <leeming@lyx.org>
6506 * LyXAction.C (init):
6507 * BufferView_pimpl.C (dispatch):
6508 * lyxfunc.C (getStatus):
6509 remove LFUN_CHILD_INSERT.
6511 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6513 2003-03-05 Angus Leeming <leeming@lyx.org>
6516 * LyXAction.C (init):
6517 * src/factory.C (createInset):
6518 * lyxfunc.C (getStatus):
6519 * text3.C (dispatch):
6520 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6522 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6524 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6526 * ParagraphList.C (insert): handle insert right before end()
6527 (erase): fix cases where it can be first or last paragraph.
6529 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6531 * paragraph_funcs.C (TeXEnvironment): remove all usage of
6532 Paragraph::next and Paragraph::previous
6535 * text.C (breakParagraph): adjust
6537 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6538 BufferParams& as arg.
6539 (breakParagraph): use ParagraphList::insert
6540 (breakParagraphConservative): take a Buffer* instead of a
6541 BufferParams& as arg.
6542 (breakParagraphConservative): use ParagraphList::insert.
6544 * buffer.C (insertStringAsLines): un-const it
6545 (insertStringAsLines): adjust
6547 * ParagraphList.C (insert): new function
6549 * CutAndPaste.C (pasteSelection): adjust
6551 * text.C (backspace): adjust
6553 * tabular.C (SetMultiColumn): adjust
6555 * CutAndPaste.C (cutSelection): adjust
6556 (pasteSelection): adjust
6558 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6559 Buffer const * as arg
6561 * ParagraphList.C (erase): new function
6562 * paragraph_funcs.C (mergeParagraph): use it
6563 (mergeParagraph): make it take a Buffer* instead of a
6564 BufferParams* as arg
6566 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6568 (breakParagraphConservative): ditto
6570 * paragraph.h: remove the breakParagraph friend
6572 * paragraph.C (eraseIntern): new function
6573 (setChange): new function
6575 * paragraph_funcs.C (mergeParagraph): make it take a
6576 ParagraphList::iterator instead of a Paragraph *, adjust
6579 * paragraph.h: move an #endif so that the change tracking stuff
6580 also works in the NO_NEXT case.
6582 2003-03-04 Angus Leeming <leeming@lyx.org>
6585 * LyXAction.C: new LFUN_INSET_MODIFY.
6587 * BufferView_pimpl.C (dispatch): if an inset is found to be open
6588 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6590 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6592 * several files: ws changes only
6594 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6595 (TeXEnvironment): ditto
6598 * buffer.C (makeLaTeXFile): adjust
6599 (latexParagraphs): make it take ParagraphList::iterator as args
6601 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6603 * buffer.C (latexParagraphs): adjust
6605 * paragraph.C (TeXOnePar): move function...
6606 (optArgInset): move function...
6607 (TeXEnvironment): move function...
6608 * paragraph_pimpl.C (TeXDeeper): move function...
6609 * paragraph_funcs.C: ...here
6611 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6613 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6615 * buffer.C (readInset): remove compability code for old Figure and
6618 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6620 * buffer.C: ws changes
6623 * BufferView_pimpl.C: ditto
6626 * bufferlist.h: ditto
6630 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
6632 * converter.[Ch]: split into itself +
6635 * Makefile.am: += graph.[Ch] + format.[Ch]
6642 * lyxrc.C: added #include "format.h"
6644 2003-02-27 Angus Leeming <leeming@lyx.org>
6646 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6649 * factory.C (createInset): add "label" to the factory.
6651 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6652 string and do no more.
6654 2003-02-27 Angus Leeming <leeming@lyx.org>
6657 * LyXAction.C (init):
6658 * factory.C (createInset):
6659 * BufferView_pimpl.C (dispatch):
6660 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6662 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6664 * lyxfunc.C (dispatch):
6665 * text3.C (dispatch): pass name to params2string.
6667 2003-02-26 Angus Leeming <leeming@lyx.org>
6669 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6671 Rearrange the ~includes. Strip out the unnecessary ones.
6673 * factory.C (createInset): reformat.
6674 create new insets for the various LFUN_XYZ_APPLY lfuns.
6676 2003-02-26 John Levon <levon@movementarian.org>
6679 * lyxrow.C: add isParStart,isParEnd helpers
6681 * paragraph.h: make isInserted/DeletedText take refs
6683 * paragraph_funcs.h:
6684 * paragraph_funcs.C: remove #if 0'd code
6689 * text.C: use lyxrow helpers above.
6690 Move draw and paint routines to RowPainter.
6691 Make several methods use refs not pointers.
6692 Make backgroundColor() const.
6693 Add markChangeInDraw(), isInInset().
6694 Merge changeRegionCase into changeCase.
6695 Make workWidth() shouldn't-happen code into an Assert.
6698 * rowpainter.C: new class for painting a row.
6701 * vspace.C: make inPixels take a ref
6703 2003-02-26 Angus Leeming <leeming@lyx.org>
6705 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6708 2003-02-25 John Levon <levon@movementarian.org>
6710 * ispell.C: give the forked command a more accurate name
6712 2003-02-22 John Levon <levon@movementarian.org>
6715 * toc.C: make TocItem store an id not a Paragraph *
6718 2003-02-21 Angus Leeming <leeming@lyx.org>
6720 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6721 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6722 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6723 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6724 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6725 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6727 * BufferView_pimpl.C (dispatch):
6728 * LyXAction.C (init):
6729 * factory.C (createInset):
6730 * lyxfunc.C (getStatus, dispatch):
6731 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6733 2003-02-21 Angus Leeming <leeming@lyx.org>
6735 * BufferView_pimpl.C (MenuInsertLyXFile):
6736 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6737 * lyxfunc.C (menuNew, open, doImport):
6738 no longer pass a LyXView & to fileDlg.
6740 2003-02-21 Angus Leeming <leeming@lyx.org>
6742 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6743 * LyXAction.C: change, BIBKEY to BIBITEM.
6744 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6745 Change InsetBibKey to InsetBibitem.
6746 Change BIBKEY_CODE to BIBITEM_CODE.
6747 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6748 * factory.C: replace insetbib.h with insetbibitem.h.
6749 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6750 * paragraph.C: replace insetbib.h with insetbibitem.h.
6751 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6752 Change bibkey() to bibitem().
6753 * text.C: remove insetbib.h.
6754 * text2.C: replace insetbib.h with insetbibitem.h.
6755 change bibkey() to bibitem().
6756 * text3.C: remove insetbib.h.
6757 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6759 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6761 * lyxrc.C (output): enclose user email in quotes (in case there are
6764 2003-02-18 John Levon <levon@movementarian.org>
6766 * buffer.h: add std::
6768 2003-02-17 John Levon <levon@movementarian.org>
6774 * pspell.C: reworking. Especially in ispell, a large
6775 number of clean ups and bug fixes.
6777 * lyxfunc.C: fix revert to behave sensibly
6779 2003-02-17 André Pönitz <poenitz@gmx.net>
6782 * commandtags.h: new LFUN_INSERT_BIBKEY
6792 * paragraph_func.C: remove special bibkey handling
6794 2003-02-17 John Levon <levon@movementarian.org>
6796 * text.C (Delete): fix case where delete at the end of
6797 the very first paragraph would not merge the pars
6799 2003-02-17 John Levon <levon@movementarian.org>
6801 * lyxrow.C: fix lastPrintablePos()
6803 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6805 * bufferparams.C (writeLaTeX): add a std:here
6807 * buffer.C: and remove a using directive there
6809 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6811 * buffer.C (makeLaTeXFile): move the code that generates the
6814 * bufferparams.C (writeLaTeX): ... in this new method
6816 * LaTeXFeatures.C (getEncodingSet): make const
6817 (getLanguages): make const
6819 * MenuBackend.C (binding): returns the binding associated to this
6821 (add): sets the status of each item by calling getStatus. Adds
6823 (read): add support for OptSubMenu
6824 (expand): remove extra separator at the end of expanded menu
6826 2003-02-15 John Levon <levon@movementarian.org>
6829 * BufferView_pimpl.C:
6831 * bufferlist.C: remove pointless BufferStorage bloat. Remove
6832 inset code that had no actual effect. Remove unneeded status
6835 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6837 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6840 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
6842 * text.C (drawLengthMarker): also draw an arrow marker for
6843 symbolic lengths (medskip...)
6845 2003-02-14 John Levon <levon@movementarian.org>
6848 * tabular.C: better method names
6850 2003-02-14 John Levon <levon@movementarian.org>
6852 * BufferView_pimpl.C:
6857 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6858 it's a more accurate name. Remove some pointless uses.
6860 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6862 * text2.C (LyXText): change order of initilizers to shut off
6865 2003-02-14 John Levon <levon@movementarian.org>
6867 * buffer.C: use ParIterator for getParFromID()
6871 * paragraph_pimpl.h:
6872 * paragraph_pimpl.C: remove unused getParFromID()
6874 2003-02-14 John Levon <levon@movementarian.org>
6876 * buffer.C: remove some very old #if 0'd parse code
6878 2003-02-13 John Levon <levon@movementarian.org>
6882 * text2.C: move hfillExpansion(), numberOfSeparators(),
6883 rowLast(), rowLastPrintable(), numberofHfills(),
6884 numberOfLabelHfills() ...
6887 * lyxrow.C: ... to member functions here.
6892 * text.C: remove LyXText::beginningOfMainBody(), and call
6893 p->beginningOfMainBody() directly. Move the check for
6894 LABEL_MANUAL into the latter.
6901 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6907 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6908 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6910 2003-02-13 John Levon <levon@movementarian.org>
6912 * CutAndPaste.C: remove debug
6914 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6916 * paragraph.C (asString): remove two unused variables
6918 * lyxtextclass.C (readTitleType):
6920 (LyXTextClass): handle new members titletype_ and titlename_
6922 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6924 2003-02-09 John Levon <levon@movementarian.org>
6927 * buffer.C: replace hand-coded list with a map for the dep clean
6929 2003-02-08 John Levon <levon@movementarian.org>
6931 * LaTeX.C: consolidate code into showRunMessage() helper
6933 2003-02-08 John Levon <levon@movementarian.org>
6938 * BufferView.C: change setSelectionOverString() to setSelectionRange()
6939 and pass the size in explicitly
6941 * BufferView_pimpl.h:
6942 * BufferView_pimpl.C:
6944 * BufferView.C: add getCurrentChange()
6946 * BufferView_pimpl.h:
6947 * BufferView_pimpl.C: handle change lfuns
6949 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6950 for changes. Mark pasted paragraphs as new.
6952 * support/lyxtime.h:
6953 * support/lyxtime.C:
6954 * DepTable.C: abstract time_t as lyx::time_type
6957 * LColor.C: add colours for new text, deleted text, changebars
6959 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6960 package use "usenames" option.
6964 * LyXAction.C: add change lfuns
6968 * author.C: author handling
6971 * buffer.C: add a per-buffer author list, with first entry as
6972 current author. Handle new .lyx tokens for change tracking. Output
6973 author list to .lyx file. Output dvipost stuff to .tex preamble.
6974 Bump lyx format to 222.
6977 * bufferlist.C: add setCurrentAuthor() to reset current author details
6981 * bufferparams.C: add param for tracking
6983 * bufferview_funcs.C: output change info in minibuffer
6987 * changes.C: add change-tracking structure
6990 * debug.C: add CHANGES debug flag
6993 * lyxfind.C: add code for finding the next change piece
6996 * lyxrc.C: add user_name and user_email
6999 * lyxrow.C: add a metric for the top of the text line
7002 * text.C: implement accept/rejectChange()
7005 * text.C: paint changebars. Paint new/deleted text in the chosen
7006 colours. Strike through deleted text.
7010 * paragraph_pimpl.h:
7011 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7012 in the current change to the insert functions. Rework erase to
7013 mark text as deleted, adding an eraseIntern() and a range-based
7014 erase(). Implement per-paragraph change lookup and
7017 * paragraph_funcs.C: Fixup paste for change tracking.
7019 * tabular.C: mark added row/columns as new.
7021 * text.C: fix rowLast() to never return -1. Don't allow
7022 spellchecking of deleted text. Track transpose changes. Don't
7023 allow paragraph break or merge where appropriate.
7025 * text2.C: leave cursor at end of selection after a cut.
7027 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7029 * text.C (getLengthMarkerHeight):
7030 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7031 visible on screen too.
7033 2003-02-07 John Levon <levon@movementarian.org>
7035 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7037 2003-02-05 Angus Leeming <leeming@lyx.org>
7039 * lyxserver.C (read_ready): revert my patch of 11 September last year
7040 as it sends PC cpu through the roof. Presumably this means that
7041 the lyxserver will no longer run on an Alpha...
7043 2003-01-30 Angus Leeming <leeming@lyx.org>
7045 * factory.C (createInset): create an InsetCommandParam of type "index"
7046 and use it to 'do the right thing'.
7048 * text2.C (getStringToIndex): ensure that cursor position is always
7049 reset to the reset_cursor position.
7051 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7053 * lyxfunc.C (getStatus): "buffer-export custom" should never be
7056 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
7060 * lyxfunc.C: Output messages with identical spelling, punctuation,
7063 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
7065 * MenuBackend.C (expandFormats): List only viewable export formats
7068 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7071 * lyxfunc.C (getStatus): Make sure that formats other than
7072 "fax" can also be disabled
7074 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7076 * text3.C (dispatch): put the lfuns that insert insets in 3
7077 groups, and call doInsertInset with appropriate arguments.
7078 (doInsertInset): new function, that creates an inset and inserts
7079 it according to some boolean parameters.
7081 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7083 * buffer.C (readFile): remember to pass on 'par' when calling
7084 readFile recursively.
7086 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7088 * MenuBackend.C (expandFormats): add "..." to import formats.
7090 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
7092 * paragraph.C (asString): Remove XForms RTL hacks.
7094 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
7095 * buffer.C: fix typo
7097 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7099 * Makefile.am (LIBS): delete var
7100 (lyx_LDADD): add @LIBS@ here instead.
7102 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
7104 * Clarify the meaning of "wheel mouse jump"
7106 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7108 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7111 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7113 * importer.C (Loaders): do not preallocate 3 elements in the
7114 vector, since one ends up with 6 elements otherwise
7116 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7118 * DepTable.C (write): write the file name as last element of the
7119 .dep file (because it may contain spaces)
7120 (read): read info in the right order
7122 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7124 * paragraph_pimpl.C (simpleTeXBlanks):
7125 (simpleTeXSpecialChars):
7126 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7128 * tabular.C (latex): add some missing case statements. Reindent.
7130 * MenuBackend.C (expandToc): remove unused variable.
7132 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
7141 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7144 2003-01-05 John Levon <levon@movementarian.org>
7147 * BufferView.C: add getEncoding()
7150 * kbsequence.C: do not store last keypress
7153 * lyxfunc.C: store last keypress here instead. Pass encoding
7156 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7158 * lyx_main.C (init): remove annoying error message when following
7159 symbolic links (bug #780)
7161 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7163 * text.C (insertChar):
7164 * lyxrc.C (getDescription): remove extra spaces
7166 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7168 * lyxrc.C (getDescription): remove extra spaces
7170 2002-12-20 John Levon <levon@movementarian.org>
7172 * text3.C: hack fix for page up/down across tall rows
7174 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7176 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7179 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7181 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7182 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7183 thesaurus is not compiled in
7185 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
7187 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
7189 2002-12-16 Angus Leeming <leeming@lyx.org>
7192 * lyx_main.C (init): remove override_x_deadkeys stuff.
7194 2002-12-12 John Levon <levon@movementarian.org>
7196 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7197 insert. Only remove shift modifier under strict
7200 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7202 * MenuBackend.C (expandToc): fix crash.
7204 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7206 * MenuBackend.C (expandToc): gettext on float names.
7208 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7210 * lyxlength.[Ch]: set default unit to UNIT_NONE,
7211 implement bool empty() [bug 490]
7213 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7215 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7217 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7219 * several files: ws changes
7221 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7223 * text2.C (setCounter): clean up a bit, use boost.format.
7224 (updateCounters): initialize par upon declaration.
7226 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7227 if the layout exists. We do not just store the layout any more.
7228 (SwitchLayoutsBetweenClasses): use boost.format
7230 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7232 * converter.C (convert): if from and to files are the same, use a
7233 temporary files as intermediary
7235 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7238 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7240 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
7242 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7244 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7246 * tabular.C (asciiPrintCell): use string(size, char) instead of
7249 * sgml.C (openTag): fix order of arguments to string constructor
7252 * lyxfunc.C (dispatch): use boost.format
7254 * lots of files: change "c" -> 'c'
7256 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
7258 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7260 2002-11-25 Angus Leeming <leeming@lyx.org>
7262 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7264 * lyx_main.C (init): compile fix.
7266 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7268 * lyx_cb.C (start): boost.formatify
7269 do not include <iostream>
7271 * lengthcommon.C: ws only
7273 * boost-inst.C,BoostFormat.h: add more explict instantations
7275 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7277 * lots of files: handle USE_BOOST_FORMAT
7279 2002-11-21 John Levon <levon@movementarian.org>
7281 * pspell.C: fix compile
7283 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7285 * lyxfunc.C (dispatch): use boost::format
7289 * lyxfont.C (stateText): use boost::format
7291 * lyx_main.C (LyX): use boost::format
7293 (queryUserLyXDir): ditto
7296 (typedef boost::function): use the recommened syntax.
7298 * importer.C (Import): use boost::format
7300 * debug.C (showLevel): use boost::format
7302 * converter.C (view): use boost::format
7307 * bufferview_funcs.C (currentState): use boost::format
7309 * bufferlist.C (emergencyWrite): use boost::format
7311 * buffer.C (readLyXformat2): use boost::format
7312 (parseSingleLyXformat2Token): ditto
7314 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7316 * LaTeX.C (run): use boost::format
7318 * Chktex.C (scanLogFile): use boost::format
7320 * BufferView_pimpl.C (savePosition): use boost::format
7321 (restorePosition): ditto
7322 (MenuInsertLyXFile): ditto
7324 * BoostFormat.h: help file for explicit instation.
7326 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
7328 * tabular.C (latex): Support for block alignment in fixed width
7331 2002-11-17 John Levon <levon@movementarian.org>
7333 * BufferView_pimpl.C:
7335 * lyxfunc.C: split filedialog into open/save
7337 2002-11-08 Juergen Vigna <jug@sad.it>
7339 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7340 by my last patch (hopefully).
7342 2002-11-08 John Levon <levon@movementarian.org>
7351 * toc.C: ParConstIterator, and use it (from Lars)
7353 2002-11-07 Ben Stanley <bds02@uow.edu.au>
7355 * lyxtextclass.[Ch]: revise and add doxygen comments
7357 2002-11-07 John Levon <levon@movementarian.org>
7359 * text.C: fix progress value for spellchecker
7361 * toc.C: fix navigate menu for insetwrap inside minipage
7363 * paragraph_funcs.C: added FIXME for suspect code
7365 2002-11-07 John Levon <levon@movementarian.org>
7367 * BufferView_pimpl.C: fix redrawing of insets
7370 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7372 * text2.C (updateCounters): fix bug 668
7374 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
7376 * text3.C (dispatch): Do not make the buffer dirty when moving the
7379 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7381 * vc-backend.C: STRCONV
7384 * text2.C (setCounter): STRCONV
7386 * paragraph.C (asString): STRCONV
7388 * lyxlength.C (asString): STRCONV
7389 (asLatexString): ditto
7391 * lyxgluelength.C (asString): STRCONV
7392 (asLatexString): ditto
7394 * lyxfunc.C (dispatch): STRCONV
7397 * lyxfont.C (stateText): STRCONV
7399 * importer.C (Import): STRCONV
7401 * counters.C (labelItem): STRCONV
7402 (numberLabel): ditto
7403 (numberLabel): remove unused ostringstream o
7408 * bufferview_funcs.C (currentState): STRCONV
7410 * buffer.C (readFile): STRCONV
7411 (asciiParagraph): ditto
7412 (makeLaTeXFile): ditto
7414 * Spacing.C (writeEnvirBegin): STRCONV
7416 * LaTeXFeatures.C (getLanguages): STRCONV
7417 (getPackages): ditto
7419 (getBabelOptions): ditto
7420 (getTClassPreamble): ditto
7421 (getLyXSGMLEntities): ditto
7422 (getIncludedFiles): ditto
7426 (scanAuxFile): ditto
7429 * LString.h: add the STRCONV macros
7431 * BufferView_pimpl.C (savePosition): STRCONV
7432 (restorePosition): ditto
7433 (MenuInsertLyXFile): ditto
7435 * vc-backend.C (scanMaster): change from submatch[...] to
7438 * funcrequest.C: include config.h
7440 * factory.C: include config.h
7442 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7444 * box.C: include config.h
7446 * LaTeX.C (scanAuxFile): change from submatch[...] to
7450 2002-10-25 Angus Leeming <leeming@lyx.org>
7452 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7454 * ispell.[Ch] (setError): new method.
7455 * ispell.C (c-tor): move out child process into new class LaunchIspell.
7456 Use setError() insetead of goto END.
7458 * lyx_cb.C (AutoSave): move out child process into new class
7461 2002-10-30 John Levon <levon@movementarian.org>
7463 * text3.C: make start appendix undoable
7465 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
7467 * lyxlength.C (inPixels): Fix returned value.
7469 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7472 2002-10-24 Angus Leeming <leeming@lyx.org>
7474 * lyxgluelength.h: no need to forward declare BufferParams
7475 or BufferView, so don't.
7477 2002-10-21 John Levon <levon@movementarian.org>
7479 * BufferView.C: menuUndo ->undo, redo
7481 * BufferView.h: document, remove dead, make some methods private
7483 * paragraph_funcs.h:
7484 * paragraph_funcs.C:
7485 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7490 * sgml.C: move sgml open/close tag into sgml.C
7492 * bufferview_funcs.h: unused prototype
7495 * lyxfunc.C: remove unused
7498 * text.C: remove unused
7500 2002-10-21 John Levon <levon@movementarian.org>
7504 * BufferView_pimpl.h:
7505 * BufferView_pimpl.C: fix mouse wheel handling based on
7506 patch from Darren Freeman
7508 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
7510 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7512 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
7514 * lyxlength.C (inPixels): Fix hanfling of negative length.
7515 Fix LyXLength::MU case.
7517 2002-10-16 John Levon <levon@movementarian.org>
7519 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7521 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7523 * converter.C (view): add support for $$i (file name) and $$p
7524 (file path) for the viewer command. If $$i is not specified, then
7525 it is appended to the command (for compatibility with old syntax)
7527 2002-10-14 Juergen Vigna <jug@sad.it>
7529 * undo_funcs.C (textHandleUndo): alter the order in which the
7530 new undopar is added to the LyXText, as we have to set first
7531 the right prev/next and then add it as otherwise the rebuild of
7532 LyXText is not correct. Also reset the cursor to the right paragraph,
7533 with this IMO we could remove the hack in "redoParagraphs()".
7535 2002-10-09 Angus Leeming <leeming@lyx.org>
7537 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7538 to turn off an optimisation if a new inset is to be inserted.
7540 2002-10-11 André Pönitz <poenitz@gmx.net>
7542 * lyxtext.h: make some functions public to allow access
7543 from inset/lyxtext for handling LFUN_PRIOR/NEXT
7545 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7547 * text3.C (dispatch): when changing layout, avoid an infinite loop
7550 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7552 * lyxrc.C (read): treat a viewer or converter command of "none" as
7555 * MenuBackend.C (expandFormats): for an update, also allow the
7556 formats that are not viewable
7558 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7559 script if it is newer than the lyxrc.defaults in user directory
7561 2002-10-07 André Pönitz <poenitz@gmx.net>
7563 * text.C: Vitaly Lipatov's small i18n fix
7565 2002-09-25 Angus Leeming <leeming@lyx.org>
7567 * ispell.h: doxygen fix.
7569 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
7571 * buffer.h (readFile): Add a new argument to the method, to allow
7572 reading of old-format templates.
7574 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
7576 * toc.C (getTocList): Get TOC from InsetWrap.
7578 2002-09-16 John Levon <levon@movementarian.org>
7580 * lyxfunc.C: check tabular for cut/copy too
7582 2002-09-12 John Levon <levon@movementarian.org>
7587 * factory.C: add header
7589 * paragraph_funcs.h:
7590 * paragraph_funcs.C: cleanup
7592 2002-09-11 John Levon <levon@movementarian.org>
7594 * PrinterParams.h: odd/even default to true
7596 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
7598 * PrinterParams.h: update printer parameters for new xforms dialog
7600 2002-09-11 Angus Leeming <leeming@lyx.org>
7602 * lyxserver.C (read_ready): re-write to make it more transparent
7603 and to make it work in coherent fashion under Tru64 Unix.
7605 2002-09-11 André Pönitz <poenitz@gmx.net>
7609 * text3.C: implement LFUN_WORDSEL
7611 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7613 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7614 make floatlist_ a boost::shared_ptr<FloatList>
7616 * lyxtextclass.C: include FloatList.h
7617 (LyXTextClass): initialize floatlist_
7618 (TextClassTags): add TC_NOFLOAT
7619 (Read): match "nofloat" to TC_NOFLOAT and use it.
7620 (readFloat): modify call to floatlist_
7624 * FloatList.[Ch] (FloatList): remove commented out float
7626 (erase): new function
7628 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7630 * MenuBackend.C (expandToc): fix crash when there is no document
7633 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
7635 * many files: Add insetwrap.
7637 2002-09-09 John Levon <levon@movementarian.org>
7639 * text2.C: remove confusing and awkward depth wraparound
7641 2002-09-09 John Levon <levon@movementarian.org>
7643 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7646 * buffer.C: remove getIncludeonlyList()
7649 * lyxfunc.C: remove headers
7651 2002-09-09 Juergen Vigna <jug@sad.it>
7653 * text.C (getColumnNearX): fix form Michael this is most
7654 probably a cut&paste bug.
7656 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7658 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7660 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7661 references, ws changes.
7663 * text2.C (init): update counters after init
7664 (insertParagraph): no need to set counter on idividual paragraphs.
7665 (setCounter): access the counters object in the textclass object
7666 on in the buffer object.
7667 (updateCounters): ditto
7669 * lyxtextclass.C: include counters.h, add variable ctrs_ as
7670 shared_ptr<Counters> to avoid loading counters.h in all
7672 (LyXTextClass): initialize ctrs_
7673 (TextClassTags): add TC_COUNTER, and ...
7674 (Read): use it here.
7675 (CounterTags): new tags
7676 (readCounter): new function
7677 (counters): new funtion
7678 (defaultLayoutName): return a const reference
7680 * counters.C (Counters): remove contructor
7681 (newCounter): remove a couple of unneeded statements.
7682 (newCounter): simplify a bit.
7683 (numberLabel): some small formatting changes.
7685 * buffer.[Ch]: remove all traces of counters, move the Counters
7686 object to the LyXTextClass.
7688 2002-09-06 Alain Castera <castera@in2p3.fr>
7690 * tabular.C: uses \tabularnewline; uses >{...} construct from array
7691 package to set the horizontal alignment on fixed width columns.
7694 * lyx_sty.h: added tabularnewline macro def.
7696 * LaTeXFeatures.C: added NeedTabularnewline macro feature
7698 2002-09-06 John Levon <levon@movementarian.org>
7700 * LyXAction.C: tooltips for sub/superscript
7702 * MenuBackend.C: a bit more verbose
7704 * lyxfunc.C: tiny clean
7706 * undo_funcs.C: document undo_frozen
7708 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7710 * counters.C (Counters): add missing algorithm counter.
7712 * text2.C (setCounter): lookup the counter with layouts latexname
7713 instead of by section number.
7714 (setCounter): use a hackish way to lookup the correct enum
7716 a float name->type change
7717 reset enum couners with counter name directly instead of depth value.
7719 * counters.C (Counters): remove the push_backs, change to use the
7720 float type not the float name.
7721 (labelItem): remove unused string, float name->type change
7723 * counters.h: don't include vector, loose the enums and sects vectors
7725 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7727 * lyxtextclass.C (TextClassTags): add TC_FLOAT
7728 (Read): add float->TC_FLOAT to textclassTags
7729 (Read): and handle it in the switch
7730 (readFloat): new function
7732 * FloatList.C (FloatList): comment out the hardcoded float
7735 * lyxlayout.h: ws change.
7737 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
7739 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7741 2002-09-03 Angus Leeming <leeming@lyx.org>
7743 * BufferView_pimpl.h: qualified name is not allowed in member
7744 declaration: WorkArea & Pimpl::workarea() const;
7746 * factory.C: added using std::endl directive.
7748 * text3.C: added using std::find and std::vector directives.
7750 2002-08-29 André Pönitz <poenitz@gmx.net>
7753 * text2.C: remove unused member number_of_rows
7756 * BufferView2.C: remove file, move contents to...
7757 * BufferView.C: ... here
7759 * BufferView_pimpl.C:
7760 * factory.C: move more inset creation to factory
7762 * vspace.C: avoid direct usage of LyXText, ws changes
7765 don't provide direct access to WorkArea, use two simple
7766 acessors haveSelction() and workHeight() instead
7769 2002-08-29 John Levon <levon@movementarian.org>
7771 * BufferView_pimpl.C (dispatch): do not continue when
7774 2002-08-28 André Pönitz <poenitz@gmx.net>
7776 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7779 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7781 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
7783 * buffer.C: increment LYX_FORMAT to 221
7785 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7786 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7788 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7790 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7792 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7794 * factory.C (createInset): use LyXTextClass::floats
7796 * MenuBackend.C (expandFloatListInsert):
7797 (expandFloatInsert):
7800 * text2.C (setCounter):
7802 * LaTeXFeatures.C (useFloat):
7803 (getFloatDefinitions):
7805 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7807 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7808 floatlist_, with accessor floats().
7810 * FloatList.h: remove global FloatList
7812 2002-08-26 André Pönitz <poenitz@gmx.net>
7814 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7818 * BufferView_pimpl.C:
7819 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7821 2002-08-25 John Levon <levon@movementarian.org>
7823 * LyXAction.C: fix margin note description
7825 2002-08-24 John Levon <levon@movementarian.org>
7829 * bufferview_funcs.C:
7831 * undo_funcs.C: cleanups
7833 * lyxfunc.C: disable CUT/COPY when no selection
7835 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
7837 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7838 in "enum UNIT"; e.g. PTW for Percent of TextWidth
7840 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7841 Add backward compatibility to "mono", "gray" and "no".
7843 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
7845 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7846 (and file_format >= 200).
7848 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7850 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7852 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7854 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7856 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
7858 * BufferView_pimpl.C:
7865 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7866 inset and code to make it work with the paragraph code. The inset
7867 can be anywhere in the paragraph, but will only do the expected
7868 thing in LaTeX if the layout file contains the parameter line
7870 (or more generally, a nonzero value) for that layout.
7872 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7874 * paragraph.h: remove the declaration of undefined counters class
7877 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
7879 * text2.C (setCounter): fixed enumeration mis-count as reported by
7880 Dr. Richard Hawkins.
7882 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7884 * paragraph_funcs.h: remove some unneeded includes
7886 * text.C (backspace): pasteParagraph now in global scipe
7888 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7889 (pasteSelection): ditto
7891 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7892 * paragraph_funcs.C (pasteParagraph): ... here
7894 2002-08-20 André Pönitz <poenitz@gmx.net>
7896 * commandtags.h: new LFUNs for swapping/copying table row/colums
7899 * lyxfunc.C: support for new lfuns
7901 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7904 * buffer.[Ch]: remove NO_COMPABILITY stuff
7906 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
7908 * boost.C (throw_exception): new file, with helper function for
7909 boost compiled without exceptions.
7914 * ParameterStruct.h:
7915 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7917 * bufferlist.C (emergencyWriteAll): use boost bind
7919 * BufferView_pimpl.C (moveCursorUpdate): remove inline
7921 * text.C: include paragraph_funcs.h
7922 (breakParagraph): breakParagraph is now in global scope
7924 * paragraph_funcs.[Ch]: new files
7926 * paragraph.C (breakParagraph,breakParagraphConservative): move to
7929 * buffer.C: include paragraph_funcs.h
7930 (insertStringAsLines): breakParagraph is now in global scope
7932 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7935 * CutAndPaste.C: include paragraph_funcs.h
7936 (cutSelection): breakParagraphConservative is now in global scope
7937 (pasteSelection): ditto
7939 * buffer.h: declare oprator== and operator!= for
7940 Buffer::inset_iterator
7942 * bufferlist.C (emergencyWrite): don't use fmt(...)
7944 * text3.C: add using std::endl
7946 * BufferView.C (moveCursorUpdate): remove default arg
7948 2002-08-20 André Pönitz <poenitz@gmx.net>
7950 * buffer.[Ch]: move inline functions to .C
7953 * BufferView_pimpl.C:
7955 * buffer.[Ch]: use improved inset_iterator
7958 * paragraph.[Ch]: write one paragraph at a time
7960 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
7962 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7963 style if style is not specified.
7965 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7967 * text2.C (setCounter): when searching for right label for a
7968 caption, make sure to recurse to parent insets (so that a caption
7969 in a minipage in a figure float works) (bug #568)
7971 2002-08-20 André Pönitz <poenitz@gmx.net>
7973 * text3.C: new file for LyXText::dispatch() and helpers
7975 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7977 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7979 2002-08-19 André Pönitz <poenitz@gmx.net>
7982 * text.C: new LyXText::dispatch()
7984 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7986 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
7988 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7990 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7993 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7995 * Makefile.am: use $(variables) instead of @substitutions@
7997 2002-08-15 André Pönitz <poenitz@gmx.net>
8000 * BufferView_pimpl.C: streamlining mathed <-> outer world
8004 * LyXAction.C: remove unused LFUN_MATH
8006 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8008 * paragraph.[Ch]: add some NO_NEXT ifdefs.
8010 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8012 * paragraph.C (Paragraph): reformat a bit
8013 (cutIntoMinibuffer): use builtin InsetList function instad of
8017 * buffer.C: include boost/bind.hpp, add using std::for_each
8018 (writeFileAscii): use ParagraphList iterators
8019 (validate): use for_each for validate traversal of paragraphs
8020 (getBibkeyList): use ParagraphList iterators
8021 (resizeInsets): use for_each to resizeInsetsLyXText for all
8023 (getParFromID): use ParagraphList iterators
8025 * BufferView2.C (lockInset): use paragraph list and iterators
8027 2002-08-14 John Levon <levon@movementarian.org>
8029 * lyxserver.C: remove spurious xforms include
8031 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8033 * lyxfunc.C (getStatus): disable math-extern outside of math mode
8035 2002-08-13 André Pönitz <poenitz@gmx.net>
8038 * lyxfunc.C: further cleaning
8040 2002-08-13 André Pönitz <poenitz@gmx.net>
8042 * funcrequest.h: new constructor
8044 * funcrequest.C: move stuff here from .h
8047 * BufferView_pimpl.C:
8050 * lyxfunc.C: subsequent changes
8052 * lyxfunc.h: new view() member function
8054 * lyxfunc.C: subsequent changes
8056 2002-08-13 Angus Leeming <leeming@lyx.org>
8059 * BufferView_pimpl.C:
8067 changes due to the changed LyXView interface that now returns references
8068 to member variables not pointers.
8070 2002-08-13 Angus Leeming <leeming@lyx.org>
8072 * WordLangTuple (word, lang_code): return references to strings,
8077 * lyxtext.h: forward-declare WordLangTuple.
8082 * text.C: #include "WordLangTuple.h".
8085 * text.C: (selectNextWordToSpellcheck): constify return type.
8087 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
8093 * paragraph_pimpl.h:
8096 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8098 Made updateCounter always count from start of buffer, and removed
8099 second argument (par).
8100 Reverted floats number display to '#'. Perhaps I'll try again when the
8101 code base is sanitized a bit.
8103 2002-08-12 Angus Leeming <leeming@lyx.org>
8105 * buffer.[Ch] (getLabelList): constify.
8107 2002-08-07 André Pönitz <poenitz@gmx.net>
8109 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8111 * funcrequest.h: extension to keep mouse (x,y) position
8113 2002-08-12 Juergen Vigna <jug@sad.it>
8115 * BufferView2.C (insertErrors): forbid undo when inserting error
8118 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8120 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8122 * ParagraphList.[Ch]: new files
8124 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8126 * BufferView2.C (lockInset): ParagraphList changes
8129 * bufferlist.C: ditto
8133 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8135 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8136 unused class variable counter_,
8138 * paragraph.[Ch] (getFirstCounter): delete unused function
8140 * counters.C: include LAssert.h
8141 (reset): add a new function with no arg, change other version to
8142 not have def. arg and to not allow empty arg.
8144 * text2.C (setCounter): remove empty arg from call to Counters::reset
8146 2002-08-11 John Levon <levon@movementarian.org>
8148 * Makefile.am: add WordLangTuple.h
8150 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8152 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8153 lyxfunc.C lyxlex_pimpl.C: ws changes only.
8155 * insets/insettext.C: InsetList changes
8157 * graphics/GraphicsSupport.C (operator()): InsetList changes
8159 * toc.C (getTocList): InsetList changes
8161 * paragraph_pimpl.[Ch]: InsetList changes
8163 * paragraph.[Ch]: InsetList changes
8165 * buffer.C (inset_iterator): InsetList changes
8166 (setParagraph): ditto
8167 * buffer.h (inset_iterator): ditto
8168 * iterators.C (operator++): ditto
8169 * iterators.h: ditto
8171 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8173 * InsetList.[Ch]: new files, most InsetList handling moved out of
8176 * BufferView2.C (removeAutoInsets): InsetList changes
8178 (ChangeInsets): ditto
8180 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8182 * paragraph_pimpl.h (empty): new function
8184 * paragraph.[Ch] (empty): new function
8186 * other files: use the new Paragraph::empty function
8188 2002-08-09 John Levon <levon@movementarian.org>
8190 * lyxtext.h: remove unused refresh_height
8192 2002-08-09 John Levon <levon@movementarian.org>
8199 * paragraph.C: move sgml char escaping out of paragraph
8202 * paragraph.C: remove id setter
8206 * paragraph_pimpl.C: remove dead tex_code_break_column
8208 * bufferview_funcs.C: small cleanup
8210 * lyxfunc.C: remove dead proto
8212 * lyxtext.h: make some stuff private. Remove some dead stuff.
8214 * lyxgluelength.C: make as[LyX]String() readable
8216 2002-08-08 John Levon <levon@movementarian.org>
8221 * ToolbarDefaults.C:
8224 * toc.C: lyxaction cleanup
8226 2002-08-08 John Levon <levon@movementarian.org>
8228 * BufferView2.C: small cleanup
8231 * lyxfind.C: move unnecessary header into the .C
8233 2002-08-08 John Levon <levon@movementarian.org>
8235 * funcrequest.h: just tedious nonsense
8238 * lyx_main.C: cleanups
8241 * vspace.C: remove dead header lyx_main.h
8243 2002-08-07 Angus Leeming <leeming@lyx.org>
8246 * paragraph_pimpl.h:
8247 Forward declare class Counters in paragraph.h by moving the ctrs member
8248 variable into Paragraph::Pimpl.
8249 (counters): new method, returning a reference to pimpl_->ctrs.
8251 * text2.C: ensuing changes.
8253 2002-08-07 John Levon <levon@movementarian.org>
8255 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8257 * BufferView_pimpl.C: announce X selection on double/triple
8260 * lyx_main.C: use correct bool in batch dispatch
8262 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8264 2002-08-07 André Pönitz <poenitz@gmx.net>
8266 * funcrequest.h: new class to wrap a kb_action and its argument
8269 * BufferView_pimpl[Ch]:
8273 * lyxrc.C: subsequent changes
8276 2002-08-07 John Levon <levon@movementarian.org>
8278 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8279 document options change.
8281 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8286 * makefile.am: move counters functionality over from
8287 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8289 2002-08-06 John Levon <levon@movementarian.org>
8291 * WordLangTuple.h: new file for word + language code tuple
8302 * BufferView2.C: use WordLangTuple
8305 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8307 2002-08-06 John Levon <levon@movementarian.org>
8309 * lyx_main.C: fix cmdline batch handling
8311 2002-08-06 André Pönitz <poenitz@gmx.net>
8313 * lyxrc.C: set default for show_banner to true
8315 2002-08-06 John Levon <levon@movementarian.org>
8317 * pspell.C: fix a crash, and allow new aspell to work
8319 2002-08-06 John Levon <levon@movementarian.org>
8322 * kbmap.C: small cleanup
8325 * vspace.C: add const
8327 2002-08-05 John Levon <levon@movementarian.org>
8329 * LyXAction.C: back to tabular-insert
8331 2002-08-04 John Levon <levon@movementarian.org>
8334 * BufferView.C: cosmetic change
8336 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8346 * BufferView2.C: purge all "Lyx" not "LyX" strings
8349 * lyxcursor.C: attempt to add some documentation
8354 * ToolbarDefaults.C:
8355 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8356 merge with LFUN_TABULAR_INSERT
8363 * pspell.C: split up i/pspell implementations into separate
8364 files, many cleanups
8366 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8368 * text2.C: some cleanup
8370 * lyxfunc.C: don't check for isp_command == "none" any more, it
8371 didn't make any sense
8373 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8378 * makefile.am: move counters functionality over
8379 from text2.C/paragraph.[Ch] to counters.[Ch], and
8381 2002-08-02 John Levon <levon@movementarian.org>
8383 * buffer.C: s/lyxconvert/lyx2lyx/
8385 2002-08-02 Angus Leeming <leeming@lyx.org>
8387 * lyxlex.C: revert John's change as it breaks reading of the user
8390 2002-08-02 Angus Leeming <leeming@lyx.org>
8392 * importer.C (Import):
8393 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8394 changes due to LyXView::view() now returning a boost::shared_ptr.
8396 2002-08-02 John Levon <levon@movementarian.org>
8398 * lyxlex.C: small cleanup
8400 2002-08-02 John Levon <levon@movementarian.org>
8402 * text2.C (status): small cleanup, no logic change
8404 2002-08-01 John Levon <levon@movementarian.org>
8407 * buffer.C (writeFile): don't output alerts, caller
8411 * lyx_cb.C: from above
8413 * lyxfunc.C: allow to open non-existent files
8415 2002-07-31 John Levon <levon@movementarian.org>
8417 * lyxserver.C: don't let incidental errors get
8420 2002-07-30 John Levon <levon@movementarian.org>
8422 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8424 2002-07-30 John Levon <levon@movementarian.org>
8427 * lyxserver.C: remove I/O callback too
8429 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8431 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8434 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8436 * many files: strip,frontStrip -> trim,ltrim,rtrim
8438 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8440 * PrinterParams.h: remove extern containsOnly, and include
8441 support/lstrings.h instead.
8443 * LaTeX.C (scanAuxFile): modify because of strip changes
8445 * buffer.C (makeLaTeXFile): ditto
8446 * bufferparams.C (writeFile): ditt
8447 * lyxfont.C (stateText): ditto
8448 * lyxserver.C (read_ready): ditto
8449 * vc-backend.C (scanMaster): ditto
8451 * BufferView_pimpl.h: ws changes
8453 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8455 2002-07-26 André Pönitz <poenitz@gmx.net>
8457 * kb_sequence.C: remove unnedred usings
8459 2002-07-26 Juergen Vigna <jug@sad.it>
8461 * lyxfind.C (LyXReplace): we have to check better if the returned
8462 text is not of theLockingInset()->getLockingInset().
8464 2002-07-25 Juergen Vigna <jug@sad.it>
8466 * lyxfind.C (LyXReplace): don't replace if we don't get the
8469 * undo_funcs.C (createUndo): remove debugging code.
8471 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
8473 * buffer.C (parseSingleLyXformat2Token): Use default placement
8474 when reading old floats.
8476 * FloatList.C (FloatList): Change the default placement of figure
8477 and tables to "tbp".
8479 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
8481 * MenuBackend.C: using std::max
8483 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8485 * MenuBackend.C (expandToc):
8486 (expandToc2): code moved from xforms menu frontend. It is now
8487 generic and TOCs are transparent to menu frontends.
8489 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8491 * toc.C (getTocList): protect against buf=0
8493 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8494 Menu as first parameter. Now, this calls itself recursively to
8495 expand a whole tree (this will be useful for TOC handling)
8496 (expandFloatInsert): remove 'wide' version of floats
8498 * MenuBackend.h (submenuname): returns the name of the submenu.
8499 (submenu): returns the submenu itself, provided it has been
8500 created by MenuBackend::expand
8502 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8504 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8505 insets which have noFontChange == true. (bug #172)
8507 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8509 * BufferView_pimpl.C: add connection objects and use them...
8512 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8514 * MenuBackend.C (expandLastfiles):
8517 (expandFloatListInsert):
8518 (expandFloatInsert):
8519 (expand): split expand in parts
8521 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8523 * lyx_gui.C: use lyx_gui::exit()
8525 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8527 * LyXAction.C: show the failing pseudo action
8529 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
8531 * buffer.C (readFile): Run the lyxconvert script in order to read
8534 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8538 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8540 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8544 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8546 2002-07-22 Herbert Voss <voss@lyx.org>
8549 * lyxlength.[Ch]: add support for the vertical lengths
8551 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
8553 * toc.[Ch]: std:: fixes
8555 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8557 * lyxrc.C: do not include lyx_main.h
8559 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8565 * BufferView2.C: include "lyxlex.h"
8568 * bufferparams.h: do not #include "lyxlex.h"
8570 * lyxtextclasslist.C (Add): remove method
8571 (classlist): renamed to classlist_
8573 * paragraph_pimpl.C:
8577 * bufferview_funcs.C:
8582 * toc.C (getTocList): use BufferParams::getLyXTextClass
8584 * toc.C (getTocList): use InsetFloat::addToToc
8586 * toc.[Ch]: new files, containing helper functions to handle table
8589 * lyxfunc.C (dispatch): no need to remove spaces around command
8591 (getStatus): handle LFUN_SEQUENCE by returning the status of the
8592 first command of the sequence; it is not very clever, but I do not
8593 have a better idea, actually
8595 * LyXAction.C (LookupFunc): make sure to remove space at the
8596 beginning and end of the command
8598 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8600 * MenuBackend.C (getMenubar): new method: return the menubar of
8602 (read): treat differently reading of menu and menubar (in
8603 particular, the menubar has no name now)
8604 (Menu::menubar): remove
8606 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8609 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8611 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8612 a bibitem inset in a RTL paragraph.
8614 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
8616 * paragraph_pimpl.C: constify
8618 * BufferView_pimpl.C:
8620 * lyxfunc.C: fix dispatch in a nicer way
8622 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8624 * lyxfunc.C (dispatch):
8625 * BufferView_pimpl.C:
8626 * BufferView_pimpl.h:
8628 * BufferView.h: rename Dispatch() to dispatch()
8630 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8632 * lyxlayout.C (Read): honor DependsOn tag
8634 * lyxlayout.[Ch] (depends_on): new method
8636 * version.C.in: update lyx_docversion
8638 * LaTeXFeatures.C (getMacros): only define \LyX when needed
8640 * paragraph.C (validate): remove from here...
8641 * paragraph_pimpl.C (validate): ... and move here
8642 (isTextAt): make it const
8644 * buffer.C (getLists): ws cleanup
8646 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8648 * language.C (read): Use iso8859-1 encoding in latex_lang
8649 (this prevents LyX from crashing when using iso10646-1 encoding).
8651 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8653 * text2.C (toggleInset): if cursor is inside an inset, close the
8654 inset and leave cursor _after_ it
8656 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8658 * lyxfunc.C: move minibuffer completion handling out of here
8660 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8662 * BufferView_pimpl.C:
8663 * LaTeX.C: fix dispatch calls
8665 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
8667 * text.C (drawChars): Fix Arabic text rendering.
8669 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
8673 * lyxfunc.C: remove message-push/pop
8677 * lyxfunc.C: rationalise some code by removing verboseDispatch
8678 in favour of a bool argument to dispatch()
8680 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8682 * lyx_main.C (init): make sure to read symlinks as absolute paths
8684 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8687 * lyxfunc.C: no need for commandshortcut to be a member
8689 2002-07-15 André Pönitz <poenitz@gmx.net>
8691 * converter.C: add support for $$s (scripts from lib/scripts dir)
8692 * lyx_main.C: white space
8694 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8698 * lyxrc.C: remove second exit confirmation
8700 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8705 * BufferView_pimpl.h:
8706 * BufferView_pimpl.C:
8707 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8709 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8711 * MenuBackend.C (expand): add numeric shortcuts to document menu
8713 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8715 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8717 * lyxfont.C (setLyXFamily):
8724 * buffer.C (asciiParagraph): use ascii_lowercase
8726 2002-07-15 Mike Fabian <mfabian@suse.de>
8728 * lyxlex_pimpl.C (search_kw):
8729 * lyxlex.C (getLongString):
8730 * converter.h (operator<):
8731 * converter.C (operator<):
8732 * buffer.C (parseSingleLyXformat2Token):
8734 * ToolbarDefaults.C (read):
8735 * MenuBackend.C (checkShortcuts):
8737 * LColor.C (getFromGUIName):
8738 (getFromLyXName): use the compare_ascii_no_case instead of
8739 compare_no_case, because in turkish, 'i' is not the lowercase
8740 version of 'I', and thus turkish locale breaks parsing of tags.
8742 2002-07-16 Angus Leeming <leeming@lyx.org>
8744 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8745 now takes a Buffer const & argument.
8747 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
8749 * BufferView.C (resize): check there's a buffer to resize
8751 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
8753 * lyxfunc.C: remove dead code
8756 * lyxserver.C: use lyx_guii::set_read_callback
8758 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
8760 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8761 an inset in a RTL paragraph.
8763 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8765 * lyxfunc.C: repaint after a font size update
8767 2002-07-15 André Pönitz <poenitz@gmx.net>
8769 * lyxlength.C: inBP should be able to return negative values
8771 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8773 * lyxfunc.C: use lyx_gui::update_fonts()
8775 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8777 * lyxfunc.C: use lyx_gui::update_color()
8779 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8785 * lyxrc.C: remove file->new asks for name option, and let
8786 buffer-new take an argument
8788 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8790 * BufferView_pimpl.C: remove unneeded extra repaint()
8792 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
8794 * LyXAction.C: allow command-sequence with NoBuffer
8796 * lyxfunc.C: don't insist on trailing ';' for command-sequence
8798 2002-07-10 Angus Leeming <leeming@lyx.org>
8800 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8802 2002-07-09 Angus Leeming <leeming@lyx.org>
8804 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8806 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8808 * lengthcommon.h: whitespace
8810 * lyxfunc.C: update scrollbar after goto paragraph
8812 * lyxtext.h: factor out page break drawing, and fix it so
8813 page break/added space paints as selected nicely
8815 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8817 * BufferView_pimpl.C: add FIXMEs, clean up a little
8819 2002-07-09 André Pönitz <poenitz@gmx.net>
8821 * lyxfont.[Ch]: support for wasy symbols
8823 2002-07-08 André Pönitz <poenitz@gmx.net>
8825 * BufferView_pimpl.C: apply John's patch for #93.
8827 2002-07-05 Angus Leeming <leeming@lyx.org>
8829 * BufferView_pimpl.C (buffer): generate previews if desired.
8831 * LColor.h: add "preview" to the color enum.
8833 * LColor.C (LColor): add a corresponding entry to the items array.
8835 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8838 2002-07-05 Angus Leeming <leeming@lyx.org>
8840 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8841 The body of the code is now in the method that is passed an ostream &
8842 rather than a file name.
8843 Pass an additional only_preamble parameter, useful for the forthcoming
8846 2002-07-03 André Pönitz <poenitz@gmx.net>
8848 * lyxfunc.C: simplify getStatus() a bit for math stuff
8850 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8852 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8854 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8856 * text.C (changeRegionCase): do not change case of all the
8857 document when region ends at paragraph end (bug #461)
8859 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8861 * paragraph.C (startTeXParParams):
8862 (endTeXParParams): add \protect when necessary
8864 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8866 * BufferView_pimpl.C (workAreaExpose): remove warning
8868 2002-06-27 Angus Leeming <leeming@lyx.org>
8870 * Makefile.am: add lyxlayout_ptr_fwd.h.
8872 2002-06-26 André Pönitz <poenitz@gmx.net>
8874 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8876 2002-06-25 Angus Leeming <leeming@lyx.org>
8878 * lyxfunc.C (dispatch): Comment out the call to
8879 grfx::GCache::changeDisplay. The method no longer exists now that the
8880 pixmap generation part of the graphics loader has been moved into
8883 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8885 * text2.C: layout as layout
8887 * text.C: layout as layout
8889 * tabular.C (OldFormatRead): layout as layout
8891 * paragraph_pimpl.C (TeXDeeper): layout as layout
8892 (realizeFont): layout as layout
8894 * paragraph.C (writeFile): layout as layout
8895 (validate): layout as layout
8896 (getFont): layout as layout
8897 (getLabelFont): layout as layout
8898 (getLayoutFont): layout as layout
8899 (breakParagraph): layout as layout
8900 (stripLeadingSpaces): layout as layout
8901 (getEndLabel): layout as layout
8902 (getMaxDepthAfter): layout as layout
8903 (applyLayout): layout as layout
8904 (TeXOnePar): layout as layout
8905 (simpleTeXOnePar): layout as layout
8906 (TeXEnvironment): layout as layout
8907 (layout): layout as layout
8908 (layout): layout as layout
8910 * lyxtextclass.C (compare_name): new functor to work with
8911 shared_ptr, layout as layout
8912 (Read): layout as layout
8913 (hasLayout): layout as layout
8914 (operator): layout as layout
8915 (delete_layout): layout as layout
8916 (defaultLayout): layout as layout
8918 * lyxlayout_ptr_fwd.h: new file
8920 * lyxlayout.C (Read): layout as layout
8922 * lyx_cb.C (MenuInsertLabel): layout as layout
8924 * bufferlist.C (newFile): layout as layout
8926 * buffer.C (readLyXformat2): layout as layout
8927 (parseSingleLyXformat2Token): layout as layout
8928 (insertStringAsLines): layout as layout
8929 (asciiParagraph): layout as layout
8930 (latexParagraphs): layout as layout
8931 (makeLinuxDocFile): layout as layout
8932 (simpleLinuxDocOnePar): layout as layout
8933 (makeDocBookFile): layout as layout
8934 (simpleDocBookOnePar): layout as layout
8935 (getLists): layout as layout
8937 * LaTeXFeatures.C (getTClassPreamble): layout as layout
8939 * CutAndPaste.C (cutSelection): layout as layout
8940 (pasteSelection): layout as layout
8941 (SwitchLayoutsBetweenClasses): layout as layout
8943 * BufferView_pimpl.C (Dispatch): layout as layout
8944 (smartQuote): layout as layout
8946 * BufferView2.C (unlockInset): layout as layout
8948 2002-06-24 André Pönitz <poenitz@gmx.net>
8950 * lyxfunc.C: fix #487
8952 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8956 * lyxfunc.C: remove display_shortcuts, show_banner
8958 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8960 * Buffer_pimpl.C: oops, update on resize
8962 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8969 * BufferView.C: use repaint()
8971 * BufferView_pimpl.h:
8972 * BufferView_pimpl.C: s/updateScreen()/repaint()/
8973 as it's a clearer description. Remove superfluous
8976 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8978 * text.C: fix bug 488. Not ideal, but getting
8979 getWord() to work properly for the insets that
8980 matter is more difficult ...
8982 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8984 * BufferView_pimpl.C:
8987 * lyxfunc.C: remove the six million index lyxfuncs to just
8988 one, and DTRT (bug 458)
8990 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8994 * BufferView_pimpl.h:
8995 * BufferView_pimpl.C: clean up resize() stuff,
8996 and unnecessary updateScreen()s
8998 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9002 * BufferView_pimpl.h:
9003 * BufferView_pimpl.C:
9006 * minibuffer.C: remove focus management of workarea,
9007 not needed. Use screen's greyOut()
9009 2002-06-17 Herbert Voss <voss@lyx.org>
9011 * converter.C: (convert) do not post a message, when converting
9012 fails, let the calling function decide what to do in this case
9014 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
9016 * lyxfunc.C: tidy up a little
9018 2002-06-16 <alstrup@diku.dk>
9020 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9021 Got rid of FORMS_H_LOCATION include. Now we are
9024 2002-06-15 LyX Development team <lyx@rilke>
9026 * buffer.[Ch] (sgmlOpenTag):
9027 (sgmlCloseTag): Added support for avoiding pernicious mixed
9028 content. Return number of lines written.
9031 (makeDocBookFile): Fixed calls to sgml*Tag.
9032 Simple white space clean.
9034 (simpleDocBookOnePar): Simple white space clean.
9036 * tabular.[Ch] (docBook): Renamed to docbook and got another
9037 argument to related with the pernicious mixed content.
9039 (docbookRow): Fixed calls for docbook inset method.
9041 2002-06-15 Lyx Development team <larsbj@birdstep.com>
9043 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9044 so it's X11 independent.
9048 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9050 2002-06-15 Lyx Development team <lyx@electronia>
9052 * intl.h: Renamed getTrans to getTransManager.
9054 2002-06-14 Angus Leeming <leeming@lyx.org>
9056 * Makefile.am: nuke forgotten stl_string_fwd.h.
9058 2002-06-12 Angus Leeming <leeming@lyx.org>
9060 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9062 2002-06-13 Angus Leeming <leeming@lyx.org>
9065 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9067 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
9069 * kbmap.C (getiso): add support for cyrillic and greek
9071 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9075 * BufferView_pimpl.h:
9076 * BufferView_pimpl.C: move bogus scrolling logic
9079 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9082 * BufferView_pimpl.C: view->resize() change
9084 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9086 * BufferView_pimpl.C: topCursorVisible
9089 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9093 * lyx_gui.C: move to frontends/
9097 * lyx_main.C: changes from above
9099 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9106 * lyx_main.C: minor tidy
9108 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9110 * BufferView_pimpl.h:
9111 * BufferView_pimpl.C:
9113 * BufferView.C: make painter() const,
9116 * BufferView2.C: use screen() accessor
9119 * lyx_main.C: some minor cleanup
9121 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9123 * BufferView_pimpl.h:
9124 * BufferView_pimpl.C: remove enter/leaveView,
9127 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9132 * BufferView_pimpl.h:
9133 * BufferView_pimpl.C: only construct screen once,
9136 * lyxrc.C: remove pointless comment
9138 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9141 * BufferView.C: remove active() and belowMouse()
9143 * BufferView_pimpl.h:
9144 * BufferView_pimpl.C: use workarea() not workarea_,
9145 and make it use a scoped_ptr instead
9147 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9149 * lyx_gui.C: add debug message on BadWindow
9151 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9153 * sp_spell.C: fdopen is not part of the C++ standard.
9155 * paragraph.C (InsetIterator): use >= instead of ==
9157 2002-06-07 Angus Leeming <leeming@lyx.org>
9159 Fixes needed to compile with Compaq cxx 6.5.
9160 * BufferView_pimpl.C:
9167 * lyxtextclasslist.C:
9172 all c-library variables have been moved into namespace std. Wrap
9173 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9178 Add a using std::abs declaration.
9180 * kbmap.h (modifier_pair):
9181 * paragraph.h (InsetTable, InsetList):
9182 * lyxfont.h (FontBits):
9183 type definition made public.
9185 * bufferlist.C (emergencyWriteAll): the compiler complains that
9186 there is more than one possible lyx::class_fun template to choose from.
9187 I re-named the void specialisation as lyx::void_class_fun.
9189 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9191 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9192 the compiler is is unable to find tostr in write_attribute.
9194 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9196 * buffer.C (sgmlError): hide #warning
9198 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9200 * xtl/*: get rid of xtl, which is not in use anyway
9202 * LyXAction.C (init):
9203 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9204 were unimplemented xtl experimentation
9206 2002-06-04 André Pönitz <poenitz@gmx.net>
9208 * lyxfunc.C: disable array operation on simple formulae
9210 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
9212 * converter.C: constify a bit
9214 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
9216 * lyx_gui.C: check xforms version correctly
9218 2002-04-30 Herbert Voss <voss@lyx.org>
9220 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9223 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
9225 * lyxvc.C: fix bug 416 (make sure buffer is saved before
9226 attempt to register it with a VCS)
9228 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9230 * lyx_main.C (init): honor variables LYX_DIR_13x and
9233 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9237 * lyx_main.C: fix a crash on bad command line,
9238 and give a useful exit status on error
9240 * lyxfunc.C (doImport): allow -i lyx to work
9242 2002-03-30 André Pönitz <poenitz@gmx.net>
9244 * lyxfunc.C: mathed font changes
9246 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9261 * trans_mgr.h: srcdocs, and some minor cleanups
9263 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9265 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9266 call getFont all the time)
9268 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9270 * switch from SigC signals to boost::signals
9272 2002-05-29 André Pönitz <poenitz@gmx.net>
9274 * paragraph_pimpl.C (getChar): don't call size() too often...
9276 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9278 * paragraph_pimpl.C (insertChar): do not try to update tables when
9279 appending (pos == size())
9281 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9282 in order to reduce drastically the number of comparisons needed to
9283 parse a large document
9285 2002-05-29 André Pönitz <poenitz@gmx.net>
9291 * textclasslist.[Ch]:
9292 * sp_ispell.h: whitespace change
9294 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9296 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9297 lyxaction directly now.
9299 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
9303 * lyxvc.C: remove unused headers
9305 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9312 * undo_funcs.C: some cleanups. Use shared_ptr
9313 and a template for the undo stacks.
9315 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9317 * BufferView_pimpl.h:
9318 * BufferView_pimpl.C:
9325 * text2.C: use key_state/mouse_state
9327 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9329 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9332 * chset.C: change include order
9333 (loadFile): use boost regex and get rid of LRegex and LSubstring
9335 * Makefile.am (BOOST_LIBS): new variable
9338 * LaTeX.C: change include order.
9339 (scanAuxFile): use boost regex and get rid of LRegex and
9343 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9348 * FontInfo.C: moved to frontends/xforms/
9351 * FontLoader.C: moved into frontends for GUIIzation
9356 * lyxfunc.C: changes from above
9358 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9360 * LColor.C: remove spurious X include
9362 * BufferView_pimpl.C:
9367 * text2.C: move font metrics to frontends/
9369 2002-05-24 Juergen Vigna <jug@sad.it>
9371 * undo_funcs.C (textHandleUndo): fix the cursor selection after
9372 setting the undo_cursor.
9374 * ParagraphParameters.h: include local includes first.
9376 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9378 * BufferView_pimpl.C:
9379 * BufferView_pimpl.h:
9383 * screen.C: move WorkArea into frontends/
9389 * BufferView2.C: move LyXScreen into frontends/
9393 * lyx_gui.C: move lyxlookup into frontends/xforms/
9395 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9398 * BufferView_pimpl.C:
9408 * bufferview_funcs.C:
9421 * vc-backend.C: move LyX/XFormsView into frontends/
9423 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9435 * text2.C: move Painter to frontends/
9437 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9439 * buffer.C: comment out some some code that depend upon lyx_format
9442 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9443 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9445 * buffer.h (NO_COMPABILITY): turn off compability
9447 * ColorHandler.C: include scoped_array.hpp
9449 * font.C: Use more specific smart_ptr header.
9452 * ShareContainer.h: ditto
9456 * BufferView_pimpl.h: ditto
9457 * ColorHandler.h: ditto
9459 * kbmap.C (defkey): change call to shared_ptr::reset
9461 2002-05-21 Juergen Vigna <jug@sad.it>
9463 * buffer.C (insertErtContents): fix to insert ert asis if it is
9464 non empty. Skip it completely if it contains only whitespaces.
9466 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
9468 * BufferView_pimpl.C:
9469 * BufferView2.C: clear selection on paste (bug 393)
9471 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9473 * DepTable.C: include ctime
9475 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
9477 * buffer.C (latexParagraphs): Add new argument (moving_arg).
9479 2002-05-14 Juergen Vigna <jug@sad.it>
9481 * text.C (breakParagraph): fixed function to honor the keepempty
9482 layout in the right maner and also to permit the right breaking
9483 algorithm on empty or non empyt keepempty paragraphs.
9485 * paragraph.C (breakParagraph): we have to check also if the par
9486 is really empty (!size()) for isempty otherwise we do the wrong
9489 2002-05-10 Juergen Vigna <jug@sad.it>
9491 * buffer.[Ch] : The following are only changes to the ert
9492 compatibility read reading old LaTeX layout and font stuff and
9493 convert it to ERTInsets.
9495 * buffer.h: added isErtInset().
9497 * buffer.C (struct ErtComp): add a fromlayout bool to check
9498 if we're inside a LaTeX layout.
9499 (isErtInset): new helper function.
9500 (insertErtContents): look for other ert insets before this one
9501 and insert the contents there, so that we don't have subsequent
9502 ERT insets with nothing between them. This way we create only one
9503 inset with multiple paragraphs. Also check if we don't insert only
9504 spaces ' ' as they are ignored anyway afterwards in the .tex file
9505 so if we have only spaces we will ignore this latex part in the
9507 (parseSingleLyXformat2Token \\layout): better compatibility when
9508 reading layout-latex stuff.
9509 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9511 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9512 stuff after reading the inset only get the information back from
9515 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
9517 * buffer.C (makeLaTeXFile): Put language options after loading babel.
9519 * LaTeXFeatures.C (getBabelOptions): New method.
9521 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9523 * BufferView_pimpl.C (Dispatch): work around missing argument for
9526 2002-05-08 Juergen Vigna <jug@sad.it>
9528 * text.C (leftMargin): handle paragraph leftindent.
9530 * paragraph.C (writeFile): write the new \\leftindent tag.
9531 (validate): handle leftindent code.
9532 (TeXEnvironment): handle paragraphleftindent code again.
9534 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9536 * buffer.C (parseSingleLyXformat2Token): added compatibility code
9537 for paragrap_extra indent code and new token \\leftindent.
9538 (latexParagraphs): handle the leftindent as environment.
9540 * ParameterStruct.h: added leftindent support.
9542 * ParagraphParameters.C (leftIndent): added support functions for
9543 the paragraph left indent.
9545 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9548 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
9550 * paragraph.C (isRightToLeftPar): Return false for a paragraph
9553 * text.C (computeBidiTables): No bidi in insetERT.
9555 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9558 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9560 * version.C.in: pre 5
9562 2002-05-02 José Matos <jamatos@fep.up.pt>
9563 * buffer.C (makeDocBookFile): white space changes, add newline to
9565 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9567 * tabular.C (docBook): fix typo.
9569 2002-05-03 Juergen Vigna <jug@sad.it>
9571 * screen.C (drawFromTo): recalculate the rowpointer if we had a
9572 change in LyXText as we can not be sure it was not freed.
9573 (drawOneRow): remove unused code.
9575 * text.C (drawInset): redo the calculation of the need_break_row as
9576 it could have a row which was already freed.
9577 (draw): look at the return value of drawInset and return false if
9578 it also returned false.
9579 (paintRowText): look at the return value of draw and return false if
9580 it also returned false.
9582 * lyxtext.h: added bool return type to drawInset() and draw() so that
9583 if we have a change in the row so that the rowbreak has to be redone
9584 we abort drawing as it will be called again.
9586 2002-05-02 Juergen Vigna <jug@sad.it>
9588 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9589 a change in the maintext also if we're inside an inset.
9590 (Dispatch): set the cursor again after a break line and after the
9591 screen has been updated as it could be we're in a different row.
9593 * text2.C (fixCursorAfterDelete): check to make sure we don't request
9594 to set the cursor behind the pargraph with > size().
9595 (setCursor): check also for the same paragraph when checking where
9596 to put the cursor if we have a NFR inset.
9598 * buffer.C (parseSingleLyXformat2Token): move the compatibility
9599 parts of layout read further up as it still was in the wrong
9602 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9604 * screen.C (drawFromTo): change sine fullRebreak always return
9607 * buffer.C (parseSingleLyXformat2Token): reindent some
9609 * BufferView_pimpl.C (update): change since fullRebreak always
9611 (Dispatch): git rid of the last hardcoded "Standard"s.
9613 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9615 * text2.[Ch] (fullRebreak): make it return void now that we always
9618 2002-04-30 Juergen Vigna <jug@sad.it>
9620 * buffer.C (parseSingleLyXformat2Token): reset the font before the
9621 ert compatibility check for "latex" layout.
9623 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
9625 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9626 minipages: use col% instead of p%, and also use the current font.
9627 (makeLaTeXFile): Fix use babel condition.
9628 (parseSingleLyXformat2Token): Correct font when reading old floats.
9630 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
9632 * BufferView_pimpl.C (Dispatch): Check that float type exists when
9633 inserting list of floats.
9635 2002-04-25 Herbert Voss <voss@lyx.org>
9637 * MenuBackend.C (expand): don't add the graphics extensions to the
9640 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9642 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9643 non-existing layout, do not complain if it was the default layout
9644 of the original class (bug #342)
9646 2002-04-24 Juergen Vigna <jug@sad.it>
9648 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9649 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9651 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
9653 * buffer.C (getBibkeyList): If using \bibliography, return the
9654 option field with the reference itself. Enables us to provide natbib
9655 support when using \bibliography.
9657 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
9659 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9661 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9662 natbib is provided by the LaTeX class.
9664 2002-04-23 Juergen Vigna <jug@sad.it>
9666 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9669 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9671 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9673 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9675 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9676 ensuremath around textordmasculine, textordfeminine and
9679 2002-04-19 Juergen Vigna <jug@sad.it>
9681 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9682 reinitializing the buffer otherwise row-dimensions may be wrong.
9683 (update): reset also the selection cursors if they do exits otherwise
9684 their x/y positions may be wrong.
9686 * text2.C (cursorDown): don't enter the inset if we came from a row
9687 above and are one row over the inset.
9689 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9690 really leaving an inset.
9692 2002-04-18 Juergen Vigna <jug@sad.it>
9694 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9695 of the selected paragraph does not have the selected layout also if
9698 * text2.C (setLayout): fixed bug which did not change last selected
9701 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9702 changed the read and substituted \\end_float with \\end_inset!
9704 * BufferView_pimpl.C (cursorPrevious):
9705 (cursorNext): fixed to make it work with rows heigher than the work
9706 area without moving the cursor only the draw of the row.
9707 (workAreaMotionNotify): fix jumping over high rows.
9709 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9711 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9714 2002-04-16 Juergen Vigna <jug@sad.it>
9716 * text2.C (setCursor): set also the irow().
9717 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9719 (cursorDown): support for locking an inset if the x_fix value goes
9720 inside it. That way I can transverse insets too with cursor up/down.
9722 * lyxrow.h: added irow helper function same as other (i) functions.
9724 * BufferView_pimpl.C (cursorPrevious):
9725 (cursorNext): fixed for insets!
9727 2002-04-15 Juergen Vigna <jug@sad.it>
9729 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9730 position otherwise it is wrong in some cases.
9732 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9733 inside the inset before the call.
9735 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
9737 * buffer.[Ch] (getBibkeyList): make it const.
9739 2002-04-12 Juergen Vigna <jug@sad.it>
9741 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9743 * text2.C (getCursorX): new helper function
9744 (setCursor): compute also ix_
9745 (setCursorFromCoordinates): set also ix.
9747 * lyxcursor.h: added ix_ and helper functions.
9749 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9751 * buffer.C (insertStringAsLines): dont break paragraph if the this
9752 paragraph is inside an inset which does not permit it!
9754 * text.C (breakParagraph): honor keepempty flag and break the paragraph
9755 also with no chars on this paragraph.
9756 (paintRowText): only paint stuff if it's inside the workarea!
9758 * paragraph.C (breakParagraph): honor keepempty flag and break the
9759 paragraph always below not above.
9761 * BufferView2.C (unlockInset): update the paragraph layout on inset
9762 unlock as we changed paragraph in such a case.
9764 * lyxfind.C (LyXFind): clear the former selection if not found!
9766 * text2.C (insertInset): freeze Undo after setUndo so that it is not
9767 again called in insertChar().
9769 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9770 an inset which uses the whole row!
9771 (rightMargin): ditto.
9772 (insertChar): force a rebreak if we inserted an inset!
9774 2002-03-28 Herbert Voss <voss@lyx.org>
9776 * lyxlength.[Ch]: add inBP() to get the right PS-point
9777 units (BigPoint). With inPixels we have rounding errors
9779 2002-04-11 Juergen Vigna <jug@sad.it>
9781 * text2.C (setCursorFromCoordinates): set iy to the right value.
9782 (setCursor): add check if row->previous exists!
9784 * buffer.C (parseSingleLyXformat2Token): reset font after read of
9785 an old float_type as this was the case in the old code!
9787 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9789 * BufferView2.C (showLockedInsetCursor): use iy
9790 (fitLockedInsetCursor): ditto
9792 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9793 locked insets as there we have the right value now.
9795 * lyxcursor.C: added iy_ variable and iy functions to set to the
9796 baseline of cursor-y of the locked inset.
9798 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9799 (setCursor): fixed for insets which need a full row.
9801 * text.C (rowLastPrintable): don't ignore the last space when before
9802 an inset which needs a full row.
9803 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9804 as last character of a row when before a inset which needs a full row.
9806 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9808 * version.C.in: update date
9810 * text2.C (fullRebreak): try to always return true and see what
9813 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9815 * MenuBackend.C (expand): use Floating::listName
9817 * FloatList.C (FloatList): add listName argument to the built-in
9820 * Floating.[Ch]: add listName member, which is the 'List of XXX'
9821 text associated with the float.
9823 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9825 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9827 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9829 * ShareContainer.h: add a couple of missing typenames.
9831 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
9833 * lyxrc.C (getDescription): use _() correctly rather than N_().
9835 2002-03-28 Herbert Voss <voss@lyx.org>
9837 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9838 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9840 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9842 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9843 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9845 2002-03-29 Juergen Vigna <jug@sad.it>
9847 * lyxfunc.C (dispatch): add a missing fitCursor call.
9849 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9850 it was scrolled by a cursor move, so return the bool status.
9852 * BufferView.C (fitCursor): return the bool flag also to the outside
9853 world as this is needed.
9855 * screen.C (toggleToggle): don't subtract the offset if it's positive.
9857 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9858 call the edit() as it is not needed (and wrong) IMO.
9859 (workAreaButtonPress): set the screen_first variable before evt.
9860 unlock the inset as this may change screen_first and then we have
9861 a wrong y position for the click!
9863 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9865 * MenuBackend.C (expand): another translation that I missed
9867 2002-03-28 Juergen Vigna <jug@sad.it>
9869 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9871 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9873 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9875 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9877 * MenuBackend.C (expand): fix export/view/update when there is no
9880 2002-03-27 Herbert Voss <voss@lyx.org>
9882 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9885 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9887 * bufferview_funcs.C (currentState): only show paragraph number
9888 for is DEVEL_VERSION is set.
9890 * lyxfunc.C (dispatch): put warning in INFO channel
9892 * MenuBackend.C (expand): translate the name of floats
9894 * FloatList.C (FloatList): mark the float names for translation
9896 * converter.C (convert): use LibScriptSearch
9898 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9900 * MenuBackend.C (defaults): fix default menu (we might as well get
9903 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9905 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9908 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9910 * lyxvc.C: reorder includes.
9912 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
9914 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9917 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
9919 * CutAndPaste.C: change layouts earlier on paste
9920 to avoid crashing when calling getFont()
9922 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
9924 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9927 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9929 * WorkArea.C: remove 'Pending' debug message.
9931 * most files: ws cleanup
9933 * buffer.[Ch]: ws changes
9935 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9937 2002-03-21 Juergen Vigna <jug@sad.it>
9939 * tabular.C (SetMultiColumn): collapse also the contents of the
9940 cells and set the last border right. Added a Buffer const * param.
9942 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9944 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9947 2002-03-19 Juergen Vigna <jug@sad.it>
9949 * text2.C (clearSelection): reset also xsel_cache.
9951 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9952 where it needs to be called (John tells us to do so too :)
9953 (selectionLost): reset sel_cache.
9955 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9957 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9959 * text2.C (setCursorIntern): put debuging code in INSETS channel
9961 2002-03-19 André Pönitz <poenitz@gmx.net>
9963 * lyxfunc.C: tiny whitespace change
9965 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9967 * ToolbarDefaults.C (init):
9968 * LyXAction.C (init):
9970 * BufferView_pimpl.C (Dispatch):
9971 * lyxfunc.C (dispatch): remove LFUN_DEPTH
9973 2002-03-19 Allan Rae <rae@lyx.org>
9975 * exporter.C (Export): removeAutoInsets before doing anything else.
9976 While I've just introduced a dependency on BufferView this really is
9977 the best place to clean the buffer otherwise you need to cleanup in
9978 a dozen places before calling export or cleanup in a dozen functions
9981 * converter.C (runLaTeX):
9982 (scanLog): Better handling of removeAutoInsets and screen updates.
9984 * lyxfunc.C (dispatch): small whitespace changes
9986 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9988 * WorkArea.C (C_WorkAreaEvent): return a value.
9989 (event_cb): return 1 if we handled the event, 0 otherwise.
9991 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9993 2002-03-18 Juergen Vigna <jug@sad.it>
9995 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9996 (GetAdditionalWidth): ditto.
10000 * BufferView2.C (copy): use getLyXText() so that we do it inside an
10001 inset if we're there actually (probably not used right now but this
10002 is the direction to go for unifying code).
10003 (paste): disable code to clear the selection.
10005 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10006 inside an InsetText and move the check further up as it is in the
10009 * text2.C (pasteSelection): set a selection over the pasted text.
10011 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
10013 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10014 and libgraphics to build on Cygwin.
10016 2002-03-15 Juergen Vigna <jug@sad.it>
10018 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10019 inserting an Inset into the paragraph. I know this is not the best
10020 fix but we already use current_view in CutAndPaste so we will remove
10021 all of it's using at the same time.
10023 * buffer.C (sgmlError): deactivated function till it is rewritten in
10024 the right mode, now it can create problems.
10026 * paragraph.C (isLineSeparator): check if getInset returns != 0,
10027 before accessing it.
10029 2002-03-14 Juergen Vigna <jug@sad.it>
10031 * undo_funcs.C (textHandleUndo): do the right thing when updating
10032 the inset after the undo/redo.
10034 * text2.C (setCursor): just some testcode for #44 not ready yet.
10036 * undo_funcs.C (textHandleUndo): set the next() and previous()
10037 pointers of the paragraph to 0 before deleting otherwise we have
10038 problems with the Paragraph::[destructor].
10040 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10041 on a paragraph insertion.
10043 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10045 * buffer.C (asciiParagraph): use += operator for char append to
10048 * paragraph.C (getFontSettings): compare >= not just >
10049 (highestFontInRange): ditto
10052 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10054 * paragraph.C: change several algorithm to be more appripriate for
10055 the problem domain. This is lookip in FontList and in the InsetList.
10057 2002-03-13 André Pönitz <poenitz@gmx.net>
10060 * LyXAction.C: remove unused LFUN_MATH_MACROARG
10062 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
10067 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10069 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10071 * Painter.C (display): anon helper function, adjust code for this
10073 (pixmap): remove function.
10075 * Painter.h: remove private display variable.
10077 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10079 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
10081 * WorkArea.[Ch]: remove figinset_canvas cruft.
10083 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10085 * lyxtextclass.C (operator): add one item cache optimization.
10087 * bufferlist.h: doxy changes
10089 * bufferlist.C: ws changes
10091 * DepTable.[Ch] (ext_exist): place const in the right spot.
10093 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10095 (workAreaExpose): call resizeInsets when the with BufferView changes.
10096 (Dispatch): adjust for protectedBlank removal
10097 (specialChar): call updateInset if the insert went ok.
10099 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10100 specialChar instead.
10102 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10104 * BufferView.h: doxy change
10106 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10108 * lyxtextclass.C (operator[]): remove non-const version
10109 (defaultLayout): remove non-const version
10111 2002-03-12 Juergen Vigna <jug@sad.it>
10113 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10114 did resize the LyXText too.
10116 * buffer.C (readLyXformat2): set layout information on newly allocated
10119 * tabular.C (OldFormatRead): set layout information on the paragraph.
10121 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10123 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10125 2002-03-11 Juergen Vigna <jug@sad.it>
10127 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10129 (resizeCurrentBuffer): force also the insets to resize themselfes.
10130 (moveCursorUpdate): fixed up for InsetText.
10132 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
10135 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10136 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10137 value of Dialogs::tooltipsEnabled().
10138 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10140 2002-03-08 Juergen Vigna <jug@sad.it>
10142 * BufferView_pimpl.C (updateInset): update inset inside inset also
10143 if it isn't inside theLockingInset().
10145 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10147 * buffer.C (asciiParagraph): redo some of the word and line length
10149 (getLists): look for Caption instead of caption.
10151 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10153 * buffer.C (Buffer): initialize niceFile to true
10155 (makeLinuxDocFile):
10156 (makeDocBookFile): make sure niceFile is true on exit
10158 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10160 * buffer.C (makeLaTeXFile): escape ~ in \input@path
10162 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
10164 * LyXSendto.C: remove.
10165 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10166 * lyx_gui.C: remove now-redundant comment.
10167 * ColorHandler.h: remove forward declaration of class WorkArea.
10168 * lyxfunc.C: remove #include "WorkArea.h".
10170 2002-03-07 Juergen Vigna <jug@sad.it>
10172 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10173 got moved away with the DEPM and also set the inset_owner always
10174 right which before could have been omitted.
10176 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10178 * buffer.C (parseSingleLyXformat2Token): use default layout is the
10179 wanted layout is not found.
10181 2002-03-07 Juergen Vigna <jug@sad.it>
10183 * CutAndPaste.C (cutSelection): another layout settings forgotten.
10185 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10187 * paragraph.C (breakParagraph): use default layout not layout of
10189 (Paragraph): clear ParagraphParameters.
10191 2002-03-06 Juergen Vigna <jug@sad.it>
10193 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10194 otherwise it would not be a valid lenght. Fixed a special case in
10195 the minipage compatibility read where we end the document with a
10198 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10199 was set as it could be 0 for InsetTexts first entry.
10201 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10203 * paragraph.C (writeFile): if layout is empty write out
10204 defaultLayoutName().
10206 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10207 file without named layout we set layout to defaultLayoutName().
10209 2002-03-06 Juergen Vigna <jug@sad.it>
10211 * CutAndPaste.C (copySelection): set layout for new paragraph.
10213 * text.C (prepareToPrint): leave ERT inset left aligned
10214 (leftMargin): don't indent paragraphs inside ERT insets
10216 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10218 * paragraph.C (breakParagraph): dont call clear do the work manually
10220 * paragraph.[Ch] (clear): remove function
10222 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10224 * paragraph.C (Paragraph): dont call clear, the work has already
10227 * lyxtextclass.C (operator): assert if n is empty
10229 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10230 work manually instead.
10232 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10234 * BufferView_pimpl.C: protect selectionLost against text == 0
10236 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10238 * text.C (breakParagraph): fix a setting layout to '0' problem.
10240 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10242 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10243 final location of file, for the included files, and graphics.
10245 2002-03-05 Juergen Vigna <jug@sad.it>
10247 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10249 2002-03-04 Juergen Vigna <jug@sad.it>
10251 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10253 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10254 last column of multicolumn cells.
10255 (SetWidthOfMulticolCell): recalculate NMC and real columns.
10257 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
10259 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10260 file if it doesn't go to a temporary file.
10262 * buffer.C (sgmlOpenTag):
10263 (sgmlCloseTag): remove extra newline insertion.
10265 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10267 * text.C (getRowNearY): comment out debug msg
10269 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10271 * text2.C: first -> first_y
10273 * text.C (getRowNearY): add some attemts at a possible
10274 optimization, not working.
10276 * tabular.[Ch]: add BufferParams to several function so that newly
10277 created paragraph can be initialized to he default layotu for the
10280 * tabular-old.C (ReadOld): add buf->params to call of Init
10282 * screen.C: rename text->first to text->first_y
10284 * paragraph.C (breakParagraph): always set layout in the broken
10287 * lyxtextclass.C (Read): remove lowercase
10290 (delete_layout): ditto
10292 * lyxtext.h: rename first -> first_y
10294 * lyxlayout.C (Read): remove lowercase
10297 (obsoleted_by): ditto
10299 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10301 * buffer.C (insertErtContents): add params are to InsetERT
10302 (parseSingleLyXformat2Token): add code to check if a paragraphs
10303 layout really exist.
10304 (parseSingleLyXformat2Token): add params to several inset
10306 (asciiParagraph): remove lowercase, do the layout comparisons with
10309 * BufferView_pimpl.C (cursorNext): first -> first_y
10310 (resizeCurrentBuffer): first -> first_y
10311 (updateScrollbar): first -> first_y
10312 (scrollCB): first -> first_y
10313 (workAreaMotionNotify): first -> first_y
10314 (workAreaButtonPress): first -> first_y
10315 (checkInsetHit): first -> first_y
10316 (cursorPrevious): first -> first_y
10317 (cursorNext): first -> first_y
10318 (Dispatch): add buffer_->params to severl inset contructors
10320 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10322 * lyxlayout.C (Read): remove some debug info that I forgot.
10324 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10325 clean up the code slightly.
10326 (makeLinuxDocFile): ditto
10327 (makeDocBookFile): ditto
10329 * text2.C: layout as string
10331 * text.C: layout as string
10333 * paragraph_pimpl.C: layout as string
10335 * paragraph.[Ch]: layout as string
10337 * lyxtextclasslist.[Ch]: layout as string
10339 * lyxtextclass.[Ch]: layout as string
10341 * lyxtext.h: layout as string
10343 * lyxlayout.[Ch]: layout as string
10345 * lyx_cb.C: layout as string
10347 * bufferview_funcs.C: layout as string
10349 * bufferparams.C: layout as string
10351 * buffer.C: layout as string
10353 * LyXView.[Ch]: layout as string
10355 * LaTeXFeatures.[Ch]: layout as string
10357 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10359 * BufferView_pimpl.C: change current_layout to string, remove
10364 (workAreaButtonRelease): layout as string
10366 * BufferView2.C (unlockInset): adjust
10368 * vspace.C (asLatexCommand): use an explict temp variable.
10370 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10372 * Makefile.am: use FRONTEND_*
10374 2002-03-01 Juergen Vigna <jug@sad.it>
10376 * tabular.C (SetWidthOfMulticolCell): changed to something better
10377 I hope but still work in progress.
10378 (recalculateMulticolumnsOfColumn): renamed function from
10379 recalculateMulticolCells as it is more appropriate now.
10380 (SetWidthOfCell): calculate multicols better.
10382 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10384 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10386 * lyxfunc.C (processKeySym): print sequence also if it is
10387 `deleted' (complete)
10389 * kbsequence.C (print): print sequence even if it is deleted
10390 (complete would be a better word, actually).
10392 * lyxfunc.C (dispatch): print complete options after a prefix key
10394 * vspace.C (asLatexCommand): rewrite in a slightly different form.
10396 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
10398 * text2.C (setCharFont): eliminate setCharFont code duplication.
10400 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10402 * BufferView_pimpl.C (Dispatch): remove bogus handling of
10403 LFUN_TABULAR_FEATURE (bug #177)
10405 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
10407 * Makefile.am: remove figure.h
10409 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
10411 * Bufferview_pimpl.C:
10423 * text2.C: remove #include "lyx_gui_misc.h".
10425 * LaTeX.C: added #include <cstdio>
10427 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10429 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10430 that the paragraph following this one can have.
10432 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10434 * vspace.C (asLatexCommand): fix bogus gcc warning
10436 * Makefile.am (lyx_SOURCES): remove vms_defines.h
10438 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
10440 * text2.C (setLayout): get rid of redundant code
10442 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
10444 * text2.C (incDepth): make sure depth cannot be increased beyond
10447 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
10449 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10450 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10452 * PainterBase.h (image):
10453 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10454 a LyXImage const *.
10456 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10460 * BufferView_pimpl.C:
10461 * BufferView_pimpl.h:
10481 * sp_spell.C: remove fig inset, and the crap house of
10482 cards that follows it
10484 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10489 * os2_errortable.h:
10490 * nt_defines.h: move .h into support/
10492 * vms_defines.h: remove
10494 * WorkArea.C: add space in debug output
10498 * buffer.C: add WITH_WARNINGS
10502 * bufferlist.C: s/retrive/retrieve/, add docs
10511 * chset.C: add docs
10513 * lyxgui.C: add ID to X error handler
10515 * lyxtestclass.c: fix typo
10517 2002-02-26 Juergen Vigna <jug@sad.it>
10519 * tabular_funcs.C (write_attribute): changed so that some default
10520 attributes are not written at all.
10521 (getTokenValue): set default values before trying to read the
10522 value so we have the return value always set as default if we don't
10523 find the token we search for.
10525 * tabular.C (Write): write bools as bools not as strings!
10527 2002-02-22 Juergen Vigna <jug@sad.it>
10529 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10530 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10532 * text.C (leftMargin): don't add an indent for paragraphs inside
10533 tabular cells (fix #208).
10535 2002-02-21 José Matos <jamatos@fep.up.pt>
10537 * tabular.C (docBook): fixed support for long tables.
10539 2002-02-20 Juergen Vigna <jug@sad.it>
10541 * text2.C (getFont): get the drawing font of the Inset if this
10542 paragraph is inside an inset (only important for InsetERT for now).
10544 * buffer.C (insertErtContents): use new lanugage params in ERT
10547 * CutAndPaste.C: commenting out seemingly uneeded code.
10549 2002-02-19 Allan Rae <rae@lyx.org>
10551 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10552 Iterators might be simple to use but they also get invalidated.
10553 (removeAutoInsets): renamed saved cursor tracking variables and added
10554 some comments to clarify what everything does.
10556 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
10563 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10564 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10567 * vc-backend.h: remove #include "support/syscall.h"
10571 * converter.C: rearrange #includes in Lars' approved fashion.
10573 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10574 forward declare class Timeout in the header file.
10576 * XFormsView.C: changes due to the above.
10578 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10579 similar to LyXView.
10581 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10582 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10584 2002-02-18 José Matos <jamatos@fep.up.pt>
10586 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10589 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10591 * a lot of small ws changes
10592 * add a lot of using std::XXX
10593 * use std construcs some places where approp.
10594 * use some exisint stuff from lyxfunctional where approp.
10595 * Make file changes to use partial linking (lets test this now...)
10597 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10601 remove #include "support/syscontr.h" as it's redundant. Always has been.
10609 change Systemcalls::System to Systemcalls::Wait and
10610 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10611 No change of functionality, just reflects the stripped down Systemcalls
10614 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10616 * debug.[Ch]: add a GRAPHICS type to the enum.
10618 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10620 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10622 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10625 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10627 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10628 match the changes below.
10630 * text2.C (toggleInset): if there is not editable inset at cursor
10631 position, try to see if cursor is _inside_ a collapsable inset
10634 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10636 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10637 document menu has a nice checkbox
10639 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10641 * lyxlength.C (asLatexString): change PW to output as percent of
10644 * lengthcommon.C: change '%' to 't%'
10646 * lyxfunc.C (dispatch): a few comments from Martin
10648 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
10652 * BufferView_pimpl.h:
10653 * BufferView_pimpl.C: clear our selection when X tells us we've lost
10656 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10658 * vspace.C (inPixels): fix compiler warning
10660 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10662 * lyxfunc.C (getStatus): fix status message for disabled commands.
10664 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
10666 * BufferView_pimpl.C: fix crash on close buffer
10667 during selection (#227)
10669 2002-01-27 Herbert Voss <voss@lyx.org>
10671 * buffer.C: link old Figure to new graphic inset
10673 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
10675 * FontLoader.C (getFontinfo): Change the latex font names in order
10676 to match the names of type1inst.
10678 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10680 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10682 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10683 (extchanged): ditto
10685 (remove_files_with_extension): ditto
10686 (remove_file): ditto
10689 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10690 document is smaller than the work area height. Do not initialize
10691 static variables to 0.
10693 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10695 * lyx_gui.C (init): give the toolbar tooltips a normal font.
10697 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10698 LFUN_LAYOUT_PARAGRAPHS.
10700 * tabular.C (GetCellFromInset): new method. Finds an inset in a
10701 tabular. It is possible to provide a possible cell, which will
10702 typically be the actcell from the corresponding insettabular
10704 * lyxfunc.C (getStatus): small cleanup; disable
10705 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10708 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10710 * tabular.C (Validate): remove broken optimization (fixes bug #201)
10712 * paragraph.C (startTeXParParams):
10713 (endTeXParParams): new methods. The LaTeX code to
10714 start/end paragraph formatting
10715 (simpleTeXOnePar): call startTeXParParams also when paragraph is
10716 empty (fixes bug #200)
10718 * vspace.C (inPixels): adapt to the change below
10719 (inPixels): [later] more cleanups (remove unused variables)
10721 * lyxlength.C (inPixels): change to use a width and a height as
10724 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10726 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10727 Replaced with \paperwidth
10729 * DepTable.C (insert): add std:: qualifier
10731 2002-01-18 Allan Rae <rae@lyx.org>
10733 * text2.C (removeRow): add comment. Should other refresh_?? vars be
10736 * text.C (drawInset): Turned out I didn't know enough about how
10737 rebreaking worked. This fixes most of the redraw problems. I see
10738 an occasional cursor trail when a line is broken now and the cursor
10739 placement can seem out by a few pixels also after a rebreak.
10741 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10743 * buffer.C (parseSingleLyXformat2Token): update because minipage
10744 width is now a LyXLength
10746 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10748 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10751 2002-01-17 Juergen Vigna <jug@sad.it>
10753 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10755 * BufferView2.C (lockInset): call edit() so that theLockingInset()
10756 is set correctly and the inset is updated correctly.
10758 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10760 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10761 the beginning of the loop.
10763 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
10765 * lyxrc.C: improve help for use_scalable_fonts
10767 2002-01-17 Allan Rae <rae@lyx.org>
10769 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10771 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10773 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10774 make sure to set their inset_owner to the right value (bug #171)
10776 2001-12-12 Ben Stanley <bds02@uow.edu.au>
10779 * DepTable.C: Implement mtime checking to reduce time spent doing
10782 2002-01-16 Juergen Vigna <jug@sad.it>
10784 * tabular.C (GetAdditionalHeight): one of error fixed.
10786 * lyxrc.C (output): small fix in writing use_pspell.
10788 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
10790 * sp_base.h: #include LString.h
10792 2002-01-16 Allan Rae <rae@lyx.org>
10794 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
10795 Can someone check this please?
10797 * text.C (drawInset): It was possible that p.row would be removed by
10798 breakAgainOneRow upsetting a few other settings. There may be another
10799 small tweak possible by setting need_break_row = 0 when p.row has been
10800 removed but I don't know enough about the logic here.
10802 2002-01-15 Allan Rae <rae@lyx.org>
10804 * text.C (insertChar): removed conditional truism.
10806 * BufferView2.C (removeAutoInsets): More tweaks.
10807 cur_par_prev could be a stray pointer. Check for trailing empty line
10808 in case last line was cur_par and only had an error inset on it.
10810 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10812 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10815 * vc-backend.C (most methods):
10816 * exporter.C (Export):
10817 * converter.C (convert):
10819 * LyXSendto.C (SendtoApplyCB):
10820 * lyxfunc.C (dispatch):
10824 * lyx_cb.C (AutoSave):
10826 * BufferView_pimpl.C (MenuInsertLyXFile):
10827 * buffer.C (runChktex): use Buffer::filePath().
10829 * buffer.h: rename filename to filename_; rename filepath to
10830 filepath_ and make it private
10831 (filePath): new method
10833 * buffer.C (writeFile): use fileName()
10836 * lyx_main.C (init): fix starting of LyX when the binary is a
10837 link from so,ewhere else.
10839 * minibuffer.C: include <cctype> for isprint
10841 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10843 * buffer.C (parseSingleLyXformat2Token): changes associated with the
10844 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10845 name clash with InsetCollapsable's width function.
10847 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10849 * lastfiles.C: include <iterator>
10851 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10853 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10856 * buffer.C (makeLaTeXFile): ditto.
10857 Also make loop operation more transparent.
10859 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10861 * ToolbarDefaults.C: remove trailing comma closing namespace.
10863 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10865 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10868 * trans.C (Load): comment out unused variable, allowed.
10870 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10872 * minibuffer.[Ch] (append_char): new method to recieve input from the
10873 drop-down completion browser. If a key was pressed, then recieve this
10874 char and append it to the existing string.
10875 (peek_event): modify the positioning data passed to the completion
10876 browser so that it can be placed above the minibuffer rather than below.
10877 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10879 * LyXAction.C (init): alloe error-next for readonly documents.
10881 * BufferView2.C (ChangeRefsIfUnique): use standard version of
10884 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10886 * bufferlist.C (readFile): create the buffer _after_ checking that
10889 * lyxfunc.C (verboseDispatch): fix handling of arguments
10891 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10893 * lyxrc.C: use string::erase() instead of initializing to "".
10896 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10898 * BufferView_pimpl.h:
10899 * BufferView_pimpl.C:
10902 * text2.C: tell X when we have made a selection for copying
10904 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10906 * BufferView_pimpl.C (MenuInsertLyXFile):
10907 * lyxfunc.C (menuNew):
10909 (doImport): add shortcuts to directory buttons
10911 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10914 * lyxfunc.C (setStatusMessage):
10915 (getStatusMessage): new methods
10916 (getStatus):use setStatusMessage instead of setErrorMessage
10917 (dispatch): when function is disabled, set error message here
10918 [instead of in getStatus previously]
10920 * BufferView_pimpl.C (workAreaButtonRelease): update
10921 toolbar/menubar here too.
10923 2002-01-13 Allan Rae <rae@lyx.org>
10925 * BufferView2.C (removeAutoInsets): finished off earlier fix.
10926 Now seems indestructible. Remaining task is to audit all other
10927 code affected by deleteEmptyParagraphMechanism. One small quirk
10928 left is that an empty document with an error in the preamble can
10929 be made to report an error but no error box appears. I don't know
10931 (removeAutoInsets): Improved comments.
10933 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
10936 * Thesaurus.C: update for Aiksaurus 0.14
10938 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10940 * text2.C (firstParagraph): removed member function, all uses
10941 replaces with ownerParagraph
10942 (redoParagraphs): here
10943 (updateInset): here
10944 (toggleAppendix): here
10945 * BufferView2.C (insertErrors): here
10946 (setCursorFromRow): here
10948 2002-01-13 Allan Rae <rae@lyx.org>
10950 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10951 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10952 There is still a way to segfault this although you may have to do this
10953 multiple times: Have an InsetERT with an unknown command in it.
10954 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10955 <down-arrow>, <Enter> again, View->DVI, BANG!
10957 * text2.C (setCursor):
10958 (deleteEmptyParagraphMechanism):
10959 * lyxtext.h (setCursor):
10960 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10961 Making use of the return value may help fix other bugs.
10963 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10965 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10967 * LyXView.C (updateMenubar): call MenuBar::update here
10968 (updateToolbar): but not here
10969 (showState): do not update toolbar/menubar
10971 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10972 should need to care about that.
10974 * lyxfunc.C (verboseDispatch): simplify a bit
10975 (getStatus): have a version which takes a pseudoaction, and
10976 another which requires a (kb_action,string).
10978 * LyXAction.C (retrieveActionArg): make it work also when action
10979 is not a pseudo-action.
10980 (getActionName): simplify a bit
10983 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10985 * lyxfunc.C (verboseDispatch): new families of methods with
10986 several ways to specify a command and a bool to indicate whether
10987 the command name and shortcut should be displayed in minibuffer
10988 (eventually, we could extend that to a finer bitmask like
10989 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10990 (dispatch): the pristine dispatch command which just, well,
10991 dispatchs! Note it still sets its result to minibuffer; I'm not
10994 * lyxfunc.h: remove setHintMessage
10996 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10998 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11000 * BufferView_pimpl.C (specialChar): delete new inset if we have
11001 not been able to insert it.
11003 * kbmap.C: revert to using int instead of kb_action, since all we
11004 are dealing with is pseudo-actions.
11006 * LyXAction.C (searchActionArg): change to return int instead of
11007 kb_action, since the result is a pseudoaction.
11009 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
11011 * buffer.C (insertErtContents): Fix (partially) the font bug.
11013 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11015 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11016 as the other one is broken on my machine!
11018 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
11021 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11023 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
11025 * lyxrc.[Ch]: change names and descriptions of popup font variables to
11026 reflect their actual use. Provide compatibility code for older lyxrc
11029 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11031 change names of popup font variables in line with the changes to lyxrc.C
11033 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11035 * buffer.C (asciiParagraph): avoid outputing a word twice after
11038 * lyxrc.C (getDescription): document that document_path and
11039 template_path can be empty.
11041 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11043 * LaTeXFeatures.C (getMacros):
11044 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11046 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11048 * LaTeXFeatures.C (useFloat): require "float" here instead of in
11050 (getPackages): rename feature "floats" to "float". Use an array to
11051 iterate over 'simple' features (i.e. just a \usepackage). Add
11052 handling of "amsmath" (renamed from "amsstyle").
11054 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
11056 * LaTeXFeatures.C (require): Prevent duplicate entries in the
11059 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
11061 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11062 FuncStaus::FuncStatus & FuncStaus::some_method().
11064 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
11066 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11067 of the func_satus stuff. Edited and massaged in various ways by
11070 * lyxfunc.C (getStatus): use FuncStatus
11072 2002-01-08 Juergen Vigna <jug@sad.it>
11074 * text.C (nextBreakPoint): use function Inset::isChar().
11076 * paragraph.C (TeXOnePar): use function
11077 Inset::forceDefaultParagraphs.
11079 * buffer.C (latexParagraphs): use function
11080 Inset::forceDefaultParagraphs.
11082 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11084 * lyx_gui.C (init): set the style of the menu popups to
11085 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11087 2002-01-07 Juergen Vigna <jug@sad.it>
11089 * text.C (setHeightOfRow): small fix
11090 (prepareToPrint): don't look at alignment if we don't have the place
11093 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11095 * box.C: New file. Move the Box methods and functions out of box.h,
11096 following Lars' suggestion.
11098 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11100 * box.h: #include "support/LOstream.h", needed for inlined function.
11103 * lyxtextclasslist.C: added some using std declarations.
11105 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
11107 * box.h: make signed dimensions to allow insets wider than
11108 the screen (bug #162)
11110 * BufferView_pimpl.C: add some insetHit debug
11112 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
11114 * vc-backend.C: add FIXME
11116 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11118 * lyxfunc.C (getStatus): enable code for showing math font status
11121 2002-01-07 Juergen Vigna <jug@sad.it>
11123 * text.C (nextBreakPoint): removed debug output not needed anymore.
11125 2002-01-06 Juergen Vigna <jug@sad.it>
11127 * text.C (nextBreakPoint): fixed up this function we had this bug
11128 since ever but now hopefully we break row better.
11129 (insertChar): we have to check if an inset is the next char as it
11130 could now happen that a large inset is causing a break.
11132 2002-01-05 Juergen Vigna <jug@sad.it>
11134 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11135 if it doesn't like to be drawed.
11137 2002-01-04 Juergen Vigna <jug@sad.it>
11139 * BufferView2.C (lockInset): forgot to set a cursor.
11141 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11143 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
11145 * FormMathsPanel.C:
11148 * form_maths_panel.C:
11149 * form_maths_panel.h:
11150 * form_maths_panel.fd: implemented sub- and super- buttons in math
11153 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11154 (or ^ space) to be used as in TeX (req'd by André).
11156 * lyxfunc.C: Allow ^ and _ again to be used both as
11157 super/subscript (mathed) and as themselves (in text).
11159 2002-01-03 Allan Rae <rae@lyx.org>
11161 * LyXView.C (updateWindowTitle): Setup a short icon title of either
11162 "LyX" or the filename of the current buffer if it has one. This is a
11163 modified form of John Levon's patch.
11165 * XFormsView.C (setWindowTitle): also set icon title.
11167 * LyXView.h (setWindowTitle): signature changed.
11168 * XFormsView.h (setWindowTitle): ditto.
11170 2002-01-02 Juergen Vigna <jug@sad.it>
11172 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11174 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11176 * screen.C (topCursorVisible): introduce a temp var for
11177 text->cursor.row(), handle the case where this row is null. (kindo
11180 * text2.C (setCursor): add a couple of asserts.
11182 * paragraph.h (inset_iterator): add -> operator
11184 * paragraph.[Ch] (autoDeleteInsets): remove member function
11186 * BufferView2.C (removeAutoInsets): rewrite to handle the old
11187 cursor pos correctly and handle inset deletion by itself.
11188 (insertErrors): move iterator declaration out of for expression
11190 * lyxtextclass.C: add <algorithm>
11192 * Makefile.am: added the new files to sources, removed layout.C
11194 * layout.C: removed file
11196 * layout.h: remove LYX_DUMMY_LAYOUT
11198 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11202 * lyxtextclass.[Ch]:
11203 * lyxtextclasslist.[Ch]: new files
11205 * include order changes to a lot of files, also changes because of
11208 2001-12-27 Juergen Vigna <jug@sad.it>
11210 * buffer.C (asciiParagraph): more fixes.
11212 * tabular.C (ascii): make ascii export support export of only the
11213 data separated by a column-delimiter.
11214 (ascii): better support for ascii export.
11216 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11218 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11220 * tabular_funcs.C: use a "using std::getline" instead of the
11221 previous fix from Angus (necessary for cxx + lyxstring)
11223 2001-12-24 Juergen Vigna <jug@sad.it>
11225 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11227 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11228 problems. First check a minipage also if we have some ert-contents
11229 (not only on par->size(), second set the right depth of the paragraph
11230 on the relink to the root-paragraph-list!
11232 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11233 which then did not anymore update the main paragraphs on undo/redo!
11235 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11237 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11238 code. Support all font-changing funcs (even those which are not in
11239 menu currently). Support for reporting font settings in
11240 mathed (disabled until Andre provides a function on mathed's side).
11242 * func_status.h (toggle): small helper function to set toggle
11245 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
11247 * tabular_funcs.C: getline -> std::getline
11249 2001-12-21 Juergen Vigna <jug@sad.it>
11251 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11252 accessed and could be 0 (I couldn't generate this but it seems
11255 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11257 * tabular_funcs.C: add LIstream.h, move write_attribute to..
11258 * tabular_funcs.h: here and include iosfwd
11260 2001-12-20 Juergen Vigna <jug@sad.it>
11262 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11263 inside inset but undo_par was.
11265 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11267 * Thesaurus.C: always include <config.h> in sources.
11271 * box.h: do not include <config.h> in header files
11273 * text.C (paintLastRow): remove unused variable
11275 * text.C (transformChar):
11277 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11279 * Painter.C (text):
11280 * font.C (width): rewrite to use uppercase() instead of
11283 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11285 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
11287 * lyxfind.C: clean up of find failure position change
11289 2001-12-20 Juergen Vigna <jug@sad.it>
11291 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11293 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11294 (TeXRow): added to LaTeX a single tabular row.
11295 (TeXLongtableHeaderFooter): added to output LT-h/f data.
11296 (Latex): simplified and finally good LT-h/f support.
11297 (various_functions): just small adaptions for LT-h/f support.
11299 * tabular_funcs.[hC]: added and moved here all not classfunctions
11302 2001-12-19 Juergen Vigna <jug@sad.it>
11304 * tabular.[Ch]: better support for longtabular options (not finished
11307 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11309 * text.C (paintLastRow): use the label font instead of the font of
11310 the last character to compute the size of *_BOX. This makes more
11311 sense and avoids a crash with empty paragraphs.
11312 Use Painter::rectangle to draw EMPTY_BOX.
11314 2001-12-19 Juergen Vigna <jug@sad.it>
11316 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11317 the paragraphs if the replaced paragraph is not the first one!
11318 Tried to delete not used paragraphs but does not work yet so for
11319 now it's inside #ifdef's and by default off!
11321 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11323 * MenuBackend.C: include "lyx_main.h" instead of declaring
11324 lastfiles (actually was declared as LastFiles* instead of a
11327 2001-12-17 Juergen Vigna <jug@sad.it>
11329 * tabular.C (AppendColumn): applied John's fix
11331 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
11335 * BufferView_pimpl.h:
11336 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11339 * box.h: new start of class for above
11341 * lyxfunc.C: ignore space-only minibuffer dispatches.
11342 Show the command name when it doesn't exist
11344 * minibuffer.C: don't add empty lines to the history
11346 * minibuffer.C: add a space on dropdown completion
11348 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
11350 * text.C: fix line above/below drawing in insets
11352 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11354 * lyxlength.C (LyXLength): Initialize private variables.
11356 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
11358 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11359 when inserting error insets.
11361 2001-12-13 Juergen Vigna <jug@sad.it>
11363 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11364 actually sometimes the before-paragraph.
11365 (setUndo): don't clear the redostack if we're not actually undoing!
11367 2001-12-06 Juergen Vigna <jug@sad.it>
11369 * undo_funcs.C (textHandleUndo): well after John's hint I got here
11370 and fixed redoing of main paragraph, so we can use it now ;)
11372 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11374 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11376 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11379 2001-12-13 André Pönitz <poenitz@gmx.net>
11382 * undo_func.C: minor cleanup
11384 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11386 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11387 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11388 font in urw-fonts package which is marked as -urw-fontspecific and
11389 does not work (incidentally, changing the encoding in the
11390 fonts.dir of this package to -adobe-fontspecific fixes the
11393 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11394 is a crash when undoing first paragraph (Juergen, please take a
11395 look). THis does not mean the undo fix is wrong, just that it
11398 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11399 the (Paragraph*) version when needed instead of duplicating the
11402 * text.C (workWidth): use Inset::parOwner to find out where the
11403 inset has been inserted. This is a huge performance gain for large
11404 documents with lots of insets. If Inset::parOwner is not set, fall
11405 back on the brute force method
11407 * paragraph_pimpl.C (insertInset):
11408 * paragraph.C (Paragraph):
11409 (cutIntoMinibuffer): set parOwner of insets when
11410 inserting/removing them
11412 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11414 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
11420 * mathed/formulabase.C:
11421 * mathed/math_cursor.[Ch]:
11422 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11425 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11427 * lyxlength.[Ch] (operator!=): new function
11429 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11431 * text.C (workWidth): use Inset::parOwner to find out where the
11432 inset has been inserted. This is a huge performance gain for large
11433 documents with lots of insets. If Inset::parOwner is not set, fall
11434 back on the brute force method
11436 * paragraph_pimpl.C (insertInset):
11437 * paragraph.C (Paragraph):
11438 (cutIntoMinibuffer): set parOwner of insets when
11439 inserting/removing them
11441 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11443 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11445 * tabular-old.C (getTokenValue):
11446 * tabular.C (getTokenValue):
11447 (write_attribute): new versions for LyXLength
11448 (everywhere): adjust the use of widths
11450 * tabular.h: change the type of widths from string to LyXLength
11452 2001-12-11 Ben Stanley <bds02@uow.edu.au>
11454 * paragraph.C: fixed missing line number count when exporting
11455 Environments to LaTeX file
11457 * buffer.C: added informational message for checking line numbers.
11459 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11461 * text2.C (deleteEmptyParagraphMechanism): if there is only one
11462 paragraph, do the 'double space' part, but not the 'empty
11465 * text.C (workWidth): small optimization
11466 (getLengthMarkerHeight): use minimal size for negative lengths.
11468 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
11470 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11472 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11474 2001-12-11 André Pönitz <poenitz@gmx.net>
11477 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11479 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11481 * text2.C: keep selection on a setFont()
11483 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11485 * lyx_cb.C: another bv->text misuse, from insert label
11487 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11490 * kbsequence.C: re-instate nmodifier mask
11492 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
11494 * lyx_main.h: make lyxGUI private.
11496 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11498 * lyxfind.C: place the cursor correctly on failed search
11500 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11502 * text.C (getLengthMarkerHeight): for small heights, the arrows
11503 are not always on top/bottom of the text
11504 (drawLengthMarker): smaller arrows; take the left margin in
11505 account; draw also vfills.
11507 (paintLastRow): remove special code for vfill and standard spaces,
11508 since everything is handled in drawLengthMarker now.
11510 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11512 * buffer.C (insertErtContents): try to handle font and language
11513 interaction a bit better.g
11515 * ColorHandler.C (updateColor): change the hash to cover the whole
11516 LColor enum, ws cleanup
11517 (getGCLinepars): ditto
11518 (getGCLinepars): only lookup in the linecache once.
11520 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
11522 * iterators.C (operator++): Make the iterator more robust
11524 * BufferView2.C (removeAutoInsets): Use paragraph iterators
11526 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11528 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11531 * text.C: better added space drawing
11533 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11536 * BufferView2.C: fix layout combo update on inset unlock
11538 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11540 * Makefile.am: don't compile unused files
11542 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11546 * LyXAction.C: remove old LFUN_LAYOUTNO
11548 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11550 * paragraph_pimpl.h:
11551 * paragraph_pimpl.C: isTextAt() doesn't need font param
11553 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11556 * lyxlex.C: little cleanup
11558 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11560 * BufferView_pimpl.C: fix insertAscii for insets
11562 2001-12-05 Juergen Vigna <jug@sad.it>
11564 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11565 set the right font on the "multi" paragraph paste!
11567 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11573 * lyxlength.C: remove out-commented code.
11575 * BufferView_pimpl:
11589 * vc-backend.C: change "while(" to "while ("
11591 * lyxlength.[Ch]: add zero function to check if length is zero or
11593 * lyxgluelength.C: use it
11595 2001-12-05 Allan Rae <rae@lyx.org>
11597 * lyxlength.C: Attempted a fix for the abs(int) header selection.
11598 Works for 2.95.3, from what I understand of Garst's reports this should
11599 work for other g++ versions. We're screwed if the abs(int) definition
11600 changed between bugfix releases of gcc.
11602 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11604 * text.C: fix chapter label offset !
11606 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11609 * text.C: fix hfill at end of line, clean up
11611 2001-12-04 Juergen Vigna <jug@sad.it>
11613 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11614 that we force an update of the inset and it's owners if neccessary.
11616 2001-12-03 Juergen Vigna <jug@sad.it>
11618 * text.C (rowLast): simplified code
11620 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11622 * lyxfunc.C: fix show options on timeout
11624 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11626 * screen.C (topCursorVisible): scroll half a page when the cursor
11627 reached top of bottom of screen
11629 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
11631 * minibuffer.C: deactivate on loss of focus
11633 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11635 * vspace.[Ch] (operator!=): add operator.
11637 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
11639 * BufferView_pimpl.C: refuse to open an inset when
11640 there's a selection.
11642 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
11644 * BufferView_pimpl.C: allow to click on RHS of full row insets
11646 2001-11-30 Juergen Vigna <jug@sad.it>
11648 * tabular.C (LyXTabular): add a same_id to set the same id's in the
11649 insets for undo reasons.
11651 2001-11-28 André Pönitz <poenitz@gmx.net>
11653 * vspace.[Ch]: cosmetical changes
11655 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11665 * kbsequence.C: part re-write of old kb code
11668 * WorkArea.C: remove Lgb_bug_find_hack
11670 2001-11-30 José Matos <jamatos@fep.up.pt>
11672 * buffer.C (makeDocBookFile): add a comment to point a hack.
11673 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11674 Fixed a double write of labels.
11676 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11679 * LaTeX.h Fixed bug in LaTeX class where it would not
11680 re-run latex if no depfiles were changed, but the .dvi was removed.
11682 2001-11-28 André Pönitz <poenitz@gmx.net>
11684 * all the files from the change on 2001/11/26:
11685 use lyx::layout_type instead of LyXTextClass::size_type
11686 use lyx::textclass_type instead of LyXTextClassList::size_type
11688 2001-11-29 Juergen Vigna <jug@sad.it>
11690 * text.C: added support for paragraph::isFreeSpacing()
11692 * buffer.C: same as above
11694 * paragraph.h: inserted isFreeSpacing() function to enable
11695 FreeSpacing inside InsetERT.
11697 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11698 of the paragraph's in the cut/copy buffer to 0!
11700 * text2.C (removeRow): remove the assert as it can!
11702 * lyxtext.h: added helper function firstRow returning firstrow and
11703 made firstrow private again.
11705 * BufferView2.C (lockInset): don't relock if we're already locked!
11707 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11708 the only paragraph.
11709 (removeRow): added Assert::(firstrow)
11711 * debug.C: forgot to add INSETTEXT here.
11713 2001-11-28 Juergen Vigna <jug@sad.it>
11715 * sp_spell.C (initialize): changed error text to more general
11716 spellchecker command use (not only ispell!)
11718 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11720 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11722 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11724 * vspace.C: initialise lyxgluelength on failure
11726 2001-11-28 Allan Rae <rae@lyx.org>
11728 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11729 declaration & definition that looks like a function declaration.
11731 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11733 * BufferView2.C (copy):
11734 (copyEnvironment): do not clear the selection when doing a copy.
11736 * text.C (paintFirstRow): compilation fix
11738 2001-11-27 Ben Stanley <bds02@uow.edu.au>
11740 * tabular.C (Latex): correct line count when writing latex.
11742 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
11744 * paragraph_pimpl.h:
11745 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11748 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11752 * LColor.C: change vfillline->added_space
11754 * text.C: add markers and text for added space
11756 * vspace.C: fix comment
11758 2001-11-28 André Pönitz <poenitz@gmx.net>
11760 * paragraph.C: whitespace changes
11761 * all the other files from the change on 2001/11/26:
11762 change *::pos_type into lyx::pos_type
11764 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
11766 * buffer.C (parseSingleLyXformat2Token): Set the language to the
11767 language of the document when inserting error insets.
11769 2001-11-26 André Pönitz <poenitz@gmx.net>
11771 * BufferView_pimpl.[Ch]:
11779 * paragraph_pimpl.[Ch]:
11782 * text2.C: reduce header dependencies, introduce type for positions
11784 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11786 * <various>: change to use Alert.h
11788 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
11790 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11791 when encountering an unknown token.
11792 (readLyXformat2): Show an error message if there were unknown tokens.
11794 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
11797 * BufferView_pimpl.C:
11801 * text2.C: use par->isInset()
11803 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11805 * paragraph_pimpl.h:
11806 * paragraph_pimpl.C: cleanup
11808 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11810 * text2.C (removeRow):
11811 * text.C (setHeightOfRow): remove useless (and costly) call to
11814 2001-11-20 Allan Rae <rae@lyx.org>
11816 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11817 Now need Inset*::checkInsertChar() to return true for appropriate
11818 cases so that the characters in the minibuffer will actually be
11821 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11823 * text.C: change the order of the includes.
11824 (workWidth): initialize it at once.
11825 (workWidth): make maxw unsigned
11826 (setHeightOfRow): remove unused variable (inset)
11827 (selectSelectedWord): remove unused variable (inset)
11828 (paintRowText): fix drawing of hfill characters, and clean up a bit.
11830 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11832 * lyxserver.C (emergencyCleanup): do not try to close pipes if
11833 server is not running.
11835 (closeConnection): add debug info when server is disabled.
11837 * ColorHandler.C (getGCForeground): send debug message to GUI
11840 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11842 * kbmap.C (bind): modify because return conventions of
11843 kb_sequence::parse have changed.
11845 * kbsequence.C (parse): only ignore spaces and not any stupid
11846 control character. This avoids tests like s[i] <= ' ', which are
11847 guaranteed to fail with 8bit characters and signed chars.
11848 Change return code to string::npos when there have been no error
11849 (0 was a bad idea when error is at first character)
11851 2001-11-14 José Matos <jamatos@fep.up.pt>
11854 * buffer.C (simpleDocBookOnePar): removed unused argument.
11856 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11858 * text.C (selectNextWordToSpellcheck): do not test explicitely for
11859 insets which are part of a word. Paragraph::isLetter takes care of
11860 that now. Use Paragraph::isInset to identify insets.
11861 (selectSelectedWord): do not test for hyphenation break.
11863 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11864 that protected spaces are considered as spaces.
11866 * paragraph.C (isLetter): cleanup the code for ispell extras; use
11869 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
11872 * lyxserver.C: fix it. and small cleanup.
11874 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11876 * BufferView_pimpl.C: use inline helpers
11879 * LaTeXFeatures.C: fix typos
11882 * Spacing.C: move spacing_string into class
11884 * ToolbarDefaults.C: move stuff into namespace anon
11886 * layout.h: update enum
11888 * lyxfunc.C: use better debug
11890 * minibuffer.h: fix typo
11894 * WorkArea.C: add and use Debug::WORKAREA
11898 * text2.C: code re-organisation, inline helpers
11900 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
11902 * Layout.C: replaced a few cases of std::vector.size() == 0 with
11903 std::vector.empty().
11905 2001-11-09 Allan Rae <rae@lyx.org>
11907 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11908 '\n's after tables. Tabular and ERT inset work now makes this no
11911 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11914 * minibuffer.C: fix crash, improve drop-down completion
11916 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
11919 * lyxserver.C: invalidate fd's when doing endPipe()
11921 2001-11-08 José Matos <jamatos@fep.up.pt>
11923 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11924 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11927 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11929 2001-11-07 José Matos <jamatos@fep.up.pt>
11932 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11935 * buffer.C (sgmlOpenTag):
11936 * buffer.C (sgmlCloseTag): removed debug info.
11938 * buffer.h (sgmlOpenTag):
11939 * buffer.h (sgmlCloseTag): made public.
11941 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11943 * buffer.C (saveParamsAsDefaults):
11944 * lyx_cb.C (MenuLayoutSave): remove
11946 * LyXAction.C (init):
11948 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11950 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11952 * buffer.C (setPaperStuff): removed from here...
11954 * bufferparams.C (setPaperStuff): ... and moved there.
11956 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
11960 * XFormsView.C: add support for drop-down completion
11962 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
11964 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11967 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11969 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11972 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
11974 * lyx_main.C: change ref to known bugs
11976 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
11978 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11979 to work around older babel problems.
11981 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11983 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11985 2001-10-24 Juergen Vigna <jug@sad.it>
11987 * tabular-old.C (ReadOld): below variable changes reflected.
11989 * tabular.[Ch]: added ltType struct for longtable header/footer
11990 defines and changed all instances where they are used. Added
11991 future support for double top/bottom rows.
11993 2001-10-24 José Matos <jamatos@fep.up.pt>
11995 * buffer.h (docbookHandleCaption):
11996 * buffer.C (docbookHandleCaption): removed unused function.
11997 (makeDocBookFile): moved docbook supported version to v4.1.
11999 2001-10-24 José Matos <jamatos@fep.up.pt>
12002 * tabular.C (docbookRow): new function to export docbook code of a row.
12003 (DocBook): now honors the longtable flags.
12005 2001-10-23 José Matos <jamatos@fep.up.pt>
12008 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12009 of the lyx defined sgml entities used in a docbook/linuxdoc document.
12011 * buffer.C (makeLinuxDocFile):
12012 (makeDocBookFile): reworked the preamble, more clean, and with
12013 support for lyx defined entities. Changed the document declaration
12014 to be more XML friendly.
12016 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12017 if we need to output XML that should be done with a filter.
12019 2001-10-22 Juergen Vigna <jug@sad.it>
12021 * sp_pspell.h (class PSpell): add alive function needed in the
12022 controller to see if the spellchecker could be started.
12024 2001-10-22 Juergen Vigna <jug@sad.it>
12026 * buffer.C (insertStringAsLines): modify the font for inserting
12027 chars in certain conditions by calling checkInsertChar(font).
12029 2001-10-19 Juergen Vigna <jug@sad.it>
12031 * text.C (workWidth): use getRow instead of wrong algorithm.
12032 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12034 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
12039 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12041 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12043 * text.C (workWidth): do not search for the exact row when
12044 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12045 optimization for big documents.
12047 2001-10-18 Juergen Vigna <jug@sad.it>
12049 * text.C (workWidth): new function with added Inset * parameter.
12051 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12053 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12055 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12056 change return type of getColumnNearX.
12059 * text.C (changeRegionCase): use uppercase/lowercase instead of
12062 (rightMargin): simplify code by factoring out the uses of
12067 (appendParagraph): use Paragraph::size_type
12069 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12071 * vspace.C (asLatexString): add a missing break
12073 2001-10-15 Herbert Voss <voss@perce.de>
12075 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12077 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12079 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12082 2001-10-10 André Pönitz <poenitz@gmx.net>
12084 * lyxfunc.C: removed greek_kb_flag.
12086 2001-10-10 Herbert Voss <voss@perce.de>
12088 * lyx_main.C: delete global string help_lyxdir.
12090 2001-10-09 Herbert Voss <voss@perce.de>
12092 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12094 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12096 * lyx_main.C: added global string help_lyxdir.
12098 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12100 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
12102 * lyxrc.C (set_font_norm_type): support iso8859-4
12104 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
12106 * LaTeX.C (deplog): add another regex for MikTeX
12108 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
12110 * lyxrc.C (set_font_norm_type): support iso8859-3
12112 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12114 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12116 * LaTeXFeatures.C: remove special case of french and index
12118 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12119 before \begin{document}). This solves several incompatibilities.
12121 2001-10-03 Garst Reese <reese@isn.net>
12123 * lyx_cb.C: change CheckTex error msg.
12125 2001-10-03 José Matos <jamatos@fep.up.pt>
12127 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12129 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12131 * .cvsignore: update
12133 * lyx_main.C (commandLineVersionInfo): use new style version info.
12135 * buffer.C (writeFile):
12137 (makeLinuxDocFile):
12138 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12140 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12142 * version.h: update to use stuff in version.C
12144 * version.C.in: new file. Contains version information determined
12145 at compile time. This is a merging of version.h and
12148 2001-10-03 Juergen Vigna <jug@sad.it>
12150 * BufferView_pimpl.C (update): don't change "dirty" status in
12153 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
12155 * WorkArea.C (c-tor): re-position version string slightly.
12157 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
12159 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12160 revert to previous code.
12162 WorkArea.[Ch]: (show, destroySplash): methods removed.
12164 WorkArea.C: rework code so that it's an amalgam of the codes before and
12165 after the splash screen was moved to WorkArea.
12167 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12170 * vspace.C (inPixels):
12173 * buffer.C (insertStringAsLines):
12174 (asciiParagraph): fix types to be large enough
12176 * lyxlex_pimpl.h: change member status from short to int
12178 * layout.h: fix type of endlabeltype
12181 * kbsequence.C (parse): change return type to string::size_type
12183 * LaTeX.C (updateBibtexDependencies): comment out unneeded
12186 * Bullet.C (bulletSize):
12187 (bulletEntry): do not use short ints as parameters
12189 * BufferView2.C (insertLyXFile): change a char to an int.
12191 * WorkArea.C (WorkArea): remove unneeded floats in computation
12193 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
12195 * buffer.C (asciiParagraph): Treat '\\' as other chars.
12197 * paragraph.C (asString): Do not ignore newline/hfill chars when
12198 copying to the clipboard.
12200 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
12202 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12203 after a multi-line inset.
12205 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
12207 * paragraph.C (validate): Set NeedLyXFootnoteCode
12209 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12211 * lyxfont.C (LyXSizeNames): changed increase-error to increase
12212 and decrease-error to decrease.
12214 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12216 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12217 it more readable (should be equivalent)
12219 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
12221 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12223 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12225 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12226 of a cursor (row, etc.) after a character has been deleted
12227 (deleteEmptyParagraphMechanism): call the method above on _all_
12228 cursors held by the LyXText when a double space has been
12231 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12233 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12235 (resizeCurrentBuff): remove code to destroy the old splash dialog.
12237 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12238 background. Use greyOut() and the new show() methods to toggle between
12239 the foreground and background. Add code to remove the splash after
12240 its initial showing.
12242 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12243 (create_forms): no longer call Dialogs::showSplash.
12245 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12247 * .cvsignore: add version_info.h
12249 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12251 * version_info.h.in: new file
12253 * Makefile.am: add version_info.h.in
12255 * lyx_main.C (commandLineVersionInfo): use version_info defined in
12256 version_info.h instead of VERSION_INFO
12258 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
12260 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12261 The ERT inset now returns string().
12263 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
12265 * lyxtext.h, text.C (selectNextWord): renamed as
12266 selectNextWordToSpellcheck.
12268 * text.C (selectNextWordToSpellcheck): Modified to not select
12269 words inside an ERT inset.
12271 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12273 * lyx_cb.C (MenuLayoutSave): change a bit the question
12275 * sp_base.h: include <sys/types.h>
12277 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
12279 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12281 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
12283 * several files: fix typos in user-visible strings
12285 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12287 * text2.C (pasteSelection): do not set the selection, since it
12288 will be cleared later. Actually, the intent was to fix the way the
12289 selection was set, but I figured rmoving the code was just as good.
12291 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
12293 * FontLoader.C (available): Check if font is available without
12296 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
12298 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12300 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
12302 * lyxrc.[Ch]: added display_graphics variable and associated code.
12304 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12306 * bufferparams.C (hasClassDefaults): new method. Returns true if
12307 the buffer parameters correspond to known class defaults
12309 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
12311 * XFormsView.C (show): set minimum size to the main window.
12313 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12315 * text2.C (copySelection):
12317 * lyxfind.C (LyXReplace):
12318 * BufferView_pimpl.C (Dispatch): pass the correct flag to
12319 LyXText::selectionAsString.
12321 * paragraph.C (asString): add "label" argument to the second form
12323 * text2.C (selectionAsString): add "label" argument and pass it to
12324 Paragraph::asString.
12326 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12328 * lyx_main.C (commandLineHelp): remove version information
12330 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
12332 * lyx_main.C: add -version commandline option
12334 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12336 * paragraph.h: make the optional constructor arg required instead.
12337 some modifications to other files because of this.
12339 * minibuffer.C (C_MiniBuffer_peek_event): make it static
12341 * lyxserver.C (C_LyXComm_callback): make it static
12343 * lyx_main.C (error_handler): make it static
12345 * lyx_gui.C (LyX_XErrHandler): make it static
12347 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12349 * WorkArea.C: make the extern "C" methods static.
12351 * Makefile.am (lyx_LDADD): simplify
12353 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12355 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12356 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12358 * LyXAction.C (init):
12359 * lyxfunc.C (dispatch): associated code removal.
12361 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12363 * lyxfont.h (isSymbolFont): shut off warning
12365 * text.C (setHeightOfRow):
12366 (getVisibleRow): fix crash with empty paragraphs which have a
12369 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
12371 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12374 2001-09-04 José Matos <jamatos@fep.up.pt>
12377 * tabular.C (docbook): rename docBook method to docbook.
12379 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12381 * Makefile.am: add dependencies to main.o.
12383 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
12385 * FontLoader.C (available): Return false if !lyxrc.use_gui
12387 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
12389 * FontInfo.C (query):
12390 * converter.C (view):
12391 * importer.C (Import):
12392 * exporter.C (Export): Can not -> cannot.
12394 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
12396 * BufferView_pimpl.C: allow to create index inset even if
12399 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12401 * buffer.C (getLists): replace boost::tie code with an explicit pair
12402 as boost::tie can break some compilers.
12404 * iterators.h: Added a std:: declaration to the return type of
12407 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
12409 * lyxrc.C: add help for view_dvi_paper_option, default to safe
12412 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
12414 * iterators.[Ch]: New files. Provide paragraph iterators.
12416 * buffer.C (changeLanguage): Use paragraph iterators.
12417 (isMultiLingual): ditto
12419 * BufferView2.C (ChangeInsets): Use paragraph iterators.
12421 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
12423 * FontLoader.C: Support for cmr font.
12425 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
12427 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12428 (available): New method.
12430 * FontInfo.C (getFontname): Use scalable fonts even when
12431 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12434 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12436 * converter.C (Formats::view): reverted! Incorrect fix.
12438 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12440 * converter.C (Formats::view): only output the -paper option
12441 if the dvi viewer is xdvi, thereby fixing bug #233429.
12443 2001-08-23 Herbert Voss <voss@perce>
12445 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12447 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
12449 * Spacing.h (Spacing): Set space to Default on in the default
12452 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
12454 * vc-backend.h (RCS::versionString): add RCS to version
12455 (CVS::versionString): add CVS to version
12457 * vc-backend.C (scanMaster): do not add CVS to version.
12458 (scanMaster): do not add RCS to version
12460 * lyxvc.C (versionString): new method
12462 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12464 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12466 * Spacing.C (set): initialize fval
12468 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
12470 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12473 2001-08-16 Juergen Vigna <jug@sad.it>
12475 * lyxfunc.C (dispatch): implemented the new FINISHED states.
12477 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12479 * BufferView_pimpl.C:
12482 * text2.C: setParagraph takes linespacing now
12484 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
12486 * LyxAction.C: add internal LFUN_CITATION_INSERT
12488 * LyXView.C: actually apply fix
12490 * bufferlist.C: fix open non-existent file
12492 * lyxfind.C: fix indentation
12494 * lyxfunc.C: remove unneeded assert, fix typo
12496 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12498 * MenuBackend.C: use "Floatname List"
12500 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
12502 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12503 when converting LaTeX layout to insetERT.
12504 Generate a non-collapsed float when reading old float
12506 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12508 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12511 2001-08-13 Juergen Vigna <jug@sad.it>
12513 * text.C (fill): return 0 instead of 20 as this seems to be the more
12516 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12518 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12521 2001-08-13 Juergen Vigna <jug@sad.it>
12523 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12525 (SearchBackward): comment out the unlocking of the inset_owner this
12526 should not be needed!
12528 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
12530 * Many files: Remove inherit_language, and add latex_language
12532 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12533 collapsible insets.
12535 2001-08-10 Juergen Vigna <jug@sad.it>
12537 * text.C (prepareToPrint): fixed hfill-width in draw!
12539 * BufferView2.C (selectLastWord): save the selection cursor as this
12540 now is cleared in the function LyXText::clearSelection!
12542 2001-08-08 Juergen Vigna <jug@sad.it>
12544 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12545 BACKSPACE type functions.
12547 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12548 is only cutted from the document but not put in the cut-buffer, where
12549 still the old stuff should be.
12551 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12553 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12555 * tabular.C (SetWidthOfCell): fixed special case where the width
12557 (LeftLine): handle '|' in align_special.
12559 (LeftAlreadyDrawed): ditto
12560 (SetWidthOfCell): ditto
12562 2001-08-07 Juergen Vigna <jug@sad.it>
12564 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12566 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12568 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12569 * lyxlex.[hC]: ditto
12571 2001-08-06 Juergen Vigna <jug@sad.it>
12573 * text.C (getVisibleRow): fix up row clearing a bit.
12575 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12577 * minibuffer.C: make sure the X server sees the changes in the input.
12579 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12581 * paragraph.C (getFont): split into...
12582 (getLabelFont): this
12583 (getLayoutFont): and this
12584 * paragraph_pimpl.C (realizeFont): calling this
12586 * text2.C (getFont): split into...
12587 (getLayoutFont): this
12588 (getLabelFont): and this
12589 (realizeFont): all three calling this
12591 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12594 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12596 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12598 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
12600 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12601 layouts from the Quote inset insertion.
12603 2001-08-03 Juergen Vigna <jug@sad.it>
12605 * BufferView_pimpl.C (update): do the fitCursor only at the end!
12607 * screen.C (drawFromTo): don't call fitcursor here and do the loop
12608 only if status not is already CHANGED_IN_DRAW (second level).
12610 * text.C (draw): don't set the need_break_row when inside an
12613 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12615 * buffer.C (parseSingleLyXformat2Token): handle more latex
12618 * bufferview_funcs.[hC]: change function names to
12619 begin with small char, adjust other files.
12621 2001-08-02 André Pönitz <poenitz@gmx.net>
12624 BufferView_pimpl.C: remove broken special code for math-greek
12626 2001-08-02 Juergen Vigna <jug@sad.it>
12628 * BufferView_pimpl.C (update): redone this function so that we
12629 update the text again if there was a CHANGE_IN_DRAW.
12631 * screen.C (cursorToggle): removed LyXText parameter and recoded.
12632 (drawFromTo): added a new internal bool which is used by draw() and
12634 (general): some cursor drawing problems fixed.
12636 2001-08-01 Juergen Vigna <jug@sad.it>
12638 * lyxfind.C (LyXFind): fixed
12639 (SearchForward): ditto
12640 (SearchBackward): ditto
12642 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12643 spurius drawing of the cursor in the main area.
12645 * text2.C (status): small fix which could lead to a segfault!
12646 (clearSelection): remove unneeded BufferView param.
12648 2001-08-01 André Pönitz <poenitz@gmx.net>
12650 * lyxfunc.C: small change due to changed mathed interface
12652 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12654 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12656 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
12658 * lyxfunc.c: fail gracefully if file doesn't exist
12663 * BufferView_pimpl.C: IsDirWriteable() proto changed
12665 * LyXView.C: fix updateWindowTitle() to store the last title
12667 2001-07-31 Juergen Vigna <jug@sad.it>
12669 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12670 the font (wrong since using of Paragraph::highestFontInRange).
12672 * paragraph.C (highestFontInRange): added a default_size parameter.
12674 * text.C (getVisibleRow): minor clear row changes (still not perfect).
12675 (setHeightOfRow): reformat
12677 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12679 * converter.[hC] + affected files: move to (inital-char)lowercase
12682 * ParagraphParameters.C (ParagraphParameters): remove commented code
12684 * PainterBase.[Ch]: remove commented code
12686 * LaTeXFeatures.h: add "bool floats" for float.sty
12688 * LaTeXFeatures.C (LaTeXFeatures): init floats
12689 (require): handle float
12690 (getPackages): do it with floats
12692 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12694 * BufferView_pimpl.C (Dispatch): improve handling of
12695 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12697 * commandtags.h: #include lyxfont.h here temporarily to avoid
12700 * bufferlist.h: include LString.h here.
12702 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12704 * text2.C (getStringToIndex): new method.
12706 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
12708 * *: Reduced header file dependencies all over.
12710 2001-07-30 Baruch Even <baruch@lyx.org>
12712 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12714 2001-07-29 Baruch Even <baruch@lyx.org>
12716 * buffer.C (readInset): Changed GRAPHICS to Graphics.
12718 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12720 * ParameterStruct.h (endif): add a default constructor to make
12721 sure that all variables is initialized.
12723 * ParagraphParameters.C (ParagraphParameters): adjust
12725 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12727 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12728 index; also, check that there is something to index, and that it
12729 does not span over several paragraphs.
12730 (doubleClick): use WHOLE_WORD_STRICT for double click.
12732 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12734 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12737 2001-07-26 Baruch Even <baruch@lyx.org>
12739 * buffer.C (readInset): Changed to call up InsetGraphics when reading
12740 an InsetFig figure, backwards compatible reading of old figure code.
12742 2001-07-27 Juergen Vigna <jug@sad.it>
12744 * text2.C: font.realize function adaption.
12746 * text.C (draw): add a warnings lyxerr text if needed.
12748 * layout.C: font.realize function adaption.
12750 * language.C: add inherit_language and implement it's handlings
12752 * bufferview_funcs.C (StyleReset): remove language parameter from
12753 font creation (should be language_inherit now).
12755 * bufferparams.C (writeFile): handle ignore_language.
12757 * paragraph.C (getFontSettings): the language has to be resolved
12758 otherwise we have problems in LyXFont!
12760 * lyxfont.C (lyxWriteChanges): added document_language parameter
12761 (update): removed unneeded language parameter
12763 * paragraph.C (validate): fixed wrong output of color-package when
12764 using interface colors for certain fonts in certain environments,
12765 which should not seen as that on the final output.
12767 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
12769 * BufferView_pimpl.C:
12774 * LyXAction.C: add thesaurus support
12777 * lyxfind.C: add "once" parameter, for thesaurus, to not
12778 move to the next match
12780 2001-07-26 Juergen Vigna <jug@sad.it>
12782 * lyxfont.C (realize): honor ignore_language too!
12785 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12787 * text.C (draw): one place more for ignore_language to not draw
12790 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
12792 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12794 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12796 * buffer.C (parseSingleLyXformat2Token): a more general fix for
12797 the minipage conversion problem.
12799 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12801 * buffer.C (parseSingleLyXformat2Token): check minipage if we
12804 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12806 * BufferView.h: don't forward declare WorkArea
12808 * BufferView.C: don't include WorkArea.h
12810 2001-07-25 André Pönitz <poenitz@gmx.net>
12814 * lyxfunc.C: new LFUN 'math-space'
12816 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12818 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12820 * text2.C (toggleInset): call open/close
12822 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12824 * lyxfunc.C (dispatch): add debug for the disabled case
12826 * font.C (buttonText): make similar to rectText
12828 * buffer.C (readInset): comment out parsing of insetlist and
12831 * PainterBase.C (rectText): small correction
12833 * BufferView_pimpl.C: comment out insettheorem and insetlist
12834 * LyXAction.C: ditto
12835 * commandtags.h: ditto
12837 2001-07-24 Juergen Vigna <jug@sad.it>
12839 * text.C (draw): honor the ignore_language.
12841 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12843 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12845 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12848 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12850 * lyxtext.h: remove unused (and unimplemented) methods
12852 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12854 * text.C (getVisibleRow): honor background color
12857 * Painter.h: remove default color argument for fillRectangle
12859 * text.C (backgroundColor): new method
12861 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12863 * text.C (getVisibleRow): adjust
12865 * font.[Ch] (rectText): new method, metrics
12866 (buttonText): new method, metrics
12868 * PainterBase.[hC]: make rectText and buttonText always draw and take
12871 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12873 * ToolbarDefaults.C (read):
12874 * MenuBackend.C (read): allow escaping in all strings
12876 * BufferView_pimpl.C (insertAndEditInset): new method.
12877 (Dispatch): use insertAndEditInset whenever appropriate.
12879 * BufferView_pimpl.C (insertNote): removed
12881 * BufferView_pimpl.C (smartQuote): new method, moved from
12882 BufferView; if an insetquote cannot be inserted, insert a '"'
12885 * BufferView2.C: remove insertCorrectQuote();
12887 * lyxfunc.C (getStatus): Add support for all remaingin
12888 inset-insert lfuns.
12890 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12892 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12893 command (necessary to pass " as parameter of self-insert.
12895 * text.C (selectWordWhenUnderCursor):
12896 (selectWord): add word_location parameter
12897 (selectWordWhenUnderCursor): same + remove special code for word
12899 (selectNextWord): use kind() to guess type of insetspecialchar,
12902 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12903 (insertErtContents): create ert insets as collapsed.
12904 (readInset): better compatibility code for Info inset.
12906 2001-07-20 Juergen Vigna <jug@sad.it>
12908 * lyxfunc.C (dispatch): use always LyXFind now!
12910 * text2.C (init): add a reinit flag so that the LyXText can be
12911 reinited instead of deleted and reallocated (used in InsetText).
12913 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12919 2001-07-18 Juergen Vigna <jug@sad.it>
12921 * text.C (selectNextWord): handle insets inside inset by calling
12922 always the bv->text functions so that we can go up the_locking_inset!
12924 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12925 in strange locations when inside an inset!
12927 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12928 handling to include insets.
12930 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12932 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12934 * LyXAction.C (init):
12936 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12937 LIGATURE_BREAK, since the name is so stupid.
12939 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12941 * buffer.C (readInset): enable reading of new InsetNotes as well as old
12944 * FontLoader.C: remove FORMS_H_LOCATION cruft.
12946 * sp_form.[Ch]: remove.
12948 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12950 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12953 * src/buffer.C (readInset): ditto.
12955 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12957 * BufferView_pimpl.C (specialChar): new method. Obsoletes
12958 menuSeparator(), endOfSentenceDot(), ldots() and
12959 hyphenationPoint(), which are therefore removed.
12960 (Dispatch): handle LFUN_HYPHENATION_BREAK.
12962 * LyXAction.C (init):
12963 * commandtags.h: add LFUN_HYPHENATION_BREAK.
12965 * paragraph.C (getWord): removed.
12967 * BufferView_pimpl.C (Dispatch): use last word or selection for
12968 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12970 * lyx_main.C (queryUserLyXDir): do not ask before creating
12971 user_dir, except if it has been named explicitely.
12973 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12975 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12976 a document of zero size.
12978 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
12980 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12981 approriately in the c-tor and in require().
12982 (getPackages): output the appropriate LaTeX for natbib support.
12984 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12985 variables "use_natbib" and "use_numerical_citations" when reading the
12987 (readInset): read the various natbib cite commands.
12988 (validate): white-space change.
12990 * bufferparams.[Ch]: new variables "bool use_natbib" and
12991 "bool use_numerical_citations".
12992 (writeFile): output them in the LyX file.
12994 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12996 * lyxfunc.C (getStatus): add support for all the inset insertion
12999 * text2.C (insertInset):
13000 * paragraph.C (insetAllowed):
13001 * BufferView_pimpl.C (insertInset): update to take in account the
13002 renaming of insertInsetAllowed
13004 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13006 * text2.C (getInset): new method. returns inset at cursor position.
13008 * BufferView_pimpl.C (Dispatch): changes because of this.
13010 * LyXAction.C (init): rename open-stuff to inset-toggle.
13012 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13014 * text2.C (toggleInset): renamed from openStuff; use
13017 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
13019 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13021 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13023 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
13025 * buffer.C (readLyXformat2): Add filename to the error dialog
13027 2001-07-18 Juergen Vigna <jug@sad.it>
13029 * tabular.C (GetCellNumber): put an assert here instead of the check!
13031 2001-07-17 Juergen Vigna <jug@sad.it>
13033 * BufferView_pimpl.C (toggleSelection): adapted too.
13035 * text.C (selectNextWord): adapted for use with insets.
13036 (selectSelectedWord): ditto
13038 2001-07-17 Juergen Vigna <jug@sad.it>
13040 * sp_spell.C (PSpell): fix initialitation order.
13042 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13044 * paragraph.C: spacing
13046 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
13048 * sp_spell.C: repair language selection for pspell
13050 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13052 * lyxfunc.h: change more methods to begin with lower char.
13054 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
13056 * buffer.C (parseSingleLyXformat2Token): Generate error insets
13057 for unknown layouts.
13059 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
13061 * buffer.C (readLyXformat2): Generate an error dialog if there are
13064 2001-07-16 Juergen Vigna <jug@sad.it>
13066 * sp_spell.C: always compile ISpell part.
13068 * lyxrc.C: added use_pspell entry and it's handling.
13070 2001-07-13 Juergen Vigna <jug@sad.it>
13072 * sp_spell.C: removed double includes.
13074 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
13076 Consistent use of Lsstream.h:
13077 * Lsstream.h: added using std::stringstream for consistencies sake.
13079 * buffer.C: removed using std::stringstream
13081 * lyxfont.C (stateText):
13082 * paragraph.C (asString):
13083 * text.C (selectNextWord, selectSelectedWord):
13084 * text2.C (setCounter):
13085 * vspace.C (asString, asLatexString):
13086 std::ostringstream -> ostringstream.
13088 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13090 * LyXAction.C: add LFUN_HELP_ABOUTLYX
13091 * commandtags.h: add LFUN_HELP_ABOUTLYX
13092 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13094 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13096 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13098 * lyx_gui_misc.C: remove spellchecker
13099 * lyxfunc.C: showSpellchecker
13101 * sp_ispell.h: added
13102 * sp_pspell.h: added
13103 * sp_spell.C: added
13104 * sp_form.[Ch]: removed
13105 * spellchecker.[Ch]: removed
13107 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
13109 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13111 (simpleTeXSpecialChars): Simply print the input character without
13112 any special translation if pass_thru is set.
13114 * layout.h: Added bool pass_thru to layout class for being able to
13115 implement pass through of a paragraph for Literate Programming.
13117 * layout.C: add LT_PASS_THRU to LayoutTags enum.
13118 * layout.C (LyXLayout): set pass_thru to flase in constructor.
13119 * layout.C (Read): add "passthru" to list of layout tags and add
13120 code to set the pass_thru boolean when it is read.
13122 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13124 * trans_decl.h: remove allowed from KmodInfo
13126 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13127 remove allowed code
13130 * paragraph_pimpl.C (erase): use boost::prior
13132 * Painter.C (text): use data() instead of c_str() when length is
13134 * WorkArea.C (putClipboard): ditto
13135 * font.h (width): ditto
13137 * BufferView2.C: use it-> instead of (*it). for iterators
13139 * paragraph_pimpl.C: ditto
13140 * paragraph.C: ditto
13141 * minibuffer.C: ditto
13142 * language.C: ditto
13144 * encoding.C: ditto
13145 * counters.C: ditto
13146 * converter.C: ditto
13148 * Variables.C: ditto
13149 * TextCache.C: ditto
13150 * MenuBackend.C: ditto
13151 * LyXAction.C: ditto
13153 * FloatList.C: ditto
13154 * DepTable.C: ditto
13155 * ColorHandler.C (LyXColorHandler): ditto
13157 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13159 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13161 * text2.C (openStuff): reintroduce this method (which had been
13162 nuked in NEW_INSETS frenzy).
13164 * lyxfunc.C (Dispatch): when an action has not been handled, use
13165 its name in the error message, not its number.
13167 * paragraph.C (inInset): change method name to begin with lowercase.
13170 * text2.C: updates because of this.
13172 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13174 * ToolbarDefaults.C (add): add spaces in error message
13176 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13178 * buffer.C (readLyXformat2): initialize the ert comp. variables.
13179 (readLyXformat2): rename return_par to first_par, use lyxlex's
13180 pushToken and remove the manual push handling.
13181 (parseSingleLyXformat2Token): add another ert comp. variable:
13182 in_tabular, rename return_par to first_par. handle newlines better
13184 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13186 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13188 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13190 * text2.C (getParFromID): removed
13192 * buffer.C (getParFromID): new method moved form lyxtext.
13193 * BufferView2.C (insertErrors): adjust
13194 (setCursorFromRow): adjust
13195 * BufferView_pimpl.C (restorePosition): adjust
13196 * lyxfunc.C (Dispatch): adjust
13197 * undo_funcs.C (textUndo): adjust
13199 (textHandleUndo): adjust
13200 (textHandleUndo): adjust
13202 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13204 * buffer.C: up' the LYX_FORMAT
13206 * lyxfont.h: turn NO_LATEX on as default
13208 * buffer.C (insertErtContents): new methods of tex style compability.
13209 (parseSingleLyXformat2Token): use it several places.
13210 * tabular.C (OldFormatRead): and here
13212 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13214 * text2.C: remove some commented code.
13217 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13218 * trans.C: changes because of the above.
13220 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
13222 * text2.C (setCounter): Fix counters bug with bibliography layout.
13224 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13226 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13227 own member functions
13228 (simpleTeXSpecialChars): ditto
13230 2001-07-06 Juergen Vigna <jug@sad.it>
13232 * a lot of files: changed the access to LyXText::status and the
13233 call of undo-functions.
13235 * undo.[Ch]: added a inset_id to the undo informations.
13237 * undo_funcs.[Ch]: added and moved here all undo functions.
13239 * lyxtext.h: give the status enum a weight, made status_ a private
13240 variable and made accessor functions for it, removed the whole bunch
13241 of undo-functions as they are now in their own file, make some
13242 functions publically available. Added function ownerParagraph with
13245 * paragraph.[Ch]: added "bool same_ids" to the constructor,
13246 made InInset() a const function, added getParFromID() function.
13248 * buffer.[Ch]: added const version for inset_iterator functions,
13249 added getInsetFromID() function.
13251 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13252 changed undo functions for new version.
13254 2001-07-05 Juergen Vigna <jug@sad.it>
13256 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13257 unknow mechanism does not call the proper constructor but only this
13258 one also if I request the other!?
13260 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13262 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13264 * text2.C (LyXText): use initialization lists.
13266 * lyxtext.h (Selection): initialize set_ and mark_
13267 (init): remove method
13269 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
13271 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13273 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13275 * screen.[Ch]: change method names to begin with lowercase
13277 * BufferView_pimpl.C (updateScrollbar): simplify further and
13278 hopefully make it a bit faster.
13280 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13282 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13283 calling directly xforms functions.
13285 * Painter.C (Painter):
13286 * lyx_cb.C (MenuWrite):
13287 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13290 * lyx_gui.C: remove bogus guiruntime extern declaration.
13292 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13294 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13296 (redoDrawingOfParagraph): ditto
13297 (redoParagraphs): ditto
13298 (cutSelection): don't create a object for CutAndPaste use the
13299 static method directly
13300 (pasteSelection): ditto
13302 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13305 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13307 * modifications to some other files because of this.
13309 * Makefile.am (lyx_SOURCES): add XFormsView
13311 * XFormsView.[Ch]: new files
13313 * LyXView.[Ch]: make LyXView a base class for the gui handling for
13314 the main window. Move the gui dependent stuff to XFormsView
13316 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13318 * tabular.C (GetCellInset): update cur_cell also in the row/col
13319 version of this function.
13321 * lyxfunc.C: no need to include figure_form.h here.
13327 * lyxvc.C: no need to include forms.h here.
13329 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13331 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13333 * lyxfunc.C (Dispatch):
13335 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13336 constructor argument.
13338 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13340 * paragraph.C (Paragraph): dont't clear, and just set layout.
13341 (makeSameLayout): use params's copy contructor.
13343 * ParagraphParameters.[Ch] (makeSame): delete method
13345 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
13347 * Variables.[Ch]: fix indentation, rename set to isSet
13349 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13351 * lyxfunc.C (Dispatch): fix typo
13353 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13355 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13358 * bufferlist.C: include assert.h for emergencyWrite().
13360 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13362 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13363 give up at last (bug #425202) !
13365 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
13371 * spellchecker.C: strip spellchecker options and bring up
13372 preferences tab instead
13374 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13376 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13377 the istringstream constructor
13379 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13381 * paragraph.C (getLayout): fix return value
13383 * paragraph.h: do not declare getLayout as inline.
13385 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13387 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13389 * lyxcursor.h (operator<): new func
13390 (operator>): new func
13391 (operator>=): new func
13392 (operator<=): new func
13394 * text.C (changeCase): use selection.start and selection.end
13395 (changeRegionCase): require from to be <= to. Require par to be a
13398 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13400 2001-06-27 Juergen Vigna <jug@sad.it>
13402 * text.C (cursorLeftOneWord): changed to return the cursor and added
13403 overlay with BufferView * parameter which calls this one.
13405 (selectWord): use new getWord function.
13406 (changeCase): renamed from changeWordCase as and extended to work
13407 also on selections.
13409 * lyxtext.h: added enum word_location
13411 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13412 changeCase as this operates now also on selections.
13414 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
13416 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13418 * many files: send debug output to Debug::INFO instead of
13421 * converter.C (View):
13423 (Move): send debug output to Debug::FILES instead of console.
13425 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
13427 * lyxfunc.C (getStatus): use func_status
13429 * func_status.h: new header, describing the results of
13430 LyXFunc::getStatus;
13432 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13435 2001-06-25 The LyX Project <jug@sad.it>
13437 * buffer.C (sgmlOpenTag):
13439 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
13441 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13443 * text2.C: remove some dead code
13445 * tabular.C (GetCellInset): store the last cell checked (gotten)
13447 * tabular.h: add the helper for the speedup
13449 * lyxtext.h: remove some dead code
13451 2001-06-26 The LyX Project <Asger>
13453 * paragraph.C: Change export to LaTeX of alignment to
13454 \begin{center} and family for better roundtrip work with reLyX.
13456 * Tune the math drawing a bit.
13458 2001-06-25 The LyX Project <Asger>
13460 * LColor.C (LColor): New color for math background. New color
13463 2001-06-25 The LyX Project <jug@sad.it>
13465 * lyxfunc.C (MenuNew): remove extra check for .lyx file
13467 * lyxfunc.C (Open):
13468 * bufferlist.C (newFile): do not restrict to files ending with
13471 * BufferView_pimpl.C (MenuInsertLyXFile):
13473 2001-06-24 The LyX Project <jug@sad.it>
13475 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13478 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13480 * lyxtext.h: rename most methods to begin with a small char.
13481 Lots of changes because of this.
13483 * paragraph.C (Paragraph): do not call fitToSize
13484 (erase): call Pimpl::erase
13485 (insertChar): call Pimpl::insertChar
13486 (insertInset): call Pipl::insertInset
13487 (breakParagraph): do not call fitToSize
13488 (breakParagraphConservative): do not call fitToSize
13489 (fitToSize): remove method
13491 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13493 2001-06-24 The LyX Project <Asger>
13495 * Fix Qt compilation^2
13497 2001-06-24 The LyX Project <jug@sad.it>
13499 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13500 depthHook(getDepth()-1).
13503 * ParagraphParameters.h:
13504 * ParameterStruct.h: change type of depth to unsigned int ==
13505 depth_type. Many adaptations to other files before of that.
13507 2001-06-24 The LyX Project <Asger>
13509 * Fix Qt compilation.
13511 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13513 * paragraph.h: renamed several methods to begin with small letter.
13514 several changes to many parts of the code because of this.
13516 2001-06-23 The LyX Project <jug@sad.it>
13518 * text2.C (InsertStringAsLines): renamed from InsertStringA;
13519 rewritten to discard all double spaces when KeepEmpty is off
13520 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13521 to only handle newlines but not fiddle with spaces and friends.
13523 * lyxfunc.C (MenuNew): when doing 'new from template', use
13524 template_path as default directory
13526 2001-06-23 The LyX Project <Asger>
13528 * Clean-up of header file includes all over
13529 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13531 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13533 * paragraph.h: renamed from lyxparagraph.h
13535 2001-06-23 Asger <lyx@violet.home.sad.it>
13537 * Buffer.h: Removed Buffer::resize
13538 * BufferList.h: Removed BufferList::resize
13539 * LyXView.h: Added LyXView::resize. This way, we will only reflow
13540 the document lazily when we change the width, or the font settings.
13542 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13544 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13546 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13548 * buffer.h: remove out of date comment
13550 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13553 * screen.C: fix "theoretical" GC leak
13555 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13557 * LaTeX.C (scanAuxFile):
13558 (deplog): remove trailing \r when reading stream (useful under
13561 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
13563 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13564 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13565 and BufferView::theLockingInset(Inset*), so should use them and not
13566 access bv_->text->the_locking_inset directly.
13568 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13570 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13573 * tex-defs.h: remove old unused file
13575 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
13577 * BufferView_pimpl.C: fix typo, remove minibuffer message
13578 when buffer has loaded
13580 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13582 * lyxfunc.C (Dispatch): use stringstream
13583 (MenuNew): use stringstream
13584 (Open): use stringstream
13586 * importer.C (Import): use stringstream
13588 * bufferview_funcs.C (CurrentState): use stringstream
13590 * LaTeX.C (run): use stringstream
13592 * BufferView_pimpl.C (savePosition): use stringstream
13593 (restorePosition): use stringstream
13594 (MenuInsertLyXFile): use stringstream
13596 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
13609 * vspace.C: removed // -*- C++ -*- as first line.
13612 * version.h: added // -*- C++ -*- as first line.
13614 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13616 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13618 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13621 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13623 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13626 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13628 * gettext.C: include LString.h even when --disable-nls is on.
13630 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
13632 * converter.h (Get): changed argument type from int to
13633 FormatList::size_type to avoid unnecessary conversion.
13635 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13638 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13640 * gettext.h: include LString.h even when --disable-nls is on.
13642 2001-06-07 Juergen Vigna <jug@sad.it>
13644 * text.C (BreakAgain): subst spaces with tabs.
13646 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13647 (resizeInsetsLyXText): set force on resizeLyXText.
13649 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13651 * gettext.h (gettext_init):
13652 (locale_init): use a real definition instead of a macro
13654 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13656 * Bufferview_pimpl.C:
13658 * LColor.C: further lcolor tidies
13660 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13662 * BufferView_pimpl.C (updateScrollbar): simplify.
13664 * BufferView2.C: don't include insets/insetinfo.h, change
13665 prototype for insertInset and call the Pimpl version. let
13666 updateInset call Pimpl version.
13668 * BufferView.h: move inset_slept to BufferView::Pimpl, move
13669 gotoInset to BufferView::Pimpl
13671 2001-06-01 Juergen Vigna <jug@sad.it>
13673 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13674 inside a LockingInset (is the update needed at all?).
13676 2001-05-31 Juergen Vigna <jug@sad.it>
13678 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13679 here not the old one otherwise how should we compare it afterwards
13682 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13687 * FontInfo.C: bring C functions into global namespace when
13690 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13692 * LString.h: make sure config.h has been loaded before LString.h.
13694 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13695 (one for each char read by EatLine!).
13697 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13700 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13702 * paragraph.C (BreakParagraph): set the inset_owner in the new par
13703 to the same as the par we break from
13705 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
13707 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13709 * MenuBackend.C (expand): also create menu entries for wide
13710 versions of the floats.
13712 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13714 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13716 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13717 frontends/Makefile.am
13723 * tabular.C (getTokenValue): add std::
13725 * tabular-old.C (getTokenValue): add std::
13726 (getTokenValue): ditto
13727 (getTokenValue): ditto
13729 * screen.C (ToggleSelection): adjust
13731 * lyxtext.h: put selection cursors inside a Selection struct.
13733 * lyxfunc.C (moveCursorUpdate): adjust
13735 * lyxfont.C (latexWriteStartChanges): add std::
13737 * lyxfind.C: adjust
13739 * font.h: delete with(char const *, LyXFont const &)
13741 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13743 * FontInfo.C (getFontname): add std::
13745 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13746 (workAreaButtonPress): adjust
13747 (tripleClick): adjust
13749 (moveCursorUpdate): adjust
13752 * BufferView2.C (gotoInset): adjust
13754 2001-05-30 Juergen Vigna <jug@sad.it>
13756 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13757 to check pspell I add this as default as I now have new pspell
13758 libraries and they seem to use this.
13760 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13762 * text2.C (CutSelection): make the cursor valid before the call to
13765 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13767 * kbsequence.C (parse): de-uglify a bit the parsing code, which
13768 relied on 0 terminated strings and other horrors. Bug found due to
13769 the new assert in lyxstring!
13771 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13774 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13776 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13779 * lyxfunc.C (processKeySym): change method of getting to the
13782 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13783 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13784 * BufferView_pimpl.[Ch]: here as private methods.
13786 2001-05-28 Juergen Vigna <jug@sad.it>
13788 * text.C (SetHeightOfRow): added the update() call again as it is
13789 needed to initialize inset dimensions!
13791 2001-05-16 Juergen Vigna <jug@sad.it>
13793 * text2.C (SetCharFont): Add new function with BufferView * and
13794 bool toggleall parameters for setting insets internal fonts.
13795 (SetFont): Freeze the undo as we may change fonts in Insets and
13796 all this change should be inside only one Undo!
13798 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13799 setting font's in insets as for them we have the SetFont function!
13801 2001-05-15 Juergen Vigna <jug@sad.it>
13803 * text2.C (ClearSelection): to be sure we REALLY don't have any
13806 * tabular.C (TeXCellPreamble): fixed the left border problem for
13809 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
13811 * LaTeX.C (deplog): Make sure that the main .tex file is in the
13814 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13816 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13817 LFUN_BREAKPARAGRAPH.
13819 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13820 help test to "internal only", similar for LFUN_INSERT_URL
13822 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13823 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13824 auto_region_delete and deadkeys.
13826 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
13829 * LColor.C: remove some dead entries, tidy a little
13831 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13833 * lyxfunc.C (processKeySym): comment the Escape handling, remove
13835 (Dispatch): implement LFUN_ESCAPE
13837 * commandtags.h: add LFUN_ESCAPE
13839 * LyXAction.C (init): add entry for LFUN_ESCAPE
13841 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13842 Remove commented code.
13843 (insertNote): moved here
13844 (open_new_inset): moved here
13846 * BufferView[2].[Ch]: move insertNote and open_new_inset to
13849 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13851 * kbmap.C (findbinding): clean it up and make it work correctly.
13853 * lyx_main.C (init): do not pass argc and argv as parameters
13855 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
13857 * buffer.C: fix path for OS/2 & Win32
13861 * lyx_main.C: Added os:: class.
13863 * os2_defines.h: update
13865 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13867 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13868 better by trying again with reduced state.
13870 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13872 * lyxrc.C (read): print error about invalid key sequence only when
13873 debugging (because not all latinX keysyms are known to some X
13876 * kbsequence.C (getiso): add a few std:: qualifiers
13877 (getiso): comment out extra return statement.
13879 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
13881 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13883 (Dispatch): enhance the accent inset a bit. (not perfect)
13885 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13887 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13889 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13891 * bufferlist.C (emergencyWrite): fix assert() call
13893 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
13895 * text.C (InsertChar): Added trivial patch to only send the "you
13896 can not do multiple spaces this way" message once during a
13899 2001-05-08 Baruch Even <baruch@lyx.org>
13901 * Makefile.am: Changed order of libraries to get LyX to link properly
13902 with the gnome frontend.
13904 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13906 * LaTeXFeatures.h: add a std:: qualifier
13908 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13910 * paragraph.C (String): use stringstream
13912 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13914 * paragraph.C (writeFile): remove footflag arg
13916 * buffer.C (makeLaTeXFile): use stringstream
13917 (latexParagraphs): remove footnot gurba
13919 * LaTeXFeatures.C (getPackages): use stringstream
13920 (getMacros): likewise
13921 (getTClassPreamble): likewise
13922 (getFloatDefinitions): new method
13924 * paragraph.C (writeFile): reindent
13927 * WorkArea.h: revert the xpos + etc changes.
13929 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13931 * lyxparagraph.[Ch]: add copy constructor, remove Clone
13933 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13934 (pasteSelection): likewise
13935 * text2.C (CreateUndo): likewise
13937 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13939 * minibuffer.C (peek_event): temporarily reduce the functionality
13940 of the minibuffer (to allow args on lfuns)
13942 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13943 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13945 * buffer.C (readInset): add compability reading of old float
13946 lists, add reading of new style float list.
13947 (readInset): avoid reevaluation of inscmd.getCmdName()
13948 (getLists): reindent
13950 * MenuBackend.C (MenuItem): implement parsing of
13951 md_floatlistinsert and md_floatinsert.
13952 (expand::LastFiles): move initalizaton of iterators out of loop,
13953 avoid reevaluation.
13954 (expand::Documents): introduce typdedef vector<string> Strings,
13956 (expand::ExportFormats): introduce typedef vector<Format const *>
13957 Formats, and use it.
13958 (expand): implement FloatListInsert and FloatInsert.
13960 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13961 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13962 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13964 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13966 (Dispatch::LFUN_FLOAT_LIST): implement
13968 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13970 * LaTeX.C (run): Fix problem with --export code.
13972 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13974 * BufferView.[Ch] (workarea): removed.
13975 (getClipboard) new method; wrapper for workarea()->getClipboard()
13977 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13980 * WorkArea.h (width, height, xpos, ypos): These methods all
13981 returned the dimensions of the work_area sub-area of WorkArea,
13982 resulting in a position error if the WorkArea were resized. Now
13983 return the dimensions of the entire WorkArea.
13985 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13987 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13989 * LaTeX.C (deplog): correct the syntax of regex reg1
13991 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13993 * undo.C: remove !NEW_INSETS cruft
13995 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13997 * text2.C: remove !NEW_INSETS cruft
13999 * text.C: remove !NEW_INSETS cruft
14001 * tabular.C: remove !NEW_INSETS cruft
14003 * spellchecker.C: remove !NEW_INSETS cruft
14005 * lyxtext.h: remove !NEW_INSETS cruft
14007 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14009 * lyxfunc.C: remove !NEW_INSETS cruft
14011 * lyxfind.C: remove !NEW_INSETS cruft
14013 * lyx_cb.C: remove !NEW_INSETS cruft
14015 * figureForm.C: remove !NEW_INSETS cruft
14017 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14019 * buffer.[Ch]: remove !NEW_INSETS cruft
14021 * ToolbarDefaults.C: remove !NEW_INSETS cruft
14023 * CutAndPaste.C: remove !NEW_INSETS cruft
14025 * BufferView_pimpl.C: remove !NEW_INSETS cruft
14027 * BufferView2.C: remove !NEW_INSETS cruft
14029 * BufferView.h: remove !NEW_INSETS cruft
14031 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14033 * Lsstream.h: include LString.h before the sstream headers to
14034 fix problem with gcc 2.95.3 and lyxstring
14036 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14038 * lyx_main.C: add using directives when needed for C functions
14039 declared in std:: namespace.
14041 2001-04-27 Juergen Vigna <jug@sad.it>
14043 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14044 (SetHeightOfRow): comment out the update call should not be needed!
14046 2001-04-13 Juergen Vigna <jug@sad.it>
14048 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14049 (LyXTabular): tried to minimize operator= operations (and realized
14050 hopfully Lars wish).
14052 2001-04-27 Juergen Vigna <jug@sad.it>
14054 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14056 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14058 * lyxfunc.C (Dispatch): hack to make listof algorithm work
14060 * buffer.C (readInset): hack to make listof algorithm work
14062 * BufferView_pimpl.C: hack to make listof algorithm work
14064 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14066 * LyXAction.C: removed all !NEW_INSETS cruft
14067 (init): moved lfun_item in method
14069 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14071 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14073 * BufferView2.C (theLockingInset): white space.
14075 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14077 * minibuffer.C: include <iostream>
14079 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14081 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14083 * commandtags.h: add LFUN_TRANSPOSE_CHARS
14085 * text.[Ch] (TransposeChars): new method
14087 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14089 * call message directly through LyXView instead of through LyXFunc
14090 * BufferView2.C: adjust
14091 * BufferView_pimpl.C: adjust
14092 * FontLoader.C: adjust
14094 * bufferview_funcs.C: adjust
14095 * converter.C: adjust
14096 * figureForm.C: adjust
14097 * importer.C: adjust
14099 * lyx_gui_misc.C: adjust
14100 * lyxfunc.C: adjust
14103 + more files in subdirs
14105 * lyxparagraph.h (size): move up int file
14108 * adjust all uses of Assert to lyx::Assert.
14110 * BufferView2.C (ChangeCitationsIfUnique): adjust for
14111 lyxfunctional in namespace lyx
14112 * layout.C (hasLayout): ditto
14115 (delete_layout): ditto
14116 (NumberOfClass): ditto
14117 * converter.C (GetFormat): ditto
14122 * bufferlist.C (getFileNames): ditto
14123 (emergencyWriteAll): ditto
14126 * MenuBackend.C (hasSubmenu): ditto
14129 * BufferView_pimpl.C (getInsetByCode): ditto
14131 2001-04-18 Juergen Vigna <jug@sad.it>
14133 * vspace.C (asLatexString): fixed the 100% problem.
14135 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14137 * lyxfunc.C (Dispatch):
14139 * minibuffer.h: add a few std:: qualifiers
14141 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14143 * minibuffer.[Ch]: reimplement so that commands is initiated and
14144 run from lyxfunc, simplified som handling, and made the completion
14145 and history code for complete. wip.
14147 * lyxfunc.C (processKeySym): call message
14148 (miniDispatch): new temporary method
14149 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14150 (LFUN_MESSAGE): implement
14151 (LFUN_MESSAGE_PUSH): implement
14152 (LFUN_MESSAGE_POP): implement
14153 (initMiniBuffer): the initial/defualt minibuffer message.
14155 * lyxfont.[Ch]: inline some more getters
14157 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14159 * lyx_gui_misc.[Ch] (WriteStatus): remove method
14161 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14162 (AutoSave): use LFUN_MESSAGE
14163 (Reconfigure): ditto
14165 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14167 * figureForm.C: use LFUN_MESSAGE
14169 * converter.C (runLaTeX): use LFUN_MESSAGE
14171 * bufferview_funcs.C: use LFUN_MESSAGE
14173 (changeDepth): ditto
14175 * bufferparams.h: use boost::
14177 * bufferlist.h: inherit privately from noncopyable
14179 * bufferlist.C (loadLyXFile): remove some commented code.
14181 * buffer.C (runChktex): use LFUN_MESSAGE
14183 * ShareContainer.h: inherit privately from noncopyable
14185 * ParagraphParameters.[hC] (depth): inline it.
14187 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14189 (message): new method
14190 (messagePush): ditto
14191 (messagePop): ditto
14192 (show): init minibuffer
14193 (showState): direct call
14195 * LaTeX.[Ch]: inherit privately from noncopyable
14196 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14197 instead of WriteStatus.
14199 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14201 * BufferView_pimpl.C (buffer): don't init minibuffer
14202 (workAreaButtonPress): use LFUN_MESSAGE
14203 (workAreaButtonRelease): ditto
14204 (savePosition): ditto
14205 (restorePosition): ditto
14206 (MenuInsertLyXFile): ditto
14207 (workAreaExpose): don't init minibuffer
14208 (update): remove commented code, simplify
14210 * BufferView2.C (openStuff): use LFUN_MESSAGE
14211 (toggleFloat): ditto
14214 (copyEnvironment): ditto
14215 (pasteEnvironment): ditto
14220 (updateInset): remove some commented code
14222 * lastfiles.h: inherit privately from noncopyable
14225 * lyx_main.h: ditto
14227 * lyxlex_pimpl.h: ditto
14229 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14230 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14231 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14233 * LyXAction.h: inherit privately from noncopyable, add methods
14234 func_begin, func_end, returning iterators to the func map.
14236 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14237 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14238 (func_begin): new method
14239 (func_end): new method
14241 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14243 (copySelection): ditto
14244 (pasteSelection): ditto
14246 * BufferView.C: whitespace change
14247 * BufferView.h: inherit privately from noncopyable
14249 2001-04-16 Allan Rae <rae@lyx.org>
14251 * tabular-old.C (l_getline):
14252 * spellchecker.C (sc_check_word):
14253 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14254 an unrecognised preprocessor directive. So ensure they're wrapped.
14256 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
14258 * src/exporter.C (Export): Give an error message when path to file
14261 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
14263 * LaTeX.C (deplog): Always check that foundfile exists.
14265 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14268 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14270 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14272 * tabular.[Ch] (getLabelList): implement new method
14274 * minibuffer.h: comment ouf setTiimer
14276 * minibuffer.C (ExecutingCB): constify res
14277 (peek_event): constify s
14278 (Set): constify ntext
14279 (Init): constify nicename
14281 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14283 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14284 (savePosition): use two params to Minibuffer::Set
14285 (restorePosition): ditto
14287 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14289 * lyx_main.C: include language.h
14291 * Makefile.am (lyx_main.o): add language.h
14293 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14299 * CutAndPaste.C: include gettext.h
14301 * lyxfont.h: remove old hack with ON and OFF.
14304 * lyxfont.h: do not include language.h...
14309 * bufferview_funcs.C:
14315 * paragraph.C: ... but do it here instead
14317 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14319 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14321 * tabular.C: small reformat
14323 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14326 (BreakParagraph): ditto
14327 (SetOnlyLayout): ditto
14330 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14333 * lastfiles.C: removed most using decl, add std:: where needed
14335 * buffer.C: ws changes
14337 * MenuBackend.C (class compare_format): put into anon namespace
14338 (expand): constify label, names, action, action2
14341 * text.C (SingleWidth): constify font
14342 (IsBoundary): constify rtl2
14343 (GetVisibleRow): constify ww
14345 * LaTeX.C (deplog): constify logfile
14347 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14349 (workAreaExpose): constify widthChange, heightChange
14351 * lyxrow.C (par): moved
14354 * lyxrow.h: as inlines here
14356 * lyxfont.h (shape): moved from lyxfont.C
14357 (emph): moved from lyxfont.C
14359 * lyxfont.C (LyXFont): use initialization list for all
14361 (shape): move to lyxfont.h as inline
14362 (emph): move to lyxfont.h as inline
14365 2001-04-04 Juergen Vigna <jug@sad.it>
14367 * vspace.C: had to include stdio.h for use of sscanf
14369 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
14372 * BufferView_pimpl.h: remove xforms cruft. Both classes are
14373 independent of xforms.
14375 2001-04-02 Juergen Vigna <jug@sad.it>
14377 * spellchecker.C: fixed namespace placing!
14379 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
14381 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14382 the LyXParagraph * is 0.
14384 2001-03-29 Juergen Vigna <jug@sad.it>
14386 * vspace.C: added support for %, c%, p%, l%.
14387 (stringFromUnit): added helper function.
14388 (asLatexString): changed to give right results for the %-values.
14390 * buffer.C: convert the widthp in a width%.
14392 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
14394 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14397 * figureForm.[Ch]: stripped the FD_from_figure manipulation
14398 code out of lux_cb.[Ch], ready for its (imminent?) removal.
14400 * lyx_cb.[Ch]: see above.
14402 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14406 * lyx.[Ch]: replaced by figure_form.[Ch].
14410 * lyxfunc.C: changed headers associated with above changes.
14412 2001-03-27 Juergen Vigna <jug@sad.it>
14414 * BufferView_pimpl.C: set the temporary cursor right!
14416 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
14418 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14420 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
14422 * LString.h: removed "using std::getline"!
14424 * BufferView_pimpl.C (Dispatch): changes due to changes in
14425 InsetInclude::Params.
14427 * buffer.C (tag_name): removed redundant break statements as they were
14428 producing lots of warnings with my compiler.
14430 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14432 * LString.h: add "using std::getline" when using the real <string>.
14434 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
14436 * buffer.C: removed bitset usage.
14437 PAR_TAG moved to an anonymous name space.
14438 (tag_name): new funtion, also in the anonymous namespace.
14439 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14440 (makeDocBookFile): clean code. Completed transition from string arrays
14442 (SimpleDocBookOnePar): code clean.
14444 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14446 * tabular.C: add some comments.
14448 2001-03-22 Juergen Vigna <jug@sad.it>
14450 * buffer.C (parseSingleLyXformat2Token): redone the minipage
14451 compatibility read a bit and fixed bug with minipage in different
14454 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
14456 * buffer.C (pop_tag): removed.
14457 (push_tag): removed.
14458 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14459 array replaced with vector. Added support for CDATA sections.
14460 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14462 (makeDocBookFile): XML conformant declaration of CDATA section,
14463 fixed bug related to <emphasis> in the first paragraph char.
14464 (sgmlOpenTag): exclude empty tags.
14465 (sgmlCloseTag): ditto.
14467 * buffer.h (pop_tag): removed.
14468 (push_tag): removed.
14470 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
14472 * language.h (Languages): added size_type and size().
14474 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14476 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14477 response on compability reading of minipages. One probliem is that
14478 the old usage of minipages was «flertydig»
14480 * several files here and in subdirs: don't use static at file
14481 scope use anon namespaces instead.
14483 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
14485 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14486 LaTeX output. This is necessary for Literate document
14489 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14491 * buffer.C: insert hfill when needed.
14493 * tabular.C (l_getline): use string::erase, small whitespace change.
14495 * BufferView_pimpl.C: try the anon namespace.
14496 * WorkArea.C: ditto
14498 2001-03-16 Juergen Vigna <jug@sad.it>
14500 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14501 otherwise it won't open options-dialogs.
14503 * buffer.C: honor pextraWidth(p) on converting minipages.
14505 * tabular.C (l_getline): changed the functions to strip trailing \r.
14507 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
14509 * BufferView_pimpl.C:
14510 * minibuffer..C: added "using SigC::slot" declaration.
14512 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14514 * lyxlex_pimpl.h: noncopyable is in namespace boost.
14520 * paragraph.C: ditto
14522 * lyxtext.h: NO_PEXTRA
14524 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14526 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14527 * ParameterStruct.h: ditto
14528 * ParagraphParameters.h: ditto
14529 * lyxparagraph.h: ditto
14531 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14533 * buffer.C: add compability for minipage alignment.
14534 (latexParagraphs): remove unwanted pextra check.
14536 * several files: remove CXX_WORKING_NAMESPACES
14538 * buffer.C (pop_tag): tie is in namespace boost
14540 * BufferView.h: noncopyable is in namespace boost
14542 * lyx_main.h: ditto
14545 * lastfiles.h: ditto
14546 * bufferlist.h: ditto
14547 * ShareContainer.h: ditto
14549 * LyXAction.h: ditto
14552 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14554 * Merging changes from BRANCH_MVC back into HEAD.
14556 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14558 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
14560 * BufferView_pimpl.C: change from intl.C
14564 * Makefile.am: move combox.*
14570 * intl.C: remove dialog (covered by prefs)
14572 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14574 * lyxfunc.C (Dispatch): removed redundant break statement.
14576 2001-03-14 Juergen Vigna <jug@sad.it>
14578 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14580 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14582 * buffer.C: add hack to fix compability reading of minipages.
14584 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
14586 * buffer.C (getLists): Cleanup.
14588 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14590 * lyxfont.C (update): don't honor toggleall on font size.
14592 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
14596 * Makefile.am: moved to frontends/xforms/
14600 * BufferView_pimpl.C: changes for moved mathpanel
14602 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14604 * gettext.h: fix gettext_init() in --disable-nls
14606 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14608 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14610 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
14613 * lyx.h: strip external form
14615 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14617 * BufferView_pimpl.C: add comment, destroySplash()
14619 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14621 * BufferView_pimpl.C:
14625 * lyxfunc.C: use re-worked insetinclude
14627 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14629 * buffer.C: add using std::stringstream.
14631 * lyx_cb.C: readd using std::ios.
14633 * buffer.C: add using std::map.
14635 * BufferView_pimpl.C: add using std::vector.
14637 * ShareContainer.h: add std:: to swap.
14639 * buffer.h: add some typedefs
14640 * buffer.C (getLists): use them
14641 (getLists): renamed from getTocList.
14642 add a counter for the different float types and use it in the
14644 (getLists): use the same counter for the NEW_INSETS and the "non"
14647 * lyx_cb.h: remove unused items, includes, using etc.
14649 * ShareContainer.h: remove some commented code, add more comments
14650 and "documentation".
14652 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14654 * buffer.C (getTocList): make the list also when NEW_INSETS is
14657 * buffer.h: remove TocType
14659 * buffer.C (getTocList): change to return a map<string,
14660 vector<TocItem> >, implement for dynamic number of list.
14662 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14663 * text2.C (PasteSelection): adjust
14664 * CutAndPaste.C (pasteSelection): adjust
14666 * FloatList.C (FloatList): update from the new_insets branch.
14667 * Floating.[Ch]: ditto
14668 * LaTeXFeatures.C: ditto
14670 * lyxlex_pimpl.C: ditto
14672 * paragraph.C (Last): remove when NEW_INSETS is defined.
14674 * other file: changes because of the above.
14676 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14678 * lyxparagraph.h: rename next to next_, previous to previous_,
14679 make them private for NEW_INSETS. Rename Next() to next(),
14680 Previous() to previous().
14682 * other files: changes because of the above.
14684 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
14687 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14690 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14692 * main.C (main): pass lyx_localedir to gettext_init().
14694 * gettext.h: remove locale_init and gettext_init macros
14696 * gettext.C (locale_init): new function
14697 (gettext_init): new function
14699 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14702 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
14704 * Moved credits to frontends:
14705 * credits.[Ch]: removed
14706 * credits_form.[Ch]: removed
14707 * lyx_gui_misc.C: remove credits stuff
14710 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14712 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14714 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14715 unneeded destructor.
14717 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14718 a standalone pointer again.
14720 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14722 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
14728 * ToolbarDefaults.C:
14737 * BufferView_pimpl.C: use new file dialog in GUII
14740 * lyx_cb.C: remove LayoutsCB to Toolbar
14742 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14744 * ShareContainer.h (get): add std:: qualifier
14746 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14748 * ShareContainer.h: define a proper ShareContainer::value_type
14749 type (and use typename to please compaq cxx)
14751 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14753 * lyxparagraph.h: move serveral local vars to
14754 ParameterStruct/ParagraphParameters., use ShareContainer in
14755 FontTable., make vars in FontTable private and add getter and
14758 * paragraph.C: changes because of the above.
14760 * lyxfont.h: remove copy constructor and copy assignment. (the
14761 default ones is ok), move number inside FontBits. move inlines to
14764 * lyxfont.C: add number to initializaton of statics, move several
14765 inlines here. constify several local vars. some whitespace
14766 cleanup. Dont hide outerscope variables.
14768 * Spacing.h: add two new constructors to match the set methods.
14770 * ShareContainer.h: new file, will perhaps be moved to support
14772 * ParameterStruct.h: new file
14774 * ParagraphParameters.h: new file
14776 * ParagraphParameters.C: new file
14778 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14779 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14781 * BufferView_pimpl.C: ParagraphParameter changes.
14782 * buffer.C: Likewise.
14783 * bufferview_funcs.C: Likewise.
14784 * text.C: Likewise.
14785 * text2.C: Likewise.
14787 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14789 * lyxfind.C (LyXReplace): do not redefine default argument in
14791 (IsStringInText): ditto
14792 (SearchForward): ditto
14793 (SearchBackward): ditto
14795 2001-03-06 Juergen Vigna <jug@sad.it>
14797 * lyxfind.C (IsStringInText): put parentes around expressions.
14799 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
14801 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14803 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
14805 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14807 * stl_string_fwd.h: add comment
14809 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14812 * tabular.C: remove unused DocBook methods
14818 killed DO_USE_DEFAULT_LANGUAGE
14820 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14822 * lyx_gui.C: do not include language.h.
14824 * bufferview_funcs.C (ToggleAndShow): do not provide optional
14825 arguments in function implementation.
14827 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14829 * BufferView_pimpl.C: add <ctime>
14831 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14833 * BufferView_pimpl.C: add using std::find_if
14835 2001-02-27 José Matos <jamatos@fep.up.pt>
14837 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14840 2001-02-11 José Matos <jamatos@fep.up.pt>
14842 * buffer.C (makeDocBookFile): command styles now have a parameter as
14843 "title" by default.
14845 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
14847 * layout_forms.[Ch]: removed
14848 * lyx_cb.[Ch]: out character
14849 * lyx_gui.C: out character
14850 * lyx_gui_misc.C: out character
14851 * bufferview_funcs.C: : out character,
14852 added toggleall as parameter in ToggleAndShow
14854 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
14856 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14858 * text2.C (SetCurrentFont): Disable number property at boundary.
14860 2001-02-26 Juergen Vigna <jug@sad.it>
14862 * lyxfunc.C (getStatus): added a string argument override function so
14863 that this is correctly called from LyXFunc::Dispatch if it contains a
14864 do_not_use_argument which is used!
14865 (Dispatch): added check for "custom" export and call appropriate func.
14867 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
14869 * lyxrc.C: Add language_command_local, language_use_babel and
14870 language_global_options.
14872 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14874 * buffer.C (makeLaTeXFile): Use language_use_babel and
14875 language_global_options.
14877 2001-02-23 Juergen Vigna <jug@sad.it>
14879 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14880 which works with LyXText and putted it inside BufferView. Here now we
14881 only call for that part the BufferView::Dispatch() function.
14883 * BufferView.C (Dispatch): added.
14885 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14886 functions which needs to use a LyXText over from LyXFunc.
14887 (MenuInsertLyXFile): added
14888 (getInsetByCode): added
14889 (moveCursorUpdate): added
14890 (static TEXT): added
14892 2001-02-22 Juergen Vigna <jug@sad.it>
14894 * BufferView_pimpl.C (update): call a status update to see if LyXText
14897 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14899 * vc-backend.C (revert): implement for CVS
14900 (getLog): implement for CVS
14902 2001-02-20 Juergen Vigna <jug@sad.it>
14904 * text2.C (ClearSelection): added BufferView param for inset_owner call
14906 * lyxfunc.C (TEXT): added this function and use it instead of
14907 directly owner->view()-text of getLyXText().
14909 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
14911 * src/layout_forms.C: out preamble
14912 * src/layout_forms.h: out preamble
14913 * src/lyx_cb.C: out preamble
14914 * src/lyx_cb.h: out preamble
14915 * src/lyx_gui.C: out preamble
14916 * src/lyx_gui_misc.C: out preamble
14917 * src/lyxfunc.C: connect with guii preamble
14919 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
14921 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14923 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
14925 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14926 whether to run bibtex.
14928 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
14930 * Makefile.am (lyx_SOURCES): Remove BackStack.h
14932 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14934 * Makefile.am (lyx_SOURCES): removed bibforms.h
14936 * vspace.h: doxygen
14938 * text.C (GetVisibleRow): make several local vars const
14940 * tabular.C: small cleanup.
14942 * lyxserver.C (callback): use compare instead of strncmp
14944 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14945 inlines to after class or to paragraph.C
14947 * lyxfont.h: remove friend operator!=
14949 * converter.h: move friend bool operator< to non friend and after
14952 * combox.h: small cleanup
14954 * buffer.h: doxygen, remove unused constructor, move inclas inlies
14955 to inlines after class def.
14957 * buffer.C (pop_tag): use string operations instead of strcmp
14959 * bmtable.c: doxygen, small cleanup
14961 * LaTeX.h: remove friend operator==
14963 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
14975 * BufferView_pimpl.C:
14976 * BufferView.[Ch]: remove cruft
14978 2001-02-14 Juergen Vigna <jug@sad.it>
14980 * lyxfunc.C: removed #if 0 unused code
14982 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14984 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14986 * text2.C (SetSelection): added a BufferView * parameter
14988 2001-02-13 Juergen Vigna <jug@sad.it>
14990 * lyxfunc.C (Dispatch): fixed protected blank problem.
14991 * BufferView2.C (protectedBlank): added LyxText * parameter.
14993 * tabular.C (AppendRow): forgot to set row_info of newly added row.
14994 (AppendColumn): same as above for column_info.
14996 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14997 (moveCursorUpdate): use a LyXText param for support of InsetText.
14999 * BufferView_pimpl.C (doubleClick): added support for InsetText.
15000 (tripleClick): ditto
15002 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15004 * BufferView_pimpl.C (update): added LyXText param to honor insets.
15006 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15008 * text2.C (SetSelection): set correct update status if inset_owner
15009 (ToggleFree): ditto
15011 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
15013 * tabular.C: remove some commented code.
15015 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
15017 * BufferView_pimpl.C: call hideSplash()
15019 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15022 * bibforms.h: remove
15025 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15026 add LFUN_CHILD_CREATE
15028 * counters.h: fix tiny typo
15033 * lyx.C: move splash to frontends/xforms/
15035 * lyx_gui_misc.C: move Include and Bibform to frontends
15037 * lyxvc.h: clarify comment
15039 * vspace.C: tiny housekeeping
15041 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
15043 * text.C (PrepareToPrint): RTL Fix.
15045 * paragraph.C (GetUChar): New method.
15046 (String): Use GetUChar.
15048 * buffer.C (asciiParagraph): Use GetUChar.
15050 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
15052 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15054 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
15057 * buffer.C: rename to getLogName(), handle
15058 build log / latex log nicely
15060 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15063 * MenuBackend.h: remove support for reference menuitem type.
15065 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
15067 * BufferView_pimpl.C: housekeeping
15068 * BufferView_pimpl.h:
15073 * minibuffer.h: move Timeout GUI-I
15075 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
15077 * lyxrc.C (read): Update converters data-structures.
15079 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
15081 * LaTeX.h (operator!=): add operator != for Aux_Info
15083 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
15085 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15087 * LaTeXLog.C: deleted, useful code moved to Buffer
15090 * buffer.C: new function getLatexLogName()
15096 * lyxfunc.C: use frontends for LaTeX and VC logs
15098 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15100 * LaTeX.h: yet another std:: that Allan forgot.
15102 * Variables.C (set): renamed from isset(), because this clashes
15103 with some HP-UX macros (grr).
15105 2001-02-06 Allan Rae <rae@lyx.org>
15107 * LaTeX.h: Another bug fix. Missing std:: this time.
15109 2001-02-04 Allan Rae <rae@lyx.org>
15111 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15112 floats problem. I've left it commented out because it's not quite
15113 correct. It should also test that the current object is a table or
15114 figure inset. But I haven't gotten around to figuring out how to do
15115 that. I *think* it'll be something like: "table" == inset.type()
15117 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15120 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
15122 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15123 all the citation/databases/styles in the auxilary file.
15124 (run): Rerun latex if there was a babel language error.
15126 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
15128 * text.C (Backspace): Preserve the font when changing newline char
15130 (BreakParagraph): If the cursor is before a space, delete the space.
15132 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15134 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
15136 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15137 new argument (code).
15138 (ChangeCitationsIfUnique): New method.
15140 * paragraph.C (GetPositionOfInset): Handle bibkey.
15142 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15144 * BufferView_pimpl.h: change type of Position::par_pos to
15145 LyXParagraph::size_type.
15147 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
15149 * BufferView_pimpl.C (savePosition, restorePosition): Write
15150 messages to minibuffer.
15152 2001-01-28 José Matos <jamatos@fep.up.pt>
15154 * buffer.C (makeDocBookFile): adds support for document language.
15155 A silly restriction on the name of LatexCommand types where removed.
15156 Added support for CDATA sections, allows to chars unescaped, used
15157 among others in code, to avoid escape < and >.
15159 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15161 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15162 saved positions instrad of a stack. Furthermore, a position is
15163 stored using paragraph id/paragraph position.
15165 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15166 Remove LFUN_REF_BACK.
15168 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15170 * converter.C (dvipdfm_options): New method.
15172 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
15174 * vspace.C (isValidLength): Fix for empty input string.
15176 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15178 * LyXAction.C (init): change description of LFUN_FIGURE to
15181 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15183 * LaTeX.C: add using directive
15185 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15187 * MenuBackend.C (expand): Fix the sorting of the formats.
15189 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
15191 * lyx_main.C: tiny error message fix
15193 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15195 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15196 calling fl_initialize(). This fixes the problem with ',' as
15197 decimal separator in text files.
15199 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15201 * trans.C (process): Fix the keymap bug.
15203 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
15205 * LaTeX.C (scanAuxFiles): New method. Provides support for
15206 multiple bibliographies (when using the bibtopic/bibunits pacakges).
15207 (scanLogFile) Scan for "run BibTeX" messages.
15209 * buffer.C (makeLaTeXFile): Do not load the ae package when using
15210 OT1 font encoding. Also, load the aecompl package if the ae
15213 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15215 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15217 * texrow.C (increasePos): turn two error messages into debug
15220 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
15222 * LaTeX.C (scanAux): Handle the \@input macro.
15223 (runBibTeX): Use scanAux().
15225 * language.C (latex_options_): New field.
15227 * LaTeXFeatures.C (getMacros): Add language macros.
15229 * buffer.C (makeLaTeXFile): Small fix.
15231 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15233 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15235 * text2.C: add a using directive.
15237 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
15242 * lyxfunc.C: kill LyXBell.
15244 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
15246 * text.C (IsBoundary): Remove the error message
15248 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15250 * lyxrc.C (setDefaults): Correct initialization value for
15253 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
15255 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15258 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15259 and GotoNextNote().
15261 * src/LyXAction.C: Added reference-next.
15263 * text.C (InsertChar): Use contains instead of strchr.
15265 * lyx_cb.C (MenuInsertLabel): Enable default value code.
15267 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
15269 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15270 alignment commands (when needed).
15272 * text.C (InsertChar): Add ':' to number separator chars.