1 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3 * debug.C (showLevel): do not forget the end-of-line marker
5 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7 * kbmap.C (read): do not stop parsing a bind file when an error
10 2004-04-29 Angus Leeming <leeming@lyx.org>
15 * text2.C: wrap a bunch of #warning statements
16 inside #ifdef WITH_WARNINGS blocks.
18 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
20 * buffer.C: increment format to 233.
22 2004-04-28 Angus Leeming <leeming@lyx.org>
27 s/updateToolbar()/updateToolbars()/
28 s/Toolbar.h/Toolbars.h/
30 2004-04-28 Angus Leeming <leeming@lyx.org>
32 * BufferView.[Ch] (c-tor):
33 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
34 No longer passes these data to the WorkArea generator.
36 2004-04-28 Angus Leeming <leeming@lyx.org>
38 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
40 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
42 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
44 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
46 * output_latex.C (TeXEnvironment): make sure that there is a line
47 break before \end{foo} for the last paragraph of a document
48 (TeXOnePar): if the paragraph is at the end of the document (or
49 inset) and the language has to be reset, then make sure that the
50 line break is _before_ the language command, not after (fixes bug
51 1225); also make sure that the language reset command is the first
52 thing after the paragraph (to ensure proper nesting of
53 environments and thus fix bug 1404)
55 2004-04-21 John Levon <levon@movementarian.org>
58 * ToolbarBackend.C: make "name" be a programmatic name
61 * lyxfunc.C: display the minibuffer on M-x
63 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
65 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
68 2004-04-19 Angus Leeming <leeming@lyx.org>
70 * BufferView_pimpl.C (setBuffer): changed preview interface.
72 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
75 2004-04-19 John Levon <levon@movementarian.org>
78 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
80 2004-04-05 Angus Leeming <leeming@lyx.org>
82 * text.C (redoParagraphs): add call to updateCounters(), thereby
83 fixing the missing "Figure #:" label from the caption of a
86 2004-04-13 Angus Leeming <leeming@lyx.org>
88 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
89 cursor is clicked out of an inset.
91 2004-04-13 Angus Leeming <leeming@lyx.org>
93 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
96 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
98 * format.[Ch]: add editor to Format
99 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
100 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
102 2004-04-08 André Pönitz <poenitz@gmx.net>
104 * metricsinfo.h: remove PainterInfo::width member
106 2004-04-08 Angus Leeming <leeming@lyx.org>
108 * lyx_sty.C (boldsymbol_def): modify so that it outputs
109 "\providecommand" rather than "\newcommand", thereby preventing
110 clashes with packages that define "\boldsymbol" themselves.
113 2004-04-08 Angus Leeming <leeming@lyx.org>
115 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
116 thereby squashing an unnecessary warning.
118 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
120 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
123 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
125 * BufferView.C (setCursor): call redoParagraph (some insets could
127 (putSelectionAt): remove the 'double update' trick
129 * BufferView_pimpl.C (fitCursor): call refreshPar
130 (workAreaDispatch): remove an uneeded update call
131 (dispatch): remove some manual update calls
133 * cursor.[Ch]: remove cached_y_, updatePos
134 (selHandle): set noUpdate when appropriate
136 * lyxfunc.C (dispatch): track if we need an update
138 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
140 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
141 (paintSelection): cheap optimization, do not call cursorX when not
143 (paintPars): change signature
146 (paintTextInset): adjust
150 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
152 * lengthcommon.C: compilation fix: remove explicit array size from
153 unit_name[] and friends
155 2004-04-05 Angus Leeming <leeming@lyx.org>
157 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
159 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
160 present only for the preferences dialog.
161 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
163 2004-04-05 Angus Leeming <leeming@lyx.org>
165 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
166 to enable the frontends to export changes to lyxrc correctly.
168 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
170 2004-04-07 André Pönitz <poenitz@gmx.net>
172 * cursor.[Ch] (selClear, adjust): remove math
174 * cursor_slice.C: more agressive assert
177 * BufferView_pimpl.C: rework mouse event dispatch
184 2004-04-05 André Pönitz <poenitz@gmx.net>
186 * cursor.[Ch] (valign, halign...): remove unneeded functions
188 2004-04-05 Angus Leeming <leeming@lyx.org>
190 * lyxlength.[Ch] (unit_name et al.): const-correct.
192 2004-04-05 Angus Leeming <leeming@lyx.org>
194 * BufferView_pimpl.C:
203 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
205 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
207 * text3.C (getStatus): add LFUN_BEGINNINGBUF
209 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
211 * lyxfind.C: add a couple of inTexted() tests + other small fixes
212 * BufferView_pimpl.[Ch] (getStatus)
213 * BufferView.[Ch] (getStatus): add
214 * lyxfunc.C (getStatus): move lfuns handled in
215 BufferView::dispatch to te function above
216 * Cursor.C (setSelection): set selection() = true
218 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
220 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
222 2004-03-31 Angus Leeming <leeming@lyx.org>
224 * lyxfunc.C (dispatch): Fall through to the generic
225 Dialogs::show("preamble").
227 2004-03-31 Angus Leeming <leeming@lyx.org>
229 * lyxfunc.C (dispatch): Fall through to the generic
230 Dialogs::show("spellchecker").
232 2004-03-31 Angus Leeming <leeming@lyx.org>
234 * lyxfunc.C (getStatus, dispatch): changed invocation of the
237 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
242 * insetiterator.[Ch]:
247 * undo.[Ch]: s/DocumentIterator/DocIterator/g
249 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
251 * BufferView.C (setCursor, putSelectionAt): call edit to open the
252 insets where we are putting the cursor.
254 2004-03-31 Angus Leeming <leeming@lyx.org>
257 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
259 * lyxrc.[Ch] (read, write): overloaded member functions taking
260 a std::[io]stream arguments.
262 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
264 2004-03-31 Angus Leeming <leeming@lyx.org>
266 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
267 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
269 * lyxtextclass.C (load): if the text class couldn't be loaded, then
270 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
272 2004-03-31 Angus Leeming <leeming@lyx.org>
274 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
275 the LFUN_ALL_INSETS_TOGGLE code.
277 2004-03-30 Angus Leeming <leeming@lyx.org>
279 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
280 has died. Fall through to the generic Dialogs::show("document").
282 2004-03-30 Angus Leeming <leeming@lyx.org>
285 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
286 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
288 * lyxfunc.C (getStatus, dispatch): define the actions for these
289 lfuns. Little more than a cut and pste job from ControlDocument.C
291 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
293 2004-03-30 Angus Leeming <leeming@lyx.org>
296 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
297 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
299 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
300 open/closed state of ollapsable insets. Usage:
302 all-inset-toggle <state> <name>, where
303 <state> == "open" || "closed" || "toggle" and
304 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
306 * lyxtext.h, text2.C (toggleInset): removed.
308 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
309 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
310 now passes LFUN_INSET_TOGGLE to the found inset.
312 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
313 is now invoked as "all-insets-toggle toggle branch".
315 2004-03-30 Angus Leeming <leeming@lyx.org>
319 * pariterator.[Ch]: added/corrected header blurb.
321 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
323 * dociterator.[Ch]: add an inset_ member
324 (backwardPos): implemented
325 (backwardPos, forwardPos): use inset_ when the stack is empty.
326 (doc_iterator_begin, doc_iterator_end): implemented
327 * pariterator.[Ch]: adjust, add begin, end
328 * insetiterator.[Ch]: adjust, add begin, end
332 * BufferView_pimpl.C:
333 * CutAndPaste.C: adjust
335 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
337 * buffer.C: increment file format to 232.
338 * LaTeXFeatures.C: add bibtopic package.
339 * bufferparams.[Ch]: param \use_bibtopic.
341 * lyxrc.[Ch]: add lyxrc bibtex_command
342 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
344 * buffer.C: increment file format to 231.
346 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
348 * dociterator.C: implement forwardPar
349 * iterators.[Ch]: remove, replaced by
350 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
352 * BufferView_pimpl.C:
355 * bufferview_funcs.C:
361 * Makefile.am: adjust
363 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
365 * CutAndPaste.C (pasteSelection): fix 2 crashes
366 (eraseSelection): fix a crash
367 * paragraph_funcs.C: remove a warning
369 2004-03-28 Angus Leeming <leeming@lyx.org>
372 * LyXAction.C (init): new LFUN_PRINT.
374 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
376 2004-03-27 Angus Leeming <leeming@lyx.org>
379 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
381 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
383 2004-03-27 Angus Leeming <leeming@lyx.org>
385 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
386 insetlist always contains non-null pointers to insets.
388 2004-03-26 Angus Leeming <leeming@lyx.org>
390 * src/BufferView_pimpl.C:
394 * src/output_plaintext.C:
395 * src/outputparams.h:
396 * src/paragraph_funcs.C:
400 * src/frontends/controllers/ControlErrorList.C:
401 * src/frontends/gtk/FileDialogPrivate.C:
402 * src/frontends/gtk/GPainter.C:
403 * src/frontends/gtk/GToolbar.C:
404 * src/frontends/qt2/QRef.C:
405 * src/mathed/math_scriptinset.C: squash compiler warnings.
407 2004-03-26 Angus Leeming <leeming@lyx.org>
409 * ispell.C (LaunchIspell::start):
410 * lyx_cb.C (AutoSaveBuffer::start):
411 invoke run(DontWait) rather than runNonBlocking().
413 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
415 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
417 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
419 * kbsequence.C (print): adjust
421 * kbmap.C (printKeySym): rename and change signature
422 (printKey): use LyXKeySym::print()
424 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
426 * undo.C: add using std::advance to compile for stlport
428 2004-03-24 Angus Leeming <leeming@lyx.org>
430 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
431 it leads to a crash when no buffer is present.
433 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
434 Martin Vermeer <martin.vermeer@hut.fi>
436 * lyxfunc.C (dispatch):
437 * bufferparams.C (readToken): use the new LColor::setColor
439 * LColor.[Ch] (setColor): new version that takes two strings as
440 argument and creates a new color entry if necessary
442 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
444 * buffer.C (makeLaTeXFile): if the main latex file that is
445 processed is usually a subdocument of some master, then pretend
446 for a while that it is actually the master
448 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
450 * buffer.C (getLabelList):
451 (getBibkeyList): use getMasterBuffer()
452 (getMasterBuffer): new method. Returns the main document in the
453 case where one is using included documents.
455 2004-03-25 André Pönitz <poenitz@gmx.net>
459 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
461 * ParagraphList_fwd.h: change ParagraphList to a std::vector
463 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
464 text*.C over here. Rename namespace CutAndPaste to lyx::cap
466 * ParameterStruct.h: merge with ParagraphParameters
468 * lyxtext.h: remove LyXText::parOffset() and getPar()
470 * text3.C: Remove all 'manual' update calls. We do now one per user
471 interaction which is completely sufficient.
475 * BufferView_pimpl.C:
478 * ParagraphParameters.[Ch]:
490 * output_docbook.[Ch]:
492 * output_linuxdoc.[Ch]:
493 * output_plaintext.[Ch]:
495 * paragraph_funcs.[Ch]:
496 * paragraph_pimpl.[Ch]:
504 * frontends/controllers/ControlDocument.C:
505 * frontends/controllers/ControlErrorList.C:
506 * frontends/controllers/ControlSpellchecker.C:
509 * insets/insetbase.h:
510 * insets/insetbibitem.C:
512 * insets/insetbranch.C:
513 * insets/insetcaption.C:
514 * insets/insetcharstyle.C:
515 * insets/insetcharstyle.h:
516 * insets/insetcollapsable.C:
517 * insets/insetcollapsable.h:
519 * insets/insetfloat.C:
520 * insets/insetfoot.C:
521 * insets/insetmarginal.C:
522 * insets/insetnote.C:
523 * insets/insetoptarg.C:
524 * insets/insettabular.C:
525 * insets/insettext.C:
526 * insets/insettext.h:
527 * insets/insetwrap.C:
528 * mathed/math_mboxinset.C:
529 * mathed/math_nestinset.C:
530 * mathed/math_scriptinset.C:
531 * mathed/math_scriptinset.h:
534 2004-03-24 Angus Leeming <leeming@lyx.org>
536 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
537 deal with any child processes that have finished but are waiting to
538 communicate this fact to the rest of LyX.
540 2004-03-24 Angus Leeming <leeming@lyx.org>
542 64-bit compile fixes.
544 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
545 (c-tor): pass lyx::pos_types rather than ints.
547 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
550 * text.C (Delete): compile fix.
551 (getPar): ensure that function declaration is the same as that in
554 2004-03-23 Angus Leeming <leeming@lyx.org>
556 * ispell.C (LaunchIspell):
557 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
558 a boost::shred_ptr rather than a std::auto_ptr.
560 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
562 * lyxfunc.C (getStatus): handle read-only buffers correctly;
563 handle LFUN_FILE_INSERT_*
565 * lyxrc.C (setDefaults, getDescription, output, read):
566 * lyxrc.h: remove ps_command
568 2004-03-22 Angus Leeming <leeming@lyx.org>
570 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
571 Ensure that error_handler is processed once only and that all data
572 is saved before attempting to output any warning messages.
574 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
576 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
578 * tabular.C (TeXRow): crash fix (from Kayvan and André)
580 2004-03-19 André Pönitz <poenitz@gmx.net>
582 * cursor.[Ch] (reset): take main text inset as argument
585 * BufferView_pimpl.C: adjust
587 * paragraph.[Ch]: fix completely broken operator=()
589 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
591 * LColor.C (getFromLyXName): make sure that the color name is used
594 2004-03-17 Angus Leeming <leeming@lyx.org>
597 * LyXAction.C (init): remove LFUN_FORKS_KILL.
599 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
600 dialog and to kill a forked process.
602 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
604 * text2.C (setCursorFromCoordinates): fix font problem
606 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
608 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
609 bogus "rebuild cursor" code
611 2004-03-11 André Pönitz <poenitz@gmx.net>
613 * buffer.[Ch]: use InsetText instead of LyXText as container for
616 * dociterator.[Ch]: drop the BufferView * member which is not needed
617 anymore after the change to buffer.C
623 * BufferView_pimpl.[Ch]:
625 * cursor_slice.[Ch]: adjust
627 * text3.C: fix bug in mathDispatch
629 2004-03-08 André Pönitz <poenitz@gmx.net>
631 * undo.[Ch]: use 'StableDocumentIterator' as base for
634 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
637 * bufferparams.[Ch]: add jurabib support and param.
639 * LaTeX.C: add FIXME/comment.
641 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
643 * buffer.C: increment file format to 230.
645 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
647 * cursor.C (dispatch): avoid infinite loops
649 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
651 * rowpainter.C (paintSelection): fix x coordinates
653 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
655 * text.C (rowBreakPoint): fix breaking before displayed insets
657 2004-03-01 André Pönitz <poenitz@gmx.net>
659 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
661 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
665 * BufferView_pimpl.C:
673 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
679 * BufferView_pimpl.C: rename textwidth -> maxwidth,
680 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
682 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
684 * Bidi.[Ch] (computeTables): const correctness
685 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
686 fill_hfill, fill_label_hfill and x from Row
687 * lyxtext.h: prepareToPrint returns a RowMetrics
688 * rowPainter.C: adjust
689 * text.C (prepareToPrint): use width, not textWidth. adjust
690 (redoParagraphInternal, cursorX): adjust
691 * text2.C (getColumnNearX): adjust
692 (init): put a default value to the top LyXText::width
694 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
696 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
698 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
700 * lyxtext.h: add FontIterator class
702 * text.C (FontIterator, operator*, operator->, operator++): add
703 (rowBreakPoint, setRowWidth): adjust (fixing a
706 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
708 * BufferView_pimpl.C (workAreaDispatch): allow also
709 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
711 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
713 * text.C (rowBreakPoint): fix a bug showing with very large insets
715 2004-02-25 André Pönitz <poenitz@gmx.net>
718 * cursor.[Ch]: move some mathed specific code to mathed
720 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
722 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
723 use_tempdir in preferences
724 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
726 * lyx_main.C: ensure that tempdir is valid
727 * lyxlex.h: correct typo
728 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
729 * paragraph.[Ch] (isMultiLingual): make const
730 * cursor.[Ch] (openable): make const
732 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
734 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
736 2004-02-20 André Pönitz <poenitz@gmx.net>
738 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
740 * cursor.[Ch]: prepare for localized getStatus()
746 * text3.C: streamlines the LyXText cursor movement handlers a bit.
748 2004-02-20 André Pönitz <poenitz@gmx.net>
750 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
752 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
754 * text2.C (setCursorFromCoordinates): switch to absolute coords
757 * text3.C (dispatch): adjust
759 2004-02-16 André Pönitz <poenitz@gmx.net>
761 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
764 * cursor_slice.[Ch]: remove unneeded acessor function
766 * lyxtext.h: rename rtl() to isRTL()
774 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
776 * rowpainter.C (paintSelection): coord fix
778 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
780 * Spacing.C: compile fix
782 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
784 * cursor.C (dispatch): restore current_ before returning
786 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
788 * text2.C (cursorUp, cursorDown): fix coords
791 2004-02-12 André Pönitz <poenitz@gmx.net>
796 * text3.C: add LCursor & parameter to most cursor movement functions
797 remove usage of LyXText::cursorRow() and cursorPar()
799 * cursor.[Ch]: add textRow() needed members
802 * BufferView_pimpl.C:
805 * BufferView_pimpl.C: adjust
807 2004-02-11 André Pönitz <poenitz@gmx.net>
811 * BufferView_pimpl.C: shift undo/redo handling
813 * cursor.[Ch]: fix mathed crash
816 * lyxtext.h: move selectionAsText to LCursor
824 * rowpainter.C: fix excessive drawing
826 2004-02-06 André Pönitz <poenitz@gmx.net>
829 * BufferView_pimpl.[Ch]:
830 * text3.C: move some text specific LFUN handling
832 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
834 * text3.C (checkInsetHit): adjust coords
835 * text2.C (getColumnNearX): adjust coords
836 (edit): adjust coords
837 * text.C (getRowNearY): add two asserts
839 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
842 * format.C: add using std::distance to compile on gcc 2.95/stlport
844 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
846 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
848 2004-02-04 André Pönitz <poenitz@gmx.net>
850 * BufferView.[Ch] (insertInset):
851 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
856 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
858 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
859 on the default clause of the switch
860 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
861 wasn't catched by LCursor::dispatch
863 2004-02-03 André Pönitz <poenitz@gmx.net>
866 * cursor.[Ch]: some additional asserts
868 * undo.[Ch]: remove LyXText dependency in interface
872 * lyxtext.h (firstPar, lastPar): remove dead functions
877 * paragraph.[Ch]: adjust
879 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
881 * lyxfind.C (find): fix argument order in call to ::find
883 2004-02-02 André Pönitz <poenitz@gmx.net>
885 * cursor.[Ch]: remove direct access to anchor
887 * text.C: remove findText() hack
889 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
891 * iterators.[Ch] (lockPath): remove in favour of...
892 * BufferView.[Ch] (setCursor): this addition
893 * BufferView.C (putSelectionAt): adjust
894 * undo.C (performUndoOrRedo): adjust
895 * lyxfunc.C (dispatch): adjust
897 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
899 * iterators.C (lockPath): add a missing slice
900 * undo.C (performUndoOrRedo): remove redundant positioning code
902 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
904 * vc-backend.C (scanMaster): ";" -> ';'
906 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
908 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
911 * lyxtextclass.C (compare_name): rename to...
912 (LayoutNamesEqual): ...this
914 * lyxlex_pimpl.C (compare_tags): inherit from
915 std::binary_function, put back into anon namespace
917 * lyxfind.C (MatchString): inherig from std::binary_function
918 (findChange): use empty() istead of !size()
920 * format.C (FormatNamesEqual): new functor
927 * converter.C (compare_Converter): rename to...
928 (ConverterEqual): ...this, and fixup a bit.
929 (getConverter): use it, and make function const
930 (getNumber): use it, and make function const
934 * bufferlist.C: add using boost::bind
936 * MenuBackend.C (MenuNamesEqual): new functor
937 (hasMenu): use it, and make function const
938 (hasSubmenu): use nested bind to get rid of compare_memfun.
940 2004-01-30 André Pönitz <poenitz@gmx.net>
942 * BufferView_pimpl.C:
953 * text3.C: move some of the edit(x,y) handling to the insets
954 some coordinate changes.
956 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
958 * text.C: add using statements for std::advance and std::distance
960 * paragraph.C: add using statement for std::distance
962 * lyxfind.C: add using statement for std::advance
964 * cursor.C (region): remove std:: from swap
965 (openable): use nucleus in stead of operator->
967 * BufferView.C: add using statements for std::distance and std::swap
969 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
971 * iterators.C: Remove the pimple, move the needed structures to
972 the header file. Create accessor for the positions stack.
973 (asPosIterator): remove function
975 * PosIterator.C (PosIterator): move constructors to top of file
976 (PosIterator): reimplement the constructor taking a ParIterator in
978 (setFrom): new function
979 (operator!=): inline it
981 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
983 * lyxfind.C (replaceAll): use std::advance
985 * iterators.h: inherit from std::iterator.
987 * PosIterator.C (advance, distance): remove
988 * PosIterator.h: interit from std::iterator.
990 2004-01-26 André Pönitz <poenitz@gmx.net>
993 * BufferView_pimpl.[Ch]:
997 * bufferview_funcs.C:
1007 * output_linuxdoc.C:
1008 * output_plaintext.C:
1010 * paragraph_funcs.[Ch]:
1011 * paragraph_pimpl.[Ch]:
1017 * text3.C: more IU: dumps most of the rest of the mathcursor
1018 implementation into cursor.[Ch]; "globalize" a bit of it.
1020 2004-01-25 Angus Leeming <leeming@lyx.org>
1022 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1024 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1026 * LaTeXFeatures.h: add nice_ and nice() const
1027 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1029 2004-01-20 André Pönitz <poenitz@gmx.net>
1032 * BufferView_pimpl.C:
1034 * bufferview_funcs.C:
1036 * cursor_slice.[Ch]:
1047 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1048 LCursor and mathcursor parts to LCursor and InsetBase.
1050 2004-01-15 André Pönitz <poenitz@gmx.net>
1052 * cursor_slice.[Ch]: add a few covienience functions
1054 * funcrequest.[Ch]: remove BufferView * member
1056 * BufferView_pimpl.C:
1063 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1065 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
1067 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1068 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1070 2004-01-13 André Pönitz <poenitz@gmx.net>
1073 * lyxtext.h: hide cursor and selection anchor behind accessor function
1076 * BufferView_pimpl.[Ch]:
1078 * bufferview_funcs.C:
1088 * cursor_slice.[Ch]: some integer type changes for inset unification
1090 * lyxcursor.[hC]: remove, it's CursorSlice now.
1093 * BufferView_pimpl.[Ch]:
1094 * bufferview_funcs.C:
1100 * textcursor.[Ch]: adjust
1102 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
1104 * text2.C (undoSpan): add and use
1105 * text.C (breakParagraph): use undoSpan (fix bug 578)
1108 2004-01-08 Angus Leeming <leeming@lyx.org>
1110 * BufferView_pimpl.C (MenuInsertLyXFile):
1111 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1112 * lyxfunc.C (menuNew, open, doImport):
1113 FileFilterList change to the FileDialog open and save functions.
1115 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1117 * ShareContainer.h: make isEqual and isUnique adaptable
1119 * CutAndPaste.C: make resetOwnerAndChanges adaptable
1121 2004-01-07 Angus Leeming <leeming@lyx.org>
1124 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1126 * BufferView_pimpl.C (dispatch): act on these LFUNs.
1128 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1129 functions replacing find, replace and replaceAll.
1131 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1132 LFUN_WORDFIND(FORWARD|BACKWARD).
1134 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1136 * text.C (breakParagraph): remove an outdated #warning
1138 2004-01-07 André Pönitz <poenitz@gmx.net>
1140 * lyxfind.C: somewhat clearer logic
1142 * text.C: prevent crash in cursorX on unitialized row cache
1144 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1146 * lyxcursor.[Ch] (operator>): add
1147 * textcursor.C (selStart, selEnd): use std::min and std::max
1149 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1151 * Chktex.C: include boost/format.hpp
1153 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1155 * InsetList.C: replace functor MathcIt with adaptable functor
1157 (insetIterator): modify accordingly
1159 * BranchList.h: move the BranchNamesEqual functor here from...
1160 * BranchList.C: ... to here
1162 * BranchList.C: new BranchListEqual fuctor, use it. Remove
1164 (add): replace a finding loop with std::find_if.
1166 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
1168 * output_docbook.C: moving LatexParam functionality into
1171 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1173 * buffer.C: increment format to 229.
1175 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
1178 * lyx_sty.[Ch]: remove minipageindent_def
1184 * text3.C: remove LFUN_INSET_MINIPAGE
1186 2003-12-28 Angus Leeming <leeming@lyx.org>
1188 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1190 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
1192 * text2.C (setParagraph): fix off-by-one crash
1194 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
1196 * output_docbook.C: header stuff for AGU
1198 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
1200 * text2.C (redoCursor): remove
1203 * BufferView_pimpl.C: remove calls to redoCursor and
1204 setCursor(cursor.par(), cursor.pos()) all around
1206 2003-12-15 Angus Leeming <leeming@lyx.org>
1208 * buffer.C: up the format to 228.
1210 2003-12-15 André Pönitz <poenitz@gmx.net>
1212 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1217 * BufferView_pimpl.C:
1226 2003-12-15 Angus Leeming <leeming@lyx.org>
1228 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1229 than getFromGUIName to manipulate the color.
1231 2003-12-14 Angus Leeming <leeming@lyx.org>
1233 * BranchList.[Ch]: minimize the API.
1234 (Branch::getBranch, getColor): now return a 'const &'.
1235 (Branch::setSelected) now returns a bool set to true if the
1236 selection status changes.
1237 (BranchList::clear, size, getColor, setColor, setSelected,
1238 allBranches, allSelected, separator): removed.
1239 (BranchList::find): new functions, returning the Branch with
1241 (BranchList::add, remove): return a bool indicating that
1242 the operation was successful.
1244 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1245 new InsetBranch::isBranchSlected member function.
1247 * LColor.[Ch]: mimimize the API.
1248 (fill): renamed as addColor and made private.
1249 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1250 versions of these functions taking a string arg have been removed.
1252 * bufferparams.C (readToken):
1253 * lyxfunc.C (dispatch):
1254 * lyxrc.C (read): changes due to the altered BranchList and
1257 * factory.C (createInset, readInset): changes due to altered
1260 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1263 * lyxfunc.C: remove insetminipage. "minipage-insert"
1264 now produces a frameless minipage box inset.
1266 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1268 * textcursor.[Ch] (selStart,selEnd): add new methods
1269 remove selection::start, end, use LyXCursor::operator<
1270 * lyxcursor.[Ch] (operator<): add
1271 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1272 * BufferView.[Ch] (unsetXSel): add
1273 * text2.C (clearSelection): use unsetXSel,adjust
1276 * rowpainter.C: adjust
1277 * bufferview_funcs.C (put_selection_at): adjust
1279 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1281 * BufferView_pimpl.C: small coord. correction
1283 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1285 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1286 dragging over the splash screen.
1288 2003-12-11 Angus Leeming <leeming@lyx.org>
1290 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1291 as it is now handled in LyXText::dispatch.
1293 * text3.C (doInsertInset): remove a level of nesting.
1295 2003-12-11 Angus Leeming <leeming@lyx.org>
1297 * factory.C (createInset): changes due to the changed interface to
1298 InsetCommandMailer::string2params.
1300 2003-12-10 Angus Leeming <leeming@lyx.org>
1302 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1303 'dialog-show-new-inset <inset name>'
1305 2003-12-10 Angus Leeming <leeming@lyx.org>
1307 * buffer.C: up the format to 227.
1309 * factory.C: the box inset is now identified simply by 'Box'.
1311 2003-12-10 Angus Leeming <leeming@lyx.org>
1313 * buffer.C: up the format to 226.
1315 * factory.C: the note inset is now identified simply by 'Note'.
1317 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
1319 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1320 when a pit is enough. Standarize a couple of loops.
1322 2003-12-05 Angus Leeming <leeming@lyx.org>
1324 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1325 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1326 data to the re-worked "log" dialog.
1328 2003-12-03 André Pönitz <poenitz@gmx.net>
1334 * paragraph_funcs.C:
1336 * text2.C: use Inset::getText instead of Inset::getParagraph
1338 2003-12-03 André Pönitz <poenitz@gmx.net>
1342 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1343 InsetText::read() as LyXText::read()
1345 2003-12-02 Angus Leeming <leeming@lyx.org>
1347 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1348 type. Add a comment in the implementation that the function uses
1349 the stream's bad() function rather than fail() as the std::streams
1352 2003-12-02 André Pönitz <poenitz@gmx.net>
1354 * lyxlex.[Ch]: make interface more similar to std::stream
1356 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1358 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1360 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1362 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1364 * vspace.[Ch]: remove VSpace::NONE
1366 2003-12-01 André Pönitz <poenitz@gmx.net>
1369 * lyxtext.h: move ParagraphList member to LyXText
1370 rename LyXText::ownerParagraphs to LyXText::paragraph
1373 * bufferview_funcs.C:
1383 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1385 * undo.C: fix cursor positioning
1387 2003-12-01 John Levon <levon@movementarian.org>
1389 * BufferView_pimpl.C: fix a crash on exit with
1392 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
1394 * BranchList.C: fix setSelected() method.
1396 2003-11-28 André Pönitz <poenitz@gmx.net>
1398 * ParagraphParameters.[Ch]:
1399 * ParameterStruct.h: remove space above/below from Paragraph to
1402 * BufferView_pimpl.C:
1408 * paragraph_funcs.C:
1414 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1416 * factory.C: Syntax change for CharStyles
1418 2003-11-28 André Pönitz <poenitz@gmx.net>
1423 * buffer.[Ch]: move LyXText member
1425 2003-11-28 André Pönitz <poenitz@gmx.net>
1427 * BufferView.[Ch]: make LyXText * text a private member
1429 * BufferView_pimpl.C:
1440 * output_plaintext.C: cleanup
1442 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1445 * lyxtextclass.[Ch]: parametrize SGML document header
1447 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1450 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1453 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1455 * text2.C (setFont): rework using PosIterator (no more recursive)
1456 (setCharFont): no more needed
1457 (setLayout): no more selection cursors fiddling (done by redoCursor)
1458 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1459 destroy remaining ones)
1461 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
1463 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1465 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1468 * text3.C: adjust + re-allow multi par depth changes
1469 * textcursor.C: simplify a bit
1471 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
1477 * src/output_docbook.C:
1478 * src/output_latex.C:
1483 * src/text2.C: Introducing a number of tags parametrizing various
1484 XML formats that we may want to support
1486 2003-11-25 André Pönitz <poenitz@gmx.net>
1488 * InsetList.[Ch] (begein, end): inline as suggested by profiler
1490 * lyxtext.h (leftMargin/rightMargin): simplify interface
1497 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1499 * lyxfunc.C (dispatch): propogate the bibtex databases from the
1500 master file to any child files. Fixes bug 546.
1502 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1504 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1506 2003-11-24 André Pönitz <poenitz@gmx.net>
1508 * rowpainter.C: simplification
1510 * text2.C (updateCounters): remove call to redoParagraph on
1511 changed labels as this is far too expensive.
1513 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1515 * converter.C (convert): fix a crash: this function gets
1516 called with buffer == 0 from importer code.
1518 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1520 * text3.C (cursorPrevious): make sure that we do not compare
1521 iterators form different containers.
1524 * rowpainter.C (paintSelection): make sure that we do not compare
1525 iterators from different containers.
1527 * text3.C (dispatch): [PRIOR] make sure that we do not compare
1528 iterators from different ParagraphList containers.
1531 * text2.C (LyXText): change order of initialization slightly
1532 (operator=): new function. copy all variables except cache_par_
1533 (moveUp): make sure that we do not compare iterators from
1534 different ParagraphList constainers.
1537 * text.C (firstPar): new function
1538 (lastPar): new function
1539 (endPar): new function
1541 * lyxtext.h: move things around and group public functions, public
1542 variables, private functions, private variables
1544 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1546 * factory.C: change call to InsetERT constructor to avoid
1547 additional invocation of method status
1548 * text2.C (toggleInset): remove redundant update() call
1549 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1550 instead of a Bufferview pointer
1552 2003-11-21 André Pönitz <poenitz@gmx.net>
1554 * rowpainter.C: simplification
1556 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1558 * text3.C (dispatch): make possible to extend a word/row selection
1561 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1563 * lyxtext.h: x0_,y0_ -> xo_,yo_
1564 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1565 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1566 * rowpainter.C (paintRows): paint full paragraphs
1568 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1570 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1573 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1575 * lyxtext.h: add x0_, y0_
1576 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1577 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1579 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
1581 * text2.C (setCursorIntern): move the x_target update here *
1582 * text3.C: change some bv() to true/false in calls to
1583 cursorUp/Down/Right/Left
1584 * cursor.C: use helper function.
1586 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1588 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1589 * paragraph_funcs.[Ch]: correct comment
1590 * rowpainter.C: do not paint selections away from bv->cursor()
1591 Fix a long standing selection painting bug.
1592 * text3.C: generalize mouse-selection code to LyXTexts other that
1594 * textcursor.C: do not use y coords if we can use par offsets
1596 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1598 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1599 cursor position after e.g. inset insert)
1601 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
1603 * lyxfind.C (replace): adjust to locking removal + some
1606 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
1608 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1611 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
1614 * output_docbook.C: XML sanitation: new layout
1615 parameters InnerTag and CommandDepth
1617 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
1619 * BufferView_pimpl.C:
1621 * text3.C: Fix the insertion and modification of button-style
1624 2003-11-13 André Pönitz <poenitz@gmx.net>
1626 * InsetList.[Ch]: remove deleteLyXText
1628 * paragraph.[Ch]: cache beginOfBody position
1633 * text3.C: remove superfluous update() calls
1637 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1639 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1640 * BufferView.C (fitLockedInsetCursor): remove
1641 * cursor.[Ch] (getDim): add
1642 * text.C (getRowNearY): add faster version
1643 * text3.C: remove some update calls
1645 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1657 * text3.C: The Character Style /XML short element patch.
1659 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
1662 * factory.C: Small step to solving 'unable to insert some insets'
1665 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1667 * cursor.[Ch] (updatePos): new function for updating the y
1668 position of the tip inset
1669 * bufferview_funcs.C (put_selection_at):
1670 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1672 2003-11-11 André Pönitz <poenitz@gmx.net>
1674 * text.C: remove big comment on invalid Paragraph pointers as it is
1677 2003-11-11 André Pönitz <poenitz@gmx.net>
1679 * text_funcs.[Ch]: merge with ...
1687 * Makefile.am: remove text_funcs.[Ch]
1689 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1691 * cursor.C (getPos): return absolute cached y coord
1693 * BufferView_pimpl.C (fitCursor): new simplistic code
1694 (workAreaDispatch): add a fitCursor call
1696 2003-11-10 André Pönitz <poenitz@gmx.net>
1699 * BufferView_pimpl.[Ch]: merge update() and updateInset()
1701 2003-11-10 André Pönitz <poenitz@gmx.net>
1703 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1704 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1705 indicate that the cursor needs to leave an inset
1707 * lyxtext.h: remove inset locking
1709 * cursor.[Ch]: re-implement functionality provided by inset locking
1712 * BufferView_pimpl.[Ch]:
1714 * bufferview_funcs.[Ch]:
1726 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1728 * PosIterator.[Ch]: replace the stack with a vector, add inset
1730 * iterators.[C]: adjust
1732 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1734 * lyxfind.C (replaceAll): mark the buffer dirty if something was
1736 * paragraph_funcs.C (readParToken): put the correct id in the
1737 error item, not the id of the top paragraph
1739 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1741 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1742 * bufferview_funcs.C (put_selection_at): use the above
1744 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1746 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1748 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1750 * output_linuxdoc.h:
1751 * output_plaintext.h:
1753 * output_docbook.h: add #include statements
1755 2003-11-05 José Matos <jamatos@lyx.org>
1757 * output_docbook.[Ch]:
1758 * output_latex.[Ch]:
1759 * output_linuxdoc.[Ch]:
1760 * output_plaintext.[Ch]: New files for output formats.
1761 * output.[Ch]: New file for helper functions.
1764 * paragraph_funcs.[Ch]: output functions moved to new files.
1766 * outputparams.h: rename of latexrunparams.h
1774 * paragraph_funcs.[Ch]:
1775 * paragraph_pimpl.[Ch]:
1776 * tabular.[Ch]: rename ascii to plaintext
1777 and LatexRunParams to OutputParams.
1779 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1781 * iterators.[Ch] (text): require bv argument
1782 * undo.C (recordUndo):
1783 * lyxfunc.C (dispatch):
1784 * bufferview_funcs.C (put_selection_at): adjust
1786 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
1788 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1790 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1792 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1795 2003-11-04 André Pönitz <poenitz@gmx.net>
1797 * cursor.[Ch]: restructure
1800 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1802 * iterators.[Ch] (asCursor): remove
1804 * lfuns.h: remove LFUN_INSET_EDIT
1810 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1812 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1814 * lyxfind.[Ch]: complete overhaul
1815 * BufferView_pimpl.C:
1817 * paragraph.[Ch] (insert): add
1819 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1823 * text.C: remove dead spellcheck code
1825 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1827 * dispatchresult.h: add a val setter
1829 * cursor.C (dispatch): use a tempvar for data_[i]
1831 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1833 * PosIterator.[Ch]: compile fix
1835 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1837 * text.C (cursorPar): deactivate the cursor cache
1839 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1841 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1843 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1845 * text3.C (dispatch): adjust for new DisptchResult semantics.
1847 * lyxfunc.C (dispatch): handle update when return from
1848 Cursor::dispatch, adjust for new DispatchResult semantics.
1850 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1851 DispatchResult(true) mean to not update. Add class functions for
1852 setting dispatched and update, as well as reading.
1854 * cursor.C (dispatch): don't handle update here
1856 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1858 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1859 * trans_mgr.C: adjust
1861 * paragraph_funcs.C (readParToken): exception safety
1863 * lyxvc.h: store the vcs pointer in a scoped_ptr
1866 * lyxsocket.C (serverCallback): exception safety
1868 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1870 * ispell.C (clone): make it return a auto_ptr
1872 * factory.C (createInset): exception safety
1873 (readInset): exception safety
1875 * bufferlist.C (newBuffer): exception safety
1877 * Thesaurus.C (Thesaurus): use initialization for aik_
1879 * MenuBackend.C (expandToc): exception safety.
1881 2003-11-03 André Pönitz <poenitz@gmx.net>
1885 * bufferview_funcs.C: remove getInsetFromId()
1888 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1894 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1896 * PosIterator.C (distance, advance): new
1897 * bufferview_funcs.[Ch] (put_selection_at): new
1898 * iterators.[Ch] (lockPath): new
1900 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
1902 * iterators.[Ch] (asPosIterator): added
1903 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1904 * PosIterator.[Ch]: added
1906 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1910 * cursor.C (dispatch):
1911 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1913 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1914 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1915 contructor, add a class function dispatched. Remove operator>=
1917 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1919 * debug.C: only use the default constructor for debugstream
1922 * main.C (main): include debug.h and setup the lyxerr streambuf
1925 2003-10-31 José Matos <jamatos@lyx.org>
1927 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1929 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1930 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1931 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1932 * paragraph_pimpl.C (simpleTeXSpecialC):
1933 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1934 add LatexRunParams argument.
1936 * exporter.C (Export): change call accordingly.
1938 * latexrunparams.h: add new member to take care of the other backends.
1939 2003-10-30 José Matos <jamatos@lyx.org>
1941 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1942 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1943 factorise code for paragraph output.
1945 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1948 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1950 * text3.C (dispatch):
1951 * lyxfunc.C (dispatch):
1952 * cursor.C (dispatch):
1953 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1955 * dispatchresult.h: make the dispatch_result_t ctor explicit
1957 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1960 * buffer.C: small refactoring of docbook stuff
1962 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1964 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1967 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1969 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1970 operator dispatch_result_t, and operators for == != and >=
1972 * cursor.C (dispatch): adjust for operator dispatch_result_t
1973 removal. comment out call to update
1975 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1977 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1985 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1988 * dispatchresult.h: new file, DispatchResult broken out of
1991 * Makefile.am (lyx_SOURCES): add dispatchresult.h
1993 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1995 * text.C (rowBreakPoint): put a hack inside #if 0
1997 2003-10-28 André Pönitz <poenitz@gmx.net>
2001 * paragraph_funcs.C:
2004 * text2.C: general cleanup (lots of small stuff)
2006 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2008 * text2.C (cursorEnd): simple fix to the "end key goes to one
2009 before the end on last row" bug
2011 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2013 * text.C (backspace): fix the "zombie characters"
2015 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2017 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2019 2003-10-27 André Pönitz <poenitz@gmx.net>
2021 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2023 * factory.C: handle new InsetPagebreak, InsetLine
2025 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2026 and move handling into new InsetPagebreak, InsetLine
2028 * BufferView_pimpl.C:
2030 * ParagraphParameters.C:
2031 * ParameterStruct.h:
2036 * paragraph_funcs.C:
2037 * paragraph_pimpl.C:
2043 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2046 * lyxrow_funcs.[Ch]:
2052 * text3.C: remove lastPos uses in favour of Row::endpos
2054 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2056 * undo.C (performUndoOrRedo): fix two crashes by setting a
2057 cursor by hand and reordering some calls. Use bv->lockInset instead
2058 of inset->edit because the latter loses cursor information
2060 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
2062 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2064 (rowBreakPoint): fix width. change point to point + 1.
2065 Add a missing check.
2067 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
2070 * lyxfunc.C: fix (at least partly) the problems
2071 with the Nav menu and headers inside branch insets
2074 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
2076 * paragraph.C (getChar): add strong asserts
2078 * lyxrow_funcs.C (lastPos): remove hideous hack
2080 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2081 (fill): adjust to that (avoid an infinite loop)
2083 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2085 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2087 2003-10-23 André Pönitz <poenitz@gmx.net>
2089 * RowList_fwd.h: change list<> to vector<> to gain speed
2090 after suggestion from Alfredo
2092 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2094 * lyxtext.h: move the bidi stuff from here...
2097 * Bidi.[Ch]: ... to here
2099 2003-10-23 André Pönitz <poenitz@gmx.net>
2102 * text.C (isLastRow, isFirstRow): new functions
2104 * paragraph.h: new width cache member
2106 * rowpainter.C: replace RowList::iterator with Row & where possible
2108 * lyxfunc.C: replace several view()->text with a single call
2110 * toc.C: fix 'unused' warning
2112 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2114 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2115 when woring with stream::pos_type
2116 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2118 2003-10-22 André Pönitz <poenitz@gmx.net>
2121 * text.C: use Row & instead of RowList::iterator
2123 * lyxrow.h: rename end() to endpos()
2129 2003-10-22 Angus Leeming <leeming@lyx.org>
2131 * buffer.[Ch] (fully_loaded): new member function, returning true
2132 only when the file has been loaded fully.
2133 Used to prevent the premature generation of previews and by the
2134 citation inset to prevent computation of the natbib-style label.
2136 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2137 templates are all set up.
2139 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2141 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
2143 * text.C: fixed an "oops" in the "is a bit silly"
2146 2003-10-21 André Pönitz <poenitz@gmx.net>
2148 * FuncStatus.[Ch]: small stuff, whitespace
2150 * lyxfont.[Ch]: operator<<() for debug reasons
2154 * lyxtext.h: whitespace, spelling
2156 * paragraph.C: naming of variables
2159 * text2.C: small stuff
2162 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
2164 * text.C: (1) finish off the inset display() work;
2165 (2) fix the "is a bit silly" bug (accessing char
2168 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
2170 * text.C: re-introduce display() for insets, fixing the
2171 various bugs (stretch of line above, math inset
2174 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2176 * text.C (rightMargin): remove spurious semicolon
2178 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2181 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
2183 * text3.C: fix one crash due to wrong cursor def
2185 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2187 * vc-backend.C (scanMaster): make the regex static
2189 * LaTeX.C (scanAuxFile): make the regexs static
2191 * text3.C (doInsertInset, dispatch, dispatch):
2192 * text2.C (cursorUp, cursorDown):
2193 * text.C (selectNextWordToSpellcheck):
2194 * BufferView_pimpl.C (dispatch):
2195 * lyxfunc.C (dispatch): localDispatch -> dispatch
2197 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2199 * lyxsocket.C: include <cerrno>
2201 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2203 * lyxfunc.C (dispatch): remove textcache stuff
2205 * bufferlist.C (release): remove textcache stuff
2208 * TextCache.C: delete file
2209 * TextCache.h: delete file
2211 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2213 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2214 delete of the bv_->text.
2215 (resizeCurrentBuffer): remove texcache stuff
2216 (workAreaResize): ditto
2218 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2220 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2223 2003-10-16 André Pönitz <poenitz@gmx.net>
2230 * text3.C: speed up by storing y positions per paragraph plus per-row
2231 offset instead of having a 'full' y position in the row.
2233 2003-10-15 André Pönitz <poenitz@gmx.net>
2237 * undo.[Ch]: make undo aware of inner insets
2239 2003-10-14 Angus Leeming <leeming@lyx.org>
2241 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2242 static member functions LyX::ref() and LyX::cref.
2243 (lastfiles): new accessor functions for the new lastfiles_ member var.
2244 (addLyXView, views_): add a new LyXView to the list of views_.
2245 (updateInset): loop over all LyXViews to call their own updateInset
2246 member function, returning a pointer to the Buffer owning the inset.
2248 * BufferView_pimpl.C (loadLyXFile):
2249 * MenuBackend.C (expandLastfiles):
2250 * bufferlist.C (MenuWrite, QuitLyX):
2251 lastfiles is no longer a global variable.
2252 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2254 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2255 static function. Access through LyX::cref().emergencyCleanup().
2257 2003-10-14 André Pönitz <poenitz@gmx.net>
2259 * iterators.[Ch]: new direct access to innermost LyXText and Inset
2261 * undo.[Ch]: restoring part of 'undo in insets'
2264 * undo_funcs.[Ch]: merge with undo.[Ch]
2266 * tabular.C: small cleansing stuff
2268 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
2270 * paragraph_funcs.C (readParToken): report unknown insets as error
2271 boxes. Use the outer paragraph as location (also for unknown
2274 * factory.C (readInset): do not abort on reading an unknown inset.
2275 Eat it and return 0.
2277 2003-10-13 Angus Leeming <leeming@lyx.org>
2279 * lyx_main.C (LyX): remove call to setDisplayTranslator().
2281 * lyxrc.C: displayTranslator is now a function,
2282 declared in GraphicsTypes.h.
2284 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2286 * format.C: new placeholder $$a to pass the socket address.
2288 * bufferlist.[Ch]: new function getBufferFromTmp.
2290 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2291 files in the temporary dir.
2293 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2295 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2297 * Makefile.am: add lyxsocket.[Ch].
2299 * lyx_main.C (error_handler): handle SIGPIPE.
2301 2003-10-13 André Pönitz <poenitz@gmx.net>
2303 * BufferView_pimpl.C:
2308 * undo_funcs.[Ch]: use paroffset_type instead of
2309 ParagraphList::iterators to prevent multiple conversion
2310 (and get a more robust interface)
2312 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2314 * lyxfunc.C (dispatch): RESULT -> dispatch_result
2316 * text3.C (dispatch): ditto
2318 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2320 * LaTeX.C (handleFoundFile): move the static to smaller scope,
2321 move the onlyfile, use onlyfile instead of foundfile in a couple
2324 * DepTable.C (update): flush the error stream a bit more
2326 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2328 * lyxserver.C (callback): adjust
2330 * lyxfunc.C (getStatus): add a missing brace in commented code
2331 (ensureBufferClean): reindent
2332 (dispatch): delete version taking a string
2334 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2336 * LaTeX.C (deplog): move found file handlig from here...
2337 (handleFoundFile): .. to new function here.
2338 (deplog): make sure to discover several files mentioned on the
2341 2003-10-10 André Pönitz <poenitz@gmx.net>
2348 * text3.C: fix some of the tabular crashes
2350 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2352 * MenuBackend.C (binding): put debug message into Debug::KBMAP
2354 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2356 2003-10-09 André Pönitz <poenitz@gmx.net>
2358 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2361 * BufferView_pimpl.C:
2362 * bufferview_funcs.C:
2373 * undo_funcs.C: adjust
2375 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2377 * text2.C (incrementItemDepth): new function, use a backtracking
2378 algorithm to discover the correct item depth.
2379 (resetEnumCounterIfNeeded): new function, use a backtracking
2380 algorithm to discover if counter reset is needed.
2381 (setCounter): use them. Simplify a bit. Add different labels for
2382 different item depths for itemize.
2384 * paragraph.C (Paragraph): remove initialization of enumdepth
2387 * paragraph.h: get rid of enumdepth, and use itemdepth both for
2388 enumerate and itemize. Change the type of itemdepth to signed char.
2390 2003-10-08 André Pönitz <poenitz@gmx.net>
2392 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2397 * tabular.[Ch]: fix crash after 'row-insert'
2399 2003-10-08 Angus Leeming <leeming@lyx.org>
2401 Fix doxygen warnings.
2403 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2404 Remove CutAndPaste:: prefix from header file declaration.
2406 * LColor.h (fill): remove LColor:: prefix from declaration.
2408 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2409 use lyx::depth_type rather than Paragraph::depth_type so that
2410 header file and .C file match.
2412 * converter.h (intToFormat): remove Converters:: prefix from declaration.
2414 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2415 * aspell.C: \file aspell_local.C -> \file aspell.C
2416 * gettext.C: \file gettext.C -> \file src/gettext.C
2417 * gettext.h: \file gettext.h -> \file src/gettext.h
2418 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2419 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2420 * text.C: \file text.C -> \file src/text.C
2422 * toc.C: move comment so that doxygen is not confused.
2424 2003-10-07 Angus Leeming <leeming@lyx.org>
2426 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2428 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2431 * aspell_local.h: add forgotten std::string's.
2433 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2440 * text3.C: The Box patch. Fancybox support, minipage, parbox
2442 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2448 * ParagraphParameters.h:
2458 * lyxtextclasslist.h:
2461 * paragraph_pimpl.C:
2462 * textcursor.h: add <string> and other small fixes to make Lars'
2463 std::string patch compile with STLport.
2465 2003-10-06 Angus Leeming <leeming@lyx.org>
2467 * LColor.h: Add missing #include <string>.
2469 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2471 * All most all file in all subdirs: Make <string> be the prefered
2472 way of getting to std::string, add using declarations.
2474 2003-10-06 André Pönitz <poenitz@gmx.net>
2476 * metricsinfo.C: initialize LyXFont before changing attribute.
2477 (fixes the 'math in \emph is upright' bug)
2479 2003-10-06 André Pönitz <poenitz@gmx.net>
2481 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2483 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
2486 * paragraph_pimpl.C: Small fixes to build using STLport
2488 2003-10-02 André Pönitz <poenitz@gmx.net>
2491 * text3.C: move handling of LFUN_DEPTH *; fix #1360
2493 2003-10-01 André Pönitz <poenitz@gmx.net>
2495 * factory.C: assert early
2497 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2499 * lyx_main.C: remove the global debug object
2501 * debug.h: adjust for new debugstream
2503 * debug.C: adjust for new debugstream and keep the global debug
2506 2003-09-22 Angus Leeming <leeming@lyx.org>
2508 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2509 of g++ which otherwise complain that the scoped_ptr destructor can't delete
2510 an incomplete class LyXFont.
2512 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2514 * factory.C: bug fix in branches
2516 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2518 * lyxfunc.C (processKeySym): adjust
2520 (dispatch): change arg name from ev to func, adjust
2521 (sendDispatchMessage): ditto
2523 * lyx_main.C (defaultKeyBindings): adjust keybindings
2524 (deadKeyBindings): ditto
2526 * kbsequence.C (addkey): return a FuncRequest
2528 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2530 * kbmap.C (bind): take a FuncRequest as arg, adjust
2533 (defkey): change to take a FuncRequest as arg, adjust
2534 (findbinding): take a FuncRequest as arg, adjust.
2536 * funcrequest.h (operator=): added
2538 * funcrequest.C (FuncRequest): default kb_action changed from
2539 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2541 * buffer.C (dispatch): simplify
2542 (dispatch): adjust to take a FuncRequest as arg, adjust
2544 * boost.C (assertion_failed): change assertion message slightly
2546 * ToolbarBackend.C (read): simplify
2548 * MenuBackend.C (binding): adjust call to findbinding, add a
2549 message if no binding is found.
2551 (expandToc): correct by adding a empty FuncRequest
2553 * LyXAction.C: include <boost/assert.hpp>
2554 (isPseudoAction): delete function
2555 (LookupFunc): change name to...
2556 (lookupFunc): this. change return type to FuncRequest.
2557 (getActionName): take kb_action as arg, simplify
2558 (funcHasFlag): add an assert, simplify.
2560 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2562 * toc.C (action): return a FuncRequest, simplify
2564 * lyxfunc.C (processKeySym): adjust
2565 (getStatus): delete version that takes an int.
2567 (dispatch): delete version that takes action as int
2569 (sendDispatchMessage): simplify and adjust
2571 * funcrequest.C (getArg): take unsigned int as arg
2573 * ToolbarBackend.C (read): adjust
2574 (add): delete version that takes func as a string.
2575 (getIton): take a FuncRequest as arg
2577 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2580 * MenuBackend.C (MenuItem): add a new construct that only takes a
2581 Kind, simplify the constructor use for submenus.
2583 (expandLastfiles): adjust
2584 (expandDocuments): adjust
2585 (expandFormats): adjust
2586 (expandFloatListInsert): adjust
2587 (expandFloatInsert): adjust
2588 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2590 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2591 Remove class variables lyx_pseudo_map and lyx_arg_map
2593 * LyXAction.C (searchActionArg): delete function
2594 (getPseudoAction): delete function
2595 (retrieveActionArg): delete function
2596 (LookupFunc): make it return kb_action, simplify.
2597 (getActionName): simplify
2599 * factory.C (createInset): fix new bug
2601 2003-09-19 Angus Leeming <leeming@lyx.org>
2603 * CutAndPaste.C (pasteSelection): remove fudge used to set the
2604 masterFilename_ parameter in the include inset.
2606 * factory.C (createInset): changes due to the changes to InsetInclude.
2608 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2610 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2612 2003-09-18 Angus Leeming <leeming@lyx.org>
2615 * BufferView.C: pass the buffer when calling Inset::getLabelList,
2616 Inset::fillWithBibKeys.
2617 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2619 2003-09-18 Angus Leeming <leeming@lyx.org>
2621 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2623 (ctor): pass and store a 'Buffer const &'
2624 (buffer): new member function.
2626 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2627 '*this' to the LaTeXFeatures ctor.
2629 2003-09-18 Angus Leeming <leeming@lyx.org>
2635 * text.C: rename EnumLColor as LColor_color.
2637 2003-09-18 Angus Leeming <leeming@lyx.org>
2639 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2640 remove #include "insets/insetbase.h" from cursor.h.
2642 2003-09-18 Angus Leeming <leeming@lyx.org>
2644 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2645 InsetOld_code to remove #include "inset.h".
2647 * iterators.C: add #include "insets/inset.h"
2649 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
2651 * BufferView.C: remove more locking stuff that apparently doesn't
2652 do anything sensible.
2654 2003-09-16 André Pönitz <poenitz@gmx.net>
2657 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2660 2003-09-16 Angus Leeming <leeming@lyx.org>
2662 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2664 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2667 * paragraph.h: remove #include "lyxfont.h". Forward declare
2670 2003-09-16 Angus Leeming <leeming@lyx.org>
2672 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2673 of support/textutils.h.
2674 (isWord): move the contents of support/textutils.h's IsWordChar here.
2680 * text2.C: add #include "paragraph.h".
2683 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2685 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2691 * LaTeX.C: use namespace alias for lyx::support::os
2693 2003-09-16 Angus Leeming <leeming@lyx.org>
2696 * bufferview_funcs.C:
2699 * paragraph_pimpl.C:
2701 * text.C: add #include "LColor.h".
2703 2003-09-16 Angus Leeming <leeming@lyx.org>
2705 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2706 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2708 Store the FontBits::color variable as an int rather than as an
2709 LColor::colorso that we can move LColor.h out of the lyxfont.h header
2712 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2713 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2714 string calls together.
2716 * lyxrc.C: add #include "LColor.h".
2718 2003-09-15 Angus Leeming <leeming@lyx.org>
2720 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2723 2003-09-15 Angus Leeming <leeming@lyx.org>
2725 * LColor.h: add an EnumLColor wrapper for LColor::color.
2727 * lyxfont.[Ch] (color, setColor, realColor):
2728 * lyxtext.h, text.C (backgroundColor):
2729 pass EnumLColor args to/from the functions, rather than LColor::color
2733 * lyxtext.h: forward declare EnumLColor.
2735 * lyx_main.C: add #include "LColor.h".
2737 2003-09-15 Angus Leeming <leeming@lyx.org>
2739 * .cvsignore: add lyx-gtk.
2741 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2746 * ParagraphParameters.C
2750 * bufferview_funcs.C
2760 * vc-backend.C: remove usage of STRCONV
2762 2003-09-15 Angus Leeming <leeming@lyx.org>
2764 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2765 explicitly define the color passed to the painter.
2767 2003-09-15 Angus Leeming <leeming@lyx.org>
2769 * bufferparams.C (BufferParams): reorder member initializers to avoid
2772 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
2774 * CutAndPaste.C (pasteSelection): remove an outdated #warning
2775 * text.C (updateRowPositions): remove an unusual nop
2777 2003-09-12 André Pönitz <poenitz@gmx.net>
2779 * BufferView_pimpl.C:
2788 * Counters.[Ch]: finish the 'automatic counters' job
2790 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2792 * aspell.C: include <boost/assert.cpp> (compile fix)
2794 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
2796 * boost.C (assertion_failed): use lyx::support::abort instead of
2799 2003-09-10 Angus Leeming <leeming@lyx.org>
2801 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2802 with their _fwd progeny.
2804 2003-09-09 Angus Leeming <leeming@lyx.org>
2806 134 files throughtout the source tree: replace 'using namespace abc;'
2807 directives with the appropriate 'using abc::xyz;' declarations.
2809 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2811 * boost.C (emergencyCleanup): moved here from LAssert.c
2812 (assertion_failed): new function, called by BOOST_ASSERT
2814 * several files: change Assert to BOOST_ASSERT
2816 2003-09-09 Angus Leeming <leeming@lyx.org>
2818 * buffer.[Ch]: Add an Impl class and move Buffer's member
2819 variables into it. As a result move several header files out of
2822 Add header files to lots of .C files all over the tree as a result.
2824 2003-09-09 Angus Leeming <leeming@lyx.org>
2826 * buffer.[Ch]: make Buffer's member variables private. Add
2829 Lots of changes all over the tree as a result.
2831 2003-09-08 Angus Leeming <leeming@lyx.org>
2833 * graph.C: #include <config.h>.
2835 2003-09-08 Angus Leeming <leeming@lyx.org>
2839 * BufferView_pimpl.C:
2868 * toc.C: remove redundant using directives.
2870 2003-09-07 Angus Leeming <leeming@lyx.org>
2872 * LaTeXFeatures.h: remove #include "support/types.h".
2873 * ToolbarBackend.h: remove #include <algorithm>.
2874 * changes.h: remove #include <ctime>.
2875 * debug.h: remove #include <iosfwd>.
2876 * graph.h: remove #include "support/std_string.h".
2877 * lyx_main.h: remove #include <csignal>.
2878 * lyxlex_pimpl.h: remove #include <fstream>.
2879 * sgml.h: remove #include <algorithm>, <utility>.
2880 * toc.h: remove #include "support/std_ostream.h".
2881 Add #include <iosfwd>.
2883 2003-09-07 Angus Leeming <leeming@lyx.org>
2885 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2887 * converter.h: forward declare LatexRunParams.
2888 * encoding.h: remove #include "lyxrc.h".
2889 * lyxtext.h: remove #include "LColor.h".
2890 * lyxtextclass.h: remove #include "support/types.h".
2891 * trans.h: remove #include "tex-accent.h".
2892 * trans_mgr.h: remove #include "tex-accent.h".
2893 * insets/inset.h: remove #include "support/types.h", <vector>.
2894 * insets/insetcollapsable.h: remove #include "LColor.h".
2895 * insets/insetinclude.h: remove #include "dimension.h".
2896 * insets/insetlatexaccent.h: remove #include "dimension.h".
2897 * insets/insetoptarg.h:: remove #include "insettext.h".
2898 * insets/insettext.h: remove #include "dimension.h",
2899 <boost/shared_ptr.hpp>
2901 * insets/renderers.h: add #include "dimension.h".
2902 * insets/updatableinset.h: add #include "support/types.h".
2904 * many .C files: Associated changes.
2906 2003-09-06 Angus Leeming <leeming@lyx.org>
2908 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2909 one, inside testInvariant.
2911 * PrinterParams.C: new file.
2912 * PrinterParams.[Ch]: move the function bodies out of line.
2914 2003-09-06 Angus Leeming <leeming@lyx.org>
2916 * ParagraphParameters.h: forward declare ParameterStruct rather than
2917 including its header file.
2918 (depth): moved out-of-line.
2920 2003-09-06 Angus Leeming <leeming@lyx.org>
2922 * BufferView_pimpl.h:
2925 * lyxfunc.h: forward declare LyXKeySym rather than
2926 #include "frontends/LyXKeySym.h".
2928 * BufferView_pimpl.C:
2931 * lyxfunc.C: associated changes.
2933 2003-09-06 Angus Leeming <leeming@lyx.org>
2935 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2936 As a result, can remove the #include "insets/inset.h" from BufferView.h
2938 2003-09-06 Angus Leeming <leeming@lyx.org>
2940 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2941 As a result, can remove the #include "insets/inset.h" from BufferView.h
2943 2003-09-06 Angus Leeming <leeming@lyx.org>
2949 * bufferview_funcs.C:
2950 * BufferView_pimpl.C:
2955 * ParagraphParameters.C:
2960 * frontends/controllers/ControlDocument.C:
2961 * insets/insetcaption.C: rearrange the #includes into some sort of
2964 * buffer.h: remove #includes ErrorList.h, undo.h
2966 2003-09-06 Angus Leeming <leeming@lyx.org>
2968 * support/types.h: add a 'depth_type' typedef, used to store the
2969 nesting depth of a paragraph.
2972 * ParameterStruct.h: use this lyx::depth_type typedef rather than
2973 defining explicitly.
2976 * paragraph_funcs.h:
2977 * ParagraphParameters.h:
2978 * sgml.h: use lyx::depth_type rather than Paragraph or
2979 ParameterStruct's depth_type.
2982 * paragraph_funcs.h: no need to #include paragraph.h anymore.
2985 * BufferView_pimpl.C:
2987 * ParagraphParameters.C:
2990 * bufferview_funcs.C:
2997 * frontends/LyXView.C:
2998 * frontends/controllers/ControlDocument.C:
2999 * frontends/controllers/ControlErrorList.C:
3000 * insets/insetbibitem.C:
3001 * insets/insetbranch.C:
3002 * insets/insetcaption.C:
3003 * insets/insetcollapsable.C:
3004 * insets/insetenv.C:
3005 * insets/insetert.C:
3006 * insets/insetfloat.C:
3007 * insets/insetfoot.C:
3008 * insets/insetfootlike.C:
3009 * insets/insetnewline.C:
3010 * insets/insetquotes.C:
3011 * insets/insettabular.C:
3012 * insets/insettext.C:
3013 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3015 * frontends/controllers/ControlChanges.C: #include "changes.h".
3017 2003-09-06 Angus Leeming <leeming@lyx.org>
3019 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3020 than #including paragraph.h.
3023 * RowList.h: deleted. Superfluous.
3033 * insets/insettext.h: use ParagraphList_fwd.h rather than
3036 * paragraph.h: don't forward declare ParagraphList.
3039 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3040 rather than ParagraphList.h. paragraph.h is still needed for the
3041 Paragraph::depth_type parameters.
3043 * textcursor.h: enable it to compile stand-alone in light of the
3046 * bufferview_funcs.C:
3058 * frontends/controllers/ControlParagraph.C:
3059 * frontends/controllers/ControlTabular.C:
3060 * insets/insetmarginal.C:
3061 * insets/insetminipage.C:
3062 * insets/insetnote.C:
3063 * insets/insetoptarg.C: add header files needed to compile again.
3065 2003-09-06 Angus Leeming <leeming@lyx.org>
3067 * RowList_fwd.h: new file, forward-declaring Row rather than
3068 #including lyxrow.h.
3073 * insets/insettext.h: use it instead of RowList.h
3075 * bufferview_funcs.C:
3082 * text3.C: #include "RowList.h".
3084 2003-09-05 Angus Leeming <leeming@lyx.org>
3086 * factory.C (createInset):
3087 * vspace.C (c-tor): replace sscanf call with an istringstream.
3088 * ispell.C: re-add missing HP/UX headers.
3089 * lyxserver.C: re-add missing os2 headers.
3091 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
3100 * text3.C: re-add missing system headers, needed for 2.95.2.
3102 2003-09-05 Angus Leeming <leeming@lyx.org>
3104 Changes most place everywhere due to the removal of using directives
3105 from support/std_sstream.h.
3107 2003-09-05 Angus Leeming <leeming@lyx.org>
3109 Replace LString.h with support/std_string.h,
3110 Lsstream.h with support/std_sstream.h,
3111 support/LIstream.h with support/std_istream.h,
3112 support/LOstream.h with support/std_ostream.h.
3114 Changes resulting throughout the tree.
3116 2003-09-05 Angus Leeming <leeming@lyx.org>
3118 * sgml.h: ensure that the header file can be compiled stand-alone.
3119 * *.C: strip out redundant #includes. (320 in total.)
3121 2003-09-04 Angus Leeming <leeming@lyx.org>
3123 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3124 here (from getPackages).
3126 * debug.[Ch]: add a new EXTERNAL tag.
3128 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3130 * text2.C (cursorEnd): simplify
3132 (getColumnNearX): adjust
3134 * text.C (computeBidiTables): adjust
3137 * rowpainter.C (paintChars): adjust
3138 (paintSelection): adjust
3139 (paintChangeBar): adjust
3142 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3144 (numberOfSeparators): adjust
3146 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3152 * text3.C: Restricts the mouse click functionality
3153 of insets like bibtex, include, toc and floatlist to the visible
3154 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3155 up the dialogs. Cursor has to be in front of the inset (i.e.
3156 start of row) for this to function.
3158 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3160 * bufferview_funcs.C (currentState): output row information
3162 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3164 * bufferview_funcs.C (currentState): output paragraph position
3166 2003-09-04 Angus Leeming <leeming@lyx.org>
3168 * FloatList.h: move out #include "Floating.h".
3169 * LaTeX.h: move out #include "DepTable.h".
3170 * LyXAction.h: move out #include "funcrequest.h".
3171 * buffer.h: move out #include "author.h", "iterators.h".
3172 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3173 * lyx_main.h: move out #include "errorlist.h".
3174 * lyxfunc.h: move out #include "FuncStatus.h".
3175 * lyxtext: move out #include "lyxcursor.h".
3176 * paragraph_pimpl.h: move out #include "counters.h".
3178 2003-09-03 Angus Leeming <leeming@lyx.org>
3180 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3181 preamble_snippets list, enabling us to add snippets to the preamble
3182 only if the snippet was not there already.
3184 2003-09-04 Angus Leeming <leeming@lyx.org>
3186 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3188 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3190 * lyxfunc.C (dispatch): if fitCursor did something be sure to
3193 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3195 * BranchList.C: point fix, earlier forgotten
3197 2003-09-02 Angus Leeming <leeming@lyx.org>
3199 * box.C (contains): renamed from 'contained' after a fantastic
3202 2003-09-02 John Levon <levon@movementarian.org>
3208 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3210 2003-09-02 John Levon <levon@movementarian.org>
3212 * text2.C: simplification of cursorEnd(), including partial
3215 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3217 * buffer.C (readFile): add a space
3219 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
3221 * BufferView_pimpl.C (update): remove bogus fitCursor() call
3223 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3225 * buffer.C (readFile): new function, take a filename and a
3226 ParagraphList::iterator
3228 (readFile): adjust, make it private. don't use setStream, make
3229 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3230 always contain the filename.
3232 * BufferView.C (insertLyXFile): simplify and make it work for
3235 2003-08-30 John Levon <levon@movementarian.org>
3237 * Makefile.am: fix dist (from Kayvan)
3239 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3241 * most files: change to use const Buffer refs
3243 2003-08-27 André Pönitz <poenitz@gmx.net>
3245 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3246 on top of ownerPar().
3248 2003-08-27 John Levon <levon@movementarian.org>
3250 * funcrequest.C: properly initialise POD members
3252 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3254 * lyxtext.h (top_y): move top_y from here
3259 * BufferView_pimpl.[Ch]: to here
3260 * frontends/screen.C:
3261 * insets/insettabular.C:
3262 * insets/insettext.C: adjust
3263 * rowpainter.[Ch] (paintRows): remove LyXText & argument
3265 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3268 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3270 2003-08-26 André Pönitz <poenitz@gmx.net>
3272 * paragraph_func.[Ch] (outerPar): new function
3275 * paragraph_funcs.C:
3276 * paragraph_funcs.h:
3277 * paragraph_pimpl.C:
3278 * text2.C: remove Inset::par_owner
3280 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
3285 * text2.C: eliminates the needFullRow/display() stuff
3286 altogether, putting the logic in metrics/draw in the insets.
3288 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
3290 * text2.C (redoParagraphInternal, redoParagraphs):
3291 * text.C (redoParagraph): add a call to updateRowPositions at the
3292 end of each 'metrics-like' call. Remove all others.
3293 (getRow): remove the 'y-computing' version.
3294 (getRowNearY): do not compute nor return the real y. Solve the
3295 'y < 0' problem and simplify.
3297 2003-08-22 Angus Leeming <leeming@lyx.org>
3299 * *.[Ch]: clean-up of licence and author blurbs.
3300 Also move config.h out of a few .h files and into a few .C files.
3302 2003-08-22 André Pönitz <poenitz@gmx.net>
3304 * lyxrow.[Ch]: add x_ and *fill_ members
3309 * text2.C: adjust/remove prepareToPrint() calls
3311 2003-08-22 André Pönitz <poenitz@gmx.net>
3313 * lyxrow.[Ch]: add end_ member
3315 * lyxrow_funcs.C: use LyXRow::end_
3317 * lyxtext.h (singleWidth): add LyXFont parameter
3320 * text2.C: adjust LyXText::singleWidth() calls
3322 * text.C (redoParagraph): simplify row breaking logic
3325 2003-08-19 André Pönitz <poenitz@gmx.net>
3327 * funcrequest.C: initialize button_ member
3330 * rowpainter.[Ch]: interface consolidation
3332 2003-08-18 André Pönitz <poenitz@gmx.net>
3335 * BufferView_pimpl.C:
3337 * paragraph_funcs.C:
3339 * text3.C: remove LyXScreen::draw() and fitCursor calls
3341 * BranchList.h: remove spurious semicolons
3343 * MenuBackend.C: fix branchlist related crash
3345 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
3353 * bufferparams.[Ch]:
3357 * text3.C: implements the 'branch inset'
3358 idea. This allows the output of various versions of a document
3359 from a single source version, selectively outputing or suppressing
3360 output of parts of the text.
3361 This implementation contains a 'branch list editor' in a separate
3362 tab of the document settings dialog. Branches are user definable
3363 and have a "display colour" to distinguish them on-screen.
3365 ColorHandler was somewhat cleaned up.
3366 (1) make possible a dynamically growing LColor list by allowing
3367 the graphic context cache to grow along (vector);
3368 (2) eliminate an IMHO unnecessary step in colour allocation.
3370 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
3372 * BufferView_pimpl.C: compile fix
3374 2003-08-15 André Pönitz <poenitz@gmx.net>
3376 * rowpainter.C: remove extra metrics calls
3378 * lyxtext.h: merge the two constructors into a single one,
3379 pass reference to owner's par list
3381 * BufferView_pimpl.C:
3385 2003-08-15 André Pönitz <poenitz@gmx.net>
3387 * lyxrow_funcs.[Ch]:
3390 * paragraph_funcs.C:
3395 * text_funcs.C: split LyXText::rowlist_ into individual
3396 Paragraph::rows_ chunks
3399 * BufferView_pimpl.[Ch]:
3402 * text3.C: remove toggleSelection()
3404 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
3406 * bufferlist.C: beautify two alerts (shorter text of buttons)
3407 * buffer.C: Remove redundant ' ' from message
3409 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3410 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3411 rename VALIGN_CENTER to VALIGN_MIDDLE
3413 2003-08-11 André Pönitz <poenitz@gmx.net>
3415 * lyxtext.h (getPar):
3416 * text.C: new function
3418 2003-08-11 André Pönitz <poenitz@gmx.net>
3421 * tracer.[Ch]: remove unneeded files
3423 * InsetList.[Ch]: remove resizeInsetsLyXText()
3428 * text3.C: merge insertParagraphs() and appendParagraph()
3429 remove breakAgain(), update()
3431 * BufferView_pimpl.[Ch]:
3432 * bufferview_funcs.[Ch]:
3436 * tabular.C: adjust after text & InsetList changes.
3438 2003-08-08 André Pönitz <poenitz@gmx.net>
3440 * text.C (insertChar, backspace): replace rowlist fiddling
3441 with rebreak of full par
3444 * text.C (breakAgainOneRow, redoHeightOfParagraph,
3445 checkParagraph, updateInset): removed
3447 2003-08-07 André Pönitz <poenitz@gmx.net>
3450 * text3.C: merge some LFUN handlers, remove dead code
3452 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3454 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3456 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
3458 * text2.C (DEPM): fix part of bug 1255 and 1256
3460 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3462 * BufferView_pimpl.C (workAreaDispatch): change to use
3463 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3464 that are no mouse related.
3466 2003-08-05 André Pönitz <poenitz@gmx.net>
3469 * BufferView_pimpl.[Ch]:
3470 * bufferview_funcs.C:
3472 * text3.C: rip out "deep update"
3474 * textcursor.[Ch] (last_sel_cursor): remove unused member
3476 2003-08-04 André Pönitz <poenitz@gmx.net>
3479 * BufferView_pimpl.[Ch]:
3480 * ParagraphParameters.C:
3481 * bufferview_funcs.C:
3487 * text3.C: replace "complicated" BufferView::update(...) calls with
3490 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3492 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
3494 * Makefile.am (lyx_SOURCES): add paper.h
3496 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3498 * Makefile.am: move things around so that both lyx-qt and
3499 lyx-xforms can be built (according to --with-frontend). Then lyx
3500 is a symbolic link to lyx-[firstfrontend]
3502 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
3504 * Always use std::endl with lyxerr
3506 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
3508 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3510 2003-08-01 André Pönitz <poenitz@gmx.net>
3513 * BufferView_pimpl.[Ch]:
3515 * text3.C: merge BufferView::repaint() and BufferView::update()
3517 2003-08-01 José Matos <jamatos@lyx.org>
3519 * buffer.[Ch]: file_format is no longer a buffer data element.
3521 2003-08-01 André Pönitz <poenitz@gmx.net>
3526 * text2.C: make redoParagraph more independent of current cursor
3528 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3530 * text2.C: remove unneeded members
3532 2003-07-30 André Pönitz <poenitz@gmx.net>
3534 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3536 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3537 create a single function...
3539 * paragraph_funcs.C (moveItem): ... here.
3542 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3544 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3546 * LColor.[Ch]: Add comment and greyedout logical colors.
3548 2003-07-30 André Pönitz <poenitz@gmx.net>
3550 * tabular.C: don't use Assert too heavily. This crashes where it
3553 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
3555 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3556 is disabled (bug 1232)
3558 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3560 * factory.C: limited 'arg' scope
3562 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3564 * factory.C: fixed Note submenu issues
3566 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3568 * factory.C: submenu for Note/Comment/Greyedout
3570 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
3573 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3575 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
3578 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3579 greyedout. Patch provided by Jürgen Spitzmüller.
3581 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3583 * kbmap.C (read): fix error message when reading bind files
3585 2003-07-29 Angus Leeming <leeming@lyx.org>
3587 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3588 certainly does not do what it purports to do. I am doing it, and
3589 us, a favour by killing it.
3591 2003-07-28 José Matos <jamatos@lyx.org>
3593 * buffer.C (readBody, do_writeFile):
3594 * paragraph.C(readParagraph): \end_document replaces \the_end.
3596 2003-07-29 André Pönitz <poenitz@gmx.net>
3599 * BufferView_pimpl.[Ch]:
3603 * textcursor.[Ch]: remove toggleToggle & Co
3605 2003-07-28 José Matos <jamatos@fep.up.pt>
3607 * buffer.C (readParagraph):
3608 * params_func (readParToken, readParagraph):
3609 * paragraph.C (write): \layout -> \begin_layout.
3611 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3613 * lyxlex_pimpl.C (setFile): clean up slightly.
3615 * bufferparams.h: add compressed var
3617 * buffer_funcs.C (readFile): adjust for LyXLex change
3618 (newFile): ditto + simplify
3620 * buffer.C (writeFile): handle writing of compressed files
3622 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3623 Check if the file is compressed and set a bufferparm if so.
3625 * Makefile.am (lyx_LDADD): remove explicit -lz
3627 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3629 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3630 makeDocBookFile): put the real LyX version in the first line of
3634 * version.C.in: remove lyx_docversion
3636 * tabular.C (write_attribute): add a template-based version to
3637 write enums properly
3639 2003-07-28 André Pönitz <poenitz@gmx.net>
3644 * text3.C: use doubles again for x-coordinates. They are needed.
3646 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3648 * messages.C (getLocaleDir): use lyx_localedir()
3650 * lyxlex_pimpl.C (setFile): compress stuff
3652 * buffer.C (writeFile): add some compression stuff
3653 (do_writeFile): new func, dont call expliti close... will this
3656 * Makefile.am (lyx_LDADD): add -lz
3658 2003-07-28 José Matos <jamatos@fep.up.pt>
3660 * buffer.C: increment file format.
3661 * paragraph_funcs (readParagraph, readParToken):
3662 * paragraph.C (readParagraph): add \end_layout.
3664 2003-07-27 Angus Leeming <leeming@lyx.org>
3666 * Makefile.am: remove special casing for configure-time setting of
3667 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3669 * lyx_main.C (init): remove all Jean-Marc's magic setting of
3670 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3672 2003-07-26 André Pönitz <poenitz@gmx.net>
3674 * paragraph_func.[Ch]:
3675 * paragraph.C (realizeFont): inline it whereever it is used
3680 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3683 2003-07-26 André Pönitz <poenitz@gmx.net>
3687 * text2.C: get rid of LyXText::need_break_row
3689 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3691 * toc.[Ch]: put namespace toc inside namespace lyx
3693 * MenuBackend.C (expandToc2): adjust for lyx::toc
3696 * lyxfunc.C (dispatch): adjust for lyx::find
3698 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3699 lyx::find instead. Reorganize a bit.
3700 (LyXReplace): rename to replace
3701 (LyXFind): rename to find
3703 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3706 2003-07-26 André Pönitz <poenitz@gmx.net>
3708 * text.C (setHeightOfRow): restrict scope of temporary variable
3710 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
3711 code (never has been used?)
3713 2003-07-27 Asger Alstrup <alstrup@local>
3715 * text.C (fill): Optimise algorithm to exploit that we can reuse
3716 the LyXFont for many characters.
3717 (setHeightOfRow): Same thing.
3718 (rowBreakPoint): Same thing.
3720 2003-07-26 Asger Alstrup <alstrup@local>
3722 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3724 * text.C (singleWidth): Spurious font copying in hot-spot
3725 singleWidth avoided. Reorder tests for arabic for efficiency.
3727 * text.C (fill): handle empty paragraphs better.
3729 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3732 * encoding.h: add includes
3734 * lyxrc.C: remove reading of bind files
3736 * lyx_main.C (init): setup bindings and menus only if we have a
3739 * kbmap.C (read): new method. Do the actual reading of bind
3742 * converter.C (dvipdfm_options):
3745 (output): adapt PAPER_* enums.
3747 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3749 * bufferparams.h: remove paper-related enums from there
3751 * paper.h: New file. A trivial header file to hold paper-related
3752 enums. It should later expand to contain many paper-related
3755 * lyxrc.C: declare extern displayTranslator
3757 2003-07-27 José Matos <jamatos@fep.up.pt>
3759 * tabular.[Ch] (linuxdoc): add support for tables and figures
3762 2003-07-27 José Matos <jamatos@fep.up.pt>
3764 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3765 consistency in both functions.
3766 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3768 2003-07-26 Asger Alstrup <alstrup@local>
3770 * rowpainter.C (paintRows): Change algorithm to work directly on
3771 the insets rather than asking every character in the document
3772 whether its an inset.
3774 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
3776 * buffer.C (openFileWrite): factorize some code
3778 2003-07-26 Angus Leeming <leeming@lyx.org>
3781 * lyx_main.[Ch]: replace occurances of system_tempdir with
3784 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3786 * rename Inset to InsetOld
3788 2003-07-25 Asger Alstrup <alstrup@diku.dk>
3790 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3791 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3792 which I think is a bit clearer. EDIT is gone, since it was
3793 premature optimisation, and broken for mathed anyway.
3794 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3795 with cursor positioning in insets as well (math insets still do not
3796 work, but that's a different story anyway.) It mysteriously
3797 crashes sometimes with undo in the first paragraph, but I'm fairly
3798 confident that this is a compiler bug.
3800 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3802 * paragraph.C (Paragraph): adjust for new clone return type
3804 (copyIntoMinibuffer): ditto
3806 2003-07-25 Asger Alstrup <alstrup@lyx.org>
3808 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3809 by not having a special case, and always doing a full rebreak of
3810 the document after undo.
3812 2003-07-23 Angus Leeming <leeming@lyx.org>
3814 * factory.C (createInset): InsetExternal::setParams now takes a
3817 2003-07-23 Angus Leeming <leeming@lyx.org>
3819 * factory.C (createInset): changed interface to the external and
3820 graphics mailers' string2params functions.
3822 2003-07-23 Angus Leeming <leeming@lyx.org>
3824 * factory.C (createInset): pass a
3825 Buffer const * parameter to InsetExternalMailer's string2params.
3827 2003-07-22 John Levon <levon@movementarian.org>
3829 * Thesaurus.h: include the right aiksaurus header
3831 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3833 * MenuBackend.C (expand): check menu shortcuts unconditionally
3835 2003-07-21 Angus Leeming <leeming@lyx.org>
3837 * factory.C (createInset): pass a
3838 buffer_path parameter to InsetGraphicsMailer's string2params.
3840 2003-07-21 Angus Leeming <leeming@lyx.org>
3842 * BufferView_pimpl.C (buffer):
3845 * lyxfunc.C (dispatch):
3846 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3847 rather than the grfx shortcut.
3849 2003-07-21 André Pönitz <poenitz@gmx.net>
3851 * rowpainter.C: remove unused variables
3854 * tabular_funcs.h: move to tabular.C
3855 * Makefile.am: adjust
3857 * tabular.[Ch]: basic optical cleaning
3859 * author.h: pass references, not values
3861 2003-07-18 André Pönitz <poenitz@gmx.net>
3869 * text3.C: two-phase drawing for InsetText and InsetTabular
3870 some float -> int changes.
3872 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3874 * lyx_main.C: fix the fix
3876 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3878 * lyx_main.C: fix a crash in batch mode if no files specified
3881 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
3883 * format.[Ch] (papersize): moved to BufferParams
3884 * converter.[Ch] (dvips_options): moved to BufferParams
3885 (dvipdfm_options): moved to anon namespace
3886 * bufferparams.[Ch]: added above functions.
3888 2003-07-17 André Pönitz <poenitz@gmx.net>
3892 * text2.C: don't call inset->update() anymore
3894 * metricsinfo.[Ch]: add convenience constructor
3896 2003-07-16 André Pönitz <poenitz@gmx.net>
3901 * text2.C: replace the LyXCursor::irow_ member with
3902 on-demand computation of the value
3904 2003-07-16 John Levon <levon@movementarian.org>
3906 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3908 2003-07-15 André Pönitz <poenitz@gmx.net>
3911 * text2.C: remove no more needed refresh_row
3913 2003-07-15 André Pönitz <poenitz@gmx.net>
3918 * text3.C: refresh_status tristate -> need_update bool
3920 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
3922 * lyxtext.h (init): remove reinit argument (act as if always true)
3923 * text2.C: adjust to that
3925 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3927 * bufferview_funcs.[Ch]: introduce function replaceSelection()
3928 * text3.C: use it to delete selections in some cases
3929 (bugs 441, 673, 702, 954).
3931 2003-07-14 André Pönitz <poenitz@gmx.net>
3933 * rowpainter.[Ch]: reduce interface
3935 2003-07-14 André Pönitz <poenitz@gmx.net>
3937 * BufferView_pimpl.C:
3938 * text2.C: adjust after removing unused BufferView * argument
3940 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
3942 * text2.C (init): fix a crash fired on resize
3944 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
3946 * buffer.[Ch]: added new closing signal
3947 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3948 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3949 BufferView::Pimpl via the closing the signal
3951 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
3953 * buffer.[Ch]: take out all bv-related from buffer
3955 * BufferView_pimpl.[Ch]: connect to new signals
3956 * CutAndPaste.C: removed useless asserts
3957 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3960 * lyxfunc.C: moved view-related funciontality from vc here
3961 * paragraph.C: removed outdated comments
3964 2003-07-10 André Pönitz <poenitz@gmx.net>
3966 * BufferView_pimpl.C:
3970 * text2.C: remove InsetText::InnerCache, clean up consequences
3972 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
3974 * ispell.C: fix two typos in error messages
3976 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
3978 * Extend Note inset to other forms of annotation like Comment
3979 and Greyedout. Right button click gives dialog.
3981 Files modified or added (+):
3985 * ControlNote.[Ch] +
3987 * Makefile.am in frontends/xforms, frontends/xforms/forms,
3988 frontends/controllers
3992 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3994 * aspell.C: add missing namespace lyx::support
3996 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
3998 * BufferView.[Ch] (newFile): Add
3999 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4000 * LaTeX.[Ch] (message): added this signal and use it
4001 * buffer.[Ch] (busy, message): added these signals and use them
4002 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4006 * importer.C: use buffer signals instead of direct bv calling
4007 * lyx_cb.[Ch] (ShowMessage): removed
4010 * paragraph_funcs.C:
4011 * text2.C: use buffer signals
4013 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4015 * introduce namespace lyx::graphics
4017 2003-07-02 André Pönitz <poenitz@gmx.net>
4019 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4021 2003-07-01 André Pönitz <poenitz@gmx.net>
4028 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4029 text*.C to text_func.C
4031 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4033 * introduce namespace lyx::support
4035 2003-06-30 André Pönitz <poenitz@gmx.net>
4040 * text.C: re-enable --with-included-string
4042 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4044 * textcursor.C: add <config.h>
4046 * text.C (getWord): remove const from word_location arg
4048 * lyxvc.C (getLogFile): fix const type order
4050 * lyxtext.h: remove const from word_location arg, add arg name
4052 * lyxlayout.h: currect type on labeltype.
4054 * importer.C: correct \file
4056 * converter.C (intToFormat): use std:: on ret val, ws changes
4058 * bufferlist.h: correct \file
4060 * buffer.C (makeLinuxDocFile): fix const type order
4061 (makeDocBookFile): ditto
4062 (fillWithBibKeys): use std:: on stdlib args.
4064 * CutAndPaste.C: fix authors.
4065 (availableSelections): use std:: on return vector
4067 2003-06-27 André Pönitz <poenitz@gmx.net>
4069 * BufferView_pimpl.C:
4070 * bufferview_funcs.C:
4078 * text3.C: remove LyXCursor::row_ member
4081 * text.C: rename fullRebreak() to partialRebreak() and implement
4082 a fullRebreak() that really bereks fully
4084 * textcursor.h: new struct for cursor-related data
4086 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
4088 * lyx_main.C (LyX): get full path of document loaded on the
4091 2003-06-26 André Pönitz <poenitz@gmx.net>
4093 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4094 remove unused/broken operator>,<,>=.
4096 * text.C: remove only use of broken operator<= in an Assert().
4098 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4100 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4101 moved errorlist_.clear to showErrorList
4103 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4105 * converter.C (scanLog, runLaTeX):
4106 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4107 move the bv->showErrorList call to the callers
4108 * lyxfunc.C: i.e. here...
4110 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4111 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4112 namespace, the second to...
4113 * buffer_funcs (BufferFormat, parseErrors): added
4114 * errorlist.C (ErrorList(TeXErrors const &)): removed
4116 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4118 * ToolbarBackend.C (getIcon): complain when icon cannot be found
4120 2003-06-24 "Garst R. Reese" <reese@isn.net>
4124 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4126 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4128 * version.C.in: change docversion to 1.4
4130 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
4132 * buffer.C: fix a bug just introduced
4134 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
4136 * buffer.[Ch]: added the parseError signal and use it, removed
4138 * BufferView.[Ch] (addError): moved to ...
4139 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4140 to the Buffer::parseError signal to catch (guess what) parse errors
4141 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4143 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
4145 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4146 ability to create a buffer and to return an existing one from
4147 the list. Moved these functions to...
4148 * buffer_funcs.[Ch]: added
4149 * BufferView.[Ch] (loadLyXFile): added
4150 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4151 job removed from bufferlist::loadLyXFile.
4152 * buffer.C (setReadOnly): make it work without view
4153 (i.e added an if (users))
4155 2003-06-19 Angus Leeming <leeming@lyx.org>
4158 * LyXAction.C (init):
4159 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4160 with LFUN_DIALOG_SHOW <name> <data>.
4162 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4164 * CutAndPaste.C (availableSelections): small compilation fix for
4165 ancient (gcc 2.9x) compilers
4167 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
4169 * text3.C (cursorNext): add tmp var
4171 * text2.C (updateCounters): for function calling out of for clause
4172 (replaceSelectionWithString): ditto
4173 (insertStringAsParagraphs): ditto
4174 (getColumnNearX): add tmp var
4175 (setCursorFromCoordinates): add tmp var
4176 (cursorDownParagraph): add tmp var
4177 (deleteEmptyParagraphMechanism): add tmp var
4179 * text.C (insertChar): add tmp var
4181 * rowpainter.C (paintDepthBar): add tmp var
4183 * CutAndPaste.C (availableSelections): potentially check all
4184 paragraphs in a cut to fill the shown strings.
4186 2003-06-18 André Pönitz <poenitz@gmx.net>
4188 * kbmap.[Ch]: use vector<> instead of list<>
4190 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
4192 * text3.C (dispatch): handle arg to LFUN_PASTE, call
4193 pasteSelection with index
4195 * text2.C (pasteSelection): modify, call pasteSelection with index
4197 * paragraph.C (asString): reimplement version with no interval to
4198 call the one with interval.
4200 * lyxtext.h: add index arg to pasteSelection
4202 * MenuBackend.C (MenuItem): handle PasteRecent
4203 (Menu::read::Menutags): add md_pasterecent
4205 (expandPasteRecent): new function
4208 * MenuBackend.h: add PasteRecent to MenuItem::Kind
4210 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4212 (availableSelections): new function
4214 2003-06-17 Angus Leeming <leeming@lyx.org>
4216 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4218 2003-06-17 Angus Leeming <leeming@lyx.org>
4221 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4223 * lyxfunc.C (dispatch): invoke it.
4225 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4227 * iterators.C (operator++, ParPosition): reintroduce some
4228 const_cast for the benefit of older compilers.
4230 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4232 * text3.C (dispatch): do not modify clipboard when doing
4233 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4234 LFUN_DELETE_SKIP on a selection selection
4236 2003-06-16 André Pönitz <poenitz@gmx.net>
4242 * tabular.[Ch]: IU of clone() and getLabelList();
4244 2003-06-13 André Pönitz <poenitz@gmx.net>
4246 * tabular.h: compactification
4248 2003-06-12 André Pönitz <poenitz@gmx.net>
4252 * tabular_funcs.h: some renaming plus whitespace
4254 2003-06-12 André Pönitz <poenitz@gmx.net>
4257 * BufferView_pimpl.C:
4263 * toc.C: Return a Paragraph & for ParIterator::operator*()
4265 2003-06-11 John Levon <levon@movementarian.org>
4269 * ToolbarBackend.C: add "Toolbars" section and
4272 2003-06-10 Angus Leeming <leeming@lyx.org>
4275 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4277 * lyxfunc.C (dispatch): invoke it.
4279 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4281 * main.C: protect <ios> with HAVE_IOS
4282 (main): protect sync_with_stdio with HAVE_IOS
4284 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
4286 * text2.C (cutSelection): adjust
4287 (pasteSelection): adjust
4289 * messages.C: handle get of empty string
4291 * main.C (main): use sync_with_stdio(false)
4293 * lyxfunc.C (dispatch): adjust
4295 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4296 (WriteAs): remove unneeded BufferView arg.
4298 * bufferparams.h: use correct types on papersize, papersize2 and
4301 * bufferparams.C (readToken): adjust for type
4302 (writeLaTeX): add missing cases to switch.
4304 * bufferlist.C (quitWriteBuffer): adjust
4307 * buffer.C (asciiParagraph): remove some commented code.
4309 * CutAndPaste.C: remove current_view extern variable.
4310 (cutSelection): add BufferParams arg.
4311 (eraseSelection): add BufferParams arg.
4312 (pasteSelection): add Buffer const & arg
4314 2003-06-07 John Levon <levon@movementarian.org>
4317 * paragraph_funcs.C:
4318 * paragraph_pimpl.C:
4322 * paragraph.C: allow InsetERT to freely space lines,
4323 and some consolidation of code
4325 2003-06-06 José Matos <jamatos@fep.up.pt>
4327 * buffer.C (makeDocBookFile): fix bug #821
4329 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
4331 * BufferView_pimpl.C (dispatch): use Dialogs::visible
4333 2003-06-04 Angus Leeming <leeming@lyx.org>
4335 * buffer.C: bump format to 224.
4337 2003-06-05 André Pönitz <poenitz@gmx.net>
4339 * text2.C (redoParagraphs): remove two const_cast<>
4341 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4343 * ParagraphList.h: remove last remnants of NO_STD_LIST
4345 2003-06-03 Angus Leeming <leeming@lyx.org>
4347 * factory.C (createInset): small change to the way InsetExternal's params
4350 2003-06-04 André Pönitz <poenitz@gmx.net>
4352 * buffer.h: use Undo directly instead of shared_ptr<Undo>
4354 * paragraph_pimpl.h:
4355 * paragraph.[Ch]: some Inset -> UpdatableInset changes
4357 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4359 * undo_funcs.C: make some simple cases of undo work again
4361 2003-06-03 John Levon <levon@movementarian.org>
4363 * ispell.C: HPUX doesn't have sys/select.h
4366 2003-06-03 John Levon <levon@movementarian.org>
4368 * CutAndPaste.C: update tabular and include inset
4373 * paragraph.C: remove owningBuffer(), don't pass Buffer
4376 * factory.C: insetGraphicsParams changed
4378 2003-06-02 John Levon <levon@movementarian.org>
4384 * text3.C: remove insetparent
4386 2003-06-02 John Levon <levon@movementarian.org>
4389 * buffer.C: fix inset_iterator.end(), move out of line
4392 2003-06-01 John Levon <levon@movementarian.org>
4394 * text3.C: use a proper cut/paste when doing inset
4395 insert (from Jürgen Spitzmüller)
4397 2003-06-01 John Levon <levon@movementarian.org>
4399 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4401 2003-05-30 André Pönitz <poenitz@gmx.net>
4403 * rowpainter.C: unify second drawing phase
4405 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4407 * trans_mgr.C: remove one case of current_view
4409 * text2.C (cursorBottom): delete NO_STD_LIST stuff
4411 * paragraph_funcs.h: remove paragraph.h include
4413 * paragraph.h: delete NO_STD_LIST stuff
4415 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4417 * buffer.h: remove paragraph.h include
4419 * ParagraphList.C: delete file
4421 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4423 * toc.C (getTocList): adjust
4425 * paragraph_pimpl.C (validate): adjust
4427 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4429 * paragraph.C (Paragraph): adjust
4430 (getPositionOfInset): use const_iterator, adjust
4431 (bibitem): use const_iterator, adjust
4432 (setInsetOwner): adjust
4434 * iterators.C (operator++): adjust
4436 * InsetList.[Ch]: Replace selfmade iterator with standard
4437 vector::iterator also introduce const_iterator. Remove getPos,
4438 getInset and setInset from InsetTable. Adjust accordingly.
4440 * BufferView.C (lockInset): adjust
4441 (ChangeInsets): adjust
4443 * tabular.[Ch]: delete commented same_id functions
4445 2003-05-28 John Levon <levon@movementarian.org>
4447 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4449 2003-05-28 André Pönitz <poenitz@gmx.net>
4451 * metricsinfo.[Ch]: remove 'fullredraw' member
4453 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
4455 * lyxtextclass.C (operator): remove caching.
4457 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4461 * text2.C (cursorBottom): adjust
4462 (setCounter): use ParagraphList::find, adjust
4464 * text.C (workWidth): use ParagraphList::find, adjust
4466 * lyxcursor.C (LyXCursor): adjust
4468 * buffer.C (inset_iterator): adjust
4470 * ParagraphList.h: make iterator(value_type) private, make
4471 ParagraphList a friend of iterator.
4473 * ParagraphList.C (find): new function
4475 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4477 2003-05-27 André Pönitz <poenitz@gmx.net>
4479 * dimension.[Ch]: a -> asc, d -> des, w -> wid
4481 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4483 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4485 2003-05-26 John Levon <levon@movementarian.org>
4487 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4489 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4491 * remove same_id from function signatures, adjust.
4493 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4495 * undo_funcs.C (createUndo): use the id functions directly, adjust.
4497 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4499 * paragraph.C (Paragraph): get rid of same_ids parameter
4501 * ParagraphList.C (insert): adjust
4504 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4506 * paragraph_funcs.C (breakParagraph): adjust
4507 (breakParagraphConservative): adjust
4509 * buffer.C (readParagraph): adjust
4511 * ParagraphList.C (insert): take a reference instead of a pointer
4514 * paragraph.[Ch] (id): new function
4516 * bufferlist.C (newFile): adjust
4518 * ParagraphList.C (ParagraphList): adjust
4520 (push_back): take a reference instead of a pointer.
4522 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4524 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4527 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4528 set else use old code.
4530 * ParagraphList.C: remove all NO_NEXT code and only compile this
4531 code of NO_STD_LIST is set.
4533 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4535 * BufferView_pimpl.C:
4545 * graphics/GraphicsConverter.C:
4546 * graphics/PreviewLoader.C: header adjustment
4548 2003-05-23 Angus Leeming <leeming@lyx.org>
4550 * LaTeXFeatures.[Ch] (useBabel): new method.
4551 * bufferparams.C (writeLaTeX): use it.
4553 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4555 * ParagraphList.h (set): remove unused function.
4557 2003-05-23 André Pönitz <poenitz@gmx.net>
4560 * BufferView_pimpl.C:
4564 * undo_funcs.C: setUndo reworked
4566 * iterators.[Ch]: add access to topmost ParagraphList
4568 * lyxtext.[Ch] (workWidth): add a const
4570 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4572 * texrow.[Ch] (increasePos): remove function
4573 * exporter.C (export): removed unused var and outdated comment
4575 2003-05-23 Angus Leeming <leeming@lyx.org>
4577 * latexrunparams.h: rename fragile as moving_arg.
4578 * paragraph.C (simpleTeXOnePar): ditto.
4579 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4581 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4583 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4585 (textUndoOrRedo): comment out a currently unused var.
4587 * paragraph.h (NO_NEXT): enable NO_NEXT
4589 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4591 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4593 * exporter.C (Export): adjust for removeAutoInsets removal.
4595 * buffer.C (runChktex): adjust for removeAutoInsets removal.
4597 * LyXAction.C (init): remove LFUN_REMOVEERRORS
4599 * BufferView.[Ch] (removeAutoInsets): delete function
4601 2003-05-22 Angus Leeming <leeming@lyx.org>
4603 * latexrunparams.h: add a free_spacing variable.
4605 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4606 to pass moving_arg, as the data is stored in runparams.fragile.
4608 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4609 to Inset::latexOptional or to simpleTeXOnePar.
4611 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4612 free_spacing arg to Inset::latexOptional.
4614 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4617 2003-05-22 Angus Leeming <leeming@lyx.org>
4619 * latexrunparams.h: add fragile and use_babel variables.
4621 * bufferparams.[Ch] (writeLaTeX): return use_babel.
4622 * buffer.C (makeLaTeXFile): store this returned value in
4623 runparams.use_babel, thus passing it to the inset::latex methods.
4625 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4626 simpleTeXSpecialChars as it is now stored in runparams.fragile.
4628 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4629 longer has a fragile arg, as it is stored in runparams.fragile.
4631 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4632 moving_arg parameter as the data is stored in runparams.fragile.
4634 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4635 a fragile parameter as the data is stored in runparams.fragile.
4637 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4639 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4641 2003-05-22 Angus Leeming <leeming@lyx.org>
4643 * latexrunparams.h: add a 'bool nice' which defaults to false.
4645 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4646 now encapsulated within runparams.
4648 * bufferlist.C (updateIncludedTeXfiles):
4649 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4651 2003-05-22 Angus Leeming <leeming@lyx.org>
4653 * latexrunparams.h: new file containing struct LatexRunParams.
4654 * Makefile.am: add new file.
4656 * LaTeX.[Ch] (c-tor, run):
4657 * buffer.[Ch] (makeLaTeXFile):
4658 * bufferlist.[Ch] (updateIncludedTeXfiles):
4659 * converter.C (convert, scanLog):
4660 * converter.[Ch] (runLaTeX):
4661 * exporter.C (Export):
4662 * paragraph.[Ch] (simpleTeXOnePar):
4663 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4664 * paragraph_funcs.[Ch] (latexParagraphs):
4665 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4666 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4667 pass around a LatexRunParams parameter.
4669 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4671 * paragraph.[Ch]: remove unused constructor
4673 * ParagraphList.C (erase): new function, taking two iterators
4675 2003-05-22 André Pönitz <poenitz@gmx.net>
4677 * undo_funcs.C: remove duplicated code
4679 * iterator.[Ch]: operator=
4681 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4683 * tabular.C (SetMultiColumn): ws changes
4685 * rowpainter.C (paintFirst): get rid of a ->previous
4687 * lyx_cb.C (getPossibleLabel): parlist simplification
4689 * BufferView.C (ChangeInsets): simplify slightly.
4691 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4693 * LyXAction.C: new lfun space-insert, kill protected-space-insert
4694 * lfuns.h: new LFUN_SPACE
4695 * lyxfunc.C: protected space has a new lfun
4696 * paragraph_funcs.C: read new space insets
4698 * factory.C: handle new space insets
4700 2003-05-22 André Pönitz <poenitz@gmx.net>
4703 * BufferView_pimpl.C:
4706 * undo_funcs.C: return a ParIterator from getParFromID.
4708 * iterators.[Ch]: add two const's
4710 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4712 * toc.C (getTocList): adjust
4714 * iterators.[Ch]: rework for parlist
4716 * buffer.C (par_iterator_begin): adjust
4717 (par_iterator_end): adjust
4719 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4721 * BufferView.C (removeAutoInsets): adjust
4722 (ChangeInsets): adjust
4724 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
4726 * text.C (top_y): fix bug 1110
4728 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
4730 * errorlist.[Ch]: added
4733 * BufferView_pimpl.C:
4734 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4737 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4739 * Makefile.am: ensure that lyx is relinked upon changes to the
4740 various "convenience" libs.
4742 2003-05-20 Angus Leeming <leeming@lyx.org>
4744 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4745 files are compiled in alphabetical order again.
4747 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4749 2003-05-19 Angus Leeming <leeming@lyx.org>
4751 * gettext.[Ch]: remove "char const * _(char const *)".
4753 2003-05-19 André Pönitz <poenitz@gmx.net>
4755 * dimension.[Ch]: promote from mathed/dimension.[Ch]
4764 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4766 2003-05-19 André Pönitz <poenitz@gmx.net>
4770 * lyxtextclass.[Ch]:
4772 * paragraph_funcs.[Ch]:
4774 * text3.C: more insetenv work
4776 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
4778 * ParagraphParameters.C (params2string): small bug fixed
4780 2003-05-16 André Pönitz <poenitz@gmx.net>
4783 * bufferview_funcs.C: patch from Kornel Benko to prevent
4784 crash when _(...) is called twice in a statement
4786 2003-05-16 André Pönitz <poenitz@gmx.net>
4793 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4795 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
4797 * lyx_main.C (init): remove spurious static_cast
4799 2003-05-14 André Pönitz <poenitz@gmx.net>
4801 * BufferView.C: fix format string
4803 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
4805 * BufferView.[Ch] (insertErrors): removed
4806 * BufferView.[Ch] (showErrorList): added
4807 * buffer.C (runChkTeX):
4808 * converter.C (scanLog): call showErrorList instead of inserterrors
4810 2003-05-13 André Pönitz <poenitz@gmx.net>
4812 * BufferView_pimpl.C:
4814 * bufferview_func.C:
4821 * tabular_funcs.h: tostr() from its own header
4823 * ParagraphParameters.C:
4828 * text3.C: STRCONV()
4830 2003-05-12 André Pönitz <poenitz@gmx.net>
4833 * BufferView_pimpl.C:
4837 * ParagraphParameters.C:
4841 * bufferview_funcs.C:
4854 * paragraph_funcs.C:
4858 * text3.C: boost::format -> bformat all over the place
4861 2003-05-09 André Pönitz <poenitz@gmx.net>
4863 * LColor.[Ch]: Pimpl the #include <map> away
4865 2003-05-09 John Levon <levon@movementarian.org>
4867 * bufferlist.C: never remove emergency saves
4869 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4871 * Makefile.am: better lib building
4873 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4875 * texrow.[Ch]: remove dependency on Paragraph and just store a id
4877 * paragraph_pimpl.C (simpleTeXBlanks): adjust
4878 (simpleTeXSpecialChars): adjust
4879 (simpleTeXSpecialChars): adjust
4880 * paragraph.C (simpleTeXOnePar): adjust
4881 * buffer.C (makeLaTeXFile): adjust
4883 * Makefile.am (BOOST_LIBS): allow boost as system lib.
4885 * text2.C (changeDepth): parlist cleanup
4886 (getColumnNearX): ditto
4888 * rowpainter.C (getLabelFont): parlist cleanup
4890 * bufferlist.C (newFile): parlist cleanup
4892 * CutAndPaste.C (eraseSelection): parlist cleanup
4894 * BufferView_pimpl.C (trackChanges): parlist cleanup
4897 * BufferView.C (lockInset): parlist cleanup.
4898 (ChangeInsets): ditto
4900 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4902 * CutAndPaste.h: Update file header.
4904 * CutAndPaste.C: Update file header.
4905 Store the parts cut out of the Document in a limited_stack.
4906 (copySelection): adjust
4907 (pasteSelection): new function, takes the index in the limited stack.
4908 (nrOfParagraphs): adjust
4909 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4910 simplify error inset insertion.
4911 (checkPastePossible): adjust
4913 2003-05-06 John Levon <levon@movementarian.org>
4915 * text2.C: don't cast wrap inset to float
4917 2003-05-05 André Pönitz <poenitz@gmx.net>
4920 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4922 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4923 few naked Paragraph *.
4925 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
4927 * bufferparams.C: Output warning if a document with missing
4928 TeX document class is loaded
4929 * exporter.C: Disable TeX exports if the document class is missing
4932 * lyxtextclasslist.C: Handle new textclass.lst format; new method
4933 isTeXClassAvailable()
4935 2003-05-03 John Levon <levon@movementarian.org>
4938 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4939 explicit cursor show/hide
4941 * BufferView_pimpl.h:
4942 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4943 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4945 * lyxfunc.C: hide cursor before dispatching.
4950 * text3.C: remove explicit cursor hides
4952 2003-05-02 André Pönitz <poenitz@gmx.net>
4954 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4957 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4960 * text2.C: tiny whitespace
4962 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4964 * undo_funcs.C: almost only ws changes.
4966 * ParagraphList.C (splice): just return if pl is empty.
4968 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4970 * ParagraphList.C (splice): new function.
4972 * CutAndPaste.C (pasteSelection): use it
4974 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4976 * CutAndPaste.C (pasteSelection): remove the last next and
4977 previous from this file.
4979 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4981 * CutAndPaste.C (pasteSelection): more clean up, user proper
4982 ParagraphList functions for pasteing.
4984 * ParagraphList.C (insert): new function, three arg insert
4986 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4988 * ParagraphList.C (insert): new function, three arg insert
4990 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4993 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4995 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4997 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4999 * CutAndPaste.C (pasteSelection): remove some unneeded code.
5001 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5003 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5004 (copySelection): clean up a bit.
5005 (pasteSelection): use make_pair
5007 * ParagraphList.C (ParagraphList): implement copy constructor
5008 (operator=): implement, base on copy constructor.
5011 * paragraph.C (erase): return a bool
5013 * paragraph_pimpl.C (erasePos): remove function, move contents...
5014 (erase): ... here. Return a bool.
5015 (erase): call erase instead of erasePos.
5017 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
5019 * ParagraphList.h: define PitPosPair
5020 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5021 ParagraphList, fix a bug on pasting multiple pars
5022 * text2.C: change interface to C&P
5024 2003-04-30 André Pönitz <poenitz@gmx.net>
5026 * undo_func.C: revert part of yesterday's patch 2
5028 2003-04-30 John Levon <levon@movementarian.org>
5030 * LColor.C: s/tabular/table/
5032 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5034 * text3.C (dispatch): do not convert iterator -> pointer
5035 * undo_funcs.C (setCursorParUndo): ditto
5036 * text_funcs.C (transposeChars): ditto
5038 * text2.C (setLayout): ws changes only
5040 * text.C (breakParagraph): do not convert iterator -> pointer
5042 (acceptChange): ditto
5043 (rejectChange): ditto
5048 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5051 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5053 * text3.C (gotoInset): YABG (yet another bad getChar)
5055 2003-04-29 André Pönitz <poenitz@gmx.net>
5057 * paragraph.h: make operator= private unimplemented as long as
5060 * ParagraphList.C: whitespace
5063 * paragraph_pimpl.[Ch]:
5064 * paragraph_funcs.C:
5066 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
5069 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5071 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5073 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5074 * paragraph.[Ch] (erase):
5075 * paragraph_pimpl.[Ch] (erase): change return type and value
5076 * text2.C (cutSelection): some rework
5078 2003-04-28 John Levon <levon@movementarian.org>
5080 * bufferlist.C: changes for unsaved changes dialog
5082 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5084 * bufferlist.C (newFile): set language (messages_) for new
5087 * buffer.C (readFile): ws changes only.
5089 2003-04-28 André Pönitz <poenitz@gmx.net>
5094 * BufferView_pimpl.C:
5095 * BufferView.C: getParFromID related ParagraphList::iterator changes
5097 2003-04-28 André Pönitz <poenitz@gmx.net>
5099 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5102 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5104 * messages.C: remove one more localedir class variable.
5106 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5108 * messages.C (getLocaleDir): singleton generation function
5110 (Messages): add a default constructor.
5112 * main.C (main): do not setup localedir here, do not call
5115 * gettext.C (_): use it.
5116 (gettext_init): delete funciton
5118 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5120 * gettext.C (getLyXMessages): new singleton generating function.
5122 * buffer.C (updateDocLang): adjust
5124 * Makefile.am (messages.o): add target
5125 (main.o): remove target
5127 2003-04-27 John Levon <levon@movementarian.org>
5132 * lyxvc.C: specify cancel button in Alert::prompt
5134 2003-04-26 John Levon <levon@movementarian.org>
5139 * LyXAction.C: add LFUN_INSET_SETTINGS
5141 * lyxfunc.C: don't enable tabular-feature when there's
5142 just any locking inset
5144 2003-04-26 John Levon <levon@movementarian.org>
5146 * bufferlist.C: re-add Cancel to buffer close question
5148 * lyxfunc.C: fix import UI a bit
5150 2003-04-25 John Levon <levon@movementarian.org>
5152 * gettext.C: remove the broken asserts for now
5154 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5156 * messages.C: make case where setlocale cannot comply work better.
5158 * buffer.C (updateDocLang): new function
5159 (changeLanguage): use it
5162 * text2.C (setCounter): use B_ a bit.
5164 * lyxlayout.C (Read): be sure to trim the label strings.
5166 * messages.C (Messages): fix typo in comment
5168 * buffer.C (readFile): set message_ after file is loaded.
5169 (makeDocBookFile): remove double return
5170 (changeLanguage): reset message_ upon language change.
5171 (B_): new func, use this to get translated buffer strings.
5173 * main.C: add myself and Jean Marc as authors.
5175 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5177 * messages.[hC]: pimplify Messages, and three different pimpls to be
5178 used in different circumstances.
5180 * gettext.[Ch]: change for use with new message code.
5182 2003-04-24 André Pönitz <poenitz@gmx.net>
5184 * factory.C: support for eqref
5186 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5188 * messages.[Ch]: add missing char
5190 * Makefile.am (lyx_SOURCES): add messages.[Ch]
5192 * messages.[Ch]: New files
5194 2003-04-18 John Levon <levon@movementarian.org>
5198 * BufferView_pimpl.C:
5202 * text2.C: remove layout-copy/paste (bug 778)
5204 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5206 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5208 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5210 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5211 if they succeed. Act accordingly.
5213 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5215 * text2.C (setCharFont): adjust
5216 (setCounter): adjust
5217 (insertStringAsLines): adjust
5219 * text.C (leftMargin): adjust
5220 (setHeightOfRow): adjust
5222 * rowpainter.C (paintFirst): adjust
5225 * paragraph_funcs.C (depthHook): ParagraphList::iterators
5227 (isFirstInSequence): ditto
5228 (getEndLabel): ditto
5231 * paragraph.C (getParLanguage): comment out some hard stuff.
5233 * buffer.C (insertStringAsLines): take a ParagraphList as arg
5235 (simpleDocBookOnePar): ditto
5236 (makeDocBookFile): use ParagraphList::iterator
5238 * CutAndPaste.C (pasteSelection): adjust
5240 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5242 * text2.C (getFont): adjust
5243 (getLayoutFont): adjust
5244 (getLabelFont): adjust
5246 * paragraph_funcs.C (TeXOnePar): adjust
5248 * buffer.C (simpleLinuxDocOnePar): adjust
5249 (simpleDocBookOnePar): adjust
5251 * CutAndPaste.C (pasteSelection): adjust
5253 * BufferView.C (getEncoding): adjust
5255 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5257 2003-04-16 John Levon <levon@movementarian.org>
5259 * lyxfind.C: use parlist stuff for search/changes
5261 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5263 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5265 * text2.C (deleteEmptyParagraphMechanism): adjust
5267 * text2.[Ch] (ownerParagraph): delete func (both of them
5269 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5271 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5273 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5275 * ParagraphList.C: prepare for NO_NEXT
5277 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5279 * text2.C (getFont): adjust
5280 (getLayoutFont): adjust
5281 (getLabelFont): adjust
5283 * paragraph.C (getFont): adjust
5284 (getLabelFont): adjust
5285 (getLayoutFont): adjust
5287 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5289 2003-04-15 John Levon <levon@movementarian.org>
5293 * lyx_main.C: handle Include in .ui files
5295 2003-04-15 John Levon <levon@movementarian.org>
5297 * MenuBackend.C: make the doc files length shorter
5300 * ToolbarBackend.C: handle toolbar placement flags,
5303 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5305 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5308 * paragraph_funcs.C (TeXOnePar): adjust
5310 * paragraph.C (getLabelFont): add outerfont arg, adjust
5311 (getLayoutFont): ditto
5312 (simpleTeXOnePar): adjust
5314 * paragraph_pimpl.C (realizeFont): delete func
5316 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
5318 * text2.C (beforeFullRowInset): added a bad getchar check, removed
5319 row argument, constify cur argument.
5321 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5323 * text2.C (getFont): adjust
5324 (getLayoutFont): adjust
5325 (getLabelFont): adjust
5327 * paragraph_funcs.C (TeXOnePar): adjust
5328 (outerFont): new func...
5329 (realizeFont): ...moved out from here, changed this to facilitate
5332 * paragraph.C (getFont): take outerfont as arg, adjust
5333 (simpleTeXOnePar): add outerfont arg, adjust
5335 * buffer.C (simpleLinuxDocOnePar): adjust
5336 (simpleDocBookOnePar): adjust
5338 * CutAndPaste.C (pasteSelection): adjust
5340 * BufferView.C (getEncoding): adjust
5342 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5344 * text2.C (setCharFont): adjust
5345 (setCounter): adjust
5347 * text.C (leftMargin): adjust
5348 (setHeightOfRow): adjust
5350 * rowpainter.C (paintFirst): adjust
5353 * paragraph_pimpl.C (realizeFont): adjust
5355 * paragraph.C (isFirstInSequence): move from here...
5356 * paragraph_funcs.C (isFirstInSequence): ...to here
5358 * paragraph.C (outerHook): move from here...
5359 * paragraph_funcs.C (outerHook): ...to here
5361 * paragraph.C (depthHook): move from here...
5362 * paragraph_funcs.C (depthHook): ...to here
5364 * paragraph.C (getEndLabel): move from here...
5365 * paragraph_funcs.C (getEndLabel): ...to here
5367 * text2.C (realizeFont): move from here...
5368 * paragraph_funcs.C (realizeFont): ...to here
5370 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5372 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5374 2003-04-14 Angus Leeming <leeming@lyx.org>
5376 * LColor.[Ch]: scrap LColor mathcursor.
5378 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5380 * lyxlex.[Ch] (text): delete function
5381 * trans.C (Load): adjust
5382 * paragraph_funcs.C (readParToken): adjust
5384 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5386 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5387 vector<char> instead of a char[].
5389 * lyxlex_pimpl.C (getString): adjust
5391 (lex): use getString
5395 * lyxlex.C (text): use pimpl_->getString()
5399 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5401 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5402 (makeFontEntriesLayoutSpecific): temp var for par.size()
5403 (setLayout): temp var for ownerParagraphs().end()
5404 (fullRebreak): temp var for rows().end()
5405 (selectionAsString): temp var for boost::next(startpit), realize
5406 that the while really is a regular for loop.
5407 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5408 setCursor in one place.
5409 (setParagraph): temp vr for ownerParagraphs().end()
5410 (updateCounters): make the while loop a for loop
5411 (cutSelection): temp var for ownerParagraphs().end()
5412 (updateInset): make the do {} while() a regular for loop
5413 (getCursorX): use temp vars
5414 (setCurrentFont): use temp vars
5415 (getColumnNearX): use temp vars
5417 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5419 * text.C (transformChar): use temp var for getChar
5420 (computeBidiTables): use temp var for row->par()
5421 (fill): move temp vars for row->par() and pit->layout() earlier in
5423 (labelFill): use temp var for row->par()
5424 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5425 asc and desc, realize that pit never changes and that firstpit is
5426 just a duplicate and not needed. Exchange rit->par() with pit in a
5428 (breakAgain): use a temp var for boost::next(rit)
5429 (breakAgainOneRow): ditto
5430 (breakParagraph): use a temp var for rows().begin()
5431 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5432 (cursorRightOneWord): use temp var for cursor.par() and
5433 cursor.pos(), remove usage of tmpcursor.
5434 (cursorLeftOneWord): use temp var for cursor.par() and
5435 cursor.pos() only set cur at end of function.
5437 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5439 * text.C, text2.C: exchange all usage of Paragraph::next with
5440 boost::next(ParagraphList::iterator)
5442 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5444 * text2.C (cursorTop): simplify implementation
5445 (cursorBottom): ditto
5446 (setParagraph): use ParagraphList::iterator
5447 (setCurrentFont): adjust
5448 (getColumnNearX): adjust
5449 (cursorRight): adjust
5450 (cursorLeft): remove usage of Paragraph::previous
5451 (cursorUpParagraph): ditto
5452 (deleteEmptyParagraphMechanism): slight cleanup
5454 * text.C (isBoundary): take a Paragraph const & instead of a
5456 (addressBreakPoint): ditto
5457 (leftMargin): remove usage of Paragraph::previous.
5458 (setHeightOfRow): ditto
5459 (cursorLeftOneWord): ditto
5460 (selectNextWordToSpellcheck): ditto
5463 (breakParagraph): remove one usage of Paragraph::next
5464 (redoParagraph): ditto
5465 (acceptChange): ditto
5466 (insertChar): adjust
5467 (rowBreakPoint): adjust
5469 * bufferview_funcs.C (toggleAndShow): adjust
5471 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
5473 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5474 methods to access it.
5476 * text.C: Added updateRowPositions to compute all row positions.
5477 Make top_y and getRowNearY() to use the cached y position
5479 2003-04-11 John Levon <levon@movementarian.org>
5481 * text.C (rowBreakPoint): reintroduce the labelEnd
5482 checks, code copied from the row fill stuff. Deep voodoo.
5484 * text.C (fill): add a comment and debugging for the
5487 2003-04-11 John Levon <levon@movementarian.org>
5489 * text.C: make sure fullrow insets get wrapped to the next line,
5490 even when they're in a manual label
5492 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5494 * text2.C (insertParagraph): make it take ParagraphList::iterator
5496 (setLayout): make it return ParagraphList::iterator
5497 (redoParagraphs): ditto
5499 (checkParagraph): ditto
5501 * text.C (getRow): make getrow take ParagraphList::iterator as arg
5503 * text2.C: adjust several funcs.
5504 (realizeFont): take a ParagraphList::iterator as arg.
5505 (getLayoutFont): ditto
5506 (getLabelFont): ditto
5507 (setCharFont): ditto
5509 * text.C: adjust several funcs.
5511 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5513 * text.C (selectNextWordToSpellcheck): don't accidentally
5516 2003-04-10 John Levon <levon@movementarian.org>
5518 * ToolbarBackend.C (getIcon): special handling for
5521 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5523 * text2.C (cursorRight): a getChar assert fixed
5525 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5527 * text2.C (getFont): change to take a ParagraphList::iterator
5528 instead of Paragraph*
5529 Adjust several functions.
5531 * text.C (transformChar): change to take a ParagraphList::iterator
5532 instead of Paragraph*
5533 (singleWidth): ditto
5534 Adjust several functions.
5536 * rowpainter.C: adjust several functions
5537 * rowpainter.h:store a ParagraphList::iterator and not a
5541 2003-04-09 John Levon <levon@movementarian.org>
5546 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5547 and the "help" bits as well
5549 2003-04-09 John Levon <levon@movementarian.org>
5552 * ToolbarBackend.C: allow multiple toolbars
5554 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5556 * undo_funcs.C (setCursorParUndo): adjust
5558 * text_funcs.C (transposeChars): adjust
5560 * text3.C (gotoNextInset): adjust
5563 * text2.C (setLayout): adjust
5564 (changeDepth): adjust
5566 (redoParagraphs): adjust
5567 (selectionAsString): adjust
5568 (setParagraph): adjust
5569 (insertInset): adjust
5570 (cutSelection): adjust
5571 (copySelection): adjust
5572 (pasteSelection): adjust
5573 (insertStringAsLines): adjust
5574 (updateInset): adjust
5575 (setCursor): change to take a ParagraphList::iterator parameter
5576 (setCursorIntern): change to take a ParagraphList::iterator parameter
5577 (setCurrentFont): adjust
5578 (cursorLeft): adjust
5579 (cursorRight): adjust
5580 (deleteEmptyParagraphMechanism): adjust
5582 * text.C (breakParagraph): adjust
5583 (insertChar): adjust
5584 (acceptChange): adjust
5585 (rejectChange): adjust
5586 (selectNextWordToSpellcheck): adjust
5587 (changeCase): adjust
5591 * lyxfind.C (SearchForward): adjust
5592 (SearchBackward): adjust
5593 (nextChange): adjust
5595 * lyxcursor.C (par): adjust
5597 * lyxcursor.h: store a ParagraphList::iterator instead of a
5600 * lyx_cb.C (getPossibleLabel): adjust
5602 * bufferview_funcs.C (toggleAndShow): adjust
5604 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5607 * BufferView.C (removeAutoInsets): adjust
5608 (lockedInsetStoreUndo): adjust
5610 2003-04-09 John Levon <levon@movementarian.org>
5612 * ToolbarBackend.C: try icon without argument
5613 if with argument fails
5615 2003-04-08 John Levon <levon@movementarian.org>
5618 * ToolbarBackend.C: add getIcon(), handle tooltip,
5619 and change from "Icon" to "Item".
5621 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5623 * BufferView.C (lockInset): another bad getchar crunched
5625 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5627 * text2.C (changeDepth): do not setUndo on test_only (make undo work
5630 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
5632 * lyxfind.C (searchForward, searchBackwards): bug 782
5634 2003-04-07 John Levon <levon@movementarian.org>
5636 * paragraph.C: remove dead comment
5638 * text.C: remove troublesome depth-fiddling code
5639 in leftMargin() and rightMargin() (bug 1017)
5641 * text.C: fix breaking of rows in nested lists
5644 * text2.C (updateCounters): fix up depth values
5647 2003-04-07 John Levon <levon@movementarian.org>
5649 * BufferView_pimpl.C: clear message when doc finishes resizing,
5650 and after a mouse event
5652 * lyxfunc.C: clear message after exiting inset
5654 2003-04-07 John Levon <levon@movementarian.org>
5656 * bufferview_funcs.C: show math status not outside
5657 status in the statusbar
5659 2003-04-07 John Levon <levon@movementarian.org>
5661 * lyxfunc.C: note status changed after a depth change
5663 2003-04-04 Angus Leeming <leeming@lyx.org>
5665 * LaTeX.h: move AuxInfo operator==, != out of line.
5666 Remove LaTeX virtual destructor; nothing derives from it.
5667 Move operator()() out of public area and rename it startscript().
5668 Change protected for private.
5670 2003-04-04 Angus Leeming <leeming@lyx.org>
5673 * text2.C: remove unneeded #includes.
5675 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5677 * text2.C (dEPM): fix the heigth of the next row
5679 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5681 * text.C: squashed an invalid getChar requester + some ws changes
5683 2003-04-03 John Levon <levon@movementarian.org>
5685 * bufferview_funcs.h:
5686 * bufferview_funcs.C:
5689 * text2.C: make getStatus work for the env depth lfuns
5691 2003-04-03 John Levon <levon@movementarian.org>
5693 * bufferview_funcs.h:
5694 * bufferview_funcs.C:
5697 * text2.C: parlistize decDepth(), by merging it with incDepth()
5699 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5701 * lyxrow.h: store a ParagraphList::iterator instead of a
5702 Paragraph* and adjust other class functions to suit.
5704 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5707 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5709 * text2.C (setCursor): do not anchor to cursor row for the time being
5711 2003-04-02 John Levon <levon@movementarian.org>
5718 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5720 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5722 * paragraph.h: make ParagraphList and ParagraphList::iterator
5723 friends of Paragraph.
5725 * buffer.C (makeLinuxDocFile): move towards ParagraphList
5727 * ParagraphList.C: Use the private next_ and previous_ from
5730 2003-04-01 John Levon <levon@movementarian.org>
5734 * Makefile.am: rename, remove defaults gunk
5737 * MenuBackend.C: remove defaults gunk
5740 * Languages.C: remove defaults gunk
5743 * lyx_main.C: error out if files couldn't be found.
5745 2003-04-02 John Levon <levon@movementarian.org>
5747 * text2.C: make incDepth() use parlist
5749 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5751 * undo_funcs.C (firstUndoParagraph): adjust
5753 * text3.C (gotoInset): adjust
5754 (dispatch): adjust, and rewrite loop.
5756 * text2.C (init): adjust, and rewrite loop.
5757 (redoParagraphs): adjust
5758 (updateInset): adjust, and rewrite loop.
5759 (deleteEmptyParagraphMechanism): adjust
5761 * tabular.C (LyXTabular): adjust
5762 (SetMultiColumn): adjust
5765 * lyxtext.[Ch] (ownerParagraph): delete function
5766 (ownerParagraphs): new function returns a ParagraphList.
5768 * BufferView.C (removeAutoInsets): adjust
5769 (insertErrors): adjust
5770 (setCursorFromRow): adjust
5772 2003-04-01 Angus Leeming <leeming@lyx.org>
5774 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5777 2003-04-02 John Levon <levon@movementarian.org>
5783 * text_funcs.C: make transposeChars a free function
5785 * lyxrow_funcs.C: remove wrong comment
5787 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5790 * rowpainter.C: adjust
5795 * lyxrow_funcs. [Ch]: new files
5797 * lyxrow.[Ch]: remove next and previous pointers
5798 (next,previous): remove accessor functions
5799 (isParEnd): move to lyxrow_funcs
5800 (lastPos): move to lyxrow_funcs
5801 (nextRowIsAllInset): move to lyxrow_funcs
5802 (lastPrintablePos): move to lyxrow_funcs
5803 (numberOfSeparators): move to lyxrow_funcs
5804 (numberOfHfills): move to lyxrow_funcs
5805 (numberOfLabelHfills): move to lyxrow_funcs
5806 (hfillExpansion): move to lyxrow_funcs
5810 * bufferview_funcs.C (toggleAndShow): adjust
5812 * RowList.h: Remove class RowList from file leave just a
5815 * RowList.C: delete file
5817 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5820 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5822 * text3.C (cursorPrevious): adjust
5823 (cursorNext): adjust
5826 * text2.C (redoHeightOfParagraph): adjust
5827 (redoDrawingOfParagraph): adjust
5830 * text.C (breakParagraph): adjust
5831 (insertChar): adjust
5834 * rowpainter.C (RowPainter): adjust
5835 (leftMargin): simplify and adjust
5836 (most rowpainter functions): adjust.
5838 * rowpainter.h: store the row as RowList::iterator not as Row*
5840 * lyxcursor.C (row): taka RowList::iterator as arg
5843 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5846 2003-04-01 Angus Leeming <leeming@lyx.org>
5848 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5849 stuff like bool Bool.
5851 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5853 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5856 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5858 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5861 * lyxtext.h (rows): drop one version and leve a const variant that
5862 returns a RowList::iterator.
5864 2003-03-31 Angus Leeming <leeming@lyx.org>
5866 * text.C (fill): ensure that the signature is the same as that in the
5869 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
5871 * text2.C (redoParagraphs): adjust
5872 (updateCounters): adjust
5873 (checkParagraph): adjust
5874 (getColumnNearX): adjust and reformat a bit.
5876 * text.C (top_y): adjust
5878 (leftMargin): adjust
5879 (prepareToPrint): adjust
5881 (getRowNearY): adjust
5883 * lyxtext.h: make rowlist_ mutable.
5885 * RowList.h: add const_iterator
5886 * RowList.C: adjust for RowList::const_iterator.
5888 * text2.C (getCursorX): make it take a RowList::iterator as arg,
5891 2003-03-31 John Levon <levon@movementarian.org>
5894 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5896 * lyx_main.C: set default fonts from using lyx_gui funcs
5898 * exporter.C: pdf_mode moved from lyxrc
5901 * lyxfunc.C: changes from above
5903 2003-03-31 John Levon <levon@movementarian.org>
5905 * lyx_main.C: fix to the last fix
5907 2003-03-31 John Levon <levon@movementarian.org>
5909 * bufferlist.C: "Load original" -> "Load Original"
5915 * format.C: more Alert cleanups
5917 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5919 * text2.C (removeParagraph): make it take a RowList::iterator as
5921 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5922 (postRowPaint): make it take a RowList::iterator as arg, adjust.
5924 * text.C (anchor_row): make it take a RowList::iterator as arg,
5926 (computeBidiTables): make it take a const reference to Row instead
5927 of Row pointer, adjust.
5928 (leftMargin): make it take a RowList::iterator as arg, adjust.
5929 (rowBreakPoint): adjust
5930 (breakAgainOneRow): make it take a RowList::iterator as arg,
5932 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5934 * bufferview_funcs.C (toggleAndShow): adjust
5936 2003-03-30 John Levon <levon@movementarian.org>
5940 * boost-inst.C: moved to support
5942 * several files: changes as a result
5944 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5946 * text2.C (LyXText): adjust.
5948 (removeRow): make it take a RowList::iterator as arg, adjust.
5949 (fullRebreak): adjust
5950 (deleteEmptyParagraphMechanism): adjust
5951 (clearPaint): adjust
5954 * text.C (top_y): adjust
5955 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5956 (breakAgain): make it take a RowList::iterator as arg, adjust.
5957 (breakParagraph): adjust
5958 (insertChar): adjust
5961 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5962 need_break_row, and refresh_row.
5964 * text3.C (dispatch): adjust
5966 * text2.C (checkParagraph): adjust
5968 (setCursorFromCoordinates): adjust
5970 * text.C (top_y): adjust
5972 (getRow): make it return a RowList::iterator, adjust
5973 (getRowNearY): make it return a RowList::iterator, adjust
5975 * text2.C (init): adjust
5976 (insertRow): remove function
5977 (insertParagraph): adjust
5978 (redoParagraphs): adjust
5979 (fullRebreak): adjust
5980 (updateCounters): adjust
5982 * text.C (top_y): rewrite to use RowList iterators.
5984 (setHeightOfRow): rewrite to sue RowList iterators.
5985 (appendParagraph): adjust
5986 (breakAgain): adjust
5987 (breakAgainOneRow): adjust
5988 (breakParagraph): adjust
5990 (getRowNearY): adjust, and remove commented code.
5992 * lyxtext.h (firstRow): delete function
5993 (lastRow): delete function
5994 (rows): new function (const and non-const versions.)
5995 (insertRow): delete function
5997 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5999 2003-03-29 John Levon <levon@movementarian.org>
6001 * BufferView_pimpl.C: always update scrollbar top
6002 because pasting text when we're anchored could mean we
6003 miss an update altogether
6005 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6007 * text2.C (init): use rowlist_.end() and not 0.
6008 (insertRow): change to take a RowList::iterator as arg, adjust
6010 (insertParagraph): change to take a RowList::iterator as arg,
6012 (redoParagraphs): remove some debug msgs.
6014 * text.C (appendParagraph): change to take a RowList::iterator
6015 arg, adjust for this.
6016 (breakAgain): add an assert
6017 (breakAgainOneRow): ditto
6019 2003-03-29 John Levon <levon@movementarian.org>
6021 * text2.C: do not clear selection after inc/decDepth
6024 2003-03-29 John Levon <levon@movementarian.org>
6027 * buffer.C: fix broken strerrors according to Lars
6029 2003-03-29 John Levon <levon@movementarian.org>
6031 * converters.C: more Alert cleanups
6033 2003-03-29 John Levon <levon@movementarian.org>
6035 * bufferview_funcs.C: remove pointless Alert
6037 * buffer.C: fix confusing error message when
6038 a template is chmoded 000
6040 2003-03-29 John Levon <levon@movementarian.org>
6044 * BufferView_pimpl.C: Alert fixes
6048 * tabular-old.C: remove unused table compat reading
6050 2003-03-29 John Levon <levon@movementarian.org>
6055 * lyx_cb.C: more Alert cleanups
6057 * lyxfunc.C: don't allow chktex if not latex document
6059 2003-03-29 John Levon <levon@movementarian.org>
6063 * buffer.C: warnings pushed down from support/,
6066 2003-03-29 John Levon <levon@movementarian.org>
6068 * lyxfunc.C: safety check for C-r (revert)
6070 2003-03-29 John Levon <levon@movementarian.org>
6073 * bufferlist.C: several UI fixes using Alert::prompt.
6074 Fix the pointless looping quit code. Fix stupid revert
6079 * lyx_cb.C: use Alert::prompt
6081 * lyx_main.C: remove a silly question
6083 * lyxfunc.C: remove a couple of silly questions,
6086 2003-03-28 John Levon <levon@movementarian.org>
6088 * text2.C: fix bug 974 (End on empty par)
6090 2003-03-28 John Levon <levon@movementarian.org>
6092 * BufferView_pimpl.C:
6094 * lfuns.h: remove do-nothing math greek lfuns
6096 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6098 * lyxgluelength.h (isValidGlueLength): add default arg on
6099 parameter 2. Remove default arg from friend in class.
6101 * lyxlength.h (isValidLength): add default arg on parameter 2.
6102 Remove default arg from friend in class.
6104 * text2.C (LyXText): adjust, initialize refresh_row.
6108 (insertParagraph): adjst
6109 (redoParagraphs): adjust
6110 (fullRebreak): adjust
6111 (updateCounters): adjust
6112 (deleteEmptyParagraphMechanism): first attempt at fixing a
6115 * text.C (top_y): adjust
6116 (setHeightOfRow): adjust
6118 (getRowNearY): adjust
6120 * lyxtext.h: include RowList.h
6121 (~LyXText): not needed anymore, deleted.
6122 (firstRow): modify for RowList
6123 (lastRow): new function
6124 Delete firstrow and lastrow class variables, add a Rowlist
6125 rowlist_ class variable.
6127 * lyxrow.C (lastPos): use empty() and not !size() to check if a
6130 * RowList.C (insert): fix case where it == begin().
6132 2003-03-26 Angus Leeming <leeming@lyx.org>
6134 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6135 the thesaurus dialog.
6137 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6139 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6141 * RowList.[Ch]: new files
6143 * ParagraphList.C (erase): handle the case where it == begin
6146 2003-03-25 John Levon <levon@movementarian.org>
6150 * aspell.C: add new aspell support
6153 * lyxrc.C: Make use_pspell be use_spell_lib. Always
6156 2003-03-25 Angus Leeming <leeming@lyx.org>
6159 * LyXAction.C (init): new LFUN_INSET_INSERT.
6161 * BufferView_pimpl.C (dispatch): split out part of the
6162 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6164 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6167 2003-03-25 Angus Leeming <leeming@lyx.org>
6169 * lyxfunc.C (dispatch): changes to the Dialogs interface.
6171 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
6174 * text3.C: remove useless row->height(0)
6176 2003-03-25 John Levon <levon@movementarian.org>
6180 * text3.C: rename the refreshing stuff to better names
6182 2003-03-24 John Levon <levon@movementarian.org>
6184 * BufferView_pimpl.h:
6185 * BufferView_pimpl.C: update layout choice on a mouse
6188 2003-03-23 John Levon <levon@movementarian.org>
6190 * Makefile.am: fix commandtags.h reference
6192 2003-03-22 John Levon <levon@movementarian.org>
6194 * BufferView_pimpl.C:
6199 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6201 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
6204 * text.C: take the rtl methods out of line
6206 2003-03-21 André Pönitz <poenitz@gmx.net>
6208 * metricsinfo.[Ch]: new files containing structures to be passed around
6209 during the two-phase-drawing...
6211 2003-03-21 André Pönitz <poenitz@gmx.net>
6213 * lyxtextclass.C: read 'environment' tag.
6215 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
6217 * text2.C (removeRow): fix bug 964
6219 2003-03-20 John Levon <levon@movementarian.org>
6223 * text2.C: paint cleanups. Inset::update() dropped font
6226 2003-03-19 John Levon <levon@movementarian.org>
6228 * lyxfunc.C: only fitcursor/markDirty if available()
6230 2003-03-19 John Levon <levon@movementarian.org>
6232 * commandtags.h: rename to ...
6234 * lfuns.h: ... this, and renumber / cleanup
6236 2003-03-19 John Levon <levon@movementarian.org>
6238 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6239 fit the cursor after an lfun
6243 * BufferView_pimpl.h:
6244 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6246 * LyXAction.C: layout-character should have ReadOnly
6248 * ParagraphParameters.C:
6250 * bufferview_funcs.C:
6257 * undo_funcs.C: changes from above
6259 2003-03-18 John Levon <levon@movementarian.org>
6261 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6262 remove it from update()
6264 * lyxfunc.C: update layout choice after an lfun
6266 * text3.C: remove extra updateLayoutChoice()s
6268 2003-03-18 John Levon <levon@movementarian.org>
6270 * text.C: top_y change means full repaint, fix
6271 a drawing bug with cursor movement
6273 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6277 * text2.C: anchor row on setCursor
6279 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6281 * lyxtext.h: remove almost all mutable keywords
6284 * text3.C: remove const keywords accordingly
6286 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6288 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6290 (TeXEnvironment): ditto
6293 2003-03-17 John Levon <levon@movementarian.org>
6295 * text.C (rowBreakPoint): remove attempt to fix displayed
6296 math insets inside a manual label
6298 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6300 * lyxtext.h: remove BufferView* as first arg from almost all class
6302 * other files: adjust.
6304 2003-03-17 John Levon <levon@movementarian.org>
6308 * text2.C: more paint cleanups
6310 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6313 * rowpainter.C: remove "smart" background painting code
6315 2003-03-16 John Levon <levon@movementarian.org>
6320 * text3.C: add helper functions for setting refresh_row/y
6322 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
6324 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6325 newline inset which *can* get inserted in the pass_thru layouts.
6326 This is primarily for literate documents.
6328 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
6330 * buffer.C: increment LYX_FORMAT to 223
6332 2003-03-14 André Pönitz <poenitz@gmx.net>
6334 * textclass.h: prepare for environment handling, ws changes
6335 * lyxlayout.C: read latexheader and latexfooter tags
6337 2003-03-14 John Levon <levon@movementarian.org>
6339 * text2.C: rewrite ::status() a bit
6341 2003-03-13 John Levon <levon@movementarian.org>
6343 * lyxtext.h: add some docs
6345 2003-03-13 John Levon <levon@movementarian.org>
6350 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6352 2003-03-13 John Levon <levon@movementarian.org>
6354 * text3.C: fix appendix redrawing
6356 2003-03-13 John Levon <levon@movementarian.org>
6358 * text.C (setHeightOfRow):
6360 * rowpainter.C: make appendix mark have the text
6361 "Appendix" so the user knows what it is
6364 * LColor.C: s/appendixline/appendix/ from above
6366 2003-03-13 John Levon <levon@movementarian.org>
6368 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6370 * text.C: fix a getChar(pos) bug properly
6372 2003-03-13 Angus Leeming <leeming@lyx.org>
6375 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6376 Probably only temporary. Let's see how things pan out.
6378 * BufferView.C (unlockInset):
6379 * BufferView_pimpl.C (fitCursor):
6380 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6382 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6383 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6385 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6386 new functions that convert ParagraphParameters to and from a string.
6388 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6389 BufferView::Pimpl's dispatch.
6390 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6392 2003-03-13 André Pönitz <poenitz@gmx.net>
6396 * factory.C: make it aware of InsetEnv
6398 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6400 * text2.C (setCursor): never ask for one past last
6401 (setCursor): add some debugging messages.
6403 * text.C (singleWidth): never ask for one past last
6404 (singleWidth): ditto
6406 (rightMargin): ditto
6407 (rowBreakPoint): ditto
6408 (setHeightOfRow): ditto
6409 (prepareToPrint): ditto
6411 * rowpainter.C (paintBackground): never ask for one past last
6412 (paintText): never ask for one past last
6414 * paragraph_pimpl.C (getChar): make the assert stricter, never
6415 allow the one past last pos to be taken
6417 * paragraph.C (getChar): ws changes only
6419 * lyxrow.C (nextRowIsAllInset): never ask for one past last
6420 (numberOfSeparators): ditto
6421 (numberOfHfills): ditto
6423 2003-03-12 John Levon <levon@movementarian.org>
6429 * paragraph_funcs.C: fix per-buffer authorlists
6431 2003-03-12 John Levon <levon@movementarian.org>
6433 * text.C: fix newline in right address
6435 2003-03-12 Angus Leeming <leeming@lyx.org>
6437 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6438 duplicate those in LyXFunc::dispatch.
6442 * ToolbarDefaults.C:
6443 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6444 Add LFUN_FONTFREE_UPDATE.
6446 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6447 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6449 * bufferview_func.[Ch]: several new functions to facilliate
6450 transfer of data to and from the character dialog.
6452 2003-03-12 John Levon <levon@movementarian.org>
6457 * paragraph_funcs.C:
6458 * paragraph_pimpl.C:
6462 * text3.C: remove META_NEWLINE in favour of an inset
6465 * rowpainter.C: remove paintNewline (done by inset)
6467 2003-03-12 John Levon <levon@movementarian.org>
6469 * paragraph_pimpl.C: complain about bad getChar()s
6470 for a while at least
6472 2003-03-12 John Levon <levon@movementarian.org>
6475 * buffer.C: move paragraph read into a separate function,
6476 a little renaming to reflect that.
6479 * bufferparams.C: remove the author_ids map, not necessary now
6482 * factory.C: moved Buffer::readInset to here
6484 * paragraph_funcs.h:
6485 * paragraph_funcs.C: readParagraph free function moved from
6488 * tabular.C: name change
6490 2003-03-12 John Levon <levon@movementarian.org>
6493 * ParagraphParameters.C: move par params input to
6496 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6497 behave like a normal read from the stream wrt reading
6498 a line vs. a \\token
6500 2003-03-12 John Levon <levon@movementarian.org>
6503 * ParagraphParameters.h:
6504 * ParagraphParameters.C: move output code to a
6507 2003-03-12 John Levon <levon@movementarian.org>
6509 * BufferView.C (insertLyXFile):
6512 * tabular.C: use a parlist iterator for creating the
6515 2003-03-12 John Levon <levon@movementarian.org>
6517 * buffer.C: make current_change static local not
6520 2003-03-12 John Levon <levon@movementarian.org>
6522 * buffer.C: fix insertStringAsLines for change tracking
6524 2003-03-12 John Levon <levon@movementarian.org>
6531 * bufferparams.C: move author list into params. Rename some
6532 functions. Move the header reading into a separate token
6533 loop. Move the header token reading into BufferParams.
6535 2003-03-12 John Levon <levon@movementarian.org>
6537 * changes.C: put debug inside lyxerr.debugging() checks
6539 2003-03-11 André Pönitz <poenitz@gmx.net>
6541 * factory.C: make it aware of InsetHFill
6543 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6545 * buffer.C (latexParagraphs): move function from here...
6546 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6549 2003-03-10 Angus Leeming <leeming@lyx.org>
6551 * LyXAction.C (init): fix bug in poplating array with multiple entries
6552 with the same LFUN (spotted by JMarc).
6554 2003-03-10 John Levon <levon@movementarian.org>
6557 * text2.C: move getColumnNearX() near its
6560 2003-03-10 John Levon <levon@movementarian.org>
6562 * text.C: fix break before a minipage
6564 2003-03-10 John Levon <levon@movementarian.org>
6566 * text.C: fix the last commit
6568 2003-03-09 John Levon <levon@movementarian.org>
6572 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6573 bug 365 (don't break before insets unless needed). Don't
6574 return a value > last under any circumstances.
6576 2003-03-09 Angus Leeming <leeming@lyx.org>
6578 * BufferView_pimpl.C (trackChanges, dispatch): call
6579 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6581 2003-03-09 Angus Leeming <leeming@lyx.org>
6583 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6584 than Dialogs::showAboutlyx().
6586 2003-03-09 Angus Leeming <leeming@lyx.org>
6588 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6589 than Dialogs::showTabularCreate().
6591 2003-03-09 John Levon <levon@movementarian.org>
6595 * text2.C: 3rd arg to nextBreakPoint was always the same.
6598 2003-03-08 John Levon <levon@movementarian.org>
6605 * text2.C: Remove the "main" bit from the "main body"
6608 2003-03-08 John Levon <levon@movementarian.org>
6610 * text.C (leftMargin): The left margin of an empty
6611 manual label paragraph should not include the label width
6614 * text.C (prepareToPrint): don't attempt to measure hfills
6615 for empty manual label paragraphs - the answer should be 0
6617 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6619 * CutAndPaste.C: remove commented code and reindent.
6621 2003-03-08 John Levon <levon@movementarian.org>
6624 * lyxfunc.C: move reloadBuffer()
6627 * BufferView.C: to here
6629 * lyxvc.C: add comment
6632 * vc-backend.C: call bv->reload() to avoid
6633 getStatus() check on MENURELOAD
6635 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
6637 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6638 to an old format .dep file.
6640 2003-03-07 Angus Leeming <leeming@lyx.org>
6642 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6643 when the LFUN_MOUSE_RELEASE should have been handled by
6644 inset->localDispatch.
6646 2003-03-07 Angus Leeming <leeming@lyx.org>
6648 * BufferView_pimpl.C (dispatch):
6649 * LyXAction.C (init):
6650 * ToolbarDefaults.C (init):
6652 * lyxfunc.C (getStatus):
6653 remove LFUN_INSET_GRAPHICS.
6655 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6657 2003-03-07 Angus Leeming <leeming@lyx.org>
6660 * LyXAction.C (init):
6661 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6663 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6666 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6668 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6669 localDispatch method LFUN_INSET_DIALOG_UPDATE.
6671 2003-03-07 Angus Leeming <leeming@lyx.org>
6673 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6676 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6678 * ParagraphList.C (front): new function
6681 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
6683 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6684 and top_row_offset_. removed var first_y.
6686 * text2.C (LyXText, removeRow):
6688 * BufferView_pimpl.C:
6689 use these methods instead of using first_y
6691 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6693 * text2.C (pasteSelection): adjust for checkPastePossible
6695 * CutAndPaste.C: remove Paragraph * buf and replace with
6696 ParagraphList paragraphs.
6697 (DeleteBuffer): delete
6698 (cutSelection): change the tc type to textclass_type
6699 (copySelection): change the tc type to textclass_type
6700 (copySelection): adjust for ParagraphList
6701 (pasteSelection): change the tc type to textclass_type
6702 (pasteSelection): adjust for Paragraphlist
6703 (nrOfParagraphs): simplify for ParagraphList
6704 (checkPastePossible): simplify for ParagraphList
6705 (checkPastePossible): remove unused arg
6707 * ParagraphList.C (insert): handle the case where there are no
6710 * CutAndPaste.h: make CutAndPaste a namespace.
6712 * text3.C (dispatch): adjust
6714 * text.C (breakParagraph): add a ParagraphList as arg
6716 * paragraph_funcs.C (breakParagraph): change to take a
6717 BufferParams and a ParagraphList as args.
6718 (breakParagraphConservative): ditto
6719 (mergeParagraph): ditto
6720 (TeXDeeper): add a ParagraphList arg
6721 (TeXEnvironment): ditto
6724 * buffer.C (readLyXformat2): adjust
6725 (insertStringAsLines): adjust
6726 (latexParagraphs): adjust
6728 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6729 (cutSelection): adjust
6730 (pasteSelection): adjust
6732 * BufferView_pimpl.C (insertInset): adjust
6734 2003-03-05 Angus Leeming <leeming@lyx.org>
6737 * LyXAction.C (init):
6738 * BufferView_pimpl.C (dispatch):
6739 * lyxfunc.C (getStatus):
6740 remove LFUN_CHILD_INSERT.
6742 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6744 2003-03-05 Angus Leeming <leeming@lyx.org>
6747 * LyXAction.C (init):
6748 * src/factory.C (createInset):
6749 * lyxfunc.C (getStatus):
6750 * text3.C (dispatch):
6751 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6753 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6755 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6757 * ParagraphList.C (insert): handle insert right before end()
6758 (erase): fix cases where it can be first or last paragraph.
6760 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6762 * paragraph_funcs.C (TeXEnvironment): remove all usage of
6763 Paragraph::next and Paragraph::previous
6766 * text.C (breakParagraph): adjust
6768 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6769 BufferParams& as arg.
6770 (breakParagraph): use ParagraphList::insert
6771 (breakParagraphConservative): take a Buffer* instead of a
6772 BufferParams& as arg.
6773 (breakParagraphConservative): use ParagraphList::insert.
6775 * buffer.C (insertStringAsLines): un-const it
6776 (insertStringAsLines): adjust
6778 * ParagraphList.C (insert): new function
6780 * CutAndPaste.C (pasteSelection): adjust
6782 * text.C (backspace): adjust
6784 * tabular.C (SetMultiColumn): adjust
6786 * CutAndPaste.C (cutSelection): adjust
6787 (pasteSelection): adjust
6789 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6790 Buffer const * as arg
6792 * ParagraphList.C (erase): new function
6793 * paragraph_funcs.C (mergeParagraph): use it
6794 (mergeParagraph): make it take a Buffer* instead of a
6795 BufferParams* as arg
6797 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6799 (breakParagraphConservative): ditto
6801 * paragraph.h: remove the breakParagraph friend
6803 * paragraph.C (eraseIntern): new function
6804 (setChange): new function
6806 * paragraph_funcs.C (mergeParagraph): make it take a
6807 ParagraphList::iterator instead of a Paragraph *, adjust
6810 * paragraph.h: move an #endif so that the change tracking stuff
6811 also works in the NO_NEXT case.
6813 2003-03-04 Angus Leeming <leeming@lyx.org>
6816 * LyXAction.C: new LFUN_INSET_MODIFY.
6818 * BufferView_pimpl.C (dispatch): if an inset is found to be open
6819 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6821 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6823 * several files: ws changes only
6825 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6826 (TeXEnvironment): ditto
6829 * buffer.C (makeLaTeXFile): adjust
6830 (latexParagraphs): make it take ParagraphList::iterator as args
6832 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6834 * buffer.C (latexParagraphs): adjust
6836 * paragraph.C (TeXOnePar): move function...
6837 (optArgInset): move function...
6838 (TeXEnvironment): move function...
6839 * paragraph_pimpl.C (TeXDeeper): move function...
6840 * paragraph_funcs.C: ...here
6842 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6844 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6846 * buffer.C (readInset): remove compability code for old Figure and
6849 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6851 * buffer.C: ws changes
6854 * BufferView_pimpl.C: ditto
6857 * bufferlist.h: ditto
6861 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
6863 * converter.[Ch]: split into itself +
6866 * Makefile.am: += graph.[Ch] + format.[Ch]
6873 * lyxrc.C: added #include "format.h"
6875 2003-02-27 Angus Leeming <leeming@lyx.org>
6877 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6880 * factory.C (createInset): add "label" to the factory.
6882 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6883 string and do no more.
6885 2003-02-27 Angus Leeming <leeming@lyx.org>
6888 * LyXAction.C (init):
6889 * factory.C (createInset):
6890 * BufferView_pimpl.C (dispatch):
6891 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6893 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6895 * lyxfunc.C (dispatch):
6896 * text3.C (dispatch): pass name to params2string.
6898 2003-02-26 Angus Leeming <leeming@lyx.org>
6900 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6902 Rearrange the ~includes. Strip out the unnecessary ones.
6904 * factory.C (createInset): reformat.
6905 create new insets for the various LFUN_XYZ_APPLY lfuns.
6907 2003-02-26 John Levon <levon@movementarian.org>
6910 * lyxrow.C: add isParStart,isParEnd helpers
6912 * paragraph.h: make isInserted/DeletedText take refs
6914 * paragraph_funcs.h:
6915 * paragraph_funcs.C: remove #if 0'd code
6920 * text.C: use lyxrow helpers above.
6921 Move draw and paint routines to RowPainter.
6922 Make several methods use refs not pointers.
6923 Make backgroundColor() const.
6924 Add markChangeInDraw(), isInInset().
6925 Merge changeRegionCase into changeCase.
6926 Make workWidth() shouldn't-happen code into an Assert.
6929 * rowpainter.C: new class for painting a row.
6932 * vspace.C: make inPixels take a ref
6934 2003-02-26 Angus Leeming <leeming@lyx.org>
6936 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6939 2003-02-25 John Levon <levon@movementarian.org>
6941 * ispell.C: give the forked command a more accurate name
6943 2003-02-22 John Levon <levon@movementarian.org>
6946 * toc.C: make TocItem store an id not a Paragraph *
6949 2003-02-21 Angus Leeming <leeming@lyx.org>
6951 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6952 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6953 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6954 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6955 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6956 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6958 * BufferView_pimpl.C (dispatch):
6959 * LyXAction.C (init):
6960 * factory.C (createInset):
6961 * lyxfunc.C (getStatus, dispatch):
6962 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6964 2003-02-21 Angus Leeming <leeming@lyx.org>
6966 * BufferView_pimpl.C (MenuInsertLyXFile):
6967 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6968 * lyxfunc.C (menuNew, open, doImport):
6969 no longer pass a LyXView & to fileDlg.
6971 2003-02-21 Angus Leeming <leeming@lyx.org>
6973 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6974 * LyXAction.C: change, BIBKEY to BIBITEM.
6975 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6976 Change InsetBibKey to InsetBibitem.
6977 Change BIBKEY_CODE to BIBITEM_CODE.
6978 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6979 * factory.C: replace insetbib.h with insetbibitem.h.
6980 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6981 * paragraph.C: replace insetbib.h with insetbibitem.h.
6982 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6983 Change bibkey() to bibitem().
6984 * text.C: remove insetbib.h.
6985 * text2.C: replace insetbib.h with insetbibitem.h.
6986 change bibkey() to bibitem().
6987 * text3.C: remove insetbib.h.
6988 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6990 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6992 * lyxrc.C (output): enclose user email in quotes (in case there are
6995 2003-02-18 John Levon <levon@movementarian.org>
6997 * buffer.h: add std::
6999 2003-02-17 John Levon <levon@movementarian.org>
7005 * pspell.C: reworking. Especially in ispell, a large
7006 number of clean ups and bug fixes.
7008 * lyxfunc.C: fix revert to behave sensibly
7010 2003-02-17 André Pönitz <poenitz@gmx.net>
7013 * commandtags.h: new LFUN_INSERT_BIBKEY
7023 * paragraph_func.C: remove special bibkey handling
7025 2003-02-17 John Levon <levon@movementarian.org>
7027 * text.C (Delete): fix case where delete at the end of
7028 the very first paragraph would not merge the pars
7030 2003-02-17 John Levon <levon@movementarian.org>
7032 * lyxrow.C: fix lastPrintablePos()
7034 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7036 * bufferparams.C (writeLaTeX): add a std:here
7038 * buffer.C: and remove a using directive there
7040 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7042 * buffer.C (makeLaTeXFile): move the code that generates the
7045 * bufferparams.C (writeLaTeX): ... in this new method
7047 * LaTeXFeatures.C (getEncodingSet): make const
7048 (getLanguages): make const
7050 * MenuBackend.C (binding): returns the binding associated to this
7052 (add): sets the status of each item by calling getStatus. Adds
7054 (read): add support for OptSubMenu
7055 (expand): remove extra separator at the end of expanded menu
7057 2003-02-15 John Levon <levon@movementarian.org>
7060 * BufferView_pimpl.C:
7062 * bufferlist.C: remove pointless BufferStorage bloat. Remove
7063 inset code that had no actual effect. Remove unneeded status
7066 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7068 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7071 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
7073 * text.C (drawLengthMarker): also draw an arrow marker for
7074 symbolic lengths (medskip...)
7076 2003-02-14 John Levon <levon@movementarian.org>
7079 * tabular.C: better method names
7081 2003-02-14 John Levon <levon@movementarian.org>
7083 * BufferView_pimpl.C:
7088 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7089 it's a more accurate name. Remove some pointless uses.
7091 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7093 * text2.C (LyXText): change order of initilizers to shut off
7096 2003-02-14 John Levon <levon@movementarian.org>
7098 * buffer.C: use ParIterator for getParFromID()
7102 * paragraph_pimpl.h:
7103 * paragraph_pimpl.C: remove unused getParFromID()
7105 2003-02-14 John Levon <levon@movementarian.org>
7107 * buffer.C: remove some very old #if 0'd parse code
7109 2003-02-13 John Levon <levon@movementarian.org>
7113 * text2.C: move hfillExpansion(), numberOfSeparators(),
7114 rowLast(), rowLastPrintable(), numberofHfills(),
7115 numberOfLabelHfills() ...
7118 * lyxrow.C: ... to member functions here.
7123 * text.C: remove LyXText::beginningOfMainBody(), and call
7124 p->beginningOfMainBody() directly. Move the check for
7125 LABEL_MANUAL into the latter.
7132 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7138 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7139 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7141 2003-02-13 John Levon <levon@movementarian.org>
7143 * CutAndPaste.C: remove debug
7145 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7147 * paragraph.C (asString): remove two unused variables
7149 * lyxtextclass.C (readTitleType):
7151 (LyXTextClass): handle new members titletype_ and titlename_
7153 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7155 2003-02-09 John Levon <levon@movementarian.org>
7158 * buffer.C: replace hand-coded list with a map for the dep clean
7160 2003-02-08 John Levon <levon@movementarian.org>
7162 * LaTeX.C: consolidate code into showRunMessage() helper
7164 2003-02-08 John Levon <levon@movementarian.org>
7169 * BufferView.C: change setSelectionOverString() to setSelectionRange()
7170 and pass the size in explicitly
7172 * BufferView_pimpl.h:
7173 * BufferView_pimpl.C:
7175 * BufferView.C: add getCurrentChange()
7177 * BufferView_pimpl.h:
7178 * BufferView_pimpl.C: handle change lfuns
7180 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7181 for changes. Mark pasted paragraphs as new.
7183 * support/lyxtime.h:
7184 * support/lyxtime.C:
7185 * DepTable.C: abstract time_t as lyx::time_type
7188 * LColor.C: add colours for new text, deleted text, changebars
7190 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7191 package use "usenames" option.
7195 * LyXAction.C: add change lfuns
7199 * author.C: author handling
7202 * buffer.C: add a per-buffer author list, with first entry as
7203 current author. Handle new .lyx tokens for change tracking. Output
7204 author list to .lyx file. Output dvipost stuff to .tex preamble.
7205 Bump lyx format to 222.
7208 * bufferlist.C: add setCurrentAuthor() to reset current author details
7212 * bufferparams.C: add param for tracking
7214 * bufferview_funcs.C: output change info in minibuffer
7218 * changes.C: add change-tracking structure
7221 * debug.C: add CHANGES debug flag
7224 * lyxfind.C: add code for finding the next change piece
7227 * lyxrc.C: add user_name and user_email
7230 * lyxrow.C: add a metric for the top of the text line
7233 * text.C: implement accept/rejectChange()
7236 * text.C: paint changebars. Paint new/deleted text in the chosen
7237 colours. Strike through deleted text.
7241 * paragraph_pimpl.h:
7242 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7243 in the current change to the insert functions. Rework erase to
7244 mark text as deleted, adding an eraseIntern() and a range-based
7245 erase(). Implement per-paragraph change lookup and
7248 * paragraph_funcs.C: Fixup paste for change tracking.
7250 * tabular.C: mark added row/columns as new.
7252 * text.C: fix rowLast() to never return -1. Don't allow
7253 spellchecking of deleted text. Track transpose changes. Don't
7254 allow paragraph break or merge where appropriate.
7256 * text2.C: leave cursor at end of selection after a cut.
7258 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7260 * text.C (getLengthMarkerHeight):
7261 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7262 visible on screen too.
7264 2003-02-07 John Levon <levon@movementarian.org>
7266 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7268 2003-02-05 Angus Leeming <leeming@lyx.org>
7270 * lyxserver.C (read_ready): revert my patch of 11 September last year
7271 as it sends PC cpu through the roof. Presumably this means that
7272 the lyxserver will no longer run on an Alpha...
7274 2003-01-30 Angus Leeming <leeming@lyx.org>
7276 * factory.C (createInset): create an InsetCommandParam of type "index"
7277 and use it to 'do the right thing'.
7279 * text2.C (getStringToIndex): ensure that cursor position is always
7280 reset to the reset_cursor position.
7282 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7284 * lyxfunc.C (getStatus): "buffer-export custom" should never be
7287 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
7291 * lyxfunc.C: Output messages with identical spelling, punctuation,
7294 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
7296 * MenuBackend.C (expandFormats): List only viewable export formats
7299 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7302 * lyxfunc.C (getStatus): Make sure that formats other than
7303 "fax" can also be disabled
7305 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7307 * text3.C (dispatch): put the lfuns that insert insets in 3
7308 groups, and call doInsertInset with appropriate arguments.
7309 (doInsertInset): new function, that creates an inset and inserts
7310 it according to some boolean parameters.
7312 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7314 * buffer.C (readFile): remember to pass on 'par' when calling
7315 readFile recursively.
7317 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7319 * MenuBackend.C (expandFormats): add "..." to import formats.
7321 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
7323 * paragraph.C (asString): Remove XForms RTL hacks.
7325 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
7326 * buffer.C: fix typo
7328 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7330 * Makefile.am (LIBS): delete var
7331 (lyx_LDADD): add @LIBS@ here instead.
7333 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
7335 * Clarify the meaning of "wheel mouse jump"
7337 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7339 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7342 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7344 * importer.C (Loaders): do not preallocate 3 elements in the
7345 vector, since one ends up with 6 elements otherwise
7347 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7349 * DepTable.C (write): write the file name as last element of the
7350 .dep file (because it may contain spaces)
7351 (read): read info in the right order
7353 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7355 * paragraph_pimpl.C (simpleTeXBlanks):
7356 (simpleTeXSpecialChars):
7357 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7359 * tabular.C (latex): add some missing case statements. Reindent.
7361 * MenuBackend.C (expandToc): remove unused variable.
7363 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
7372 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7375 2003-01-05 John Levon <levon@movementarian.org>
7378 * BufferView.C: add getEncoding()
7381 * kbsequence.C: do not store last keypress
7384 * lyxfunc.C: store last keypress here instead. Pass encoding
7387 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7389 * lyx_main.C (init): remove annoying error message when following
7390 symbolic links (bug #780)
7392 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7394 * text.C (insertChar):
7395 * lyxrc.C (getDescription): remove extra spaces
7397 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7399 * lyxrc.C (getDescription): remove extra spaces
7401 2002-12-20 John Levon <levon@movementarian.org>
7403 * text3.C: hack fix for page up/down across tall rows
7405 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7407 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7410 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7412 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7413 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7414 thesaurus is not compiled in
7416 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
7418 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
7420 2002-12-16 Angus Leeming <leeming@lyx.org>
7423 * lyx_main.C (init): remove override_x_deadkeys stuff.
7425 2002-12-12 John Levon <levon@movementarian.org>
7427 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7428 insert. Only remove shift modifier under strict
7431 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7433 * MenuBackend.C (expandToc): fix crash.
7435 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7437 * MenuBackend.C (expandToc): gettext on float names.
7439 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7441 * lyxlength.[Ch]: set default unit to UNIT_NONE,
7442 implement bool empty() [bug 490]
7444 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7446 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7448 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7450 * several files: ws changes
7452 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7454 * text2.C (setCounter): clean up a bit, use boost.format.
7455 (updateCounters): initialize par upon declaration.
7457 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7458 if the layout exists. We do not just store the layout any more.
7459 (SwitchLayoutsBetweenClasses): use boost.format
7461 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7463 * converter.C (convert): if from and to files are the same, use a
7464 temporary files as intermediary
7466 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7469 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7471 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
7473 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7475 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7477 * tabular.C (asciiPrintCell): use string(size, char) instead of
7480 * sgml.C (openTag): fix order of arguments to string constructor
7483 * lyxfunc.C (dispatch): use boost.format
7485 * lots of files: change "c" -> 'c'
7487 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
7489 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7491 2002-11-25 Angus Leeming <leeming@lyx.org>
7493 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7495 * lyx_main.C (init): compile fix.
7497 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7499 * lyx_cb.C (start): boost.formatify
7500 do not include <iostream>
7502 * lengthcommon.C: ws only
7504 * boost-inst.C,BoostFormat.h: add more explict instantations
7506 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7508 * lots of files: handle USE_BOOST_FORMAT
7510 2002-11-21 John Levon <levon@movementarian.org>
7512 * pspell.C: fix compile
7514 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7516 * lyxfunc.C (dispatch): use boost::format
7520 * lyxfont.C (stateText): use boost::format
7522 * lyx_main.C (LyX): use boost::format
7524 (queryUserLyXDir): ditto
7527 (typedef boost::function): use the recommened syntax.
7529 * importer.C (Import): use boost::format
7531 * debug.C (showLevel): use boost::format
7533 * converter.C (view): use boost::format
7538 * bufferview_funcs.C (currentState): use boost::format
7540 * bufferlist.C (emergencyWrite): use boost::format
7542 * buffer.C (readLyXformat2): use boost::format
7543 (parseSingleLyXformat2Token): ditto
7545 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7547 * LaTeX.C (run): use boost::format
7549 * Chktex.C (scanLogFile): use boost::format
7551 * BufferView_pimpl.C (savePosition): use boost::format
7552 (restorePosition): ditto
7553 (MenuInsertLyXFile): ditto
7555 * BoostFormat.h: help file for explicit instation.
7557 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
7559 * tabular.C (latex): Support for block alignment in fixed width
7562 2002-11-17 John Levon <levon@movementarian.org>
7564 * BufferView_pimpl.C:
7566 * lyxfunc.C: split filedialog into open/save
7568 2002-11-08 Juergen Vigna <jug@sad.it>
7570 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7571 by my last patch (hopefully).
7573 2002-11-08 John Levon <levon@movementarian.org>
7582 * toc.C: ParConstIterator, and use it (from Lars)
7584 2002-11-07 Ben Stanley <bds02@uow.edu.au>
7586 * lyxtextclass.[Ch]: revise and add doxygen comments
7588 2002-11-07 John Levon <levon@movementarian.org>
7590 * text.C: fix progress value for spellchecker
7592 * toc.C: fix navigate menu for insetwrap inside minipage
7594 * paragraph_funcs.C: added FIXME for suspect code
7596 2002-11-07 John Levon <levon@movementarian.org>
7598 * BufferView_pimpl.C: fix redrawing of insets
7601 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7603 * text2.C (updateCounters): fix bug 668
7605 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
7607 * text3.C (dispatch): Do not make the buffer dirty when moving the
7610 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7612 * vc-backend.C: STRCONV
7615 * text2.C (setCounter): STRCONV
7617 * paragraph.C (asString): STRCONV
7619 * lyxlength.C (asString): STRCONV
7620 (asLatexString): ditto
7622 * lyxgluelength.C (asString): STRCONV
7623 (asLatexString): ditto
7625 * lyxfunc.C (dispatch): STRCONV
7628 * lyxfont.C (stateText): STRCONV
7630 * importer.C (Import): STRCONV
7632 * counters.C (labelItem): STRCONV
7633 (numberLabel): ditto
7634 (numberLabel): remove unused ostringstream o
7639 * bufferview_funcs.C (currentState): STRCONV
7641 * buffer.C (readFile): STRCONV
7642 (asciiParagraph): ditto
7643 (makeLaTeXFile): ditto
7645 * Spacing.C (writeEnvirBegin): STRCONV
7647 * LaTeXFeatures.C (getLanguages): STRCONV
7648 (getPackages): ditto
7650 (getBabelOptions): ditto
7651 (getTClassPreamble): ditto
7652 (getLyXSGMLEntities): ditto
7653 (getIncludedFiles): ditto
7657 (scanAuxFile): ditto
7660 * LString.h: add the STRCONV macros
7662 * BufferView_pimpl.C (savePosition): STRCONV
7663 (restorePosition): ditto
7664 (MenuInsertLyXFile): ditto
7666 * vc-backend.C (scanMaster): change from submatch[...] to
7669 * funcrequest.C: include config.h
7671 * factory.C: include config.h
7673 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7675 * box.C: include config.h
7677 * LaTeX.C (scanAuxFile): change from submatch[...] to
7681 2002-10-25 Angus Leeming <leeming@lyx.org>
7683 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7685 * ispell.[Ch] (setError): new method.
7686 * ispell.C (c-tor): move out child process into new class LaunchIspell.
7687 Use setError() insetead of goto END.
7689 * lyx_cb.C (AutoSave): move out child process into new class
7692 2002-10-30 John Levon <levon@movementarian.org>
7694 * text3.C: make start appendix undoable
7696 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
7698 * lyxlength.C (inPixels): Fix returned value.
7700 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7703 2002-10-24 Angus Leeming <leeming@lyx.org>
7705 * lyxgluelength.h: no need to forward declare BufferParams
7706 or BufferView, so don't.
7708 2002-10-21 John Levon <levon@movementarian.org>
7710 * BufferView.C: menuUndo ->undo, redo
7712 * BufferView.h: document, remove dead, make some methods private
7714 * paragraph_funcs.h:
7715 * paragraph_funcs.C:
7716 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7721 * sgml.C: move sgml open/close tag into sgml.C
7723 * bufferview_funcs.h: unused prototype
7726 * lyxfunc.C: remove unused
7729 * text.C: remove unused
7731 2002-10-21 John Levon <levon@movementarian.org>
7735 * BufferView_pimpl.h:
7736 * BufferView_pimpl.C: fix mouse wheel handling based on
7737 patch from Darren Freeman
7739 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
7741 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7743 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
7745 * lyxlength.C (inPixels): Fix hanfling of negative length.
7746 Fix LyXLength::MU case.
7748 2002-10-16 John Levon <levon@movementarian.org>
7750 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7752 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7754 * converter.C (view): add support for $$i (file name) and $$p
7755 (file path) for the viewer command. If $$i is not specified, then
7756 it is appended to the command (for compatibility with old syntax)
7758 2002-10-14 Juergen Vigna <jug@sad.it>
7760 * undo_funcs.C (textHandleUndo): alter the order in which the
7761 new undopar is added to the LyXText, as we have to set first
7762 the right prev/next and then add it as otherwise the rebuild of
7763 LyXText is not correct. Also reset the cursor to the right paragraph,
7764 with this IMO we could remove the hack in "redoParagraphs()".
7766 2002-10-09 Angus Leeming <leeming@lyx.org>
7768 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7769 to turn off an optimisation if a new inset is to be inserted.
7771 2002-10-11 André Pönitz <poenitz@gmx.net>
7773 * lyxtext.h: make some functions public to allow access
7774 from inset/lyxtext for handling LFUN_PRIOR/NEXT
7776 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7778 * text3.C (dispatch): when changing layout, avoid an infinite loop
7781 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7783 * lyxrc.C (read): treat a viewer or converter command of "none" as
7786 * MenuBackend.C (expandFormats): for an update, also allow the
7787 formats that are not viewable
7789 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7790 script if it is newer than the lyxrc.defaults in user directory
7792 2002-10-07 André Pönitz <poenitz@gmx.net>
7794 * text.C: Vitaly Lipatov's small i18n fix
7796 2002-09-25 Angus Leeming <leeming@lyx.org>
7798 * ispell.h: doxygen fix.
7800 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
7802 * buffer.h (readFile): Add a new argument to the method, to allow
7803 reading of old-format templates.
7805 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
7807 * toc.C (getTocList): Get TOC from InsetWrap.
7809 2002-09-16 John Levon <levon@movementarian.org>
7811 * lyxfunc.C: check tabular for cut/copy too
7813 2002-09-12 John Levon <levon@movementarian.org>
7818 * factory.C: add header
7820 * paragraph_funcs.h:
7821 * paragraph_funcs.C: cleanup
7823 2002-09-11 John Levon <levon@movementarian.org>
7825 * PrinterParams.h: odd/even default to true
7827 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
7829 * PrinterParams.h: update printer parameters for new xforms dialog
7831 2002-09-11 Angus Leeming <leeming@lyx.org>
7833 * lyxserver.C (read_ready): re-write to make it more transparent
7834 and to make it work in coherent fashion under Tru64 Unix.
7836 2002-09-11 André Pönitz <poenitz@gmx.net>
7840 * text3.C: implement LFUN_WORDSEL
7842 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7844 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7845 make floatlist_ a boost::shared_ptr<FloatList>
7847 * lyxtextclass.C: include FloatList.h
7848 (LyXTextClass): initialize floatlist_
7849 (TextClassTags): add TC_NOFLOAT
7850 (Read): match "nofloat" to TC_NOFLOAT and use it.
7851 (readFloat): modify call to floatlist_
7855 * FloatList.[Ch] (FloatList): remove commented out float
7857 (erase): new function
7859 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7861 * MenuBackend.C (expandToc): fix crash when there is no document
7864 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
7866 * many files: Add insetwrap.
7868 2002-09-09 John Levon <levon@movementarian.org>
7870 * text2.C: remove confusing and awkward depth wraparound
7872 2002-09-09 John Levon <levon@movementarian.org>
7874 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7877 * buffer.C: remove getIncludeonlyList()
7880 * lyxfunc.C: remove headers
7882 2002-09-09 Juergen Vigna <jug@sad.it>
7884 * text.C (getColumnNearX): fix form Michael this is most
7885 probably a cut&paste bug.
7887 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7889 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7891 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7892 references, ws changes.
7894 * text2.C (init): update counters after init
7895 (insertParagraph): no need to set counter on idividual paragraphs.
7896 (setCounter): access the counters object in the textclass object
7897 on in the buffer object.
7898 (updateCounters): ditto
7900 * lyxtextclass.C: include counters.h, add variable ctrs_ as
7901 shared_ptr<Counters> to avoid loading counters.h in all
7903 (LyXTextClass): initialize ctrs_
7904 (TextClassTags): add TC_COUNTER, and ...
7905 (Read): use it here.
7906 (CounterTags): new tags
7907 (readCounter): new function
7908 (counters): new funtion
7909 (defaultLayoutName): return a const reference
7911 * counters.C (Counters): remove contructor
7912 (newCounter): remove a couple of unneeded statements.
7913 (newCounter): simplify a bit.
7914 (numberLabel): some small formatting changes.
7916 * buffer.[Ch]: remove all traces of counters, move the Counters
7917 object to the LyXTextClass.
7919 2002-09-06 Alain Castera <castera@in2p3.fr>
7921 * tabular.C: uses \tabularnewline; uses >{...} construct from array
7922 package to set the horizontal alignment on fixed width columns.
7925 * lyx_sty.h: added tabularnewline macro def.
7927 * LaTeXFeatures.C: added NeedTabularnewline macro feature
7929 2002-09-06 John Levon <levon@movementarian.org>
7931 * LyXAction.C: tooltips for sub/superscript
7933 * MenuBackend.C: a bit more verbose
7935 * lyxfunc.C: tiny clean
7937 * undo_funcs.C: document undo_frozen
7939 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7941 * counters.C (Counters): add missing algorithm counter.
7943 * text2.C (setCounter): lookup the counter with layouts latexname
7944 instead of by section number.
7945 (setCounter): use a hackish way to lookup the correct enum
7947 a float name->type change
7948 reset enum couners with counter name directly instead of depth value.
7950 * counters.C (Counters): remove the push_backs, change to use the
7951 float type not the float name.
7952 (labelItem): remove unused string, float name->type change
7954 * counters.h: don't include vector, loose the enums and sects vectors
7956 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7958 * lyxtextclass.C (TextClassTags): add TC_FLOAT
7959 (Read): add float->TC_FLOAT to textclassTags
7960 (Read): and handle it in the switch
7961 (readFloat): new function
7963 * FloatList.C (FloatList): comment out the hardcoded float
7966 * lyxlayout.h: ws change.
7968 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
7970 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7972 2002-09-03 Angus Leeming <leeming@lyx.org>
7974 * BufferView_pimpl.h: qualified name is not allowed in member
7975 declaration: WorkArea & Pimpl::workarea() const;
7977 * factory.C: added using std::endl directive.
7979 * text3.C: added using std::find and std::vector directives.
7981 2002-08-29 André Pönitz <poenitz@gmx.net>
7984 * text2.C: remove unused member number_of_rows
7987 * BufferView2.C: remove file, move contents to...
7988 * BufferView.C: ... here
7990 * BufferView_pimpl.C:
7991 * factory.C: move more inset creation to factory
7993 * vspace.C: avoid direct usage of LyXText, ws changes
7996 don't provide direct access to WorkArea, use two simple
7997 acessors haveSelction() and workHeight() instead
8000 2002-08-29 John Levon <levon@movementarian.org>
8002 * BufferView_pimpl.C (dispatch): do not continue when
8005 2002-08-28 André Pönitz <poenitz@gmx.net>
8007 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8010 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8012 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
8014 * buffer.C: increment LYX_FORMAT to 221
8016 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8017 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8019 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8021 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8023 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8025 * factory.C (createInset): use LyXTextClass::floats
8027 * MenuBackend.C (expandFloatListInsert):
8028 (expandFloatInsert):
8031 * text2.C (setCounter):
8033 * LaTeXFeatures.C (useFloat):
8034 (getFloatDefinitions):
8036 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8038 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8039 floatlist_, with accessor floats().
8041 * FloatList.h: remove global FloatList
8043 2002-08-26 André Pönitz <poenitz@gmx.net>
8045 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8049 * BufferView_pimpl.C:
8050 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8052 2002-08-25 John Levon <levon@movementarian.org>
8054 * LyXAction.C: fix margin note description
8056 2002-08-24 John Levon <levon@movementarian.org>
8060 * bufferview_funcs.C:
8062 * undo_funcs.C: cleanups
8064 * lyxfunc.C: disable CUT/COPY when no selection
8066 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
8068 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8069 in "enum UNIT"; e.g. PTW for Percent of TextWidth
8071 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8072 Add backward compatibility to "mono", "gray" and "no".
8074 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
8076 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8077 (and file_format >= 200).
8079 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8081 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8083 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8085 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8087 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
8089 * BufferView_pimpl.C:
8096 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8097 inset and code to make it work with the paragraph code. The inset
8098 can be anywhere in the paragraph, but will only do the expected
8099 thing in LaTeX if the layout file contains the parameter line
8101 (or more generally, a nonzero value) for that layout.
8103 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8105 * paragraph.h: remove the declaration of undefined counters class
8108 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
8110 * text2.C (setCounter): fixed enumeration mis-count as reported by
8111 Dr. Richard Hawkins.
8113 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8115 * paragraph_funcs.h: remove some unneeded includes
8117 * text.C (backspace): pasteParagraph now in global scipe
8119 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8120 (pasteSelection): ditto
8122 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8123 * paragraph_funcs.C (pasteParagraph): ... here
8125 2002-08-20 André Pönitz <poenitz@gmx.net>
8127 * commandtags.h: new LFUNs for swapping/copying table row/colums
8130 * lyxfunc.C: support for new lfuns
8132 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
8135 * buffer.[Ch]: remove NO_COMPABILITY stuff
8137 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
8139 * boost.C (throw_exception): new file, with helper function for
8140 boost compiled without exceptions.
8145 * ParameterStruct.h:
8146 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8148 * bufferlist.C (emergencyWriteAll): use boost bind
8150 * BufferView_pimpl.C (moveCursorUpdate): remove inline
8152 * text.C: include paragraph_funcs.h
8153 (breakParagraph): breakParagraph is now in global scope
8155 * paragraph_funcs.[Ch]: new files
8157 * paragraph.C (breakParagraph,breakParagraphConservative): move to
8160 * buffer.C: include paragraph_funcs.h
8161 (insertStringAsLines): breakParagraph is now in global scope
8163 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8166 * CutAndPaste.C: include paragraph_funcs.h
8167 (cutSelection): breakParagraphConservative is now in global scope
8168 (pasteSelection): ditto
8170 * buffer.h: declare oprator== and operator!= for
8171 Buffer::inset_iterator
8173 * bufferlist.C (emergencyWrite): don't use fmt(...)
8175 * text3.C: add using std::endl
8177 * BufferView.C (moveCursorUpdate): remove default arg
8179 2002-08-20 André Pönitz <poenitz@gmx.net>
8181 * buffer.[Ch]: move inline functions to .C
8184 * BufferView_pimpl.C:
8186 * buffer.[Ch]: use improved inset_iterator
8189 * paragraph.[Ch]: write one paragraph at a time
8191 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
8193 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8194 style if style is not specified.
8196 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8198 * text2.C (setCounter): when searching for right label for a
8199 caption, make sure to recurse to parent insets (so that a caption
8200 in a minipage in a figure float works) (bug #568)
8202 2002-08-20 André Pönitz <poenitz@gmx.net>
8204 * text3.C: new file for LyXText::dispatch() and helpers
8206 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8208 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8210 2002-08-19 André Pönitz <poenitz@gmx.net>
8213 * text.C: new LyXText::dispatch()
8215 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8217 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
8219 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8221 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8224 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8226 * Makefile.am: use $(variables) instead of @substitutions@
8228 2002-08-15 André Pönitz <poenitz@gmx.net>
8231 * BufferView_pimpl.C: streamlining mathed <-> outer world
8235 * LyXAction.C: remove unused LFUN_MATH
8237 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8239 * paragraph.[Ch]: add some NO_NEXT ifdefs.
8241 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8243 * paragraph.C (Paragraph): reformat a bit
8244 (cutIntoMinibuffer): use builtin InsetList function instad of
8248 * buffer.C: include boost/bind.hpp, add using std::for_each
8249 (writeFileAscii): use ParagraphList iterators
8250 (validate): use for_each for validate traversal of paragraphs
8251 (getBibkeyList): use ParagraphList iterators
8252 (resizeInsets): use for_each to resizeInsetsLyXText for all
8254 (getParFromID): use ParagraphList iterators
8256 * BufferView2.C (lockInset): use paragraph list and iterators
8258 2002-08-14 John Levon <levon@movementarian.org>
8260 * lyxserver.C: remove spurious xforms include
8262 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8264 * lyxfunc.C (getStatus): disable math-extern outside of math mode
8266 2002-08-13 André Pönitz <poenitz@gmx.net>
8269 * lyxfunc.C: further cleaning
8271 2002-08-13 André Pönitz <poenitz@gmx.net>
8273 * funcrequest.h: new constructor
8275 * funcrequest.C: move stuff here from .h
8278 * BufferView_pimpl.C:
8281 * lyxfunc.C: subsequent changes
8283 * lyxfunc.h: new view() member function
8285 * lyxfunc.C: subsequent changes
8287 2002-08-13 Angus Leeming <leeming@lyx.org>
8290 * BufferView_pimpl.C:
8298 changes due to the changed LyXView interface that now returns references
8299 to member variables not pointers.
8301 2002-08-13 Angus Leeming <leeming@lyx.org>
8303 * WordLangTuple (word, lang_code): return references to strings,
8308 * lyxtext.h: forward-declare WordLangTuple.
8313 * text.C: #include "WordLangTuple.h".
8316 * text.C: (selectNextWordToSpellcheck): constify return type.
8318 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
8324 * paragraph_pimpl.h:
8327 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8329 Made updateCounter always count from start of buffer, and removed
8330 second argument (par).
8331 Reverted floats number display to '#'. Perhaps I'll try again when the
8332 code base is sanitized a bit.
8334 2002-08-12 Angus Leeming <leeming@lyx.org>
8336 * buffer.[Ch] (getLabelList): constify.
8338 2002-08-07 André Pönitz <poenitz@gmx.net>
8340 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8342 * funcrequest.h: extension to keep mouse (x,y) position
8344 2002-08-12 Juergen Vigna <jug@sad.it>
8346 * BufferView2.C (insertErrors): forbid undo when inserting error
8349 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8351 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8353 * ParagraphList.[Ch]: new files
8355 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8357 * BufferView2.C (lockInset): ParagraphList changes
8360 * bufferlist.C: ditto
8364 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8366 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8367 unused class variable counter_,
8369 * paragraph.[Ch] (getFirstCounter): delete unused function
8371 * counters.C: include LAssert.h
8372 (reset): add a new function with no arg, change other version to
8373 not have def. arg and to not allow empty arg.
8375 * text2.C (setCounter): remove empty arg from call to Counters::reset
8377 2002-08-11 John Levon <levon@movementarian.org>
8379 * Makefile.am: add WordLangTuple.h
8381 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8383 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8384 lyxfunc.C lyxlex_pimpl.C: ws changes only.
8386 * insets/insettext.C: InsetList changes
8388 * graphics/GraphicsSupport.C (operator()): InsetList changes
8390 * toc.C (getTocList): InsetList changes
8392 * paragraph_pimpl.[Ch]: InsetList changes
8394 * paragraph.[Ch]: InsetList changes
8396 * buffer.C (inset_iterator): InsetList changes
8397 (setParagraph): ditto
8398 * buffer.h (inset_iterator): ditto
8399 * iterators.C (operator++): ditto
8400 * iterators.h: ditto
8402 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8404 * InsetList.[Ch]: new files, most InsetList handling moved out of
8407 * BufferView2.C (removeAutoInsets): InsetList changes
8409 (ChangeInsets): ditto
8411 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8413 * paragraph_pimpl.h (empty): new function
8415 * paragraph.[Ch] (empty): new function
8417 * other files: use the new Paragraph::empty function
8419 2002-08-09 John Levon <levon@movementarian.org>
8421 * lyxtext.h: remove unused refresh_height
8423 2002-08-09 John Levon <levon@movementarian.org>
8430 * paragraph.C: move sgml char escaping out of paragraph
8433 * paragraph.C: remove id setter
8437 * paragraph_pimpl.C: remove dead tex_code_break_column
8439 * bufferview_funcs.C: small cleanup
8441 * lyxfunc.C: remove dead proto
8443 * lyxtext.h: make some stuff private. Remove some dead stuff.
8445 * lyxgluelength.C: make as[LyX]String() readable
8447 2002-08-08 John Levon <levon@movementarian.org>
8452 * ToolbarDefaults.C:
8455 * toc.C: lyxaction cleanup
8457 2002-08-08 John Levon <levon@movementarian.org>
8459 * BufferView2.C: small cleanup
8462 * lyxfind.C: move unnecessary header into the .C
8464 2002-08-08 John Levon <levon@movementarian.org>
8466 * funcrequest.h: just tedious nonsense
8469 * lyx_main.C: cleanups
8472 * vspace.C: remove dead header lyx_main.h
8474 2002-08-07 Angus Leeming <leeming@lyx.org>
8477 * paragraph_pimpl.h:
8478 Forward declare class Counters in paragraph.h by moving the ctrs member
8479 variable into Paragraph::Pimpl.
8480 (counters): new method, returning a reference to pimpl_->ctrs.
8482 * text2.C: ensuing changes.
8484 2002-08-07 John Levon <levon@movementarian.org>
8486 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8488 * BufferView_pimpl.C: announce X selection on double/triple
8491 * lyx_main.C: use correct bool in batch dispatch
8493 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8495 2002-08-07 André Pönitz <poenitz@gmx.net>
8497 * funcrequest.h: new class to wrap a kb_action and its argument
8500 * BufferView_pimpl[Ch]:
8504 * lyxrc.C: subsequent changes
8507 2002-08-07 John Levon <levon@movementarian.org>
8509 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8510 document options change.
8512 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8517 * makefile.am: move counters functionality over from
8518 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8520 2002-08-06 John Levon <levon@movementarian.org>
8522 * WordLangTuple.h: new file for word + language code tuple
8533 * BufferView2.C: use WordLangTuple
8536 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8538 2002-08-06 John Levon <levon@movementarian.org>
8540 * lyx_main.C: fix cmdline batch handling
8542 2002-08-06 André Pönitz <poenitz@gmx.net>
8544 * lyxrc.C: set default for show_banner to true
8546 2002-08-06 John Levon <levon@movementarian.org>
8548 * pspell.C: fix a crash, and allow new aspell to work
8550 2002-08-06 John Levon <levon@movementarian.org>
8553 * kbmap.C: small cleanup
8556 * vspace.C: add const
8558 2002-08-05 John Levon <levon@movementarian.org>
8560 * LyXAction.C: back to tabular-insert
8562 2002-08-04 John Levon <levon@movementarian.org>
8565 * BufferView.C: cosmetic change
8567 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8577 * BufferView2.C: purge all "Lyx" not "LyX" strings
8580 * lyxcursor.C: attempt to add some documentation
8585 * ToolbarDefaults.C:
8586 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8587 merge with LFUN_TABULAR_INSERT
8594 * pspell.C: split up i/pspell implementations into separate
8595 files, many cleanups
8597 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8599 * text2.C: some cleanup
8601 * lyxfunc.C: don't check for isp_command == "none" any more, it
8602 didn't make any sense
8604 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8609 * makefile.am: move counters functionality over
8610 from text2.C/paragraph.[Ch] to counters.[Ch], and
8612 2002-08-02 John Levon <levon@movementarian.org>
8614 * buffer.C: s/lyxconvert/lyx2lyx/
8616 2002-08-02 Angus Leeming <leeming@lyx.org>
8618 * lyxlex.C: revert John's change as it breaks reading of the user
8621 2002-08-02 Angus Leeming <leeming@lyx.org>
8623 * importer.C (Import):
8624 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8625 changes due to LyXView::view() now returning a boost::shared_ptr.
8627 2002-08-02 John Levon <levon@movementarian.org>
8629 * lyxlex.C: small cleanup
8631 2002-08-02 John Levon <levon@movementarian.org>
8633 * text2.C (status): small cleanup, no logic change
8635 2002-08-01 John Levon <levon@movementarian.org>
8638 * buffer.C (writeFile): don't output alerts, caller
8642 * lyx_cb.C: from above
8644 * lyxfunc.C: allow to open non-existent files
8646 2002-07-31 John Levon <levon@movementarian.org>
8648 * lyxserver.C: don't let incidental errors get
8651 2002-07-30 John Levon <levon@movementarian.org>
8653 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8655 2002-07-30 John Levon <levon@movementarian.org>
8658 * lyxserver.C: remove I/O callback too
8660 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8662 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8665 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8667 * many files: strip,frontStrip -> trim,ltrim,rtrim
8669 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8671 * PrinterParams.h: remove extern containsOnly, and include
8672 support/lstrings.h instead.
8674 * LaTeX.C (scanAuxFile): modify because of strip changes
8676 * buffer.C (makeLaTeXFile): ditto
8677 * bufferparams.C (writeFile): ditt
8678 * lyxfont.C (stateText): ditto
8679 * lyxserver.C (read_ready): ditto
8680 * vc-backend.C (scanMaster): ditto
8682 * BufferView_pimpl.h: ws changes
8684 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8686 2002-07-26 André Pönitz <poenitz@gmx.net>
8688 * kb_sequence.C: remove unnedred usings
8690 2002-07-26 Juergen Vigna <jug@sad.it>
8692 * lyxfind.C (LyXReplace): we have to check better if the returned
8693 text is not of theLockingInset()->getLockingInset().
8695 2002-07-25 Juergen Vigna <jug@sad.it>
8697 * lyxfind.C (LyXReplace): don't replace if we don't get the
8700 * undo_funcs.C (createUndo): remove debugging code.
8702 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
8704 * buffer.C (parseSingleLyXformat2Token): Use default placement
8705 when reading old floats.
8707 * FloatList.C (FloatList): Change the default placement of figure
8708 and tables to "tbp".
8710 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
8712 * MenuBackend.C: using std::max
8714 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8716 * MenuBackend.C (expandToc):
8717 (expandToc2): code moved from xforms menu frontend. It is now
8718 generic and TOCs are transparent to menu frontends.
8720 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8722 * toc.C (getTocList): protect against buf=0
8724 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8725 Menu as first parameter. Now, this calls itself recursively to
8726 expand a whole tree (this will be useful for TOC handling)
8727 (expandFloatInsert): remove 'wide' version of floats
8729 * MenuBackend.h (submenuname): returns the name of the submenu.
8730 (submenu): returns the submenu itself, provided it has been
8731 created by MenuBackend::expand
8733 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8735 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8736 insets which have noFontChange == true. (bug #172)
8738 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8740 * BufferView_pimpl.C: add connection objects and use them...
8743 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8745 * MenuBackend.C (expandLastfiles):
8748 (expandFloatListInsert):
8749 (expandFloatInsert):
8750 (expand): split expand in parts
8752 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8754 * lyx_gui.C: use lyx_gui::exit()
8756 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8758 * LyXAction.C: show the failing pseudo action
8760 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
8762 * buffer.C (readFile): Run the lyxconvert script in order to read
8765 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8769 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8771 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8775 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8777 2002-07-22 Herbert Voss <voss@lyx.org>
8780 * lyxlength.[Ch]: add support for the vertical lengths
8782 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
8784 * toc.[Ch]: std:: fixes
8786 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8788 * lyxrc.C: do not include lyx_main.h
8790 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8796 * BufferView2.C: include "lyxlex.h"
8799 * bufferparams.h: do not #include "lyxlex.h"
8801 * lyxtextclasslist.C (Add): remove method
8802 (classlist): renamed to classlist_
8804 * paragraph_pimpl.C:
8808 * bufferview_funcs.C:
8813 * toc.C (getTocList): use BufferParams::getLyXTextClass
8815 * toc.C (getTocList): use InsetFloat::addToToc
8817 * toc.[Ch]: new files, containing helper functions to handle table
8820 * lyxfunc.C (dispatch): no need to remove spaces around command
8822 (getStatus): handle LFUN_SEQUENCE by returning the status of the
8823 first command of the sequence; it is not very clever, but I do not
8824 have a better idea, actually
8826 * LyXAction.C (LookupFunc): make sure to remove space at the
8827 beginning and end of the command
8829 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8831 * MenuBackend.C (getMenubar): new method: return the menubar of
8833 (read): treat differently reading of menu and menubar (in
8834 particular, the menubar has no name now)
8835 (Menu::menubar): remove
8837 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8840 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8842 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8843 a bibitem inset in a RTL paragraph.
8845 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
8847 * paragraph_pimpl.C: constify
8849 * BufferView_pimpl.C:
8851 * lyxfunc.C: fix dispatch in a nicer way
8853 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8855 * lyxfunc.C (dispatch):
8856 * BufferView_pimpl.C:
8857 * BufferView_pimpl.h:
8859 * BufferView.h: rename Dispatch() to dispatch()
8861 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8863 * lyxlayout.C (Read): honor DependsOn tag
8865 * lyxlayout.[Ch] (depends_on): new method
8867 * version.C.in: update lyx_docversion
8869 * LaTeXFeatures.C (getMacros): only define \LyX when needed
8871 * paragraph.C (validate): remove from here...
8872 * paragraph_pimpl.C (validate): ... and move here
8873 (isTextAt): make it const
8875 * buffer.C (getLists): ws cleanup
8877 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8879 * language.C (read): Use iso8859-1 encoding in latex_lang
8880 (this prevents LyX from crashing when using iso10646-1 encoding).
8882 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8884 * text2.C (toggleInset): if cursor is inside an inset, close the
8885 inset and leave cursor _after_ it
8887 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8889 * lyxfunc.C: move minibuffer completion handling out of here
8891 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8893 * BufferView_pimpl.C:
8894 * LaTeX.C: fix dispatch calls
8896 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
8898 * text.C (drawChars): Fix Arabic text rendering.
8900 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
8904 * lyxfunc.C: remove message-push/pop
8908 * lyxfunc.C: rationalise some code by removing verboseDispatch
8909 in favour of a bool argument to dispatch()
8911 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8913 * lyx_main.C (init): make sure to read symlinks as absolute paths
8915 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8918 * lyxfunc.C: no need for commandshortcut to be a member
8920 2002-07-15 André Pönitz <poenitz@gmx.net>
8922 * converter.C: add support for $$s (scripts from lib/scripts dir)
8923 * lyx_main.C: white space
8925 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8929 * lyxrc.C: remove second exit confirmation
8931 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8936 * BufferView_pimpl.h:
8937 * BufferView_pimpl.C:
8938 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8940 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8942 * MenuBackend.C (expand): add numeric shortcuts to document menu
8944 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8946 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8948 * lyxfont.C (setLyXFamily):
8955 * buffer.C (asciiParagraph): use ascii_lowercase
8957 2002-07-15 Mike Fabian <mfabian@suse.de>
8959 * lyxlex_pimpl.C (search_kw):
8960 * lyxlex.C (getLongString):
8961 * converter.h (operator<):
8962 * converter.C (operator<):
8963 * buffer.C (parseSingleLyXformat2Token):
8965 * ToolbarDefaults.C (read):
8966 * MenuBackend.C (checkShortcuts):
8968 * LColor.C (getFromGUIName):
8969 (getFromLyXName): use the compare_ascii_no_case instead of
8970 compare_no_case, because in turkish, 'i' is not the lowercase
8971 version of 'I', and thus turkish locale breaks parsing of tags.
8973 2002-07-16 Angus Leeming <leeming@lyx.org>
8975 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8976 now takes a Buffer const & argument.
8978 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
8980 * BufferView.C (resize): check there's a buffer to resize
8982 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
8984 * lyxfunc.C: remove dead code
8987 * lyxserver.C: use lyx_guii::set_read_callback
8989 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
8991 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8992 an inset in a RTL paragraph.
8994 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8996 * lyxfunc.C: repaint after a font size update
8998 2002-07-15 André Pönitz <poenitz@gmx.net>
9000 * lyxlength.C: inBP should be able to return negative values
9002 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9004 * lyxfunc.C: use lyx_gui::update_fonts()
9006 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9008 * lyxfunc.C: use lyx_gui::update_color()
9010 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9016 * lyxrc.C: remove file->new asks for name option, and let
9017 buffer-new take an argument
9019 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9021 * BufferView_pimpl.C: remove unneeded extra repaint()
9023 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
9025 * LyXAction.C: allow command-sequence with NoBuffer
9027 * lyxfunc.C: don't insist on trailing ';' for command-sequence
9029 2002-07-10 Angus Leeming <leeming@lyx.org>
9031 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9033 2002-07-09 Angus Leeming <leeming@lyx.org>
9035 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9037 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9039 * lengthcommon.h: whitespace
9041 * lyxfunc.C: update scrollbar after goto paragraph
9043 * lyxtext.h: factor out page break drawing, and fix it so
9044 page break/added space paints as selected nicely
9046 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9048 * BufferView_pimpl.C: add FIXMEs, clean up a little
9050 2002-07-09 André Pönitz <poenitz@gmx.net>
9052 * lyxfont.[Ch]: support for wasy symbols
9054 2002-07-08 André Pönitz <poenitz@gmx.net>
9056 * BufferView_pimpl.C: apply John's patch for #93.
9058 2002-07-05 Angus Leeming <leeming@lyx.org>
9060 * BufferView_pimpl.C (buffer): generate previews if desired.
9062 * LColor.h: add "preview" to the color enum.
9064 * LColor.C (LColor): add a corresponding entry to the items array.
9066 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9069 2002-07-05 Angus Leeming <leeming@lyx.org>
9071 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9072 The body of the code is now in the method that is passed an ostream &
9073 rather than a file name.
9074 Pass an additional only_preamble parameter, useful for the forthcoming
9077 2002-07-03 André Pönitz <poenitz@gmx.net>
9079 * lyxfunc.C: simplify getStatus() a bit for math stuff
9081 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9083 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9085 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9087 * text.C (changeRegionCase): do not change case of all the
9088 document when region ends at paragraph end (bug #461)
9090 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9092 * paragraph.C (startTeXParParams):
9093 (endTeXParParams): add \protect when necessary
9095 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9097 * BufferView_pimpl.C (workAreaExpose): remove warning
9099 2002-06-27 Angus Leeming <leeming@lyx.org>
9101 * Makefile.am: add lyxlayout_ptr_fwd.h.
9103 2002-06-26 André Pönitz <poenitz@gmx.net>
9105 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9107 2002-06-25 Angus Leeming <leeming@lyx.org>
9109 * lyxfunc.C (dispatch): Comment out the call to
9110 grfx::GCache::changeDisplay. The method no longer exists now that the
9111 pixmap generation part of the graphics loader has been moved into
9114 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9116 * text2.C: layout as layout
9118 * text.C: layout as layout
9120 * tabular.C (OldFormatRead): layout as layout
9122 * paragraph_pimpl.C (TeXDeeper): layout as layout
9123 (realizeFont): layout as layout
9125 * paragraph.C (writeFile): layout as layout
9126 (validate): layout as layout
9127 (getFont): layout as layout
9128 (getLabelFont): layout as layout
9129 (getLayoutFont): layout as layout
9130 (breakParagraph): layout as layout
9131 (stripLeadingSpaces): layout as layout
9132 (getEndLabel): layout as layout
9133 (getMaxDepthAfter): layout as layout
9134 (applyLayout): layout as layout
9135 (TeXOnePar): layout as layout
9136 (simpleTeXOnePar): layout as layout
9137 (TeXEnvironment): layout as layout
9138 (layout): layout as layout
9139 (layout): layout as layout
9141 * lyxtextclass.C (compare_name): new functor to work with
9142 shared_ptr, layout as layout
9143 (Read): layout as layout
9144 (hasLayout): layout as layout
9145 (operator): layout as layout
9146 (delete_layout): layout as layout
9147 (defaultLayout): layout as layout
9149 * lyxlayout_ptr_fwd.h: new file
9151 * lyxlayout.C (Read): layout as layout
9153 * lyx_cb.C (MenuInsertLabel): layout as layout
9155 * bufferlist.C (newFile): layout as layout
9157 * buffer.C (readLyXformat2): layout as layout
9158 (parseSingleLyXformat2Token): layout as layout
9159 (insertStringAsLines): layout as layout
9160 (asciiParagraph): layout as layout
9161 (latexParagraphs): layout as layout
9162 (makeLinuxDocFile): layout as layout
9163 (simpleLinuxDocOnePar): layout as layout
9164 (makeDocBookFile): layout as layout
9165 (simpleDocBookOnePar): layout as layout
9166 (getLists): layout as layout
9168 * LaTeXFeatures.C (getTClassPreamble): layout as layout
9170 * CutAndPaste.C (cutSelection): layout as layout
9171 (pasteSelection): layout as layout
9172 (SwitchLayoutsBetweenClasses): layout as layout
9174 * BufferView_pimpl.C (Dispatch): layout as layout
9175 (smartQuote): layout as layout
9177 * BufferView2.C (unlockInset): layout as layout
9179 2002-06-24 André Pönitz <poenitz@gmx.net>
9181 * lyxfunc.C: fix #487
9183 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9187 * lyxfunc.C: remove display_shortcuts, show_banner
9189 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9191 * Buffer_pimpl.C: oops, update on resize
9193 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9200 * BufferView.C: use repaint()
9202 * BufferView_pimpl.h:
9203 * BufferView_pimpl.C: s/updateScreen()/repaint()/
9204 as it's a clearer description. Remove superfluous
9207 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9209 * text.C: fix bug 488. Not ideal, but getting
9210 getWord() to work properly for the insets that
9211 matter is more difficult ...
9213 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9215 * BufferView_pimpl.C:
9218 * lyxfunc.C: remove the six million index lyxfuncs to just
9219 one, and DTRT (bug 458)
9221 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9225 * BufferView_pimpl.h:
9226 * BufferView_pimpl.C: clean up resize() stuff,
9227 and unnecessary updateScreen()s
9229 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9233 * BufferView_pimpl.h:
9234 * BufferView_pimpl.C:
9237 * minibuffer.C: remove focus management of workarea,
9238 not needed. Use screen's greyOut()
9240 2002-06-17 Herbert Voss <voss@lyx.org>
9242 * converter.C: (convert) do not post a message, when converting
9243 fails, let the calling function decide what to do in this case
9245 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
9247 * lyxfunc.C: tidy up a little
9249 2002-06-16 <alstrup@diku.dk>
9251 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9252 Got rid of FORMS_H_LOCATION include. Now we are
9255 2002-06-15 LyX Development team <lyx@rilke>
9257 * buffer.[Ch] (sgmlOpenTag):
9258 (sgmlCloseTag): Added support for avoiding pernicious mixed
9259 content. Return number of lines written.
9262 (makeDocBookFile): Fixed calls to sgml*Tag.
9263 Simple white space clean.
9265 (simpleDocBookOnePar): Simple white space clean.
9267 * tabular.[Ch] (docBook): Renamed to docbook and got another
9268 argument to related with the pernicious mixed content.
9270 (docbookRow): Fixed calls for docbook inset method.
9272 2002-06-15 Lyx Development team <larsbj@birdstep.com>
9274 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9275 so it's X11 independent.
9279 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9281 2002-06-15 Lyx Development team <lyx@electronia>
9283 * intl.h: Renamed getTrans to getTransManager.
9285 2002-06-14 Angus Leeming <leeming@lyx.org>
9287 * Makefile.am: nuke forgotten stl_string_fwd.h.
9289 2002-06-12 Angus Leeming <leeming@lyx.org>
9291 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9293 2002-06-13 Angus Leeming <leeming@lyx.org>
9296 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9298 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
9300 * kbmap.C (getiso): add support for cyrillic and greek
9302 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9306 * BufferView_pimpl.h:
9307 * BufferView_pimpl.C: move bogus scrolling logic
9310 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9313 * BufferView_pimpl.C: view->resize() change
9315 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9317 * BufferView_pimpl.C: topCursorVisible
9320 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9324 * lyx_gui.C: move to frontends/
9328 * lyx_main.C: changes from above
9330 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9337 * lyx_main.C: minor tidy
9339 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9341 * BufferView_pimpl.h:
9342 * BufferView_pimpl.C:
9344 * BufferView.C: make painter() const,
9347 * BufferView2.C: use screen() accessor
9350 * lyx_main.C: some minor cleanup
9352 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9354 * BufferView_pimpl.h:
9355 * BufferView_pimpl.C: remove enter/leaveView,
9358 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9363 * BufferView_pimpl.h:
9364 * BufferView_pimpl.C: only construct screen once,
9367 * lyxrc.C: remove pointless comment
9369 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9372 * BufferView.C: remove active() and belowMouse()
9374 * BufferView_pimpl.h:
9375 * BufferView_pimpl.C: use workarea() not workarea_,
9376 and make it use a scoped_ptr instead
9378 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9380 * lyx_gui.C: add debug message on BadWindow
9382 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9384 * sp_spell.C: fdopen is not part of the C++ standard.
9386 * paragraph.C (InsetIterator): use >= instead of ==
9388 2002-06-07 Angus Leeming <leeming@lyx.org>
9390 Fixes needed to compile with Compaq cxx 6.5.
9391 * BufferView_pimpl.C:
9398 * lyxtextclasslist.C:
9403 all c-library variables have been moved into namespace std. Wrap
9404 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9409 Add a using std::abs declaration.
9411 * kbmap.h (modifier_pair):
9412 * paragraph.h (InsetTable, InsetList):
9413 * lyxfont.h (FontBits):
9414 type definition made public.
9416 * bufferlist.C (emergencyWriteAll): the compiler complains that
9417 there is more than one possible lyx::class_fun template to choose from.
9418 I re-named the void specialisation as lyx::void_class_fun.
9420 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9422 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9423 the compiler is is unable to find tostr in write_attribute.
9425 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9427 * buffer.C (sgmlError): hide #warning
9429 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9431 * xtl/*: get rid of xtl, which is not in use anyway
9433 * LyXAction.C (init):
9434 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9435 were unimplemented xtl experimentation
9437 2002-06-04 André Pönitz <poenitz@gmx.net>
9439 * lyxfunc.C: disable array operation on simple formulae
9441 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
9443 * converter.C: constify a bit
9445 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
9447 * lyx_gui.C: check xforms version correctly
9449 2002-04-30 Herbert Voss <voss@lyx.org>
9451 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9454 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
9456 * lyxvc.C: fix bug 416 (make sure buffer is saved before
9457 attempt to register it with a VCS)
9459 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9461 * lyx_main.C (init): honor variables LYX_DIR_13x and
9464 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9468 * lyx_main.C: fix a crash on bad command line,
9469 and give a useful exit status on error
9471 * lyxfunc.C (doImport): allow -i lyx to work
9473 2002-03-30 André Pönitz <poenitz@gmx.net>
9475 * lyxfunc.C: mathed font changes
9477 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9492 * trans_mgr.h: srcdocs, and some minor cleanups
9494 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9496 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9497 call getFont all the time)
9499 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9501 * switch from SigC signals to boost::signals
9503 2002-05-29 André Pönitz <poenitz@gmx.net>
9505 * paragraph_pimpl.C (getChar): don't call size() too often...
9507 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9509 * paragraph_pimpl.C (insertChar): do not try to update tables when
9510 appending (pos == size())
9512 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9513 in order to reduce drastically the number of comparisons needed to
9514 parse a large document
9516 2002-05-29 André Pönitz <poenitz@gmx.net>
9522 * textclasslist.[Ch]:
9523 * sp_ispell.h: whitespace change
9525 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9527 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9528 lyxaction directly now.
9530 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
9534 * lyxvc.C: remove unused headers
9536 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9543 * undo_funcs.C: some cleanups. Use shared_ptr
9544 and a template for the undo stacks.
9546 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9548 * BufferView_pimpl.h:
9549 * BufferView_pimpl.C:
9556 * text2.C: use key_state/mouse_state
9558 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9560 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9563 * chset.C: change include order
9564 (loadFile): use boost regex and get rid of LRegex and LSubstring
9566 * Makefile.am (BOOST_LIBS): new variable
9569 * LaTeX.C: change include order.
9570 (scanAuxFile): use boost regex and get rid of LRegex and
9574 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9579 * FontInfo.C: moved to frontends/xforms/
9582 * FontLoader.C: moved into frontends for GUIIzation
9587 * lyxfunc.C: changes from above
9589 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9591 * LColor.C: remove spurious X include
9593 * BufferView_pimpl.C:
9598 * text2.C: move font metrics to frontends/
9600 2002-05-24 Juergen Vigna <jug@sad.it>
9602 * undo_funcs.C (textHandleUndo): fix the cursor selection after
9603 setting the undo_cursor.
9605 * ParagraphParameters.h: include local includes first.
9607 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9609 * BufferView_pimpl.C:
9610 * BufferView_pimpl.h:
9614 * screen.C: move WorkArea into frontends/
9620 * BufferView2.C: move LyXScreen into frontends/
9624 * lyx_gui.C: move lyxlookup into frontends/xforms/
9626 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9629 * BufferView_pimpl.C:
9639 * bufferview_funcs.C:
9652 * vc-backend.C: move LyX/XFormsView into frontends/
9654 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9666 * text2.C: move Painter to frontends/
9668 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9670 * buffer.C: comment out some some code that depend upon lyx_format
9673 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9674 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9676 * buffer.h (NO_COMPABILITY): turn off compability
9678 * ColorHandler.C: include scoped_array.hpp
9680 * font.C: Use more specific smart_ptr header.
9683 * ShareContainer.h: ditto
9687 * BufferView_pimpl.h: ditto
9688 * ColorHandler.h: ditto
9690 * kbmap.C (defkey): change call to shared_ptr::reset
9692 2002-05-21 Juergen Vigna <jug@sad.it>
9694 * buffer.C (insertErtContents): fix to insert ert asis if it is
9695 non empty. Skip it completely if it contains only whitespaces.
9697 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
9699 * BufferView_pimpl.C:
9700 * BufferView2.C: clear selection on paste (bug 393)
9702 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9704 * DepTable.C: include ctime
9706 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
9708 * buffer.C (latexParagraphs): Add new argument (moving_arg).
9710 2002-05-14 Juergen Vigna <jug@sad.it>
9712 * text.C (breakParagraph): fixed function to honor the keepempty
9713 layout in the right maner and also to permit the right breaking
9714 algorithm on empty or non empyt keepempty paragraphs.
9716 * paragraph.C (breakParagraph): we have to check also if the par
9717 is really empty (!size()) for isempty otherwise we do the wrong
9720 2002-05-10 Juergen Vigna <jug@sad.it>
9722 * buffer.[Ch] : The following are only changes to the ert
9723 compatibility read reading old LaTeX layout and font stuff and
9724 convert it to ERTInsets.
9726 * buffer.h: added isErtInset().
9728 * buffer.C (struct ErtComp): add a fromlayout bool to check
9729 if we're inside a LaTeX layout.
9730 (isErtInset): new helper function.
9731 (insertErtContents): look for other ert insets before this one
9732 and insert the contents there, so that we don't have subsequent
9733 ERT insets with nothing between them. This way we create only one
9734 inset with multiple paragraphs. Also check if we don't insert only
9735 spaces ' ' as they are ignored anyway afterwards in the .tex file
9736 so if we have only spaces we will ignore this latex part in the
9738 (parseSingleLyXformat2Token \\layout): better compatibility when
9739 reading layout-latex stuff.
9740 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9742 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9743 stuff after reading the inset only get the information back from
9746 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
9748 * buffer.C (makeLaTeXFile): Put language options after loading babel.
9750 * LaTeXFeatures.C (getBabelOptions): New method.
9752 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9754 * BufferView_pimpl.C (Dispatch): work around missing argument for
9757 2002-05-08 Juergen Vigna <jug@sad.it>
9759 * text.C (leftMargin): handle paragraph leftindent.
9761 * paragraph.C (writeFile): write the new \\leftindent tag.
9762 (validate): handle leftindent code.
9763 (TeXEnvironment): handle paragraphleftindent code again.
9765 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9767 * buffer.C (parseSingleLyXformat2Token): added compatibility code
9768 for paragrap_extra indent code and new token \\leftindent.
9769 (latexParagraphs): handle the leftindent as environment.
9771 * ParameterStruct.h: added leftindent support.
9773 * ParagraphParameters.C (leftIndent): added support functions for
9774 the paragraph left indent.
9776 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9779 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
9781 * paragraph.C (isRightToLeftPar): Return false for a paragraph
9784 * text.C (computeBidiTables): No bidi in insetERT.
9786 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9789 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9791 * version.C.in: pre 5
9793 2002-05-02 José Matos <jamatos@fep.up.pt>
9794 * buffer.C (makeDocBookFile): white space changes, add newline to
9796 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9798 * tabular.C (docBook): fix typo.
9800 2002-05-03 Juergen Vigna <jug@sad.it>
9802 * screen.C (drawFromTo): recalculate the rowpointer if we had a
9803 change in LyXText as we can not be sure it was not freed.
9804 (drawOneRow): remove unused code.
9806 * text.C (drawInset): redo the calculation of the need_break_row as
9807 it could have a row which was already freed.
9808 (draw): look at the return value of drawInset and return false if
9809 it also returned false.
9810 (paintRowText): look at the return value of draw and return false if
9811 it also returned false.
9813 * lyxtext.h: added bool return type to drawInset() and draw() so that
9814 if we have a change in the row so that the rowbreak has to be redone
9815 we abort drawing as it will be called again.
9817 2002-05-02 Juergen Vigna <jug@sad.it>
9819 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9820 a change in the maintext also if we're inside an inset.
9821 (Dispatch): set the cursor again after a break line and after the
9822 screen has been updated as it could be we're in a different row.
9824 * text2.C (fixCursorAfterDelete): check to make sure we don't request
9825 to set the cursor behind the pargraph with > size().
9826 (setCursor): check also for the same paragraph when checking where
9827 to put the cursor if we have a NFR inset.
9829 * buffer.C (parseSingleLyXformat2Token): move the compatibility
9830 parts of layout read further up as it still was in the wrong
9833 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9835 * screen.C (drawFromTo): change sine fullRebreak always return
9838 * buffer.C (parseSingleLyXformat2Token): reindent some
9840 * BufferView_pimpl.C (update): change since fullRebreak always
9842 (Dispatch): git rid of the last hardcoded "Standard"s.
9844 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9846 * text2.[Ch] (fullRebreak): make it return void now that we always
9849 2002-04-30 Juergen Vigna <jug@sad.it>
9851 * buffer.C (parseSingleLyXformat2Token): reset the font before the
9852 ert compatibility check for "latex" layout.
9854 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
9856 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9857 minipages: use col% instead of p%, and also use the current font.
9858 (makeLaTeXFile): Fix use babel condition.
9859 (parseSingleLyXformat2Token): Correct font when reading old floats.
9861 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
9863 * BufferView_pimpl.C (Dispatch): Check that float type exists when
9864 inserting list of floats.
9866 2002-04-25 Herbert Voss <voss@lyx.org>
9868 * MenuBackend.C (expand): don't add the graphics extensions to the
9871 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9873 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9874 non-existing layout, do not complain if it was the default layout
9875 of the original class (bug #342)
9877 2002-04-24 Juergen Vigna <jug@sad.it>
9879 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9880 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9882 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
9884 * buffer.C (getBibkeyList): If using \bibliography, return the
9885 option field with the reference itself. Enables us to provide natbib
9886 support when using \bibliography.
9888 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
9890 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9892 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9893 natbib is provided by the LaTeX class.
9895 2002-04-23 Juergen Vigna <jug@sad.it>
9897 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9900 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9902 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9904 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9906 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9907 ensuremath around textordmasculine, textordfeminine and
9910 2002-04-19 Juergen Vigna <jug@sad.it>
9912 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9913 reinitializing the buffer otherwise row-dimensions may be wrong.
9914 (update): reset also the selection cursors if they do exits otherwise
9915 their x/y positions may be wrong.
9917 * text2.C (cursorDown): don't enter the inset if we came from a row
9918 above and are one row over the inset.
9920 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9921 really leaving an inset.
9923 2002-04-18 Juergen Vigna <jug@sad.it>
9925 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9926 of the selected paragraph does not have the selected layout also if
9929 * text2.C (setLayout): fixed bug which did not change last selected
9932 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9933 changed the read and substituted \\end_float with \\end_inset!
9935 * BufferView_pimpl.C (cursorPrevious):
9936 (cursorNext): fixed to make it work with rows heigher than the work
9937 area without moving the cursor only the draw of the row.
9938 (workAreaMotionNotify): fix jumping over high rows.
9940 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9942 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9945 2002-04-16 Juergen Vigna <jug@sad.it>
9947 * text2.C (setCursor): set also the irow().
9948 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9950 (cursorDown): support for locking an inset if the x_fix value goes
9951 inside it. That way I can transverse insets too with cursor up/down.
9953 * lyxrow.h: added irow helper function same as other (i) functions.
9955 * BufferView_pimpl.C (cursorPrevious):
9956 (cursorNext): fixed for insets!
9958 2002-04-15 Juergen Vigna <jug@sad.it>
9960 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9961 position otherwise it is wrong in some cases.
9963 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9964 inside the inset before the call.
9966 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
9968 * buffer.[Ch] (getBibkeyList): make it const.
9970 2002-04-12 Juergen Vigna <jug@sad.it>
9972 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9974 * text2.C (getCursorX): new helper function
9975 (setCursor): compute also ix_
9976 (setCursorFromCoordinates): set also ix.
9978 * lyxcursor.h: added ix_ and helper functions.
9980 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9982 * buffer.C (insertStringAsLines): dont break paragraph if the this
9983 paragraph is inside an inset which does not permit it!
9985 * text.C (breakParagraph): honor keepempty flag and break the paragraph
9986 also with no chars on this paragraph.
9987 (paintRowText): only paint stuff if it's inside the workarea!
9989 * paragraph.C (breakParagraph): honor keepempty flag and break the
9990 paragraph always below not above.
9992 * BufferView2.C (unlockInset): update the paragraph layout on inset
9993 unlock as we changed paragraph in such a case.
9995 * lyxfind.C (LyXFind): clear the former selection if not found!
9997 * text2.C (insertInset): freeze Undo after setUndo so that it is not
9998 again called in insertChar().
10000 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10001 an inset which uses the whole row!
10002 (rightMargin): ditto.
10003 (insertChar): force a rebreak if we inserted an inset!
10005 2002-03-28 Herbert Voss <voss@lyx.org>
10007 * lyxlength.[Ch]: add inBP() to get the right PS-point
10008 units (BigPoint). With inPixels we have rounding errors
10010 2002-04-11 Juergen Vigna <jug@sad.it>
10012 * text2.C (setCursorFromCoordinates): set iy to the right value.
10013 (setCursor): add check if row->previous exists!
10015 * buffer.C (parseSingleLyXformat2Token): reset font after read of
10016 an old float_type as this was the case in the old code!
10018 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10020 * BufferView2.C (showLockedInsetCursor): use iy
10021 (fitLockedInsetCursor): ditto
10023 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10024 locked insets as there we have the right value now.
10026 * lyxcursor.C: added iy_ variable and iy functions to set to the
10027 baseline of cursor-y of the locked inset.
10029 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10030 (setCursor): fixed for insets which need a full row.
10032 * text.C (rowLastPrintable): don't ignore the last space when before
10033 an inset which needs a full row.
10034 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10035 as last character of a row when before a inset which needs a full row.
10037 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10039 * version.C.in: update date
10041 * text2.C (fullRebreak): try to always return true and see what
10044 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10046 * MenuBackend.C (expand): use Floating::listName
10048 * FloatList.C (FloatList): add listName argument to the built-in
10051 * Floating.[Ch]: add listName member, which is the 'List of XXX'
10052 text associated with the float.
10054 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10056 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10058 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10060 * ShareContainer.h: add a couple of missing typenames.
10062 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
10064 * lyxrc.C (getDescription): use _() correctly rather than N_().
10066 2002-03-28 Herbert Voss <voss@lyx.org>
10068 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10069 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10071 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10073 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10074 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10076 2002-03-29 Juergen Vigna <jug@sad.it>
10078 * lyxfunc.C (dispatch): add a missing fitCursor call.
10080 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10081 it was scrolled by a cursor move, so return the bool status.
10083 * BufferView.C (fitCursor): return the bool flag also to the outside
10084 world as this is needed.
10086 * screen.C (toggleToggle): don't subtract the offset if it's positive.
10088 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10089 call the edit() as it is not needed (and wrong) IMO.
10090 (workAreaButtonPress): set the screen_first variable before evt.
10091 unlock the inset as this may change screen_first and then we have
10092 a wrong y position for the click!
10094 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10096 * MenuBackend.C (expand): another translation that I missed
10098 2002-03-28 Juergen Vigna <jug@sad.it>
10100 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10102 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10104 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10106 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10108 * MenuBackend.C (expand): fix export/view/update when there is no
10111 2002-03-27 Herbert Voss <voss@lyx.org>
10113 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10116 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10118 * bufferview_funcs.C (currentState): only show paragraph number
10119 for is DEVEL_VERSION is set.
10121 * lyxfunc.C (dispatch): put warning in INFO channel
10123 * MenuBackend.C (expand): translate the name of floats
10125 * FloatList.C (FloatList): mark the float names for translation
10127 * converter.C (convert): use LibScriptSearch
10129 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10131 * MenuBackend.C (defaults): fix default menu (we might as well get
10134 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10136 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10139 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10141 * lyxvc.C: reorder includes.
10143 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
10145 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10148 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
10150 * CutAndPaste.C: change layouts earlier on paste
10151 to avoid crashing when calling getFont()
10153 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
10155 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10158 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10160 * WorkArea.C: remove 'Pending' debug message.
10162 * most files: ws cleanup
10164 * buffer.[Ch]: ws changes
10166 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10168 2002-03-21 Juergen Vigna <jug@sad.it>
10170 * tabular.C (SetMultiColumn): collapse also the contents of the
10171 cells and set the last border right. Added a Buffer const * param.
10173 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10175 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10178 2002-03-19 Juergen Vigna <jug@sad.it>
10180 * text2.C (clearSelection): reset also xsel_cache.
10182 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10183 where it needs to be called (John tells us to do so too :)
10184 (selectionLost): reset sel_cache.
10186 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10188 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10190 * text2.C (setCursorIntern): put debuging code in INSETS channel
10192 2002-03-19 André Pönitz <poenitz@gmx.net>
10194 * lyxfunc.C: tiny whitespace change
10196 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10198 * ToolbarDefaults.C (init):
10199 * LyXAction.C (init):
10201 * BufferView_pimpl.C (Dispatch):
10202 * lyxfunc.C (dispatch): remove LFUN_DEPTH
10204 2002-03-19 Allan Rae <rae@lyx.org>
10206 * exporter.C (Export): removeAutoInsets before doing anything else.
10207 While I've just introduced a dependency on BufferView this really is
10208 the best place to clean the buffer otherwise you need to cleanup in
10209 a dozen places before calling export or cleanup in a dozen functions
10212 * converter.C (runLaTeX):
10213 (scanLog): Better handling of removeAutoInsets and screen updates.
10215 * lyxfunc.C (dispatch): small whitespace changes
10217 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10219 * WorkArea.C (C_WorkAreaEvent): return a value.
10220 (event_cb): return 1 if we handled the event, 0 otherwise.
10222 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10224 2002-03-18 Juergen Vigna <jug@sad.it>
10226 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10227 (GetAdditionalWidth): ditto.
10228 (RightLine): ditto.
10231 * BufferView2.C (copy): use getLyXText() so that we do it inside an
10232 inset if we're there actually (probably not used right now but this
10233 is the direction to go for unifying code).
10234 (paste): disable code to clear the selection.
10236 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10237 inside an InsetText and move the check further up as it is in the
10240 * text2.C (pasteSelection): set a selection over the pasted text.
10242 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
10244 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10245 and libgraphics to build on Cygwin.
10247 2002-03-15 Juergen Vigna <jug@sad.it>
10249 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10250 inserting an Inset into the paragraph. I know this is not the best
10251 fix but we already use current_view in CutAndPaste so we will remove
10252 all of it's using at the same time.
10254 * buffer.C (sgmlError): deactivated function till it is rewritten in
10255 the right mode, now it can create problems.
10257 * paragraph.C (isLineSeparator): check if getInset returns != 0,
10258 before accessing it.
10260 2002-03-14 Juergen Vigna <jug@sad.it>
10262 * undo_funcs.C (textHandleUndo): do the right thing when updating
10263 the inset after the undo/redo.
10265 * text2.C (setCursor): just some testcode for #44 not ready yet.
10267 * undo_funcs.C (textHandleUndo): set the next() and previous()
10268 pointers of the paragraph to 0 before deleting otherwise we have
10269 problems with the Paragraph::[destructor].
10271 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10272 on a paragraph insertion.
10274 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10276 * buffer.C (asciiParagraph): use += operator for char append to
10279 * paragraph.C (getFontSettings): compare >= not just >
10280 (highestFontInRange): ditto
10283 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10285 * paragraph.C: change several algorithm to be more appripriate for
10286 the problem domain. This is lookip in FontList and in the InsetList.
10288 2002-03-13 André Pönitz <poenitz@gmx.net>
10291 * LyXAction.C: remove unused LFUN_MATH_MACROARG
10293 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
10298 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10300 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10302 * Painter.C (display): anon helper function, adjust code for this
10304 (pixmap): remove function.
10306 * Painter.h: remove private display variable.
10308 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10310 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
10312 * WorkArea.[Ch]: remove figinset_canvas cruft.
10314 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10316 * lyxtextclass.C (operator): add one item cache optimization.
10318 * bufferlist.h: doxy changes
10320 * bufferlist.C: ws changes
10322 * DepTable.[Ch] (ext_exist): place const in the right spot.
10324 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10326 (workAreaExpose): call resizeInsets when the with BufferView changes.
10327 (Dispatch): adjust for protectedBlank removal
10328 (specialChar): call updateInset if the insert went ok.
10330 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10331 specialChar instead.
10333 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10335 * BufferView.h: doxy change
10337 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10339 * lyxtextclass.C (operator[]): remove non-const version
10340 (defaultLayout): remove non-const version
10342 2002-03-12 Juergen Vigna <jug@sad.it>
10344 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10345 did resize the LyXText too.
10347 * buffer.C (readLyXformat2): set layout information on newly allocated
10350 * tabular.C (OldFormatRead): set layout information on the paragraph.
10352 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10354 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10356 2002-03-11 Juergen Vigna <jug@sad.it>
10358 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10360 (resizeCurrentBuffer): force also the insets to resize themselfes.
10361 (moveCursorUpdate): fixed up for InsetText.
10363 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
10366 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10367 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10368 value of Dialogs::tooltipsEnabled().
10369 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10371 2002-03-08 Juergen Vigna <jug@sad.it>
10373 * BufferView_pimpl.C (updateInset): update inset inside inset also
10374 if it isn't inside theLockingInset().
10376 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10378 * buffer.C (asciiParagraph): redo some of the word and line length
10380 (getLists): look for Caption instead of caption.
10382 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10384 * buffer.C (Buffer): initialize niceFile to true
10386 (makeLinuxDocFile):
10387 (makeDocBookFile): make sure niceFile is true on exit
10389 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10391 * buffer.C (makeLaTeXFile): escape ~ in \input@path
10393 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
10395 * LyXSendto.C: remove.
10396 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10397 * lyx_gui.C: remove now-redundant comment.
10398 * ColorHandler.h: remove forward declaration of class WorkArea.
10399 * lyxfunc.C: remove #include "WorkArea.h".
10401 2002-03-07 Juergen Vigna <jug@sad.it>
10403 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10404 got moved away with the DEPM and also set the inset_owner always
10405 right which before could have been omitted.
10407 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10409 * buffer.C (parseSingleLyXformat2Token): use default layout is the
10410 wanted layout is not found.
10412 2002-03-07 Juergen Vigna <jug@sad.it>
10414 * CutAndPaste.C (cutSelection): another layout settings forgotten.
10416 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10418 * paragraph.C (breakParagraph): use default layout not layout of
10420 (Paragraph): clear ParagraphParameters.
10422 2002-03-06 Juergen Vigna <jug@sad.it>
10424 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10425 otherwise it would not be a valid lenght. Fixed a special case in
10426 the minipage compatibility read where we end the document with a
10429 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10430 was set as it could be 0 for InsetTexts first entry.
10432 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10434 * paragraph.C (writeFile): if layout is empty write out
10435 defaultLayoutName().
10437 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10438 file without named layout we set layout to defaultLayoutName().
10440 2002-03-06 Juergen Vigna <jug@sad.it>
10442 * CutAndPaste.C (copySelection): set layout for new paragraph.
10444 * text.C (prepareToPrint): leave ERT inset left aligned
10445 (leftMargin): don't indent paragraphs inside ERT insets
10447 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10449 * paragraph.C (breakParagraph): dont call clear do the work manually
10451 * paragraph.[Ch] (clear): remove function
10453 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10455 * paragraph.C (Paragraph): dont call clear, the work has already
10458 * lyxtextclass.C (operator): assert if n is empty
10460 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10461 work manually instead.
10463 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10465 * BufferView_pimpl.C: protect selectionLost against text == 0
10467 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10469 * text.C (breakParagraph): fix a setting layout to '0' problem.
10471 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10473 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10474 final location of file, for the included files, and graphics.
10476 2002-03-05 Juergen Vigna <jug@sad.it>
10478 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10480 2002-03-04 Juergen Vigna <jug@sad.it>
10482 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10484 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10485 last column of multicolumn cells.
10486 (SetWidthOfMulticolCell): recalculate NMC and real columns.
10488 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
10490 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10491 file if it doesn't go to a temporary file.
10493 * buffer.C (sgmlOpenTag):
10494 (sgmlCloseTag): remove extra newline insertion.
10496 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10498 * text.C (getRowNearY): comment out debug msg
10500 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10502 * text2.C: first -> first_y
10504 * text.C (getRowNearY): add some attemts at a possible
10505 optimization, not working.
10507 * tabular.[Ch]: add BufferParams to several function so that newly
10508 created paragraph can be initialized to he default layotu for the
10511 * tabular-old.C (ReadOld): add buf->params to call of Init
10513 * screen.C: rename text->first to text->first_y
10515 * paragraph.C (breakParagraph): always set layout in the broken
10518 * lyxtextclass.C (Read): remove lowercase
10521 (delete_layout): ditto
10523 * lyxtext.h: rename first -> first_y
10525 * lyxlayout.C (Read): remove lowercase
10528 (obsoleted_by): ditto
10530 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10532 * buffer.C (insertErtContents): add params are to InsetERT
10533 (parseSingleLyXformat2Token): add code to check if a paragraphs
10534 layout really exist.
10535 (parseSingleLyXformat2Token): add params to several inset
10537 (asciiParagraph): remove lowercase, do the layout comparisons with
10540 * BufferView_pimpl.C (cursorNext): first -> first_y
10541 (resizeCurrentBuffer): first -> first_y
10542 (updateScrollbar): first -> first_y
10543 (scrollCB): first -> first_y
10544 (workAreaMotionNotify): first -> first_y
10545 (workAreaButtonPress): first -> first_y
10546 (checkInsetHit): first -> first_y
10547 (cursorPrevious): first -> first_y
10548 (cursorNext): first -> first_y
10549 (Dispatch): add buffer_->params to severl inset contructors
10551 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10553 * lyxlayout.C (Read): remove some debug info that I forgot.
10555 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10556 clean up the code slightly.
10557 (makeLinuxDocFile): ditto
10558 (makeDocBookFile): ditto
10560 * text2.C: layout as string
10562 * text.C: layout as string
10564 * paragraph_pimpl.C: layout as string
10566 * paragraph.[Ch]: layout as string
10568 * lyxtextclasslist.[Ch]: layout as string
10570 * lyxtextclass.[Ch]: layout as string
10572 * lyxtext.h: layout as string
10574 * lyxlayout.[Ch]: layout as string
10576 * lyx_cb.C: layout as string
10578 * bufferview_funcs.C: layout as string
10580 * bufferparams.C: layout as string
10582 * buffer.C: layout as string
10584 * LyXView.[Ch]: layout as string
10586 * LaTeXFeatures.[Ch]: layout as string
10588 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10590 * BufferView_pimpl.C: change current_layout to string, remove
10595 (workAreaButtonRelease): layout as string
10597 * BufferView2.C (unlockInset): adjust
10599 * vspace.C (asLatexCommand): use an explict temp variable.
10601 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10603 * Makefile.am: use FRONTEND_*
10605 2002-03-01 Juergen Vigna <jug@sad.it>
10607 * tabular.C (SetWidthOfMulticolCell): changed to something better
10608 I hope but still work in progress.
10609 (recalculateMulticolumnsOfColumn): renamed function from
10610 recalculateMulticolCells as it is more appropriate now.
10611 (SetWidthOfCell): calculate multicols better.
10613 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10615 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10617 * lyxfunc.C (processKeySym): print sequence also if it is
10618 `deleted' (complete)
10620 * kbsequence.C (print): print sequence even if it is deleted
10621 (complete would be a better word, actually).
10623 * lyxfunc.C (dispatch): print complete options after a prefix key
10625 * vspace.C (asLatexCommand): rewrite in a slightly different form.
10627 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
10629 * text2.C (setCharFont): eliminate setCharFont code duplication.
10631 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10633 * BufferView_pimpl.C (Dispatch): remove bogus handling of
10634 LFUN_TABULAR_FEATURE (bug #177)
10636 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
10638 * Makefile.am: remove figure.h
10640 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
10642 * Bufferview_pimpl.C:
10654 * text2.C: remove #include "lyx_gui_misc.h".
10656 * LaTeX.C: added #include <cstdio>
10658 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10660 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10661 that the paragraph following this one can have.
10663 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10665 * vspace.C (asLatexCommand): fix bogus gcc warning
10667 * Makefile.am (lyx_SOURCES): remove vms_defines.h
10669 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
10671 * text2.C (setLayout): get rid of redundant code
10673 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
10675 * text2.C (incDepth): make sure depth cannot be increased beyond
10678 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
10680 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10681 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10683 * PainterBase.h (image):
10684 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10685 a LyXImage const *.
10687 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10691 * BufferView_pimpl.C:
10692 * BufferView_pimpl.h:
10712 * sp_spell.C: remove fig inset, and the crap house of
10713 cards that follows it
10715 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10720 * os2_errortable.h:
10721 * nt_defines.h: move .h into support/
10723 * vms_defines.h: remove
10725 * WorkArea.C: add space in debug output
10729 * buffer.C: add WITH_WARNINGS
10733 * bufferlist.C: s/retrive/retrieve/, add docs
10742 * chset.C: add docs
10744 * lyxgui.C: add ID to X error handler
10746 * lyxtestclass.c: fix typo
10748 2002-02-26 Juergen Vigna <jug@sad.it>
10750 * tabular_funcs.C (write_attribute): changed so that some default
10751 attributes are not written at all.
10752 (getTokenValue): set default values before trying to read the
10753 value so we have the return value always set as default if we don't
10754 find the token we search for.
10756 * tabular.C (Write): write bools as bools not as strings!
10758 2002-02-22 Juergen Vigna <jug@sad.it>
10760 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10761 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10763 * text.C (leftMargin): don't add an indent for paragraphs inside
10764 tabular cells (fix #208).
10766 2002-02-21 José Matos <jamatos@fep.up.pt>
10768 * tabular.C (docBook): fixed support for long tables.
10770 2002-02-20 Juergen Vigna <jug@sad.it>
10772 * text2.C (getFont): get the drawing font of the Inset if this
10773 paragraph is inside an inset (only important for InsetERT for now).
10775 * buffer.C (insertErtContents): use new lanugage params in ERT
10778 * CutAndPaste.C: commenting out seemingly uneeded code.
10780 2002-02-19 Allan Rae <rae@lyx.org>
10782 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10783 Iterators might be simple to use but they also get invalidated.
10784 (removeAutoInsets): renamed saved cursor tracking variables and added
10785 some comments to clarify what everything does.
10787 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
10794 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10795 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10798 * vc-backend.h: remove #include "support/syscall.h"
10802 * converter.C: rearrange #includes in Lars' approved fashion.
10804 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10805 forward declare class Timeout in the header file.
10807 * XFormsView.C: changes due to the above.
10809 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10810 similar to LyXView.
10812 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10813 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10815 2002-02-18 José Matos <jamatos@fep.up.pt>
10817 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10820 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10822 * a lot of small ws changes
10823 * add a lot of using std::XXX
10824 * use std construcs some places where approp.
10825 * use some exisint stuff from lyxfunctional where approp.
10826 * Make file changes to use partial linking (lets test this now...)
10828 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10832 remove #include "support/syscontr.h" as it's redundant. Always has been.
10840 change Systemcalls::System to Systemcalls::Wait and
10841 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10842 No change of functionality, just reflects the stripped down Systemcalls
10845 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10847 * debug.[Ch]: add a GRAPHICS type to the enum.
10849 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10851 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10853 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10856 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10858 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10859 match the changes below.
10861 * text2.C (toggleInset): if there is not editable inset at cursor
10862 position, try to see if cursor is _inside_ a collapsable inset
10865 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10867 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10868 document menu has a nice checkbox
10870 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10872 * lyxlength.C (asLatexString): change PW to output as percent of
10875 * lengthcommon.C: change '%' to 't%'
10877 * lyxfunc.C (dispatch): a few comments from Martin
10879 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
10883 * BufferView_pimpl.h:
10884 * BufferView_pimpl.C: clear our selection when X tells us we've lost
10887 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10889 * vspace.C (inPixels): fix compiler warning
10891 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10893 * lyxfunc.C (getStatus): fix status message for disabled commands.
10895 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
10897 * BufferView_pimpl.C: fix crash on close buffer
10898 during selection (#227)
10900 2002-01-27 Herbert Voss <voss@lyx.org>
10902 * buffer.C: link old Figure to new graphic inset
10904 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
10906 * FontLoader.C (getFontinfo): Change the latex font names in order
10907 to match the names of type1inst.
10909 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10911 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10913 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10914 (extchanged): ditto
10916 (remove_files_with_extension): ditto
10917 (remove_file): ditto
10920 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10921 document is smaller than the work area height. Do not initialize
10922 static variables to 0.
10924 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10926 * lyx_gui.C (init): give the toolbar tooltips a normal font.
10928 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10929 LFUN_LAYOUT_PARAGRAPHS.
10931 * tabular.C (GetCellFromInset): new method. Finds an inset in a
10932 tabular. It is possible to provide a possible cell, which will
10933 typically be the actcell from the corresponding insettabular
10935 * lyxfunc.C (getStatus): small cleanup; disable
10936 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10939 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10941 * tabular.C (Validate): remove broken optimization (fixes bug #201)
10943 * paragraph.C (startTeXParParams):
10944 (endTeXParParams): new methods. The LaTeX code to
10945 start/end paragraph formatting
10946 (simpleTeXOnePar): call startTeXParParams also when paragraph is
10947 empty (fixes bug #200)
10949 * vspace.C (inPixels): adapt to the change below
10950 (inPixels): [later] more cleanups (remove unused variables)
10952 * lyxlength.C (inPixels): change to use a width and a height as
10955 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10957 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10958 Replaced with \paperwidth
10960 * DepTable.C (insert): add std:: qualifier
10962 2002-01-18 Allan Rae <rae@lyx.org>
10964 * text2.C (removeRow): add comment. Should other refresh_?? vars be
10967 * text.C (drawInset): Turned out I didn't know enough about how
10968 rebreaking worked. This fixes most of the redraw problems. I see
10969 an occasional cursor trail when a line is broken now and the cursor
10970 placement can seem out by a few pixels also after a rebreak.
10972 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10974 * buffer.C (parseSingleLyXformat2Token): update because minipage
10975 width is now a LyXLength
10977 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10979 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10982 2002-01-17 Juergen Vigna <jug@sad.it>
10984 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10986 * BufferView2.C (lockInset): call edit() so that theLockingInset()
10987 is set correctly and the inset is updated correctly.
10989 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10991 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10992 the beginning of the loop.
10994 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
10996 * lyxrc.C: improve help for use_scalable_fonts
10998 2002-01-17 Allan Rae <rae@lyx.org>
11000 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11002 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11004 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11005 make sure to set their inset_owner to the right value (bug #171)
11007 2001-12-12 Ben Stanley <bds02@uow.edu.au>
11010 * DepTable.C: Implement mtime checking to reduce time spent doing
11013 2002-01-16 Juergen Vigna <jug@sad.it>
11015 * tabular.C (GetAdditionalHeight): one of error fixed.
11017 * lyxrc.C (output): small fix in writing use_pspell.
11019 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
11021 * sp_base.h: #include LString.h
11023 2002-01-16 Allan Rae <rae@lyx.org>
11025 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
11026 Can someone check this please?
11028 * text.C (drawInset): It was possible that p.row would be removed by
11029 breakAgainOneRow upsetting a few other settings. There may be another
11030 small tweak possible by setting need_break_row = 0 when p.row has been
11031 removed but I don't know enough about the logic here.
11033 2002-01-15 Allan Rae <rae@lyx.org>
11035 * text.C (insertChar): removed conditional truism.
11037 * BufferView2.C (removeAutoInsets): More tweaks.
11038 cur_par_prev could be a stray pointer. Check for trailing empty line
11039 in case last line was cur_par and only had an error inset on it.
11041 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11043 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11046 * vc-backend.C (most methods):
11047 * exporter.C (Export):
11048 * converter.C (convert):
11050 * LyXSendto.C (SendtoApplyCB):
11051 * lyxfunc.C (dispatch):
11055 * lyx_cb.C (AutoSave):
11057 * BufferView_pimpl.C (MenuInsertLyXFile):
11058 * buffer.C (runChktex): use Buffer::filePath().
11060 * buffer.h: rename filename to filename_; rename filepath to
11061 filepath_ and make it private
11062 (filePath): new method
11064 * buffer.C (writeFile): use fileName()
11067 * lyx_main.C (init): fix starting of LyX when the binary is a
11068 link from so,ewhere else.
11070 * minibuffer.C: include <cctype> for isprint
11072 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11074 * buffer.C (parseSingleLyXformat2Token): changes associated with the
11075 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11076 name clash with InsetCollapsable's width function.
11078 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11080 * lastfiles.C: include <iterator>
11082 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11084 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11087 * buffer.C (makeLaTeXFile): ditto.
11088 Also make loop operation more transparent.
11090 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11092 * ToolbarDefaults.C: remove trailing comma closing namespace.
11094 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11096 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11099 * trans.C (Load): comment out unused variable, allowed.
11101 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11103 * minibuffer.[Ch] (append_char): new method to recieve input from the
11104 drop-down completion browser. If a key was pressed, then recieve this
11105 char and append it to the existing string.
11106 (peek_event): modify the positioning data passed to the completion
11107 browser so that it can be placed above the minibuffer rather than below.
11108 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11110 * LyXAction.C (init): alloe error-next for readonly documents.
11112 * BufferView2.C (ChangeRefsIfUnique): use standard version of
11115 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11117 * bufferlist.C (readFile): create the buffer _after_ checking that
11120 * lyxfunc.C (verboseDispatch): fix handling of arguments
11122 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11124 * lyxrc.C: use string::erase() instead of initializing to "".
11127 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11129 * BufferView_pimpl.h:
11130 * BufferView_pimpl.C:
11133 * text2.C: tell X when we have made a selection for copying
11135 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11137 * BufferView_pimpl.C (MenuInsertLyXFile):
11138 * lyxfunc.C (menuNew):
11140 (doImport): add shortcuts to directory buttons
11142 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11145 * lyxfunc.C (setStatusMessage):
11146 (getStatusMessage): new methods
11147 (getStatus):use setStatusMessage instead of setErrorMessage
11148 (dispatch): when function is disabled, set error message here
11149 [instead of in getStatus previously]
11151 * BufferView_pimpl.C (workAreaButtonRelease): update
11152 toolbar/menubar here too.
11154 2002-01-13 Allan Rae <rae@lyx.org>
11156 * BufferView2.C (removeAutoInsets): finished off earlier fix.
11157 Now seems indestructible. Remaining task is to audit all other
11158 code affected by deleteEmptyParagraphMechanism. One small quirk
11159 left is that an empty document with an error in the preamble can
11160 be made to report an error but no error box appears. I don't know
11162 (removeAutoInsets): Improved comments.
11164 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
11167 * Thesaurus.C: update for Aiksaurus 0.14
11169 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11171 * text2.C (firstParagraph): removed member function, all uses
11172 replaces with ownerParagraph
11173 (redoParagraphs): here
11174 (updateInset): here
11175 (toggleAppendix): here
11176 * BufferView2.C (insertErrors): here
11177 (setCursorFromRow): here
11179 2002-01-13 Allan Rae <rae@lyx.org>
11181 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11182 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11183 There is still a way to segfault this although you may have to do this
11184 multiple times: Have an InsetERT with an unknown command in it.
11185 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11186 <down-arrow>, <Enter> again, View->DVI, BANG!
11188 * text2.C (setCursor):
11189 (deleteEmptyParagraphMechanism):
11190 * lyxtext.h (setCursor):
11191 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11192 Making use of the return value may help fix other bugs.
11194 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11196 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11198 * LyXView.C (updateMenubar): call MenuBar::update here
11199 (updateToolbar): but not here
11200 (showState): do not update toolbar/menubar
11202 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11203 should need to care about that.
11205 * lyxfunc.C (verboseDispatch): simplify a bit
11206 (getStatus): have a version which takes a pseudoaction, and
11207 another which requires a (kb_action,string).
11209 * LyXAction.C (retrieveActionArg): make it work also when action
11210 is not a pseudo-action.
11211 (getActionName): simplify a bit
11214 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11216 * lyxfunc.C (verboseDispatch): new families of methods with
11217 several ways to specify a command and a bool to indicate whether
11218 the command name and shortcut should be displayed in minibuffer
11219 (eventually, we could extend that to a finer bitmask like
11220 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11221 (dispatch): the pristine dispatch command which just, well,
11222 dispatchs! Note it still sets its result to minibuffer; I'm not
11225 * lyxfunc.h: remove setHintMessage
11227 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11229 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11231 * BufferView_pimpl.C (specialChar): delete new inset if we have
11232 not been able to insert it.
11234 * kbmap.C: revert to using int instead of kb_action, since all we
11235 are dealing with is pseudo-actions.
11237 * LyXAction.C (searchActionArg): change to return int instead of
11238 kb_action, since the result is a pseudoaction.
11240 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
11242 * buffer.C (insertErtContents): Fix (partially) the font bug.
11244 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11246 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11247 as the other one is broken on my machine!
11249 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
11252 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11254 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
11256 * lyxrc.[Ch]: change names and descriptions of popup font variables to
11257 reflect their actual use. Provide compatibility code for older lyxrc
11260 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11262 change names of popup font variables in line with the changes to lyxrc.C
11264 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11266 * buffer.C (asciiParagraph): avoid outputing a word twice after
11269 * lyxrc.C (getDescription): document that document_path and
11270 template_path can be empty.
11272 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11274 * LaTeXFeatures.C (getMacros):
11275 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11277 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11279 * LaTeXFeatures.C (useFloat): require "float" here instead of in
11281 (getPackages): rename feature "floats" to "float". Use an array to
11282 iterate over 'simple' features (i.e. just a \usepackage). Add
11283 handling of "amsmath" (renamed from "amsstyle").
11285 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
11287 * LaTeXFeatures.C (require): Prevent duplicate entries in the
11290 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
11292 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11293 FuncStaus::FuncStatus & FuncStaus::some_method().
11295 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
11297 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11298 of the func_satus stuff. Edited and massaged in various ways by
11301 * lyxfunc.C (getStatus): use FuncStatus
11303 2002-01-08 Juergen Vigna <jug@sad.it>
11305 * text.C (nextBreakPoint): use function Inset::isChar().
11307 * paragraph.C (TeXOnePar): use function
11308 Inset::forceDefaultParagraphs.
11310 * buffer.C (latexParagraphs): use function
11311 Inset::forceDefaultParagraphs.
11313 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11315 * lyx_gui.C (init): set the style of the menu popups to
11316 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11318 2002-01-07 Juergen Vigna <jug@sad.it>
11320 * text.C (setHeightOfRow): small fix
11321 (prepareToPrint): don't look at alignment if we don't have the place
11324 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11326 * box.C: New file. Move the Box methods and functions out of box.h,
11327 following Lars' suggestion.
11329 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11331 * box.h: #include "support/LOstream.h", needed for inlined function.
11334 * lyxtextclasslist.C: added some using std declarations.
11336 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
11338 * box.h: make signed dimensions to allow insets wider than
11339 the screen (bug #162)
11341 * BufferView_pimpl.C: add some insetHit debug
11343 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
11345 * vc-backend.C: add FIXME
11347 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11349 * lyxfunc.C (getStatus): enable code for showing math font status
11352 2002-01-07 Juergen Vigna <jug@sad.it>
11354 * text.C (nextBreakPoint): removed debug output not needed anymore.
11356 2002-01-06 Juergen Vigna <jug@sad.it>
11358 * text.C (nextBreakPoint): fixed up this function we had this bug
11359 since ever but now hopefully we break row better.
11360 (insertChar): we have to check if an inset is the next char as it
11361 could now happen that a large inset is causing a break.
11363 2002-01-05 Juergen Vigna <jug@sad.it>
11365 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11366 if it doesn't like to be drawed.
11368 2002-01-04 Juergen Vigna <jug@sad.it>
11370 * BufferView2.C (lockInset): forgot to set a cursor.
11372 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11374 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
11376 * FormMathsPanel.C:
11379 * form_maths_panel.C:
11380 * form_maths_panel.h:
11381 * form_maths_panel.fd: implemented sub- and super- buttons in math
11384 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11385 (or ^ space) to be used as in TeX (req'd by André).
11387 * lyxfunc.C: Allow ^ and _ again to be used both as
11388 super/subscript (mathed) and as themselves (in text).
11390 2002-01-03 Allan Rae <rae@lyx.org>
11392 * LyXView.C (updateWindowTitle): Setup a short icon title of either
11393 "LyX" or the filename of the current buffer if it has one. This is a
11394 modified form of John Levon's patch.
11396 * XFormsView.C (setWindowTitle): also set icon title.
11398 * LyXView.h (setWindowTitle): signature changed.
11399 * XFormsView.h (setWindowTitle): ditto.
11401 2002-01-02 Juergen Vigna <jug@sad.it>
11403 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11405 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11407 * screen.C (topCursorVisible): introduce a temp var for
11408 text->cursor.row(), handle the case where this row is null. (kindo
11411 * text2.C (setCursor): add a couple of asserts.
11413 * paragraph.h (inset_iterator): add -> operator
11415 * paragraph.[Ch] (autoDeleteInsets): remove member function
11417 * BufferView2.C (removeAutoInsets): rewrite to handle the old
11418 cursor pos correctly and handle inset deletion by itself.
11419 (insertErrors): move iterator declaration out of for expression
11421 * lyxtextclass.C: add <algorithm>
11423 * Makefile.am: added the new files to sources, removed layout.C
11425 * layout.C: removed file
11427 * layout.h: remove LYX_DUMMY_LAYOUT
11429 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11433 * lyxtextclass.[Ch]:
11434 * lyxtextclasslist.[Ch]: new files
11436 * include order changes to a lot of files, also changes because of
11439 2001-12-27 Juergen Vigna <jug@sad.it>
11441 * buffer.C (asciiParagraph): more fixes.
11443 * tabular.C (ascii): make ascii export support export of only the
11444 data separated by a column-delimiter.
11445 (ascii): better support for ascii export.
11447 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11449 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11451 * tabular_funcs.C: use a "using std::getline" instead of the
11452 previous fix from Angus (necessary for cxx + lyxstring)
11454 2001-12-24 Juergen Vigna <jug@sad.it>
11456 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11458 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11459 problems. First check a minipage also if we have some ert-contents
11460 (not only on par->size(), second set the right depth of the paragraph
11461 on the relink to the root-paragraph-list!
11463 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11464 which then did not anymore update the main paragraphs on undo/redo!
11466 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11468 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11469 code. Support all font-changing funcs (even those which are not in
11470 menu currently). Support for reporting font settings in
11471 mathed (disabled until Andre provides a function on mathed's side).
11473 * func_status.h (toggle): small helper function to set toggle
11476 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
11478 * tabular_funcs.C: getline -> std::getline
11480 2001-12-21 Juergen Vigna <jug@sad.it>
11482 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11483 accessed and could be 0 (I couldn't generate this but it seems
11486 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11488 * tabular_funcs.C: add LIstream.h, move write_attribute to..
11489 * tabular_funcs.h: here and include iosfwd
11491 2001-12-20 Juergen Vigna <jug@sad.it>
11493 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11494 inside inset but undo_par was.
11496 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11498 * Thesaurus.C: always include <config.h> in sources.
11502 * box.h: do not include <config.h> in header files
11504 * text.C (paintLastRow): remove unused variable
11506 * text.C (transformChar):
11508 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11510 * Painter.C (text):
11511 * font.C (width): rewrite to use uppercase() instead of
11514 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11516 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
11518 * lyxfind.C: clean up of find failure position change
11520 2001-12-20 Juergen Vigna <jug@sad.it>
11522 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11524 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11525 (TeXRow): added to LaTeX a single tabular row.
11526 (TeXLongtableHeaderFooter): added to output LT-h/f data.
11527 (Latex): simplified and finally good LT-h/f support.
11528 (various_functions): just small adaptions for LT-h/f support.
11530 * tabular_funcs.[hC]: added and moved here all not classfunctions
11533 2001-12-19 Juergen Vigna <jug@sad.it>
11535 * tabular.[Ch]: better support for longtabular options (not finished
11538 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11540 * text.C (paintLastRow): use the label font instead of the font of
11541 the last character to compute the size of *_BOX. This makes more
11542 sense and avoids a crash with empty paragraphs.
11543 Use Painter::rectangle to draw EMPTY_BOX.
11545 2001-12-19 Juergen Vigna <jug@sad.it>
11547 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11548 the paragraphs if the replaced paragraph is not the first one!
11549 Tried to delete not used paragraphs but does not work yet so for
11550 now it's inside #ifdef's and by default off!
11552 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11554 * MenuBackend.C: include "lyx_main.h" instead of declaring
11555 lastfiles (actually was declared as LastFiles* instead of a
11558 2001-12-17 Juergen Vigna <jug@sad.it>
11560 * tabular.C (AppendColumn): applied John's fix
11562 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
11566 * BufferView_pimpl.h:
11567 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11570 * box.h: new start of class for above
11572 * lyxfunc.C: ignore space-only minibuffer dispatches.
11573 Show the command name when it doesn't exist
11575 * minibuffer.C: don't add empty lines to the history
11577 * minibuffer.C: add a space on dropdown completion
11579 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
11581 * text.C: fix line above/below drawing in insets
11583 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11585 * lyxlength.C (LyXLength): Initialize private variables.
11587 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
11589 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11590 when inserting error insets.
11592 2001-12-13 Juergen Vigna <jug@sad.it>
11594 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11595 actually sometimes the before-paragraph.
11596 (setUndo): don't clear the redostack if we're not actually undoing!
11598 2001-12-06 Juergen Vigna <jug@sad.it>
11600 * undo_funcs.C (textHandleUndo): well after John's hint I got here
11601 and fixed redoing of main paragraph, so we can use it now ;)
11603 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11605 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11607 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11610 2001-12-13 André Pönitz <poenitz@gmx.net>
11613 * undo_func.C: minor cleanup
11615 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11617 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11618 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11619 font in urw-fonts package which is marked as -urw-fontspecific and
11620 does not work (incidentally, changing the encoding in the
11621 fonts.dir of this package to -adobe-fontspecific fixes the
11624 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11625 is a crash when undoing first paragraph (Juergen, please take a
11626 look). THis does not mean the undo fix is wrong, just that it
11629 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11630 the (Paragraph*) version when needed instead of duplicating the
11633 * text.C (workWidth): use Inset::parOwner to find out where the
11634 inset has been inserted. This is a huge performance gain for large
11635 documents with lots of insets. If Inset::parOwner is not set, fall
11636 back on the brute force method
11638 * paragraph_pimpl.C (insertInset):
11639 * paragraph.C (Paragraph):
11640 (cutIntoMinibuffer): set parOwner of insets when
11641 inserting/removing them
11643 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11645 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
11651 * mathed/formulabase.C:
11652 * mathed/math_cursor.[Ch]:
11653 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11656 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11658 * lyxlength.[Ch] (operator!=): new function
11660 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11662 * text.C (workWidth): use Inset::parOwner to find out where the
11663 inset has been inserted. This is a huge performance gain for large
11664 documents with lots of insets. If Inset::parOwner is not set, fall
11665 back on the brute force method
11667 * paragraph_pimpl.C (insertInset):
11668 * paragraph.C (Paragraph):
11669 (cutIntoMinibuffer): set parOwner of insets when
11670 inserting/removing them
11672 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11674 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11676 * tabular-old.C (getTokenValue):
11677 * tabular.C (getTokenValue):
11678 (write_attribute): new versions for LyXLength
11679 (everywhere): adjust the use of widths
11681 * tabular.h: change the type of widths from string to LyXLength
11683 2001-12-11 Ben Stanley <bds02@uow.edu.au>
11685 * paragraph.C: fixed missing line number count when exporting
11686 Environments to LaTeX file
11688 * buffer.C: added informational message for checking line numbers.
11690 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11692 * text2.C (deleteEmptyParagraphMechanism): if there is only one
11693 paragraph, do the 'double space' part, but not the 'empty
11696 * text.C (workWidth): small optimization
11697 (getLengthMarkerHeight): use minimal size for negative lengths.
11699 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
11701 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11703 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11705 2001-12-11 André Pönitz <poenitz@gmx.net>
11708 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11710 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11712 * text2.C: keep selection on a setFont()
11714 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11716 * lyx_cb.C: another bv->text misuse, from insert label
11718 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11721 * kbsequence.C: re-instate nmodifier mask
11723 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
11725 * lyx_main.h: make lyxGUI private.
11727 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11729 * lyxfind.C: place the cursor correctly on failed search
11731 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11733 * text.C (getLengthMarkerHeight): for small heights, the arrows
11734 are not always on top/bottom of the text
11735 (drawLengthMarker): smaller arrows; take the left margin in
11736 account; draw also vfills.
11738 (paintLastRow): remove special code for vfill and standard spaces,
11739 since everything is handled in drawLengthMarker now.
11741 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11743 * buffer.C (insertErtContents): try to handle font and language
11744 interaction a bit better.g
11746 * ColorHandler.C (updateColor): change the hash to cover the whole
11747 LColor enum, ws cleanup
11748 (getGCLinepars): ditto
11749 (getGCLinepars): only lookup in the linecache once.
11751 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
11753 * iterators.C (operator++): Make the iterator more robust
11755 * BufferView2.C (removeAutoInsets): Use paragraph iterators
11757 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11759 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11762 * text.C: better added space drawing
11764 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11767 * BufferView2.C: fix layout combo update on inset unlock
11769 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11771 * Makefile.am: don't compile unused files
11773 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11777 * LyXAction.C: remove old LFUN_LAYOUTNO
11779 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11781 * paragraph_pimpl.h:
11782 * paragraph_pimpl.C: isTextAt() doesn't need font param
11784 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11787 * lyxlex.C: little cleanup
11789 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11791 * BufferView_pimpl.C: fix insertAscii for insets
11793 2001-12-05 Juergen Vigna <jug@sad.it>
11795 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11796 set the right font on the "multi" paragraph paste!
11798 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11804 * lyxlength.C: remove out-commented code.
11806 * BufferView_pimpl:
11820 * vc-backend.C: change "while(" to "while ("
11822 * lyxlength.[Ch]: add zero function to check if length is zero or
11824 * lyxgluelength.C: use it
11826 2001-12-05 Allan Rae <rae@lyx.org>
11828 * lyxlength.C: Attempted a fix for the abs(int) header selection.
11829 Works for 2.95.3, from what I understand of Garst's reports this should
11830 work for other g++ versions. We're screwed if the abs(int) definition
11831 changed between bugfix releases of gcc.
11833 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11835 * text.C: fix chapter label offset !
11837 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11840 * text.C: fix hfill at end of line, clean up
11842 2001-12-04 Juergen Vigna <jug@sad.it>
11844 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11845 that we force an update of the inset and it's owners if neccessary.
11847 2001-12-03 Juergen Vigna <jug@sad.it>
11849 * text.C (rowLast): simplified code
11851 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11853 * lyxfunc.C: fix show options on timeout
11855 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11857 * screen.C (topCursorVisible): scroll half a page when the cursor
11858 reached top of bottom of screen
11860 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
11862 * minibuffer.C: deactivate on loss of focus
11864 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11866 * vspace.[Ch] (operator!=): add operator.
11868 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
11870 * BufferView_pimpl.C: refuse to open an inset when
11871 there's a selection.
11873 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
11875 * BufferView_pimpl.C: allow to click on RHS of full row insets
11877 2001-11-30 Juergen Vigna <jug@sad.it>
11879 * tabular.C (LyXTabular): add a same_id to set the same id's in the
11880 insets for undo reasons.
11882 2001-11-28 André Pönitz <poenitz@gmx.net>
11884 * vspace.[Ch]: cosmetical changes
11886 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11896 * kbsequence.C: part re-write of old kb code
11899 * WorkArea.C: remove Lgb_bug_find_hack
11901 2001-11-30 José Matos <jamatos@fep.up.pt>
11903 * buffer.C (makeDocBookFile): add a comment to point a hack.
11904 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11905 Fixed a double write of labels.
11907 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11910 * LaTeX.h Fixed bug in LaTeX class where it would not
11911 re-run latex if no depfiles were changed, but the .dvi was removed.
11913 2001-11-28 André Pönitz <poenitz@gmx.net>
11915 * all the files from the change on 2001/11/26:
11916 use lyx::layout_type instead of LyXTextClass::size_type
11917 use lyx::textclass_type instead of LyXTextClassList::size_type
11919 2001-11-29 Juergen Vigna <jug@sad.it>
11921 * text.C: added support for paragraph::isFreeSpacing()
11923 * buffer.C: same as above
11925 * paragraph.h: inserted isFreeSpacing() function to enable
11926 FreeSpacing inside InsetERT.
11928 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11929 of the paragraph's in the cut/copy buffer to 0!
11931 * text2.C (removeRow): remove the assert as it can!
11933 * lyxtext.h: added helper function firstRow returning firstrow and
11934 made firstrow private again.
11936 * BufferView2.C (lockInset): don't relock if we're already locked!
11938 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11939 the only paragraph.
11940 (removeRow): added Assert::(firstrow)
11942 * debug.C: forgot to add INSETTEXT here.
11944 2001-11-28 Juergen Vigna <jug@sad.it>
11946 * sp_spell.C (initialize): changed error text to more general
11947 spellchecker command use (not only ispell!)
11949 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11951 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11953 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11955 * vspace.C: initialise lyxgluelength on failure
11957 2001-11-28 Allan Rae <rae@lyx.org>
11959 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11960 declaration & definition that looks like a function declaration.
11962 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11964 * BufferView2.C (copy):
11965 (copyEnvironment): do not clear the selection when doing a copy.
11967 * text.C (paintFirstRow): compilation fix
11969 2001-11-27 Ben Stanley <bds02@uow.edu.au>
11971 * tabular.C (Latex): correct line count when writing latex.
11973 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
11975 * paragraph_pimpl.h:
11976 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11979 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11983 * LColor.C: change vfillline->added_space
11985 * text.C: add markers and text for added space
11987 * vspace.C: fix comment
11989 2001-11-28 André Pönitz <poenitz@gmx.net>
11991 * paragraph.C: whitespace changes
11992 * all the other files from the change on 2001/11/26:
11993 change *::pos_type into lyx::pos_type
11995 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
11997 * buffer.C (parseSingleLyXformat2Token): Set the language to the
11998 language of the document when inserting error insets.
12000 2001-11-26 André Pönitz <poenitz@gmx.net>
12002 * BufferView_pimpl.[Ch]:
12010 * paragraph_pimpl.[Ch]:
12013 * text2.C: reduce header dependencies, introduce type for positions
12015 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12017 * <various>: change to use Alert.h
12019 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
12021 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12022 when encountering an unknown token.
12023 (readLyXformat2): Show an error message if there were unknown tokens.
12025 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
12028 * BufferView_pimpl.C:
12032 * text2.C: use par->isInset()
12034 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12036 * paragraph_pimpl.h:
12037 * paragraph_pimpl.C: cleanup
12039 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12041 * text2.C (removeRow):
12042 * text.C (setHeightOfRow): remove useless (and costly) call to
12045 2001-11-20 Allan Rae <rae@lyx.org>
12047 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12048 Now need Inset*::checkInsertChar() to return true for appropriate
12049 cases so that the characters in the minibuffer will actually be
12052 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12054 * text.C: change the order of the includes.
12055 (workWidth): initialize it at once.
12056 (workWidth): make maxw unsigned
12057 (setHeightOfRow): remove unused variable (inset)
12058 (selectSelectedWord): remove unused variable (inset)
12059 (paintRowText): fix drawing of hfill characters, and clean up a bit.
12061 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12063 * lyxserver.C (emergencyCleanup): do not try to close pipes if
12064 server is not running.
12066 (closeConnection): add debug info when server is disabled.
12068 * ColorHandler.C (getGCForeground): send debug message to GUI
12071 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12073 * kbmap.C (bind): modify because return conventions of
12074 kb_sequence::parse have changed.
12076 * kbsequence.C (parse): only ignore spaces and not any stupid
12077 control character. This avoids tests like s[i] <= ' ', which are
12078 guaranteed to fail with 8bit characters and signed chars.
12079 Change return code to string::npos when there have been no error
12080 (0 was a bad idea when error is at first character)
12082 2001-11-14 José Matos <jamatos@fep.up.pt>
12085 * buffer.C (simpleDocBookOnePar): removed unused argument.
12087 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12089 * text.C (selectNextWordToSpellcheck): do not test explicitely for
12090 insets which are part of a word. Paragraph::isLetter takes care of
12091 that now. Use Paragraph::isInset to identify insets.
12092 (selectSelectedWord): do not test for hyphenation break.
12094 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12095 that protected spaces are considered as spaces.
12097 * paragraph.C (isLetter): cleanup the code for ispell extras; use
12100 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
12103 * lyxserver.C: fix it. and small cleanup.
12105 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12107 * BufferView_pimpl.C: use inline helpers
12110 * LaTeXFeatures.C: fix typos
12113 * Spacing.C: move spacing_string into class
12115 * ToolbarDefaults.C: move stuff into namespace anon
12117 * layout.h: update enum
12119 * lyxfunc.C: use better debug
12121 * minibuffer.h: fix typo
12125 * WorkArea.C: add and use Debug::WORKAREA
12129 * text2.C: code re-organisation, inline helpers
12131 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
12133 * Layout.C: replaced a few cases of std::vector.size() == 0 with
12134 std::vector.empty().
12136 2001-11-09 Allan Rae <rae@lyx.org>
12138 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12139 '\n's after tables. Tabular and ERT inset work now makes this no
12142 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12145 * minibuffer.C: fix crash, improve drop-down completion
12147 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
12150 * lyxserver.C: invalidate fd's when doing endPipe()
12152 2001-11-08 José Matos <jamatos@fep.up.pt>
12154 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12155 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12158 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12160 2001-11-07 José Matos <jamatos@fep.up.pt>
12163 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12166 * buffer.C (sgmlOpenTag):
12167 * buffer.C (sgmlCloseTag): removed debug info.
12169 * buffer.h (sgmlOpenTag):
12170 * buffer.h (sgmlCloseTag): made public.
12172 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12174 * buffer.C (saveParamsAsDefaults):
12175 * lyx_cb.C (MenuLayoutSave): remove
12177 * LyXAction.C (init):
12179 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12181 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12183 * buffer.C (setPaperStuff): removed from here...
12185 * bufferparams.C (setPaperStuff): ... and moved there.
12187 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
12191 * XFormsView.C: add support for drop-down completion
12193 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
12195 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12198 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12200 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12203 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
12205 * lyx_main.C: change ref to known bugs
12207 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
12209 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12210 to work around older babel problems.
12212 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12214 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12216 2001-10-24 Juergen Vigna <jug@sad.it>
12218 * tabular-old.C (ReadOld): below variable changes reflected.
12220 * tabular.[Ch]: added ltType struct for longtable header/footer
12221 defines and changed all instances where they are used. Added
12222 future support for double top/bottom rows.
12224 2001-10-24 José Matos <jamatos@fep.up.pt>
12226 * buffer.h (docbookHandleCaption):
12227 * buffer.C (docbookHandleCaption): removed unused function.
12228 (makeDocBookFile): moved docbook supported version to v4.1.
12230 2001-10-24 José Matos <jamatos@fep.up.pt>
12233 * tabular.C (docbookRow): new function to export docbook code of a row.
12234 (DocBook): now honors the longtable flags.
12236 2001-10-23 José Matos <jamatos@fep.up.pt>
12239 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12240 of the lyx defined sgml entities used in a docbook/linuxdoc document.
12242 * buffer.C (makeLinuxDocFile):
12243 (makeDocBookFile): reworked the preamble, more clean, and with
12244 support for lyx defined entities. Changed the document declaration
12245 to be more XML friendly.
12247 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12248 if we need to output XML that should be done with a filter.
12250 2001-10-22 Juergen Vigna <jug@sad.it>
12252 * sp_pspell.h (class PSpell): add alive function needed in the
12253 controller to see if the spellchecker could be started.
12255 2001-10-22 Juergen Vigna <jug@sad.it>
12257 * buffer.C (insertStringAsLines): modify the font for inserting
12258 chars in certain conditions by calling checkInsertChar(font).
12260 2001-10-19 Juergen Vigna <jug@sad.it>
12262 * text.C (workWidth): use getRow instead of wrong algorithm.
12263 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12265 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
12270 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12272 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12274 * text.C (workWidth): do not search for the exact row when
12275 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12276 optimization for big documents.
12278 2001-10-18 Juergen Vigna <jug@sad.it>
12280 * text.C (workWidth): new function with added Inset * parameter.
12282 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12284 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12286 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12287 change return type of getColumnNearX.
12290 * text.C (changeRegionCase): use uppercase/lowercase instead of
12293 (rightMargin): simplify code by factoring out the uses of
12298 (appendParagraph): use Paragraph::size_type
12300 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12302 * vspace.C (asLatexString): add a missing break
12304 2001-10-15 Herbert Voss <voss@perce.de>
12306 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12308 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12310 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12313 2001-10-10 André Pönitz <poenitz@gmx.net>
12315 * lyxfunc.C: removed greek_kb_flag.
12317 2001-10-10 Herbert Voss <voss@perce.de>
12319 * lyx_main.C: delete global string help_lyxdir.
12321 2001-10-09 Herbert Voss <voss@perce.de>
12323 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12325 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12327 * lyx_main.C: added global string help_lyxdir.
12329 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12331 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
12333 * lyxrc.C (set_font_norm_type): support iso8859-4
12335 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
12337 * LaTeX.C (deplog): add another regex for MikTeX
12339 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
12341 * lyxrc.C (set_font_norm_type): support iso8859-3
12343 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12345 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12347 * LaTeXFeatures.C: remove special case of french and index
12349 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12350 before \begin{document}). This solves several incompatibilities.
12352 2001-10-03 Garst Reese <reese@isn.net>
12354 * lyx_cb.C: change CheckTex error msg.
12356 2001-10-03 José Matos <jamatos@fep.up.pt>
12358 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12360 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12362 * .cvsignore: update
12364 * lyx_main.C (commandLineVersionInfo): use new style version info.
12366 * buffer.C (writeFile):
12368 (makeLinuxDocFile):
12369 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12371 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12373 * version.h: update to use stuff in version.C
12375 * version.C.in: new file. Contains version information determined
12376 at compile time. This is a merging of version.h and
12379 2001-10-03 Juergen Vigna <jug@sad.it>
12381 * BufferView_pimpl.C (update): don't change "dirty" status in
12384 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
12386 * WorkArea.C (c-tor): re-position version string slightly.
12388 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
12390 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12391 revert to previous code.
12393 WorkArea.[Ch]: (show, destroySplash): methods removed.
12395 WorkArea.C: rework code so that it's an amalgam of the codes before and
12396 after the splash screen was moved to WorkArea.
12398 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12401 * vspace.C (inPixels):
12404 * buffer.C (insertStringAsLines):
12405 (asciiParagraph): fix types to be large enough
12407 * lyxlex_pimpl.h: change member status from short to int
12409 * layout.h: fix type of endlabeltype
12412 * kbsequence.C (parse): change return type to string::size_type
12414 * LaTeX.C (updateBibtexDependencies): comment out unneeded
12417 * Bullet.C (bulletSize):
12418 (bulletEntry): do not use short ints as parameters
12420 * BufferView2.C (insertLyXFile): change a char to an int.
12422 * WorkArea.C (WorkArea): remove unneeded floats in computation
12424 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
12426 * buffer.C (asciiParagraph): Treat '\\' as other chars.
12428 * paragraph.C (asString): Do not ignore newline/hfill chars when
12429 copying to the clipboard.
12431 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
12433 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12434 after a multi-line inset.
12436 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
12438 * paragraph.C (validate): Set NeedLyXFootnoteCode
12440 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12442 * lyxfont.C (LyXSizeNames): changed increase-error to increase
12443 and decrease-error to decrease.
12445 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12447 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12448 it more readable (should be equivalent)
12450 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
12452 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12454 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12456 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12457 of a cursor (row, etc.) after a character has been deleted
12458 (deleteEmptyParagraphMechanism): call the method above on _all_
12459 cursors held by the LyXText when a double space has been
12462 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12464 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12466 (resizeCurrentBuff): remove code to destroy the old splash dialog.
12468 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12469 background. Use greyOut() and the new show() methods to toggle between
12470 the foreground and background. Add code to remove the splash after
12471 its initial showing.
12473 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12474 (create_forms): no longer call Dialogs::showSplash.
12476 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12478 * .cvsignore: add version_info.h
12480 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12482 * version_info.h.in: new file
12484 * Makefile.am: add version_info.h.in
12486 * lyx_main.C (commandLineVersionInfo): use version_info defined in
12487 version_info.h instead of VERSION_INFO
12489 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
12491 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12492 The ERT inset now returns string().
12494 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
12496 * lyxtext.h, text.C (selectNextWord): renamed as
12497 selectNextWordToSpellcheck.
12499 * text.C (selectNextWordToSpellcheck): Modified to not select
12500 words inside an ERT inset.
12502 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12504 * lyx_cb.C (MenuLayoutSave): change a bit the question
12506 * sp_base.h: include <sys/types.h>
12508 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
12510 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12512 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
12514 * several files: fix typos in user-visible strings
12516 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12518 * text2.C (pasteSelection): do not set the selection, since it
12519 will be cleared later. Actually, the intent was to fix the way the
12520 selection was set, but I figured rmoving the code was just as good.
12522 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
12524 * FontLoader.C (available): Check if font is available without
12527 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
12529 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12531 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
12533 * lyxrc.[Ch]: added display_graphics variable and associated code.
12535 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12537 * bufferparams.C (hasClassDefaults): new method. Returns true if
12538 the buffer parameters correspond to known class defaults
12540 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
12542 * XFormsView.C (show): set minimum size to the main window.
12544 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12546 * text2.C (copySelection):
12548 * lyxfind.C (LyXReplace):
12549 * BufferView_pimpl.C (Dispatch): pass the correct flag to
12550 LyXText::selectionAsString.
12552 * paragraph.C (asString): add "label" argument to the second form
12554 * text2.C (selectionAsString): add "label" argument and pass it to
12555 Paragraph::asString.
12557 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12559 * lyx_main.C (commandLineHelp): remove version information
12561 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
12563 * lyx_main.C: add -version commandline option
12565 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12567 * paragraph.h: make the optional constructor arg required instead.
12568 some modifications to other files because of this.
12570 * minibuffer.C (C_MiniBuffer_peek_event): make it static
12572 * lyxserver.C (C_LyXComm_callback): make it static
12574 * lyx_main.C (error_handler): make it static
12576 * lyx_gui.C (LyX_XErrHandler): make it static
12578 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12580 * WorkArea.C: make the extern "C" methods static.
12582 * Makefile.am (lyx_LDADD): simplify
12584 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12586 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12587 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12589 * LyXAction.C (init):
12590 * lyxfunc.C (dispatch): associated code removal.
12592 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12594 * lyxfont.h (isSymbolFont): shut off warning
12596 * text.C (setHeightOfRow):
12597 (getVisibleRow): fix crash with empty paragraphs which have a
12600 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
12602 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12605 2001-09-04 José Matos <jamatos@fep.up.pt>
12608 * tabular.C (docbook): rename docBook method to docbook.
12610 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12612 * Makefile.am: add dependencies to main.o.
12614 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
12616 * FontLoader.C (available): Return false if !lyxrc.use_gui
12618 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
12620 * FontInfo.C (query):
12621 * converter.C (view):
12622 * importer.C (Import):
12623 * exporter.C (Export): Can not -> cannot.
12625 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
12627 * BufferView_pimpl.C: allow to create index inset even if
12630 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12632 * buffer.C (getLists): replace boost::tie code with an explicit pair
12633 as boost::tie can break some compilers.
12635 * iterators.h: Added a std:: declaration to the return type of
12638 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
12640 * lyxrc.C: add help for view_dvi_paper_option, default to safe
12643 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
12645 * iterators.[Ch]: New files. Provide paragraph iterators.
12647 * buffer.C (changeLanguage): Use paragraph iterators.
12648 (isMultiLingual): ditto
12650 * BufferView2.C (ChangeInsets): Use paragraph iterators.
12652 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
12654 * FontLoader.C: Support for cmr font.
12656 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
12658 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12659 (available): New method.
12661 * FontInfo.C (getFontname): Use scalable fonts even when
12662 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12665 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12667 * converter.C (Formats::view): reverted! Incorrect fix.
12669 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12671 * converter.C (Formats::view): only output the -paper option
12672 if the dvi viewer is xdvi, thereby fixing bug #233429.
12674 2001-08-23 Herbert Voss <voss@perce>
12676 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12678 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
12680 * Spacing.h (Spacing): Set space to Default on in the default
12683 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
12685 * vc-backend.h (RCS::versionString): add RCS to version
12686 (CVS::versionString): add CVS to version
12688 * vc-backend.C (scanMaster): do not add CVS to version.
12689 (scanMaster): do not add RCS to version
12691 * lyxvc.C (versionString): new method
12693 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12695 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12697 * Spacing.C (set): initialize fval
12699 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
12701 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12704 2001-08-16 Juergen Vigna <jug@sad.it>
12706 * lyxfunc.C (dispatch): implemented the new FINISHED states.
12708 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12710 * BufferView_pimpl.C:
12713 * text2.C: setParagraph takes linespacing now
12715 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
12717 * LyxAction.C: add internal LFUN_CITATION_INSERT
12719 * LyXView.C: actually apply fix
12721 * bufferlist.C: fix open non-existent file
12723 * lyxfind.C: fix indentation
12725 * lyxfunc.C: remove unneeded assert, fix typo
12727 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12729 * MenuBackend.C: use "Floatname List"
12731 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
12733 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12734 when converting LaTeX layout to insetERT.
12735 Generate a non-collapsed float when reading old float
12737 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12739 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12742 2001-08-13 Juergen Vigna <jug@sad.it>
12744 * text.C (fill): return 0 instead of 20 as this seems to be the more
12747 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12749 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12752 2001-08-13 Juergen Vigna <jug@sad.it>
12754 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12756 (SearchBackward): comment out the unlocking of the inset_owner this
12757 should not be needed!
12759 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
12761 * Many files: Remove inherit_language, and add latex_language
12763 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12764 collapsible insets.
12766 2001-08-10 Juergen Vigna <jug@sad.it>
12768 * text.C (prepareToPrint): fixed hfill-width in draw!
12770 * BufferView2.C (selectLastWord): save the selection cursor as this
12771 now is cleared in the function LyXText::clearSelection!
12773 2001-08-08 Juergen Vigna <jug@sad.it>
12775 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12776 BACKSPACE type functions.
12778 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12779 is only cutted from the document but not put in the cut-buffer, where
12780 still the old stuff should be.
12782 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12784 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12786 * tabular.C (SetWidthOfCell): fixed special case where the width
12788 (LeftLine): handle '|' in align_special.
12790 (LeftAlreadyDrawed): ditto
12791 (SetWidthOfCell): ditto
12793 2001-08-07 Juergen Vigna <jug@sad.it>
12795 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12797 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12799 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12800 * lyxlex.[hC]: ditto
12802 2001-08-06 Juergen Vigna <jug@sad.it>
12804 * text.C (getVisibleRow): fix up row clearing a bit.
12806 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12808 * minibuffer.C: make sure the X server sees the changes in the input.
12810 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12812 * paragraph.C (getFont): split into...
12813 (getLabelFont): this
12814 (getLayoutFont): and this
12815 * paragraph_pimpl.C (realizeFont): calling this
12817 * text2.C (getFont): split into...
12818 (getLayoutFont): this
12819 (getLabelFont): and this
12820 (realizeFont): all three calling this
12822 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12825 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12827 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12829 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
12831 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12832 layouts from the Quote inset insertion.
12834 2001-08-03 Juergen Vigna <jug@sad.it>
12836 * BufferView_pimpl.C (update): do the fitCursor only at the end!
12838 * screen.C (drawFromTo): don't call fitcursor here and do the loop
12839 only if status not is already CHANGED_IN_DRAW (second level).
12841 * text.C (draw): don't set the need_break_row when inside an
12844 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12846 * buffer.C (parseSingleLyXformat2Token): handle more latex
12849 * bufferview_funcs.[hC]: change function names to
12850 begin with small char, adjust other files.
12852 2001-08-02 André Pönitz <poenitz@gmx.net>
12855 BufferView_pimpl.C: remove broken special code for math-greek
12857 2001-08-02 Juergen Vigna <jug@sad.it>
12859 * BufferView_pimpl.C (update): redone this function so that we
12860 update the text again if there was a CHANGE_IN_DRAW.
12862 * screen.C (cursorToggle): removed LyXText parameter and recoded.
12863 (drawFromTo): added a new internal bool which is used by draw() and
12865 (general): some cursor drawing problems fixed.
12867 2001-08-01 Juergen Vigna <jug@sad.it>
12869 * lyxfind.C (LyXFind): fixed
12870 (SearchForward): ditto
12871 (SearchBackward): ditto
12873 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12874 spurius drawing of the cursor in the main area.
12876 * text2.C (status): small fix which could lead to a segfault!
12877 (clearSelection): remove unneeded BufferView param.
12879 2001-08-01 André Pönitz <poenitz@gmx.net>
12881 * lyxfunc.C: small change due to changed mathed interface
12883 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12885 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12887 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
12889 * lyxfunc.c: fail gracefully if file doesn't exist
12894 * BufferView_pimpl.C: IsDirWriteable() proto changed
12896 * LyXView.C: fix updateWindowTitle() to store the last title
12898 2001-07-31 Juergen Vigna <jug@sad.it>
12900 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12901 the font (wrong since using of Paragraph::highestFontInRange).
12903 * paragraph.C (highestFontInRange): added a default_size parameter.
12905 * text.C (getVisibleRow): minor clear row changes (still not perfect).
12906 (setHeightOfRow): reformat
12908 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12910 * converter.[hC] + affected files: move to (inital-char)lowercase
12913 * ParagraphParameters.C (ParagraphParameters): remove commented code
12915 * PainterBase.[Ch]: remove commented code
12917 * LaTeXFeatures.h: add "bool floats" for float.sty
12919 * LaTeXFeatures.C (LaTeXFeatures): init floats
12920 (require): handle float
12921 (getPackages): do it with floats
12923 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12925 * BufferView_pimpl.C (Dispatch): improve handling of
12926 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12928 * commandtags.h: #include lyxfont.h here temporarily to avoid
12931 * bufferlist.h: include LString.h here.
12933 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12935 * text2.C (getStringToIndex): new method.
12937 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
12939 * *: Reduced header file dependencies all over.
12941 2001-07-30 Baruch Even <baruch@lyx.org>
12943 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12945 2001-07-29 Baruch Even <baruch@lyx.org>
12947 * buffer.C (readInset): Changed GRAPHICS to Graphics.
12949 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12951 * ParameterStruct.h (endif): add a default constructor to make
12952 sure that all variables is initialized.
12954 * ParagraphParameters.C (ParagraphParameters): adjust
12956 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12958 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12959 index; also, check that there is something to index, and that it
12960 does not span over several paragraphs.
12961 (doubleClick): use WHOLE_WORD_STRICT for double click.
12963 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12965 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12968 2001-07-26 Baruch Even <baruch@lyx.org>
12970 * buffer.C (readInset): Changed to call up InsetGraphics when reading
12971 an InsetFig figure, backwards compatible reading of old figure code.
12973 2001-07-27 Juergen Vigna <jug@sad.it>
12975 * text2.C: font.realize function adaption.
12977 * text.C (draw): add a warnings lyxerr text if needed.
12979 * layout.C: font.realize function adaption.
12981 * language.C: add inherit_language and implement it's handlings
12983 * bufferview_funcs.C (StyleReset): remove language parameter from
12984 font creation (should be language_inherit now).
12986 * bufferparams.C (writeFile): handle ignore_language.
12988 * paragraph.C (getFontSettings): the language has to be resolved
12989 otherwise we have problems in LyXFont!
12991 * lyxfont.C (lyxWriteChanges): added document_language parameter
12992 (update): removed unneeded language parameter
12994 * paragraph.C (validate): fixed wrong output of color-package when
12995 using interface colors for certain fonts in certain environments,
12996 which should not seen as that on the final output.
12998 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
13000 * BufferView_pimpl.C:
13005 * LyXAction.C: add thesaurus support
13008 * lyxfind.C: add "once" parameter, for thesaurus, to not
13009 move to the next match
13011 2001-07-26 Juergen Vigna <jug@sad.it>
13013 * lyxfont.C (realize): honor ignore_language too!
13016 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13018 * text.C (draw): one place more for ignore_language to not draw
13021 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
13023 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13025 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13027 * buffer.C (parseSingleLyXformat2Token): a more general fix for
13028 the minipage conversion problem.
13030 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13032 * buffer.C (parseSingleLyXformat2Token): check minipage if we
13035 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13037 * BufferView.h: don't forward declare WorkArea
13039 * BufferView.C: don't include WorkArea.h
13041 2001-07-25 André Pönitz <poenitz@gmx.net>
13045 * lyxfunc.C: new LFUN 'math-space'
13047 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13049 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13051 * text2.C (toggleInset): call open/close
13053 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13055 * lyxfunc.C (dispatch): add debug for the disabled case
13057 * font.C (buttonText): make similar to rectText
13059 * buffer.C (readInset): comment out parsing of insetlist and
13062 * PainterBase.C (rectText): small correction
13064 * BufferView_pimpl.C: comment out insettheorem and insetlist
13065 * LyXAction.C: ditto
13066 * commandtags.h: ditto
13068 2001-07-24 Juergen Vigna <jug@sad.it>
13070 * text.C (draw): honor the ignore_language.
13072 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13074 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13076 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13079 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13081 * lyxtext.h: remove unused (and unimplemented) methods
13083 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13085 * text.C (getVisibleRow): honor background color
13088 * Painter.h: remove default color argument for fillRectangle
13090 * text.C (backgroundColor): new method
13092 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13094 * text.C (getVisibleRow): adjust
13096 * font.[Ch] (rectText): new method, metrics
13097 (buttonText): new method, metrics
13099 * PainterBase.[hC]: make rectText and buttonText always draw and take
13102 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13104 * ToolbarDefaults.C (read):
13105 * MenuBackend.C (read): allow escaping in all strings
13107 * BufferView_pimpl.C (insertAndEditInset): new method.
13108 (Dispatch): use insertAndEditInset whenever appropriate.
13110 * BufferView_pimpl.C (insertNote): removed
13112 * BufferView_pimpl.C (smartQuote): new method, moved from
13113 BufferView; if an insetquote cannot be inserted, insert a '"'
13116 * BufferView2.C: remove insertCorrectQuote();
13118 * lyxfunc.C (getStatus): Add support for all remaingin
13119 inset-insert lfuns.
13121 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13123 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13124 command (necessary to pass " as parameter of self-insert.
13126 * text.C (selectWordWhenUnderCursor):
13127 (selectWord): add word_location parameter
13128 (selectWordWhenUnderCursor): same + remove special code for word
13130 (selectNextWord): use kind() to guess type of insetspecialchar,
13133 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13134 (insertErtContents): create ert insets as collapsed.
13135 (readInset): better compatibility code for Info inset.
13137 2001-07-20 Juergen Vigna <jug@sad.it>
13139 * lyxfunc.C (dispatch): use always LyXFind now!
13141 * text2.C (init): add a reinit flag so that the LyXText can be
13142 reinited instead of deleted and reallocated (used in InsetText).
13144 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13150 2001-07-18 Juergen Vigna <jug@sad.it>
13152 * text.C (selectNextWord): handle insets inside inset by calling
13153 always the bv->text functions so that we can go up the_locking_inset!
13155 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13156 in strange locations when inside an inset!
13158 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13159 handling to include insets.
13161 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13163 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13165 * LyXAction.C (init):
13167 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13168 LIGATURE_BREAK, since the name is so stupid.
13170 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13172 * buffer.C (readInset): enable reading of new InsetNotes as well as old
13175 * FontLoader.C: remove FORMS_H_LOCATION cruft.
13177 * sp_form.[Ch]: remove.
13179 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13181 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13184 * src/buffer.C (readInset): ditto.
13186 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13188 * BufferView_pimpl.C (specialChar): new method. Obsoletes
13189 menuSeparator(), endOfSentenceDot(), ldots() and
13190 hyphenationPoint(), which are therefore removed.
13191 (Dispatch): handle LFUN_HYPHENATION_BREAK.
13193 * LyXAction.C (init):
13194 * commandtags.h: add LFUN_HYPHENATION_BREAK.
13196 * paragraph.C (getWord): removed.
13198 * BufferView_pimpl.C (Dispatch): use last word or selection for
13199 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13201 * lyx_main.C (queryUserLyXDir): do not ask before creating
13202 user_dir, except if it has been named explicitely.
13204 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13206 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13207 a document of zero size.
13209 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
13211 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13212 approriately in the c-tor and in require().
13213 (getPackages): output the appropriate LaTeX for natbib support.
13215 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13216 variables "use_natbib" and "use_numerical_citations" when reading the
13218 (readInset): read the various natbib cite commands.
13219 (validate): white-space change.
13221 * bufferparams.[Ch]: new variables "bool use_natbib" and
13222 "bool use_numerical_citations".
13223 (writeFile): output them in the LyX file.
13225 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13227 * lyxfunc.C (getStatus): add support for all the inset insertion
13230 * text2.C (insertInset):
13231 * paragraph.C (insetAllowed):
13232 * BufferView_pimpl.C (insertInset): update to take in account the
13233 renaming of insertInsetAllowed
13235 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13237 * text2.C (getInset): new method. returns inset at cursor position.
13239 * BufferView_pimpl.C (Dispatch): changes because of this.
13241 * LyXAction.C (init): rename open-stuff to inset-toggle.
13243 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13245 * text2.C (toggleInset): renamed from openStuff; use
13248 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
13250 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13252 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13254 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
13256 * buffer.C (readLyXformat2): Add filename to the error dialog
13258 2001-07-18 Juergen Vigna <jug@sad.it>
13260 * tabular.C (GetCellNumber): put an assert here instead of the check!
13262 2001-07-17 Juergen Vigna <jug@sad.it>
13264 * BufferView_pimpl.C (toggleSelection): adapted too.
13266 * text.C (selectNextWord): adapted for use with insets.
13267 (selectSelectedWord): ditto
13269 2001-07-17 Juergen Vigna <jug@sad.it>
13271 * sp_spell.C (PSpell): fix initialitation order.
13273 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13275 * paragraph.C: spacing
13277 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
13279 * sp_spell.C: repair language selection for pspell
13281 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13283 * lyxfunc.h: change more methods to begin with lower char.
13285 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
13287 * buffer.C (parseSingleLyXformat2Token): Generate error insets
13288 for unknown layouts.
13290 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
13292 * buffer.C (readLyXformat2): Generate an error dialog if there are
13295 2001-07-16 Juergen Vigna <jug@sad.it>
13297 * sp_spell.C: always compile ISpell part.
13299 * lyxrc.C: added use_pspell entry and it's handling.
13301 2001-07-13 Juergen Vigna <jug@sad.it>
13303 * sp_spell.C: removed double includes.
13305 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
13307 Consistent use of Lsstream.h:
13308 * Lsstream.h: added using std::stringstream for consistencies sake.
13310 * buffer.C: removed using std::stringstream
13312 * lyxfont.C (stateText):
13313 * paragraph.C (asString):
13314 * text.C (selectNextWord, selectSelectedWord):
13315 * text2.C (setCounter):
13316 * vspace.C (asString, asLatexString):
13317 std::ostringstream -> ostringstream.
13319 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13321 * LyXAction.C: add LFUN_HELP_ABOUTLYX
13322 * commandtags.h: add LFUN_HELP_ABOUTLYX
13323 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13325 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13327 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13329 * lyx_gui_misc.C: remove spellchecker
13330 * lyxfunc.C: showSpellchecker
13332 * sp_ispell.h: added
13333 * sp_pspell.h: added
13334 * sp_spell.C: added
13335 * sp_form.[Ch]: removed
13336 * spellchecker.[Ch]: removed
13338 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
13340 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13342 (simpleTeXSpecialChars): Simply print the input character without
13343 any special translation if pass_thru is set.
13345 * layout.h: Added bool pass_thru to layout class for being able to
13346 implement pass through of a paragraph for Literate Programming.
13348 * layout.C: add LT_PASS_THRU to LayoutTags enum.
13349 * layout.C (LyXLayout): set pass_thru to flase in constructor.
13350 * layout.C (Read): add "passthru" to list of layout tags and add
13351 code to set the pass_thru boolean when it is read.
13353 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13355 * trans_decl.h: remove allowed from KmodInfo
13357 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13358 remove allowed code
13361 * paragraph_pimpl.C (erase): use boost::prior
13363 * Painter.C (text): use data() instead of c_str() when length is
13365 * WorkArea.C (putClipboard): ditto
13366 * font.h (width): ditto
13368 * BufferView2.C: use it-> instead of (*it). for iterators
13370 * paragraph_pimpl.C: ditto
13371 * paragraph.C: ditto
13372 * minibuffer.C: ditto
13373 * language.C: ditto
13375 * encoding.C: ditto
13376 * counters.C: ditto
13377 * converter.C: ditto
13379 * Variables.C: ditto
13380 * TextCache.C: ditto
13381 * MenuBackend.C: ditto
13382 * LyXAction.C: ditto
13384 * FloatList.C: ditto
13385 * DepTable.C: ditto
13386 * ColorHandler.C (LyXColorHandler): ditto
13388 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13390 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13392 * text2.C (openStuff): reintroduce this method (which had been
13393 nuked in NEW_INSETS frenzy).
13395 * lyxfunc.C (Dispatch): when an action has not been handled, use
13396 its name in the error message, not its number.
13398 * paragraph.C (inInset): change method name to begin with lowercase.
13401 * text2.C: updates because of this.
13403 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13405 * ToolbarDefaults.C (add): add spaces in error message
13407 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13409 * buffer.C (readLyXformat2): initialize the ert comp. variables.
13410 (readLyXformat2): rename return_par to first_par, use lyxlex's
13411 pushToken and remove the manual push handling.
13412 (parseSingleLyXformat2Token): add another ert comp. variable:
13413 in_tabular, rename return_par to first_par. handle newlines better
13415 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13417 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13419 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13421 * text2.C (getParFromID): removed
13423 * buffer.C (getParFromID): new method moved form lyxtext.
13424 * BufferView2.C (insertErrors): adjust
13425 (setCursorFromRow): adjust
13426 * BufferView_pimpl.C (restorePosition): adjust
13427 * lyxfunc.C (Dispatch): adjust
13428 * undo_funcs.C (textUndo): adjust
13430 (textHandleUndo): adjust
13431 (textHandleUndo): adjust
13433 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13435 * buffer.C: up' the LYX_FORMAT
13437 * lyxfont.h: turn NO_LATEX on as default
13439 * buffer.C (insertErtContents): new methods of tex style compability.
13440 (parseSingleLyXformat2Token): use it several places.
13441 * tabular.C (OldFormatRead): and here
13443 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13445 * text2.C: remove some commented code.
13448 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13449 * trans.C: changes because of the above.
13451 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
13453 * text2.C (setCounter): Fix counters bug with bibliography layout.
13455 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13457 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13458 own member functions
13459 (simpleTeXSpecialChars): ditto
13461 2001-07-06 Juergen Vigna <jug@sad.it>
13463 * a lot of files: changed the access to LyXText::status and the
13464 call of undo-functions.
13466 * undo.[Ch]: added a inset_id to the undo informations.
13468 * undo_funcs.[Ch]: added and moved here all undo functions.
13470 * lyxtext.h: give the status enum a weight, made status_ a private
13471 variable and made accessor functions for it, removed the whole bunch
13472 of undo-functions as they are now in their own file, make some
13473 functions publically available. Added function ownerParagraph with
13476 * paragraph.[Ch]: added "bool same_ids" to the constructor,
13477 made InInset() a const function, added getParFromID() function.
13479 * buffer.[Ch]: added const version for inset_iterator functions,
13480 added getInsetFromID() function.
13482 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13483 changed undo functions for new version.
13485 2001-07-05 Juergen Vigna <jug@sad.it>
13487 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13488 unknow mechanism does not call the proper constructor but only this
13489 one also if I request the other!?
13491 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13493 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13495 * text2.C (LyXText): use initialization lists.
13497 * lyxtext.h (Selection): initialize set_ and mark_
13498 (init): remove method
13500 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
13502 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13504 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13506 * screen.[Ch]: change method names to begin with lowercase
13508 * BufferView_pimpl.C (updateScrollbar): simplify further and
13509 hopefully make it a bit faster.
13511 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13513 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13514 calling directly xforms functions.
13516 * Painter.C (Painter):
13517 * lyx_cb.C (MenuWrite):
13518 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13521 * lyx_gui.C: remove bogus guiruntime extern declaration.
13523 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13525 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13527 (redoDrawingOfParagraph): ditto
13528 (redoParagraphs): ditto
13529 (cutSelection): don't create a object for CutAndPaste use the
13530 static method directly
13531 (pasteSelection): ditto
13533 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13536 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13538 * modifications to some other files because of this.
13540 * Makefile.am (lyx_SOURCES): add XFormsView
13542 * XFormsView.[Ch]: new files
13544 * LyXView.[Ch]: make LyXView a base class for the gui handling for
13545 the main window. Move the gui dependent stuff to XFormsView
13547 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13549 * tabular.C (GetCellInset): update cur_cell also in the row/col
13550 version of this function.
13552 * lyxfunc.C: no need to include figure_form.h here.
13558 * lyxvc.C: no need to include forms.h here.
13560 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13562 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13564 * lyxfunc.C (Dispatch):
13566 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13567 constructor argument.
13569 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13571 * paragraph.C (Paragraph): dont't clear, and just set layout.
13572 (makeSameLayout): use params's copy contructor.
13574 * ParagraphParameters.[Ch] (makeSame): delete method
13576 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
13578 * Variables.[Ch]: fix indentation, rename set to isSet
13580 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13582 * lyxfunc.C (Dispatch): fix typo
13584 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13586 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13589 * bufferlist.C: include assert.h for emergencyWrite().
13591 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13593 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13594 give up at last (bug #425202) !
13596 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
13602 * spellchecker.C: strip spellchecker options and bring up
13603 preferences tab instead
13605 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13607 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13608 the istringstream constructor
13610 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13612 * paragraph.C (getLayout): fix return value
13614 * paragraph.h: do not declare getLayout as inline.
13616 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13618 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13620 * lyxcursor.h (operator<): new func
13621 (operator>): new func
13622 (operator>=): new func
13623 (operator<=): new func
13625 * text.C (changeCase): use selection.start and selection.end
13626 (changeRegionCase): require from to be <= to. Require par to be a
13629 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13631 2001-06-27 Juergen Vigna <jug@sad.it>
13633 * text.C (cursorLeftOneWord): changed to return the cursor and added
13634 overlay with BufferView * parameter which calls this one.
13636 (selectWord): use new getWord function.
13637 (changeCase): renamed from changeWordCase as and extended to work
13638 also on selections.
13640 * lyxtext.h: added enum word_location
13642 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13643 changeCase as this operates now also on selections.
13645 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
13647 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13649 * many files: send debug output to Debug::INFO instead of
13652 * converter.C (View):
13654 (Move): send debug output to Debug::FILES instead of console.
13656 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
13658 * lyxfunc.C (getStatus): use func_status
13660 * func_status.h: new header, describing the results of
13661 LyXFunc::getStatus;
13663 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13666 2001-06-25 The LyX Project <jug@sad.it>
13668 * buffer.C (sgmlOpenTag):
13670 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
13672 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13674 * text2.C: remove some dead code
13676 * tabular.C (GetCellInset): store the last cell checked (gotten)
13678 * tabular.h: add the helper for the speedup
13680 * lyxtext.h: remove some dead code
13682 2001-06-26 The LyX Project <Asger>
13684 * paragraph.C: Change export to LaTeX of alignment to
13685 \begin{center} and family for better roundtrip work with reLyX.
13687 * Tune the math drawing a bit.
13689 2001-06-25 The LyX Project <Asger>
13691 * LColor.C (LColor): New color for math background. New color
13694 2001-06-25 The LyX Project <jug@sad.it>
13696 * lyxfunc.C (MenuNew): remove extra check for .lyx file
13698 * lyxfunc.C (Open):
13699 * bufferlist.C (newFile): do not restrict to files ending with
13702 * BufferView_pimpl.C (MenuInsertLyXFile):
13704 2001-06-24 The LyX Project <jug@sad.it>
13706 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13709 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13711 * lyxtext.h: rename most methods to begin with a small char.
13712 Lots of changes because of this.
13714 * paragraph.C (Paragraph): do not call fitToSize
13715 (erase): call Pimpl::erase
13716 (insertChar): call Pimpl::insertChar
13717 (insertInset): call Pipl::insertInset
13718 (breakParagraph): do not call fitToSize
13719 (breakParagraphConservative): do not call fitToSize
13720 (fitToSize): remove method
13722 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13724 2001-06-24 The LyX Project <Asger>
13726 * Fix Qt compilation^2
13728 2001-06-24 The LyX Project <jug@sad.it>
13730 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13731 depthHook(getDepth()-1).
13734 * ParagraphParameters.h:
13735 * ParameterStruct.h: change type of depth to unsigned int ==
13736 depth_type. Many adaptations to other files before of that.
13738 2001-06-24 The LyX Project <Asger>
13740 * Fix Qt compilation.
13742 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13744 * paragraph.h: renamed several methods to begin with small letter.
13745 several changes to many parts of the code because of this.
13747 2001-06-23 The LyX Project <jug@sad.it>
13749 * text2.C (InsertStringAsLines): renamed from InsertStringA;
13750 rewritten to discard all double spaces when KeepEmpty is off
13751 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13752 to only handle newlines but not fiddle with spaces and friends.
13754 * lyxfunc.C (MenuNew): when doing 'new from template', use
13755 template_path as default directory
13757 2001-06-23 The LyX Project <Asger>
13759 * Clean-up of header file includes all over
13760 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13762 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13764 * paragraph.h: renamed from lyxparagraph.h
13766 2001-06-23 Asger <lyx@violet.home.sad.it>
13768 * Buffer.h: Removed Buffer::resize
13769 * BufferList.h: Removed BufferList::resize
13770 * LyXView.h: Added LyXView::resize. This way, we will only reflow
13771 the document lazily when we change the width, or the font settings.
13773 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13775 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13777 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13779 * buffer.h: remove out of date comment
13781 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13784 * screen.C: fix "theoretical" GC leak
13786 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13788 * LaTeX.C (scanAuxFile):
13789 (deplog): remove trailing \r when reading stream (useful under
13792 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
13794 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13795 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13796 and BufferView::theLockingInset(Inset*), so should use them and not
13797 access bv_->text->the_locking_inset directly.
13799 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13801 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13804 * tex-defs.h: remove old unused file
13806 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
13808 * BufferView_pimpl.C: fix typo, remove minibuffer message
13809 when buffer has loaded
13811 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13813 * lyxfunc.C (Dispatch): use stringstream
13814 (MenuNew): use stringstream
13815 (Open): use stringstream
13817 * importer.C (Import): use stringstream
13819 * bufferview_funcs.C (CurrentState): use stringstream
13821 * LaTeX.C (run): use stringstream
13823 * BufferView_pimpl.C (savePosition): use stringstream
13824 (restorePosition): use stringstream
13825 (MenuInsertLyXFile): use stringstream
13827 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
13840 * vspace.C: removed // -*- C++ -*- as first line.
13843 * version.h: added // -*- C++ -*- as first line.
13845 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13847 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13849 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13852 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13854 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13857 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13859 * gettext.C: include LString.h even when --disable-nls is on.
13861 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
13863 * converter.h (Get): changed argument type from int to
13864 FormatList::size_type to avoid unnecessary conversion.
13866 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13869 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13871 * gettext.h: include LString.h even when --disable-nls is on.
13873 2001-06-07 Juergen Vigna <jug@sad.it>
13875 * text.C (BreakAgain): subst spaces with tabs.
13877 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13878 (resizeInsetsLyXText): set force on resizeLyXText.
13880 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13882 * gettext.h (gettext_init):
13883 (locale_init): use a real definition instead of a macro
13885 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13887 * Bufferview_pimpl.C:
13889 * LColor.C: further lcolor tidies
13891 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13893 * BufferView_pimpl.C (updateScrollbar): simplify.
13895 * BufferView2.C: don't include insets/insetinfo.h, change
13896 prototype for insertInset and call the Pimpl version. let
13897 updateInset call Pimpl version.
13899 * BufferView.h: move inset_slept to BufferView::Pimpl, move
13900 gotoInset to BufferView::Pimpl
13902 2001-06-01 Juergen Vigna <jug@sad.it>
13904 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13905 inside a LockingInset (is the update needed at all?).
13907 2001-05-31 Juergen Vigna <jug@sad.it>
13909 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13910 here not the old one otherwise how should we compare it afterwards
13913 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13918 * FontInfo.C: bring C functions into global namespace when
13921 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13923 * LString.h: make sure config.h has been loaded before LString.h.
13925 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13926 (one for each char read by EatLine!).
13928 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13931 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13933 * paragraph.C (BreakParagraph): set the inset_owner in the new par
13934 to the same as the par we break from
13936 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
13938 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13940 * MenuBackend.C (expand): also create menu entries for wide
13941 versions of the floats.
13943 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13945 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13947 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13948 frontends/Makefile.am
13954 * tabular.C (getTokenValue): add std::
13956 * tabular-old.C (getTokenValue): add std::
13957 (getTokenValue): ditto
13958 (getTokenValue): ditto
13960 * screen.C (ToggleSelection): adjust
13962 * lyxtext.h: put selection cursors inside a Selection struct.
13964 * lyxfunc.C (moveCursorUpdate): adjust
13966 * lyxfont.C (latexWriteStartChanges): add std::
13968 * lyxfind.C: adjust
13970 * font.h: delete with(char const *, LyXFont const &)
13972 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13974 * FontInfo.C (getFontname): add std::
13976 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13977 (workAreaButtonPress): adjust
13978 (tripleClick): adjust
13980 (moveCursorUpdate): adjust
13983 * BufferView2.C (gotoInset): adjust
13985 2001-05-30 Juergen Vigna <jug@sad.it>
13987 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13988 to check pspell I add this as default as I now have new pspell
13989 libraries and they seem to use this.
13991 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13993 * text2.C (CutSelection): make the cursor valid before the call to
13996 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13998 * kbsequence.C (parse): de-uglify a bit the parsing code, which
13999 relied on 0 terminated strings and other horrors. Bug found due to
14000 the new assert in lyxstring!
14002 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14005 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14007 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14010 * lyxfunc.C (processKeySym): change method of getting to the
14013 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14014 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14015 * BufferView_pimpl.[Ch]: here as private methods.
14017 2001-05-28 Juergen Vigna <jug@sad.it>
14019 * text.C (SetHeightOfRow): added the update() call again as it is
14020 needed to initialize inset dimensions!
14022 2001-05-16 Juergen Vigna <jug@sad.it>
14024 * text2.C (SetCharFont): Add new function with BufferView * and
14025 bool toggleall parameters for setting insets internal fonts.
14026 (SetFont): Freeze the undo as we may change fonts in Insets and
14027 all this change should be inside only one Undo!
14029 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14030 setting font's in insets as for them we have the SetFont function!
14032 2001-05-15 Juergen Vigna <jug@sad.it>
14034 * text2.C (ClearSelection): to be sure we REALLY don't have any
14037 * tabular.C (TeXCellPreamble): fixed the left border problem for
14040 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
14042 * LaTeX.C (deplog): Make sure that the main .tex file is in the
14045 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14047 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14048 LFUN_BREAKPARAGRAPH.
14050 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14051 help test to "internal only", similar for LFUN_INSERT_URL
14053 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14054 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14055 auto_region_delete and deadkeys.
14057 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
14060 * LColor.C: remove some dead entries, tidy a little
14062 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14064 * lyxfunc.C (processKeySym): comment the Escape handling, remove
14066 (Dispatch): implement LFUN_ESCAPE
14068 * commandtags.h: add LFUN_ESCAPE
14070 * LyXAction.C (init): add entry for LFUN_ESCAPE
14072 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14073 Remove commented code.
14074 (insertNote): moved here
14075 (open_new_inset): moved here
14077 * BufferView[2].[Ch]: move insertNote and open_new_inset to
14080 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14082 * kbmap.C (findbinding): clean it up and make it work correctly.
14084 * lyx_main.C (init): do not pass argc and argv as parameters
14086 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
14088 * buffer.C: fix path for OS/2 & Win32
14092 * lyx_main.C: Added os:: class.
14094 * os2_defines.h: update
14096 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14098 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14099 better by trying again with reduced state.
14101 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14103 * lyxrc.C (read): print error about invalid key sequence only when
14104 debugging (because not all latinX keysyms are known to some X
14107 * kbsequence.C (getiso): add a few std:: qualifiers
14108 (getiso): comment out extra return statement.
14110 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
14112 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14114 (Dispatch): enhance the accent inset a bit. (not perfect)
14116 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14118 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14120 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14122 * bufferlist.C (emergencyWrite): fix assert() call
14124 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
14126 * text.C (InsertChar): Added trivial patch to only send the "you
14127 can not do multiple spaces this way" message once during a
14130 2001-05-08 Baruch Even <baruch@lyx.org>
14132 * Makefile.am: Changed order of libraries to get LyX to link properly
14133 with the gnome frontend.
14135 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14137 * LaTeXFeatures.h: add a std:: qualifier
14139 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14141 * paragraph.C (String): use stringstream
14143 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14145 * paragraph.C (writeFile): remove footflag arg
14147 * buffer.C (makeLaTeXFile): use stringstream
14148 (latexParagraphs): remove footnot gurba
14150 * LaTeXFeatures.C (getPackages): use stringstream
14151 (getMacros): likewise
14152 (getTClassPreamble): likewise
14153 (getFloatDefinitions): new method
14155 * paragraph.C (writeFile): reindent
14158 * WorkArea.h: revert the xpos + etc changes.
14160 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14162 * lyxparagraph.[Ch]: add copy constructor, remove Clone
14164 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14165 (pasteSelection): likewise
14166 * text2.C (CreateUndo): likewise
14168 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14170 * minibuffer.C (peek_event): temporarily reduce the functionality
14171 of the minibuffer (to allow args on lfuns)
14173 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14174 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14176 * buffer.C (readInset): add compability reading of old float
14177 lists, add reading of new style float list.
14178 (readInset): avoid reevaluation of inscmd.getCmdName()
14179 (getLists): reindent
14181 * MenuBackend.C (MenuItem): implement parsing of
14182 md_floatlistinsert and md_floatinsert.
14183 (expand::LastFiles): move initalizaton of iterators out of loop,
14184 avoid reevaluation.
14185 (expand::Documents): introduce typdedef vector<string> Strings,
14187 (expand::ExportFormats): introduce typedef vector<Format const *>
14188 Formats, and use it.
14189 (expand): implement FloatListInsert and FloatInsert.
14191 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14192 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14193 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14195 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14197 (Dispatch::LFUN_FLOAT_LIST): implement
14199 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14201 * LaTeX.C (run): Fix problem with --export code.
14203 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14205 * BufferView.[Ch] (workarea): removed.
14206 (getClipboard) new method; wrapper for workarea()->getClipboard()
14208 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14211 * WorkArea.h (width, height, xpos, ypos): These methods all
14212 returned the dimensions of the work_area sub-area of WorkArea,
14213 resulting in a position error if the WorkArea were resized. Now
14214 return the dimensions of the entire WorkArea.
14216 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14218 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14220 * LaTeX.C (deplog): correct the syntax of regex reg1
14222 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14224 * undo.C: remove !NEW_INSETS cruft
14226 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14228 * text2.C: remove !NEW_INSETS cruft
14230 * text.C: remove !NEW_INSETS cruft
14232 * tabular.C: remove !NEW_INSETS cruft
14234 * spellchecker.C: remove !NEW_INSETS cruft
14236 * lyxtext.h: remove !NEW_INSETS cruft
14238 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14240 * lyxfunc.C: remove !NEW_INSETS cruft
14242 * lyxfind.C: remove !NEW_INSETS cruft
14244 * lyx_cb.C: remove !NEW_INSETS cruft
14246 * figureForm.C: remove !NEW_INSETS cruft
14248 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14250 * buffer.[Ch]: remove !NEW_INSETS cruft
14252 * ToolbarDefaults.C: remove !NEW_INSETS cruft
14254 * CutAndPaste.C: remove !NEW_INSETS cruft
14256 * BufferView_pimpl.C: remove !NEW_INSETS cruft
14258 * BufferView2.C: remove !NEW_INSETS cruft
14260 * BufferView.h: remove !NEW_INSETS cruft
14262 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14264 * Lsstream.h: include LString.h before the sstream headers to
14265 fix problem with gcc 2.95.3 and lyxstring
14267 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14269 * lyx_main.C: add using directives when needed for C functions
14270 declared in std:: namespace.
14272 2001-04-27 Juergen Vigna <jug@sad.it>
14274 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14275 (SetHeightOfRow): comment out the update call should not be needed!
14277 2001-04-13 Juergen Vigna <jug@sad.it>
14279 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14280 (LyXTabular): tried to minimize operator= operations (and realized
14281 hopfully Lars wish).
14283 2001-04-27 Juergen Vigna <jug@sad.it>
14285 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14287 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14289 * lyxfunc.C (Dispatch): hack to make listof algorithm work
14291 * buffer.C (readInset): hack to make listof algorithm work
14293 * BufferView_pimpl.C: hack to make listof algorithm work
14295 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14297 * LyXAction.C: removed all !NEW_INSETS cruft
14298 (init): moved lfun_item in method
14300 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14302 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14304 * BufferView2.C (theLockingInset): white space.
14306 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14308 * minibuffer.C: include <iostream>
14310 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14312 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14314 * commandtags.h: add LFUN_TRANSPOSE_CHARS
14316 * text.[Ch] (TransposeChars): new method
14318 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14320 * call message directly through LyXView instead of through LyXFunc
14321 * BufferView2.C: adjust
14322 * BufferView_pimpl.C: adjust
14323 * FontLoader.C: adjust
14325 * bufferview_funcs.C: adjust
14326 * converter.C: adjust
14327 * figureForm.C: adjust
14328 * importer.C: adjust
14330 * lyx_gui_misc.C: adjust
14331 * lyxfunc.C: adjust
14334 + more files in subdirs
14336 * lyxparagraph.h (size): move up int file
14339 * adjust all uses of Assert to lyx::Assert.
14341 * BufferView2.C (ChangeCitationsIfUnique): adjust for
14342 lyxfunctional in namespace lyx
14343 * layout.C (hasLayout): ditto
14346 (delete_layout): ditto
14347 (NumberOfClass): ditto
14348 * converter.C (GetFormat): ditto
14353 * bufferlist.C (getFileNames): ditto
14354 (emergencyWriteAll): ditto
14357 * MenuBackend.C (hasSubmenu): ditto
14360 * BufferView_pimpl.C (getInsetByCode): ditto
14362 2001-04-18 Juergen Vigna <jug@sad.it>
14364 * vspace.C (asLatexString): fixed the 100% problem.
14366 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14368 * lyxfunc.C (Dispatch):
14370 * minibuffer.h: add a few std:: qualifiers
14372 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14374 * minibuffer.[Ch]: reimplement so that commands is initiated and
14375 run from lyxfunc, simplified som handling, and made the completion
14376 and history code for complete. wip.
14378 * lyxfunc.C (processKeySym): call message
14379 (miniDispatch): new temporary method
14380 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14381 (LFUN_MESSAGE): implement
14382 (LFUN_MESSAGE_PUSH): implement
14383 (LFUN_MESSAGE_POP): implement
14384 (initMiniBuffer): the initial/defualt minibuffer message.
14386 * lyxfont.[Ch]: inline some more getters
14388 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14390 * lyx_gui_misc.[Ch] (WriteStatus): remove method
14392 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14393 (AutoSave): use LFUN_MESSAGE
14394 (Reconfigure): ditto
14396 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14398 * figureForm.C: use LFUN_MESSAGE
14400 * converter.C (runLaTeX): use LFUN_MESSAGE
14402 * bufferview_funcs.C: use LFUN_MESSAGE
14404 (changeDepth): ditto
14406 * bufferparams.h: use boost::
14408 * bufferlist.h: inherit privately from noncopyable
14410 * bufferlist.C (loadLyXFile): remove some commented code.
14412 * buffer.C (runChktex): use LFUN_MESSAGE
14414 * ShareContainer.h: inherit privately from noncopyable
14416 * ParagraphParameters.[hC] (depth): inline it.
14418 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14420 (message): new method
14421 (messagePush): ditto
14422 (messagePop): ditto
14423 (show): init minibuffer
14424 (showState): direct call
14426 * LaTeX.[Ch]: inherit privately from noncopyable
14427 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14428 instead of WriteStatus.
14430 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14432 * BufferView_pimpl.C (buffer): don't init minibuffer
14433 (workAreaButtonPress): use LFUN_MESSAGE
14434 (workAreaButtonRelease): ditto
14435 (savePosition): ditto
14436 (restorePosition): ditto
14437 (MenuInsertLyXFile): ditto
14438 (workAreaExpose): don't init minibuffer
14439 (update): remove commented code, simplify
14441 * BufferView2.C (openStuff): use LFUN_MESSAGE
14442 (toggleFloat): ditto
14445 (copyEnvironment): ditto
14446 (pasteEnvironment): ditto
14451 (updateInset): remove some commented code
14453 * lastfiles.h: inherit privately from noncopyable
14456 * lyx_main.h: ditto
14458 * lyxlex_pimpl.h: ditto
14460 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14461 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14462 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14464 * LyXAction.h: inherit privately from noncopyable, add methods
14465 func_begin, func_end, returning iterators to the func map.
14467 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14468 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14469 (func_begin): new method
14470 (func_end): new method
14472 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14474 (copySelection): ditto
14475 (pasteSelection): ditto
14477 * BufferView.C: whitespace change
14478 * BufferView.h: inherit privately from noncopyable
14480 2001-04-16 Allan Rae <rae@lyx.org>
14482 * tabular-old.C (l_getline):
14483 * spellchecker.C (sc_check_word):
14484 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14485 an unrecognised preprocessor directive. So ensure they're wrapped.
14487 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
14489 * src/exporter.C (Export): Give an error message when path to file
14492 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
14494 * LaTeX.C (deplog): Always check that foundfile exists.
14496 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14499 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14501 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14503 * tabular.[Ch] (getLabelList): implement new method
14505 * minibuffer.h: comment ouf setTiimer
14507 * minibuffer.C (ExecutingCB): constify res
14508 (peek_event): constify s
14509 (Set): constify ntext
14510 (Init): constify nicename
14512 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14514 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14515 (savePosition): use two params to Minibuffer::Set
14516 (restorePosition): ditto
14518 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14520 * lyx_main.C: include language.h
14522 * Makefile.am (lyx_main.o): add language.h
14524 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14530 * CutAndPaste.C: include gettext.h
14532 * lyxfont.h: remove old hack with ON and OFF.
14535 * lyxfont.h: do not include language.h...
14540 * bufferview_funcs.C:
14546 * paragraph.C: ... but do it here instead
14548 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14550 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14552 * tabular.C: small reformat
14554 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14557 (BreakParagraph): ditto
14558 (SetOnlyLayout): ditto
14561 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14564 * lastfiles.C: removed most using decl, add std:: where needed
14566 * buffer.C: ws changes
14568 * MenuBackend.C (class compare_format): put into anon namespace
14569 (expand): constify label, names, action, action2
14572 * text.C (SingleWidth): constify font
14573 (IsBoundary): constify rtl2
14574 (GetVisibleRow): constify ww
14576 * LaTeX.C (deplog): constify logfile
14578 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14580 (workAreaExpose): constify widthChange, heightChange
14582 * lyxrow.C (par): moved
14585 * lyxrow.h: as inlines here
14587 * lyxfont.h (shape): moved from lyxfont.C
14588 (emph): moved from lyxfont.C
14590 * lyxfont.C (LyXFont): use initialization list for all
14592 (shape): move to lyxfont.h as inline
14593 (emph): move to lyxfont.h as inline
14596 2001-04-04 Juergen Vigna <jug@sad.it>
14598 * vspace.C: had to include stdio.h for use of sscanf
14600 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
14603 * BufferView_pimpl.h: remove xforms cruft. Both classes are
14604 independent of xforms.
14606 2001-04-02 Juergen Vigna <jug@sad.it>
14608 * spellchecker.C: fixed namespace placing!
14610 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
14612 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14613 the LyXParagraph * is 0.
14615 2001-03-29 Juergen Vigna <jug@sad.it>
14617 * vspace.C: added support for %, c%, p%, l%.
14618 (stringFromUnit): added helper function.
14619 (asLatexString): changed to give right results for the %-values.
14621 * buffer.C: convert the widthp in a width%.
14623 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
14625 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14628 * figureForm.[Ch]: stripped the FD_from_figure manipulation
14629 code out of lux_cb.[Ch], ready for its (imminent?) removal.
14631 * lyx_cb.[Ch]: see above.
14633 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14637 * lyx.[Ch]: replaced by figure_form.[Ch].
14641 * lyxfunc.C: changed headers associated with above changes.
14643 2001-03-27 Juergen Vigna <jug@sad.it>
14645 * BufferView_pimpl.C: set the temporary cursor right!
14647 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
14649 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14651 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
14653 * LString.h: removed "using std::getline"!
14655 * BufferView_pimpl.C (Dispatch): changes due to changes in
14656 InsetInclude::Params.
14658 * buffer.C (tag_name): removed redundant break statements as they were
14659 producing lots of warnings with my compiler.
14661 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14663 * LString.h: add "using std::getline" when using the real <string>.
14665 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
14667 * buffer.C: removed bitset usage.
14668 PAR_TAG moved to an anonymous name space.
14669 (tag_name): new funtion, also in the anonymous namespace.
14670 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14671 (makeDocBookFile): clean code. Completed transition from string arrays
14673 (SimpleDocBookOnePar): code clean.
14675 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14677 * tabular.C: add some comments.
14679 2001-03-22 Juergen Vigna <jug@sad.it>
14681 * buffer.C (parseSingleLyXformat2Token): redone the minipage
14682 compatibility read a bit and fixed bug with minipage in different
14685 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
14687 * buffer.C (pop_tag): removed.
14688 (push_tag): removed.
14689 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14690 array replaced with vector. Added support for CDATA sections.
14691 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14693 (makeDocBookFile): XML conformant declaration of CDATA section,
14694 fixed bug related to <emphasis> in the first paragraph char.
14695 (sgmlOpenTag): exclude empty tags.
14696 (sgmlCloseTag): ditto.
14698 * buffer.h (pop_tag): removed.
14699 (push_tag): removed.
14701 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
14703 * language.h (Languages): added size_type and size().
14705 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14707 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14708 response on compability reading of minipages. One probliem is that
14709 the old usage of minipages was «flertydig»
14711 * several files here and in subdirs: don't use static at file
14712 scope use anon namespaces instead.
14714 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
14716 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14717 LaTeX output. This is necessary for Literate document
14720 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14722 * buffer.C: insert hfill when needed.
14724 * tabular.C (l_getline): use string::erase, small whitespace change.
14726 * BufferView_pimpl.C: try the anon namespace.
14727 * WorkArea.C: ditto
14729 2001-03-16 Juergen Vigna <jug@sad.it>
14731 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14732 otherwise it won't open options-dialogs.
14734 * buffer.C: honor pextraWidth(p) on converting minipages.
14736 * tabular.C (l_getline): changed the functions to strip trailing \r.
14738 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
14740 * BufferView_pimpl.C:
14741 * minibuffer..C: added "using SigC::slot" declaration.
14743 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14745 * lyxlex_pimpl.h: noncopyable is in namespace boost.
14751 * paragraph.C: ditto
14753 * lyxtext.h: NO_PEXTRA
14755 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14757 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14758 * ParameterStruct.h: ditto
14759 * ParagraphParameters.h: ditto
14760 * lyxparagraph.h: ditto
14762 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14764 * buffer.C: add compability for minipage alignment.
14765 (latexParagraphs): remove unwanted pextra check.
14767 * several files: remove CXX_WORKING_NAMESPACES
14769 * buffer.C (pop_tag): tie is in namespace boost
14771 * BufferView.h: noncopyable is in namespace boost
14773 * lyx_main.h: ditto
14776 * lastfiles.h: ditto
14777 * bufferlist.h: ditto
14778 * ShareContainer.h: ditto
14780 * LyXAction.h: ditto
14783 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14785 * Merging changes from BRANCH_MVC back into HEAD.
14787 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14789 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
14791 * BufferView_pimpl.C: change from intl.C
14795 * Makefile.am: move combox.*
14801 * intl.C: remove dialog (covered by prefs)
14803 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14805 * lyxfunc.C (Dispatch): removed redundant break statement.
14807 2001-03-14 Juergen Vigna <jug@sad.it>
14809 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14811 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14813 * buffer.C: add hack to fix compability reading of minipages.
14815 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
14817 * buffer.C (getLists): Cleanup.
14819 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14821 * lyxfont.C (update): don't honor toggleall on font size.
14823 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
14827 * Makefile.am: moved to frontends/xforms/
14831 * BufferView_pimpl.C: changes for moved mathpanel
14833 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14835 * gettext.h: fix gettext_init() in --disable-nls
14837 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14839 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14841 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
14844 * lyx.h: strip external form
14846 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14848 * BufferView_pimpl.C: add comment, destroySplash()
14850 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14852 * BufferView_pimpl.C:
14856 * lyxfunc.C: use re-worked insetinclude
14858 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14860 * buffer.C: add using std::stringstream.
14862 * lyx_cb.C: readd using std::ios.
14864 * buffer.C: add using std::map.
14866 * BufferView_pimpl.C: add using std::vector.
14868 * ShareContainer.h: add std:: to swap.
14870 * buffer.h: add some typedefs
14871 * buffer.C (getLists): use them
14872 (getLists): renamed from getTocList.
14873 add a counter for the different float types and use it in the
14875 (getLists): use the same counter for the NEW_INSETS and the "non"
14878 * lyx_cb.h: remove unused items, includes, using etc.
14880 * ShareContainer.h: remove some commented code, add more comments
14881 and "documentation".
14883 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14885 * buffer.C (getTocList): make the list also when NEW_INSETS is
14888 * buffer.h: remove TocType
14890 * buffer.C (getTocList): change to return a map<string,
14891 vector<TocItem> >, implement for dynamic number of list.
14893 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14894 * text2.C (PasteSelection): adjust
14895 * CutAndPaste.C (pasteSelection): adjust
14897 * FloatList.C (FloatList): update from the new_insets branch.
14898 * Floating.[Ch]: ditto
14899 * LaTeXFeatures.C: ditto
14901 * lyxlex_pimpl.C: ditto
14903 * paragraph.C (Last): remove when NEW_INSETS is defined.
14905 * other file: changes because of the above.
14907 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14909 * lyxparagraph.h: rename next to next_, previous to previous_,
14910 make them private for NEW_INSETS. Rename Next() to next(),
14911 Previous() to previous().
14913 * other files: changes because of the above.
14915 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
14918 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14921 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14923 * main.C (main): pass lyx_localedir to gettext_init().
14925 * gettext.h: remove locale_init and gettext_init macros
14927 * gettext.C (locale_init): new function
14928 (gettext_init): new function
14930 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14933 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
14935 * Moved credits to frontends:
14936 * credits.[Ch]: removed
14937 * credits_form.[Ch]: removed
14938 * lyx_gui_misc.C: remove credits stuff
14941 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14943 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14945 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14946 unneeded destructor.
14948 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14949 a standalone pointer again.
14951 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14953 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
14959 * ToolbarDefaults.C:
14968 * BufferView_pimpl.C: use new file dialog in GUII
14971 * lyx_cb.C: remove LayoutsCB to Toolbar
14973 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14975 * ShareContainer.h (get): add std:: qualifier
14977 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14979 * ShareContainer.h: define a proper ShareContainer::value_type
14980 type (and use typename to please compaq cxx)
14982 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14984 * lyxparagraph.h: move serveral local vars to
14985 ParameterStruct/ParagraphParameters., use ShareContainer in
14986 FontTable., make vars in FontTable private and add getter and
14989 * paragraph.C: changes because of the above.
14991 * lyxfont.h: remove copy constructor and copy assignment. (the
14992 default ones is ok), move number inside FontBits. move inlines to
14995 * lyxfont.C: add number to initializaton of statics, move several
14996 inlines here. constify several local vars. some whitespace
14997 cleanup. Dont hide outerscope variables.
14999 * Spacing.h: add two new constructors to match the set methods.
15001 * ShareContainer.h: new file, will perhaps be moved to support
15003 * ParameterStruct.h: new file
15005 * ParagraphParameters.h: new file
15007 * ParagraphParameters.C: new file
15009 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15010 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15012 * BufferView_pimpl.C: ParagraphParameter changes.
15013 * buffer.C: Likewise.
15014 * bufferview_funcs.C: Likewise.
15015 * text.C: Likewise.
15016 * text2.C: Likewise.
15018 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15020 * lyxfind.C (LyXReplace): do not redefine default argument in
15022 (IsStringInText): ditto
15023 (SearchForward): ditto
15024 (SearchBackward): ditto
15026 2001-03-06 Juergen Vigna <jug@sad.it>
15028 * lyxfind.C (IsStringInText): put parentes around expressions.
15030 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
15032 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15034 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
15036 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15038 * stl_string_fwd.h: add comment
15040 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15043 * tabular.C: remove unused DocBook methods
15049 killed DO_USE_DEFAULT_LANGUAGE
15051 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15053 * lyx_gui.C: do not include language.h.
15055 * bufferview_funcs.C (ToggleAndShow): do not provide optional
15056 arguments in function implementation.
15058 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15060 * BufferView_pimpl.C: add <ctime>
15062 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15064 * BufferView_pimpl.C: add using std::find_if
15066 2001-02-27 José Matos <jamatos@fep.up.pt>
15068 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15071 2001-02-11 José Matos <jamatos@fep.up.pt>
15073 * buffer.C (makeDocBookFile): command styles now have a parameter as
15074 "title" by default.
15076 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
15078 * layout_forms.[Ch]: removed
15079 * lyx_cb.[Ch]: out character
15080 * lyx_gui.C: out character
15081 * lyx_gui_misc.C: out character
15082 * bufferview_funcs.C: : out character,
15083 added toggleall as parameter in ToggleAndShow
15085 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
15087 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15089 * text2.C (SetCurrentFont): Disable number property at boundary.
15091 2001-02-26 Juergen Vigna <jug@sad.it>
15093 * lyxfunc.C (getStatus): added a string argument override function so
15094 that this is correctly called from LyXFunc::Dispatch if it contains a
15095 do_not_use_argument which is used!
15096 (Dispatch): added check for "custom" export and call appropriate func.
15098 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
15100 * lyxrc.C: Add language_command_local, language_use_babel and
15101 language_global_options.
15103 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15105 * buffer.C (makeLaTeXFile): Use language_use_babel and
15106 language_global_options.
15108 2001-02-23 Juergen Vigna <jug@sad.it>
15110 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15111 which works with LyXText and putted it inside BufferView. Here now we
15112 only call for that part the BufferView::Dispatch() function.
15114 * BufferView.C (Dispatch): added.
15116 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15117 functions which needs to use a LyXText over from LyXFunc.
15118 (MenuInsertLyXFile): added
15119 (getInsetByCode): added
15120 (moveCursorUpdate): added
15121 (static TEXT): added
15123 2001-02-22 Juergen Vigna <jug@sad.it>
15125 * BufferView_pimpl.C (update): call a status update to see if LyXText
15128 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15130 * vc-backend.C (revert): implement for CVS
15131 (getLog): implement for CVS
15133 2001-02-20 Juergen Vigna <jug@sad.it>
15135 * text2.C (ClearSelection): added BufferView param for inset_owner call
15137 * lyxfunc.C (TEXT): added this function and use it instead of
15138 directly owner->view()-text of getLyXText().
15140 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
15142 * src/layout_forms.C: out preamble
15143 * src/layout_forms.h: out preamble
15144 * src/lyx_cb.C: out preamble
15145 * src/lyx_cb.h: out preamble
15146 * src/lyx_gui.C: out preamble
15147 * src/lyx_gui_misc.C: out preamble
15148 * src/lyxfunc.C: connect with guii preamble
15150 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
15152 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15154 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
15156 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15157 whether to run bibtex.
15159 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
15161 * Makefile.am (lyx_SOURCES): Remove BackStack.h
15163 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
15165 * Makefile.am (lyx_SOURCES): removed bibforms.h
15167 * vspace.h: doxygen
15169 * text.C (GetVisibleRow): make several local vars const
15171 * tabular.C: small cleanup.
15173 * lyxserver.C (callback): use compare instead of strncmp
15175 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15176 inlines to after class or to paragraph.C
15178 * lyxfont.h: remove friend operator!=
15180 * converter.h: move friend bool operator< to non friend and after
15183 * combox.h: small cleanup
15185 * buffer.h: doxygen, remove unused constructor, move inclas inlies
15186 to inlines after class def.
15188 * buffer.C (pop_tag): use string operations instead of strcmp
15190 * bmtable.c: doxygen, small cleanup
15192 * LaTeX.h: remove friend operator==
15194 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
15206 * BufferView_pimpl.C:
15207 * BufferView.[Ch]: remove cruft
15209 2001-02-14 Juergen Vigna <jug@sad.it>
15211 * lyxfunc.C: removed #if 0 unused code
15213 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15215 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15217 * text2.C (SetSelection): added a BufferView * parameter
15219 2001-02-13 Juergen Vigna <jug@sad.it>
15221 * lyxfunc.C (Dispatch): fixed protected blank problem.
15222 * BufferView2.C (protectedBlank): added LyxText * parameter.
15224 * tabular.C (AppendRow): forgot to set row_info of newly added row.
15225 (AppendColumn): same as above for column_info.
15227 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15228 (moveCursorUpdate): use a LyXText param for support of InsetText.
15230 * BufferView_pimpl.C (doubleClick): added support for InsetText.
15231 (tripleClick): ditto
15233 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15235 * BufferView_pimpl.C (update): added LyXText param to honor insets.
15237 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15239 * text2.C (SetSelection): set correct update status if inset_owner
15240 (ToggleFree): ditto
15242 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
15244 * tabular.C: remove some commented code.
15246 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
15248 * BufferView_pimpl.C: call hideSplash()
15250 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15253 * bibforms.h: remove
15256 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15257 add LFUN_CHILD_CREATE
15259 * counters.h: fix tiny typo
15264 * lyx.C: move splash to frontends/xforms/
15266 * lyx_gui_misc.C: move Include and Bibform to frontends
15268 * lyxvc.h: clarify comment
15270 * vspace.C: tiny housekeeping
15272 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
15274 * text.C (PrepareToPrint): RTL Fix.
15276 * paragraph.C (GetUChar): New method.
15277 (String): Use GetUChar.
15279 * buffer.C (asciiParagraph): Use GetUChar.
15281 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
15283 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15285 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
15288 * buffer.C: rename to getLogName(), handle
15289 build log / latex log nicely
15291 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15294 * MenuBackend.h: remove support for reference menuitem type.
15296 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
15298 * BufferView_pimpl.C: housekeeping
15299 * BufferView_pimpl.h:
15304 * minibuffer.h: move Timeout GUI-I
15306 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
15308 * lyxrc.C (read): Update converters data-structures.
15310 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
15312 * LaTeX.h (operator!=): add operator != for Aux_Info
15314 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
15316 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15318 * LaTeXLog.C: deleted, useful code moved to Buffer
15321 * buffer.C: new function getLatexLogName()
15327 * lyxfunc.C: use frontends for LaTeX and VC logs
15329 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15331 * LaTeX.h: yet another std:: that Allan forgot.
15333 * Variables.C (set): renamed from isset(), because this clashes
15334 with some HP-UX macros (grr).
15336 2001-02-06 Allan Rae <rae@lyx.org>
15338 * LaTeX.h: Another bug fix. Missing std:: this time.
15340 2001-02-04 Allan Rae <rae@lyx.org>
15342 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15343 floats problem. I've left it commented out because it's not quite
15344 correct. It should also test that the current object is a table or
15345 figure inset. But I haven't gotten around to figuring out how to do
15346 that. I *think* it'll be something like: "table" == inset.type()
15348 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15351 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
15353 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15354 all the citation/databases/styles in the auxilary file.
15355 (run): Rerun latex if there was a babel language error.
15357 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
15359 * text.C (Backspace): Preserve the font when changing newline char
15361 (BreakParagraph): If the cursor is before a space, delete the space.
15363 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15365 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
15367 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15368 new argument (code).
15369 (ChangeCitationsIfUnique): New method.
15371 * paragraph.C (GetPositionOfInset): Handle bibkey.
15373 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15375 * BufferView_pimpl.h: change type of Position::par_pos to
15376 LyXParagraph::size_type.
15378 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
15380 * BufferView_pimpl.C (savePosition, restorePosition): Write
15381 messages to minibuffer.
15383 2001-01-28 José Matos <jamatos@fep.up.pt>
15385 * buffer.C (makeDocBookFile): adds support for document language.
15386 A silly restriction on the name of LatexCommand types where removed.
15387 Added support for CDATA sections, allows to chars unescaped, used
15388 among others in code, to avoid escape < and >.
15390 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15392 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15393 saved positions instrad of a stack. Furthermore, a position is
15394 stored using paragraph id/paragraph position.
15396 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15397 Remove LFUN_REF_BACK.
15399 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15401 * converter.C (dvipdfm_options): New method.
15403 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
15405 * vspace.C (isValidLength): Fix for empty input string.
15407 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15409 * LyXAction.C (init): change description of LFUN_FIGURE to
15412 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15414 * LaTeX.C: add using directive
15416 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15418 * MenuBackend.C (expand): Fix the sorting of the formats.
15420 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
15422 * lyx_main.C: tiny error message fix
15424 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15426 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15427 calling fl_initialize(). This fixes the problem with ',' as
15428 decimal separator in text files.
15430 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15432 * trans.C (process): Fix the keymap bug.
15434 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
15436 * LaTeX.C (scanAuxFiles): New method. Provides support for
15437 multiple bibliographies (when using the bibtopic/bibunits pacakges).
15438 (scanLogFile) Scan for "run BibTeX" messages.
15440 * buffer.C (makeLaTeXFile): Do not load the ae package when using
15441 OT1 font encoding. Also, load the aecompl package if the ae
15444 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15446 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15448 * texrow.C (increasePos): turn two error messages into debug
15451 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
15453 * LaTeX.C (scanAux): Handle the \@input macro.
15454 (runBibTeX): Use scanAux().
15456 * language.C (latex_options_): New field.
15458 * LaTeXFeatures.C (getMacros): Add language macros.
15460 * buffer.C (makeLaTeXFile): Small fix.
15462 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15464 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15466 * text2.C: add a using directive.
15468 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
15473 * lyxfunc.C: kill LyXBell.
15475 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
15477 * text.C (IsBoundary): Remove the error message
15479 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15481 * lyxrc.C (setDefaults): Correct initialization value for
15484 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
15486 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15489 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15490 and GotoNextNote().
15492 * src/LyXAction.C: Added reference-next.
15494 * text.C (InsertChar): Use contains instead of strchr.
15496 * lyx_cb.C (MenuInsertLabel): Enable default value code.
15498 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
15500 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15501 alignment commands (when needed).
15503 * text.C (InsertChar): Add ':' to number separator chars.