1 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
6 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
8 * BufferView.C (setCursor): call redoParagraph (some insets could
10 (putSelectionAt): remove the 'double update' trick
12 * BufferView_pimpl.C (fitCursor): call refreshPar
13 (workAreaDispatch): remove an uneeded update call
14 (dispatch): remove some manual update calls
16 * cursor.[Ch]: remove cached_y_, updatePos
17 (selHandle): set noUpdate when appropriate
19 * lyxfunc.C (dispatch): track if we need an update
21 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
23 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
24 (paintSelection): cheap optimization, do not call cursorX when not
26 (paintPars): change signature
29 (paintTextInset): adjust
33 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
35 * lengthcommon.C: compilation fix: remove explicit array size from
36 unit_name[] and friends
38 2004-04-05 Angus Leeming <leeming@lyx.org>
40 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
42 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
43 present only for the preferences dialog.
44 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
46 2004-04-05 Angus Leeming <leeming@lyx.org>
48 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
49 to enable the frontends to export changes to lyxrc correctly.
51 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
53 2004-04-05 André Pönitz <poenitz@gmx.net>
55 * cursor.[Ch] (valign, halign...): remove unneeded functions
57 2004-04-05 Angus Leeming <leeming@lyx.org>
59 * lyxlength.[Ch] (unit_name et al.): const-correct.
61 2004-04-05 Angus Leeming <leeming@lyx.org>
72 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
74 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
76 * text3.C (getStatus): add LFUN_BEGINNINGBUF
78 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
80 * lyxfind.C: add a couple of inTexted() tests + other small fixes
81 * BufferView_pimpl.[Ch] (getStatus)
82 * BufferView.[Ch] (getStatus): add
83 * lyxfunc.C (getStatus): move lfuns handled in
84 BufferView::dispatch to te function above
85 * Cursor.C (setSelection): set selection() = true
87 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
89 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
91 2004-03-31 Angus Leeming <leeming@lyx.org>
93 * lyxfunc.C (dispatch): Fall through to the generic
94 Dialogs::show("preamble").
96 2004-03-31 Angus Leeming <leeming@lyx.org>
98 * lyxfunc.C (dispatch): Fall through to the generic
99 Dialogs::show("spellchecker").
101 2004-03-31 Angus Leeming <leeming@lyx.org>
103 * lyxfunc.C (getStatus, dispatch): changed invocation of the
106 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
111 * insetiterator.[Ch]:
116 * undo.[Ch]: s/DocumentIterator/DocIterator/g
118 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
120 * BufferView.C (setCursor, putSelectionAt): call edit to open the
121 insets where we are putting the cursor.
123 2004-03-31 Angus Leeming <leeming@lyx.org>
126 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
128 * lyxrc.[Ch] (read, write): overloaded member functions taking
129 a std::[io]stream arguments.
131 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
133 2004-03-31 Angus Leeming <leeming@lyx.org>
135 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
136 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
138 * lyxtextclass.C (load): if the text class couldn't be loaded, then
139 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
141 2004-03-31 Angus Leeming <leeming@lyx.org>
143 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
144 the LFUN_ALL_INSETS_TOGGLE code.
146 2004-03-30 Angus Leeming <leeming@lyx.org>
148 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
149 has died. Fall through to the generic Dialogs::show("document").
151 2004-03-30 Angus Leeming <leeming@lyx.org>
154 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
155 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
157 * lyxfunc.C (getStatus, dispatch): define the actions for these
158 lfuns. Little more than a cut and pste job from ControlDocument.C
160 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
162 2004-03-30 Angus Leeming <leeming@lyx.org>
165 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
166 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
168 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
169 open/closed state of ollapsable insets. Usage:
171 all-inset-toggle <state> <name>, where
172 <state> == "open" || "closed" || "toggle" and
173 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
175 * lyxtext.h, text2.C (toggleInset): removed.
177 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
178 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
179 now passes LFUN_INSET_TOGGLE to the found inset.
181 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
182 is now invoked as "all-insets-toggle toggle branch".
184 2004-03-30 Angus Leeming <leeming@lyx.org>
188 * pariterator.[Ch]: added/corrected header blurb.
190 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
192 * dociterator.[Ch]: add an inset_ member
193 (backwardPos): implemented
194 (backwardPos, forwardPos): use inset_ when the stack is empty.
195 (doc_iterator_begin, doc_iterator_end): implemented
196 * pariterator.[Ch]: adjust, add begin, end
197 * insetiterator.[Ch]: adjust, add begin, end
201 * BufferView_pimpl.C:
202 * CutAndPaste.C: adjust
204 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
206 * buffer.C: increment file format to 232.
207 * LaTeXFeatures.C: add bibtopic package.
208 * bufferparams.[Ch]: param \use_bibtopic.
210 * lyxrc.[Ch]: add lyxrc bibtex_command
211 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
213 * buffer.C: increment file format to 231.
215 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
217 * dociterator.C: implement forwardPar
218 * iterators.[Ch]: remove, replaced by
219 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
221 * BufferView_pimpl.C:
224 * bufferview_funcs.C:
230 * Makefile.am: adjust
232 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
234 * CutAndPaste.C (pasteSelection): fix 2 crashes
235 (eraseSelection): fix a crash
236 * paragraph_funcs.C: remove a warning
238 2004-03-28 Angus Leeming <leeming@lyx.org>
241 * LyXAction.C (init): new LFUN_PRINT.
243 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
245 2004-03-27 Angus Leeming <leeming@lyx.org>
248 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
250 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
252 2004-03-27 Angus Leeming <leeming@lyx.org>
254 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
255 insetlist always contains non-null pointers to insets.
257 2004-03-26 Angus Leeming <leeming@lyx.org>
259 * src/BufferView_pimpl.C:
263 * src/output_plaintext.C:
264 * src/outputparams.h:
265 * src/paragraph_funcs.C:
269 * src/frontends/controllers/ControlErrorList.C:
270 * src/frontends/gtk/FileDialogPrivate.C:
271 * src/frontends/gtk/GPainter.C:
272 * src/frontends/gtk/GToolbar.C:
273 * src/frontends/qt2/QRef.C:
274 * src/mathed/math_scriptinset.C: squash compiler warnings.
276 2004-03-26 Angus Leeming <leeming@lyx.org>
278 * ispell.C (LaunchIspell::start):
279 * lyx_cb.C (AutoSaveBuffer::start):
280 invoke run(DontWait) rather than runNonBlocking().
282 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
284 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
286 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
288 * kbsequence.C (print): adjust
290 * kbmap.C (printKeySym): rename and change signature
291 (printKey): use LyXKeySym::print()
293 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
295 * undo.C: add using std::advance to compile for stlport
297 2004-03-24 Angus Leeming <leeming@lyx.org>
299 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
300 it leads to a crash when no buffer is present.
302 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
303 Martin Vermeer <martin.vermeer@hut.fi>
305 * lyxfunc.C (dispatch):
306 * bufferparams.C (readToken): use the new LColor::setColor
308 * LColor.[Ch] (setColor): new version that takes two strings as
309 argument and creates a new color entry if necessary
311 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
313 * buffer.C (makeLaTeXFile): if the main latex file that is
314 processed is usually a subdocument of some master, then pretend
315 for a while that it is actually the master
317 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
319 * buffer.C (getLabelList):
320 (getBibkeyList): use getMasterBuffer()
321 (getMasterBuffer): new method. Returns the main document in the
322 case where one is using included documents.
324 2004-03-25 André Pönitz <poenitz@gmx.net>
328 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
330 * ParagraphList_fwd.h: change ParagraphList to a std::vector
332 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
333 text*.C over here. Rename namespace CutAndPaste to lyx::cap
335 * ParameterStruct.h: merge with ParagraphParameters
337 * lyxtext.h: remove LyXText::parOffset() and getPar()
339 * text3.C: Remove all 'manual' update calls. We do now one per user
340 interaction which is completely sufficient.
344 * BufferView_pimpl.C:
347 * ParagraphParameters.[Ch]:
359 * output_docbook.[Ch]:
361 * output_linuxdoc.[Ch]:
362 * output_plaintext.[Ch]:
364 * paragraph_funcs.[Ch]:
365 * paragraph_pimpl.[Ch]:
373 * frontends/controllers/ControlDocument.C:
374 * frontends/controllers/ControlErrorList.C:
375 * frontends/controllers/ControlSpellchecker.C:
378 * insets/insetbase.h:
379 * insets/insetbibitem.C:
381 * insets/insetbranch.C:
382 * insets/insetcaption.C:
383 * insets/insetcharstyle.C:
384 * insets/insetcharstyle.h:
385 * insets/insetcollapsable.C:
386 * insets/insetcollapsable.h:
388 * insets/insetfloat.C:
389 * insets/insetfoot.C:
390 * insets/insetmarginal.C:
391 * insets/insetnote.C:
392 * insets/insetoptarg.C:
393 * insets/insettabular.C:
394 * insets/insettext.C:
395 * insets/insettext.h:
396 * insets/insetwrap.C:
397 * mathed/math_mboxinset.C:
398 * mathed/math_nestinset.C:
399 * mathed/math_scriptinset.C:
400 * mathed/math_scriptinset.h:
403 2004-03-24 Angus Leeming <leeming@lyx.org>
405 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
406 deal with any child processes that have finished but are waiting to
407 communicate this fact to the rest of LyX.
409 2004-03-24 Angus Leeming <leeming@lyx.org>
411 64-bit compile fixes.
413 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
414 (c-tor): pass lyx::pos_types rather than ints.
416 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
419 * text.C (Delete): compile fix.
420 (getPar): ensure that function declaration is the same as that in
423 2004-03-23 Angus Leeming <leeming@lyx.org>
425 * ispell.C (LaunchIspell):
426 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
427 a boost::shred_ptr rather than a std::auto_ptr.
429 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
431 * lyxfunc.C (getStatus): handle read-only buffers correctly;
432 handle LFUN_FILE_INSERT_*
434 * lyxrc.C (setDefaults, getDescription, output, read):
435 * lyxrc.h: remove ps_command
437 2004-03-22 Angus Leeming <leeming@lyx.org>
439 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
440 Ensure that error_handler is processed once only and that all data
441 is saved before attempting to output any warning messages.
443 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
445 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
447 * tabular.C (TeXRow): crash fix (from Kayvan and André)
449 2004-03-19 André Pönitz <poenitz@gmx.net>
451 * cursor.[Ch] (reset): take main text inset as argument
454 * BufferView_pimpl.C: adjust
456 * paragraph.[Ch]: fix completely broken operator=()
458 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
460 * LColor.C (getFromLyXName): make sure that the color name is used
463 2004-03-17 Angus Leeming <leeming@lyx.org>
466 * LyXAction.C (init): remove LFUN_FORKS_KILL.
468 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
469 dialog and to kill a forked process.
471 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
473 * text2.C (setCursorFromCoordinates): fix font problem
475 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
477 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
478 bogus "rebuild cursor" code
480 2004-03-11 André Pönitz <poenitz@gmx.net>
482 * buffer.[Ch]: use InsetText instead of LyXText as container for
485 * dociterator.[Ch]: drop the BufferView * member which is not needed
486 anymore after the change to buffer.C
492 * BufferView_pimpl.[Ch]:
494 * cursor_slice.[Ch]: adjust
496 * text3.C: fix bug in mathDispatch
498 2004-03-08 André Pönitz <poenitz@gmx.net>
500 * undo.[Ch]: use 'StableDocumentIterator' as base for
503 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
506 * bufferparams.[Ch]: add jurabib support and param.
508 * LaTeX.C: add FIXME/comment.
510 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
512 * buffer.C: increment file format to 230.
514 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
516 * cursor.C (dispatch): avoid infinite loops
518 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
520 * rowpainter.C (paintSelection): fix x coordinates
522 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
524 * text.C (rowBreakPoint): fix breaking before displayed insets
526 2004-03-01 André Pönitz <poenitz@gmx.net>
528 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
530 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
534 * BufferView_pimpl.C:
542 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
548 * BufferView_pimpl.C: rename textwidth -> maxwidth,
549 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
551 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
553 * Bidi.[Ch] (computeTables): const correctness
554 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
555 fill_hfill, fill_label_hfill and x from Row
556 * lyxtext.h: prepareToPrint returns a RowMetrics
557 * rowPainter.C: adjust
558 * text.C (prepareToPrint): use width, not textWidth. adjust
559 (redoParagraphInternal, cursorX): adjust
560 * text2.C (getColumnNearX): adjust
561 (init): put a default value to the top LyXText::width
563 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
565 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
567 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
569 * lyxtext.h: add FontIterator class
571 * text.C (FontIterator, operator*, operator->, operator++): add
572 (rowBreakPoint, setRowWidth): adjust (fixing a
575 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
577 * BufferView_pimpl.C (workAreaDispatch): allow also
578 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
580 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
582 * text.C (rowBreakPoint): fix a bug showing with very large insets
584 2004-02-25 André Pönitz <poenitz@gmx.net>
587 * cursor.[Ch]: move some mathed specific code to mathed
589 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
591 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
592 use_tempdir in preferences
593 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
595 * lyx_main.C: ensure that tempdir is valid
596 * lyxlex.h: correct typo
597 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
598 * paragraph.[Ch] (isMultiLingual): make const
599 * cursor.[Ch] (openable): make const
601 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
603 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
605 2004-02-20 André Pönitz <poenitz@gmx.net>
607 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
609 * cursor.[Ch]: prepare for localized getStatus()
615 * text3.C: streamlines the LyXText cursor movement handlers a bit.
617 2004-02-20 André Pönitz <poenitz@gmx.net>
619 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
621 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
623 * text2.C (setCursorFromCoordinates): switch to absolute coords
626 * text3.C (dispatch): adjust
628 2004-02-16 André Pönitz <poenitz@gmx.net>
630 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
633 * cursor_slice.[Ch]: remove unneeded acessor function
635 * lyxtext.h: rename rtl() to isRTL()
643 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
645 * rowpainter.C (paintSelection): coord fix
647 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
649 * Spacing.C: compile fix
651 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
653 * cursor.C (dispatch): restore current_ before returning
655 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
657 * text2.C (cursorUp, cursorDown): fix coords
660 2004-02-12 André Pönitz <poenitz@gmx.net>
665 * text3.C: add LCursor & parameter to most cursor movement functions
666 remove usage of LyXText::cursorRow() and cursorPar()
668 * cursor.[Ch]: add textRow() needed members
671 * BufferView_pimpl.C:
674 * BufferView_pimpl.C: adjust
676 2004-02-11 André Pönitz <poenitz@gmx.net>
680 * BufferView_pimpl.C: shift undo/redo handling
682 * cursor.[Ch]: fix mathed crash
685 * lyxtext.h: move selectionAsText to LCursor
693 * rowpainter.C: fix excessive drawing
695 2004-02-06 André Pönitz <poenitz@gmx.net>
698 * BufferView_pimpl.[Ch]:
699 * text3.C: move some text specific LFUN handling
701 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
703 * text3.C (checkInsetHit): adjust coords
704 * text2.C (getColumnNearX): adjust coords
705 (edit): adjust coords
706 * text.C (getRowNearY): add two asserts
708 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
711 * format.C: add using std::distance to compile on gcc 2.95/stlport
713 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
715 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
717 2004-02-04 André Pönitz <poenitz@gmx.net>
719 * BufferView.[Ch] (insertInset):
720 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
725 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
727 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
728 on the default clause of the switch
729 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
730 wasn't catched by LCursor::dispatch
732 2004-02-03 André Pönitz <poenitz@gmx.net>
735 * cursor.[Ch]: some additional asserts
737 * undo.[Ch]: remove LyXText dependency in interface
741 * lyxtext.h (firstPar, lastPar): remove dead functions
746 * paragraph.[Ch]: adjust
748 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
750 * lyxfind.C (find): fix argument order in call to ::find
752 2004-02-02 André Pönitz <poenitz@gmx.net>
754 * cursor.[Ch]: remove direct access to anchor
756 * text.C: remove findText() hack
758 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
760 * iterators.[Ch] (lockPath): remove in favour of...
761 * BufferView.[Ch] (setCursor): this addition
762 * BufferView.C (putSelectionAt): adjust
763 * undo.C (performUndoOrRedo): adjust
764 * lyxfunc.C (dispatch): adjust
766 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
768 * iterators.C (lockPath): add a missing slice
769 * undo.C (performUndoOrRedo): remove redundant positioning code
771 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
773 * vc-backend.C (scanMaster): ";" -> ';'
775 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
777 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
780 * lyxtextclass.C (compare_name): rename to...
781 (LayoutNamesEqual): ...this
783 * lyxlex_pimpl.C (compare_tags): inherit from
784 std::binary_function, put back into anon namespace
786 * lyxfind.C (MatchString): inherig from std::binary_function
787 (findChange): use empty() istead of !size()
789 * format.C (FormatNamesEqual): new functor
796 * converter.C (compare_Converter): rename to...
797 (ConverterEqual): ...this, and fixup a bit.
798 (getConverter): use it, and make function const
799 (getNumber): use it, and make function const
803 * bufferlist.C: add using boost::bind
805 * MenuBackend.C (MenuNamesEqual): new functor
806 (hasMenu): use it, and make function const
807 (hasSubmenu): use nested bind to get rid of compare_memfun.
809 2004-01-30 André Pönitz <poenitz@gmx.net>
811 * BufferView_pimpl.C:
822 * text3.C: move some of the edit(x,y) handling to the insets
823 some coordinate changes.
825 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
827 * text.C: add using statements for std::advance and std::distance
829 * paragraph.C: add using statement for std::distance
831 * lyxfind.C: add using statement for std::advance
833 * cursor.C (region): remove std:: from swap
834 (openable): use nucleus in stead of operator->
836 * BufferView.C: add using statements for std::distance and std::swap
838 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
840 * iterators.C: Remove the pimple, move the needed structures to
841 the header file. Create accessor for the positions stack.
842 (asPosIterator): remove function
844 * PosIterator.C (PosIterator): move constructors to top of file
845 (PosIterator): reimplement the constructor taking a ParIterator in
847 (setFrom): new function
848 (operator!=): inline it
850 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
852 * lyxfind.C (replaceAll): use std::advance
854 * iterators.h: inherit from std::iterator.
856 * PosIterator.C (advance, distance): remove
857 * PosIterator.h: interit from std::iterator.
859 2004-01-26 André Pönitz <poenitz@gmx.net>
862 * BufferView_pimpl.[Ch]:
866 * bufferview_funcs.C:
877 * output_plaintext.C:
879 * paragraph_funcs.[Ch]:
880 * paragraph_pimpl.[Ch]:
886 * text3.C: more IU: dumps most of the rest of the mathcursor
887 implementation into cursor.[Ch]; "globalize" a bit of it.
889 2004-01-25 Angus Leeming <leeming@lyx.org>
891 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
893 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
895 * LaTeXFeatures.h: add nice_ and nice() const
896 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
898 2004-01-20 André Pönitz <poenitz@gmx.net>
901 * BufferView_pimpl.C:
903 * bufferview_funcs.C:
916 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
917 LCursor and mathcursor parts to LCursor and InsetBase.
919 2004-01-15 André Pönitz <poenitz@gmx.net>
921 * cursor_slice.[Ch]: add a few covienience functions
923 * funcrequest.[Ch]: remove BufferView * member
925 * BufferView_pimpl.C:
932 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
934 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
936 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
937 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
939 2004-01-13 André Pönitz <poenitz@gmx.net>
942 * lyxtext.h: hide cursor and selection anchor behind accessor function
945 * BufferView_pimpl.[Ch]:
947 * bufferview_funcs.C:
957 * cursor_slice.[Ch]: some integer type changes for inset unification
959 * lyxcursor.[hC]: remove, it's CursorSlice now.
962 * BufferView_pimpl.[Ch]:
963 * bufferview_funcs.C:
969 * textcursor.[Ch]: adjust
971 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
973 * text2.C (undoSpan): add and use
974 * text.C (breakParagraph): use undoSpan (fix bug 578)
977 2004-01-08 Angus Leeming <leeming@lyx.org>
979 * BufferView_pimpl.C (MenuInsertLyXFile):
980 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
981 * lyxfunc.C (menuNew, open, doImport):
982 FileFilterList change to the FileDialog open and save functions.
984 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
986 * ShareContainer.h: make isEqual and isUnique adaptable
988 * CutAndPaste.C: make resetOwnerAndChanges adaptable
990 2004-01-07 Angus Leeming <leeming@lyx.org>
993 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
995 * BufferView_pimpl.C (dispatch): act on these LFUNs.
997 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
998 functions replacing find, replace and replaceAll.
1000 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1001 LFUN_WORDFIND(FORWARD|BACKWARD).
1003 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1005 * text.C (breakParagraph): remove an outdated #warning
1007 2004-01-07 André Pönitz <poenitz@gmx.net>
1009 * lyxfind.C: somewhat clearer logic
1011 * text.C: prevent crash in cursorX on unitialized row cache
1013 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1015 * lyxcursor.[Ch] (operator>): add
1016 * textcursor.C (selStart, selEnd): use std::min and std::max
1018 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1020 * Chktex.C: include boost/format.hpp
1022 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1024 * InsetList.C: replace functor MathcIt with adaptable functor
1026 (insetIterator): modify accordingly
1028 * BranchList.h: move the BranchNamesEqual functor here from...
1029 * BranchList.C: ... to here
1031 * BranchList.C: new BranchListEqual fuctor, use it. Remove
1033 (add): replace a finding loop with std::find_if.
1035 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
1037 * output_docbook.C: moving LatexParam functionality into
1040 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1042 * buffer.C: increment format to 229.
1044 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
1047 * lyx_sty.[Ch]: remove minipageindent_def
1053 * text3.C: remove LFUN_INSET_MINIPAGE
1055 2003-12-28 Angus Leeming <leeming@lyx.org>
1057 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1059 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
1061 * text2.C (setParagraph): fix off-by-one crash
1063 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
1065 * output_docbook.C: header stuff for AGU
1067 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
1069 * text2.C (redoCursor): remove
1072 * BufferView_pimpl.C: remove calls to redoCursor and
1073 setCursor(cursor.par(), cursor.pos()) all around
1075 2003-12-15 Angus Leeming <leeming@lyx.org>
1077 * buffer.C: up the format to 228.
1079 2003-12-15 André Pönitz <poenitz@gmx.net>
1081 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1086 * BufferView_pimpl.C:
1095 2003-12-15 Angus Leeming <leeming@lyx.org>
1097 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1098 than getFromGUIName to manipulate the color.
1100 2003-12-14 Angus Leeming <leeming@lyx.org>
1102 * BranchList.[Ch]: minimize the API.
1103 (Branch::getBranch, getColor): now return a 'const &'.
1104 (Branch::setSelected) now returns a bool set to true if the
1105 selection status changes.
1106 (BranchList::clear, size, getColor, setColor, setSelected,
1107 allBranches, allSelected, separator): removed.
1108 (BranchList::find): new functions, returning the Branch with
1110 (BranchList::add, remove): return a bool indicating that
1111 the operation was successful.
1113 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1114 new InsetBranch::isBranchSlected member function.
1116 * LColor.[Ch]: mimimize the API.
1117 (fill): renamed as addColor and made private.
1118 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1119 versions of these functions taking a string arg have been removed.
1121 * bufferparams.C (readToken):
1122 * lyxfunc.C (dispatch):
1123 * lyxrc.C (read): changes due to the altered BranchList and
1126 * factory.C (createInset, readInset): changes due to altered
1129 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1132 * lyxfunc.C: remove insetminipage. "minipage-insert"
1133 now produces a frameless minipage box inset.
1135 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1137 * textcursor.[Ch] (selStart,selEnd): add new methods
1138 remove selection::start, end, use LyXCursor::operator<
1139 * lyxcursor.[Ch] (operator<): add
1140 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1141 * BufferView.[Ch] (unsetXSel): add
1142 * text2.C (clearSelection): use unsetXSel,adjust
1145 * rowpainter.C: adjust
1146 * bufferview_funcs.C (put_selection_at): adjust
1148 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1150 * BufferView_pimpl.C: small coord. correction
1152 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1154 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1155 dragging over the splash screen.
1157 2003-12-11 Angus Leeming <leeming@lyx.org>
1159 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1160 as it is now handled in LyXText::dispatch.
1162 * text3.C (doInsertInset): remove a level of nesting.
1164 2003-12-11 Angus Leeming <leeming@lyx.org>
1166 * factory.C (createInset): changes due to the changed interface to
1167 InsetCommandMailer::string2params.
1169 2003-12-10 Angus Leeming <leeming@lyx.org>
1171 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1172 'dialog-show-new-inset <inset name>'
1174 2003-12-10 Angus Leeming <leeming@lyx.org>
1176 * buffer.C: up the format to 227.
1178 * factory.C: the box inset is now identified simply by 'Box'.
1180 2003-12-10 Angus Leeming <leeming@lyx.org>
1182 * buffer.C: up the format to 226.
1184 * factory.C: the note inset is now identified simply by 'Note'.
1186 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
1188 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1189 when a pit is enough. Standarize a couple of loops.
1191 2003-12-05 Angus Leeming <leeming@lyx.org>
1193 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1194 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1195 data to the re-worked "log" dialog.
1197 2003-12-03 André Pönitz <poenitz@gmx.net>
1203 * paragraph_funcs.C:
1205 * text2.C: use Inset::getText instead of Inset::getParagraph
1207 2003-12-03 André Pönitz <poenitz@gmx.net>
1211 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1212 InsetText::read() as LyXText::read()
1214 2003-12-02 Angus Leeming <leeming@lyx.org>
1216 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1217 type. Add a comment in the implementation that the function uses
1218 the stream's bad() function rather than fail() as the std::streams
1221 2003-12-02 André Pönitz <poenitz@gmx.net>
1223 * lyxlex.[Ch]: make interface more similar to std::stream
1225 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1227 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1229 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1231 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1233 * vspace.[Ch]: remove VSpace::NONE
1235 2003-12-01 André Pönitz <poenitz@gmx.net>
1238 * lyxtext.h: move ParagraphList member to LyXText
1239 rename LyXText::ownerParagraphs to LyXText::paragraph
1242 * bufferview_funcs.C:
1252 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1254 * undo.C: fix cursor positioning
1256 2003-12-01 John Levon <levon@movementarian.org>
1258 * BufferView_pimpl.C: fix a crash on exit with
1261 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
1263 * BranchList.C: fix setSelected() method.
1265 2003-11-28 André Pönitz <poenitz@gmx.net>
1267 * ParagraphParameters.[Ch]:
1268 * ParameterStruct.h: remove space above/below from Paragraph to
1271 * BufferView_pimpl.C:
1277 * paragraph_funcs.C:
1283 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1285 * factory.C: Syntax change for CharStyles
1287 2003-11-28 André Pönitz <poenitz@gmx.net>
1292 * buffer.[Ch]: move LyXText member
1294 2003-11-28 André Pönitz <poenitz@gmx.net>
1296 * BufferView.[Ch]: make LyXText * text a private member
1298 * BufferView_pimpl.C:
1309 * output_plaintext.C: cleanup
1311 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1314 * lyxtextclass.[Ch]: parametrize SGML document header
1316 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1319 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1322 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1324 * text2.C (setFont): rework using PosIterator (no more recursive)
1325 (setCharFont): no more needed
1326 (setLayout): no more selection cursors fiddling (done by redoCursor)
1327 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1328 destroy remaining ones)
1330 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
1332 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1334 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1337 * text3.C: adjust + re-allow multi par depth changes
1338 * textcursor.C: simplify a bit
1340 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
1346 * src/output_docbook.C:
1347 * src/output_latex.C:
1352 * src/text2.C: Introducing a number of tags parametrizing various
1353 XML formats that we may want to support
1355 2003-11-25 André Pönitz <poenitz@gmx.net>
1357 * InsetList.[Ch] (begein, end): inline as suggested by profiler
1359 * lyxtext.h (leftMargin/rightMargin): simplify interface
1366 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1368 * lyxfunc.C (dispatch): propogate the bibtex databases from the
1369 master file to any child files. Fixes bug 546.
1371 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1373 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1375 2003-11-24 André Pönitz <poenitz@gmx.net>
1377 * rowpainter.C: simplification
1379 * text2.C (updateCounters): remove call to redoParagraph on
1380 changed labels as this is far too expensive.
1382 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1384 * converter.C (convert): fix a crash: this function gets
1385 called with buffer == 0 from importer code.
1387 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1389 * text3.C (cursorPrevious): make sure that we do not compare
1390 iterators form different containers.
1393 * rowpainter.C (paintSelection): make sure that we do not compare
1394 iterators from different containers.
1396 * text3.C (dispatch): [PRIOR] make sure that we do not compare
1397 iterators from different ParagraphList containers.
1400 * text2.C (LyXText): change order of initialization slightly
1401 (operator=): new function. copy all variables except cache_par_
1402 (moveUp): make sure that we do not compare iterators from
1403 different ParagraphList constainers.
1406 * text.C (firstPar): new function
1407 (lastPar): new function
1408 (endPar): new function
1410 * lyxtext.h: move things around and group public functions, public
1411 variables, private functions, private variables
1413 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1415 * factory.C: change call to InsetERT constructor to avoid
1416 additional invocation of method status
1417 * text2.C (toggleInset): remove redundant update() call
1418 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1419 instead of a Bufferview pointer
1421 2003-11-21 André Pönitz <poenitz@gmx.net>
1423 * rowpainter.C: simplification
1425 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1427 * text3.C (dispatch): make possible to extend a word/row selection
1430 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1432 * lyxtext.h: x0_,y0_ -> xo_,yo_
1433 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1434 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1435 * rowpainter.C (paintRows): paint full paragraphs
1437 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1439 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1442 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1444 * lyxtext.h: add x0_, y0_
1445 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1446 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1448 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
1450 * text2.C (setCursorIntern): move the x_target update here *
1451 * text3.C: change some bv() to true/false in calls to
1452 cursorUp/Down/Right/Left
1453 * cursor.C: use helper function.
1455 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1457 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1458 * paragraph_funcs.[Ch]: correct comment
1459 * rowpainter.C: do not paint selections away from bv->cursor()
1460 Fix a long standing selection painting bug.
1461 * text3.C: generalize mouse-selection code to LyXTexts other that
1463 * textcursor.C: do not use y coords if we can use par offsets
1465 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1467 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1468 cursor position after e.g. inset insert)
1470 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
1472 * lyxfind.C (replace): adjust to locking removal + some
1475 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
1477 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1480 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
1483 * output_docbook.C: XML sanitation: new layout
1484 parameters InnerTag and CommandDepth
1486 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
1488 * BufferView_pimpl.C:
1490 * text3.C: Fix the insertion and modification of button-style
1493 2003-11-13 André Pönitz <poenitz@gmx.net>
1495 * InsetList.[Ch]: remove deleteLyXText
1497 * paragraph.[Ch]: cache beginOfBody position
1502 * text3.C: remove superfluous update() calls
1506 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1508 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1509 * BufferView.C (fitLockedInsetCursor): remove
1510 * cursor.[Ch] (getDim): add
1511 * text.C (getRowNearY): add faster version
1512 * text3.C: remove some update calls
1514 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1526 * text3.C: The Character Style /XML short element patch.
1528 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
1531 * factory.C: Small step to solving 'unable to insert some insets'
1534 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1536 * cursor.[Ch] (updatePos): new function for updating the y
1537 position of the tip inset
1538 * bufferview_funcs.C (put_selection_at):
1539 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1541 2003-11-11 André Pönitz <poenitz@gmx.net>
1543 * text.C: remove big comment on invalid Paragraph pointers as it is
1546 2003-11-11 André Pönitz <poenitz@gmx.net>
1548 * text_funcs.[Ch]: merge with ...
1556 * Makefile.am: remove text_funcs.[Ch]
1558 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1560 * cursor.C (getPos): return absolute cached y coord
1562 * BufferView_pimpl.C (fitCursor): new simplistic code
1563 (workAreaDispatch): add a fitCursor call
1565 2003-11-10 André Pönitz <poenitz@gmx.net>
1568 * BufferView_pimpl.[Ch]: merge update() and updateInset()
1570 2003-11-10 André Pönitz <poenitz@gmx.net>
1572 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1573 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1574 indicate that the cursor needs to leave an inset
1576 * lyxtext.h: remove inset locking
1578 * cursor.[Ch]: re-implement functionality provided by inset locking
1581 * BufferView_pimpl.[Ch]:
1583 * bufferview_funcs.[Ch]:
1595 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1597 * PosIterator.[Ch]: replace the stack with a vector, add inset
1599 * iterators.[C]: adjust
1601 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1603 * lyxfind.C (replaceAll): mark the buffer dirty if something was
1605 * paragraph_funcs.C (readParToken): put the correct id in the
1606 error item, not the id of the top paragraph
1608 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1610 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1611 * bufferview_funcs.C (put_selection_at): use the above
1613 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1615 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1617 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1619 * output_linuxdoc.h:
1620 * output_plaintext.h:
1622 * output_docbook.h: add #include statements
1624 2003-11-05 José Matos <jamatos@lyx.org>
1626 * output_docbook.[Ch]:
1627 * output_latex.[Ch]:
1628 * output_linuxdoc.[Ch]:
1629 * output_plaintext.[Ch]: New files for output formats.
1630 * output.[Ch]: New file for helper functions.
1633 * paragraph_funcs.[Ch]: output functions moved to new files.
1635 * outputparams.h: rename of latexrunparams.h
1643 * paragraph_funcs.[Ch]:
1644 * paragraph_pimpl.[Ch]:
1645 * tabular.[Ch]: rename ascii to plaintext
1646 and LatexRunParams to OutputParams.
1648 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1650 * iterators.[Ch] (text): require bv argument
1651 * undo.C (recordUndo):
1652 * lyxfunc.C (dispatch):
1653 * bufferview_funcs.C (put_selection_at): adjust
1655 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
1657 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1659 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1661 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1664 2003-11-04 André Pönitz <poenitz@gmx.net>
1666 * cursor.[Ch]: restructure
1669 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1671 * iterators.[Ch] (asCursor): remove
1673 * lfuns.h: remove LFUN_INSET_EDIT
1679 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1681 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1683 * lyxfind.[Ch]: complete overhaul
1684 * BufferView_pimpl.C:
1686 * paragraph.[Ch] (insert): add
1688 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1692 * text.C: remove dead spellcheck code
1694 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1696 * dispatchresult.h: add a val setter
1698 * cursor.C (dispatch): use a tempvar for data_[i]
1700 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1702 * PosIterator.[Ch]: compile fix
1704 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1706 * text.C (cursorPar): deactivate the cursor cache
1708 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1710 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1712 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1714 * text3.C (dispatch): adjust for new DisptchResult semantics.
1716 * lyxfunc.C (dispatch): handle update when return from
1717 Cursor::dispatch, adjust for new DispatchResult semantics.
1719 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1720 DispatchResult(true) mean to not update. Add class functions for
1721 setting dispatched and update, as well as reading.
1723 * cursor.C (dispatch): don't handle update here
1725 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1727 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1728 * trans_mgr.C: adjust
1730 * paragraph_funcs.C (readParToken): exception safety
1732 * lyxvc.h: store the vcs pointer in a scoped_ptr
1735 * lyxsocket.C (serverCallback): exception safety
1737 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1739 * ispell.C (clone): make it return a auto_ptr
1741 * factory.C (createInset): exception safety
1742 (readInset): exception safety
1744 * bufferlist.C (newBuffer): exception safety
1746 * Thesaurus.C (Thesaurus): use initialization for aik_
1748 * MenuBackend.C (expandToc): exception safety.
1750 2003-11-03 André Pönitz <poenitz@gmx.net>
1754 * bufferview_funcs.C: remove getInsetFromId()
1757 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1763 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1765 * PosIterator.C (distance, advance): new
1766 * bufferview_funcs.[Ch] (put_selection_at): new
1767 * iterators.[Ch] (lockPath): new
1769 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
1771 * iterators.[Ch] (asPosIterator): added
1772 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1773 * PosIterator.[Ch]: added
1775 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1779 * cursor.C (dispatch):
1780 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1782 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1783 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1784 contructor, add a class function dispatched. Remove operator>=
1786 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1788 * debug.C: only use the default constructor for debugstream
1791 * main.C (main): include debug.h and setup the lyxerr streambuf
1794 2003-10-31 José Matos <jamatos@lyx.org>
1796 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1798 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1799 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1800 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1801 * paragraph_pimpl.C (simpleTeXSpecialC):
1802 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1803 add LatexRunParams argument.
1805 * exporter.C (Export): change call accordingly.
1807 * latexrunparams.h: add new member to take care of the other backends.
1808 2003-10-30 José Matos <jamatos@lyx.org>
1810 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1811 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1812 factorise code for paragraph output.
1814 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1817 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1819 * text3.C (dispatch):
1820 * lyxfunc.C (dispatch):
1821 * cursor.C (dispatch):
1822 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1824 * dispatchresult.h: make the dispatch_result_t ctor explicit
1826 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1829 * buffer.C: small refactoring of docbook stuff
1831 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1833 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1836 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1838 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1839 operator dispatch_result_t, and operators for == != and >=
1841 * cursor.C (dispatch): adjust for operator dispatch_result_t
1842 removal. comment out call to update
1844 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1846 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1854 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1857 * dispatchresult.h: new file, DispatchResult broken out of
1860 * Makefile.am (lyx_SOURCES): add dispatchresult.h
1862 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1864 * text.C (rowBreakPoint): put a hack inside #if 0
1866 2003-10-28 André Pönitz <poenitz@gmx.net>
1870 * paragraph_funcs.C:
1873 * text2.C: general cleanup (lots of small stuff)
1875 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1877 * text2.C (cursorEnd): simple fix to the "end key goes to one
1878 before the end on last row" bug
1880 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1882 * text.C (backspace): fix the "zombie characters"
1884 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1886 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1888 2003-10-27 André Pönitz <poenitz@gmx.net>
1890 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1892 * factory.C: handle new InsetPagebreak, InsetLine
1894 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1895 and move handling into new InsetPagebreak, InsetLine
1897 * BufferView_pimpl.C:
1899 * ParagraphParameters.C:
1900 * ParameterStruct.h:
1905 * paragraph_funcs.C:
1906 * paragraph_pimpl.C:
1912 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1915 * lyxrow_funcs.[Ch]:
1921 * text3.C: remove lastPos uses in favour of Row::endpos
1923 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1925 * undo.C (performUndoOrRedo): fix two crashes by setting a
1926 cursor by hand and reordering some calls. Use bv->lockInset instead
1927 of inset->edit because the latter loses cursor information
1929 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
1931 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1933 (rowBreakPoint): fix width. change point to point + 1.
1934 Add a missing check.
1936 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
1939 * lyxfunc.C: fix (at least partly) the problems
1940 with the Nav menu and headers inside branch insets
1943 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
1945 * paragraph.C (getChar): add strong asserts
1947 * lyxrow_funcs.C (lastPos): remove hideous hack
1949 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1950 (fill): adjust to that (avoid an infinite loop)
1952 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1954 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1956 2003-10-23 André Pönitz <poenitz@gmx.net>
1958 * RowList_fwd.h: change list<> to vector<> to gain speed
1959 after suggestion from Alfredo
1961 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1963 * lyxtext.h: move the bidi stuff from here...
1966 * Bidi.[Ch]: ... to here
1968 2003-10-23 André Pönitz <poenitz@gmx.net>
1971 * text.C (isLastRow, isFirstRow): new functions
1973 * paragraph.h: new width cache member
1975 * rowpainter.C: replace RowList::iterator with Row & where possible
1977 * lyxfunc.C: replace several view()->text with a single call
1979 * toc.C: fix 'unused' warning
1981 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1983 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1984 when woring with stream::pos_type
1985 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1987 2003-10-22 André Pönitz <poenitz@gmx.net>
1990 * text.C: use Row & instead of RowList::iterator
1992 * lyxrow.h: rename end() to endpos()
1998 2003-10-22 Angus Leeming <leeming@lyx.org>
2000 * buffer.[Ch] (fully_loaded): new member function, returning true
2001 only when the file has been loaded fully.
2002 Used to prevent the premature generation of previews and by the
2003 citation inset to prevent computation of the natbib-style label.
2005 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2006 templates are all set up.
2008 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2010 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
2012 * text.C: fixed an "oops" in the "is a bit silly"
2015 2003-10-21 André Pönitz <poenitz@gmx.net>
2017 * FuncStatus.[Ch]: small stuff, whitespace
2019 * lyxfont.[Ch]: operator<<() for debug reasons
2023 * lyxtext.h: whitespace, spelling
2025 * paragraph.C: naming of variables
2028 * text2.C: small stuff
2031 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
2033 * text.C: (1) finish off the inset display() work;
2034 (2) fix the "is a bit silly" bug (accessing char
2037 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
2039 * text.C: re-introduce display() for insets, fixing the
2040 various bugs (stretch of line above, math inset
2043 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2045 * text.C (rightMargin): remove spurious semicolon
2047 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2050 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
2052 * text3.C: fix one crash due to wrong cursor def
2054 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2056 * vc-backend.C (scanMaster): make the regex static
2058 * LaTeX.C (scanAuxFile): make the regexs static
2060 * text3.C (doInsertInset, dispatch, dispatch):
2061 * text2.C (cursorUp, cursorDown):
2062 * text.C (selectNextWordToSpellcheck):
2063 * BufferView_pimpl.C (dispatch):
2064 * lyxfunc.C (dispatch): localDispatch -> dispatch
2066 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2068 * lyxsocket.C: include <cerrno>
2070 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2072 * lyxfunc.C (dispatch): remove textcache stuff
2074 * bufferlist.C (release): remove textcache stuff
2077 * TextCache.C: delete file
2078 * TextCache.h: delete file
2080 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2082 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2083 delete of the bv_->text.
2084 (resizeCurrentBuffer): remove texcache stuff
2085 (workAreaResize): ditto
2087 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2089 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2092 2003-10-16 André Pönitz <poenitz@gmx.net>
2099 * text3.C: speed up by storing y positions per paragraph plus per-row
2100 offset instead of having a 'full' y position in the row.
2102 2003-10-15 André Pönitz <poenitz@gmx.net>
2106 * undo.[Ch]: make undo aware of inner insets
2108 2003-10-14 Angus Leeming <leeming@lyx.org>
2110 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2111 static member functions LyX::ref() and LyX::cref.
2112 (lastfiles): new accessor functions for the new lastfiles_ member var.
2113 (addLyXView, views_): add a new LyXView to the list of views_.
2114 (updateInset): loop over all LyXViews to call their own updateInset
2115 member function, returning a pointer to the Buffer owning the inset.
2117 * BufferView_pimpl.C (loadLyXFile):
2118 * MenuBackend.C (expandLastfiles):
2119 * bufferlist.C (MenuWrite, QuitLyX):
2120 lastfiles is no longer a global variable.
2121 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2123 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2124 static function. Access through LyX::cref().emergencyCleanup().
2126 2003-10-14 André Pönitz <poenitz@gmx.net>
2128 * iterators.[Ch]: new direct access to innermost LyXText and Inset
2130 * undo.[Ch]: restoring part of 'undo in insets'
2133 * undo_funcs.[Ch]: merge with undo.[Ch]
2135 * tabular.C: small cleansing stuff
2137 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
2139 * paragraph_funcs.C (readParToken): report unknown insets as error
2140 boxes. Use the outer paragraph as location (also for unknown
2143 * factory.C (readInset): do not abort on reading an unknown inset.
2144 Eat it and return 0.
2146 2003-10-13 Angus Leeming <leeming@lyx.org>
2148 * lyx_main.C (LyX): remove call to setDisplayTranslator().
2150 * lyxrc.C: displayTranslator is now a function,
2151 declared in GraphicsTypes.h.
2153 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2155 * format.C: new placeholder $$a to pass the socket address.
2157 * bufferlist.[Ch]: new function getBufferFromTmp.
2159 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2160 files in the temporary dir.
2162 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2164 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2166 * Makefile.am: add lyxsocket.[Ch].
2168 * lyx_main.C (error_handler): handle SIGPIPE.
2170 2003-10-13 André Pönitz <poenitz@gmx.net>
2172 * BufferView_pimpl.C:
2177 * undo_funcs.[Ch]: use paroffset_type instead of
2178 ParagraphList::iterators to prevent multiple conversion
2179 (and get a more robust interface)
2181 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2183 * lyxfunc.C (dispatch): RESULT -> dispatch_result
2185 * text3.C (dispatch): ditto
2187 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2189 * LaTeX.C (handleFoundFile): move the static to smaller scope,
2190 move the onlyfile, use onlyfile instead of foundfile in a couple
2193 * DepTable.C (update): flush the error stream a bit more
2195 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2197 * lyxserver.C (callback): adjust
2199 * lyxfunc.C (getStatus): add a missing brace in commented code
2200 (ensureBufferClean): reindent
2201 (dispatch): delete version taking a string
2203 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2205 * LaTeX.C (deplog): move found file handlig from here...
2206 (handleFoundFile): .. to new function here.
2207 (deplog): make sure to discover several files mentioned on the
2210 2003-10-10 André Pönitz <poenitz@gmx.net>
2217 * text3.C: fix some of the tabular crashes
2219 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2221 * MenuBackend.C (binding): put debug message into Debug::KBMAP
2223 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2225 2003-10-09 André Pönitz <poenitz@gmx.net>
2227 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2230 * BufferView_pimpl.C:
2231 * bufferview_funcs.C:
2242 * undo_funcs.C: adjust
2244 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2246 * text2.C (incrementItemDepth): new function, use a backtracking
2247 algorithm to discover the correct item depth.
2248 (resetEnumCounterIfNeeded): new function, use a backtracking
2249 algorithm to discover if counter reset is needed.
2250 (setCounter): use them. Simplify a bit. Add different labels for
2251 different item depths for itemize.
2253 * paragraph.C (Paragraph): remove initialization of enumdepth
2256 * paragraph.h: get rid of enumdepth, and use itemdepth both for
2257 enumerate and itemize. Change the type of itemdepth to signed char.
2259 2003-10-08 André Pönitz <poenitz@gmx.net>
2261 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2266 * tabular.[Ch]: fix crash after 'row-insert'
2268 2003-10-08 Angus Leeming <leeming@lyx.org>
2270 Fix doxygen warnings.
2272 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2273 Remove CutAndPaste:: prefix from header file declaration.
2275 * LColor.h (fill): remove LColor:: prefix from declaration.
2277 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2278 use lyx::depth_type rather than Paragraph::depth_type so that
2279 header file and .C file match.
2281 * converter.h (intToFormat): remove Converters:: prefix from declaration.
2283 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2284 * aspell.C: \file aspell_local.C -> \file aspell.C
2285 * gettext.C: \file gettext.C -> \file src/gettext.C
2286 * gettext.h: \file gettext.h -> \file src/gettext.h
2287 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2288 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2289 * text.C: \file text.C -> \file src/text.C
2291 * toc.C: move comment so that doxygen is not confused.
2293 2003-10-07 Angus Leeming <leeming@lyx.org>
2295 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2297 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2300 * aspell_local.h: add forgotten std::string's.
2302 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2309 * text3.C: The Box patch. Fancybox support, minipage, parbox
2311 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2317 * ParagraphParameters.h:
2327 * lyxtextclasslist.h:
2330 * paragraph_pimpl.C:
2331 * textcursor.h: add <string> and other small fixes to make Lars'
2332 std::string patch compile with STLport.
2334 2003-10-06 Angus Leeming <leeming@lyx.org>
2336 * LColor.h: Add missing #include <string>.
2338 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2340 * All most all file in all subdirs: Make <string> be the prefered
2341 way of getting to std::string, add using declarations.
2343 2003-10-06 André Pönitz <poenitz@gmx.net>
2345 * metricsinfo.C: initialize LyXFont before changing attribute.
2346 (fixes the 'math in \emph is upright' bug)
2348 2003-10-06 André Pönitz <poenitz@gmx.net>
2350 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2352 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
2355 * paragraph_pimpl.C: Small fixes to build using STLport
2357 2003-10-02 André Pönitz <poenitz@gmx.net>
2360 * text3.C: move handling of LFUN_DEPTH *; fix #1360
2362 2003-10-01 André Pönitz <poenitz@gmx.net>
2364 * factory.C: assert early
2366 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2368 * lyx_main.C: remove the global debug object
2370 * debug.h: adjust for new debugstream
2372 * debug.C: adjust for new debugstream and keep the global debug
2375 2003-09-22 Angus Leeming <leeming@lyx.org>
2377 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2378 of g++ which otherwise complain that the scoped_ptr destructor can't delete
2379 an incomplete class LyXFont.
2381 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2383 * factory.C: bug fix in branches
2385 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2387 * lyxfunc.C (processKeySym): adjust
2389 (dispatch): change arg name from ev to func, adjust
2390 (sendDispatchMessage): ditto
2392 * lyx_main.C (defaultKeyBindings): adjust keybindings
2393 (deadKeyBindings): ditto
2395 * kbsequence.C (addkey): return a FuncRequest
2397 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2399 * kbmap.C (bind): take a FuncRequest as arg, adjust
2402 (defkey): change to take a FuncRequest as arg, adjust
2403 (findbinding): take a FuncRequest as arg, adjust.
2405 * funcrequest.h (operator=): added
2407 * funcrequest.C (FuncRequest): default kb_action changed from
2408 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2410 * buffer.C (dispatch): simplify
2411 (dispatch): adjust to take a FuncRequest as arg, adjust
2413 * boost.C (assertion_failed): change assertion message slightly
2415 * ToolbarBackend.C (read): simplify
2417 * MenuBackend.C (binding): adjust call to findbinding, add a
2418 message if no binding is found.
2420 (expandToc): correct by adding a empty FuncRequest
2422 * LyXAction.C: include <boost/assert.hpp>
2423 (isPseudoAction): delete function
2424 (LookupFunc): change name to...
2425 (lookupFunc): this. change return type to FuncRequest.
2426 (getActionName): take kb_action as arg, simplify
2427 (funcHasFlag): add an assert, simplify.
2429 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2431 * toc.C (action): return a FuncRequest, simplify
2433 * lyxfunc.C (processKeySym): adjust
2434 (getStatus): delete version that takes an int.
2436 (dispatch): delete version that takes action as int
2438 (sendDispatchMessage): simplify and adjust
2440 * funcrequest.C (getArg): take unsigned int as arg
2442 * ToolbarBackend.C (read): adjust
2443 (add): delete version that takes func as a string.
2444 (getIton): take a FuncRequest as arg
2446 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2449 * MenuBackend.C (MenuItem): add a new construct that only takes a
2450 Kind, simplify the constructor use for submenus.
2452 (expandLastfiles): adjust
2453 (expandDocuments): adjust
2454 (expandFormats): adjust
2455 (expandFloatListInsert): adjust
2456 (expandFloatInsert): adjust
2457 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2459 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2460 Remove class variables lyx_pseudo_map and lyx_arg_map
2462 * LyXAction.C (searchActionArg): delete function
2463 (getPseudoAction): delete function
2464 (retrieveActionArg): delete function
2465 (LookupFunc): make it return kb_action, simplify.
2466 (getActionName): simplify
2468 * factory.C (createInset): fix new bug
2470 2003-09-19 Angus Leeming <leeming@lyx.org>
2472 * CutAndPaste.C (pasteSelection): remove fudge used to set the
2473 masterFilename_ parameter in the include inset.
2475 * factory.C (createInset): changes due to the changes to InsetInclude.
2477 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2479 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2481 2003-09-18 Angus Leeming <leeming@lyx.org>
2484 * BufferView.C: pass the buffer when calling Inset::getLabelList,
2485 Inset::fillWithBibKeys.
2486 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2488 2003-09-18 Angus Leeming <leeming@lyx.org>
2490 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2492 (ctor): pass and store a 'Buffer const &'
2493 (buffer): new member function.
2495 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2496 '*this' to the LaTeXFeatures ctor.
2498 2003-09-18 Angus Leeming <leeming@lyx.org>
2504 * text.C: rename EnumLColor as LColor_color.
2506 2003-09-18 Angus Leeming <leeming@lyx.org>
2508 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2509 remove #include "insets/insetbase.h" from cursor.h.
2511 2003-09-18 Angus Leeming <leeming@lyx.org>
2513 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2514 InsetOld_code to remove #include "inset.h".
2516 * iterators.C: add #include "insets/inset.h"
2518 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
2520 * BufferView.C: remove more locking stuff that apparently doesn't
2521 do anything sensible.
2523 2003-09-16 André Pönitz <poenitz@gmx.net>
2526 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2529 2003-09-16 Angus Leeming <leeming@lyx.org>
2531 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2533 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2536 * paragraph.h: remove #include "lyxfont.h". Forward declare
2539 2003-09-16 Angus Leeming <leeming@lyx.org>
2541 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2542 of support/textutils.h.
2543 (isWord): move the contents of support/textutils.h's IsWordChar here.
2549 * text2.C: add #include "paragraph.h".
2552 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2554 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2560 * LaTeX.C: use namespace alias for lyx::support::os
2562 2003-09-16 Angus Leeming <leeming@lyx.org>
2565 * bufferview_funcs.C:
2568 * paragraph_pimpl.C:
2570 * text.C: add #include "LColor.h".
2572 2003-09-16 Angus Leeming <leeming@lyx.org>
2574 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2575 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2577 Store the FontBits::color variable as an int rather than as an
2578 LColor::colorso that we can move LColor.h out of the lyxfont.h header
2581 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2582 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2583 string calls together.
2585 * lyxrc.C: add #include "LColor.h".
2587 2003-09-15 Angus Leeming <leeming@lyx.org>
2589 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2592 2003-09-15 Angus Leeming <leeming@lyx.org>
2594 * LColor.h: add an EnumLColor wrapper for LColor::color.
2596 * lyxfont.[Ch] (color, setColor, realColor):
2597 * lyxtext.h, text.C (backgroundColor):
2598 pass EnumLColor args to/from the functions, rather than LColor::color
2602 * lyxtext.h: forward declare EnumLColor.
2604 * lyx_main.C: add #include "LColor.h".
2606 2003-09-15 Angus Leeming <leeming@lyx.org>
2608 * .cvsignore: add lyx-gtk.
2610 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2615 * ParagraphParameters.C
2619 * bufferview_funcs.C
2629 * vc-backend.C: remove usage of STRCONV
2631 2003-09-15 Angus Leeming <leeming@lyx.org>
2633 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2634 explicitly define the color passed to the painter.
2636 2003-09-15 Angus Leeming <leeming@lyx.org>
2638 * bufferparams.C (BufferParams): reorder member initializers to avoid
2641 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
2643 * CutAndPaste.C (pasteSelection): remove an outdated #warning
2644 * text.C (updateRowPositions): remove an unusual nop
2646 2003-09-12 André Pönitz <poenitz@gmx.net>
2648 * BufferView_pimpl.C:
2657 * Counters.[Ch]: finish the 'automatic counters' job
2659 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2661 * aspell.C: include <boost/assert.cpp> (compile fix)
2663 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
2665 * boost.C (assertion_failed): use lyx::support::abort instead of
2668 2003-09-10 Angus Leeming <leeming@lyx.org>
2670 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2671 with their _fwd progeny.
2673 2003-09-09 Angus Leeming <leeming@lyx.org>
2675 134 files throughtout the source tree: replace 'using namespace abc;'
2676 directives with the appropriate 'using abc::xyz;' declarations.
2678 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2680 * boost.C (emergencyCleanup): moved here from LAssert.c
2681 (assertion_failed): new function, called by BOOST_ASSERT
2683 * several files: change Assert to BOOST_ASSERT
2685 2003-09-09 Angus Leeming <leeming@lyx.org>
2687 * buffer.[Ch]: Add an Impl class and move Buffer's member
2688 variables into it. As a result move several header files out of
2691 Add header files to lots of .C files all over the tree as a result.
2693 2003-09-09 Angus Leeming <leeming@lyx.org>
2695 * buffer.[Ch]: make Buffer's member variables private. Add
2698 Lots of changes all over the tree as a result.
2700 2003-09-08 Angus Leeming <leeming@lyx.org>
2702 * graph.C: #include <config.h>.
2704 2003-09-08 Angus Leeming <leeming@lyx.org>
2708 * BufferView_pimpl.C:
2737 * toc.C: remove redundant using directives.
2739 2003-09-07 Angus Leeming <leeming@lyx.org>
2741 * LaTeXFeatures.h: remove #include "support/types.h".
2742 * ToolbarBackend.h: remove #include <algorithm>.
2743 * changes.h: remove #include <ctime>.
2744 * debug.h: remove #include <iosfwd>.
2745 * graph.h: remove #include "support/std_string.h".
2746 * lyx_main.h: remove #include <csignal>.
2747 * lyxlex_pimpl.h: remove #include <fstream>.
2748 * sgml.h: remove #include <algorithm>, <utility>.
2749 * toc.h: remove #include "support/std_ostream.h".
2750 Add #include <iosfwd>.
2752 2003-09-07 Angus Leeming <leeming@lyx.org>
2754 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2756 * converter.h: forward declare LatexRunParams.
2757 * encoding.h: remove #include "lyxrc.h".
2758 * lyxtext.h: remove #include "LColor.h".
2759 * lyxtextclass.h: remove #include "support/types.h".
2760 * trans.h: remove #include "tex-accent.h".
2761 * trans_mgr.h: remove #include "tex-accent.h".
2762 * insets/inset.h: remove #include "support/types.h", <vector>.
2763 * insets/insetcollapsable.h: remove #include "LColor.h".
2764 * insets/insetinclude.h: remove #include "dimension.h".
2765 * insets/insetlatexaccent.h: remove #include "dimension.h".
2766 * insets/insetoptarg.h:: remove #include "insettext.h".
2767 * insets/insettext.h: remove #include "dimension.h",
2768 <boost/shared_ptr.hpp>
2770 * insets/renderers.h: add #include "dimension.h".
2771 * insets/updatableinset.h: add #include "support/types.h".
2773 * many .C files: Associated changes.
2775 2003-09-06 Angus Leeming <leeming@lyx.org>
2777 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2778 one, inside testInvariant.
2780 * PrinterParams.C: new file.
2781 * PrinterParams.[Ch]: move the function bodies out of line.
2783 2003-09-06 Angus Leeming <leeming@lyx.org>
2785 * ParagraphParameters.h: forward declare ParameterStruct rather than
2786 including its header file.
2787 (depth): moved out-of-line.
2789 2003-09-06 Angus Leeming <leeming@lyx.org>
2791 * BufferView_pimpl.h:
2794 * lyxfunc.h: forward declare LyXKeySym rather than
2795 #include "frontends/LyXKeySym.h".
2797 * BufferView_pimpl.C:
2800 * lyxfunc.C: associated changes.
2802 2003-09-06 Angus Leeming <leeming@lyx.org>
2804 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2805 As a result, can remove the #include "insets/inset.h" from BufferView.h
2807 2003-09-06 Angus Leeming <leeming@lyx.org>
2809 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2810 As a result, can remove the #include "insets/inset.h" from BufferView.h
2812 2003-09-06 Angus Leeming <leeming@lyx.org>
2818 * bufferview_funcs.C:
2819 * BufferView_pimpl.C:
2824 * ParagraphParameters.C:
2829 * frontends/controllers/ControlDocument.C:
2830 * insets/insetcaption.C: rearrange the #includes into some sort of
2833 * buffer.h: remove #includes ErrorList.h, undo.h
2835 2003-09-06 Angus Leeming <leeming@lyx.org>
2837 * support/types.h: add a 'depth_type' typedef, used to store the
2838 nesting depth of a paragraph.
2841 * ParameterStruct.h: use this lyx::depth_type typedef rather than
2842 defining explicitly.
2845 * paragraph_funcs.h:
2846 * ParagraphParameters.h:
2847 * sgml.h: use lyx::depth_type rather than Paragraph or
2848 ParameterStruct's depth_type.
2851 * paragraph_funcs.h: no need to #include paragraph.h anymore.
2854 * BufferView_pimpl.C:
2856 * ParagraphParameters.C:
2859 * bufferview_funcs.C:
2866 * frontends/LyXView.C:
2867 * frontends/controllers/ControlDocument.C:
2868 * frontends/controllers/ControlErrorList.C:
2869 * insets/insetbibitem.C:
2870 * insets/insetbranch.C:
2871 * insets/insetcaption.C:
2872 * insets/insetcollapsable.C:
2873 * insets/insetenv.C:
2874 * insets/insetert.C:
2875 * insets/insetfloat.C:
2876 * insets/insetfoot.C:
2877 * insets/insetfootlike.C:
2878 * insets/insetnewline.C:
2879 * insets/insetquotes.C:
2880 * insets/insettabular.C:
2881 * insets/insettext.C:
2882 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2884 * frontends/controllers/ControlChanges.C: #include "changes.h".
2886 2003-09-06 Angus Leeming <leeming@lyx.org>
2888 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2889 than #including paragraph.h.
2892 * RowList.h: deleted. Superfluous.
2902 * insets/insettext.h: use ParagraphList_fwd.h rather than
2905 * paragraph.h: don't forward declare ParagraphList.
2908 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2909 rather than ParagraphList.h. paragraph.h is still needed for the
2910 Paragraph::depth_type parameters.
2912 * textcursor.h: enable it to compile stand-alone in light of the
2915 * bufferview_funcs.C:
2927 * frontends/controllers/ControlParagraph.C:
2928 * frontends/controllers/ControlTabular.C:
2929 * insets/insetmarginal.C:
2930 * insets/insetminipage.C:
2931 * insets/insetnote.C:
2932 * insets/insetoptarg.C: add header files needed to compile again.
2934 2003-09-06 Angus Leeming <leeming@lyx.org>
2936 * RowList_fwd.h: new file, forward-declaring Row rather than
2937 #including lyxrow.h.
2942 * insets/insettext.h: use it instead of RowList.h
2944 * bufferview_funcs.C:
2951 * text3.C: #include "RowList.h".
2953 2003-09-05 Angus Leeming <leeming@lyx.org>
2955 * factory.C (createInset):
2956 * vspace.C (c-tor): replace sscanf call with an istringstream.
2957 * ispell.C: re-add missing HP/UX headers.
2958 * lyxserver.C: re-add missing os2 headers.
2960 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
2969 * text3.C: re-add missing system headers, needed for 2.95.2.
2971 2003-09-05 Angus Leeming <leeming@lyx.org>
2973 Changes most place everywhere due to the removal of using directives
2974 from support/std_sstream.h.
2976 2003-09-05 Angus Leeming <leeming@lyx.org>
2978 Replace LString.h with support/std_string.h,
2979 Lsstream.h with support/std_sstream.h,
2980 support/LIstream.h with support/std_istream.h,
2981 support/LOstream.h with support/std_ostream.h.
2983 Changes resulting throughout the tree.
2985 2003-09-05 Angus Leeming <leeming@lyx.org>
2987 * sgml.h: ensure that the header file can be compiled stand-alone.
2988 * *.C: strip out redundant #includes. (320 in total.)
2990 2003-09-04 Angus Leeming <leeming@lyx.org>
2992 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2993 here (from getPackages).
2995 * debug.[Ch]: add a new EXTERNAL tag.
2997 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2999 * text2.C (cursorEnd): simplify
3001 (getColumnNearX): adjust
3003 * text.C (computeBidiTables): adjust
3006 * rowpainter.C (paintChars): adjust
3007 (paintSelection): adjust
3008 (paintChangeBar): adjust
3011 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3013 (numberOfSeparators): adjust
3015 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3021 * text3.C: Restricts the mouse click functionality
3022 of insets like bibtex, include, toc and floatlist to the visible
3023 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3024 up the dialogs. Cursor has to be in front of the inset (i.e.
3025 start of row) for this to function.
3027 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3029 * bufferview_funcs.C (currentState): output row information
3031 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3033 * bufferview_funcs.C (currentState): output paragraph position
3035 2003-09-04 Angus Leeming <leeming@lyx.org>
3037 * FloatList.h: move out #include "Floating.h".
3038 * LaTeX.h: move out #include "DepTable.h".
3039 * LyXAction.h: move out #include "funcrequest.h".
3040 * buffer.h: move out #include "author.h", "iterators.h".
3041 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3042 * lyx_main.h: move out #include "errorlist.h".
3043 * lyxfunc.h: move out #include "FuncStatus.h".
3044 * lyxtext: move out #include "lyxcursor.h".
3045 * paragraph_pimpl.h: move out #include "counters.h".
3047 2003-09-03 Angus Leeming <leeming@lyx.org>
3049 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3050 preamble_snippets list, enabling us to add snippets to the preamble
3051 only if the snippet was not there already.
3053 2003-09-04 Angus Leeming <leeming@lyx.org>
3055 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3057 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3059 * lyxfunc.C (dispatch): if fitCursor did something be sure to
3062 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3064 * BranchList.C: point fix, earlier forgotten
3066 2003-09-02 Angus Leeming <leeming@lyx.org>
3068 * box.C (contains): renamed from 'contained' after a fantastic
3071 2003-09-02 John Levon <levon@movementarian.org>
3077 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3079 2003-09-02 John Levon <levon@movementarian.org>
3081 * text2.C: simplification of cursorEnd(), including partial
3084 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3086 * buffer.C (readFile): add a space
3088 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
3090 * BufferView_pimpl.C (update): remove bogus fitCursor() call
3092 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3094 * buffer.C (readFile): new function, take a filename and a
3095 ParagraphList::iterator
3097 (readFile): adjust, make it private. don't use setStream, make
3098 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3099 always contain the filename.
3101 * BufferView.C (insertLyXFile): simplify and make it work for
3104 2003-08-30 John Levon <levon@movementarian.org>
3106 * Makefile.am: fix dist (from Kayvan)
3108 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3110 * most files: change to use const Buffer refs
3112 2003-08-27 André Pönitz <poenitz@gmx.net>
3114 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3115 on top of ownerPar().
3117 2003-08-27 John Levon <levon@movementarian.org>
3119 * funcrequest.C: properly initialise POD members
3121 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3123 * lyxtext.h (top_y): move top_y from here
3128 * BufferView_pimpl.[Ch]: to here
3129 * frontends/screen.C:
3130 * insets/insettabular.C:
3131 * insets/insettext.C: adjust
3132 * rowpainter.[Ch] (paintRows): remove LyXText & argument
3134 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3137 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3139 2003-08-26 André Pönitz <poenitz@gmx.net>
3141 * paragraph_func.[Ch] (outerPar): new function
3144 * paragraph_funcs.C:
3145 * paragraph_funcs.h:
3146 * paragraph_pimpl.C:
3147 * text2.C: remove Inset::par_owner
3149 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
3154 * text2.C: eliminates the needFullRow/display() stuff
3155 altogether, putting the logic in metrics/draw in the insets.
3157 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
3159 * text2.C (redoParagraphInternal, redoParagraphs):
3160 * text.C (redoParagraph): add a call to updateRowPositions at the
3161 end of each 'metrics-like' call. Remove all others.
3162 (getRow): remove the 'y-computing' version.
3163 (getRowNearY): do not compute nor return the real y. Solve the
3164 'y < 0' problem and simplify.
3166 2003-08-22 Angus Leeming <leeming@lyx.org>
3168 * *.[Ch]: clean-up of licence and author blurbs.
3169 Also move config.h out of a few .h files and into a few .C files.
3171 2003-08-22 André Pönitz <poenitz@gmx.net>
3173 * lyxrow.[Ch]: add x_ and *fill_ members
3178 * text2.C: adjust/remove prepareToPrint() calls
3180 2003-08-22 André Pönitz <poenitz@gmx.net>
3182 * lyxrow.[Ch]: add end_ member
3184 * lyxrow_funcs.C: use LyXRow::end_
3186 * lyxtext.h (singleWidth): add LyXFont parameter
3189 * text2.C: adjust LyXText::singleWidth() calls
3191 * text.C (redoParagraph): simplify row breaking logic
3194 2003-08-19 André Pönitz <poenitz@gmx.net>
3196 * funcrequest.C: initialize button_ member
3199 * rowpainter.[Ch]: interface consolidation
3201 2003-08-18 André Pönitz <poenitz@gmx.net>
3204 * BufferView_pimpl.C:
3206 * paragraph_funcs.C:
3208 * text3.C: remove LyXScreen::draw() and fitCursor calls
3210 * BranchList.h: remove spurious semicolons
3212 * MenuBackend.C: fix branchlist related crash
3214 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
3222 * bufferparams.[Ch]:
3226 * text3.C: implements the 'branch inset'
3227 idea. This allows the output of various versions of a document
3228 from a single source version, selectively outputing or suppressing
3229 output of parts of the text.
3230 This implementation contains a 'branch list editor' in a separate
3231 tab of the document settings dialog. Branches are user definable
3232 and have a "display colour" to distinguish them on-screen.
3234 ColorHandler was somewhat cleaned up.
3235 (1) make possible a dynamically growing LColor list by allowing
3236 the graphic context cache to grow along (vector);
3237 (2) eliminate an IMHO unnecessary step in colour allocation.
3239 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
3241 * BufferView_pimpl.C: compile fix
3243 2003-08-15 André Pönitz <poenitz@gmx.net>
3245 * rowpainter.C: remove extra metrics calls
3247 * lyxtext.h: merge the two constructors into a single one,
3248 pass reference to owner's par list
3250 * BufferView_pimpl.C:
3254 2003-08-15 André Pönitz <poenitz@gmx.net>
3256 * lyxrow_funcs.[Ch]:
3259 * paragraph_funcs.C:
3264 * text_funcs.C: split LyXText::rowlist_ into individual
3265 Paragraph::rows_ chunks
3268 * BufferView_pimpl.[Ch]:
3271 * text3.C: remove toggleSelection()
3273 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
3275 * bufferlist.C: beautify two alerts (shorter text of buttons)
3276 * buffer.C: Remove redundant ' ' from message
3278 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3279 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3280 rename VALIGN_CENTER to VALIGN_MIDDLE
3282 2003-08-11 André Pönitz <poenitz@gmx.net>
3284 * lyxtext.h (getPar):
3285 * text.C: new function
3287 2003-08-11 André Pönitz <poenitz@gmx.net>
3290 * tracer.[Ch]: remove unneeded files
3292 * InsetList.[Ch]: remove resizeInsetsLyXText()
3297 * text3.C: merge insertParagraphs() and appendParagraph()
3298 remove breakAgain(), update()
3300 * BufferView_pimpl.[Ch]:
3301 * bufferview_funcs.[Ch]:
3305 * tabular.C: adjust after text & InsetList changes.
3307 2003-08-08 André Pönitz <poenitz@gmx.net>
3309 * text.C (insertChar, backspace): replace rowlist fiddling
3310 with rebreak of full par
3313 * text.C (breakAgainOneRow, redoHeightOfParagraph,
3314 checkParagraph, updateInset): removed
3316 2003-08-07 André Pönitz <poenitz@gmx.net>
3319 * text3.C: merge some LFUN handlers, remove dead code
3321 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3323 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3325 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
3327 * text2.C (DEPM): fix part of bug 1255 and 1256
3329 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3331 * BufferView_pimpl.C (workAreaDispatch): change to use
3332 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3333 that are no mouse related.
3335 2003-08-05 André Pönitz <poenitz@gmx.net>
3338 * BufferView_pimpl.[Ch]:
3339 * bufferview_funcs.C:
3341 * text3.C: rip out "deep update"
3343 * textcursor.[Ch] (last_sel_cursor): remove unused member
3345 2003-08-04 André Pönitz <poenitz@gmx.net>
3348 * BufferView_pimpl.[Ch]:
3349 * ParagraphParameters.C:
3350 * bufferview_funcs.C:
3356 * text3.C: replace "complicated" BufferView::update(...) calls with
3359 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3361 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
3363 * Makefile.am (lyx_SOURCES): add paper.h
3365 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3367 * Makefile.am: move things around so that both lyx-qt and
3368 lyx-xforms can be built (according to --with-frontend). Then lyx
3369 is a symbolic link to lyx-[firstfrontend]
3371 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
3373 * Always use std::endl with lyxerr
3375 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
3377 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3379 2003-08-01 André Pönitz <poenitz@gmx.net>
3382 * BufferView_pimpl.[Ch]:
3384 * text3.C: merge BufferView::repaint() and BufferView::update()
3386 2003-08-01 José Matos <jamatos@lyx.org>
3388 * buffer.[Ch]: file_format is no longer a buffer data element.
3390 2003-08-01 André Pönitz <poenitz@gmx.net>
3395 * text2.C: make redoParagraph more independent of current cursor
3397 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3399 * text2.C: remove unneeded members
3401 2003-07-30 André Pönitz <poenitz@gmx.net>
3403 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3405 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3406 create a single function...
3408 * paragraph_funcs.C (moveItem): ... here.
3411 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3413 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3415 * LColor.[Ch]: Add comment and greyedout logical colors.
3417 2003-07-30 André Pönitz <poenitz@gmx.net>
3419 * tabular.C: don't use Assert too heavily. This crashes where it
3422 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
3424 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3425 is disabled (bug 1232)
3427 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3429 * factory.C: limited 'arg' scope
3431 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3433 * factory.C: fixed Note submenu issues
3435 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3437 * factory.C: submenu for Note/Comment/Greyedout
3439 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
3442 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3444 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
3447 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3448 greyedout. Patch provided by Jürgen Spitzmüller.
3450 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3452 * kbmap.C (read): fix error message when reading bind files
3454 2003-07-29 Angus Leeming <leeming@lyx.org>
3456 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3457 certainly does not do what it purports to do. I am doing it, and
3458 us, a favour by killing it.
3460 2003-07-28 José Matos <jamatos@lyx.org>
3462 * buffer.C (readBody, do_writeFile):
3463 * paragraph.C(readParagraph): \end_document replaces \the_end.
3465 2003-07-29 André Pönitz <poenitz@gmx.net>
3468 * BufferView_pimpl.[Ch]:
3472 * textcursor.[Ch]: remove toggleToggle & Co
3474 2003-07-28 José Matos <jamatos@fep.up.pt>
3476 * buffer.C (readParagraph):
3477 * params_func (readParToken, readParagraph):
3478 * paragraph.C (write): \layout -> \begin_layout.
3480 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3482 * lyxlex_pimpl.C (setFile): clean up slightly.
3484 * bufferparams.h: add compressed var
3486 * buffer_funcs.C (readFile): adjust for LyXLex change
3487 (newFile): ditto + simplify
3489 * buffer.C (writeFile): handle writing of compressed files
3491 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3492 Check if the file is compressed and set a bufferparm if so.
3494 * Makefile.am (lyx_LDADD): remove explicit -lz
3496 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3498 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3499 makeDocBookFile): put the real LyX version in the first line of
3503 * version.C.in: remove lyx_docversion
3505 * tabular.C (write_attribute): add a template-based version to
3506 write enums properly
3508 2003-07-28 André Pönitz <poenitz@gmx.net>
3513 * text3.C: use doubles again for x-coordinates. They are needed.
3515 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3517 * messages.C (getLocaleDir): use lyx_localedir()
3519 * lyxlex_pimpl.C (setFile): compress stuff
3521 * buffer.C (writeFile): add some compression stuff
3522 (do_writeFile): new func, dont call expliti close... will this
3525 * Makefile.am (lyx_LDADD): add -lz
3527 2003-07-28 José Matos <jamatos@fep.up.pt>
3529 * buffer.C: increment file format.
3530 * paragraph_funcs (readParagraph, readParToken):
3531 * paragraph.C (readParagraph): add \end_layout.
3533 2003-07-27 Angus Leeming <leeming@lyx.org>
3535 * Makefile.am: remove special casing for configure-time setting of
3536 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3538 * lyx_main.C (init): remove all Jean-Marc's magic setting of
3539 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3541 2003-07-26 André Pönitz <poenitz@gmx.net>
3543 * paragraph_func.[Ch]:
3544 * paragraph.C (realizeFont): inline it whereever it is used
3549 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3552 2003-07-26 André Pönitz <poenitz@gmx.net>
3556 * text2.C: get rid of LyXText::need_break_row
3558 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3560 * toc.[Ch]: put namespace toc inside namespace lyx
3562 * MenuBackend.C (expandToc2): adjust for lyx::toc
3565 * lyxfunc.C (dispatch): adjust for lyx::find
3567 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3568 lyx::find instead. Reorganize a bit.
3569 (LyXReplace): rename to replace
3570 (LyXFind): rename to find
3572 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3575 2003-07-26 André Pönitz <poenitz@gmx.net>
3577 * text.C (setHeightOfRow): restrict scope of temporary variable
3579 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
3580 code (never has been used?)
3582 2003-07-27 Asger Alstrup <alstrup@local>
3584 * text.C (fill): Optimise algorithm to exploit that we can reuse
3585 the LyXFont for many characters.
3586 (setHeightOfRow): Same thing.
3587 (rowBreakPoint): Same thing.
3589 2003-07-26 Asger Alstrup <alstrup@local>
3591 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3593 * text.C (singleWidth): Spurious font copying in hot-spot
3594 singleWidth avoided. Reorder tests for arabic for efficiency.
3596 * text.C (fill): handle empty paragraphs better.
3598 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3601 * encoding.h: add includes
3603 * lyxrc.C: remove reading of bind files
3605 * lyx_main.C (init): setup bindings and menus only if we have a
3608 * kbmap.C (read): new method. Do the actual reading of bind
3611 * converter.C (dvipdfm_options):
3614 (output): adapt PAPER_* enums.
3616 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3618 * bufferparams.h: remove paper-related enums from there
3620 * paper.h: New file. A trivial header file to hold paper-related
3621 enums. It should later expand to contain many paper-related
3624 * lyxrc.C: declare extern displayTranslator
3626 2003-07-27 José Matos <jamatos@fep.up.pt>
3628 * tabular.[Ch] (linuxdoc): add support for tables and figures
3631 2003-07-27 José Matos <jamatos@fep.up.pt>
3633 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3634 consistency in both functions.
3635 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3637 2003-07-26 Asger Alstrup <alstrup@local>
3639 * rowpainter.C (paintRows): Change algorithm to work directly on
3640 the insets rather than asking every character in the document
3641 whether its an inset.
3643 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
3645 * buffer.C (openFileWrite): factorize some code
3647 2003-07-26 Angus Leeming <leeming@lyx.org>
3650 * lyx_main.[Ch]: replace occurances of system_tempdir with
3653 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3655 * rename Inset to InsetOld
3657 2003-07-25 Asger Alstrup <alstrup@diku.dk>
3659 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3660 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3661 which I think is a bit clearer. EDIT is gone, since it was
3662 premature optimisation, and broken for mathed anyway.
3663 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3664 with cursor positioning in insets as well (math insets still do not
3665 work, but that's a different story anyway.) It mysteriously
3666 crashes sometimes with undo in the first paragraph, but I'm fairly
3667 confident that this is a compiler bug.
3669 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3671 * paragraph.C (Paragraph): adjust for new clone return type
3673 (copyIntoMinibuffer): ditto
3675 2003-07-25 Asger Alstrup <alstrup@lyx.org>
3677 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3678 by not having a special case, and always doing a full rebreak of
3679 the document after undo.
3681 2003-07-23 Angus Leeming <leeming@lyx.org>
3683 * factory.C (createInset): InsetExternal::setParams now takes a
3686 2003-07-23 Angus Leeming <leeming@lyx.org>
3688 * factory.C (createInset): changed interface to the external and
3689 graphics mailers' string2params functions.
3691 2003-07-23 Angus Leeming <leeming@lyx.org>
3693 * factory.C (createInset): pass a
3694 Buffer const * parameter to InsetExternalMailer's string2params.
3696 2003-07-22 John Levon <levon@movementarian.org>
3698 * Thesaurus.h: include the right aiksaurus header
3700 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3702 * MenuBackend.C (expand): check menu shortcuts unconditionally
3704 2003-07-21 Angus Leeming <leeming@lyx.org>
3706 * factory.C (createInset): pass a
3707 buffer_path parameter to InsetGraphicsMailer's string2params.
3709 2003-07-21 Angus Leeming <leeming@lyx.org>
3711 * BufferView_pimpl.C (buffer):
3714 * lyxfunc.C (dispatch):
3715 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3716 rather than the grfx shortcut.
3718 2003-07-21 André Pönitz <poenitz@gmx.net>
3720 * rowpainter.C: remove unused variables
3723 * tabular_funcs.h: move to tabular.C
3724 * Makefile.am: adjust
3726 * tabular.[Ch]: basic optical cleaning
3728 * author.h: pass references, not values
3730 2003-07-18 André Pönitz <poenitz@gmx.net>
3738 * text3.C: two-phase drawing for InsetText and InsetTabular
3739 some float -> int changes.
3741 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3743 * lyx_main.C: fix the fix
3745 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3747 * lyx_main.C: fix a crash in batch mode if no files specified
3750 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
3752 * format.[Ch] (papersize): moved to BufferParams
3753 * converter.[Ch] (dvips_options): moved to BufferParams
3754 (dvipdfm_options): moved to anon namespace
3755 * bufferparams.[Ch]: added above functions.
3757 2003-07-17 André Pönitz <poenitz@gmx.net>
3761 * text2.C: don't call inset->update() anymore
3763 * metricsinfo.[Ch]: add convenience constructor
3765 2003-07-16 André Pönitz <poenitz@gmx.net>
3770 * text2.C: replace the LyXCursor::irow_ member with
3771 on-demand computation of the value
3773 2003-07-16 John Levon <levon@movementarian.org>
3775 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3777 2003-07-15 André Pönitz <poenitz@gmx.net>
3780 * text2.C: remove no more needed refresh_row
3782 2003-07-15 André Pönitz <poenitz@gmx.net>
3787 * text3.C: refresh_status tristate -> need_update bool
3789 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
3791 * lyxtext.h (init): remove reinit argument (act as if always true)
3792 * text2.C: adjust to that
3794 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3796 * bufferview_funcs.[Ch]: introduce function replaceSelection()
3797 * text3.C: use it to delete selections in some cases
3798 (bugs 441, 673, 702, 954).
3800 2003-07-14 André Pönitz <poenitz@gmx.net>
3802 * rowpainter.[Ch]: reduce interface
3804 2003-07-14 André Pönitz <poenitz@gmx.net>
3806 * BufferView_pimpl.C:
3807 * text2.C: adjust after removing unused BufferView * argument
3809 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
3811 * text2.C (init): fix a crash fired on resize
3813 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
3815 * buffer.[Ch]: added new closing signal
3816 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3817 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3818 BufferView::Pimpl via the closing the signal
3820 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
3822 * buffer.[Ch]: take out all bv-related from buffer
3824 * BufferView_pimpl.[Ch]: connect to new signals
3825 * CutAndPaste.C: removed useless asserts
3826 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3829 * lyxfunc.C: moved view-related funciontality from vc here
3830 * paragraph.C: removed outdated comments
3833 2003-07-10 André Pönitz <poenitz@gmx.net>
3835 * BufferView_pimpl.C:
3839 * text2.C: remove InsetText::InnerCache, clean up consequences
3841 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
3843 * ispell.C: fix two typos in error messages
3845 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
3847 * Extend Note inset to other forms of annotation like Comment
3848 and Greyedout. Right button click gives dialog.
3850 Files modified or added (+):
3854 * ControlNote.[Ch] +
3856 * Makefile.am in frontends/xforms, frontends/xforms/forms,
3857 frontends/controllers
3861 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3863 * aspell.C: add missing namespace lyx::support
3865 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
3867 * BufferView.[Ch] (newFile): Add
3868 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3869 * LaTeX.[Ch] (message): added this signal and use it
3870 * buffer.[Ch] (busy, message): added these signals and use them
3871 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3875 * importer.C: use buffer signals instead of direct bv calling
3876 * lyx_cb.[Ch] (ShowMessage): removed
3879 * paragraph_funcs.C:
3880 * text2.C: use buffer signals
3882 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3884 * introduce namespace lyx::graphics
3886 2003-07-02 André Pönitz <poenitz@gmx.net>
3888 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3890 2003-07-01 André Pönitz <poenitz@gmx.net>
3897 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3898 text*.C to text_func.C
3900 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3902 * introduce namespace lyx::support
3904 2003-06-30 André Pönitz <poenitz@gmx.net>
3909 * text.C: re-enable --with-included-string
3911 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3913 * textcursor.C: add <config.h>
3915 * text.C (getWord): remove const from word_location arg
3917 * lyxvc.C (getLogFile): fix const type order
3919 * lyxtext.h: remove const from word_location arg, add arg name
3921 * lyxlayout.h: currect type on labeltype.
3923 * importer.C: correct \file
3925 * converter.C (intToFormat): use std:: on ret val, ws changes
3927 * bufferlist.h: correct \file
3929 * buffer.C (makeLinuxDocFile): fix const type order
3930 (makeDocBookFile): ditto
3931 (fillWithBibKeys): use std:: on stdlib args.
3933 * CutAndPaste.C: fix authors.
3934 (availableSelections): use std:: on return vector
3936 2003-06-27 André Pönitz <poenitz@gmx.net>
3938 * BufferView_pimpl.C:
3939 * bufferview_funcs.C:
3947 * text3.C: remove LyXCursor::row_ member
3950 * text.C: rename fullRebreak() to partialRebreak() and implement
3951 a fullRebreak() that really bereks fully
3953 * textcursor.h: new struct for cursor-related data
3955 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
3957 * lyx_main.C (LyX): get full path of document loaded on the
3960 2003-06-26 André Pönitz <poenitz@gmx.net>
3962 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3963 remove unused/broken operator>,<,>=.
3965 * text.C: remove only use of broken operator<= in an Assert().
3967 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3969 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3970 moved errorlist_.clear to showErrorList
3972 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3974 * converter.C (scanLog, runLaTeX):
3975 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3976 move the bv->showErrorList call to the callers
3977 * lyxfunc.C: i.e. here...
3979 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3980 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3981 namespace, the second to...
3982 * buffer_funcs (BufferFormat, parseErrors): added
3983 * errorlist.C (ErrorList(TeXErrors const &)): removed
3985 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3987 * ToolbarBackend.C (getIcon): complain when icon cannot be found
3989 2003-06-24 "Garst R. Reese" <reese@isn.net>
3993 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3995 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3997 * version.C.in: change docversion to 1.4
3999 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
4001 * buffer.C: fix a bug just introduced
4003 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
4005 * buffer.[Ch]: added the parseError signal and use it, removed
4007 * BufferView.[Ch] (addError): moved to ...
4008 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4009 to the Buffer::parseError signal to catch (guess what) parse errors
4010 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4012 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
4014 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4015 ability to create a buffer and to return an existing one from
4016 the list. Moved these functions to...
4017 * buffer_funcs.[Ch]: added
4018 * BufferView.[Ch] (loadLyXFile): added
4019 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4020 job removed from bufferlist::loadLyXFile.
4021 * buffer.C (setReadOnly): make it work without view
4022 (i.e added an if (users))
4024 2003-06-19 Angus Leeming <leeming@lyx.org>
4027 * LyXAction.C (init):
4028 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4029 with LFUN_DIALOG_SHOW <name> <data>.
4031 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4033 * CutAndPaste.C (availableSelections): small compilation fix for
4034 ancient (gcc 2.9x) compilers
4036 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
4038 * text3.C (cursorNext): add tmp var
4040 * text2.C (updateCounters): for function calling out of for clause
4041 (replaceSelectionWithString): ditto
4042 (insertStringAsParagraphs): ditto
4043 (getColumnNearX): add tmp var
4044 (setCursorFromCoordinates): add tmp var
4045 (cursorDownParagraph): add tmp var
4046 (deleteEmptyParagraphMechanism): add tmp var
4048 * text.C (insertChar): add tmp var
4050 * rowpainter.C (paintDepthBar): add tmp var
4052 * CutAndPaste.C (availableSelections): potentially check all
4053 paragraphs in a cut to fill the shown strings.
4055 2003-06-18 André Pönitz <poenitz@gmx.net>
4057 * kbmap.[Ch]: use vector<> instead of list<>
4059 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
4061 * text3.C (dispatch): handle arg to LFUN_PASTE, call
4062 pasteSelection with index
4064 * text2.C (pasteSelection): modify, call pasteSelection with index
4066 * paragraph.C (asString): reimplement version with no interval to
4067 call the one with interval.
4069 * lyxtext.h: add index arg to pasteSelection
4071 * MenuBackend.C (MenuItem): handle PasteRecent
4072 (Menu::read::Menutags): add md_pasterecent
4074 (expandPasteRecent): new function
4077 * MenuBackend.h: add PasteRecent to MenuItem::Kind
4079 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4081 (availableSelections): new function
4083 2003-06-17 Angus Leeming <leeming@lyx.org>
4085 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4087 2003-06-17 Angus Leeming <leeming@lyx.org>
4090 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4092 * lyxfunc.C (dispatch): invoke it.
4094 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4096 * iterators.C (operator++, ParPosition): reintroduce some
4097 const_cast for the benefit of older compilers.
4099 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4101 * text3.C (dispatch): do not modify clipboard when doing
4102 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4103 LFUN_DELETE_SKIP on a selection selection
4105 2003-06-16 André Pönitz <poenitz@gmx.net>
4111 * tabular.[Ch]: IU of clone() and getLabelList();
4113 2003-06-13 André Pönitz <poenitz@gmx.net>
4115 * tabular.h: compactification
4117 2003-06-12 André Pönitz <poenitz@gmx.net>
4121 * tabular_funcs.h: some renaming plus whitespace
4123 2003-06-12 André Pönitz <poenitz@gmx.net>
4126 * BufferView_pimpl.C:
4132 * toc.C: Return a Paragraph & for ParIterator::operator*()
4134 2003-06-11 John Levon <levon@movementarian.org>
4138 * ToolbarBackend.C: add "Toolbars" section and
4141 2003-06-10 Angus Leeming <leeming@lyx.org>
4144 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4146 * lyxfunc.C (dispatch): invoke it.
4148 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4150 * main.C: protect <ios> with HAVE_IOS
4151 (main): protect sync_with_stdio with HAVE_IOS
4153 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
4155 * text2.C (cutSelection): adjust
4156 (pasteSelection): adjust
4158 * messages.C: handle get of empty string
4160 * main.C (main): use sync_with_stdio(false)
4162 * lyxfunc.C (dispatch): adjust
4164 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4165 (WriteAs): remove unneeded BufferView arg.
4167 * bufferparams.h: use correct types on papersize, papersize2 and
4170 * bufferparams.C (readToken): adjust for type
4171 (writeLaTeX): add missing cases to switch.
4173 * bufferlist.C (quitWriteBuffer): adjust
4176 * buffer.C (asciiParagraph): remove some commented code.
4178 * CutAndPaste.C: remove current_view extern variable.
4179 (cutSelection): add BufferParams arg.
4180 (eraseSelection): add BufferParams arg.
4181 (pasteSelection): add Buffer const & arg
4183 2003-06-07 John Levon <levon@movementarian.org>
4186 * paragraph_funcs.C:
4187 * paragraph_pimpl.C:
4191 * paragraph.C: allow InsetERT to freely space lines,
4192 and some consolidation of code
4194 2003-06-06 José Matos <jamatos@fep.up.pt>
4196 * buffer.C (makeDocBookFile): fix bug #821
4198 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
4200 * BufferView_pimpl.C (dispatch): use Dialogs::visible
4202 2003-06-04 Angus Leeming <leeming@lyx.org>
4204 * buffer.C: bump format to 224.
4206 2003-06-05 André Pönitz <poenitz@gmx.net>
4208 * text2.C (redoParagraphs): remove two const_cast<>
4210 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4212 * ParagraphList.h: remove last remnants of NO_STD_LIST
4214 2003-06-03 Angus Leeming <leeming@lyx.org>
4216 * factory.C (createInset): small change to the way InsetExternal's params
4219 2003-06-04 André Pönitz <poenitz@gmx.net>
4221 * buffer.h: use Undo directly instead of shared_ptr<Undo>
4223 * paragraph_pimpl.h:
4224 * paragraph.[Ch]: some Inset -> UpdatableInset changes
4226 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4228 * undo_funcs.C: make some simple cases of undo work again
4230 2003-06-03 John Levon <levon@movementarian.org>
4232 * ispell.C: HPUX doesn't have sys/select.h
4235 2003-06-03 John Levon <levon@movementarian.org>
4237 * CutAndPaste.C: update tabular and include inset
4242 * paragraph.C: remove owningBuffer(), don't pass Buffer
4245 * factory.C: insetGraphicsParams changed
4247 2003-06-02 John Levon <levon@movementarian.org>
4253 * text3.C: remove insetparent
4255 2003-06-02 John Levon <levon@movementarian.org>
4258 * buffer.C: fix inset_iterator.end(), move out of line
4261 2003-06-01 John Levon <levon@movementarian.org>
4263 * text3.C: use a proper cut/paste when doing inset
4264 insert (from Jürgen Spitzmüller)
4266 2003-06-01 John Levon <levon@movementarian.org>
4268 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4270 2003-05-30 André Pönitz <poenitz@gmx.net>
4272 * rowpainter.C: unify second drawing phase
4274 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4276 * trans_mgr.C: remove one case of current_view
4278 * text2.C (cursorBottom): delete NO_STD_LIST stuff
4280 * paragraph_funcs.h: remove paragraph.h include
4282 * paragraph.h: delete NO_STD_LIST stuff
4284 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4286 * buffer.h: remove paragraph.h include
4288 * ParagraphList.C: delete file
4290 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4292 * toc.C (getTocList): adjust
4294 * paragraph_pimpl.C (validate): adjust
4296 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4298 * paragraph.C (Paragraph): adjust
4299 (getPositionOfInset): use const_iterator, adjust
4300 (bibitem): use const_iterator, adjust
4301 (setInsetOwner): adjust
4303 * iterators.C (operator++): adjust
4305 * InsetList.[Ch]: Replace selfmade iterator with standard
4306 vector::iterator also introduce const_iterator. Remove getPos,
4307 getInset and setInset from InsetTable. Adjust accordingly.
4309 * BufferView.C (lockInset): adjust
4310 (ChangeInsets): adjust
4312 * tabular.[Ch]: delete commented same_id functions
4314 2003-05-28 John Levon <levon@movementarian.org>
4316 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4318 2003-05-28 André Pönitz <poenitz@gmx.net>
4320 * metricsinfo.[Ch]: remove 'fullredraw' member
4322 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
4324 * lyxtextclass.C (operator): remove caching.
4326 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4330 * text2.C (cursorBottom): adjust
4331 (setCounter): use ParagraphList::find, adjust
4333 * text.C (workWidth): use ParagraphList::find, adjust
4335 * lyxcursor.C (LyXCursor): adjust
4337 * buffer.C (inset_iterator): adjust
4339 * ParagraphList.h: make iterator(value_type) private, make
4340 ParagraphList a friend of iterator.
4342 * ParagraphList.C (find): new function
4344 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4346 2003-05-27 André Pönitz <poenitz@gmx.net>
4348 * dimension.[Ch]: a -> asc, d -> des, w -> wid
4350 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4352 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4354 2003-05-26 John Levon <levon@movementarian.org>
4356 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4358 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4360 * remove same_id from function signatures, adjust.
4362 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4364 * undo_funcs.C (createUndo): use the id functions directly, adjust.
4366 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4368 * paragraph.C (Paragraph): get rid of same_ids parameter
4370 * ParagraphList.C (insert): adjust
4373 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4375 * paragraph_funcs.C (breakParagraph): adjust
4376 (breakParagraphConservative): adjust
4378 * buffer.C (readParagraph): adjust
4380 * ParagraphList.C (insert): take a reference instead of a pointer
4383 * paragraph.[Ch] (id): new function
4385 * bufferlist.C (newFile): adjust
4387 * ParagraphList.C (ParagraphList): adjust
4389 (push_back): take a reference instead of a pointer.
4391 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4393 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4396 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4397 set else use old code.
4399 * ParagraphList.C: remove all NO_NEXT code and only compile this
4400 code of NO_STD_LIST is set.
4402 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4404 * BufferView_pimpl.C:
4414 * graphics/GraphicsConverter.C:
4415 * graphics/PreviewLoader.C: header adjustment
4417 2003-05-23 Angus Leeming <leeming@lyx.org>
4419 * LaTeXFeatures.[Ch] (useBabel): new method.
4420 * bufferparams.C (writeLaTeX): use it.
4422 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4424 * ParagraphList.h (set): remove unused function.
4426 2003-05-23 André Pönitz <poenitz@gmx.net>
4429 * BufferView_pimpl.C:
4433 * undo_funcs.C: setUndo reworked
4435 * iterators.[Ch]: add access to topmost ParagraphList
4437 * lyxtext.[Ch] (workWidth): add a const
4439 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4441 * texrow.[Ch] (increasePos): remove function
4442 * exporter.C (export): removed unused var and outdated comment
4444 2003-05-23 Angus Leeming <leeming@lyx.org>
4446 * latexrunparams.h: rename fragile as moving_arg.
4447 * paragraph.C (simpleTeXOnePar): ditto.
4448 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4450 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4452 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4454 (textUndoOrRedo): comment out a currently unused var.
4456 * paragraph.h (NO_NEXT): enable NO_NEXT
4458 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4460 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4462 * exporter.C (Export): adjust for removeAutoInsets removal.
4464 * buffer.C (runChktex): adjust for removeAutoInsets removal.
4466 * LyXAction.C (init): remove LFUN_REMOVEERRORS
4468 * BufferView.[Ch] (removeAutoInsets): delete function
4470 2003-05-22 Angus Leeming <leeming@lyx.org>
4472 * latexrunparams.h: add a free_spacing variable.
4474 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4475 to pass moving_arg, as the data is stored in runparams.fragile.
4477 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4478 to Inset::latexOptional or to simpleTeXOnePar.
4480 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4481 free_spacing arg to Inset::latexOptional.
4483 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4486 2003-05-22 Angus Leeming <leeming@lyx.org>
4488 * latexrunparams.h: add fragile and use_babel variables.
4490 * bufferparams.[Ch] (writeLaTeX): return use_babel.
4491 * buffer.C (makeLaTeXFile): store this returned value in
4492 runparams.use_babel, thus passing it to the inset::latex methods.
4494 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4495 simpleTeXSpecialChars as it is now stored in runparams.fragile.
4497 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4498 longer has a fragile arg, as it is stored in runparams.fragile.
4500 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4501 moving_arg parameter as the data is stored in runparams.fragile.
4503 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4504 a fragile parameter as the data is stored in runparams.fragile.
4506 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4508 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4510 2003-05-22 Angus Leeming <leeming@lyx.org>
4512 * latexrunparams.h: add a 'bool nice' which defaults to false.
4514 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4515 now encapsulated within runparams.
4517 * bufferlist.C (updateIncludedTeXfiles):
4518 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4520 2003-05-22 Angus Leeming <leeming@lyx.org>
4522 * latexrunparams.h: new file containing struct LatexRunParams.
4523 * Makefile.am: add new file.
4525 * LaTeX.[Ch] (c-tor, run):
4526 * buffer.[Ch] (makeLaTeXFile):
4527 * bufferlist.[Ch] (updateIncludedTeXfiles):
4528 * converter.C (convert, scanLog):
4529 * converter.[Ch] (runLaTeX):
4530 * exporter.C (Export):
4531 * paragraph.[Ch] (simpleTeXOnePar):
4532 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4533 * paragraph_funcs.[Ch] (latexParagraphs):
4534 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4535 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4536 pass around a LatexRunParams parameter.
4538 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4540 * paragraph.[Ch]: remove unused constructor
4542 * ParagraphList.C (erase): new function, taking two iterators
4544 2003-05-22 André Pönitz <poenitz@gmx.net>
4546 * undo_funcs.C: remove duplicated code
4548 * iterator.[Ch]: operator=
4550 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4552 * tabular.C (SetMultiColumn): ws changes
4554 * rowpainter.C (paintFirst): get rid of a ->previous
4556 * lyx_cb.C (getPossibleLabel): parlist simplification
4558 * BufferView.C (ChangeInsets): simplify slightly.
4560 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4562 * LyXAction.C: new lfun space-insert, kill protected-space-insert
4563 * lfuns.h: new LFUN_SPACE
4564 * lyxfunc.C: protected space has a new lfun
4565 * paragraph_funcs.C: read new space insets
4567 * factory.C: handle new space insets
4569 2003-05-22 André Pönitz <poenitz@gmx.net>
4572 * BufferView_pimpl.C:
4575 * undo_funcs.C: return a ParIterator from getParFromID.
4577 * iterators.[Ch]: add two const's
4579 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4581 * toc.C (getTocList): adjust
4583 * iterators.[Ch]: rework for parlist
4585 * buffer.C (par_iterator_begin): adjust
4586 (par_iterator_end): adjust
4588 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4590 * BufferView.C (removeAutoInsets): adjust
4591 (ChangeInsets): adjust
4593 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
4595 * text.C (top_y): fix bug 1110
4597 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
4599 * errorlist.[Ch]: added
4602 * BufferView_pimpl.C:
4603 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4606 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4608 * Makefile.am: ensure that lyx is relinked upon changes to the
4609 various "convenience" libs.
4611 2003-05-20 Angus Leeming <leeming@lyx.org>
4613 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4614 files are compiled in alphabetical order again.
4616 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4618 2003-05-19 Angus Leeming <leeming@lyx.org>
4620 * gettext.[Ch]: remove "char const * _(char const *)".
4622 2003-05-19 André Pönitz <poenitz@gmx.net>
4624 * dimension.[Ch]: promote from mathed/dimension.[Ch]
4633 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4635 2003-05-19 André Pönitz <poenitz@gmx.net>
4639 * lyxtextclass.[Ch]:
4641 * paragraph_funcs.[Ch]:
4643 * text3.C: more insetenv work
4645 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
4647 * ParagraphParameters.C (params2string): small bug fixed
4649 2003-05-16 André Pönitz <poenitz@gmx.net>
4652 * bufferview_funcs.C: patch from Kornel Benko to prevent
4653 crash when _(...) is called twice in a statement
4655 2003-05-16 André Pönitz <poenitz@gmx.net>
4662 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4664 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
4666 * lyx_main.C (init): remove spurious static_cast
4668 2003-05-14 André Pönitz <poenitz@gmx.net>
4670 * BufferView.C: fix format string
4672 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
4674 * BufferView.[Ch] (insertErrors): removed
4675 * BufferView.[Ch] (showErrorList): added
4676 * buffer.C (runChkTeX):
4677 * converter.C (scanLog): call showErrorList instead of inserterrors
4679 2003-05-13 André Pönitz <poenitz@gmx.net>
4681 * BufferView_pimpl.C:
4683 * bufferview_func.C:
4690 * tabular_funcs.h: tostr() from its own header
4692 * ParagraphParameters.C:
4697 * text3.C: STRCONV()
4699 2003-05-12 André Pönitz <poenitz@gmx.net>
4702 * BufferView_pimpl.C:
4706 * ParagraphParameters.C:
4710 * bufferview_funcs.C:
4723 * paragraph_funcs.C:
4727 * text3.C: boost::format -> bformat all over the place
4730 2003-05-09 André Pönitz <poenitz@gmx.net>
4732 * LColor.[Ch]: Pimpl the #include <map> away
4734 2003-05-09 John Levon <levon@movementarian.org>
4736 * bufferlist.C: never remove emergency saves
4738 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4740 * Makefile.am: better lib building
4742 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4744 * texrow.[Ch]: remove dependency on Paragraph and just store a id
4746 * paragraph_pimpl.C (simpleTeXBlanks): adjust
4747 (simpleTeXSpecialChars): adjust
4748 (simpleTeXSpecialChars): adjust
4749 * paragraph.C (simpleTeXOnePar): adjust
4750 * buffer.C (makeLaTeXFile): adjust
4752 * Makefile.am (BOOST_LIBS): allow boost as system lib.
4754 * text2.C (changeDepth): parlist cleanup
4755 (getColumnNearX): ditto
4757 * rowpainter.C (getLabelFont): parlist cleanup
4759 * bufferlist.C (newFile): parlist cleanup
4761 * CutAndPaste.C (eraseSelection): parlist cleanup
4763 * BufferView_pimpl.C (trackChanges): parlist cleanup
4766 * BufferView.C (lockInset): parlist cleanup.
4767 (ChangeInsets): ditto
4769 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4771 * CutAndPaste.h: Update file header.
4773 * CutAndPaste.C: Update file header.
4774 Store the parts cut out of the Document in a limited_stack.
4775 (copySelection): adjust
4776 (pasteSelection): new function, takes the index in the limited stack.
4777 (nrOfParagraphs): adjust
4778 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4779 simplify error inset insertion.
4780 (checkPastePossible): adjust
4782 2003-05-06 John Levon <levon@movementarian.org>
4784 * text2.C: don't cast wrap inset to float
4786 2003-05-05 André Pönitz <poenitz@gmx.net>
4789 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4791 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4792 few naked Paragraph *.
4794 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
4796 * bufferparams.C: Output warning if a document with missing
4797 TeX document class is loaded
4798 * exporter.C: Disable TeX exports if the document class is missing
4801 * lyxtextclasslist.C: Handle new textclass.lst format; new method
4802 isTeXClassAvailable()
4804 2003-05-03 John Levon <levon@movementarian.org>
4807 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4808 explicit cursor show/hide
4810 * BufferView_pimpl.h:
4811 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4812 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4814 * lyxfunc.C: hide cursor before dispatching.
4819 * text3.C: remove explicit cursor hides
4821 2003-05-02 André Pönitz <poenitz@gmx.net>
4823 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4826 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4829 * text2.C: tiny whitespace
4831 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4833 * undo_funcs.C: almost only ws changes.
4835 * ParagraphList.C (splice): just return if pl is empty.
4837 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4839 * ParagraphList.C (splice): new function.
4841 * CutAndPaste.C (pasteSelection): use it
4843 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4845 * CutAndPaste.C (pasteSelection): remove the last next and
4846 previous from this file.
4848 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4850 * CutAndPaste.C (pasteSelection): more clean up, user proper
4851 ParagraphList functions for pasteing.
4853 * ParagraphList.C (insert): new function, three arg insert
4855 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4857 * ParagraphList.C (insert): new function, three arg insert
4859 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4862 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4864 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4866 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4868 * CutAndPaste.C (pasteSelection): remove some unneeded code.
4870 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4872 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4873 (copySelection): clean up a bit.
4874 (pasteSelection): use make_pair
4876 * ParagraphList.C (ParagraphList): implement copy constructor
4877 (operator=): implement, base on copy constructor.
4880 * paragraph.C (erase): return a bool
4882 * paragraph_pimpl.C (erasePos): remove function, move contents...
4883 (erase): ... here. Return a bool.
4884 (erase): call erase instead of erasePos.
4886 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
4888 * ParagraphList.h: define PitPosPair
4889 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4890 ParagraphList, fix a bug on pasting multiple pars
4891 * text2.C: change interface to C&P
4893 2003-04-30 André Pönitz <poenitz@gmx.net>
4895 * undo_func.C: revert part of yesterday's patch 2
4897 2003-04-30 John Levon <levon@movementarian.org>
4899 * LColor.C: s/tabular/table/
4901 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4903 * text3.C (dispatch): do not convert iterator -> pointer
4904 * undo_funcs.C (setCursorParUndo): ditto
4905 * text_funcs.C (transposeChars): ditto
4907 * text2.C (setLayout): ws changes only
4909 * text.C (breakParagraph): do not convert iterator -> pointer
4911 (acceptChange): ditto
4912 (rejectChange): ditto
4917 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4920 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4922 * text3.C (gotoInset): YABG (yet another bad getChar)
4924 2003-04-29 André Pönitz <poenitz@gmx.net>
4926 * paragraph.h: make operator= private unimplemented as long as
4929 * ParagraphList.C: whitespace
4932 * paragraph_pimpl.[Ch]:
4933 * paragraph_funcs.C:
4935 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
4938 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4940 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4942 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4943 * paragraph.[Ch] (erase):
4944 * paragraph_pimpl.[Ch] (erase): change return type and value
4945 * text2.C (cutSelection): some rework
4947 2003-04-28 John Levon <levon@movementarian.org>
4949 * bufferlist.C: changes for unsaved changes dialog
4951 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4953 * bufferlist.C (newFile): set language (messages_) for new
4956 * buffer.C (readFile): ws changes only.
4958 2003-04-28 André Pönitz <poenitz@gmx.net>
4963 * BufferView_pimpl.C:
4964 * BufferView.C: getParFromID related ParagraphList::iterator changes
4966 2003-04-28 André Pönitz <poenitz@gmx.net>
4968 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4971 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4973 * messages.C: remove one more localedir class variable.
4975 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4977 * messages.C (getLocaleDir): singleton generation function
4979 (Messages): add a default constructor.
4981 * main.C (main): do not setup localedir here, do not call
4984 * gettext.C (_): use it.
4985 (gettext_init): delete funciton
4987 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4989 * gettext.C (getLyXMessages): new singleton generating function.
4991 * buffer.C (updateDocLang): adjust
4993 * Makefile.am (messages.o): add target
4994 (main.o): remove target
4996 2003-04-27 John Levon <levon@movementarian.org>
5001 * lyxvc.C: specify cancel button in Alert::prompt
5003 2003-04-26 John Levon <levon@movementarian.org>
5008 * LyXAction.C: add LFUN_INSET_SETTINGS
5010 * lyxfunc.C: don't enable tabular-feature when there's
5011 just any locking inset
5013 2003-04-26 John Levon <levon@movementarian.org>
5015 * bufferlist.C: re-add Cancel to buffer close question
5017 * lyxfunc.C: fix import UI a bit
5019 2003-04-25 John Levon <levon@movementarian.org>
5021 * gettext.C: remove the broken asserts for now
5023 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5025 * messages.C: make case where setlocale cannot comply work better.
5027 * buffer.C (updateDocLang): new function
5028 (changeLanguage): use it
5031 * text2.C (setCounter): use B_ a bit.
5033 * lyxlayout.C (Read): be sure to trim the label strings.
5035 * messages.C (Messages): fix typo in comment
5037 * buffer.C (readFile): set message_ after file is loaded.
5038 (makeDocBookFile): remove double return
5039 (changeLanguage): reset message_ upon language change.
5040 (B_): new func, use this to get translated buffer strings.
5042 * main.C: add myself and Jean Marc as authors.
5044 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5046 * messages.[hC]: pimplify Messages, and three different pimpls to be
5047 used in different circumstances.
5049 * gettext.[Ch]: change for use with new message code.
5051 2003-04-24 André Pönitz <poenitz@gmx.net>
5053 * factory.C: support for eqref
5055 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5057 * messages.[Ch]: add missing char
5059 * Makefile.am (lyx_SOURCES): add messages.[Ch]
5061 * messages.[Ch]: New files
5063 2003-04-18 John Levon <levon@movementarian.org>
5067 * BufferView_pimpl.C:
5071 * text2.C: remove layout-copy/paste (bug 778)
5073 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5075 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5077 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5079 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5080 if they succeed. Act accordingly.
5082 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5084 * text2.C (setCharFont): adjust
5085 (setCounter): adjust
5086 (insertStringAsLines): adjust
5088 * text.C (leftMargin): adjust
5089 (setHeightOfRow): adjust
5091 * rowpainter.C (paintFirst): adjust
5094 * paragraph_funcs.C (depthHook): ParagraphList::iterators
5096 (isFirstInSequence): ditto
5097 (getEndLabel): ditto
5100 * paragraph.C (getParLanguage): comment out some hard stuff.
5102 * buffer.C (insertStringAsLines): take a ParagraphList as arg
5104 (simpleDocBookOnePar): ditto
5105 (makeDocBookFile): use ParagraphList::iterator
5107 * CutAndPaste.C (pasteSelection): adjust
5109 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5111 * text2.C (getFont): adjust
5112 (getLayoutFont): adjust
5113 (getLabelFont): adjust
5115 * paragraph_funcs.C (TeXOnePar): adjust
5117 * buffer.C (simpleLinuxDocOnePar): adjust
5118 (simpleDocBookOnePar): adjust
5120 * CutAndPaste.C (pasteSelection): adjust
5122 * BufferView.C (getEncoding): adjust
5124 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5126 2003-04-16 John Levon <levon@movementarian.org>
5128 * lyxfind.C: use parlist stuff for search/changes
5130 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5132 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5134 * text2.C (deleteEmptyParagraphMechanism): adjust
5136 * text2.[Ch] (ownerParagraph): delete func (both of them
5138 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5140 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5142 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5144 * ParagraphList.C: prepare for NO_NEXT
5146 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5148 * text2.C (getFont): adjust
5149 (getLayoutFont): adjust
5150 (getLabelFont): adjust
5152 * paragraph.C (getFont): adjust
5153 (getLabelFont): adjust
5154 (getLayoutFont): adjust
5156 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5158 2003-04-15 John Levon <levon@movementarian.org>
5162 * lyx_main.C: handle Include in .ui files
5164 2003-04-15 John Levon <levon@movementarian.org>
5166 * MenuBackend.C: make the doc files length shorter
5169 * ToolbarBackend.C: handle toolbar placement flags,
5172 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5174 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5177 * paragraph_funcs.C (TeXOnePar): adjust
5179 * paragraph.C (getLabelFont): add outerfont arg, adjust
5180 (getLayoutFont): ditto
5181 (simpleTeXOnePar): adjust
5183 * paragraph_pimpl.C (realizeFont): delete func
5185 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
5187 * text2.C (beforeFullRowInset): added a bad getchar check, removed
5188 row argument, constify cur argument.
5190 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5192 * text2.C (getFont): adjust
5193 (getLayoutFont): adjust
5194 (getLabelFont): adjust
5196 * paragraph_funcs.C (TeXOnePar): adjust
5197 (outerFont): new func...
5198 (realizeFont): ...moved out from here, changed this to facilitate
5201 * paragraph.C (getFont): take outerfont as arg, adjust
5202 (simpleTeXOnePar): add outerfont arg, adjust
5204 * buffer.C (simpleLinuxDocOnePar): adjust
5205 (simpleDocBookOnePar): adjust
5207 * CutAndPaste.C (pasteSelection): adjust
5209 * BufferView.C (getEncoding): adjust
5211 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5213 * text2.C (setCharFont): adjust
5214 (setCounter): adjust
5216 * text.C (leftMargin): adjust
5217 (setHeightOfRow): adjust
5219 * rowpainter.C (paintFirst): adjust
5222 * paragraph_pimpl.C (realizeFont): adjust
5224 * paragraph.C (isFirstInSequence): move from here...
5225 * paragraph_funcs.C (isFirstInSequence): ...to here
5227 * paragraph.C (outerHook): move from here...
5228 * paragraph_funcs.C (outerHook): ...to here
5230 * paragraph.C (depthHook): move from here...
5231 * paragraph_funcs.C (depthHook): ...to here
5233 * paragraph.C (getEndLabel): move from here...
5234 * paragraph_funcs.C (getEndLabel): ...to here
5236 * text2.C (realizeFont): move from here...
5237 * paragraph_funcs.C (realizeFont): ...to here
5239 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5241 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5243 2003-04-14 Angus Leeming <leeming@lyx.org>
5245 * LColor.[Ch]: scrap LColor mathcursor.
5247 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5249 * lyxlex.[Ch] (text): delete function
5250 * trans.C (Load): adjust
5251 * paragraph_funcs.C (readParToken): adjust
5253 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5255 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5256 vector<char> instead of a char[].
5258 * lyxlex_pimpl.C (getString): adjust
5260 (lex): use getString
5264 * lyxlex.C (text): use pimpl_->getString()
5268 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5270 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5271 (makeFontEntriesLayoutSpecific): temp var for par.size()
5272 (setLayout): temp var for ownerParagraphs().end()
5273 (fullRebreak): temp var for rows().end()
5274 (selectionAsString): temp var for boost::next(startpit), realize
5275 that the while really is a regular for loop.
5276 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5277 setCursor in one place.
5278 (setParagraph): temp vr for ownerParagraphs().end()
5279 (updateCounters): make the while loop a for loop
5280 (cutSelection): temp var for ownerParagraphs().end()
5281 (updateInset): make the do {} while() a regular for loop
5282 (getCursorX): use temp vars
5283 (setCurrentFont): use temp vars
5284 (getColumnNearX): use temp vars
5286 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5288 * text.C (transformChar): use temp var for getChar
5289 (computeBidiTables): use temp var for row->par()
5290 (fill): move temp vars for row->par() and pit->layout() earlier in
5292 (labelFill): use temp var for row->par()
5293 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5294 asc and desc, realize that pit never changes and that firstpit is
5295 just a duplicate and not needed. Exchange rit->par() with pit in a
5297 (breakAgain): use a temp var for boost::next(rit)
5298 (breakAgainOneRow): ditto
5299 (breakParagraph): use a temp var for rows().begin()
5300 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5301 (cursorRightOneWord): use temp var for cursor.par() and
5302 cursor.pos(), remove usage of tmpcursor.
5303 (cursorLeftOneWord): use temp var for cursor.par() and
5304 cursor.pos() only set cur at end of function.
5306 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5308 * text.C, text2.C: exchange all usage of Paragraph::next with
5309 boost::next(ParagraphList::iterator)
5311 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5313 * text2.C (cursorTop): simplify implementation
5314 (cursorBottom): ditto
5315 (setParagraph): use ParagraphList::iterator
5316 (setCurrentFont): adjust
5317 (getColumnNearX): adjust
5318 (cursorRight): adjust
5319 (cursorLeft): remove usage of Paragraph::previous
5320 (cursorUpParagraph): ditto
5321 (deleteEmptyParagraphMechanism): slight cleanup
5323 * text.C (isBoundary): take a Paragraph const & instead of a
5325 (addressBreakPoint): ditto
5326 (leftMargin): remove usage of Paragraph::previous.
5327 (setHeightOfRow): ditto
5328 (cursorLeftOneWord): ditto
5329 (selectNextWordToSpellcheck): ditto
5332 (breakParagraph): remove one usage of Paragraph::next
5333 (redoParagraph): ditto
5334 (acceptChange): ditto
5335 (insertChar): adjust
5336 (rowBreakPoint): adjust
5338 * bufferview_funcs.C (toggleAndShow): adjust
5340 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
5342 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5343 methods to access it.
5345 * text.C: Added updateRowPositions to compute all row positions.
5346 Make top_y and getRowNearY() to use the cached y position
5348 2003-04-11 John Levon <levon@movementarian.org>
5350 * text.C (rowBreakPoint): reintroduce the labelEnd
5351 checks, code copied from the row fill stuff. Deep voodoo.
5353 * text.C (fill): add a comment and debugging for the
5356 2003-04-11 John Levon <levon@movementarian.org>
5358 * text.C: make sure fullrow insets get wrapped to the next line,
5359 even when they're in a manual label
5361 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5363 * text2.C (insertParagraph): make it take ParagraphList::iterator
5365 (setLayout): make it return ParagraphList::iterator
5366 (redoParagraphs): ditto
5368 (checkParagraph): ditto
5370 * text.C (getRow): make getrow take ParagraphList::iterator as arg
5372 * text2.C: adjust several funcs.
5373 (realizeFont): take a ParagraphList::iterator as arg.
5374 (getLayoutFont): ditto
5375 (getLabelFont): ditto
5376 (setCharFont): ditto
5378 * text.C: adjust several funcs.
5380 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5382 * text.C (selectNextWordToSpellcheck): don't accidentally
5385 2003-04-10 John Levon <levon@movementarian.org>
5387 * ToolbarBackend.C (getIcon): special handling for
5390 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5392 * text2.C (cursorRight): a getChar assert fixed
5394 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5396 * text2.C (getFont): change to take a ParagraphList::iterator
5397 instead of Paragraph*
5398 Adjust several functions.
5400 * text.C (transformChar): change to take a ParagraphList::iterator
5401 instead of Paragraph*
5402 (singleWidth): ditto
5403 Adjust several functions.
5405 * rowpainter.C: adjust several functions
5406 * rowpainter.h:store a ParagraphList::iterator and not a
5410 2003-04-09 John Levon <levon@movementarian.org>
5415 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5416 and the "help" bits as well
5418 2003-04-09 John Levon <levon@movementarian.org>
5421 * ToolbarBackend.C: allow multiple toolbars
5423 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5425 * undo_funcs.C (setCursorParUndo): adjust
5427 * text_funcs.C (transposeChars): adjust
5429 * text3.C (gotoNextInset): adjust
5432 * text2.C (setLayout): adjust
5433 (changeDepth): adjust
5435 (redoParagraphs): adjust
5436 (selectionAsString): adjust
5437 (setParagraph): adjust
5438 (insertInset): adjust
5439 (cutSelection): adjust
5440 (copySelection): adjust
5441 (pasteSelection): adjust
5442 (insertStringAsLines): adjust
5443 (updateInset): adjust
5444 (setCursor): change to take a ParagraphList::iterator parameter
5445 (setCursorIntern): change to take a ParagraphList::iterator parameter
5446 (setCurrentFont): adjust
5447 (cursorLeft): adjust
5448 (cursorRight): adjust
5449 (deleteEmptyParagraphMechanism): adjust
5451 * text.C (breakParagraph): adjust
5452 (insertChar): adjust
5453 (acceptChange): adjust
5454 (rejectChange): adjust
5455 (selectNextWordToSpellcheck): adjust
5456 (changeCase): adjust
5460 * lyxfind.C (SearchForward): adjust
5461 (SearchBackward): adjust
5462 (nextChange): adjust
5464 * lyxcursor.C (par): adjust
5466 * lyxcursor.h: store a ParagraphList::iterator instead of a
5469 * lyx_cb.C (getPossibleLabel): adjust
5471 * bufferview_funcs.C (toggleAndShow): adjust
5473 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5476 * BufferView.C (removeAutoInsets): adjust
5477 (lockedInsetStoreUndo): adjust
5479 2003-04-09 John Levon <levon@movementarian.org>
5481 * ToolbarBackend.C: try icon without argument
5482 if with argument fails
5484 2003-04-08 John Levon <levon@movementarian.org>
5487 * ToolbarBackend.C: add getIcon(), handle tooltip,
5488 and change from "Icon" to "Item".
5490 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5492 * BufferView.C (lockInset): another bad getchar crunched
5494 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5496 * text2.C (changeDepth): do not setUndo on test_only (make undo work
5499 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
5501 * lyxfind.C (searchForward, searchBackwards): bug 782
5503 2003-04-07 John Levon <levon@movementarian.org>
5505 * paragraph.C: remove dead comment
5507 * text.C: remove troublesome depth-fiddling code
5508 in leftMargin() and rightMargin() (bug 1017)
5510 * text.C: fix breaking of rows in nested lists
5513 * text2.C (updateCounters): fix up depth values
5516 2003-04-07 John Levon <levon@movementarian.org>
5518 * BufferView_pimpl.C: clear message when doc finishes resizing,
5519 and after a mouse event
5521 * lyxfunc.C: clear message after exiting inset
5523 2003-04-07 John Levon <levon@movementarian.org>
5525 * bufferview_funcs.C: show math status not outside
5526 status in the statusbar
5528 2003-04-07 John Levon <levon@movementarian.org>
5530 * lyxfunc.C: note status changed after a depth change
5532 2003-04-04 Angus Leeming <leeming@lyx.org>
5534 * LaTeX.h: move AuxInfo operator==, != out of line.
5535 Remove LaTeX virtual destructor; nothing derives from it.
5536 Move operator()() out of public area and rename it startscript().
5537 Change protected for private.
5539 2003-04-04 Angus Leeming <leeming@lyx.org>
5542 * text2.C: remove unneeded #includes.
5544 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5546 * text2.C (dEPM): fix the heigth of the next row
5548 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5550 * text.C: squashed an invalid getChar requester + some ws changes
5552 2003-04-03 John Levon <levon@movementarian.org>
5554 * bufferview_funcs.h:
5555 * bufferview_funcs.C:
5558 * text2.C: make getStatus work for the env depth lfuns
5560 2003-04-03 John Levon <levon@movementarian.org>
5562 * bufferview_funcs.h:
5563 * bufferview_funcs.C:
5566 * text2.C: parlistize decDepth(), by merging it with incDepth()
5568 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5570 * lyxrow.h: store a ParagraphList::iterator instead of a
5571 Paragraph* and adjust other class functions to suit.
5573 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5576 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5578 * text2.C (setCursor): do not anchor to cursor row for the time being
5580 2003-04-02 John Levon <levon@movementarian.org>
5587 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5589 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5591 * paragraph.h: make ParagraphList and ParagraphList::iterator
5592 friends of Paragraph.
5594 * buffer.C (makeLinuxDocFile): move towards ParagraphList
5596 * ParagraphList.C: Use the private next_ and previous_ from
5599 2003-04-01 John Levon <levon@movementarian.org>
5603 * Makefile.am: rename, remove defaults gunk
5606 * MenuBackend.C: remove defaults gunk
5609 * Languages.C: remove defaults gunk
5612 * lyx_main.C: error out if files couldn't be found.
5614 2003-04-02 John Levon <levon@movementarian.org>
5616 * text2.C: make incDepth() use parlist
5618 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5620 * undo_funcs.C (firstUndoParagraph): adjust
5622 * text3.C (gotoInset): adjust
5623 (dispatch): adjust, and rewrite loop.
5625 * text2.C (init): adjust, and rewrite loop.
5626 (redoParagraphs): adjust
5627 (updateInset): adjust, and rewrite loop.
5628 (deleteEmptyParagraphMechanism): adjust
5630 * tabular.C (LyXTabular): adjust
5631 (SetMultiColumn): adjust
5634 * lyxtext.[Ch] (ownerParagraph): delete function
5635 (ownerParagraphs): new function returns a ParagraphList.
5637 * BufferView.C (removeAutoInsets): adjust
5638 (insertErrors): adjust
5639 (setCursorFromRow): adjust
5641 2003-04-01 Angus Leeming <leeming@lyx.org>
5643 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5646 2003-04-02 John Levon <levon@movementarian.org>
5652 * text_funcs.C: make transposeChars a free function
5654 * lyxrow_funcs.C: remove wrong comment
5656 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5659 * rowpainter.C: adjust
5664 * lyxrow_funcs. [Ch]: new files
5666 * lyxrow.[Ch]: remove next and previous pointers
5667 (next,previous): remove accessor functions
5668 (isParEnd): move to lyxrow_funcs
5669 (lastPos): move to lyxrow_funcs
5670 (nextRowIsAllInset): move to lyxrow_funcs
5671 (lastPrintablePos): move to lyxrow_funcs
5672 (numberOfSeparators): move to lyxrow_funcs
5673 (numberOfHfills): move to lyxrow_funcs
5674 (numberOfLabelHfills): move to lyxrow_funcs
5675 (hfillExpansion): move to lyxrow_funcs
5679 * bufferview_funcs.C (toggleAndShow): adjust
5681 * RowList.h: Remove class RowList from file leave just a
5684 * RowList.C: delete file
5686 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5689 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5691 * text3.C (cursorPrevious): adjust
5692 (cursorNext): adjust
5695 * text2.C (redoHeightOfParagraph): adjust
5696 (redoDrawingOfParagraph): adjust
5699 * text.C (breakParagraph): adjust
5700 (insertChar): adjust
5703 * rowpainter.C (RowPainter): adjust
5704 (leftMargin): simplify and adjust
5705 (most rowpainter functions): adjust.
5707 * rowpainter.h: store the row as RowList::iterator not as Row*
5709 * lyxcursor.C (row): taka RowList::iterator as arg
5712 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5715 2003-04-01 Angus Leeming <leeming@lyx.org>
5717 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5718 stuff like bool Bool.
5720 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5722 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5725 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5727 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5730 * lyxtext.h (rows): drop one version and leve a const variant that
5731 returns a RowList::iterator.
5733 2003-03-31 Angus Leeming <leeming@lyx.org>
5735 * text.C (fill): ensure that the signature is the same as that in the
5738 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
5740 * text2.C (redoParagraphs): adjust
5741 (updateCounters): adjust
5742 (checkParagraph): adjust
5743 (getColumnNearX): adjust and reformat a bit.
5745 * text.C (top_y): adjust
5747 (leftMargin): adjust
5748 (prepareToPrint): adjust
5750 (getRowNearY): adjust
5752 * lyxtext.h: make rowlist_ mutable.
5754 * RowList.h: add const_iterator
5755 * RowList.C: adjust for RowList::const_iterator.
5757 * text2.C (getCursorX): make it take a RowList::iterator as arg,
5760 2003-03-31 John Levon <levon@movementarian.org>
5763 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5765 * lyx_main.C: set default fonts from using lyx_gui funcs
5767 * exporter.C: pdf_mode moved from lyxrc
5770 * lyxfunc.C: changes from above
5772 2003-03-31 John Levon <levon@movementarian.org>
5774 * lyx_main.C: fix to the last fix
5776 2003-03-31 John Levon <levon@movementarian.org>
5778 * bufferlist.C: "Load original" -> "Load Original"
5784 * format.C: more Alert cleanups
5786 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5788 * text2.C (removeParagraph): make it take a RowList::iterator as
5790 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5791 (postRowPaint): make it take a RowList::iterator as arg, adjust.
5793 * text.C (anchor_row): make it take a RowList::iterator as arg,
5795 (computeBidiTables): make it take a const reference to Row instead
5796 of Row pointer, adjust.
5797 (leftMargin): make it take a RowList::iterator as arg, adjust.
5798 (rowBreakPoint): adjust
5799 (breakAgainOneRow): make it take a RowList::iterator as arg,
5801 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5803 * bufferview_funcs.C (toggleAndShow): adjust
5805 2003-03-30 John Levon <levon@movementarian.org>
5809 * boost-inst.C: moved to support
5811 * several files: changes as a result
5813 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5815 * text2.C (LyXText): adjust.
5817 (removeRow): make it take a RowList::iterator as arg, adjust.
5818 (fullRebreak): adjust
5819 (deleteEmptyParagraphMechanism): adjust
5820 (clearPaint): adjust
5823 * text.C (top_y): adjust
5824 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5825 (breakAgain): make it take a RowList::iterator as arg, adjust.
5826 (breakParagraph): adjust
5827 (insertChar): adjust
5830 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5831 need_break_row, and refresh_row.
5833 * text3.C (dispatch): adjust
5835 * text2.C (checkParagraph): adjust
5837 (setCursorFromCoordinates): adjust
5839 * text.C (top_y): adjust
5841 (getRow): make it return a RowList::iterator, adjust
5842 (getRowNearY): make it return a RowList::iterator, adjust
5844 * text2.C (init): adjust
5845 (insertRow): remove function
5846 (insertParagraph): adjust
5847 (redoParagraphs): adjust
5848 (fullRebreak): adjust
5849 (updateCounters): adjust
5851 * text.C (top_y): rewrite to use RowList iterators.
5853 (setHeightOfRow): rewrite to sue RowList iterators.
5854 (appendParagraph): adjust
5855 (breakAgain): adjust
5856 (breakAgainOneRow): adjust
5857 (breakParagraph): adjust
5859 (getRowNearY): adjust, and remove commented code.
5861 * lyxtext.h (firstRow): delete function
5862 (lastRow): delete function
5863 (rows): new function (const and non-const versions.)
5864 (insertRow): delete function
5866 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5868 2003-03-29 John Levon <levon@movementarian.org>
5870 * BufferView_pimpl.C: always update scrollbar top
5871 because pasting text when we're anchored could mean we
5872 miss an update altogether
5874 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5876 * text2.C (init): use rowlist_.end() and not 0.
5877 (insertRow): change to take a RowList::iterator as arg, adjust
5879 (insertParagraph): change to take a RowList::iterator as arg,
5881 (redoParagraphs): remove some debug msgs.
5883 * text.C (appendParagraph): change to take a RowList::iterator
5884 arg, adjust for this.
5885 (breakAgain): add an assert
5886 (breakAgainOneRow): ditto
5888 2003-03-29 John Levon <levon@movementarian.org>
5890 * text2.C: do not clear selection after inc/decDepth
5893 2003-03-29 John Levon <levon@movementarian.org>
5896 * buffer.C: fix broken strerrors according to Lars
5898 2003-03-29 John Levon <levon@movementarian.org>
5900 * converters.C: more Alert cleanups
5902 2003-03-29 John Levon <levon@movementarian.org>
5904 * bufferview_funcs.C: remove pointless Alert
5906 * buffer.C: fix confusing error message when
5907 a template is chmoded 000
5909 2003-03-29 John Levon <levon@movementarian.org>
5913 * BufferView_pimpl.C: Alert fixes
5917 * tabular-old.C: remove unused table compat reading
5919 2003-03-29 John Levon <levon@movementarian.org>
5924 * lyx_cb.C: more Alert cleanups
5926 * lyxfunc.C: don't allow chktex if not latex document
5928 2003-03-29 John Levon <levon@movementarian.org>
5932 * buffer.C: warnings pushed down from support/,
5935 2003-03-29 John Levon <levon@movementarian.org>
5937 * lyxfunc.C: safety check for C-r (revert)
5939 2003-03-29 John Levon <levon@movementarian.org>
5942 * bufferlist.C: several UI fixes using Alert::prompt.
5943 Fix the pointless looping quit code. Fix stupid revert
5948 * lyx_cb.C: use Alert::prompt
5950 * lyx_main.C: remove a silly question
5952 * lyxfunc.C: remove a couple of silly questions,
5955 2003-03-28 John Levon <levon@movementarian.org>
5957 * text2.C: fix bug 974 (End on empty par)
5959 2003-03-28 John Levon <levon@movementarian.org>
5961 * BufferView_pimpl.C:
5963 * lfuns.h: remove do-nothing math greek lfuns
5965 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5967 * lyxgluelength.h (isValidGlueLength): add default arg on
5968 parameter 2. Remove default arg from friend in class.
5970 * lyxlength.h (isValidLength): add default arg on parameter 2.
5971 Remove default arg from friend in class.
5973 * text2.C (LyXText): adjust, initialize refresh_row.
5977 (insertParagraph): adjst
5978 (redoParagraphs): adjust
5979 (fullRebreak): adjust
5980 (updateCounters): adjust
5981 (deleteEmptyParagraphMechanism): first attempt at fixing a
5984 * text.C (top_y): adjust
5985 (setHeightOfRow): adjust
5987 (getRowNearY): adjust
5989 * lyxtext.h: include RowList.h
5990 (~LyXText): not needed anymore, deleted.
5991 (firstRow): modify for RowList
5992 (lastRow): new function
5993 Delete firstrow and lastrow class variables, add a Rowlist
5994 rowlist_ class variable.
5996 * lyxrow.C (lastPos): use empty() and not !size() to check if a
5999 * RowList.C (insert): fix case where it == begin().
6001 2003-03-26 Angus Leeming <leeming@lyx.org>
6003 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6004 the thesaurus dialog.
6006 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6008 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6010 * RowList.[Ch]: new files
6012 * ParagraphList.C (erase): handle the case where it == begin
6015 2003-03-25 John Levon <levon@movementarian.org>
6019 * aspell.C: add new aspell support
6022 * lyxrc.C: Make use_pspell be use_spell_lib. Always
6025 2003-03-25 Angus Leeming <leeming@lyx.org>
6028 * LyXAction.C (init): new LFUN_INSET_INSERT.
6030 * BufferView_pimpl.C (dispatch): split out part of the
6031 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6033 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6036 2003-03-25 Angus Leeming <leeming@lyx.org>
6038 * lyxfunc.C (dispatch): changes to the Dialogs interface.
6040 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
6043 * text3.C: remove useless row->height(0)
6045 2003-03-25 John Levon <levon@movementarian.org>
6049 * text3.C: rename the refreshing stuff to better names
6051 2003-03-24 John Levon <levon@movementarian.org>
6053 * BufferView_pimpl.h:
6054 * BufferView_pimpl.C: update layout choice on a mouse
6057 2003-03-23 John Levon <levon@movementarian.org>
6059 * Makefile.am: fix commandtags.h reference
6061 2003-03-22 John Levon <levon@movementarian.org>
6063 * BufferView_pimpl.C:
6068 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6070 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
6073 * text.C: take the rtl methods out of line
6075 2003-03-21 André Pönitz <poenitz@gmx.net>
6077 * metricsinfo.[Ch]: new files containing structures to be passed around
6078 during the two-phase-drawing...
6080 2003-03-21 André Pönitz <poenitz@gmx.net>
6082 * lyxtextclass.C: read 'environment' tag.
6084 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
6086 * text2.C (removeRow): fix bug 964
6088 2003-03-20 John Levon <levon@movementarian.org>
6092 * text2.C: paint cleanups. Inset::update() dropped font
6095 2003-03-19 John Levon <levon@movementarian.org>
6097 * lyxfunc.C: only fitcursor/markDirty if available()
6099 2003-03-19 John Levon <levon@movementarian.org>
6101 * commandtags.h: rename to ...
6103 * lfuns.h: ... this, and renumber / cleanup
6105 2003-03-19 John Levon <levon@movementarian.org>
6107 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6108 fit the cursor after an lfun
6112 * BufferView_pimpl.h:
6113 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6115 * LyXAction.C: layout-character should have ReadOnly
6117 * ParagraphParameters.C:
6119 * bufferview_funcs.C:
6126 * undo_funcs.C: changes from above
6128 2003-03-18 John Levon <levon@movementarian.org>
6130 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6131 remove it from update()
6133 * lyxfunc.C: update layout choice after an lfun
6135 * text3.C: remove extra updateLayoutChoice()s
6137 2003-03-18 John Levon <levon@movementarian.org>
6139 * text.C: top_y change means full repaint, fix
6140 a drawing bug with cursor movement
6142 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6146 * text2.C: anchor row on setCursor
6148 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6150 * lyxtext.h: remove almost all mutable keywords
6153 * text3.C: remove const keywords accordingly
6155 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6157 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6159 (TeXEnvironment): ditto
6162 2003-03-17 John Levon <levon@movementarian.org>
6164 * text.C (rowBreakPoint): remove attempt to fix displayed
6165 math insets inside a manual label
6167 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6169 * lyxtext.h: remove BufferView* as first arg from almost all class
6171 * other files: adjust.
6173 2003-03-17 John Levon <levon@movementarian.org>
6177 * text2.C: more paint cleanups
6179 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6182 * rowpainter.C: remove "smart" background painting code
6184 2003-03-16 John Levon <levon@movementarian.org>
6189 * text3.C: add helper functions for setting refresh_row/y
6191 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
6193 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6194 newline inset which *can* get inserted in the pass_thru layouts.
6195 This is primarily for literate documents.
6197 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
6199 * buffer.C: increment LYX_FORMAT to 223
6201 2003-03-14 André Pönitz <poenitz@gmx.net>
6203 * textclass.h: prepare for environment handling, ws changes
6204 * lyxlayout.C: read latexheader and latexfooter tags
6206 2003-03-14 John Levon <levon@movementarian.org>
6208 * text2.C: rewrite ::status() a bit
6210 2003-03-13 John Levon <levon@movementarian.org>
6212 * lyxtext.h: add some docs
6214 2003-03-13 John Levon <levon@movementarian.org>
6219 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6221 2003-03-13 John Levon <levon@movementarian.org>
6223 * text3.C: fix appendix redrawing
6225 2003-03-13 John Levon <levon@movementarian.org>
6227 * text.C (setHeightOfRow):
6229 * rowpainter.C: make appendix mark have the text
6230 "Appendix" so the user knows what it is
6233 * LColor.C: s/appendixline/appendix/ from above
6235 2003-03-13 John Levon <levon@movementarian.org>
6237 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6239 * text.C: fix a getChar(pos) bug properly
6241 2003-03-13 Angus Leeming <leeming@lyx.org>
6244 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6245 Probably only temporary. Let's see how things pan out.
6247 * BufferView.C (unlockInset):
6248 * BufferView_pimpl.C (fitCursor):
6249 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6251 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6252 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6254 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6255 new functions that convert ParagraphParameters to and from a string.
6257 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6258 BufferView::Pimpl's dispatch.
6259 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6261 2003-03-13 André Pönitz <poenitz@gmx.net>
6265 * factory.C: make it aware of InsetEnv
6267 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6269 * text2.C (setCursor): never ask for one past last
6270 (setCursor): add some debugging messages.
6272 * text.C (singleWidth): never ask for one past last
6273 (singleWidth): ditto
6275 (rightMargin): ditto
6276 (rowBreakPoint): ditto
6277 (setHeightOfRow): ditto
6278 (prepareToPrint): ditto
6280 * rowpainter.C (paintBackground): never ask for one past last
6281 (paintText): never ask for one past last
6283 * paragraph_pimpl.C (getChar): make the assert stricter, never
6284 allow the one past last pos to be taken
6286 * paragraph.C (getChar): ws changes only
6288 * lyxrow.C (nextRowIsAllInset): never ask for one past last
6289 (numberOfSeparators): ditto
6290 (numberOfHfills): ditto
6292 2003-03-12 John Levon <levon@movementarian.org>
6298 * paragraph_funcs.C: fix per-buffer authorlists
6300 2003-03-12 John Levon <levon@movementarian.org>
6302 * text.C: fix newline in right address
6304 2003-03-12 Angus Leeming <leeming@lyx.org>
6306 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6307 duplicate those in LyXFunc::dispatch.
6311 * ToolbarDefaults.C:
6312 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6313 Add LFUN_FONTFREE_UPDATE.
6315 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6316 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6318 * bufferview_func.[Ch]: several new functions to facilliate
6319 transfer of data to and from the character dialog.
6321 2003-03-12 John Levon <levon@movementarian.org>
6326 * paragraph_funcs.C:
6327 * paragraph_pimpl.C:
6331 * text3.C: remove META_NEWLINE in favour of an inset
6334 * rowpainter.C: remove paintNewline (done by inset)
6336 2003-03-12 John Levon <levon@movementarian.org>
6338 * paragraph_pimpl.C: complain about bad getChar()s
6339 for a while at least
6341 2003-03-12 John Levon <levon@movementarian.org>
6344 * buffer.C: move paragraph read into a separate function,
6345 a little renaming to reflect that.
6348 * bufferparams.C: remove the author_ids map, not necessary now
6351 * factory.C: moved Buffer::readInset to here
6353 * paragraph_funcs.h:
6354 * paragraph_funcs.C: readParagraph free function moved from
6357 * tabular.C: name change
6359 2003-03-12 John Levon <levon@movementarian.org>
6362 * ParagraphParameters.C: move par params input to
6365 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6366 behave like a normal read from the stream wrt reading
6367 a line vs. a \\token
6369 2003-03-12 John Levon <levon@movementarian.org>
6372 * ParagraphParameters.h:
6373 * ParagraphParameters.C: move output code to a
6376 2003-03-12 John Levon <levon@movementarian.org>
6378 * BufferView.C (insertLyXFile):
6381 * tabular.C: use a parlist iterator for creating the
6384 2003-03-12 John Levon <levon@movementarian.org>
6386 * buffer.C: make current_change static local not
6389 2003-03-12 John Levon <levon@movementarian.org>
6391 * buffer.C: fix insertStringAsLines for change tracking
6393 2003-03-12 John Levon <levon@movementarian.org>
6400 * bufferparams.C: move author list into params. Rename some
6401 functions. Move the header reading into a separate token
6402 loop. Move the header token reading into BufferParams.
6404 2003-03-12 John Levon <levon@movementarian.org>
6406 * changes.C: put debug inside lyxerr.debugging() checks
6408 2003-03-11 André Pönitz <poenitz@gmx.net>
6410 * factory.C: make it aware of InsetHFill
6412 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6414 * buffer.C (latexParagraphs): move function from here...
6415 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6418 2003-03-10 Angus Leeming <leeming@lyx.org>
6420 * LyXAction.C (init): fix bug in poplating array with multiple entries
6421 with the same LFUN (spotted by JMarc).
6423 2003-03-10 John Levon <levon@movementarian.org>
6426 * text2.C: move getColumnNearX() near its
6429 2003-03-10 John Levon <levon@movementarian.org>
6431 * text.C: fix break before a minipage
6433 2003-03-10 John Levon <levon@movementarian.org>
6435 * text.C: fix the last commit
6437 2003-03-09 John Levon <levon@movementarian.org>
6441 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6442 bug 365 (don't break before insets unless needed). Don't
6443 return a value > last under any circumstances.
6445 2003-03-09 Angus Leeming <leeming@lyx.org>
6447 * BufferView_pimpl.C (trackChanges, dispatch): call
6448 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6450 2003-03-09 Angus Leeming <leeming@lyx.org>
6452 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6453 than Dialogs::showAboutlyx().
6455 2003-03-09 Angus Leeming <leeming@lyx.org>
6457 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6458 than Dialogs::showTabularCreate().
6460 2003-03-09 John Levon <levon@movementarian.org>
6464 * text2.C: 3rd arg to nextBreakPoint was always the same.
6467 2003-03-08 John Levon <levon@movementarian.org>
6474 * text2.C: Remove the "main" bit from the "main body"
6477 2003-03-08 John Levon <levon@movementarian.org>
6479 * text.C (leftMargin): The left margin of an empty
6480 manual label paragraph should not include the label width
6483 * text.C (prepareToPrint): don't attempt to measure hfills
6484 for empty manual label paragraphs - the answer should be 0
6486 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6488 * CutAndPaste.C: remove commented code and reindent.
6490 2003-03-08 John Levon <levon@movementarian.org>
6493 * lyxfunc.C: move reloadBuffer()
6496 * BufferView.C: to here
6498 * lyxvc.C: add comment
6501 * vc-backend.C: call bv->reload() to avoid
6502 getStatus() check on MENURELOAD
6504 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
6506 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6507 to an old format .dep file.
6509 2003-03-07 Angus Leeming <leeming@lyx.org>
6511 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6512 when the LFUN_MOUSE_RELEASE should have been handled by
6513 inset->localDispatch.
6515 2003-03-07 Angus Leeming <leeming@lyx.org>
6517 * BufferView_pimpl.C (dispatch):
6518 * LyXAction.C (init):
6519 * ToolbarDefaults.C (init):
6521 * lyxfunc.C (getStatus):
6522 remove LFUN_INSET_GRAPHICS.
6524 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6526 2003-03-07 Angus Leeming <leeming@lyx.org>
6529 * LyXAction.C (init):
6530 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6532 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6535 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6537 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6538 localDispatch method LFUN_INSET_DIALOG_UPDATE.
6540 2003-03-07 Angus Leeming <leeming@lyx.org>
6542 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6545 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6547 * ParagraphList.C (front): new function
6550 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
6552 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6553 and top_row_offset_. removed var first_y.
6555 * text2.C (LyXText, removeRow):
6557 * BufferView_pimpl.C:
6558 use these methods instead of using first_y
6560 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6562 * text2.C (pasteSelection): adjust for checkPastePossible
6564 * CutAndPaste.C: remove Paragraph * buf and replace with
6565 ParagraphList paragraphs.
6566 (DeleteBuffer): delete
6567 (cutSelection): change the tc type to textclass_type
6568 (copySelection): change the tc type to textclass_type
6569 (copySelection): adjust for ParagraphList
6570 (pasteSelection): change the tc type to textclass_type
6571 (pasteSelection): adjust for Paragraphlist
6572 (nrOfParagraphs): simplify for ParagraphList
6573 (checkPastePossible): simplify for ParagraphList
6574 (checkPastePossible): remove unused arg
6576 * ParagraphList.C (insert): handle the case where there are no
6579 * CutAndPaste.h: make CutAndPaste a namespace.
6581 * text3.C (dispatch): adjust
6583 * text.C (breakParagraph): add a ParagraphList as arg
6585 * paragraph_funcs.C (breakParagraph): change to take a
6586 BufferParams and a ParagraphList as args.
6587 (breakParagraphConservative): ditto
6588 (mergeParagraph): ditto
6589 (TeXDeeper): add a ParagraphList arg
6590 (TeXEnvironment): ditto
6593 * buffer.C (readLyXformat2): adjust
6594 (insertStringAsLines): adjust
6595 (latexParagraphs): adjust
6597 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6598 (cutSelection): adjust
6599 (pasteSelection): adjust
6601 * BufferView_pimpl.C (insertInset): adjust
6603 2003-03-05 Angus Leeming <leeming@lyx.org>
6606 * LyXAction.C (init):
6607 * BufferView_pimpl.C (dispatch):
6608 * lyxfunc.C (getStatus):
6609 remove LFUN_CHILD_INSERT.
6611 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6613 2003-03-05 Angus Leeming <leeming@lyx.org>
6616 * LyXAction.C (init):
6617 * src/factory.C (createInset):
6618 * lyxfunc.C (getStatus):
6619 * text3.C (dispatch):
6620 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6622 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6624 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6626 * ParagraphList.C (insert): handle insert right before end()
6627 (erase): fix cases where it can be first or last paragraph.
6629 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6631 * paragraph_funcs.C (TeXEnvironment): remove all usage of
6632 Paragraph::next and Paragraph::previous
6635 * text.C (breakParagraph): adjust
6637 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6638 BufferParams& as arg.
6639 (breakParagraph): use ParagraphList::insert
6640 (breakParagraphConservative): take a Buffer* instead of a
6641 BufferParams& as arg.
6642 (breakParagraphConservative): use ParagraphList::insert.
6644 * buffer.C (insertStringAsLines): un-const it
6645 (insertStringAsLines): adjust
6647 * ParagraphList.C (insert): new function
6649 * CutAndPaste.C (pasteSelection): adjust
6651 * text.C (backspace): adjust
6653 * tabular.C (SetMultiColumn): adjust
6655 * CutAndPaste.C (cutSelection): adjust
6656 (pasteSelection): adjust
6658 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6659 Buffer const * as arg
6661 * ParagraphList.C (erase): new function
6662 * paragraph_funcs.C (mergeParagraph): use it
6663 (mergeParagraph): make it take a Buffer* instead of a
6664 BufferParams* as arg
6666 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6668 (breakParagraphConservative): ditto
6670 * paragraph.h: remove the breakParagraph friend
6672 * paragraph.C (eraseIntern): new function
6673 (setChange): new function
6675 * paragraph_funcs.C (mergeParagraph): make it take a
6676 ParagraphList::iterator instead of a Paragraph *, adjust
6679 * paragraph.h: move an #endif so that the change tracking stuff
6680 also works in the NO_NEXT case.
6682 2003-03-04 Angus Leeming <leeming@lyx.org>
6685 * LyXAction.C: new LFUN_INSET_MODIFY.
6687 * BufferView_pimpl.C (dispatch): if an inset is found to be open
6688 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6690 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6692 * several files: ws changes only
6694 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6695 (TeXEnvironment): ditto
6698 * buffer.C (makeLaTeXFile): adjust
6699 (latexParagraphs): make it take ParagraphList::iterator as args
6701 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6703 * buffer.C (latexParagraphs): adjust
6705 * paragraph.C (TeXOnePar): move function...
6706 (optArgInset): move function...
6707 (TeXEnvironment): move function...
6708 * paragraph_pimpl.C (TeXDeeper): move function...
6709 * paragraph_funcs.C: ...here
6711 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6713 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6715 * buffer.C (readInset): remove compability code for old Figure and
6718 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6720 * buffer.C: ws changes
6723 * BufferView_pimpl.C: ditto
6726 * bufferlist.h: ditto
6730 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
6732 * converter.[Ch]: split into itself +
6735 * Makefile.am: += graph.[Ch] + format.[Ch]
6742 * lyxrc.C: added #include "format.h"
6744 2003-02-27 Angus Leeming <leeming@lyx.org>
6746 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6749 * factory.C (createInset): add "label" to the factory.
6751 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6752 string and do no more.
6754 2003-02-27 Angus Leeming <leeming@lyx.org>
6757 * LyXAction.C (init):
6758 * factory.C (createInset):
6759 * BufferView_pimpl.C (dispatch):
6760 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6762 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6764 * lyxfunc.C (dispatch):
6765 * text3.C (dispatch): pass name to params2string.
6767 2003-02-26 Angus Leeming <leeming@lyx.org>
6769 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6771 Rearrange the ~includes. Strip out the unnecessary ones.
6773 * factory.C (createInset): reformat.
6774 create new insets for the various LFUN_XYZ_APPLY lfuns.
6776 2003-02-26 John Levon <levon@movementarian.org>
6779 * lyxrow.C: add isParStart,isParEnd helpers
6781 * paragraph.h: make isInserted/DeletedText take refs
6783 * paragraph_funcs.h:
6784 * paragraph_funcs.C: remove #if 0'd code
6789 * text.C: use lyxrow helpers above.
6790 Move draw and paint routines to RowPainter.
6791 Make several methods use refs not pointers.
6792 Make backgroundColor() const.
6793 Add markChangeInDraw(), isInInset().
6794 Merge changeRegionCase into changeCase.
6795 Make workWidth() shouldn't-happen code into an Assert.
6798 * rowpainter.C: new class for painting a row.
6801 * vspace.C: make inPixels take a ref
6803 2003-02-26 Angus Leeming <leeming@lyx.org>
6805 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6808 2003-02-25 John Levon <levon@movementarian.org>
6810 * ispell.C: give the forked command a more accurate name
6812 2003-02-22 John Levon <levon@movementarian.org>
6815 * toc.C: make TocItem store an id not a Paragraph *
6818 2003-02-21 Angus Leeming <leeming@lyx.org>
6820 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6821 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6822 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6823 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6824 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6825 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6827 * BufferView_pimpl.C (dispatch):
6828 * LyXAction.C (init):
6829 * factory.C (createInset):
6830 * lyxfunc.C (getStatus, dispatch):
6831 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6833 2003-02-21 Angus Leeming <leeming@lyx.org>
6835 * BufferView_pimpl.C (MenuInsertLyXFile):
6836 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6837 * lyxfunc.C (menuNew, open, doImport):
6838 no longer pass a LyXView & to fileDlg.
6840 2003-02-21 Angus Leeming <leeming@lyx.org>
6842 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6843 * LyXAction.C: change, BIBKEY to BIBITEM.
6844 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6845 Change InsetBibKey to InsetBibitem.
6846 Change BIBKEY_CODE to BIBITEM_CODE.
6847 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6848 * factory.C: replace insetbib.h with insetbibitem.h.
6849 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6850 * paragraph.C: replace insetbib.h with insetbibitem.h.
6851 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6852 Change bibkey() to bibitem().
6853 * text.C: remove insetbib.h.
6854 * text2.C: replace insetbib.h with insetbibitem.h.
6855 change bibkey() to bibitem().
6856 * text3.C: remove insetbib.h.
6857 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6859 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6861 * lyxrc.C (output): enclose user email in quotes (in case there are
6864 2003-02-18 John Levon <levon@movementarian.org>
6866 * buffer.h: add std::
6868 2003-02-17 John Levon <levon@movementarian.org>
6874 * pspell.C: reworking. Especially in ispell, a large
6875 number of clean ups and bug fixes.
6877 * lyxfunc.C: fix revert to behave sensibly
6879 2003-02-17 André Pönitz <poenitz@gmx.net>
6882 * commandtags.h: new LFUN_INSERT_BIBKEY
6892 * paragraph_func.C: remove special bibkey handling
6894 2003-02-17 John Levon <levon@movementarian.org>
6896 * text.C (Delete): fix case where delete at the end of
6897 the very first paragraph would not merge the pars
6899 2003-02-17 John Levon <levon@movementarian.org>
6901 * lyxrow.C: fix lastPrintablePos()
6903 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6905 * bufferparams.C (writeLaTeX): add a std:here
6907 * buffer.C: and remove a using directive there
6909 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6911 * buffer.C (makeLaTeXFile): move the code that generates the
6914 * bufferparams.C (writeLaTeX): ... in this new method
6916 * LaTeXFeatures.C (getEncodingSet): make const
6917 (getLanguages): make const
6919 * MenuBackend.C (binding): returns the binding associated to this
6921 (add): sets the status of each item by calling getStatus. Adds
6923 (read): add support for OptSubMenu
6924 (expand): remove extra separator at the end of expanded menu
6926 2003-02-15 John Levon <levon@movementarian.org>
6929 * BufferView_pimpl.C:
6931 * bufferlist.C: remove pointless BufferStorage bloat. Remove
6932 inset code that had no actual effect. Remove unneeded status
6935 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6937 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6940 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
6942 * text.C (drawLengthMarker): also draw an arrow marker for
6943 symbolic lengths (medskip...)
6945 2003-02-14 John Levon <levon@movementarian.org>
6948 * tabular.C: better method names
6950 2003-02-14 John Levon <levon@movementarian.org>
6952 * BufferView_pimpl.C:
6957 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6958 it's a more accurate name. Remove some pointless uses.
6960 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6962 * text2.C (LyXText): change order of initilizers to shut off
6965 2003-02-14 John Levon <levon@movementarian.org>
6967 * buffer.C: use ParIterator for getParFromID()
6971 * paragraph_pimpl.h:
6972 * paragraph_pimpl.C: remove unused getParFromID()
6974 2003-02-14 John Levon <levon@movementarian.org>
6976 * buffer.C: remove some very old #if 0'd parse code
6978 2003-02-13 John Levon <levon@movementarian.org>
6982 * text2.C: move hfillExpansion(), numberOfSeparators(),
6983 rowLast(), rowLastPrintable(), numberofHfills(),
6984 numberOfLabelHfills() ...
6987 * lyxrow.C: ... to member functions here.
6992 * text.C: remove LyXText::beginningOfMainBody(), and call
6993 p->beginningOfMainBody() directly. Move the check for
6994 LABEL_MANUAL into the latter.
7001 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7007 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7008 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7010 2003-02-13 John Levon <levon@movementarian.org>
7012 * CutAndPaste.C: remove debug
7014 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7016 * paragraph.C (asString): remove two unused variables
7018 * lyxtextclass.C (readTitleType):
7020 (LyXTextClass): handle new members titletype_ and titlename_
7022 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7024 2003-02-09 John Levon <levon@movementarian.org>
7027 * buffer.C: replace hand-coded list with a map for the dep clean
7029 2003-02-08 John Levon <levon@movementarian.org>
7031 * LaTeX.C: consolidate code into showRunMessage() helper
7033 2003-02-08 John Levon <levon@movementarian.org>
7038 * BufferView.C: change setSelectionOverString() to setSelectionRange()
7039 and pass the size in explicitly
7041 * BufferView_pimpl.h:
7042 * BufferView_pimpl.C:
7044 * BufferView.C: add getCurrentChange()
7046 * BufferView_pimpl.h:
7047 * BufferView_pimpl.C: handle change lfuns
7049 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7050 for changes. Mark pasted paragraphs as new.
7052 * support/lyxtime.h:
7053 * support/lyxtime.C:
7054 * DepTable.C: abstract time_t as lyx::time_type
7057 * LColor.C: add colours for new text, deleted text, changebars
7059 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7060 package use "usenames" option.
7064 * LyXAction.C: add change lfuns
7068 * author.C: author handling
7071 * buffer.C: add a per-buffer author list, with first entry as
7072 current author. Handle new .lyx tokens for change tracking. Output
7073 author list to .lyx file. Output dvipost stuff to .tex preamble.
7074 Bump lyx format to 222.
7077 * bufferlist.C: add setCurrentAuthor() to reset current author details
7081 * bufferparams.C: add param for tracking
7083 * bufferview_funcs.C: output change info in minibuffer
7087 * changes.C: add change-tracking structure
7090 * debug.C: add CHANGES debug flag
7093 * lyxfind.C: add code for finding the next change piece
7096 * lyxrc.C: add user_name and user_email
7099 * lyxrow.C: add a metric for the top of the text line
7102 * text.C: implement accept/rejectChange()
7105 * text.C: paint changebars. Paint new/deleted text in the chosen
7106 colours. Strike through deleted text.
7110 * paragraph_pimpl.h:
7111 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7112 in the current change to the insert functions. Rework erase to
7113 mark text as deleted, adding an eraseIntern() and a range-based
7114 erase(). Implement per-paragraph change lookup and
7117 * paragraph_funcs.C: Fixup paste for change tracking.
7119 * tabular.C: mark added row/columns as new.
7121 * text.C: fix rowLast() to never return -1. Don't allow
7122 spellchecking of deleted text. Track transpose changes. Don't
7123 allow paragraph break or merge where appropriate.
7125 * text2.C: leave cursor at end of selection after a cut.
7127 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7129 * text.C (getLengthMarkerHeight):
7130 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7131 visible on screen too.
7133 2003-02-07 John Levon <levon@movementarian.org>
7135 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7137 2003-02-05 Angus Leeming <leeming@lyx.org>
7139 * lyxserver.C (read_ready): revert my patch of 11 September last year
7140 as it sends PC cpu through the roof. Presumably this means that
7141 the lyxserver will no longer run on an Alpha...
7143 2003-01-30 Angus Leeming <leeming@lyx.org>
7145 * factory.C (createInset): create an InsetCommandParam of type "index"
7146 and use it to 'do the right thing'.
7148 * text2.C (getStringToIndex): ensure that cursor position is always
7149 reset to the reset_cursor position.
7151 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7153 * lyxfunc.C (getStatus): "buffer-export custom" should never be
7156 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
7160 * lyxfunc.C: Output messages with identical spelling, punctuation,
7163 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
7165 * MenuBackend.C (expandFormats): List only viewable export formats
7168 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7171 * lyxfunc.C (getStatus): Make sure that formats other than
7172 "fax" can also be disabled
7174 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7176 * text3.C (dispatch): put the lfuns that insert insets in 3
7177 groups, and call doInsertInset with appropriate arguments.
7178 (doInsertInset): new function, that creates an inset and inserts
7179 it according to some boolean parameters.
7181 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7183 * buffer.C (readFile): remember to pass on 'par' when calling
7184 readFile recursively.
7186 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7188 * MenuBackend.C (expandFormats): add "..." to import formats.
7190 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
7192 * paragraph.C (asString): Remove XForms RTL hacks.
7194 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
7195 * buffer.C: fix typo
7197 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7199 * Makefile.am (LIBS): delete var
7200 (lyx_LDADD): add @LIBS@ here instead.
7202 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
7204 * Clarify the meaning of "wheel mouse jump"
7206 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7208 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7211 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7213 * importer.C (Loaders): do not preallocate 3 elements in the
7214 vector, since one ends up with 6 elements otherwise
7216 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7218 * DepTable.C (write): write the file name as last element of the
7219 .dep file (because it may contain spaces)
7220 (read): read info in the right order
7222 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7224 * paragraph_pimpl.C (simpleTeXBlanks):
7225 (simpleTeXSpecialChars):
7226 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7228 * tabular.C (latex): add some missing case statements. Reindent.
7230 * MenuBackend.C (expandToc): remove unused variable.
7232 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
7241 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7244 2003-01-05 John Levon <levon@movementarian.org>
7247 * BufferView.C: add getEncoding()
7250 * kbsequence.C: do not store last keypress
7253 * lyxfunc.C: store last keypress here instead. Pass encoding
7256 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7258 * lyx_main.C (init): remove annoying error message when following
7259 symbolic links (bug #780)
7261 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7263 * text.C (insertChar):
7264 * lyxrc.C (getDescription): remove extra spaces
7266 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7268 * lyxrc.C (getDescription): remove extra spaces
7270 2002-12-20 John Levon <levon@movementarian.org>
7272 * text3.C: hack fix for page up/down across tall rows
7274 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7276 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7279 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7281 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7282 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7283 thesaurus is not compiled in
7285 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
7287 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
7289 2002-12-16 Angus Leeming <leeming@lyx.org>
7292 * lyx_main.C (init): remove override_x_deadkeys stuff.
7294 2002-12-12 John Levon <levon@movementarian.org>
7296 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7297 insert. Only remove shift modifier under strict
7300 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7302 * MenuBackend.C (expandToc): fix crash.
7304 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7306 * MenuBackend.C (expandToc): gettext on float names.
7308 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7310 * lyxlength.[Ch]: set default unit to UNIT_NONE,
7311 implement bool empty() [bug 490]
7313 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7315 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7317 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7319 * several files: ws changes
7321 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7323 * text2.C (setCounter): clean up a bit, use boost.format.
7324 (updateCounters): initialize par upon declaration.
7326 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7327 if the layout exists. We do not just store the layout any more.
7328 (SwitchLayoutsBetweenClasses): use boost.format
7330 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7332 * converter.C (convert): if from and to files are the same, use a
7333 temporary files as intermediary
7335 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7338 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7340 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
7342 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7344 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7346 * tabular.C (asciiPrintCell): use string(size, char) instead of
7349 * sgml.C (openTag): fix order of arguments to string constructor
7352 * lyxfunc.C (dispatch): use boost.format
7354 * lots of files: change "c" -> 'c'
7356 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
7358 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7360 2002-11-25 Angus Leeming <leeming@lyx.org>
7362 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7364 * lyx_main.C (init): compile fix.
7366 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7368 * lyx_cb.C (start): boost.formatify
7369 do not include <iostream>
7371 * lengthcommon.C: ws only
7373 * boost-inst.C,BoostFormat.h: add more explict instantations
7375 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7377 * lots of files: handle USE_BOOST_FORMAT
7379 2002-11-21 John Levon <levon@movementarian.org>
7381 * pspell.C: fix compile
7383 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7385 * lyxfunc.C (dispatch): use boost::format
7389 * lyxfont.C (stateText): use boost::format
7391 * lyx_main.C (LyX): use boost::format
7393 (queryUserLyXDir): ditto
7396 (typedef boost::function): use the recommened syntax.
7398 * importer.C (Import): use boost::format
7400 * debug.C (showLevel): use boost::format
7402 * converter.C (view): use boost::format
7407 * bufferview_funcs.C (currentState): use boost::format
7409 * bufferlist.C (emergencyWrite): use boost::format
7411 * buffer.C (readLyXformat2): use boost::format
7412 (parseSingleLyXformat2Token): ditto
7414 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7416 * LaTeX.C (run): use boost::format
7418 * Chktex.C (scanLogFile): use boost::format
7420 * BufferView_pimpl.C (savePosition): use boost::format
7421 (restorePosition): ditto
7422 (MenuInsertLyXFile): ditto
7424 * BoostFormat.h: help file for explicit instation.
7426 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
7428 * tabular.C (latex): Support for block alignment in fixed width
7431 2002-11-17 John Levon <levon@movementarian.org>
7433 * BufferView_pimpl.C:
7435 * lyxfunc.C: split filedialog into open/save
7437 2002-11-08 Juergen Vigna <jug@sad.it>
7439 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7440 by my last patch (hopefully).
7442 2002-11-08 John Levon <levon@movementarian.org>
7451 * toc.C: ParConstIterator, and use it (from Lars)
7453 2002-11-07 Ben Stanley <bds02@uow.edu.au>
7455 * lyxtextclass.[Ch]: revise and add doxygen comments
7457 2002-11-07 John Levon <levon@movementarian.org>
7459 * text.C: fix progress value for spellchecker
7461 * toc.C: fix navigate menu for insetwrap inside minipage
7463 * paragraph_funcs.C: added FIXME for suspect code
7465 2002-11-07 John Levon <levon@movementarian.org>
7467 * BufferView_pimpl.C: fix redrawing of insets
7470 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7472 * text2.C (updateCounters): fix bug 668
7474 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
7476 * text3.C (dispatch): Do not make the buffer dirty when moving the
7479 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7481 * vc-backend.C: STRCONV
7484 * text2.C (setCounter): STRCONV
7486 * paragraph.C (asString): STRCONV
7488 * lyxlength.C (asString): STRCONV
7489 (asLatexString): ditto
7491 * lyxgluelength.C (asString): STRCONV
7492 (asLatexString): ditto
7494 * lyxfunc.C (dispatch): STRCONV
7497 * lyxfont.C (stateText): STRCONV
7499 * importer.C (Import): STRCONV
7501 * counters.C (labelItem): STRCONV
7502 (numberLabel): ditto
7503 (numberLabel): remove unused ostringstream o
7508 * bufferview_funcs.C (currentState): STRCONV
7510 * buffer.C (readFile): STRCONV
7511 (asciiParagraph): ditto
7512 (makeLaTeXFile): ditto
7514 * Spacing.C (writeEnvirBegin): STRCONV
7516 * LaTeXFeatures.C (getLanguages): STRCONV
7517 (getPackages): ditto
7519 (getBabelOptions): ditto
7520 (getTClassPreamble): ditto
7521 (getLyXSGMLEntities): ditto
7522 (getIncludedFiles): ditto
7526 (scanAuxFile): ditto
7529 * LString.h: add the STRCONV macros
7531 * BufferView_pimpl.C (savePosition): STRCONV
7532 (restorePosition): ditto
7533 (MenuInsertLyXFile): ditto
7535 * vc-backend.C (scanMaster): change from submatch[...] to
7538 * funcrequest.C: include config.h
7540 * factory.C: include config.h
7542 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7544 * box.C: include config.h
7546 * LaTeX.C (scanAuxFile): change from submatch[...] to
7550 2002-10-25 Angus Leeming <leeming@lyx.org>
7552 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7554 * ispell.[Ch] (setError): new method.
7555 * ispell.C (c-tor): move out child process into new class LaunchIspell.
7556 Use setError() insetead of goto END.
7558 * lyx_cb.C (AutoSave): move out child process into new class
7561 2002-10-30 John Levon <levon@movementarian.org>
7563 * text3.C: make start appendix undoable
7565 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
7567 * lyxlength.C (inPixels): Fix returned value.
7569 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7572 2002-10-24 Angus Leeming <leeming@lyx.org>
7574 * lyxgluelength.h: no need to forward declare BufferParams
7575 or BufferView, so don't.
7577 2002-10-21 John Levon <levon@movementarian.org>
7579 * BufferView.C: menuUndo ->undo, redo
7581 * BufferView.h: document, remove dead, make some methods private
7583 * paragraph_funcs.h:
7584 * paragraph_funcs.C:
7585 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7590 * sgml.C: move sgml open/close tag into sgml.C
7592 * bufferview_funcs.h: unused prototype
7595 * lyxfunc.C: remove unused
7598 * text.C: remove unused
7600 2002-10-21 John Levon <levon@movementarian.org>
7604 * BufferView_pimpl.h:
7605 * BufferView_pimpl.C: fix mouse wheel handling based on
7606 patch from Darren Freeman
7608 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
7610 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7612 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
7614 * lyxlength.C (inPixels): Fix hanfling of negative length.
7615 Fix LyXLength::MU case.
7617 2002-10-16 John Levon <levon@movementarian.org>
7619 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7621 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7623 * converter.C (view): add support for $$i (file name) and $$p
7624 (file path) for the viewer command. If $$i is not specified, then
7625 it is appended to the command (for compatibility with old syntax)
7627 2002-10-14 Juergen Vigna <jug@sad.it>
7629 * undo_funcs.C (textHandleUndo): alter the order in which the
7630 new undopar is added to the LyXText, as we have to set first
7631 the right prev/next and then add it as otherwise the rebuild of
7632 LyXText is not correct. Also reset the cursor to the right paragraph,
7633 with this IMO we could remove the hack in "redoParagraphs()".
7635 2002-10-09 Angus Leeming <leeming@lyx.org>
7637 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7638 to turn off an optimisation if a new inset is to be inserted.
7640 2002-10-11 André Pönitz <poenitz@gmx.net>
7642 * lyxtext.h: make some functions public to allow access
7643 from inset/lyxtext for handling LFUN_PRIOR/NEXT
7645 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7647 * text3.C (dispatch): when changing layout, avoid an infinite loop
7650 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7652 * lyxrc.C (read): treat a viewer or converter command of "none" as
7655 * MenuBackend.C (expandFormats): for an update, also allow the
7656 formats that are not viewable
7658 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7659 script if it is newer than the lyxrc.defaults in user directory
7661 2002-10-07 André Pönitz <poenitz@gmx.net>
7663 * text.C: Vitaly Lipatov's small i18n fix
7665 2002-09-25 Angus Leeming <leeming@lyx.org>
7667 * ispell.h: doxygen fix.
7669 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
7671 * buffer.h (readFile): Add a new argument to the method, to allow
7672 reading of old-format templates.
7674 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
7676 * toc.C (getTocList): Get TOC from InsetWrap.
7678 2002-09-16 John Levon <levon@movementarian.org>
7680 * lyxfunc.C: check tabular for cut/copy too
7682 2002-09-12 John Levon <levon@movementarian.org>
7687 * factory.C: add header
7689 * paragraph_funcs.h:
7690 * paragraph_funcs.C: cleanup
7692 2002-09-11 John Levon <levon@movementarian.org>
7694 * PrinterParams.h: odd/even default to true
7696 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
7698 * PrinterParams.h: update printer parameters for new xforms dialog
7700 2002-09-11 Angus Leeming <leeming@lyx.org>
7702 * lyxserver.C (read_ready): re-write to make it more transparent
7703 and to make it work in coherent fashion under Tru64 Unix.
7705 2002-09-11 André Pönitz <poenitz@gmx.net>
7709 * text3.C: implement LFUN_WORDSEL
7711 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7713 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7714 make floatlist_ a boost::shared_ptr<FloatList>
7716 * lyxtextclass.C: include FloatList.h
7717 (LyXTextClass): initialize floatlist_
7718 (TextClassTags): add TC_NOFLOAT
7719 (Read): match "nofloat" to TC_NOFLOAT and use it.
7720 (readFloat): modify call to floatlist_
7724 * FloatList.[Ch] (FloatList): remove commented out float
7726 (erase): new function
7728 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7730 * MenuBackend.C (expandToc): fix crash when there is no document
7733 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
7735 * many files: Add insetwrap.
7737 2002-09-09 John Levon <levon@movementarian.org>
7739 * text2.C: remove confusing and awkward depth wraparound
7741 2002-09-09 John Levon <levon@movementarian.org>
7743 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7746 * buffer.C: remove getIncludeonlyList()
7749 * lyxfunc.C: remove headers
7751 2002-09-09 Juergen Vigna <jug@sad.it>
7753 * text.C (getColumnNearX): fix form Michael this is most
7754 probably a cut&paste bug.
7756 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7758 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7760 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7761 references, ws changes.
7763 * text2.C (init): update counters after init
7764 (insertParagraph): no need to set counter on idividual paragraphs.
7765 (setCounter): access the counters object in the textclass object
7766 on in the buffer object.
7767 (updateCounters): ditto
7769 * lyxtextclass.C: include counters.h, add variable ctrs_ as
7770 shared_ptr<Counters> to avoid loading counters.h in all
7772 (LyXTextClass): initialize ctrs_
7773 (TextClassTags): add TC_COUNTER, and ...
7774 (Read): use it here.
7775 (CounterTags): new tags
7776 (readCounter): new function
7777 (counters): new funtion
7778 (defaultLayoutName): return a const reference
7780 * counters.C (Counters): remove contructor
7781 (newCounter): remove a couple of unneeded statements.
7782 (newCounter): simplify a bit.
7783 (numberLabel): some small formatting changes.
7785 * buffer.[Ch]: remove all traces of counters, move the Counters
7786 object to the LyXTextClass.
7788 2002-09-06 Alain Castera <castera@in2p3.fr>
7790 * tabular.C: uses \tabularnewline; uses >{...} construct from array
7791 package to set the horizontal alignment on fixed width columns.
7794 * lyx_sty.h: added tabularnewline macro def.
7796 * LaTeXFeatures.C: added NeedTabularnewline macro feature
7798 2002-09-06 John Levon <levon@movementarian.org>
7800 * LyXAction.C: tooltips for sub/superscript
7802 * MenuBackend.C: a bit more verbose
7804 * lyxfunc.C: tiny clean
7806 * undo_funcs.C: document undo_frozen
7808 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7810 * counters.C (Counters): add missing algorithm counter.
7812 * text2.C (setCounter): lookup the counter with layouts latexname
7813 instead of by section number.
7814 (setCounter): use a hackish way to lookup the correct enum
7816 a float name->type change
7817 reset enum couners with counter name directly instead of depth value.
7819 * counters.C (Counters): remove the push_backs, change to use the
7820 float type not the float name.
7821 (labelItem): remove unused string, float name->type change
7823 * counters.h: don't include vector, loose the enums and sects vectors
7825 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7827 * lyxtextclass.C (TextClassTags): add TC_FLOAT
7828 (Read): add float->TC_FLOAT to textclassTags
7829 (Read): and handle it in the switch
7830 (readFloat): new function
7832 * FloatList.C (FloatList): comment out the hardcoded float
7835 * lyxlayout.h: ws change.
7837 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
7839 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7841 2002-09-03 Angus Leeming <leeming@lyx.org>
7843 * BufferView_pimpl.h: qualified name is not allowed in member
7844 declaration: WorkArea & Pimpl::workarea() const;
7846 * factory.C: added using std::endl directive.
7848 * text3.C: added using std::find and std::vector directives.
7850 2002-08-29 André Pönitz <poenitz@gmx.net>
7853 * text2.C: remove unused member number_of_rows
7856 * BufferView2.C: remove file, move contents to...
7857 * BufferView.C: ... here
7859 * BufferView_pimpl.C:
7860 * factory.C: move more inset creation to factory
7862 * vspace.C: avoid direct usage of LyXText, ws changes
7865 don't provide direct access to WorkArea, use two simple
7866 acessors haveSelction() and workHeight() instead
7869 2002-08-29 John Levon <levon@movementarian.org>
7871 * BufferView_pimpl.C (dispatch): do not continue when
7874 2002-08-28 André Pönitz <poenitz@gmx.net>
7876 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7879 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7881 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
7883 * buffer.C: increment LYX_FORMAT to 221
7885 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7886 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7888 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7890 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7892 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7894 * factory.C (createInset): use LyXTextClass::floats
7896 * MenuBackend.C (expandFloatListInsert):
7897 (expandFloatInsert):
7900 * text2.C (setCounter):
7902 * LaTeXFeatures.C (useFloat):
7903 (getFloatDefinitions):
7905 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7907 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7908 floatlist_, with accessor floats().
7910 * FloatList.h: remove global FloatList
7912 2002-08-26 André Pönitz <poenitz@gmx.net>
7914 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7918 * BufferView_pimpl.C:
7919 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7921 2002-08-25 John Levon <levon@movementarian.org>
7923 * LyXAction.C: fix margin note description
7925 2002-08-24 John Levon <levon@movementarian.org>
7929 * bufferview_funcs.C:
7931 * undo_funcs.C: cleanups
7933 * lyxfunc.C: disable CUT/COPY when no selection
7935 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
7937 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7938 in "enum UNIT"; e.g. PTW for Percent of TextWidth
7940 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7941 Add backward compatibility to "mono", "gray" and "no".
7943 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
7945 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7946 (and file_format >= 200).
7948 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7950 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7952 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7954 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7956 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
7958 * BufferView_pimpl.C:
7965 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7966 inset and code to make it work with the paragraph code. The inset
7967 can be anywhere in the paragraph, but will only do the expected
7968 thing in LaTeX if the layout file contains the parameter line
7970 (or more generally, a nonzero value) for that layout.
7972 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7974 * paragraph.h: remove the declaration of undefined counters class
7977 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
7979 * text2.C (setCounter): fixed enumeration mis-count as reported by
7980 Dr. Richard Hawkins.
7982 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7984 * paragraph_funcs.h: remove some unneeded includes
7986 * text.C (backspace): pasteParagraph now in global scipe
7988 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7989 (pasteSelection): ditto
7991 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7992 * paragraph_funcs.C (pasteParagraph): ... here
7994 2002-08-20 André Pönitz <poenitz@gmx.net>
7996 * commandtags.h: new LFUNs for swapping/copying table row/colums
7999 * lyxfunc.C: support for new lfuns
8001 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
8004 * buffer.[Ch]: remove NO_COMPABILITY stuff
8006 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
8008 * boost.C (throw_exception): new file, with helper function for
8009 boost compiled without exceptions.
8014 * ParameterStruct.h:
8015 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8017 * bufferlist.C (emergencyWriteAll): use boost bind
8019 * BufferView_pimpl.C (moveCursorUpdate): remove inline
8021 * text.C: include paragraph_funcs.h
8022 (breakParagraph): breakParagraph is now in global scope
8024 * paragraph_funcs.[Ch]: new files
8026 * paragraph.C (breakParagraph,breakParagraphConservative): move to
8029 * buffer.C: include paragraph_funcs.h
8030 (insertStringAsLines): breakParagraph is now in global scope
8032 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8035 * CutAndPaste.C: include paragraph_funcs.h
8036 (cutSelection): breakParagraphConservative is now in global scope
8037 (pasteSelection): ditto
8039 * buffer.h: declare oprator== and operator!= for
8040 Buffer::inset_iterator
8042 * bufferlist.C (emergencyWrite): don't use fmt(...)
8044 * text3.C: add using std::endl
8046 * BufferView.C (moveCursorUpdate): remove default arg
8048 2002-08-20 André Pönitz <poenitz@gmx.net>
8050 * buffer.[Ch]: move inline functions to .C
8053 * BufferView_pimpl.C:
8055 * buffer.[Ch]: use improved inset_iterator
8058 * paragraph.[Ch]: write one paragraph at a time
8060 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
8062 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8063 style if style is not specified.
8065 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8067 * text2.C (setCounter): when searching for right label for a
8068 caption, make sure to recurse to parent insets (so that a caption
8069 in a minipage in a figure float works) (bug #568)
8071 2002-08-20 André Pönitz <poenitz@gmx.net>
8073 * text3.C: new file for LyXText::dispatch() and helpers
8075 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8077 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8079 2002-08-19 André Pönitz <poenitz@gmx.net>
8082 * text.C: new LyXText::dispatch()
8084 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8086 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
8088 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8090 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8093 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8095 * Makefile.am: use $(variables) instead of @substitutions@
8097 2002-08-15 André Pönitz <poenitz@gmx.net>
8100 * BufferView_pimpl.C: streamlining mathed <-> outer world
8104 * LyXAction.C: remove unused LFUN_MATH
8106 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8108 * paragraph.[Ch]: add some NO_NEXT ifdefs.
8110 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8112 * paragraph.C (Paragraph): reformat a bit
8113 (cutIntoMinibuffer): use builtin InsetList function instad of
8117 * buffer.C: include boost/bind.hpp, add using std::for_each
8118 (writeFileAscii): use ParagraphList iterators
8119 (validate): use for_each for validate traversal of paragraphs
8120 (getBibkeyList): use ParagraphList iterators
8121 (resizeInsets): use for_each to resizeInsetsLyXText for all
8123 (getParFromID): use ParagraphList iterators
8125 * BufferView2.C (lockInset): use paragraph list and iterators
8127 2002-08-14 John Levon <levon@movementarian.org>
8129 * lyxserver.C: remove spurious xforms include
8131 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8133 * lyxfunc.C (getStatus): disable math-extern outside of math mode
8135 2002-08-13 André Pönitz <poenitz@gmx.net>
8138 * lyxfunc.C: further cleaning
8140 2002-08-13 André Pönitz <poenitz@gmx.net>
8142 * funcrequest.h: new constructor
8144 * funcrequest.C: move stuff here from .h
8147 * BufferView_pimpl.C:
8150 * lyxfunc.C: subsequent changes
8152 * lyxfunc.h: new view() member function
8154 * lyxfunc.C: subsequent changes
8156 2002-08-13 Angus Leeming <leeming@lyx.org>
8159 * BufferView_pimpl.C:
8167 changes due to the changed LyXView interface that now returns references
8168 to member variables not pointers.
8170 2002-08-13 Angus Leeming <leeming@lyx.org>
8172 * WordLangTuple (word, lang_code): return references to strings,
8177 * lyxtext.h: forward-declare WordLangTuple.
8182 * text.C: #include "WordLangTuple.h".
8185 * text.C: (selectNextWordToSpellcheck): constify return type.
8187 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
8193 * paragraph_pimpl.h:
8196 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8198 Made updateCounter always count from start of buffer, and removed
8199 second argument (par).
8200 Reverted floats number display to '#'. Perhaps I'll try again when the
8201 code base is sanitized a bit.
8203 2002-08-12 Angus Leeming <leeming@lyx.org>
8205 * buffer.[Ch] (getLabelList): constify.
8207 2002-08-07 André Pönitz <poenitz@gmx.net>
8209 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8211 * funcrequest.h: extension to keep mouse (x,y) position
8213 2002-08-12 Juergen Vigna <jug@sad.it>
8215 * BufferView2.C (insertErrors): forbid undo when inserting error
8218 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8220 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8222 * ParagraphList.[Ch]: new files
8224 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8226 * BufferView2.C (lockInset): ParagraphList changes
8229 * bufferlist.C: ditto
8233 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8235 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8236 unused class variable counter_,
8238 * paragraph.[Ch] (getFirstCounter): delete unused function
8240 * counters.C: include LAssert.h
8241 (reset): add a new function with no arg, change other version to
8242 not have def. arg and to not allow empty arg.
8244 * text2.C (setCounter): remove empty arg from call to Counters::reset
8246 2002-08-11 John Levon <levon@movementarian.org>
8248 * Makefile.am: add WordLangTuple.h
8250 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8252 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8253 lyxfunc.C lyxlex_pimpl.C: ws changes only.
8255 * insets/insettext.C: InsetList changes
8257 * graphics/GraphicsSupport.C (operator()): InsetList changes
8259 * toc.C (getTocList): InsetList changes
8261 * paragraph_pimpl.[Ch]: InsetList changes
8263 * paragraph.[Ch]: InsetList changes
8265 * buffer.C (inset_iterator): InsetList changes
8266 (setParagraph): ditto
8267 * buffer.h (inset_iterator): ditto
8268 * iterators.C (operator++): ditto
8269 * iterators.h: ditto
8271 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8273 * InsetList.[Ch]: new files, most InsetList handling moved out of
8276 * BufferView2.C (removeAutoInsets): InsetList changes
8278 (ChangeInsets): ditto
8280 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8282 * paragraph_pimpl.h (empty): new function
8284 * paragraph.[Ch] (empty): new function
8286 * other files: use the new Paragraph::empty function
8288 2002-08-09 John Levon <levon@movementarian.org>
8290 * lyxtext.h: remove unused refresh_height
8292 2002-08-09 John Levon <levon@movementarian.org>
8299 * paragraph.C: move sgml char escaping out of paragraph
8302 * paragraph.C: remove id setter
8306 * paragraph_pimpl.C: remove dead tex_code_break_column
8308 * bufferview_funcs.C: small cleanup
8310 * lyxfunc.C: remove dead proto
8312 * lyxtext.h: make some stuff private. Remove some dead stuff.
8314 * lyxgluelength.C: make as[LyX]String() readable
8316 2002-08-08 John Levon <levon@movementarian.org>
8321 * ToolbarDefaults.C:
8324 * toc.C: lyxaction cleanup
8326 2002-08-08 John Levon <levon@movementarian.org>
8328 * BufferView2.C: small cleanup
8331 * lyxfind.C: move unnecessary header into the .C
8333 2002-08-08 John Levon <levon@movementarian.org>
8335 * funcrequest.h: just tedious nonsense
8338 * lyx_main.C: cleanups
8341 * vspace.C: remove dead header lyx_main.h
8343 2002-08-07 Angus Leeming <leeming@lyx.org>
8346 * paragraph_pimpl.h:
8347 Forward declare class Counters in paragraph.h by moving the ctrs member
8348 variable into Paragraph::Pimpl.
8349 (counters): new method, returning a reference to pimpl_->ctrs.
8351 * text2.C: ensuing changes.
8353 2002-08-07 John Levon <levon@movementarian.org>
8355 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8357 * BufferView_pimpl.C: announce X selection on double/triple
8360 * lyx_main.C: use correct bool in batch dispatch
8362 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8364 2002-08-07 André Pönitz <poenitz@gmx.net>
8366 * funcrequest.h: new class to wrap a kb_action and its argument
8369 * BufferView_pimpl[Ch]:
8373 * lyxrc.C: subsequent changes
8376 2002-08-07 John Levon <levon@movementarian.org>
8378 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8379 document options change.
8381 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8386 * makefile.am: move counters functionality over from
8387 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8389 2002-08-06 John Levon <levon@movementarian.org>
8391 * WordLangTuple.h: new file for word + language code tuple
8402 * BufferView2.C: use WordLangTuple
8405 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8407 2002-08-06 John Levon <levon@movementarian.org>
8409 * lyx_main.C: fix cmdline batch handling
8411 2002-08-06 André Pönitz <poenitz@gmx.net>
8413 * lyxrc.C: set default for show_banner to true
8415 2002-08-06 John Levon <levon@movementarian.org>
8417 * pspell.C: fix a crash, and allow new aspell to work
8419 2002-08-06 John Levon <levon@movementarian.org>
8422 * kbmap.C: small cleanup
8425 * vspace.C: add const
8427 2002-08-05 John Levon <levon@movementarian.org>
8429 * LyXAction.C: back to tabular-insert
8431 2002-08-04 John Levon <levon@movementarian.org>
8434 * BufferView.C: cosmetic change
8436 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8446 * BufferView2.C: purge all "Lyx" not "LyX" strings
8449 * lyxcursor.C: attempt to add some documentation
8454 * ToolbarDefaults.C:
8455 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8456 merge with LFUN_TABULAR_INSERT
8463 * pspell.C: split up i/pspell implementations into separate
8464 files, many cleanups
8466 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8468 * text2.C: some cleanup
8470 * lyxfunc.C: don't check for isp_command == "none" any more, it
8471 didn't make any sense
8473 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8478 * makefile.am: move counters functionality over
8479 from text2.C/paragraph.[Ch] to counters.[Ch], and
8481 2002-08-02 John Levon <levon@movementarian.org>
8483 * buffer.C: s/lyxconvert/lyx2lyx/
8485 2002-08-02 Angus Leeming <leeming@lyx.org>
8487 * lyxlex.C: revert John's change as it breaks reading of the user
8490 2002-08-02 Angus Leeming <leeming@lyx.org>
8492 * importer.C (Import):
8493 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8494 changes due to LyXView::view() now returning a boost::shared_ptr.
8496 2002-08-02 John Levon <levon@movementarian.org>
8498 * lyxlex.C: small cleanup
8500 2002-08-02 John Levon <levon@movementarian.org>
8502 * text2.C (status): small cleanup, no logic change
8504 2002-08-01 John Levon <levon@movementarian.org>
8507 * buffer.C (writeFile): don't output alerts, caller
8511 * lyx_cb.C: from above
8513 * lyxfunc.C: allow to open non-existent files
8515 2002-07-31 John Levon <levon@movementarian.org>
8517 * lyxserver.C: don't let incidental errors get
8520 2002-07-30 John Levon <levon@movementarian.org>
8522 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8524 2002-07-30 John Levon <levon@movementarian.org>
8527 * lyxserver.C: remove I/O callback too
8529 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8531 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8534 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8536 * many files: strip,frontStrip -> trim,ltrim,rtrim
8538 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8540 * PrinterParams.h: remove extern containsOnly, and include
8541 support/lstrings.h instead.
8543 * LaTeX.C (scanAuxFile): modify because of strip changes
8545 * buffer.C (makeLaTeXFile): ditto
8546 * bufferparams.C (writeFile): ditt
8547 * lyxfont.C (stateText): ditto
8548 * lyxserver.C (read_ready): ditto
8549 * vc-backend.C (scanMaster): ditto
8551 * BufferView_pimpl.h: ws changes
8553 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8555 2002-07-26 André Pönitz <poenitz@gmx.net>
8557 * kb_sequence.C: remove unnedred usings
8559 2002-07-26 Juergen Vigna <jug@sad.it>
8561 * lyxfind.C (LyXReplace): we have to check better if the returned
8562 text is not of theLockingInset()->getLockingInset().
8564 2002-07-25 Juergen Vigna <jug@sad.it>
8566 * lyxfind.C (LyXReplace): don't replace if we don't get the
8569 * undo_funcs.C (createUndo): remove debugging code.
8571 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
8573 * buffer.C (parseSingleLyXformat2Token): Use default placement
8574 when reading old floats.
8576 * FloatList.C (FloatList): Change the default placement of figure
8577 and tables to "tbp".
8579 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
8581 * MenuBackend.C: using std::max
8583 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8585 * MenuBackend.C (expandToc):
8586 (expandToc2): code moved from xforms menu frontend. It is now
8587 generic and TOCs are transparent to menu frontends.
8589 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8591 * toc.C (getTocList): protect against buf=0
8593 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8594 Menu as first parameter. Now, this calls itself recursively to
8595 expand a whole tree (this will be useful for TOC handling)
8596 (expandFloatInsert): remove 'wide' version of floats
8598 * MenuBackend.h (submenuname): returns the name of the submenu.
8599 (submenu): returns the submenu itself, provided it has been
8600 created by MenuBackend::expand
8602 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8604 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8605 insets which have noFontChange == true. (bug #172)
8607 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8609 * BufferView_pimpl.C: add connection objects and use them...
8612 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8614 * MenuBackend.C (expandLastfiles):
8617 (expandFloatListInsert):
8618 (expandFloatInsert):
8619 (expand): split expand in parts
8621 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8623 * lyx_gui.C: use lyx_gui::exit()
8625 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8627 * LyXAction.C: show the failing pseudo action
8629 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
8631 * buffer.C (readFile): Run the lyxconvert script in order to read
8634 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8638 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8640 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8644 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8646 2002-07-22 Herbert Voss <voss@lyx.org>
8649 * lyxlength.[Ch]: add support for the vertical lengths
8651 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
8653 * toc.[Ch]: std:: fixes
8655 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8657 * lyxrc.C: do not include lyx_main.h
8659 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8665 * BufferView2.C: include "lyxlex.h"
8668 * bufferparams.h: do not #include "lyxlex.h"
8670 * lyxtextclasslist.C (Add): remove method
8671 (classlist): renamed to classlist_
8673 * paragraph_pimpl.C:
8677 * bufferview_funcs.C:
8682 * toc.C (getTocList): use BufferParams::getLyXTextClass
8684 * toc.C (getTocList): use InsetFloat::addToToc
8686 * toc.[Ch]: new files, containing helper functions to handle table
8689 * lyxfunc.C (dispatch): no need to remove spaces around command
8691 (getStatus): handle LFUN_SEQUENCE by returning the status of the
8692 first command of the sequence; it is not very clever, but I do not
8693 have a better idea, actually
8695 * LyXAction.C (LookupFunc): make sure to remove space at the
8696 beginning and end of the command
8698 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8700 * MenuBackend.C (getMenubar): new method: return the menubar of
8702 (read): treat differently reading of menu and menubar (in
8703 particular, the menubar has no name now)
8704 (Menu::menubar): remove
8706 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8709 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8711 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8712 a bibitem inset in a RTL paragraph.
8714 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
8716 * paragraph_pimpl.C: constify
8718 * BufferView_pimpl.C:
8720 * lyxfunc.C: fix dispatch in a nicer way
8722 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8724 * lyxfunc.C (dispatch):
8725 * BufferView_pimpl.C:
8726 * BufferView_pimpl.h:
8728 * BufferView.h: rename Dispatch() to dispatch()
8730 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8732 * lyxlayout.C (Read): honor DependsOn tag
8734 * lyxlayout.[Ch] (depends_on): new method
8736 * version.C.in: update lyx_docversion
8738 * LaTeXFeatures.C (getMacros): only define \LyX when needed
8740 * paragraph.C (validate): remove from here...
8741 * paragraph_pimpl.C (validate): ... and move here
8742 (isTextAt): make it const
8744 * buffer.C (getLists): ws cleanup
8746 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8748 * language.C (read): Use iso8859-1 encoding in latex_lang
8749 (this prevents LyX from crashing when using iso10646-1 encoding).
8751 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8753 * text2.C (toggleInset): if cursor is inside an inset, close the
8754 inset and leave cursor _after_ it
8756 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8758 * lyxfunc.C: move minibuffer completion handling out of here
8760 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8762 * BufferView_pimpl.C:
8763 * LaTeX.C: fix dispatch calls
8765 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
8767 * text.C (drawChars): Fix Arabic text rendering.
8769 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
8773 * lyxfunc.C: remove message-push/pop
8777 * lyxfunc.C: rationalise some code by removing verboseDispatch
8778 in favour of a bool argument to dispatch()
8780 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8782 * lyx_main.C (init): make sure to read symlinks as absolute paths
8784 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8787 * lyxfunc.C: no need for commandshortcut to be a member
8789 2002-07-15 André Pönitz <poenitz@gmx.net>
8791 * converter.C: add support for $$s (scripts from lib/scripts dir)
8792 * lyx_main.C: white space
8794 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8798 * lyxrc.C: remove second exit confirmation
8800 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8805 * BufferView_pimpl.h:
8806 * BufferView_pimpl.C:
8807 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8809 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8811 * MenuBackend.C (expand): add numeric shortcuts to document menu
8813 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8815 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8817 * lyxfont.C (setLyXFamily):
8824 * buffer.C (asciiParagraph): use ascii_lowercase
8826 2002-07-15 Mike Fabian <mfabian@suse.de>
8828 * lyxlex_pimpl.C (search_kw):
8829 * lyxlex.C (getLongString):
8830 * converter.h (operator<):
8831 * converter.C (operator<):
8832 * buffer.C (parseSingleLyXformat2Token):
8834 * ToolbarDefaults.C (read):
8835 * MenuBackend.C (checkShortcuts):
8837 * LColor.C (getFromGUIName):
8838 (getFromLyXName): use the compare_ascii_no_case instead of
8839 compare_no_case, because in turkish, 'i' is not the lowercase
8840 version of 'I', and thus turkish locale breaks parsing of tags.
8842 2002-07-16 Angus Leeming <leeming@lyx.org>
8844 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8845 now takes a Buffer const & argument.
8847 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
8849 * BufferView.C (resize): check there's a buffer to resize
8851 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
8853 * lyxfunc.C: remove dead code
8856 * lyxserver.C: use lyx_guii::set_read_callback
8858 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
8860 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8861 an inset in a RTL paragraph.
8863 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8865 * lyxfunc.C: repaint after a font size update
8867 2002-07-15 André Pönitz <poenitz@gmx.net>
8869 * lyxlength.C: inBP should be able to return negative values
8871 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8873 * lyxfunc.C: use lyx_gui::update_fonts()
8875 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8877 * lyxfunc.C: use lyx_gui::update_color()
8879 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8885 * lyxrc.C: remove file->new asks for name option, and let
8886 buffer-new take an argument
8888 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8890 * BufferView_pimpl.C: remove unneeded extra repaint()
8892 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
8894 * LyXAction.C: allow command-sequence with NoBuffer
8896 * lyxfunc.C: don't insist on trailing ';' for command-sequence
8898 2002-07-10 Angus Leeming <leeming@lyx.org>
8900 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8902 2002-07-09 Angus Leeming <leeming@lyx.org>
8904 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8906 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8908 * lengthcommon.h: whitespace
8910 * lyxfunc.C: update scrollbar after goto paragraph
8912 * lyxtext.h: factor out page break drawing, and fix it so
8913 page break/added space paints as selected nicely
8915 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8917 * BufferView_pimpl.C: add FIXMEs, clean up a little
8919 2002-07-09 André Pönitz <poenitz@gmx.net>
8921 * lyxfont.[Ch]: support for wasy symbols
8923 2002-07-08 André Pönitz <poenitz@gmx.net>
8925 * BufferView_pimpl.C: apply John's patch for #93.
8927 2002-07-05 Angus Leeming <leeming@lyx.org>
8929 * BufferView_pimpl.C (buffer): generate previews if desired.
8931 * LColor.h: add "preview" to the color enum.
8933 * LColor.C (LColor): add a corresponding entry to the items array.
8935 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8938 2002-07-05 Angus Leeming <leeming@lyx.org>
8940 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8941 The body of the code is now in the method that is passed an ostream &
8942 rather than a file name.
8943 Pass an additional only_preamble parameter, useful for the forthcoming
8946 2002-07-03 André Pönitz <poenitz@gmx.net>
8948 * lyxfunc.C: simplify getStatus() a bit for math stuff
8950 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8952 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8954 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8956 * text.C (changeRegionCase): do not change case of all the
8957 document when region ends at paragraph end (bug #461)
8959 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8961 * paragraph.C (startTeXParParams):
8962 (endTeXParParams): add \protect when necessary
8964 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8966 * BufferView_pimpl.C (workAreaExpose): remove warning
8968 2002-06-27 Angus Leeming <leeming@lyx.org>
8970 * Makefile.am: add lyxlayout_ptr_fwd.h.
8972 2002-06-26 André Pönitz <poenitz@gmx.net>
8974 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8976 2002-06-25 Angus Leeming <leeming@lyx.org>
8978 * lyxfunc.C (dispatch): Comment out the call to
8979 grfx::GCache::changeDisplay. The method no longer exists now that the
8980 pixmap generation part of the graphics loader has been moved into
8983 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8985 * text2.C: layout as layout
8987 * text.C: layout as layout
8989 * tabular.C (OldFormatRead): layout as layout
8991 * paragraph_pimpl.C (TeXDeeper): layout as layout
8992 (realizeFont): layout as layout
8994 * paragraph.C (writeFile): layout as layout
8995 (validate): layout as layout
8996 (getFont): layout as layout
8997 (getLabelFont): layout as layout
8998 (getLayoutFont): layout as layout
8999 (breakParagraph): layout as layout
9000 (stripLeadingSpaces): layout as layout
9001 (getEndLabel): layout as layout
9002 (getMaxDepthAfter): layout as layout
9003 (applyLayout): layout as layout
9004 (TeXOnePar): layout as layout
9005 (simpleTeXOnePar): layout as layout
9006 (TeXEnvironment): layout as layout
9007 (layout): layout as layout
9008 (layout): layout as layout
9010 * lyxtextclass.C (compare_name): new functor to work with
9011 shared_ptr, layout as layout
9012 (Read): layout as layout
9013 (hasLayout): layout as layout
9014 (operator): layout as layout
9015 (delete_layout): layout as layout
9016 (defaultLayout): layout as layout
9018 * lyxlayout_ptr_fwd.h: new file
9020 * lyxlayout.C (Read): layout as layout
9022 * lyx_cb.C (MenuInsertLabel): layout as layout
9024 * bufferlist.C (newFile): layout as layout
9026 * buffer.C (readLyXformat2): layout as layout
9027 (parseSingleLyXformat2Token): layout as layout
9028 (insertStringAsLines): layout as layout
9029 (asciiParagraph): layout as layout
9030 (latexParagraphs): layout as layout
9031 (makeLinuxDocFile): layout as layout
9032 (simpleLinuxDocOnePar): layout as layout
9033 (makeDocBookFile): layout as layout
9034 (simpleDocBookOnePar): layout as layout
9035 (getLists): layout as layout
9037 * LaTeXFeatures.C (getTClassPreamble): layout as layout
9039 * CutAndPaste.C (cutSelection): layout as layout
9040 (pasteSelection): layout as layout
9041 (SwitchLayoutsBetweenClasses): layout as layout
9043 * BufferView_pimpl.C (Dispatch): layout as layout
9044 (smartQuote): layout as layout
9046 * BufferView2.C (unlockInset): layout as layout
9048 2002-06-24 André Pönitz <poenitz@gmx.net>
9050 * lyxfunc.C: fix #487
9052 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9056 * lyxfunc.C: remove display_shortcuts, show_banner
9058 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9060 * Buffer_pimpl.C: oops, update on resize
9062 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9069 * BufferView.C: use repaint()
9071 * BufferView_pimpl.h:
9072 * BufferView_pimpl.C: s/updateScreen()/repaint()/
9073 as it's a clearer description. Remove superfluous
9076 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9078 * text.C: fix bug 488. Not ideal, but getting
9079 getWord() to work properly for the insets that
9080 matter is more difficult ...
9082 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9084 * BufferView_pimpl.C:
9087 * lyxfunc.C: remove the six million index lyxfuncs to just
9088 one, and DTRT (bug 458)
9090 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9094 * BufferView_pimpl.h:
9095 * BufferView_pimpl.C: clean up resize() stuff,
9096 and unnecessary updateScreen()s
9098 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9102 * BufferView_pimpl.h:
9103 * BufferView_pimpl.C:
9106 * minibuffer.C: remove focus management of workarea,
9107 not needed. Use screen's greyOut()
9109 2002-06-17 Herbert Voss <voss@lyx.org>
9111 * converter.C: (convert) do not post a message, when converting
9112 fails, let the calling function decide what to do in this case
9114 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
9116 * lyxfunc.C: tidy up a little
9118 2002-06-16 <alstrup@diku.dk>
9120 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9121 Got rid of FORMS_H_LOCATION include. Now we are
9124 2002-06-15 LyX Development team <lyx@rilke>
9126 * buffer.[Ch] (sgmlOpenTag):
9127 (sgmlCloseTag): Added support for avoiding pernicious mixed
9128 content. Return number of lines written.
9131 (makeDocBookFile): Fixed calls to sgml*Tag.
9132 Simple white space clean.
9134 (simpleDocBookOnePar): Simple white space clean.
9136 * tabular.[Ch] (docBook): Renamed to docbook and got another
9137 argument to related with the pernicious mixed content.
9139 (docbookRow): Fixed calls for docbook inset method.
9141 2002-06-15 Lyx Development team <larsbj@birdstep.com>
9143 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9144 so it's X11 independent.
9148 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9150 2002-06-15 Lyx Development team <lyx@electronia>
9152 * intl.h: Renamed getTrans to getTransManager.
9154 2002-06-14 Angus Leeming <leeming@lyx.org>
9156 * Makefile.am: nuke forgotten stl_string_fwd.h.
9158 2002-06-12 Angus Leeming <leeming@lyx.org>
9160 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9162 2002-06-13 Angus Leeming <leeming@lyx.org>
9165 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9167 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
9169 * kbmap.C (getiso): add support for cyrillic and greek
9171 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9175 * BufferView_pimpl.h:
9176 * BufferView_pimpl.C: move bogus scrolling logic
9179 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9182 * BufferView_pimpl.C: view->resize() change
9184 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9186 * BufferView_pimpl.C: topCursorVisible
9189 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9193 * lyx_gui.C: move to frontends/
9197 * lyx_main.C: changes from above
9199 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9206 * lyx_main.C: minor tidy
9208 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9210 * BufferView_pimpl.h:
9211 * BufferView_pimpl.C:
9213 * BufferView.C: make painter() const,
9216 * BufferView2.C: use screen() accessor
9219 * lyx_main.C: some minor cleanup
9221 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9223 * BufferView_pimpl.h:
9224 * BufferView_pimpl.C: remove enter/leaveView,
9227 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9232 * BufferView_pimpl.h:
9233 * BufferView_pimpl.C: only construct screen once,
9236 * lyxrc.C: remove pointless comment
9238 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9241 * BufferView.C: remove active() and belowMouse()
9243 * BufferView_pimpl.h:
9244 * BufferView_pimpl.C: use workarea() not workarea_,
9245 and make it use a scoped_ptr instead
9247 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9249 * lyx_gui.C: add debug message on BadWindow
9251 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9253 * sp_spell.C: fdopen is not part of the C++ standard.
9255 * paragraph.C (InsetIterator): use >= instead of ==
9257 2002-06-07 Angus Leeming <leeming@lyx.org>
9259 Fixes needed to compile with Compaq cxx 6.5.
9260 * BufferView_pimpl.C:
9267 * lyxtextclasslist.C:
9272 all c-library variables have been moved into namespace std. Wrap
9273 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9278 Add a using std::abs declaration.
9280 * kbmap.h (modifier_pair):
9281 * paragraph.h (InsetTable, InsetList):
9282 * lyxfont.h (FontBits):
9283 type definition made public.
9285 * bufferlist.C (emergencyWriteAll): the compiler complains that
9286 there is more than one possible lyx::class_fun template to choose from.
9287 I re-named the void specialisation as lyx::void_class_fun.
9289 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9291 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9292 the compiler is is unable to find tostr in write_attribute.
9294 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9296 * buffer.C (sgmlError): hide #warning
9298 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9300 * xtl/*: get rid of xtl, which is not in use anyway
9302 * LyXAction.C (init):
9303 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9304 were unimplemented xtl experimentation
9306 2002-06-04 André Pönitz <poenitz@gmx.net>
9308 * lyxfunc.C: disable array operation on simple formulae
9310 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
9312 * converter.C: constify a bit
9314 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
9316 * lyx_gui.C: check xforms version correctly
9318 2002-04-30 Herbert Voss <voss@lyx.org>
9320 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9323 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
9325 * lyxvc.C: fix bug 416 (make sure buffer is saved before
9326 attempt to register it with a VCS)
9328 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9330 * lyx_main.C (init): honor variables LYX_DIR_13x and
9333 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9337 * lyx_main.C: fix a crash on bad command line,
9338 and give a useful exit status on error
9340 * lyxfunc.C (doImport): allow -i lyx to work
9342 2002-03-30 André Pönitz <poenitz@gmx.net>
9344 * lyxfunc.C: mathed font changes
9346 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9361 * trans_mgr.h: srcdocs, and some minor cleanups
9363 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9365 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9366 call getFont all the time)
9368 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9370 * switch from SigC signals to boost::signals
9372 2002-05-29 André Pönitz <poenitz@gmx.net>
9374 * paragraph_pimpl.C (getChar): don't call size() too often...
9376 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9378 * paragraph_pimpl.C (insertChar): do not try to update tables when
9379 appending (pos == size())
9381 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9382 in order to reduce drastically the number of comparisons needed to
9383 parse a large document
9385 2002-05-29 André Pönitz <poenitz@gmx.net>
9391 * textclasslist.[Ch]:
9392 * sp_ispell.h: whitespace change
9394 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9396 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9397 lyxaction directly now.
9399 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
9403 * lyxvc.C: remove unused headers
9405 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9412 * undo_funcs.C: some cleanups. Use shared_ptr
9413 and a template for the undo stacks.
9415 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9417 * BufferView_pimpl.h:
9418 * BufferView_pimpl.C:
9425 * text2.C: use key_state/mouse_state
9427 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9429 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9432 * chset.C: change include order
9433 (loadFile): use boost regex and get rid of LRegex and LSubstring
9435 * Makefile.am (BOOST_LIBS): new variable
9438 * LaTeX.C: change include order.
9439 (scanAuxFile): use boost regex and get rid of LRegex and
9443 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9448 * FontInfo.C: moved to frontends/xforms/
9451 * FontLoader.C: moved into frontends for GUIIzation
9456 * lyxfunc.C: changes from above
9458 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9460 * LColor.C: remove spurious X include
9462 * BufferView_pimpl.C:
9467 * text2.C: move font metrics to frontends/
9469 2002-05-24 Juergen Vigna <jug@sad.it>
9471 * undo_funcs.C (textHandleUndo): fix the cursor selection after
9472 setting the undo_cursor.
9474 * ParagraphParameters.h: include local includes first.
9476 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9478 * BufferView_pimpl.C:
9479 * BufferView_pimpl.h:
9483 * screen.C: move WorkArea into frontends/
9489 * BufferView2.C: move LyXScreen into frontends/
9493 * lyx_gui.C: move lyxlookup into frontends/xforms/
9495 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9498 * BufferView_pimpl.C:
9508 * bufferview_funcs.C:
9521 * vc-backend.C: move LyX/XFormsView into frontends/
9523 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9535 * text2.C: move Painter to frontends/
9537 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9539 * buffer.C: comment out some some code that depend upon lyx_format
9542 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9543 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9545 * buffer.h (NO_COMPABILITY): turn off compability
9547 * ColorHandler.C: include scoped_array.hpp
9549 * font.C: Use more specific smart_ptr header.
9552 * ShareContainer.h: ditto
9556 * BufferView_pimpl.h: ditto
9557 * ColorHandler.h: ditto
9559 * kbmap.C (defkey): change call to shared_ptr::reset
9561 2002-05-21 Juergen Vigna <jug@sad.it>
9563 * buffer.C (insertErtContents): fix to insert ert asis if it is
9564 non empty. Skip it completely if it contains only whitespaces.
9566 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
9568 * BufferView_pimpl.C:
9569 * BufferView2.C: clear selection on paste (bug 393)
9571 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9573 * DepTable.C: include ctime
9575 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
9577 * buffer.C (latexParagraphs): Add new argument (moving_arg).
9579 2002-05-14 Juergen Vigna <jug@sad.it>
9581 * text.C (breakParagraph): fixed function to honor the keepempty
9582 layout in the right maner and also to permit the right breaking
9583 algorithm on empty or non empyt keepempty paragraphs.
9585 * paragraph.C (breakParagraph): we have to check also if the par
9586 is really empty (!size()) for isempty otherwise we do the wrong
9589 2002-05-10 Juergen Vigna <jug@sad.it>
9591 * buffer.[Ch] : The following are only changes to the ert
9592 compatibility read reading old LaTeX layout and font stuff and
9593 convert it to ERTInsets.
9595 * buffer.h: added isErtInset().
9597 * buffer.C (struct ErtComp): add a fromlayout bool to check
9598 if we're inside a LaTeX layout.
9599 (isErtInset): new helper function.
9600 (insertErtContents): look for other ert insets before this one
9601 and insert the contents there, so that we don't have subsequent
9602 ERT insets with nothing between them. This way we create only one
9603 inset with multiple paragraphs. Also check if we don't insert only
9604 spaces ' ' as they are ignored anyway afterwards in the .tex file
9605 so if we have only spaces we will ignore this latex part in the
9607 (parseSingleLyXformat2Token \\layout): better compatibility when
9608 reading layout-latex stuff.
9609 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9611 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9612 stuff after reading the inset only get the information back from
9615 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
9617 * buffer.C (makeLaTeXFile): Put language options after loading babel.
9619 * LaTeXFeatures.C (getBabelOptions): New method.
9621 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9623 * BufferView_pimpl.C (Dispatch): work around missing argument for
9626 2002-05-08 Juergen Vigna <jug@sad.it>
9628 * text.C (leftMargin): handle paragraph leftindent.
9630 * paragraph.C (writeFile): write the new \\leftindent tag.
9631 (validate): handle leftindent code.
9632 (TeXEnvironment): handle paragraphleftindent code again.
9634 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9636 * buffer.C (parseSingleLyXformat2Token): added compatibility code
9637 for paragrap_extra indent code and new token \\leftindent.
9638 (latexParagraphs): handle the leftindent as environment.
9640 * ParameterStruct.h: added leftindent support.
9642 * ParagraphParameters.C (leftIndent): added support functions for
9643 the paragraph left indent.
9645 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9648 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
9650 * paragraph.C (isRightToLeftPar): Return false for a paragraph
9653 * text.C (computeBidiTables): No bidi in insetERT.
9655 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9658 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9660 * version.C.in: pre 5
9662 2002-05-02 José Matos <jamatos@fep.up.pt>
9663 * buffer.C (makeDocBookFile): white space changes, add newline to
9665 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9667 * tabular.C (docBook): fix typo.
9669 2002-05-03 Juergen Vigna <jug@sad.it>
9671 * screen.C (drawFromTo): recalculate the rowpointer if we had a
9672 change in LyXText as we can not be sure it was not freed.
9673 (drawOneRow): remove unused code.
9675 * text.C (drawInset): redo the calculation of the need_break_row as
9676 it could have a row which was already freed.
9677 (draw): look at the return value of drawInset and return false if
9678 it also returned false.
9679 (paintRowText): look at the return value of draw and return false if
9680 it also returned false.
9682 * lyxtext.h: added bool return type to drawInset() and draw() so that
9683 if we have a change in the row so that the rowbreak has to be redone
9684 we abort drawing as it will be called again.
9686 2002-05-02 Juergen Vigna <jug@sad.it>
9688 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9689 a change in the maintext also if we're inside an inset.
9690 (Dispatch): set the cursor again after a break line and after the
9691 screen has been updated as it could be we're in a different row.
9693 * text2.C (fixCursorAfterDelete): check to make sure we don't request
9694 to set the cursor behind the pargraph with > size().
9695 (setCursor): check also for the same paragraph when checking where
9696 to put the cursor if we have a NFR inset.
9698 * buffer.C (parseSingleLyXformat2Token): move the compatibility
9699 parts of layout read further up as it still was in the wrong
9702 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9704 * screen.C (drawFromTo): change sine fullRebreak always return
9707 * buffer.C (parseSingleLyXformat2Token): reindent some
9709 * BufferView_pimpl.C (update): change since fullRebreak always
9711 (Dispatch): git rid of the last hardcoded "Standard"s.
9713 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9715 * text2.[Ch] (fullRebreak): make it return void now that we always
9718 2002-04-30 Juergen Vigna <jug@sad.it>
9720 * buffer.C (parseSingleLyXformat2Token): reset the font before the
9721 ert compatibility check for "latex" layout.
9723 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
9725 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9726 minipages: use col% instead of p%, and also use the current font.
9727 (makeLaTeXFile): Fix use babel condition.
9728 (parseSingleLyXformat2Token): Correct font when reading old floats.
9730 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
9732 * BufferView_pimpl.C (Dispatch): Check that float type exists when
9733 inserting list of floats.
9735 2002-04-25 Herbert Voss <voss@lyx.org>
9737 * MenuBackend.C (expand): don't add the graphics extensions to the
9740 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9742 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9743 non-existing layout, do not complain if it was the default layout
9744 of the original class (bug #342)
9746 2002-04-24 Juergen Vigna <jug@sad.it>
9748 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9749 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9751 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
9753 * buffer.C (getBibkeyList): If using \bibliography, return the
9754 option field with the reference itself. Enables us to provide natbib
9755 support when using \bibliography.
9757 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
9759 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9761 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9762 natbib is provided by the LaTeX class.
9764 2002-04-23 Juergen Vigna <jug@sad.it>
9766 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9769 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9771 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9773 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9775 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9776 ensuremath around textordmasculine, textordfeminine and
9779 2002-04-19 Juergen Vigna <jug@sad.it>
9781 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9782 reinitializing the buffer otherwise row-dimensions may be wrong.
9783 (update): reset also the selection cursors if they do exits otherwise
9784 their x/y positions may be wrong.
9786 * text2.C (cursorDown): don't enter the inset if we came from a row
9787 above and are one row over the inset.
9789 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9790 really leaving an inset.
9792 2002-04-18 Juergen Vigna <jug@sad.it>
9794 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9795 of the selected paragraph does not have the selected layout also if
9798 * text2.C (setLayout): fixed bug which did not change last selected
9801 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9802 changed the read and substituted \\end_float with \\end_inset!
9804 * BufferView_pimpl.C (cursorPrevious):
9805 (cursorNext): fixed to make it work with rows heigher than the work
9806 area without moving the cursor only the draw of the row.
9807 (workAreaMotionNotify): fix jumping over high rows.
9809 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9811 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9814 2002-04-16 Juergen Vigna <jug@sad.it>
9816 * text2.C (setCursor): set also the irow().
9817 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9819 (cursorDown): support for locking an inset if the x_fix value goes
9820 inside it. That way I can transverse insets too with cursor up/down.
9822 * lyxrow.h: added irow helper function same as other (i) functions.
9824 * BufferView_pimpl.C (cursorPrevious):
9825 (cursorNext): fixed for insets!
9827 2002-04-15 Juergen Vigna <jug@sad.it>
9829 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9830 position otherwise it is wrong in some cases.
9832 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9833 inside the inset before the call.
9835 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
9837 * buffer.[Ch] (getBibkeyList): make it const.
9839 2002-04-12 Juergen Vigna <jug@sad.it>
9841 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9843 * text2.C (getCursorX): new helper function
9844 (setCursor): compute also ix_
9845 (setCursorFromCoordinates): set also ix.
9847 * lyxcursor.h: added ix_ and helper functions.
9849 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9851 * buffer.C (insertStringAsLines): dont break paragraph if the this
9852 paragraph is inside an inset which does not permit it!
9854 * text.C (breakParagraph): honor keepempty flag and break the paragraph
9855 also with no chars on this paragraph.
9856 (paintRowText): only paint stuff if it's inside the workarea!
9858 * paragraph.C (breakParagraph): honor keepempty flag and break the
9859 paragraph always below not above.
9861 * BufferView2.C (unlockInset): update the paragraph layout on inset
9862 unlock as we changed paragraph in such a case.
9864 * lyxfind.C (LyXFind): clear the former selection if not found!
9866 * text2.C (insertInset): freeze Undo after setUndo so that it is not
9867 again called in insertChar().
9869 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9870 an inset which uses the whole row!
9871 (rightMargin): ditto.
9872 (insertChar): force a rebreak if we inserted an inset!
9874 2002-03-28 Herbert Voss <voss@lyx.org>
9876 * lyxlength.[Ch]: add inBP() to get the right PS-point
9877 units (BigPoint). With inPixels we have rounding errors
9879 2002-04-11 Juergen Vigna <jug@sad.it>
9881 * text2.C (setCursorFromCoordinates): set iy to the right value.
9882 (setCursor): add check if row->previous exists!
9884 * buffer.C (parseSingleLyXformat2Token): reset font after read of
9885 an old float_type as this was the case in the old code!
9887 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9889 * BufferView2.C (showLockedInsetCursor): use iy
9890 (fitLockedInsetCursor): ditto
9892 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9893 locked insets as there we have the right value now.
9895 * lyxcursor.C: added iy_ variable and iy functions to set to the
9896 baseline of cursor-y of the locked inset.
9898 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9899 (setCursor): fixed for insets which need a full row.
9901 * text.C (rowLastPrintable): don't ignore the last space when before
9902 an inset which needs a full row.
9903 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9904 as last character of a row when before a inset which needs a full row.
9906 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9908 * version.C.in: update date
9910 * text2.C (fullRebreak): try to always return true and see what
9913 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9915 * MenuBackend.C (expand): use Floating::listName
9917 * FloatList.C (FloatList): add listName argument to the built-in
9920 * Floating.[Ch]: add listName member, which is the 'List of XXX'
9921 text associated with the float.
9923 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9925 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9927 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9929 * ShareContainer.h: add a couple of missing typenames.
9931 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
9933 * lyxrc.C (getDescription): use _() correctly rather than N_().
9935 2002-03-28 Herbert Voss <voss@lyx.org>
9937 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9938 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9940 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9942 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9943 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9945 2002-03-29 Juergen Vigna <jug@sad.it>
9947 * lyxfunc.C (dispatch): add a missing fitCursor call.
9949 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9950 it was scrolled by a cursor move, so return the bool status.
9952 * BufferView.C (fitCursor): return the bool flag also to the outside
9953 world as this is needed.
9955 * screen.C (toggleToggle): don't subtract the offset if it's positive.
9957 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9958 call the edit() as it is not needed (and wrong) IMO.
9959 (workAreaButtonPress): set the screen_first variable before evt.
9960 unlock the inset as this may change screen_first and then we have
9961 a wrong y position for the click!
9963 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9965 * MenuBackend.C (expand): another translation that I missed
9967 2002-03-28 Juergen Vigna <jug@sad.it>
9969 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9971 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9973 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9975 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9977 * MenuBackend.C (expand): fix export/view/update when there is no
9980 2002-03-27 Herbert Voss <voss@lyx.org>
9982 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9985 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9987 * bufferview_funcs.C (currentState): only show paragraph number
9988 for is DEVEL_VERSION is set.
9990 * lyxfunc.C (dispatch): put warning in INFO channel
9992 * MenuBackend.C (expand): translate the name of floats
9994 * FloatList.C (FloatList): mark the float names for translation
9996 * converter.C (convert): use LibScriptSearch
9998 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10000 * MenuBackend.C (defaults): fix default menu (we might as well get
10003 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10005 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10008 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10010 * lyxvc.C: reorder includes.
10012 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
10014 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10017 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
10019 * CutAndPaste.C: change layouts earlier on paste
10020 to avoid crashing when calling getFont()
10022 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
10024 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10027 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10029 * WorkArea.C: remove 'Pending' debug message.
10031 * most files: ws cleanup
10033 * buffer.[Ch]: ws changes
10035 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10037 2002-03-21 Juergen Vigna <jug@sad.it>
10039 * tabular.C (SetMultiColumn): collapse also the contents of the
10040 cells and set the last border right. Added a Buffer const * param.
10042 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10044 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10047 2002-03-19 Juergen Vigna <jug@sad.it>
10049 * text2.C (clearSelection): reset also xsel_cache.
10051 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10052 where it needs to be called (John tells us to do so too :)
10053 (selectionLost): reset sel_cache.
10055 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10057 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10059 * text2.C (setCursorIntern): put debuging code in INSETS channel
10061 2002-03-19 André Pönitz <poenitz@gmx.net>
10063 * lyxfunc.C: tiny whitespace change
10065 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10067 * ToolbarDefaults.C (init):
10068 * LyXAction.C (init):
10070 * BufferView_pimpl.C (Dispatch):
10071 * lyxfunc.C (dispatch): remove LFUN_DEPTH
10073 2002-03-19 Allan Rae <rae@lyx.org>
10075 * exporter.C (Export): removeAutoInsets before doing anything else.
10076 While I've just introduced a dependency on BufferView this really is
10077 the best place to clean the buffer otherwise you need to cleanup in
10078 a dozen places before calling export or cleanup in a dozen functions
10081 * converter.C (runLaTeX):
10082 (scanLog): Better handling of removeAutoInsets and screen updates.
10084 * lyxfunc.C (dispatch): small whitespace changes
10086 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10088 * WorkArea.C (C_WorkAreaEvent): return a value.
10089 (event_cb): return 1 if we handled the event, 0 otherwise.
10091 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10093 2002-03-18 Juergen Vigna <jug@sad.it>
10095 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10096 (GetAdditionalWidth): ditto.
10097 (RightLine): ditto.
10100 * BufferView2.C (copy): use getLyXText() so that we do it inside an
10101 inset if we're there actually (probably not used right now but this
10102 is the direction to go for unifying code).
10103 (paste): disable code to clear the selection.
10105 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10106 inside an InsetText and move the check further up as it is in the
10109 * text2.C (pasteSelection): set a selection over the pasted text.
10111 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
10113 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10114 and libgraphics to build on Cygwin.
10116 2002-03-15 Juergen Vigna <jug@sad.it>
10118 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10119 inserting an Inset into the paragraph. I know this is not the best
10120 fix but we already use current_view in CutAndPaste so we will remove
10121 all of it's using at the same time.
10123 * buffer.C (sgmlError): deactivated function till it is rewritten in
10124 the right mode, now it can create problems.
10126 * paragraph.C (isLineSeparator): check if getInset returns != 0,
10127 before accessing it.
10129 2002-03-14 Juergen Vigna <jug@sad.it>
10131 * undo_funcs.C (textHandleUndo): do the right thing when updating
10132 the inset after the undo/redo.
10134 * text2.C (setCursor): just some testcode for #44 not ready yet.
10136 * undo_funcs.C (textHandleUndo): set the next() and previous()
10137 pointers of the paragraph to 0 before deleting otherwise we have
10138 problems with the Paragraph::[destructor].
10140 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10141 on a paragraph insertion.
10143 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10145 * buffer.C (asciiParagraph): use += operator for char append to
10148 * paragraph.C (getFontSettings): compare >= not just >
10149 (highestFontInRange): ditto
10152 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10154 * paragraph.C: change several algorithm to be more appripriate for
10155 the problem domain. This is lookip in FontList and in the InsetList.
10157 2002-03-13 André Pönitz <poenitz@gmx.net>
10160 * LyXAction.C: remove unused LFUN_MATH_MACROARG
10162 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
10167 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10169 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10171 * Painter.C (display): anon helper function, adjust code for this
10173 (pixmap): remove function.
10175 * Painter.h: remove private display variable.
10177 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10179 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
10181 * WorkArea.[Ch]: remove figinset_canvas cruft.
10183 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10185 * lyxtextclass.C (operator): add one item cache optimization.
10187 * bufferlist.h: doxy changes
10189 * bufferlist.C: ws changes
10191 * DepTable.[Ch] (ext_exist): place const in the right spot.
10193 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10195 (workAreaExpose): call resizeInsets when the with BufferView changes.
10196 (Dispatch): adjust for protectedBlank removal
10197 (specialChar): call updateInset if the insert went ok.
10199 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10200 specialChar instead.
10202 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10204 * BufferView.h: doxy change
10206 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10208 * lyxtextclass.C (operator[]): remove non-const version
10209 (defaultLayout): remove non-const version
10211 2002-03-12 Juergen Vigna <jug@sad.it>
10213 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10214 did resize the LyXText too.
10216 * buffer.C (readLyXformat2): set layout information on newly allocated
10219 * tabular.C (OldFormatRead): set layout information on the paragraph.
10221 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10223 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10225 2002-03-11 Juergen Vigna <jug@sad.it>
10227 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10229 (resizeCurrentBuffer): force also the insets to resize themselfes.
10230 (moveCursorUpdate): fixed up for InsetText.
10232 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
10235 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10236 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10237 value of Dialogs::tooltipsEnabled().
10238 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10240 2002-03-08 Juergen Vigna <jug@sad.it>
10242 * BufferView_pimpl.C (updateInset): update inset inside inset also
10243 if it isn't inside theLockingInset().
10245 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10247 * buffer.C (asciiParagraph): redo some of the word and line length
10249 (getLists): look for Caption instead of caption.
10251 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10253 * buffer.C (Buffer): initialize niceFile to true
10255 (makeLinuxDocFile):
10256 (makeDocBookFile): make sure niceFile is true on exit
10258 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10260 * buffer.C (makeLaTeXFile): escape ~ in \input@path
10262 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
10264 * LyXSendto.C: remove.
10265 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10266 * lyx_gui.C: remove now-redundant comment.
10267 * ColorHandler.h: remove forward declaration of class WorkArea.
10268 * lyxfunc.C: remove #include "WorkArea.h".
10270 2002-03-07 Juergen Vigna <jug@sad.it>
10272 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10273 got moved away with the DEPM and also set the inset_owner always
10274 right which before could have been omitted.
10276 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10278 * buffer.C (parseSingleLyXformat2Token): use default layout is the
10279 wanted layout is not found.
10281 2002-03-07 Juergen Vigna <jug@sad.it>
10283 * CutAndPaste.C (cutSelection): another layout settings forgotten.
10285 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10287 * paragraph.C (breakParagraph): use default layout not layout of
10289 (Paragraph): clear ParagraphParameters.
10291 2002-03-06 Juergen Vigna <jug@sad.it>
10293 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10294 otherwise it would not be a valid lenght. Fixed a special case in
10295 the minipage compatibility read where we end the document with a
10298 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10299 was set as it could be 0 for InsetTexts first entry.
10301 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10303 * paragraph.C (writeFile): if layout is empty write out
10304 defaultLayoutName().
10306 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10307 file without named layout we set layout to defaultLayoutName().
10309 2002-03-06 Juergen Vigna <jug@sad.it>
10311 * CutAndPaste.C (copySelection): set layout for new paragraph.
10313 * text.C (prepareToPrint): leave ERT inset left aligned
10314 (leftMargin): don't indent paragraphs inside ERT insets
10316 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10318 * paragraph.C (breakParagraph): dont call clear do the work manually
10320 * paragraph.[Ch] (clear): remove function
10322 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10324 * paragraph.C (Paragraph): dont call clear, the work has already
10327 * lyxtextclass.C (operator): assert if n is empty
10329 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10330 work manually instead.
10332 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10334 * BufferView_pimpl.C: protect selectionLost against text == 0
10336 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10338 * text.C (breakParagraph): fix a setting layout to '0' problem.
10340 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10342 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10343 final location of file, for the included files, and graphics.
10345 2002-03-05 Juergen Vigna <jug@sad.it>
10347 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10349 2002-03-04 Juergen Vigna <jug@sad.it>
10351 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10353 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10354 last column of multicolumn cells.
10355 (SetWidthOfMulticolCell): recalculate NMC and real columns.
10357 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
10359 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10360 file if it doesn't go to a temporary file.
10362 * buffer.C (sgmlOpenTag):
10363 (sgmlCloseTag): remove extra newline insertion.
10365 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10367 * text.C (getRowNearY): comment out debug msg
10369 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10371 * text2.C: first -> first_y
10373 * text.C (getRowNearY): add some attemts at a possible
10374 optimization, not working.
10376 * tabular.[Ch]: add BufferParams to several function so that newly
10377 created paragraph can be initialized to he default layotu for the
10380 * tabular-old.C (ReadOld): add buf->params to call of Init
10382 * screen.C: rename text->first to text->first_y
10384 * paragraph.C (breakParagraph): always set layout in the broken
10387 * lyxtextclass.C (Read): remove lowercase
10390 (delete_layout): ditto
10392 * lyxtext.h: rename first -> first_y
10394 * lyxlayout.C (Read): remove lowercase
10397 (obsoleted_by): ditto
10399 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10401 * buffer.C (insertErtContents): add params are to InsetERT
10402 (parseSingleLyXformat2Token): add code to check if a paragraphs
10403 layout really exist.
10404 (parseSingleLyXformat2Token): add params to several inset
10406 (asciiParagraph): remove lowercase, do the layout comparisons with
10409 * BufferView_pimpl.C (cursorNext): first -> first_y
10410 (resizeCurrentBuffer): first -> first_y
10411 (updateScrollbar): first -> first_y
10412 (scrollCB): first -> first_y
10413 (workAreaMotionNotify): first -> first_y
10414 (workAreaButtonPress): first -> first_y
10415 (checkInsetHit): first -> first_y
10416 (cursorPrevious): first -> first_y
10417 (cursorNext): first -> first_y
10418 (Dispatch): add buffer_->params to severl inset contructors
10420 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10422 * lyxlayout.C (Read): remove some debug info that I forgot.
10424 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10425 clean up the code slightly.
10426 (makeLinuxDocFile): ditto
10427 (makeDocBookFile): ditto
10429 * text2.C: layout as string
10431 * text.C: layout as string
10433 * paragraph_pimpl.C: layout as string
10435 * paragraph.[Ch]: layout as string
10437 * lyxtextclasslist.[Ch]: layout as string
10439 * lyxtextclass.[Ch]: layout as string
10441 * lyxtext.h: layout as string
10443 * lyxlayout.[Ch]: layout as string
10445 * lyx_cb.C: layout as string
10447 * bufferview_funcs.C: layout as string
10449 * bufferparams.C: layout as string
10451 * buffer.C: layout as string
10453 * LyXView.[Ch]: layout as string
10455 * LaTeXFeatures.[Ch]: layout as string
10457 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10459 * BufferView_pimpl.C: change current_layout to string, remove
10464 (workAreaButtonRelease): layout as string
10466 * BufferView2.C (unlockInset): adjust
10468 * vspace.C (asLatexCommand): use an explict temp variable.
10470 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10472 * Makefile.am: use FRONTEND_*
10474 2002-03-01 Juergen Vigna <jug@sad.it>
10476 * tabular.C (SetWidthOfMulticolCell): changed to something better
10477 I hope but still work in progress.
10478 (recalculateMulticolumnsOfColumn): renamed function from
10479 recalculateMulticolCells as it is more appropriate now.
10480 (SetWidthOfCell): calculate multicols better.
10482 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10484 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10486 * lyxfunc.C (processKeySym): print sequence also if it is
10487 `deleted' (complete)
10489 * kbsequence.C (print): print sequence even if it is deleted
10490 (complete would be a better word, actually).
10492 * lyxfunc.C (dispatch): print complete options after a prefix key
10494 * vspace.C (asLatexCommand): rewrite in a slightly different form.
10496 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
10498 * text2.C (setCharFont): eliminate setCharFont code duplication.
10500 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10502 * BufferView_pimpl.C (Dispatch): remove bogus handling of
10503 LFUN_TABULAR_FEATURE (bug #177)
10505 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
10507 * Makefile.am: remove figure.h
10509 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
10511 * Bufferview_pimpl.C:
10523 * text2.C: remove #include "lyx_gui_misc.h".
10525 * LaTeX.C: added #include <cstdio>
10527 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10529 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10530 that the paragraph following this one can have.
10532 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10534 * vspace.C (asLatexCommand): fix bogus gcc warning
10536 * Makefile.am (lyx_SOURCES): remove vms_defines.h
10538 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
10540 * text2.C (setLayout): get rid of redundant code
10542 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
10544 * text2.C (incDepth): make sure depth cannot be increased beyond
10547 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
10549 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10550 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10552 * PainterBase.h (image):
10553 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10554 a LyXImage const *.
10556 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10560 * BufferView_pimpl.C:
10561 * BufferView_pimpl.h:
10581 * sp_spell.C: remove fig inset, and the crap house of
10582 cards that follows it
10584 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10589 * os2_errortable.h:
10590 * nt_defines.h: move .h into support/
10592 * vms_defines.h: remove
10594 * WorkArea.C: add space in debug output
10598 * buffer.C: add WITH_WARNINGS
10602 * bufferlist.C: s/retrive/retrieve/, add docs
10611 * chset.C: add docs
10613 * lyxgui.C: add ID to X error handler
10615 * lyxtestclass.c: fix typo
10617 2002-02-26 Juergen Vigna <jug@sad.it>
10619 * tabular_funcs.C (write_attribute): changed so that some default
10620 attributes are not written at all.
10621 (getTokenValue): set default values before trying to read the
10622 value so we have the return value always set as default if we don't
10623 find the token we search for.
10625 * tabular.C (Write): write bools as bools not as strings!
10627 2002-02-22 Juergen Vigna <jug@sad.it>
10629 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10630 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10632 * text.C (leftMargin): don't add an indent for paragraphs inside
10633 tabular cells (fix #208).
10635 2002-02-21 José Matos <jamatos@fep.up.pt>
10637 * tabular.C (docBook): fixed support for long tables.
10639 2002-02-20 Juergen Vigna <jug@sad.it>
10641 * text2.C (getFont): get the drawing font of the Inset if this
10642 paragraph is inside an inset (only important for InsetERT for now).
10644 * buffer.C (insertErtContents): use new lanugage params in ERT
10647 * CutAndPaste.C: commenting out seemingly uneeded code.
10649 2002-02-19 Allan Rae <rae@lyx.org>
10651 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10652 Iterators might be simple to use but they also get invalidated.
10653 (removeAutoInsets): renamed saved cursor tracking variables and added
10654 some comments to clarify what everything does.
10656 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
10663 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10664 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10667 * vc-backend.h: remove #include "support/syscall.h"
10671 * converter.C: rearrange #includes in Lars' approved fashion.
10673 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10674 forward declare class Timeout in the header file.
10676 * XFormsView.C: changes due to the above.
10678 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10679 similar to LyXView.
10681 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10682 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10684 2002-02-18 José Matos <jamatos@fep.up.pt>
10686 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10689 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10691 * a lot of small ws changes
10692 * add a lot of using std::XXX
10693 * use std construcs some places where approp.
10694 * use some exisint stuff from lyxfunctional where approp.
10695 * Make file changes to use partial linking (lets test this now...)
10697 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10701 remove #include "support/syscontr.h" as it's redundant. Always has been.
10709 change Systemcalls::System to Systemcalls::Wait and
10710 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10711 No change of functionality, just reflects the stripped down Systemcalls
10714 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10716 * debug.[Ch]: add a GRAPHICS type to the enum.
10718 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10720 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10722 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10725 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10727 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10728 match the changes below.
10730 * text2.C (toggleInset): if there is not editable inset at cursor
10731 position, try to see if cursor is _inside_ a collapsable inset
10734 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10736 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10737 document menu has a nice checkbox
10739 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10741 * lyxlength.C (asLatexString): change PW to output as percent of
10744 * lengthcommon.C: change '%' to 't%'
10746 * lyxfunc.C (dispatch): a few comments from Martin
10748 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
10752 * BufferView_pimpl.h:
10753 * BufferView_pimpl.C: clear our selection when X tells us we've lost
10756 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10758 * vspace.C (inPixels): fix compiler warning
10760 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10762 * lyxfunc.C (getStatus): fix status message for disabled commands.
10764 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
10766 * BufferView_pimpl.C: fix crash on close buffer
10767 during selection (#227)
10769 2002-01-27 Herbert Voss <voss@lyx.org>
10771 * buffer.C: link old Figure to new graphic inset
10773 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
10775 * FontLoader.C (getFontinfo): Change the latex font names in order
10776 to match the names of type1inst.
10778 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10780 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10782 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10783 (extchanged): ditto
10785 (remove_files_with_extension): ditto
10786 (remove_file): ditto
10789 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10790 document is smaller than the work area height. Do not initialize
10791 static variables to 0.
10793 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10795 * lyx_gui.C (init): give the toolbar tooltips a normal font.
10797 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10798 LFUN_LAYOUT_PARAGRAPHS.
10800 * tabular.C (GetCellFromInset): new method. Finds an inset in a
10801 tabular. It is possible to provide a possible cell, which will
10802 typically be the actcell from the corresponding insettabular
10804 * lyxfunc.C (getStatus): small cleanup; disable
10805 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10808 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10810 * tabular.C (Validate): remove broken optimization (fixes bug #201)
10812 * paragraph.C (startTeXParParams):
10813 (endTeXParParams): new methods. The LaTeX code to
10814 start/end paragraph formatting
10815 (simpleTeXOnePar): call startTeXParParams also when paragraph is
10816 empty (fixes bug #200)
10818 * vspace.C (inPixels): adapt to the change below
10819 (inPixels): [later] more cleanups (remove unused variables)
10821 * lyxlength.C (inPixels): change to use a width and a height as
10824 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10826 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10827 Replaced with \paperwidth
10829 * DepTable.C (insert): add std:: qualifier
10831 2002-01-18 Allan Rae <rae@lyx.org>
10833 * text2.C (removeRow): add comment. Should other refresh_?? vars be
10836 * text.C (drawInset): Turned out I didn't know enough about how
10837 rebreaking worked. This fixes most of the redraw problems. I see
10838 an occasional cursor trail when a line is broken now and the cursor
10839 placement can seem out by a few pixels also after a rebreak.
10841 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10843 * buffer.C (parseSingleLyXformat2Token): update because minipage
10844 width is now a LyXLength
10846 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10848 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10851 2002-01-17 Juergen Vigna <jug@sad.it>
10853 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10855 * BufferView2.C (lockInset): call edit() so that theLockingInset()
10856 is set correctly and the inset is updated correctly.
10858 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10860 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10861 the beginning of the loop.
10863 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
10865 * lyxrc.C: improve help for use_scalable_fonts
10867 2002-01-17 Allan Rae <rae@lyx.org>
10869 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10871 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10873 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10874 make sure to set their inset_owner to the right value (bug #171)
10876 2001-12-12 Ben Stanley <bds02@uow.edu.au>
10879 * DepTable.C: Implement mtime checking to reduce time spent doing
10882 2002-01-16 Juergen Vigna <jug@sad.it>
10884 * tabular.C (GetAdditionalHeight): one of error fixed.
10886 * lyxrc.C (output): small fix in writing use_pspell.
10888 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
10890 * sp_base.h: #include LString.h
10892 2002-01-16 Allan Rae <rae@lyx.org>
10894 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
10895 Can someone check this please?
10897 * text.C (drawInset): It was possible that p.row would be removed by
10898 breakAgainOneRow upsetting a few other settings. There may be another
10899 small tweak possible by setting need_break_row = 0 when p.row has been
10900 removed but I don't know enough about the logic here.
10902 2002-01-15 Allan Rae <rae@lyx.org>
10904 * text.C (insertChar): removed conditional truism.
10906 * BufferView2.C (removeAutoInsets): More tweaks.
10907 cur_par_prev could be a stray pointer. Check for trailing empty line
10908 in case last line was cur_par and only had an error inset on it.
10910 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10912 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10915 * vc-backend.C (most methods):
10916 * exporter.C (Export):
10917 * converter.C (convert):
10919 * LyXSendto.C (SendtoApplyCB):
10920 * lyxfunc.C (dispatch):
10924 * lyx_cb.C (AutoSave):
10926 * BufferView_pimpl.C (MenuInsertLyXFile):
10927 * buffer.C (runChktex): use Buffer::filePath().
10929 * buffer.h: rename filename to filename_; rename filepath to
10930 filepath_ and make it private
10931 (filePath): new method
10933 * buffer.C (writeFile): use fileName()
10936 * lyx_main.C (init): fix starting of LyX when the binary is a
10937 link from so,ewhere else.
10939 * minibuffer.C: include <cctype> for isprint
10941 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10943 * buffer.C (parseSingleLyXformat2Token): changes associated with the
10944 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10945 name clash with InsetCollapsable's width function.
10947 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10949 * lastfiles.C: include <iterator>
10951 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10953 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10956 * buffer.C (makeLaTeXFile): ditto.
10957 Also make loop operation more transparent.
10959 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10961 * ToolbarDefaults.C: remove trailing comma closing namespace.
10963 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10965 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10968 * trans.C (Load): comment out unused variable, allowed.
10970 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10972 * minibuffer.[Ch] (append_char): new method to recieve input from the
10973 drop-down completion browser. If a key was pressed, then recieve this
10974 char and append it to the existing string.
10975 (peek_event): modify the positioning data passed to the completion
10976 browser so that it can be placed above the minibuffer rather than below.
10977 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10979 * LyXAction.C (init): alloe error-next for readonly documents.
10981 * BufferView2.C (ChangeRefsIfUnique): use standard version of
10984 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10986 * bufferlist.C (readFile): create the buffer _after_ checking that
10989 * lyxfunc.C (verboseDispatch): fix handling of arguments
10991 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10993 * lyxrc.C: use string::erase() instead of initializing to "".
10996 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10998 * BufferView_pimpl.h:
10999 * BufferView_pimpl.C:
11002 * text2.C: tell X when we have made a selection for copying
11004 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11006 * BufferView_pimpl.C (MenuInsertLyXFile):
11007 * lyxfunc.C (menuNew):
11009 (doImport): add shortcuts to directory buttons
11011 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11014 * lyxfunc.C (setStatusMessage):
11015 (getStatusMessage): new methods
11016 (getStatus):use setStatusMessage instead of setErrorMessage
11017 (dispatch): when function is disabled, set error message here
11018 [instead of in getStatus previously]
11020 * BufferView_pimpl.C (workAreaButtonRelease): update
11021 toolbar/menubar here too.
11023 2002-01-13 Allan Rae <rae@lyx.org>
11025 * BufferView2.C (removeAutoInsets): finished off earlier fix.
11026 Now seems indestructible. Remaining task is to audit all other
11027 code affected by deleteEmptyParagraphMechanism. One small quirk
11028 left is that an empty document with an error in the preamble can
11029 be made to report an error but no error box appears. I don't know
11031 (removeAutoInsets): Improved comments.
11033 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
11036 * Thesaurus.C: update for Aiksaurus 0.14
11038 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11040 * text2.C (firstParagraph): removed member function, all uses
11041 replaces with ownerParagraph
11042 (redoParagraphs): here
11043 (updateInset): here
11044 (toggleAppendix): here
11045 * BufferView2.C (insertErrors): here
11046 (setCursorFromRow): here
11048 2002-01-13 Allan Rae <rae@lyx.org>
11050 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11051 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11052 There is still a way to segfault this although you may have to do this
11053 multiple times: Have an InsetERT with an unknown command in it.
11054 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11055 <down-arrow>, <Enter> again, View->DVI, BANG!
11057 * text2.C (setCursor):
11058 (deleteEmptyParagraphMechanism):
11059 * lyxtext.h (setCursor):
11060 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11061 Making use of the return value may help fix other bugs.
11063 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11065 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11067 * LyXView.C (updateMenubar): call MenuBar::update here
11068 (updateToolbar): but not here
11069 (showState): do not update toolbar/menubar
11071 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11072 should need to care about that.
11074 * lyxfunc.C (verboseDispatch): simplify a bit
11075 (getStatus): have a version which takes a pseudoaction, and
11076 another which requires a (kb_action,string).
11078 * LyXAction.C (retrieveActionArg): make it work also when action
11079 is not a pseudo-action.
11080 (getActionName): simplify a bit
11083 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11085 * lyxfunc.C (verboseDispatch): new families of methods with
11086 several ways to specify a command and a bool to indicate whether
11087 the command name and shortcut should be displayed in minibuffer
11088 (eventually, we could extend that to a finer bitmask like
11089 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11090 (dispatch): the pristine dispatch command which just, well,
11091 dispatchs! Note it still sets its result to minibuffer; I'm not
11094 * lyxfunc.h: remove setHintMessage
11096 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11098 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11100 * BufferView_pimpl.C (specialChar): delete new inset if we have
11101 not been able to insert it.
11103 * kbmap.C: revert to using int instead of kb_action, since all we
11104 are dealing with is pseudo-actions.
11106 * LyXAction.C (searchActionArg): change to return int instead of
11107 kb_action, since the result is a pseudoaction.
11109 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
11111 * buffer.C (insertErtContents): Fix (partially) the font bug.
11113 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11115 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11116 as the other one is broken on my machine!
11118 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
11121 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11123 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
11125 * lyxrc.[Ch]: change names and descriptions of popup font variables to
11126 reflect their actual use. Provide compatibility code for older lyxrc
11129 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11131 change names of popup font variables in line with the changes to lyxrc.C
11133 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11135 * buffer.C (asciiParagraph): avoid outputing a word twice after
11138 * lyxrc.C (getDescription): document that document_path and
11139 template_path can be empty.
11141 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11143 * LaTeXFeatures.C (getMacros):
11144 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11146 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11148 * LaTeXFeatures.C (useFloat): require "float" here instead of in
11150 (getPackages): rename feature "floats" to "float". Use an array to
11151 iterate over 'simple' features (i.e. just a \usepackage). Add
11152 handling of "amsmath" (renamed from "amsstyle").
11154 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
11156 * LaTeXFeatures.C (require): Prevent duplicate entries in the
11159 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
11161 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11162 FuncStaus::FuncStatus & FuncStaus::some_method().
11164 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
11166 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11167 of the func_satus stuff. Edited and massaged in various ways by
11170 * lyxfunc.C (getStatus): use FuncStatus
11172 2002-01-08 Juergen Vigna <jug@sad.it>
11174 * text.C (nextBreakPoint): use function Inset::isChar().
11176 * paragraph.C (TeXOnePar): use function
11177 Inset::forceDefaultParagraphs.
11179 * buffer.C (latexParagraphs): use function
11180 Inset::forceDefaultParagraphs.
11182 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11184 * lyx_gui.C (init): set the style of the menu popups to
11185 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11187 2002-01-07 Juergen Vigna <jug@sad.it>
11189 * text.C (setHeightOfRow): small fix
11190 (prepareToPrint): don't look at alignment if we don't have the place
11193 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11195 * box.C: New file. Move the Box methods and functions out of box.h,
11196 following Lars' suggestion.
11198 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11200 * box.h: #include "support/LOstream.h", needed for inlined function.
11203 * lyxtextclasslist.C: added some using std declarations.
11205 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
11207 * box.h: make signed dimensions to allow insets wider than
11208 the screen (bug #162)
11210 * BufferView_pimpl.C: add some insetHit debug
11212 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
11214 * vc-backend.C: add FIXME
11216 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11218 * lyxfunc.C (getStatus): enable code for showing math font status
11221 2002-01-07 Juergen Vigna <jug@sad.it>
11223 * text.C (nextBreakPoint): removed debug output not needed anymore.
11225 2002-01-06 Juergen Vigna <jug@sad.it>
11227 * text.C (nextBreakPoint): fixed up this function we had this bug
11228 since ever but now hopefully we break row better.
11229 (insertChar): we have to check if an inset is the next char as it
11230 could now happen that a large inset is causing a break.
11232 2002-01-05 Juergen Vigna <jug@sad.it>
11234 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11235 if it doesn't like to be drawed.
11237 2002-01-04 Juergen Vigna <jug@sad.it>
11239 * BufferView2.C (lockInset): forgot to set a cursor.
11241 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11243 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
11245 * FormMathsPanel.C:
11248 * form_maths_panel.C:
11249 * form_maths_panel.h:
11250 * form_maths_panel.fd: implemented sub- and super- buttons in math
11253 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11254 (or ^ space) to be used as in TeX (req'd by André).
11256 * lyxfunc.C: Allow ^ and _ again to be used both as
11257 super/subscript (mathed) and as themselves (in text).
11259 2002-01-03 Allan Rae <rae@lyx.org>
11261 * LyXView.C (updateWindowTitle): Setup a short icon title of either
11262 "LyX" or the filename of the current buffer if it has one. This is a
11263 modified form of John Levon's patch.
11265 * XFormsView.C (setWindowTitle): also set icon title.
11267 * LyXView.h (setWindowTitle): signature changed.
11268 * XFormsView.h (setWindowTitle): ditto.
11270 2002-01-02 Juergen Vigna <jug@sad.it>
11272 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11274 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11276 * screen.C (topCursorVisible): introduce a temp var for
11277 text->cursor.row(), handle the case where this row is null. (kindo
11280 * text2.C (setCursor): add a couple of asserts.
11282 * paragraph.h (inset_iterator): add -> operator
11284 * paragraph.[Ch] (autoDeleteInsets): remove member function
11286 * BufferView2.C (removeAutoInsets): rewrite to handle the old
11287 cursor pos correctly and handle inset deletion by itself.
11288 (insertErrors): move iterator declaration out of for expression
11290 * lyxtextclass.C: add <algorithm>
11292 * Makefile.am: added the new files to sources, removed layout.C
11294 * layout.C: removed file
11296 * layout.h: remove LYX_DUMMY_LAYOUT
11298 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11302 * lyxtextclass.[Ch]:
11303 * lyxtextclasslist.[Ch]: new files
11305 * include order changes to a lot of files, also changes because of
11308 2001-12-27 Juergen Vigna <jug@sad.it>
11310 * buffer.C (asciiParagraph): more fixes.
11312 * tabular.C (ascii): make ascii export support export of only the
11313 data separated by a column-delimiter.
11314 (ascii): better support for ascii export.
11316 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11318 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11320 * tabular_funcs.C: use a "using std::getline" instead of the
11321 previous fix from Angus (necessary for cxx + lyxstring)
11323 2001-12-24 Juergen Vigna <jug@sad.it>
11325 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11327 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11328 problems. First check a minipage also if we have some ert-contents
11329 (not only on par->size(), second set the right depth of the paragraph
11330 on the relink to the root-paragraph-list!
11332 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11333 which then did not anymore update the main paragraphs on undo/redo!
11335 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11337 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11338 code. Support all font-changing funcs (even those which are not in
11339 menu currently). Support for reporting font settings in
11340 mathed (disabled until Andre provides a function on mathed's side).
11342 * func_status.h (toggle): small helper function to set toggle
11345 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
11347 * tabular_funcs.C: getline -> std::getline
11349 2001-12-21 Juergen Vigna <jug@sad.it>
11351 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11352 accessed and could be 0 (I couldn't generate this but it seems
11355 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11357 * tabular_funcs.C: add LIstream.h, move write_attribute to..
11358 * tabular_funcs.h: here and include iosfwd
11360 2001-12-20 Juergen Vigna <jug@sad.it>
11362 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11363 inside inset but undo_par was.
11365 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11367 * Thesaurus.C: always include <config.h> in sources.
11371 * box.h: do not include <config.h> in header files
11373 * text.C (paintLastRow): remove unused variable
11375 * text.C (transformChar):
11377 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11379 * Painter.C (text):
11380 * font.C (width): rewrite to use uppercase() instead of
11383 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11385 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
11387 * lyxfind.C: clean up of find failure position change
11389 2001-12-20 Juergen Vigna <jug@sad.it>
11391 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11393 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11394 (TeXRow): added to LaTeX a single tabular row.
11395 (TeXLongtableHeaderFooter): added to output LT-h/f data.
11396 (Latex): simplified and finally good LT-h/f support.
11397 (various_functions): just small adaptions for LT-h/f support.
11399 * tabular_funcs.[hC]: added and moved here all not classfunctions
11402 2001-12-19 Juergen Vigna <jug@sad.it>
11404 * tabular.[Ch]: better support for longtabular options (not finished
11407 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11409 * text.C (paintLastRow): use the label font instead of the font of
11410 the last character to compute the size of *_BOX. This makes more
11411 sense and avoids a crash with empty paragraphs.
11412 Use Painter::rectangle to draw EMPTY_BOX.
11414 2001-12-19 Juergen Vigna <jug@sad.it>
11416 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11417 the paragraphs if the replaced paragraph is not the first one!
11418 Tried to delete not used paragraphs but does not work yet so for
11419 now it's inside #ifdef's and by default off!
11421 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11423 * MenuBackend.C: include "lyx_main.h" instead of declaring
11424 lastfiles (actually was declared as LastFiles* instead of a
11427 2001-12-17 Juergen Vigna <jug@sad.it>
11429 * tabular.C (AppendColumn): applied John's fix
11431 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
11435 * BufferView_pimpl.h:
11436 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11439 * box.h: new start of class for above
11441 * lyxfunc.C: ignore space-only minibuffer dispatches.
11442 Show the command name when it doesn't exist
11444 * minibuffer.C: don't add empty lines to the history
11446 * minibuffer.C: add a space on dropdown completion
11448 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
11450 * text.C: fix line above/below drawing in insets
11452 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11454 * lyxlength.C (LyXLength): Initialize private variables.
11456 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
11458 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11459 when inserting error insets.
11461 2001-12-13 Juergen Vigna <jug@sad.it>
11463 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11464 actually sometimes the before-paragraph.
11465 (setUndo): don't clear the redostack if we're not actually undoing!
11467 2001-12-06 Juergen Vigna <jug@sad.it>
11469 * undo_funcs.C (textHandleUndo): well after John's hint I got here
11470 and fixed redoing of main paragraph, so we can use it now ;)
11472 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11474 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11476 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11479 2001-12-13 André Pönitz <poenitz@gmx.net>
11482 * undo_func.C: minor cleanup
11484 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11486 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11487 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11488 font in urw-fonts package which is marked as -urw-fontspecific and
11489 does not work (incidentally, changing the encoding in the
11490 fonts.dir of this package to -adobe-fontspecific fixes the
11493 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11494 is a crash when undoing first paragraph (Juergen, please take a
11495 look). THis does not mean the undo fix is wrong, just that it
11498 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11499 the (Paragraph*) version when needed instead of duplicating the
11502 * text.C (workWidth): use Inset::parOwner to find out where the
11503 inset has been inserted. This is a huge performance gain for large
11504 documents with lots of insets. If Inset::parOwner is not set, fall
11505 back on the brute force method
11507 * paragraph_pimpl.C (insertInset):
11508 * paragraph.C (Paragraph):
11509 (cutIntoMinibuffer): set parOwner of insets when
11510 inserting/removing them
11512 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11514 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
11520 * mathed/formulabase.C:
11521 * mathed/math_cursor.[Ch]:
11522 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11525 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11527 * lyxlength.[Ch] (operator!=): new function
11529 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11531 * text.C (workWidth): use Inset::parOwner to find out where the
11532 inset has been inserted. This is a huge performance gain for large
11533 documents with lots of insets. If Inset::parOwner is not set, fall
11534 back on the brute force method
11536 * paragraph_pimpl.C (insertInset):
11537 * paragraph.C (Paragraph):
11538 (cutIntoMinibuffer): set parOwner of insets when
11539 inserting/removing them
11541 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11543 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11545 * tabular-old.C (getTokenValue):
11546 * tabular.C (getTokenValue):
11547 (write_attribute): new versions for LyXLength
11548 (everywhere): adjust the use of widths
11550 * tabular.h: change the type of widths from string to LyXLength
11552 2001-12-11 Ben Stanley <bds02@uow.edu.au>
11554 * paragraph.C: fixed missing line number count when exporting
11555 Environments to LaTeX file
11557 * buffer.C: added informational message for checking line numbers.
11559 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11561 * text2.C (deleteEmptyParagraphMechanism): if there is only one
11562 paragraph, do the 'double space' part, but not the 'empty
11565 * text.C (workWidth): small optimization
11566 (getLengthMarkerHeight): use minimal size for negative lengths.
11568 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
11570 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11572 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11574 2001-12-11 André Pönitz <poenitz@gmx.net>
11577 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11579 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11581 * text2.C: keep selection on a setFont()
11583 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11585 * lyx_cb.C: another bv->text misuse, from insert label
11587 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11590 * kbsequence.C: re-instate nmodifier mask
11592 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
11594 * lyx_main.h: make lyxGUI private.
11596 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11598 * lyxfind.C: place the cursor correctly on failed search
11600 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11602 * text.C (getLengthMarkerHeight): for small heights, the arrows
11603 are not always on top/bottom of the text
11604 (drawLengthMarker): smaller arrows; take the left margin in
11605 account; draw also vfills.
11607 (paintLastRow): remove special code for vfill and standard spaces,
11608 since everything is handled in drawLengthMarker now.
11610 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11612 * buffer.C (insertErtContents): try to handle font and language
11613 interaction a bit better.g
11615 * ColorHandler.C (updateColor): change the hash to cover the whole
11616 LColor enum, ws cleanup
11617 (getGCLinepars): ditto
11618 (getGCLinepars): only lookup in the linecache once.
11620 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
11622 * iterators.C (operator++): Make the iterator more robust
11624 * BufferView2.C (removeAutoInsets): Use paragraph iterators
11626 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11628 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11631 * text.C: better added space drawing
11633 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11636 * BufferView2.C: fix layout combo update on inset unlock
11638 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11640 * Makefile.am: don't compile unused files
11642 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11646 * LyXAction.C: remove old LFUN_LAYOUTNO
11648 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11650 * paragraph_pimpl.h:
11651 * paragraph_pimpl.C: isTextAt() doesn't need font param
11653 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11656 * lyxlex.C: little cleanup
11658 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11660 * BufferView_pimpl.C: fix insertAscii for insets
11662 2001-12-05 Juergen Vigna <jug@sad.it>
11664 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11665 set the right font on the "multi" paragraph paste!
11667 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11673 * lyxlength.C: remove out-commented code.
11675 * BufferView_pimpl:
11689 * vc-backend.C: change "while(" to "while ("
11691 * lyxlength.[Ch]: add zero function to check if length is zero or
11693 * lyxgluelength.C: use it
11695 2001-12-05 Allan Rae <rae@lyx.org>
11697 * lyxlength.C: Attempted a fix for the abs(int) header selection.
11698 Works for 2.95.3, from what I understand of Garst's reports this should
11699 work for other g++ versions. We're screwed if the abs(int) definition
11700 changed between bugfix releases of gcc.
11702 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11704 * text.C: fix chapter label offset !
11706 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11709 * text.C: fix hfill at end of line, clean up
11711 2001-12-04 Juergen Vigna <jug@sad.it>
11713 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11714 that we force an update of the inset and it's owners if neccessary.
11716 2001-12-03 Juergen Vigna <jug@sad.it>
11718 * text.C (rowLast): simplified code
11720 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11722 * lyxfunc.C: fix show options on timeout
11724 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11726 * screen.C (topCursorVisible): scroll half a page when the cursor
11727 reached top of bottom of screen
11729 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
11731 * minibuffer.C: deactivate on loss of focus
11733 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11735 * vspace.[Ch] (operator!=): add operator.
11737 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
11739 * BufferView_pimpl.C: refuse to open an inset when
11740 there's a selection.
11742 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
11744 * BufferView_pimpl.C: allow to click on RHS of full row insets
11746 2001-11-30 Juergen Vigna <jug@sad.it>
11748 * tabular.C (LyXTabular): add a same_id to set the same id's in the
11749 insets for undo reasons.
11751 2001-11-28 André Pönitz <poenitz@gmx.net>
11753 * vspace.[Ch]: cosmetical changes
11755 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11765 * kbsequence.C: part re-write of old kb code
11768 * WorkArea.C: remove Lgb_bug_find_hack
11770 2001-11-30 José Matos <jamatos@fep.up.pt>
11772 * buffer.C (makeDocBookFile): add a comment to point a hack.
11773 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11774 Fixed a double write of labels.
11776 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11779 * LaTeX.h Fixed bug in LaTeX class where it would not
11780 re-run latex if no depfiles were changed, but the .dvi was removed.
11782 2001-11-28 André Pönitz <poenitz@gmx.net>
11784 * all the files from the change on 2001/11/26:
11785 use lyx::layout_type instead of LyXTextClass::size_type
11786 use lyx::textclass_type instead of LyXTextClassList::size_type
11788 2001-11-29 Juergen Vigna <jug@sad.it>
11790 * text.C: added support for paragraph::isFreeSpacing()
11792 * buffer.C: same as above
11794 * paragraph.h: inserted isFreeSpacing() function to enable
11795 FreeSpacing inside InsetERT.
11797 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11798 of the paragraph's in the cut/copy buffer to 0!
11800 * text2.C (removeRow): remove the assert as it can!
11802 * lyxtext.h: added helper function firstRow returning firstrow and
11803 made firstrow private again.
11805 * BufferView2.C (lockInset): don't relock if we're already locked!
11807 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11808 the only paragraph.
11809 (removeRow): added Assert::(firstrow)
11811 * debug.C: forgot to add INSETTEXT here.
11813 2001-11-28 Juergen Vigna <jug@sad.it>
11815 * sp_spell.C (initialize): changed error text to more general
11816 spellchecker command use (not only ispell!)
11818 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11820 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11822 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11824 * vspace.C: initialise lyxgluelength on failure
11826 2001-11-28 Allan Rae <rae@lyx.org>
11828 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11829 declaration & definition that looks like a function declaration.
11831 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11833 * BufferView2.C (copy):
11834 (copyEnvironment): do not clear the selection when doing a copy.
11836 * text.C (paintFirstRow): compilation fix
11838 2001-11-27 Ben Stanley <bds02@uow.edu.au>
11840 * tabular.C (Latex): correct line count when writing latex.
11842 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
11844 * paragraph_pimpl.h:
11845 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11848 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11852 * LColor.C: change vfillline->added_space
11854 * text.C: add markers and text for added space
11856 * vspace.C: fix comment
11858 2001-11-28 André Pönitz <poenitz@gmx.net>
11860 * paragraph.C: whitespace changes
11861 * all the other files from the change on 2001/11/26:
11862 change *::pos_type into lyx::pos_type
11864 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
11866 * buffer.C (parseSingleLyXformat2Token): Set the language to the
11867 language of the document when inserting error insets.
11869 2001-11-26 André Pönitz <poenitz@gmx.net>
11871 * BufferView_pimpl.[Ch]:
11879 * paragraph_pimpl.[Ch]:
11882 * text2.C: reduce header dependencies, introduce type for positions
11884 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11886 * <various>: change to use Alert.h
11888 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
11890 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11891 when encountering an unknown token.
11892 (readLyXformat2): Show an error message if there were unknown tokens.
11894 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
11897 * BufferView_pimpl.C:
11901 * text2.C: use par->isInset()
11903 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11905 * paragraph_pimpl.h:
11906 * paragraph_pimpl.C: cleanup
11908 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11910 * text2.C (removeRow):
11911 * text.C (setHeightOfRow): remove useless (and costly) call to
11914 2001-11-20 Allan Rae <rae@lyx.org>
11916 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11917 Now need Inset*::checkInsertChar() to return true for appropriate
11918 cases so that the characters in the minibuffer will actually be
11921 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11923 * text.C: change the order of the includes.
11924 (workWidth): initialize it at once.
11925 (workWidth): make maxw unsigned
11926 (setHeightOfRow): remove unused variable (inset)
11927 (selectSelectedWord): remove unused variable (inset)
11928 (paintRowText): fix drawing of hfill characters, and clean up a bit.
11930 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11932 * lyxserver.C (emergencyCleanup): do not try to close pipes if
11933 server is not running.
11935 (closeConnection): add debug info when server is disabled.
11937 * ColorHandler.C (getGCForeground): send debug message to GUI
11940 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11942 * kbmap.C (bind): modify because return conventions of
11943 kb_sequence::parse have changed.
11945 * kbsequence.C (parse): only ignore spaces and not any stupid
11946 control character. This avoids tests like s[i] <= ' ', which are
11947 guaranteed to fail with 8bit characters and signed chars.
11948 Change return code to string::npos when there have been no error
11949 (0 was a bad idea when error is at first character)
11951 2001-11-14 José Matos <jamatos@fep.up.pt>
11954 * buffer.C (simpleDocBookOnePar): removed unused argument.
11956 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11958 * text.C (selectNextWordToSpellcheck): do not test explicitely for
11959 insets which are part of a word. Paragraph::isLetter takes care of
11960 that now. Use Paragraph::isInset to identify insets.
11961 (selectSelectedWord): do not test for hyphenation break.
11963 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11964 that protected spaces are considered as spaces.
11966 * paragraph.C (isLetter): cleanup the code for ispell extras; use
11969 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
11972 * lyxserver.C: fix it. and small cleanup.
11974 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11976 * BufferView_pimpl.C: use inline helpers
11979 * LaTeXFeatures.C: fix typos
11982 * Spacing.C: move spacing_string into class
11984 * ToolbarDefaults.C: move stuff into namespace anon
11986 * layout.h: update enum
11988 * lyxfunc.C: use better debug
11990 * minibuffer.h: fix typo
11994 * WorkArea.C: add and use Debug::WORKAREA
11998 * text2.C: code re-organisation, inline helpers
12000 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
12002 * Layout.C: replaced a few cases of std::vector.size() == 0 with
12003 std::vector.empty().
12005 2001-11-09 Allan Rae <rae@lyx.org>
12007 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12008 '\n's after tables. Tabular and ERT inset work now makes this no
12011 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12014 * minibuffer.C: fix crash, improve drop-down completion
12016 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
12019 * lyxserver.C: invalidate fd's when doing endPipe()
12021 2001-11-08 José Matos <jamatos@fep.up.pt>
12023 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12024 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12027 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12029 2001-11-07 José Matos <jamatos@fep.up.pt>
12032 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12035 * buffer.C (sgmlOpenTag):
12036 * buffer.C (sgmlCloseTag): removed debug info.
12038 * buffer.h (sgmlOpenTag):
12039 * buffer.h (sgmlCloseTag): made public.
12041 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12043 * buffer.C (saveParamsAsDefaults):
12044 * lyx_cb.C (MenuLayoutSave): remove
12046 * LyXAction.C (init):
12048 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12050 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12052 * buffer.C (setPaperStuff): removed from here...
12054 * bufferparams.C (setPaperStuff): ... and moved there.
12056 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
12060 * XFormsView.C: add support for drop-down completion
12062 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
12064 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12067 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12069 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12072 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
12074 * lyx_main.C: change ref to known bugs
12076 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
12078 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12079 to work around older babel problems.
12081 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12083 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12085 2001-10-24 Juergen Vigna <jug@sad.it>
12087 * tabular-old.C (ReadOld): below variable changes reflected.
12089 * tabular.[Ch]: added ltType struct for longtable header/footer
12090 defines and changed all instances where they are used. Added
12091 future support for double top/bottom rows.
12093 2001-10-24 José Matos <jamatos@fep.up.pt>
12095 * buffer.h (docbookHandleCaption):
12096 * buffer.C (docbookHandleCaption): removed unused function.
12097 (makeDocBookFile): moved docbook supported version to v4.1.
12099 2001-10-24 José Matos <jamatos@fep.up.pt>
12102 * tabular.C (docbookRow): new function to export docbook code of a row.
12103 (DocBook): now honors the longtable flags.
12105 2001-10-23 José Matos <jamatos@fep.up.pt>
12108 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12109 of the lyx defined sgml entities used in a docbook/linuxdoc document.
12111 * buffer.C (makeLinuxDocFile):
12112 (makeDocBookFile): reworked the preamble, more clean, and with
12113 support for lyx defined entities. Changed the document declaration
12114 to be more XML friendly.
12116 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12117 if we need to output XML that should be done with a filter.
12119 2001-10-22 Juergen Vigna <jug@sad.it>
12121 * sp_pspell.h (class PSpell): add alive function needed in the
12122 controller to see if the spellchecker could be started.
12124 2001-10-22 Juergen Vigna <jug@sad.it>
12126 * buffer.C (insertStringAsLines): modify the font for inserting
12127 chars in certain conditions by calling checkInsertChar(font).
12129 2001-10-19 Juergen Vigna <jug@sad.it>
12131 * text.C (workWidth): use getRow instead of wrong algorithm.
12132 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12134 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
12139 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12141 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12143 * text.C (workWidth): do not search for the exact row when
12144 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12145 optimization for big documents.
12147 2001-10-18 Juergen Vigna <jug@sad.it>
12149 * text.C (workWidth): new function with added Inset * parameter.
12151 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12153 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12155 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12156 change return type of getColumnNearX.
12159 * text.C (changeRegionCase): use uppercase/lowercase instead of
12162 (rightMargin): simplify code by factoring out the uses of
12167 (appendParagraph): use Paragraph::size_type
12169 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12171 * vspace.C (asLatexString): add a missing break
12173 2001-10-15 Herbert Voss <voss@perce.de>
12175 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12177 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12179 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12182 2001-10-10 André Pönitz <poenitz@gmx.net>
12184 * lyxfunc.C: removed greek_kb_flag.
12186 2001-10-10 Herbert Voss <voss@perce.de>
12188 * lyx_main.C: delete global string help_lyxdir.
12190 2001-10-09 Herbert Voss <voss@perce.de>
12192 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12194 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12196 * lyx_main.C: added global string help_lyxdir.
12198 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12200 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
12202 * lyxrc.C (set_font_norm_type): support iso8859-4
12204 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
12206 * LaTeX.C (deplog): add another regex for MikTeX
12208 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
12210 * lyxrc.C (set_font_norm_type): support iso8859-3
12212 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12214 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12216 * LaTeXFeatures.C: remove special case of french and index
12218 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12219 before \begin{document}). This solves several incompatibilities.
12221 2001-10-03 Garst Reese <reese@isn.net>
12223 * lyx_cb.C: change CheckTex error msg.
12225 2001-10-03 José Matos <jamatos@fep.up.pt>
12227 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12229 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12231 * .cvsignore: update
12233 * lyx_main.C (commandLineVersionInfo): use new style version info.
12235 * buffer.C (writeFile):
12237 (makeLinuxDocFile):
12238 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12240 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12242 * version.h: update to use stuff in version.C
12244 * version.C.in: new file. Contains version information determined
12245 at compile time. This is a merging of version.h and
12248 2001-10-03 Juergen Vigna <jug@sad.it>
12250 * BufferView_pimpl.C (update): don't change "dirty" status in
12253 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
12255 * WorkArea.C (c-tor): re-position version string slightly.
12257 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
12259 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12260 revert to previous code.
12262 WorkArea.[Ch]: (show, destroySplash): methods removed.
12264 WorkArea.C: rework code so that it's an amalgam of the codes before and
12265 after the splash screen was moved to WorkArea.
12267 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12270 * vspace.C (inPixels):
12273 * buffer.C (insertStringAsLines):
12274 (asciiParagraph): fix types to be large enough
12276 * lyxlex_pimpl.h: change member status from short to int
12278 * layout.h: fix type of endlabeltype
12281 * kbsequence.C (parse): change return type to string::size_type
12283 * LaTeX.C (updateBibtexDependencies): comment out unneeded
12286 * Bullet.C (bulletSize):
12287 (bulletEntry): do not use short ints as parameters
12289 * BufferView2.C (insertLyXFile): change a char to an int.
12291 * WorkArea.C (WorkArea): remove unneeded floats in computation
12293 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
12295 * buffer.C (asciiParagraph): Treat '\\' as other chars.
12297 * paragraph.C (asString): Do not ignore newline/hfill chars when
12298 copying to the clipboard.
12300 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
12302 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12303 after a multi-line inset.
12305 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
12307 * paragraph.C (validate): Set NeedLyXFootnoteCode
12309 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12311 * lyxfont.C (LyXSizeNames): changed increase-error to increase
12312 and decrease-error to decrease.
12314 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12316 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12317 it more readable (should be equivalent)
12319 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
12321 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12323 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12325 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12326 of a cursor (row, etc.) after a character has been deleted
12327 (deleteEmptyParagraphMechanism): call the method above on _all_
12328 cursors held by the LyXText when a double space has been
12331 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12333 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12335 (resizeCurrentBuff): remove code to destroy the old splash dialog.
12337 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12338 background. Use greyOut() and the new show() methods to toggle between
12339 the foreground and background. Add code to remove the splash after
12340 its initial showing.
12342 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12343 (create_forms): no longer call Dialogs::showSplash.
12345 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12347 * .cvsignore: add version_info.h
12349 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12351 * version_info.h.in: new file
12353 * Makefile.am: add version_info.h.in
12355 * lyx_main.C (commandLineVersionInfo): use version_info defined in
12356 version_info.h instead of VERSION_INFO
12358 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
12360 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12361 The ERT inset now returns string().
12363 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
12365 * lyxtext.h, text.C (selectNextWord): renamed as
12366 selectNextWordToSpellcheck.
12368 * text.C (selectNextWordToSpellcheck): Modified to not select
12369 words inside an ERT inset.
12371 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12373 * lyx_cb.C (MenuLayoutSave): change a bit the question
12375 * sp_base.h: include <sys/types.h>
12377 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
12379 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12381 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
12383 * several files: fix typos in user-visible strings
12385 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12387 * text2.C (pasteSelection): do not set the selection, since it
12388 will be cleared later. Actually, the intent was to fix the way the
12389 selection was set, but I figured rmoving the code was just as good.
12391 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
12393 * FontLoader.C (available): Check if font is available without
12396 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
12398 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12400 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
12402 * lyxrc.[Ch]: added display_graphics variable and associated code.
12404 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12406 * bufferparams.C (hasClassDefaults): new method. Returns true if
12407 the buffer parameters correspond to known class defaults
12409 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
12411 * XFormsView.C (show): set minimum size to the main window.
12413 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12415 * text2.C (copySelection):
12417 * lyxfind.C (LyXReplace):
12418 * BufferView_pimpl.C (Dispatch): pass the correct flag to
12419 LyXText::selectionAsString.
12421 * paragraph.C (asString): add "label" argument to the second form
12423 * text2.C (selectionAsString): add "label" argument and pass it to
12424 Paragraph::asString.
12426 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12428 * lyx_main.C (commandLineHelp): remove version information
12430 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
12432 * lyx_main.C: add -version commandline option
12434 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12436 * paragraph.h: make the optional constructor arg required instead.
12437 some modifications to other files because of this.
12439 * minibuffer.C (C_MiniBuffer_peek_event): make it static
12441 * lyxserver.C (C_LyXComm_callback): make it static
12443 * lyx_main.C (error_handler): make it static
12445 * lyx_gui.C (LyX_XErrHandler): make it static
12447 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12449 * WorkArea.C: make the extern "C" methods static.
12451 * Makefile.am (lyx_LDADD): simplify
12453 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12455 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12456 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12458 * LyXAction.C (init):
12459 * lyxfunc.C (dispatch): associated code removal.
12461 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12463 * lyxfont.h (isSymbolFont): shut off warning
12465 * text.C (setHeightOfRow):
12466 (getVisibleRow): fix crash with empty paragraphs which have a
12469 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
12471 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12474 2001-09-04 José Matos <jamatos@fep.up.pt>
12477 * tabular.C (docbook): rename docBook method to docbook.
12479 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12481 * Makefile.am: add dependencies to main.o.
12483 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
12485 * FontLoader.C (available): Return false if !lyxrc.use_gui
12487 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
12489 * FontInfo.C (query):
12490 * converter.C (view):
12491 * importer.C (Import):
12492 * exporter.C (Export): Can not -> cannot.
12494 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
12496 * BufferView_pimpl.C: allow to create index inset even if
12499 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12501 * buffer.C (getLists): replace boost::tie code with an explicit pair
12502 as boost::tie can break some compilers.
12504 * iterators.h: Added a std:: declaration to the return type of
12507 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
12509 * lyxrc.C: add help for view_dvi_paper_option, default to safe
12512 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
12514 * iterators.[Ch]: New files. Provide paragraph iterators.
12516 * buffer.C (changeLanguage): Use paragraph iterators.
12517 (isMultiLingual): ditto
12519 * BufferView2.C (ChangeInsets): Use paragraph iterators.
12521 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
12523 * FontLoader.C: Support for cmr font.
12525 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
12527 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12528 (available): New method.
12530 * FontInfo.C (getFontname): Use scalable fonts even when
12531 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12534 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12536 * converter.C (Formats::view): reverted! Incorrect fix.
12538 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12540 * converter.C (Formats::view): only output the -paper option
12541 if the dvi viewer is xdvi, thereby fixing bug #233429.
12543 2001-08-23 Herbert Voss <voss@perce>
12545 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12547 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
12549 * Spacing.h (Spacing): Set space to Default on in the default
12552 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
12554 * vc-backend.h (RCS::versionString): add RCS to version
12555 (CVS::versionString): add CVS to version
12557 * vc-backend.C (scanMaster): do not add CVS to version.
12558 (scanMaster): do not add RCS to version
12560 * lyxvc.C (versionString): new method
12562 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12564 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12566 * Spacing.C (set): initialize fval
12568 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
12570 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12573 2001-08-16 Juergen Vigna <jug@sad.it>
12575 * lyxfunc.C (dispatch): implemented the new FINISHED states.
12577 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12579 * BufferView_pimpl.C:
12582 * text2.C: setParagraph takes linespacing now
12584 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
12586 * LyxAction.C: add internal LFUN_CITATION_INSERT
12588 * LyXView.C: actually apply fix
12590 * bufferlist.C: fix open non-existent file
12592 * lyxfind.C: fix indentation
12594 * lyxfunc.C: remove unneeded assert, fix typo
12596 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12598 * MenuBackend.C: use "Floatname List"
12600 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
12602 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12603 when converting LaTeX layout to insetERT.
12604 Generate a non-collapsed float when reading old float
12606 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12608 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12611 2001-08-13 Juergen Vigna <jug@sad.it>
12613 * text.C (fill): return 0 instead of 20 as this seems to be the more
12616 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12618 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12621 2001-08-13 Juergen Vigna <jug@sad.it>
12623 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12625 (SearchBackward): comment out the unlocking of the inset_owner this
12626 should not be needed!
12628 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
12630 * Many files: Remove inherit_language, and add latex_language
12632 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12633 collapsible insets.
12635 2001-08-10 Juergen Vigna <jug@sad.it>
12637 * text.C (prepareToPrint): fixed hfill-width in draw!
12639 * BufferView2.C (selectLastWord): save the selection cursor as this
12640 now is cleared in the function LyXText::clearSelection!
12642 2001-08-08 Juergen Vigna <jug@sad.it>
12644 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12645 BACKSPACE type functions.
12647 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12648 is only cutted from the document but not put in the cut-buffer, where
12649 still the old stuff should be.
12651 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12653 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12655 * tabular.C (SetWidthOfCell): fixed special case where the width
12657 (LeftLine): handle '|' in align_special.
12659 (LeftAlreadyDrawed): ditto
12660 (SetWidthOfCell): ditto
12662 2001-08-07 Juergen Vigna <jug@sad.it>
12664 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12666 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12668 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12669 * lyxlex.[hC]: ditto
12671 2001-08-06 Juergen Vigna <jug@sad.it>
12673 * text.C (getVisibleRow): fix up row clearing a bit.
12675 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12677 * minibuffer.C: make sure the X server sees the changes in the input.
12679 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12681 * paragraph.C (getFont): split into...
12682 (getLabelFont): this
12683 (getLayoutFont): and this
12684 * paragraph_pimpl.C (realizeFont): calling this
12686 * text2.C (getFont): split into...
12687 (getLayoutFont): this
12688 (getLabelFont): and this
12689 (realizeFont): all three calling this
12691 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12694 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12696 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12698 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
12700 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12701 layouts from the Quote inset insertion.
12703 2001-08-03 Juergen Vigna <jug@sad.it>
12705 * BufferView_pimpl.C (update): do the fitCursor only at the end!
12707 * screen.C (drawFromTo): don't call fitcursor here and do the loop
12708 only if status not is already CHANGED_IN_DRAW (second level).
12710 * text.C (draw): don't set the need_break_row when inside an
12713 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12715 * buffer.C (parseSingleLyXformat2Token): handle more latex
12718 * bufferview_funcs.[hC]: change function names to
12719 begin with small char, adjust other files.
12721 2001-08-02 André Pönitz <poenitz@gmx.net>
12724 BufferView_pimpl.C: remove broken special code for math-greek
12726 2001-08-02 Juergen Vigna <jug@sad.it>
12728 * BufferView_pimpl.C (update): redone this function so that we
12729 update the text again if there was a CHANGE_IN_DRAW.
12731 * screen.C (cursorToggle): removed LyXText parameter and recoded.
12732 (drawFromTo): added a new internal bool which is used by draw() and
12734 (general): some cursor drawing problems fixed.
12736 2001-08-01 Juergen Vigna <jug@sad.it>
12738 * lyxfind.C (LyXFind): fixed
12739 (SearchForward): ditto
12740 (SearchBackward): ditto
12742 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12743 spurius drawing of the cursor in the main area.
12745 * text2.C (status): small fix which could lead to a segfault!
12746 (clearSelection): remove unneeded BufferView param.
12748 2001-08-01 André Pönitz <poenitz@gmx.net>
12750 * lyxfunc.C: small change due to changed mathed interface
12752 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12754 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12756 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
12758 * lyxfunc.c: fail gracefully if file doesn't exist
12763 * BufferView_pimpl.C: IsDirWriteable() proto changed
12765 * LyXView.C: fix updateWindowTitle() to store the last title
12767 2001-07-31 Juergen Vigna <jug@sad.it>
12769 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12770 the font (wrong since using of Paragraph::highestFontInRange).
12772 * paragraph.C (highestFontInRange): added a default_size parameter.
12774 * text.C (getVisibleRow): minor clear row changes (still not perfect).
12775 (setHeightOfRow): reformat
12777 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12779 * converter.[hC] + affected files: move to (inital-char)lowercase
12782 * ParagraphParameters.C (ParagraphParameters): remove commented code
12784 * PainterBase.[Ch]: remove commented code
12786 * LaTeXFeatures.h: add "bool floats" for float.sty
12788 * LaTeXFeatures.C (LaTeXFeatures): init floats
12789 (require): handle float
12790 (getPackages): do it with floats
12792 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12794 * BufferView_pimpl.C (Dispatch): improve handling of
12795 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12797 * commandtags.h: #include lyxfont.h here temporarily to avoid
12800 * bufferlist.h: include LString.h here.
12802 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12804 * text2.C (getStringToIndex): new method.
12806 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
12808 * *: Reduced header file dependencies all over.
12810 2001-07-30 Baruch Even <baruch@lyx.org>
12812 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12814 2001-07-29 Baruch Even <baruch@lyx.org>
12816 * buffer.C (readInset): Changed GRAPHICS to Graphics.
12818 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12820 * ParameterStruct.h (endif): add a default constructor to make
12821 sure that all variables is initialized.
12823 * ParagraphParameters.C (ParagraphParameters): adjust
12825 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12827 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12828 index; also, check that there is something to index, and that it
12829 does not span over several paragraphs.
12830 (doubleClick): use WHOLE_WORD_STRICT for double click.
12832 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12834 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12837 2001-07-26 Baruch Even <baruch@lyx.org>
12839 * buffer.C (readInset): Changed to call up InsetGraphics when reading
12840 an InsetFig figure, backwards compatible reading of old figure code.
12842 2001-07-27 Juergen Vigna <jug@sad.it>
12844 * text2.C: font.realize function adaption.
12846 * text.C (draw): add a warnings lyxerr text if needed.
12848 * layout.C: font.realize function adaption.
12850 * language.C: add inherit_language and implement it's handlings
12852 * bufferview_funcs.C (StyleReset): remove language parameter from
12853 font creation (should be language_inherit now).
12855 * bufferparams.C (writeFile): handle ignore_language.
12857 * paragraph.C (getFontSettings): the language has to be resolved
12858 otherwise we have problems in LyXFont!
12860 * lyxfont.C (lyxWriteChanges): added document_language parameter
12861 (update): removed unneeded language parameter
12863 * paragraph.C (validate): fixed wrong output of color-package when
12864 using interface colors for certain fonts in certain environments,
12865 which should not seen as that on the final output.
12867 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
12869 * BufferView_pimpl.C:
12874 * LyXAction.C: add thesaurus support
12877 * lyxfind.C: add "once" parameter, for thesaurus, to not
12878 move to the next match
12880 2001-07-26 Juergen Vigna <jug@sad.it>
12882 * lyxfont.C (realize): honor ignore_language too!
12885 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12887 * text.C (draw): one place more for ignore_language to not draw
12890 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
12892 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12894 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12896 * buffer.C (parseSingleLyXformat2Token): a more general fix for
12897 the minipage conversion problem.
12899 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12901 * buffer.C (parseSingleLyXformat2Token): check minipage if we
12904 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12906 * BufferView.h: don't forward declare WorkArea
12908 * BufferView.C: don't include WorkArea.h
12910 2001-07-25 André Pönitz <poenitz@gmx.net>
12914 * lyxfunc.C: new LFUN 'math-space'
12916 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12918 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12920 * text2.C (toggleInset): call open/close
12922 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12924 * lyxfunc.C (dispatch): add debug for the disabled case
12926 * font.C (buttonText): make similar to rectText
12928 * buffer.C (readInset): comment out parsing of insetlist and
12931 * PainterBase.C (rectText): small correction
12933 * BufferView_pimpl.C: comment out insettheorem and insetlist
12934 * LyXAction.C: ditto
12935 * commandtags.h: ditto
12937 2001-07-24 Juergen Vigna <jug@sad.it>
12939 * text.C (draw): honor the ignore_language.
12941 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12943 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12945 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12948 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12950 * lyxtext.h: remove unused (and unimplemented) methods
12952 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12954 * text.C (getVisibleRow): honor background color
12957 * Painter.h: remove default color argument for fillRectangle
12959 * text.C (backgroundColor): new method
12961 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12963 * text.C (getVisibleRow): adjust
12965 * font.[Ch] (rectText): new method, metrics
12966 (buttonText): new method, metrics
12968 * PainterBase.[hC]: make rectText and buttonText always draw and take
12971 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12973 * ToolbarDefaults.C (read):
12974 * MenuBackend.C (read): allow escaping in all strings
12976 * BufferView_pimpl.C (insertAndEditInset): new method.
12977 (Dispatch): use insertAndEditInset whenever appropriate.
12979 * BufferView_pimpl.C (insertNote): removed
12981 * BufferView_pimpl.C (smartQuote): new method, moved from
12982 BufferView; if an insetquote cannot be inserted, insert a '"'
12985 * BufferView2.C: remove insertCorrectQuote();
12987 * lyxfunc.C (getStatus): Add support for all remaingin
12988 inset-insert lfuns.
12990 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12992 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12993 command (necessary to pass " as parameter of self-insert.
12995 * text.C (selectWordWhenUnderCursor):
12996 (selectWord): add word_location parameter
12997 (selectWordWhenUnderCursor): same + remove special code for word
12999 (selectNextWord): use kind() to guess type of insetspecialchar,
13002 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13003 (insertErtContents): create ert insets as collapsed.
13004 (readInset): better compatibility code for Info inset.
13006 2001-07-20 Juergen Vigna <jug@sad.it>
13008 * lyxfunc.C (dispatch): use always LyXFind now!
13010 * text2.C (init): add a reinit flag so that the LyXText can be
13011 reinited instead of deleted and reallocated (used in InsetText).
13013 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13019 2001-07-18 Juergen Vigna <jug@sad.it>
13021 * text.C (selectNextWord): handle insets inside inset by calling
13022 always the bv->text functions so that we can go up the_locking_inset!
13024 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13025 in strange locations when inside an inset!
13027 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13028 handling to include insets.
13030 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13032 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13034 * LyXAction.C (init):
13036 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13037 LIGATURE_BREAK, since the name is so stupid.
13039 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13041 * buffer.C (readInset): enable reading of new InsetNotes as well as old
13044 * FontLoader.C: remove FORMS_H_LOCATION cruft.
13046 * sp_form.[Ch]: remove.
13048 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13050 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13053 * src/buffer.C (readInset): ditto.
13055 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13057 * BufferView_pimpl.C (specialChar): new method. Obsoletes
13058 menuSeparator(), endOfSentenceDot(), ldots() and
13059 hyphenationPoint(), which are therefore removed.
13060 (Dispatch): handle LFUN_HYPHENATION_BREAK.
13062 * LyXAction.C (init):
13063 * commandtags.h: add LFUN_HYPHENATION_BREAK.
13065 * paragraph.C (getWord): removed.
13067 * BufferView_pimpl.C (Dispatch): use last word or selection for
13068 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13070 * lyx_main.C (queryUserLyXDir): do not ask before creating
13071 user_dir, except if it has been named explicitely.
13073 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13075 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13076 a document of zero size.
13078 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
13080 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13081 approriately in the c-tor and in require().
13082 (getPackages): output the appropriate LaTeX for natbib support.
13084 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13085 variables "use_natbib" and "use_numerical_citations" when reading the
13087 (readInset): read the various natbib cite commands.
13088 (validate): white-space change.
13090 * bufferparams.[Ch]: new variables "bool use_natbib" and
13091 "bool use_numerical_citations".
13092 (writeFile): output them in the LyX file.
13094 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13096 * lyxfunc.C (getStatus): add support for all the inset insertion
13099 * text2.C (insertInset):
13100 * paragraph.C (insetAllowed):
13101 * BufferView_pimpl.C (insertInset): update to take in account the
13102 renaming of insertInsetAllowed
13104 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13106 * text2.C (getInset): new method. returns inset at cursor position.
13108 * BufferView_pimpl.C (Dispatch): changes because of this.
13110 * LyXAction.C (init): rename open-stuff to inset-toggle.
13112 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13114 * text2.C (toggleInset): renamed from openStuff; use
13117 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
13119 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13121 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13123 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
13125 * buffer.C (readLyXformat2): Add filename to the error dialog
13127 2001-07-18 Juergen Vigna <jug@sad.it>
13129 * tabular.C (GetCellNumber): put an assert here instead of the check!
13131 2001-07-17 Juergen Vigna <jug@sad.it>
13133 * BufferView_pimpl.C (toggleSelection): adapted too.
13135 * text.C (selectNextWord): adapted for use with insets.
13136 (selectSelectedWord): ditto
13138 2001-07-17 Juergen Vigna <jug@sad.it>
13140 * sp_spell.C (PSpell): fix initialitation order.
13142 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13144 * paragraph.C: spacing
13146 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
13148 * sp_spell.C: repair language selection for pspell
13150 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13152 * lyxfunc.h: change more methods to begin with lower char.
13154 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
13156 * buffer.C (parseSingleLyXformat2Token): Generate error insets
13157 for unknown layouts.
13159 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
13161 * buffer.C (readLyXformat2): Generate an error dialog if there are
13164 2001-07-16 Juergen Vigna <jug@sad.it>
13166 * sp_spell.C: always compile ISpell part.
13168 * lyxrc.C: added use_pspell entry and it's handling.
13170 2001-07-13 Juergen Vigna <jug@sad.it>
13172 * sp_spell.C: removed double includes.
13174 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
13176 Consistent use of Lsstream.h:
13177 * Lsstream.h: added using std::stringstream for consistencies sake.
13179 * buffer.C: removed using std::stringstream
13181 * lyxfont.C (stateText):
13182 * paragraph.C (asString):
13183 * text.C (selectNextWord, selectSelectedWord):
13184 * text2.C (setCounter):
13185 * vspace.C (asString, asLatexString):
13186 std::ostringstream -> ostringstream.
13188 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13190 * LyXAction.C: add LFUN_HELP_ABOUTLYX
13191 * commandtags.h: add LFUN_HELP_ABOUTLYX
13192 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13194 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13196 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13198 * lyx_gui_misc.C: remove spellchecker
13199 * lyxfunc.C: showSpellchecker
13201 * sp_ispell.h: added
13202 * sp_pspell.h: added
13203 * sp_spell.C: added
13204 * sp_form.[Ch]: removed
13205 * spellchecker.[Ch]: removed
13207 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
13209 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13211 (simpleTeXSpecialChars): Simply print the input character without
13212 any special translation if pass_thru is set.
13214 * layout.h: Added bool pass_thru to layout class for being able to
13215 implement pass through of a paragraph for Literate Programming.
13217 * layout.C: add LT_PASS_THRU to LayoutTags enum.
13218 * layout.C (LyXLayout): set pass_thru to flase in constructor.
13219 * layout.C (Read): add "passthru" to list of layout tags and add
13220 code to set the pass_thru boolean when it is read.
13222 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13224 * trans_decl.h: remove allowed from KmodInfo
13226 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13227 remove allowed code
13230 * paragraph_pimpl.C (erase): use boost::prior
13232 * Painter.C (text): use data() instead of c_str() when length is
13234 * WorkArea.C (putClipboard): ditto
13235 * font.h (width): ditto
13237 * BufferView2.C: use it-> instead of (*it). for iterators
13239 * paragraph_pimpl.C: ditto
13240 * paragraph.C: ditto
13241 * minibuffer.C: ditto
13242 * language.C: ditto
13244 * encoding.C: ditto
13245 * counters.C: ditto
13246 * converter.C: ditto
13248 * Variables.C: ditto
13249 * TextCache.C: ditto
13250 * MenuBackend.C: ditto
13251 * LyXAction.C: ditto
13253 * FloatList.C: ditto
13254 * DepTable.C: ditto
13255 * ColorHandler.C (LyXColorHandler): ditto
13257 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13259 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13261 * text2.C (openStuff): reintroduce this method (which had been
13262 nuked in NEW_INSETS frenzy).
13264 * lyxfunc.C (Dispatch): when an action has not been handled, use
13265 its name in the error message, not its number.
13267 * paragraph.C (inInset): change method name to begin with lowercase.
13270 * text2.C: updates because of this.
13272 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13274 * ToolbarDefaults.C (add): add spaces in error message
13276 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13278 * buffer.C (readLyXformat2): initialize the ert comp. variables.
13279 (readLyXformat2): rename return_par to first_par, use lyxlex's
13280 pushToken and remove the manual push handling.
13281 (parseSingleLyXformat2Token): add another ert comp. variable:
13282 in_tabular, rename return_par to first_par. handle newlines better
13284 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13286 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13288 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13290 * text2.C (getParFromID): removed
13292 * buffer.C (getParFromID): new method moved form lyxtext.
13293 * BufferView2.C (insertErrors): adjust
13294 (setCursorFromRow): adjust
13295 * BufferView_pimpl.C (restorePosition): adjust
13296 * lyxfunc.C (Dispatch): adjust
13297 * undo_funcs.C (textUndo): adjust
13299 (textHandleUndo): adjust
13300 (textHandleUndo): adjust
13302 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13304 * buffer.C: up' the LYX_FORMAT
13306 * lyxfont.h: turn NO_LATEX on as default
13308 * buffer.C (insertErtContents): new methods of tex style compability.
13309 (parseSingleLyXformat2Token): use it several places.
13310 * tabular.C (OldFormatRead): and here
13312 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13314 * text2.C: remove some commented code.
13317 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13318 * trans.C: changes because of the above.
13320 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
13322 * text2.C (setCounter): Fix counters bug with bibliography layout.
13324 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13326 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13327 own member functions
13328 (simpleTeXSpecialChars): ditto
13330 2001-07-06 Juergen Vigna <jug@sad.it>
13332 * a lot of files: changed the access to LyXText::status and the
13333 call of undo-functions.
13335 * undo.[Ch]: added a inset_id to the undo informations.
13337 * undo_funcs.[Ch]: added and moved here all undo functions.
13339 * lyxtext.h: give the status enum a weight, made status_ a private
13340 variable and made accessor functions for it, removed the whole bunch
13341 of undo-functions as they are now in their own file, make some
13342 functions publically available. Added function ownerParagraph with
13345 * paragraph.[Ch]: added "bool same_ids" to the constructor,
13346 made InInset() a const function, added getParFromID() function.
13348 * buffer.[Ch]: added const version for inset_iterator functions,
13349 added getInsetFromID() function.
13351 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13352 changed undo functions for new version.
13354 2001-07-05 Juergen Vigna <jug@sad.it>
13356 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13357 unknow mechanism does not call the proper constructor but only this
13358 one also if I request the other!?
13360 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13362 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13364 * text2.C (LyXText): use initialization lists.
13366 * lyxtext.h (Selection): initialize set_ and mark_
13367 (init): remove method
13369 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
13371 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13373 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13375 * screen.[Ch]: change method names to begin with lowercase
13377 * BufferView_pimpl.C (updateScrollbar): simplify further and
13378 hopefully make it a bit faster.
13380 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13382 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13383 calling directly xforms functions.
13385 * Painter.C (Painter):
13386 * lyx_cb.C (MenuWrite):
13387 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13390 * lyx_gui.C: remove bogus guiruntime extern declaration.
13392 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13394 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13396 (redoDrawingOfParagraph): ditto
13397 (redoParagraphs): ditto
13398 (cutSelection): don't create a object for CutAndPaste use the
13399 static method directly
13400 (pasteSelection): ditto
13402 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13405 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13407 * modifications to some other files because of this.
13409 * Makefile.am (lyx_SOURCES): add XFormsView
13411 * XFormsView.[Ch]: new files
13413 * LyXView.[Ch]: make LyXView a base class for the gui handling for
13414 the main window. Move the gui dependent stuff to XFormsView
13416 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13418 * tabular.C (GetCellInset): update cur_cell also in the row/col
13419 version of this function.
13421 * lyxfunc.C: no need to include figure_form.h here.
13427 * lyxvc.C: no need to include forms.h here.
13429 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13431 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13433 * lyxfunc.C (Dispatch):
13435 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13436 constructor argument.
13438 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13440 * paragraph.C (Paragraph): dont't clear, and just set layout.
13441 (makeSameLayout): use params's copy contructor.
13443 * ParagraphParameters.[Ch] (makeSame): delete method
13445 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
13447 * Variables.[Ch]: fix indentation, rename set to isSet
13449 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13451 * lyxfunc.C (Dispatch): fix typo
13453 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13455 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13458 * bufferlist.C: include assert.h for emergencyWrite().
13460 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13462 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13463 give up at last (bug #425202) !
13465 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
13471 * spellchecker.C: strip spellchecker options and bring up
13472 preferences tab instead
13474 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13476 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13477 the istringstream constructor
13479 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13481 * paragraph.C (getLayout): fix return value
13483 * paragraph.h: do not declare getLayout as inline.
13485 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13487 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13489 * lyxcursor.h (operator<): new func
13490 (operator>): new func
13491 (operator>=): new func
13492 (operator<=): new func
13494 * text.C (changeCase): use selection.start and selection.end
13495 (changeRegionCase): require from to be <= to. Require par to be a
13498 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13500 2001-06-27 Juergen Vigna <jug@sad.it>
13502 * text.C (cursorLeftOneWord): changed to return the cursor and added
13503 overlay with BufferView * parameter which calls this one.
13505 (selectWord): use new getWord function.
13506 (changeCase): renamed from changeWordCase as and extended to work
13507 also on selections.
13509 * lyxtext.h: added enum word_location
13511 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13512 changeCase as this operates now also on selections.
13514 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
13516 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13518 * many files: send debug output to Debug::INFO instead of
13521 * converter.C (View):
13523 (Move): send debug output to Debug::FILES instead of console.
13525 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
13527 * lyxfunc.C (getStatus): use func_status
13529 * func_status.h: new header, describing the results of
13530 LyXFunc::getStatus;
13532 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13535 2001-06-25 The LyX Project <jug@sad.it>
13537 * buffer.C (sgmlOpenTag):
13539 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
13541 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13543 * text2.C: remove some dead code
13545 * tabular.C (GetCellInset): store the last cell checked (gotten)
13547 * tabular.h: add the helper for the speedup
13549 * lyxtext.h: remove some dead code
13551 2001-06-26 The LyX Project <Asger>
13553 * paragraph.C: Change export to LaTeX of alignment to
13554 \begin{center} and family for better roundtrip work with reLyX.
13556 * Tune the math drawing a bit.
13558 2001-06-25 The LyX Project <Asger>
13560 * LColor.C (LColor): New color for math background. New color
13563 2001-06-25 The LyX Project <jug@sad.it>
13565 * lyxfunc.C (MenuNew): remove extra check for .lyx file
13567 * lyxfunc.C (Open):
13568 * bufferlist.C (newFile): do not restrict to files ending with
13571 * BufferView_pimpl.C (MenuInsertLyXFile):
13573 2001-06-24 The LyX Project <jug@sad.it>
13575 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13578 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13580 * lyxtext.h: rename most methods to begin with a small char.
13581 Lots of changes because of this.
13583 * paragraph.C (Paragraph): do not call fitToSize
13584 (erase): call Pimpl::erase
13585 (insertChar): call Pimpl::insertChar
13586 (insertInset): call Pipl::insertInset
13587 (breakParagraph): do not call fitToSize
13588 (breakParagraphConservative): do not call fitToSize
13589 (fitToSize): remove method
13591 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13593 2001-06-24 The LyX Project <Asger>
13595 * Fix Qt compilation^2
13597 2001-06-24 The LyX Project <jug@sad.it>
13599 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13600 depthHook(getDepth()-1).
13603 * ParagraphParameters.h:
13604 * ParameterStruct.h: change type of depth to unsigned int ==
13605 depth_type. Many adaptations to other files before of that.
13607 2001-06-24 The LyX Project <Asger>
13609 * Fix Qt compilation.
13611 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13613 * paragraph.h: renamed several methods to begin with small letter.
13614 several changes to many parts of the code because of this.
13616 2001-06-23 The LyX Project <jug@sad.it>
13618 * text2.C (InsertStringAsLines): renamed from InsertStringA;
13619 rewritten to discard all double spaces when KeepEmpty is off
13620 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13621 to only handle newlines but not fiddle with spaces and friends.
13623 * lyxfunc.C (MenuNew): when doing 'new from template', use
13624 template_path as default directory
13626 2001-06-23 The LyX Project <Asger>
13628 * Clean-up of header file includes all over
13629 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13631 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13633 * paragraph.h: renamed from lyxparagraph.h
13635 2001-06-23 Asger <lyx@violet.home.sad.it>
13637 * Buffer.h: Removed Buffer::resize
13638 * BufferList.h: Removed BufferList::resize
13639 * LyXView.h: Added LyXView::resize. This way, we will only reflow
13640 the document lazily when we change the width, or the font settings.
13642 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13644 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13646 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13648 * buffer.h: remove out of date comment
13650 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13653 * screen.C: fix "theoretical" GC leak
13655 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13657 * LaTeX.C (scanAuxFile):
13658 (deplog): remove trailing \r when reading stream (useful under
13661 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
13663 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13664 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13665 and BufferView::theLockingInset(Inset*), so should use them and not
13666 access bv_->text->the_locking_inset directly.
13668 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13670 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13673 * tex-defs.h: remove old unused file
13675 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
13677 * BufferView_pimpl.C: fix typo, remove minibuffer message
13678 when buffer has loaded
13680 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13682 * lyxfunc.C (Dispatch): use stringstream
13683 (MenuNew): use stringstream
13684 (Open): use stringstream
13686 * importer.C (Import): use stringstream
13688 * bufferview_funcs.C (CurrentState): use stringstream
13690 * LaTeX.C (run): use stringstream
13692 * BufferView_pimpl.C (savePosition): use stringstream
13693 (restorePosition): use stringstream
13694 (MenuInsertLyXFile): use stringstream
13696 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
13709 * vspace.C: removed // -*- C++ -*- as first line.
13712 * version.h: added // -*- C++ -*- as first line.
13714 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13716 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13718 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13721 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13723 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13726 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13728 * gettext.C: include LString.h even when --disable-nls is on.
13730 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
13732 * converter.h (Get): changed argument type from int to
13733 FormatList::size_type to avoid unnecessary conversion.
13735 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13738 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13740 * gettext.h: include LString.h even when --disable-nls is on.
13742 2001-06-07 Juergen Vigna <jug@sad.it>
13744 * text.C (BreakAgain): subst spaces with tabs.
13746 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13747 (resizeInsetsLyXText): set force on resizeLyXText.
13749 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13751 * gettext.h (gettext_init):
13752 (locale_init): use a real definition instead of a macro
13754 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13756 * Bufferview_pimpl.C:
13758 * LColor.C: further lcolor tidies
13760 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13762 * BufferView_pimpl.C (updateScrollbar): simplify.
13764 * BufferView2.C: don't include insets/insetinfo.h, change
13765 prototype for insertInset and call the Pimpl version. let
13766 updateInset call Pimpl version.
13768 * BufferView.h: move inset_slept to BufferView::Pimpl, move
13769 gotoInset to BufferView::Pimpl
13771 2001-06-01 Juergen Vigna <jug@sad.it>
13773 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13774 inside a LockingInset (is the update needed at all?).
13776 2001-05-31 Juergen Vigna <jug@sad.it>
13778 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13779 here not the old one otherwise how should we compare it afterwards
13782 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13787 * FontInfo.C: bring C functions into global namespace when
13790 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13792 * LString.h: make sure config.h has been loaded before LString.h.
13794 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13795 (one for each char read by EatLine!).
13797 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13800 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13802 * paragraph.C (BreakParagraph): set the inset_owner in the new par
13803 to the same as the par we break from
13805 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
13807 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13809 * MenuBackend.C (expand): also create menu entries for wide
13810 versions of the floats.
13812 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13814 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13816 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13817 frontends/Makefile.am
13823 * tabular.C (getTokenValue): add std::
13825 * tabular-old.C (getTokenValue): add std::
13826 (getTokenValue): ditto
13827 (getTokenValue): ditto
13829 * screen.C (ToggleSelection): adjust
13831 * lyxtext.h: put selection cursors inside a Selection struct.
13833 * lyxfunc.C (moveCursorUpdate): adjust
13835 * lyxfont.C (latexWriteStartChanges): add std::
13837 * lyxfind.C: adjust
13839 * font.h: delete with(char const *, LyXFont const &)
13841 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13843 * FontInfo.C (getFontname): add std::
13845 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13846 (workAreaButtonPress): adjust
13847 (tripleClick): adjust
13849 (moveCursorUpdate): adjust
13852 * BufferView2.C (gotoInset): adjust
13854 2001-05-30 Juergen Vigna <jug@sad.it>
13856 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13857 to check pspell I add this as default as I now have new pspell
13858 libraries and they seem to use this.
13860 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13862 * text2.C (CutSelection): make the cursor valid before the call to
13865 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13867 * kbsequence.C (parse): de-uglify a bit the parsing code, which
13868 relied on 0 terminated strings and other horrors. Bug found due to
13869 the new assert in lyxstring!
13871 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13874 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13876 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13879 * lyxfunc.C (processKeySym): change method of getting to the
13882 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13883 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13884 * BufferView_pimpl.[Ch]: here as private methods.
13886 2001-05-28 Juergen Vigna <jug@sad.it>
13888 * text.C (SetHeightOfRow): added the update() call again as it is
13889 needed to initialize inset dimensions!
13891 2001-05-16 Juergen Vigna <jug@sad.it>
13893 * text2.C (SetCharFont): Add new function with BufferView * and
13894 bool toggleall parameters for setting insets internal fonts.
13895 (SetFont): Freeze the undo as we may change fonts in Insets and
13896 all this change should be inside only one Undo!
13898 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13899 setting font's in insets as for them we have the SetFont function!
13901 2001-05-15 Juergen Vigna <jug@sad.it>
13903 * text2.C (ClearSelection): to be sure we REALLY don't have any
13906 * tabular.C (TeXCellPreamble): fixed the left border problem for
13909 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
13911 * LaTeX.C (deplog): Make sure that the main .tex file is in the
13914 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13916 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13917 LFUN_BREAKPARAGRAPH.
13919 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13920 help test to "internal only", similar for LFUN_INSERT_URL
13922 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13923 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13924 auto_region_delete and deadkeys.
13926 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
13929 * LColor.C: remove some dead entries, tidy a little
13931 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13933 * lyxfunc.C (processKeySym): comment the Escape handling, remove
13935 (Dispatch): implement LFUN_ESCAPE
13937 * commandtags.h: add LFUN_ESCAPE
13939 * LyXAction.C (init): add entry for LFUN_ESCAPE
13941 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13942 Remove commented code.
13943 (insertNote): moved here
13944 (open_new_inset): moved here
13946 * BufferView[2].[Ch]: move insertNote and open_new_inset to
13949 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13951 * kbmap.C (findbinding): clean it up and make it work correctly.
13953 * lyx_main.C (init): do not pass argc and argv as parameters
13955 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
13957 * buffer.C: fix path for OS/2 & Win32
13961 * lyx_main.C: Added os:: class.
13963 * os2_defines.h: update
13965 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13967 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13968 better by trying again with reduced state.
13970 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13972 * lyxrc.C (read): print error about invalid key sequence only when
13973 debugging (because not all latinX keysyms are known to some X
13976 * kbsequence.C (getiso): add a few std:: qualifiers
13977 (getiso): comment out extra return statement.
13979 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
13981 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13983 (Dispatch): enhance the accent inset a bit. (not perfect)
13985 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13987 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13989 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13991 * bufferlist.C (emergencyWrite): fix assert() call
13993 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
13995 * text.C (InsertChar): Added trivial patch to only send the "you
13996 can not do multiple spaces this way" message once during a
13999 2001-05-08 Baruch Even <baruch@lyx.org>
14001 * Makefile.am: Changed order of libraries to get LyX to link properly
14002 with the gnome frontend.
14004 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14006 * LaTeXFeatures.h: add a std:: qualifier
14008 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14010 * paragraph.C (String): use stringstream
14012 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14014 * paragraph.C (writeFile): remove footflag arg
14016 * buffer.C (makeLaTeXFile): use stringstream
14017 (latexParagraphs): remove footnot gurba
14019 * LaTeXFeatures.C (getPackages): use stringstream
14020 (getMacros): likewise
14021 (getTClassPreamble): likewise
14022 (getFloatDefinitions): new method
14024 * paragraph.C (writeFile): reindent
14027 * WorkArea.h: revert the xpos + etc changes.
14029 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14031 * lyxparagraph.[Ch]: add copy constructor, remove Clone
14033 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14034 (pasteSelection): likewise
14035 * text2.C (CreateUndo): likewise
14037 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14039 * minibuffer.C (peek_event): temporarily reduce the functionality
14040 of the minibuffer (to allow args on lfuns)
14042 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14043 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14045 * buffer.C (readInset): add compability reading of old float
14046 lists, add reading of new style float list.
14047 (readInset): avoid reevaluation of inscmd.getCmdName()
14048 (getLists): reindent
14050 * MenuBackend.C (MenuItem): implement parsing of
14051 md_floatlistinsert and md_floatinsert.
14052 (expand::LastFiles): move initalizaton of iterators out of loop,
14053 avoid reevaluation.
14054 (expand::Documents): introduce typdedef vector<string> Strings,
14056 (expand::ExportFormats): introduce typedef vector<Format const *>
14057 Formats, and use it.
14058 (expand): implement FloatListInsert and FloatInsert.
14060 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14061 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14062 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14064 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14066 (Dispatch::LFUN_FLOAT_LIST): implement
14068 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14070 * LaTeX.C (run): Fix problem with --export code.
14072 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14074 * BufferView.[Ch] (workarea): removed.
14075 (getClipboard) new method; wrapper for workarea()->getClipboard()
14077 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14080 * WorkArea.h (width, height, xpos, ypos): These methods all
14081 returned the dimensions of the work_area sub-area of WorkArea,
14082 resulting in a position error if the WorkArea were resized. Now
14083 return the dimensions of the entire WorkArea.
14085 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14087 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14089 * LaTeX.C (deplog): correct the syntax of regex reg1
14091 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14093 * undo.C: remove !NEW_INSETS cruft
14095 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14097 * text2.C: remove !NEW_INSETS cruft
14099 * text.C: remove !NEW_INSETS cruft
14101 * tabular.C: remove !NEW_INSETS cruft
14103 * spellchecker.C: remove !NEW_INSETS cruft
14105 * lyxtext.h: remove !NEW_INSETS cruft
14107 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14109 * lyxfunc.C: remove !NEW_INSETS cruft
14111 * lyxfind.C: remove !NEW_INSETS cruft
14113 * lyx_cb.C: remove !NEW_INSETS cruft
14115 * figureForm.C: remove !NEW_INSETS cruft
14117 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14119 * buffer.[Ch]: remove !NEW_INSETS cruft
14121 * ToolbarDefaults.C: remove !NEW_INSETS cruft
14123 * CutAndPaste.C: remove !NEW_INSETS cruft
14125 * BufferView_pimpl.C: remove !NEW_INSETS cruft
14127 * BufferView2.C: remove !NEW_INSETS cruft
14129 * BufferView.h: remove !NEW_INSETS cruft
14131 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14133 * Lsstream.h: include LString.h before the sstream headers to
14134 fix problem with gcc 2.95.3 and lyxstring
14136 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14138 * lyx_main.C: add using directives when needed for C functions
14139 declared in std:: namespace.
14141 2001-04-27 Juergen Vigna <jug@sad.it>
14143 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14144 (SetHeightOfRow): comment out the update call should not be needed!
14146 2001-04-13 Juergen Vigna <jug@sad.it>
14148 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14149 (LyXTabular): tried to minimize operator= operations (and realized
14150 hopfully Lars wish).
14152 2001-04-27 Juergen Vigna <jug@sad.it>
14154 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14156 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14158 * lyxfunc.C (Dispatch): hack to make listof algorithm work
14160 * buffer.C (readInset): hack to make listof algorithm work
14162 * BufferView_pimpl.C: hack to make listof algorithm work
14164 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14166 * LyXAction.C: removed all !NEW_INSETS cruft
14167 (init): moved lfun_item in method
14169 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14171 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14173 * BufferView2.C (theLockingInset): white space.
14175 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14177 * minibuffer.C: include <iostream>
14179 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14181 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14183 * commandtags.h: add LFUN_TRANSPOSE_CHARS
14185 * text.[Ch] (TransposeChars): new method
14187 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14189 * call message directly through LyXView instead of through LyXFunc
14190 * BufferView2.C: adjust
14191 * BufferView_pimpl.C: adjust
14192 * FontLoader.C: adjust
14194 * bufferview_funcs.C: adjust
14195 * converter.C: adjust
14196 * figureForm.C: adjust
14197 * importer.C: adjust
14199 * lyx_gui_misc.C: adjust
14200 * lyxfunc.C: adjust
14203 + more files in subdirs
14205 * lyxparagraph.h (size): move up int file
14208 * adjust all uses of Assert to lyx::Assert.
14210 * BufferView2.C (ChangeCitationsIfUnique): adjust for
14211 lyxfunctional in namespace lyx
14212 * layout.C (hasLayout): ditto
14215 (delete_layout): ditto
14216 (NumberOfClass): ditto
14217 * converter.C (GetFormat): ditto
14222 * bufferlist.C (getFileNames): ditto
14223 (emergencyWriteAll): ditto
14226 * MenuBackend.C (hasSubmenu): ditto
14229 * BufferView_pimpl.C (getInsetByCode): ditto
14231 2001-04-18 Juergen Vigna <jug@sad.it>
14233 * vspace.C (asLatexString): fixed the 100% problem.
14235 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14237 * lyxfunc.C (Dispatch):
14239 * minibuffer.h: add a few std:: qualifiers
14241 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14243 * minibuffer.[Ch]: reimplement so that commands is initiated and
14244 run from lyxfunc, simplified som handling, and made the completion
14245 and history code for complete. wip.
14247 * lyxfunc.C (processKeySym): call message
14248 (miniDispatch): new temporary method
14249 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14250 (LFUN_MESSAGE): implement
14251 (LFUN_MESSAGE_PUSH): implement
14252 (LFUN_MESSAGE_POP): implement
14253 (initMiniBuffer): the initial/defualt minibuffer message.
14255 * lyxfont.[Ch]: inline some more getters
14257 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14259 * lyx_gui_misc.[Ch] (WriteStatus): remove method
14261 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14262 (AutoSave): use LFUN_MESSAGE
14263 (Reconfigure): ditto
14265 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14267 * figureForm.C: use LFUN_MESSAGE
14269 * converter.C (runLaTeX): use LFUN_MESSAGE
14271 * bufferview_funcs.C: use LFUN_MESSAGE
14273 (changeDepth): ditto
14275 * bufferparams.h: use boost::
14277 * bufferlist.h: inherit privately from noncopyable
14279 * bufferlist.C (loadLyXFile): remove some commented code.
14281 * buffer.C (runChktex): use LFUN_MESSAGE
14283 * ShareContainer.h: inherit privately from noncopyable
14285 * ParagraphParameters.[hC] (depth): inline it.
14287 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14289 (message): new method
14290 (messagePush): ditto
14291 (messagePop): ditto
14292 (show): init minibuffer
14293 (showState): direct call
14295 * LaTeX.[Ch]: inherit privately from noncopyable
14296 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14297 instead of WriteStatus.
14299 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14301 * BufferView_pimpl.C (buffer): don't init minibuffer
14302 (workAreaButtonPress): use LFUN_MESSAGE
14303 (workAreaButtonRelease): ditto
14304 (savePosition): ditto
14305 (restorePosition): ditto
14306 (MenuInsertLyXFile): ditto
14307 (workAreaExpose): don't init minibuffer
14308 (update): remove commented code, simplify
14310 * BufferView2.C (openStuff): use LFUN_MESSAGE
14311 (toggleFloat): ditto
14314 (copyEnvironment): ditto
14315 (pasteEnvironment): ditto
14320 (updateInset): remove some commented code
14322 * lastfiles.h: inherit privately from noncopyable
14325 * lyx_main.h: ditto
14327 * lyxlex_pimpl.h: ditto
14329 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14330 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14331 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14333 * LyXAction.h: inherit privately from noncopyable, add methods
14334 func_begin, func_end, returning iterators to the func map.
14336 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14337 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14338 (func_begin): new method
14339 (func_end): new method
14341 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14343 (copySelection): ditto
14344 (pasteSelection): ditto
14346 * BufferView.C: whitespace change
14347 * BufferView.h: inherit privately from noncopyable
14349 2001-04-16 Allan Rae <rae@lyx.org>
14351 * tabular-old.C (l_getline):
14352 * spellchecker.C (sc_check_word):
14353 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14354 an unrecognised preprocessor directive. So ensure they're wrapped.
14356 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
14358 * src/exporter.C (Export): Give an error message when path to file
14361 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
14363 * LaTeX.C (deplog): Always check that foundfile exists.
14365 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14368 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14370 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14372 * tabular.[Ch] (getLabelList): implement new method
14374 * minibuffer.h: comment ouf setTiimer
14376 * minibuffer.C (ExecutingCB): constify res
14377 (peek_event): constify s
14378 (Set): constify ntext
14379 (Init): constify nicename
14381 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14383 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14384 (savePosition): use two params to Minibuffer::Set
14385 (restorePosition): ditto
14387 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14389 * lyx_main.C: include language.h
14391 * Makefile.am (lyx_main.o): add language.h
14393 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14399 * CutAndPaste.C: include gettext.h
14401 * lyxfont.h: remove old hack with ON and OFF.
14404 * lyxfont.h: do not include language.h...
14409 * bufferview_funcs.C:
14415 * paragraph.C: ... but do it here instead
14417 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14419 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14421 * tabular.C: small reformat
14423 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14426 (BreakParagraph): ditto
14427 (SetOnlyLayout): ditto
14430 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14433 * lastfiles.C: removed most using decl, add std:: where needed
14435 * buffer.C: ws changes
14437 * MenuBackend.C (class compare_format): put into anon namespace
14438 (expand): constify label, names, action, action2
14441 * text.C (SingleWidth): constify font
14442 (IsBoundary): constify rtl2
14443 (GetVisibleRow): constify ww
14445 * LaTeX.C (deplog): constify logfile
14447 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14449 (workAreaExpose): constify widthChange, heightChange
14451 * lyxrow.C (par): moved
14454 * lyxrow.h: as inlines here
14456 * lyxfont.h (shape): moved from lyxfont.C
14457 (emph): moved from lyxfont.C
14459 * lyxfont.C (LyXFont): use initialization list for all
14461 (shape): move to lyxfont.h as inline
14462 (emph): move to lyxfont.h as inline
14465 2001-04-04 Juergen Vigna <jug@sad.it>
14467 * vspace.C: had to include stdio.h for use of sscanf
14469 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
14472 * BufferView_pimpl.h: remove xforms cruft. Both classes are
14473 independent of xforms.
14475 2001-04-02 Juergen Vigna <jug@sad.it>
14477 * spellchecker.C: fixed namespace placing!
14479 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
14481 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14482 the LyXParagraph * is 0.
14484 2001-03-29 Juergen Vigna <jug@sad.it>
14486 * vspace.C: added support for %, c%, p%, l%.
14487 (stringFromUnit): added helper function.
14488 (asLatexString): changed to give right results for the %-values.
14490 * buffer.C: convert the widthp in a width%.
14492 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
14494 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14497 * figureForm.[Ch]: stripped the FD_from_figure manipulation
14498 code out of lux_cb.[Ch], ready for its (imminent?) removal.
14500 * lyx_cb.[Ch]: see above.
14502 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14506 * lyx.[Ch]: replaced by figure_form.[Ch].
14510 * lyxfunc.C: changed headers associated with above changes.
14512 2001-03-27 Juergen Vigna <jug@sad.it>
14514 * BufferView_pimpl.C: set the temporary cursor right!
14516 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
14518 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14520 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
14522 * LString.h: removed "using std::getline"!
14524 * BufferView_pimpl.C (Dispatch): changes due to changes in
14525 InsetInclude::Params.
14527 * buffer.C (tag_name): removed redundant break statements as they were
14528 producing lots of warnings with my compiler.
14530 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14532 * LString.h: add "using std::getline" when using the real <string>.
14534 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
14536 * buffer.C: removed bitset usage.
14537 PAR_TAG moved to an anonymous name space.
14538 (tag_name): new funtion, also in the anonymous namespace.
14539 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14540 (makeDocBookFile): clean code. Completed transition from string arrays
14542 (SimpleDocBookOnePar): code clean.
14544 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14546 * tabular.C: add some comments.
14548 2001-03-22 Juergen Vigna <jug@sad.it>
14550 * buffer.C (parseSingleLyXformat2Token): redone the minipage
14551 compatibility read a bit and fixed bug with minipage in different
14554 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
14556 * buffer.C (pop_tag): removed.
14557 (push_tag): removed.
14558 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14559 array replaced with vector. Added support for CDATA sections.
14560 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14562 (makeDocBookFile): XML conformant declaration of CDATA section,
14563 fixed bug related to <emphasis> in the first paragraph char.
14564 (sgmlOpenTag): exclude empty tags.
14565 (sgmlCloseTag): ditto.
14567 * buffer.h (pop_tag): removed.
14568 (push_tag): removed.
14570 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
14572 * language.h (Languages): added size_type and size().
14574 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14576 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14577 response on compability reading of minipages. One probliem is that
14578 the old usage of minipages was «flertydig»
14580 * several files here and in subdirs: don't use static at file
14581 scope use anon namespaces instead.
14583 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
14585 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14586 LaTeX output. This is necessary for Literate document
14589 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14591 * buffer.C: insert hfill when needed.
14593 * tabular.C (l_getline): use string::erase, small whitespace change.
14595 * BufferView_pimpl.C: try the anon namespace.
14596 * WorkArea.C: ditto
14598 2001-03-16 Juergen Vigna <jug@sad.it>
14600 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14601 otherwise it won't open options-dialogs.
14603 * buffer.C: honor pextraWidth(p) on converting minipages.
14605 * tabular.C (l_getline): changed the functions to strip trailing \r.
14607 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
14609 * BufferView_pimpl.C:
14610 * minibuffer..C: added "using SigC::slot" declaration.
14612 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14614 * lyxlex_pimpl.h: noncopyable is in namespace boost.
14620 * paragraph.C: ditto
14622 * lyxtext.h: NO_PEXTRA
14624 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14626 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14627 * ParameterStruct.h: ditto
14628 * ParagraphParameters.h: ditto
14629 * lyxparagraph.h: ditto
14631 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14633 * buffer.C: add compability for minipage alignment.
14634 (latexParagraphs): remove unwanted pextra check.
14636 * several files: remove CXX_WORKING_NAMESPACES
14638 * buffer.C (pop_tag): tie is in namespace boost
14640 * BufferView.h: noncopyable is in namespace boost
14642 * lyx_main.h: ditto
14645 * lastfiles.h: ditto
14646 * bufferlist.h: ditto
14647 * ShareContainer.h: ditto
14649 * LyXAction.h: ditto
14652 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14654 * Merging changes from BRANCH_MVC back into HEAD.
14656 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14658 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
14660 * BufferView_pimpl.C: change from intl.C
14664 * Makefile.am: move combox.*
14670 * intl.C: remove dialog (covered by prefs)
14672 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14674 * lyxfunc.C (Dispatch): removed redundant break statement.
14676 2001-03-14 Juergen Vigna <jug@sad.it>
14678 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14680 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14682 * buffer.C: add hack to fix compability reading of minipages.
14684 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
14686 * buffer.C (getLists): Cleanup.
14688 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14690 * lyxfont.C (update): don't honor toggleall on font size.
14692 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
14696 * Makefile.am: moved to frontends/xforms/
14700 * BufferView_pimpl.C: changes for moved mathpanel
14702 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14704 * gettext.h: fix gettext_init() in --disable-nls
14706 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14708 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14710 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
14713 * lyx.h: strip external form
14715 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14717 * BufferView_pimpl.C: add comment, destroySplash()
14719 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14721 * BufferView_pimpl.C:
14725 * lyxfunc.C: use re-worked insetinclude
14727 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14729 * buffer.C: add using std::stringstream.
14731 * lyx_cb.C: readd using std::ios.
14733 * buffer.C: add using std::map.
14735 * BufferView_pimpl.C: add using std::vector.
14737 * ShareContainer.h: add std:: to swap.
14739 * buffer.h: add some typedefs
14740 * buffer.C (getLists): use them
14741 (getLists): renamed from getTocList.
14742 add a counter for the different float types and use it in the
14744 (getLists): use the same counter for the NEW_INSETS and the "non"
14747 * lyx_cb.h: remove unused items, includes, using etc.
14749 * ShareContainer.h: remove some commented code, add more comments
14750 and "documentation".
14752 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14754 * buffer.C (getTocList): make the list also when NEW_INSETS is
14757 * buffer.h: remove TocType
14759 * buffer.C (getTocList): change to return a map<string,
14760 vector<TocItem> >, implement for dynamic number of list.
14762 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14763 * text2.C (PasteSelection): adjust
14764 * CutAndPaste.C (pasteSelection): adjust
14766 * FloatList.C (FloatList): update from the new_insets branch.
14767 * Floating.[Ch]: ditto
14768 * LaTeXFeatures.C: ditto
14770 * lyxlex_pimpl.C: ditto
14772 * paragraph.C (Last): remove when NEW_INSETS is defined.
14774 * other file: changes because of the above.
14776 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14778 * lyxparagraph.h: rename next to next_, previous to previous_,
14779 make them private for NEW_INSETS. Rename Next() to next(),
14780 Previous() to previous().
14782 * other files: changes because of the above.
14784 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
14787 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14790 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14792 * main.C (main): pass lyx_localedir to gettext_init().
14794 * gettext.h: remove locale_init and gettext_init macros
14796 * gettext.C (locale_init): new function
14797 (gettext_init): new function
14799 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14802 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
14804 * Moved credits to frontends:
14805 * credits.[Ch]: removed
14806 * credits_form.[Ch]: removed
14807 * lyx_gui_misc.C: remove credits stuff
14810 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14812 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14814 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14815 unneeded destructor.
14817 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14818 a standalone pointer again.
14820 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14822 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
14828 * ToolbarDefaults.C:
14837 * BufferView_pimpl.C: use new file dialog in GUII
14840 * lyx_cb.C: remove LayoutsCB to Toolbar
14842 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14844 * ShareContainer.h (get): add std:: qualifier
14846 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14848 * ShareContainer.h: define a proper ShareContainer::value_type
14849 type (and use typename to please compaq cxx)
14851 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14853 * lyxparagraph.h: move serveral local vars to
14854 ParameterStruct/ParagraphParameters., use ShareContainer in
14855 FontTable., make vars in FontTable private and add getter and
14858 * paragraph.C: changes because of the above.
14860 * lyxfont.h: remove copy constructor and copy assignment. (the
14861 default ones is ok), move number inside FontBits. move inlines to
14864 * lyxfont.C: add number to initializaton of statics, move several
14865 inlines here. constify several local vars. some whitespace
14866 cleanup. Dont hide outerscope variables.
14868 * Spacing.h: add two new constructors to match the set methods.
14870 * ShareContainer.h: new file, will perhaps be moved to support
14872 * ParameterStruct.h: new file
14874 * ParagraphParameters.h: new file
14876 * ParagraphParameters.C: new file
14878 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14879 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14881 * BufferView_pimpl.C: ParagraphParameter changes.
14882 * buffer.C: Likewise.
14883 * bufferview_funcs.C: Likewise.
14884 * text.C: Likewise.
14885 * text2.C: Likewise.
14887 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14889 * lyxfind.C (LyXReplace): do not redefine default argument in
14891 (IsStringInText): ditto
14892 (SearchForward): ditto
14893 (SearchBackward): ditto
14895 2001-03-06 Juergen Vigna <jug@sad.it>
14897 * lyxfind.C (IsStringInText): put parentes around expressions.
14899 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
14901 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14903 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
14905 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14907 * stl_string_fwd.h: add comment
14909 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14912 * tabular.C: remove unused DocBook methods
14918 killed DO_USE_DEFAULT_LANGUAGE
14920 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14922 * lyx_gui.C: do not include language.h.
14924 * bufferview_funcs.C (ToggleAndShow): do not provide optional
14925 arguments in function implementation.
14927 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14929 * BufferView_pimpl.C: add <ctime>
14931 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14933 * BufferView_pimpl.C: add using std::find_if
14935 2001-02-27 José Matos <jamatos@fep.up.pt>
14937 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14940 2001-02-11 José Matos <jamatos@fep.up.pt>
14942 * buffer.C (makeDocBookFile): command styles now have a parameter as
14943 "title" by default.
14945 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
14947 * layout_forms.[Ch]: removed
14948 * lyx_cb.[Ch]: out character
14949 * lyx_gui.C: out character
14950 * lyx_gui_misc.C: out character
14951 * bufferview_funcs.C: : out character,
14952 added toggleall as parameter in ToggleAndShow
14954 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
14956 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14958 * text2.C (SetCurrentFont): Disable number property at boundary.
14960 2001-02-26 Juergen Vigna <jug@sad.it>
14962 * lyxfunc.C (getStatus): added a string argument override function so
14963 that this is correctly called from LyXFunc::Dispatch if it contains a
14964 do_not_use_argument which is used!
14965 (Dispatch): added check for "custom" export and call appropriate func.
14967 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
14969 * lyxrc.C: Add language_command_local, language_use_babel and
14970 language_global_options.
14972 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14974 * buffer.C (makeLaTeXFile): Use language_use_babel and
14975 language_global_options.
14977 2001-02-23 Juergen Vigna <jug@sad.it>
14979 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14980 which works with LyXText and putted it inside BufferView. Here now we
14981 only call for that part the BufferView::Dispatch() function.
14983 * BufferView.C (Dispatch): added.
14985 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14986 functions which needs to use a LyXText over from LyXFunc.
14987 (MenuInsertLyXFile): added
14988 (getInsetByCode): added
14989 (moveCursorUpdate): added
14990 (static TEXT): added
14992 2001-02-22 Juergen Vigna <jug@sad.it>
14994 * BufferView_pimpl.C (update): call a status update to see if LyXText
14997 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14999 * vc-backend.C (revert): implement for CVS
15000 (getLog): implement for CVS
15002 2001-02-20 Juergen Vigna <jug@sad.it>
15004 * text2.C (ClearSelection): added BufferView param for inset_owner call
15006 * lyxfunc.C (TEXT): added this function and use it instead of
15007 directly owner->view()-text of getLyXText().
15009 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
15011 * src/layout_forms.C: out preamble
15012 * src/layout_forms.h: out preamble
15013 * src/lyx_cb.C: out preamble
15014 * src/lyx_cb.h: out preamble
15015 * src/lyx_gui.C: out preamble
15016 * src/lyx_gui_misc.C: out preamble
15017 * src/lyxfunc.C: connect with guii preamble
15019 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
15021 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15023 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
15025 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15026 whether to run bibtex.
15028 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
15030 * Makefile.am (lyx_SOURCES): Remove BackStack.h
15032 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
15034 * Makefile.am (lyx_SOURCES): removed bibforms.h
15036 * vspace.h: doxygen
15038 * text.C (GetVisibleRow): make several local vars const
15040 * tabular.C: small cleanup.
15042 * lyxserver.C (callback): use compare instead of strncmp
15044 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15045 inlines to after class or to paragraph.C
15047 * lyxfont.h: remove friend operator!=
15049 * converter.h: move friend bool operator< to non friend and after
15052 * combox.h: small cleanup
15054 * buffer.h: doxygen, remove unused constructor, move inclas inlies
15055 to inlines after class def.
15057 * buffer.C (pop_tag): use string operations instead of strcmp
15059 * bmtable.c: doxygen, small cleanup
15061 * LaTeX.h: remove friend operator==
15063 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
15075 * BufferView_pimpl.C:
15076 * BufferView.[Ch]: remove cruft
15078 2001-02-14 Juergen Vigna <jug@sad.it>
15080 * lyxfunc.C: removed #if 0 unused code
15082 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15084 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15086 * text2.C (SetSelection): added a BufferView * parameter
15088 2001-02-13 Juergen Vigna <jug@sad.it>
15090 * lyxfunc.C (Dispatch): fixed protected blank problem.
15091 * BufferView2.C (protectedBlank): added LyxText * parameter.
15093 * tabular.C (AppendRow): forgot to set row_info of newly added row.
15094 (AppendColumn): same as above for column_info.
15096 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15097 (moveCursorUpdate): use a LyXText param for support of InsetText.
15099 * BufferView_pimpl.C (doubleClick): added support for InsetText.
15100 (tripleClick): ditto
15102 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15104 * BufferView_pimpl.C (update): added LyXText param to honor insets.
15106 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15108 * text2.C (SetSelection): set correct update status if inset_owner
15109 (ToggleFree): ditto
15111 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
15113 * tabular.C: remove some commented code.
15115 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
15117 * BufferView_pimpl.C: call hideSplash()
15119 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15122 * bibforms.h: remove
15125 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15126 add LFUN_CHILD_CREATE
15128 * counters.h: fix tiny typo
15133 * lyx.C: move splash to frontends/xforms/
15135 * lyx_gui_misc.C: move Include and Bibform to frontends
15137 * lyxvc.h: clarify comment
15139 * vspace.C: tiny housekeeping
15141 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
15143 * text.C (PrepareToPrint): RTL Fix.
15145 * paragraph.C (GetUChar): New method.
15146 (String): Use GetUChar.
15148 * buffer.C (asciiParagraph): Use GetUChar.
15150 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
15152 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15154 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
15157 * buffer.C: rename to getLogName(), handle
15158 build log / latex log nicely
15160 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15163 * MenuBackend.h: remove support for reference menuitem type.
15165 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
15167 * BufferView_pimpl.C: housekeeping
15168 * BufferView_pimpl.h:
15173 * minibuffer.h: move Timeout GUI-I
15175 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
15177 * lyxrc.C (read): Update converters data-structures.
15179 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
15181 * LaTeX.h (operator!=): add operator != for Aux_Info
15183 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
15185 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15187 * LaTeXLog.C: deleted, useful code moved to Buffer
15190 * buffer.C: new function getLatexLogName()
15196 * lyxfunc.C: use frontends for LaTeX and VC logs
15198 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15200 * LaTeX.h: yet another std:: that Allan forgot.
15202 * Variables.C (set): renamed from isset(), because this clashes
15203 with some HP-UX macros (grr).
15205 2001-02-06 Allan Rae <rae@lyx.org>
15207 * LaTeX.h: Another bug fix. Missing std:: this time.
15209 2001-02-04 Allan Rae <rae@lyx.org>
15211 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15212 floats problem. I've left it commented out because it's not quite
15213 correct. It should also test that the current object is a table or
15214 figure inset. But I haven't gotten around to figuring out how to do
15215 that. I *think* it'll be something like: "table" == inset.type()
15217 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15220 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
15222 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15223 all the citation/databases/styles in the auxilary file.
15224 (run): Rerun latex if there was a babel language error.
15226 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
15228 * text.C (Backspace): Preserve the font when changing newline char
15230 (BreakParagraph): If the cursor is before a space, delete the space.
15232 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15234 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
15236 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15237 new argument (code).
15238 (ChangeCitationsIfUnique): New method.
15240 * paragraph.C (GetPositionOfInset): Handle bibkey.
15242 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15244 * BufferView_pimpl.h: change type of Position::par_pos to
15245 LyXParagraph::size_type.
15247 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
15249 * BufferView_pimpl.C (savePosition, restorePosition): Write
15250 messages to minibuffer.
15252 2001-01-28 José Matos <jamatos@fep.up.pt>
15254 * buffer.C (makeDocBookFile): adds support for document language.
15255 A silly restriction on the name of LatexCommand types where removed.
15256 Added support for CDATA sections, allows to chars unescaped, used
15257 among others in code, to avoid escape < and >.
15259 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15261 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15262 saved positions instrad of a stack. Furthermore, a position is
15263 stored using paragraph id/paragraph position.
15265 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15266 Remove LFUN_REF_BACK.
15268 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15270 * converter.C (dvipdfm_options): New method.
15272 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
15274 * vspace.C (isValidLength): Fix for empty input string.
15276 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15278 * LyXAction.C (init): change description of LFUN_FIGURE to
15281 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15283 * LaTeX.C: add using directive
15285 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15287 * MenuBackend.C (expand): Fix the sorting of the formats.
15289 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
15291 * lyx_main.C: tiny error message fix
15293 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15295 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15296 calling fl_initialize(). This fixes the problem with ',' as
15297 decimal separator in text files.
15299 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15301 * trans.C (process): Fix the keymap bug.
15303 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
15305 * LaTeX.C (scanAuxFiles): New method. Provides support for
15306 multiple bibliographies (when using the bibtopic/bibunits pacakges).
15307 (scanLogFile) Scan for "run BibTeX" messages.
15309 * buffer.C (makeLaTeXFile): Do not load the ae package when using
15310 OT1 font encoding. Also, load the aecompl package if the ae
15313 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15315 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15317 * texrow.C (increasePos): turn two error messages into debug
15320 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
15322 * LaTeX.C (scanAux): Handle the \@input macro.
15323 (runBibTeX): Use scanAux().
15325 * language.C (latex_options_): New field.
15327 * LaTeXFeatures.C (getMacros): Add language macros.
15329 * buffer.C (makeLaTeXFile): Small fix.
15331 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15333 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15335 * text2.C: add a using directive.
15337 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
15342 * lyxfunc.C: kill LyXBell.
15344 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
15346 * text.C (IsBoundary): Remove the error message
15348 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15350 * lyxrc.C (setDefaults): Correct initialization value for
15353 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
15355 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15358 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15359 and GotoNextNote().
15361 * src/LyXAction.C: Added reference-next.
15363 * text.C (InsertChar): Use contains instead of strchr.
15365 * lyx_cb.C (MenuInsertLabel): Enable default value code.
15367 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
15369 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15370 alignment commands (when needed).
15372 * text.C (InsertChar): Add ':' to number separator chars.