1 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3 * buffer.C: increment format to 233.
5 2004-04-28 Angus Leeming <leeming@lyx.org>
10 s/updateToolbar()/updateToolbars()/
11 s/Toolbar.h/Toolbars.h/
13 2004-04-28 Angus Leeming <leeming@lyx.org>
15 * BufferView.[Ch] (c-tor):
16 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
17 No longer passes these data to the WorkArea generator.
19 2004-04-28 Angus Leeming <leeming@lyx.org>
21 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
23 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
25 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
27 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
29 * output_latex.C (TeXEnvironment): make sure that there is a line
30 break before \end{foo} for the last paragraph of a document
31 (TeXOnePar): if the paragraph is at the end of the document (or
32 inset) and the language has to be reset, then make sure that the
33 line break is _before_ the language command, not after (fixes bug
34 1225); also make sure that the language reset command is the first
35 thing after the paragraph (to ensure proper nesting of
36 environments and thus fix bug 1404)
38 2004-04-21 John Levon <levon@movementarian.org>
41 * ToolbarBackend.C: make "name" be a programmatic name
44 * lyxfunc.C: display the minibuffer on M-x
46 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
48 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
51 2004-04-19 Angus Leeming <leeming@lyx.org>
53 * BufferView_pimpl.C (setBuffer): changed preview interface.
55 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
58 2004-04-19 John Levon <levon@movementarian.org>
61 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
63 2004-04-05 Angus Leeming <leeming@lyx.org>
65 * text.C (redoParagraphs): add call to updateCounters(), thereby
66 fixing the missing "Figure #:" label from the caption of a
69 2004-04-13 Angus Leeming <leeming@lyx.org>
71 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
72 cursor is clicked out of an inset.
74 2004-04-13 Angus Leeming <leeming@lyx.org>
76 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
79 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
81 * format.[Ch]: add editor to Format
82 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
83 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
85 2004-04-08 André Pönitz <poenitz@gmx.net>
87 * metricsinfo.h: remove PainterInfo::width member
89 2004-04-08 Angus Leeming <leeming@lyx.org>
91 * lyx_sty.C (boldsymbol_def): modify so that it outputs
92 "\providecommand" rather than "\newcommand", thereby preventing
93 clashes with packages that define "\boldsymbol" themselves.
96 2004-04-08 Angus Leeming <leeming@lyx.org>
98 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
99 thereby squashing an unnecessary warning.
101 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
103 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
106 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
108 * BufferView.C (setCursor): call redoParagraph (some insets could
110 (putSelectionAt): remove the 'double update' trick
112 * BufferView_pimpl.C (fitCursor): call refreshPar
113 (workAreaDispatch): remove an uneeded update call
114 (dispatch): remove some manual update calls
116 * cursor.[Ch]: remove cached_y_, updatePos
117 (selHandle): set noUpdate when appropriate
119 * lyxfunc.C (dispatch): track if we need an update
121 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
123 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
124 (paintSelection): cheap optimization, do not call cursorX when not
126 (paintPars): change signature
129 (paintTextInset): adjust
133 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
135 * lengthcommon.C: compilation fix: remove explicit array size from
136 unit_name[] and friends
138 2004-04-05 Angus Leeming <leeming@lyx.org>
140 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
142 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
143 present only for the preferences dialog.
144 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
146 2004-04-05 Angus Leeming <leeming@lyx.org>
148 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
149 to enable the frontends to export changes to lyxrc correctly.
151 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
153 2004-04-07 André Pönitz <poenitz@gmx.net>
155 * cursor.[Ch] (selClear, adjust): remove math
157 * cursor_slice.C: more agressive assert
160 * BufferView_pimpl.C: rework mouse event dispatch
167 2004-04-05 André Pönitz <poenitz@gmx.net>
169 * cursor.[Ch] (valign, halign...): remove unneeded functions
171 2004-04-05 Angus Leeming <leeming@lyx.org>
173 * lyxlength.[Ch] (unit_name et al.): const-correct.
175 2004-04-05 Angus Leeming <leeming@lyx.org>
177 * BufferView_pimpl.C:
186 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
188 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
190 * text3.C (getStatus): add LFUN_BEGINNINGBUF
192 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
194 * lyxfind.C: add a couple of inTexted() tests + other small fixes
195 * BufferView_pimpl.[Ch] (getStatus)
196 * BufferView.[Ch] (getStatus): add
197 * lyxfunc.C (getStatus): move lfuns handled in
198 BufferView::dispatch to te function above
199 * Cursor.C (setSelection): set selection() = true
201 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
203 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
205 2004-03-31 Angus Leeming <leeming@lyx.org>
207 * lyxfunc.C (dispatch): Fall through to the generic
208 Dialogs::show("preamble").
210 2004-03-31 Angus Leeming <leeming@lyx.org>
212 * lyxfunc.C (dispatch): Fall through to the generic
213 Dialogs::show("spellchecker").
215 2004-03-31 Angus Leeming <leeming@lyx.org>
217 * lyxfunc.C (getStatus, dispatch): changed invocation of the
220 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
225 * insetiterator.[Ch]:
230 * undo.[Ch]: s/DocumentIterator/DocIterator/g
232 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
234 * BufferView.C (setCursor, putSelectionAt): call edit to open the
235 insets where we are putting the cursor.
237 2004-03-31 Angus Leeming <leeming@lyx.org>
240 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
242 * lyxrc.[Ch] (read, write): overloaded member functions taking
243 a std::[io]stream arguments.
245 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
247 2004-03-31 Angus Leeming <leeming@lyx.org>
249 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
250 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
252 * lyxtextclass.C (load): if the text class couldn't be loaded, then
253 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
255 2004-03-31 Angus Leeming <leeming@lyx.org>
257 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
258 the LFUN_ALL_INSETS_TOGGLE code.
260 2004-03-30 Angus Leeming <leeming@lyx.org>
262 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
263 has died. Fall through to the generic Dialogs::show("document").
265 2004-03-30 Angus Leeming <leeming@lyx.org>
268 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
269 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
271 * lyxfunc.C (getStatus, dispatch): define the actions for these
272 lfuns. Little more than a cut and pste job from ControlDocument.C
274 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
276 2004-03-30 Angus Leeming <leeming@lyx.org>
279 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
280 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
282 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
283 open/closed state of ollapsable insets. Usage:
285 all-inset-toggle <state> <name>, where
286 <state> == "open" || "closed" || "toggle" and
287 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
289 * lyxtext.h, text2.C (toggleInset): removed.
291 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
292 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
293 now passes LFUN_INSET_TOGGLE to the found inset.
295 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
296 is now invoked as "all-insets-toggle toggle branch".
298 2004-03-30 Angus Leeming <leeming@lyx.org>
302 * pariterator.[Ch]: added/corrected header blurb.
304 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
306 * dociterator.[Ch]: add an inset_ member
307 (backwardPos): implemented
308 (backwardPos, forwardPos): use inset_ when the stack is empty.
309 (doc_iterator_begin, doc_iterator_end): implemented
310 * pariterator.[Ch]: adjust, add begin, end
311 * insetiterator.[Ch]: adjust, add begin, end
315 * BufferView_pimpl.C:
316 * CutAndPaste.C: adjust
318 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
320 * buffer.C: increment file format to 232.
321 * LaTeXFeatures.C: add bibtopic package.
322 * bufferparams.[Ch]: param \use_bibtopic.
324 * lyxrc.[Ch]: add lyxrc bibtex_command
325 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
327 * buffer.C: increment file format to 231.
329 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
331 * dociterator.C: implement forwardPar
332 * iterators.[Ch]: remove, replaced by
333 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
335 * BufferView_pimpl.C:
338 * bufferview_funcs.C:
344 * Makefile.am: adjust
346 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
348 * CutAndPaste.C (pasteSelection): fix 2 crashes
349 (eraseSelection): fix a crash
350 * paragraph_funcs.C: remove a warning
352 2004-03-28 Angus Leeming <leeming@lyx.org>
355 * LyXAction.C (init): new LFUN_PRINT.
357 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
359 2004-03-27 Angus Leeming <leeming@lyx.org>
362 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
364 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
366 2004-03-27 Angus Leeming <leeming@lyx.org>
368 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
369 insetlist always contains non-null pointers to insets.
371 2004-03-26 Angus Leeming <leeming@lyx.org>
373 * src/BufferView_pimpl.C:
377 * src/output_plaintext.C:
378 * src/outputparams.h:
379 * src/paragraph_funcs.C:
383 * src/frontends/controllers/ControlErrorList.C:
384 * src/frontends/gtk/FileDialogPrivate.C:
385 * src/frontends/gtk/GPainter.C:
386 * src/frontends/gtk/GToolbar.C:
387 * src/frontends/qt2/QRef.C:
388 * src/mathed/math_scriptinset.C: squash compiler warnings.
390 2004-03-26 Angus Leeming <leeming@lyx.org>
392 * ispell.C (LaunchIspell::start):
393 * lyx_cb.C (AutoSaveBuffer::start):
394 invoke run(DontWait) rather than runNonBlocking().
396 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
398 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
400 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
402 * kbsequence.C (print): adjust
404 * kbmap.C (printKeySym): rename and change signature
405 (printKey): use LyXKeySym::print()
407 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
409 * undo.C: add using std::advance to compile for stlport
411 2004-03-24 Angus Leeming <leeming@lyx.org>
413 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
414 it leads to a crash when no buffer is present.
416 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
417 Martin Vermeer <martin.vermeer@hut.fi>
419 * lyxfunc.C (dispatch):
420 * bufferparams.C (readToken): use the new LColor::setColor
422 * LColor.[Ch] (setColor): new version that takes two strings as
423 argument and creates a new color entry if necessary
425 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
427 * buffer.C (makeLaTeXFile): if the main latex file that is
428 processed is usually a subdocument of some master, then pretend
429 for a while that it is actually the master
431 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
433 * buffer.C (getLabelList):
434 (getBibkeyList): use getMasterBuffer()
435 (getMasterBuffer): new method. Returns the main document in the
436 case where one is using included documents.
438 2004-03-25 André Pönitz <poenitz@gmx.net>
442 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
444 * ParagraphList_fwd.h: change ParagraphList to a std::vector
446 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
447 text*.C over here. Rename namespace CutAndPaste to lyx::cap
449 * ParameterStruct.h: merge with ParagraphParameters
451 * lyxtext.h: remove LyXText::parOffset() and getPar()
453 * text3.C: Remove all 'manual' update calls. We do now one per user
454 interaction which is completely sufficient.
458 * BufferView_pimpl.C:
461 * ParagraphParameters.[Ch]:
473 * output_docbook.[Ch]:
475 * output_linuxdoc.[Ch]:
476 * output_plaintext.[Ch]:
478 * paragraph_funcs.[Ch]:
479 * paragraph_pimpl.[Ch]:
487 * frontends/controllers/ControlDocument.C:
488 * frontends/controllers/ControlErrorList.C:
489 * frontends/controllers/ControlSpellchecker.C:
492 * insets/insetbase.h:
493 * insets/insetbibitem.C:
495 * insets/insetbranch.C:
496 * insets/insetcaption.C:
497 * insets/insetcharstyle.C:
498 * insets/insetcharstyle.h:
499 * insets/insetcollapsable.C:
500 * insets/insetcollapsable.h:
502 * insets/insetfloat.C:
503 * insets/insetfoot.C:
504 * insets/insetmarginal.C:
505 * insets/insetnote.C:
506 * insets/insetoptarg.C:
507 * insets/insettabular.C:
508 * insets/insettext.C:
509 * insets/insettext.h:
510 * insets/insetwrap.C:
511 * mathed/math_mboxinset.C:
512 * mathed/math_nestinset.C:
513 * mathed/math_scriptinset.C:
514 * mathed/math_scriptinset.h:
517 2004-03-24 Angus Leeming <leeming@lyx.org>
519 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
520 deal with any child processes that have finished but are waiting to
521 communicate this fact to the rest of LyX.
523 2004-03-24 Angus Leeming <leeming@lyx.org>
525 64-bit compile fixes.
527 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
528 (c-tor): pass lyx::pos_types rather than ints.
530 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
533 * text.C (Delete): compile fix.
534 (getPar): ensure that function declaration is the same as that in
537 2004-03-23 Angus Leeming <leeming@lyx.org>
539 * ispell.C (LaunchIspell):
540 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
541 a boost::shred_ptr rather than a std::auto_ptr.
543 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
545 * lyxfunc.C (getStatus): handle read-only buffers correctly;
546 handle LFUN_FILE_INSERT_*
548 * lyxrc.C (setDefaults, getDescription, output, read):
549 * lyxrc.h: remove ps_command
551 2004-03-22 Angus Leeming <leeming@lyx.org>
553 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
554 Ensure that error_handler is processed once only and that all data
555 is saved before attempting to output any warning messages.
557 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
559 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
561 * tabular.C (TeXRow): crash fix (from Kayvan and André)
563 2004-03-19 André Pönitz <poenitz@gmx.net>
565 * cursor.[Ch] (reset): take main text inset as argument
568 * BufferView_pimpl.C: adjust
570 * paragraph.[Ch]: fix completely broken operator=()
572 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
574 * LColor.C (getFromLyXName): make sure that the color name is used
577 2004-03-17 Angus Leeming <leeming@lyx.org>
580 * LyXAction.C (init): remove LFUN_FORKS_KILL.
582 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
583 dialog and to kill a forked process.
585 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
587 * text2.C (setCursorFromCoordinates): fix font problem
589 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
591 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
592 bogus "rebuild cursor" code
594 2004-03-11 André Pönitz <poenitz@gmx.net>
596 * buffer.[Ch]: use InsetText instead of LyXText as container for
599 * dociterator.[Ch]: drop the BufferView * member which is not needed
600 anymore after the change to buffer.C
606 * BufferView_pimpl.[Ch]:
608 * cursor_slice.[Ch]: adjust
610 * text3.C: fix bug in mathDispatch
612 2004-03-08 André Pönitz <poenitz@gmx.net>
614 * undo.[Ch]: use 'StableDocumentIterator' as base for
617 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
620 * bufferparams.[Ch]: add jurabib support and param.
622 * LaTeX.C: add FIXME/comment.
624 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
626 * buffer.C: increment file format to 230.
628 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
630 * cursor.C (dispatch): avoid infinite loops
632 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
634 * rowpainter.C (paintSelection): fix x coordinates
636 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
638 * text.C (rowBreakPoint): fix breaking before displayed insets
640 2004-03-01 André Pönitz <poenitz@gmx.net>
642 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
644 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
648 * BufferView_pimpl.C:
656 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
662 * BufferView_pimpl.C: rename textwidth -> maxwidth,
663 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
665 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
667 * Bidi.[Ch] (computeTables): const correctness
668 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
669 fill_hfill, fill_label_hfill and x from Row
670 * lyxtext.h: prepareToPrint returns a RowMetrics
671 * rowPainter.C: adjust
672 * text.C (prepareToPrint): use width, not textWidth. adjust
673 (redoParagraphInternal, cursorX): adjust
674 * text2.C (getColumnNearX): adjust
675 (init): put a default value to the top LyXText::width
677 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
679 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
681 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
683 * lyxtext.h: add FontIterator class
685 * text.C (FontIterator, operator*, operator->, operator++): add
686 (rowBreakPoint, setRowWidth): adjust (fixing a
689 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
691 * BufferView_pimpl.C (workAreaDispatch): allow also
692 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
694 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
696 * text.C (rowBreakPoint): fix a bug showing with very large insets
698 2004-02-25 André Pönitz <poenitz@gmx.net>
701 * cursor.[Ch]: move some mathed specific code to mathed
703 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
705 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
706 use_tempdir in preferences
707 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
709 * lyx_main.C: ensure that tempdir is valid
710 * lyxlex.h: correct typo
711 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
712 * paragraph.[Ch] (isMultiLingual): make const
713 * cursor.[Ch] (openable): make const
715 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
717 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
719 2004-02-20 André Pönitz <poenitz@gmx.net>
721 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
723 * cursor.[Ch]: prepare for localized getStatus()
729 * text3.C: streamlines the LyXText cursor movement handlers a bit.
731 2004-02-20 André Pönitz <poenitz@gmx.net>
733 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
735 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
737 * text2.C (setCursorFromCoordinates): switch to absolute coords
740 * text3.C (dispatch): adjust
742 2004-02-16 André Pönitz <poenitz@gmx.net>
744 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
747 * cursor_slice.[Ch]: remove unneeded acessor function
749 * lyxtext.h: rename rtl() to isRTL()
757 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
759 * rowpainter.C (paintSelection): coord fix
761 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
763 * Spacing.C: compile fix
765 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
767 * cursor.C (dispatch): restore current_ before returning
769 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
771 * text2.C (cursorUp, cursorDown): fix coords
774 2004-02-12 André Pönitz <poenitz@gmx.net>
779 * text3.C: add LCursor & parameter to most cursor movement functions
780 remove usage of LyXText::cursorRow() and cursorPar()
782 * cursor.[Ch]: add textRow() needed members
785 * BufferView_pimpl.C:
788 * BufferView_pimpl.C: adjust
790 2004-02-11 André Pönitz <poenitz@gmx.net>
794 * BufferView_pimpl.C: shift undo/redo handling
796 * cursor.[Ch]: fix mathed crash
799 * lyxtext.h: move selectionAsText to LCursor
807 * rowpainter.C: fix excessive drawing
809 2004-02-06 André Pönitz <poenitz@gmx.net>
812 * BufferView_pimpl.[Ch]:
813 * text3.C: move some text specific LFUN handling
815 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
817 * text3.C (checkInsetHit): adjust coords
818 * text2.C (getColumnNearX): adjust coords
819 (edit): adjust coords
820 * text.C (getRowNearY): add two asserts
822 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
825 * format.C: add using std::distance to compile on gcc 2.95/stlport
827 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
829 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
831 2004-02-04 André Pönitz <poenitz@gmx.net>
833 * BufferView.[Ch] (insertInset):
834 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
839 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
841 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
842 on the default clause of the switch
843 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
844 wasn't catched by LCursor::dispatch
846 2004-02-03 André Pönitz <poenitz@gmx.net>
849 * cursor.[Ch]: some additional asserts
851 * undo.[Ch]: remove LyXText dependency in interface
855 * lyxtext.h (firstPar, lastPar): remove dead functions
860 * paragraph.[Ch]: adjust
862 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
864 * lyxfind.C (find): fix argument order in call to ::find
866 2004-02-02 André Pönitz <poenitz@gmx.net>
868 * cursor.[Ch]: remove direct access to anchor
870 * text.C: remove findText() hack
872 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
874 * iterators.[Ch] (lockPath): remove in favour of...
875 * BufferView.[Ch] (setCursor): this addition
876 * BufferView.C (putSelectionAt): adjust
877 * undo.C (performUndoOrRedo): adjust
878 * lyxfunc.C (dispatch): adjust
880 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
882 * iterators.C (lockPath): add a missing slice
883 * undo.C (performUndoOrRedo): remove redundant positioning code
885 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
887 * vc-backend.C (scanMaster): ";" -> ';'
889 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
891 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
894 * lyxtextclass.C (compare_name): rename to...
895 (LayoutNamesEqual): ...this
897 * lyxlex_pimpl.C (compare_tags): inherit from
898 std::binary_function, put back into anon namespace
900 * lyxfind.C (MatchString): inherig from std::binary_function
901 (findChange): use empty() istead of !size()
903 * format.C (FormatNamesEqual): new functor
910 * converter.C (compare_Converter): rename to...
911 (ConverterEqual): ...this, and fixup a bit.
912 (getConverter): use it, and make function const
913 (getNumber): use it, and make function const
917 * bufferlist.C: add using boost::bind
919 * MenuBackend.C (MenuNamesEqual): new functor
920 (hasMenu): use it, and make function const
921 (hasSubmenu): use nested bind to get rid of compare_memfun.
923 2004-01-30 André Pönitz <poenitz@gmx.net>
925 * BufferView_pimpl.C:
936 * text3.C: move some of the edit(x,y) handling to the insets
937 some coordinate changes.
939 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
941 * text.C: add using statements for std::advance and std::distance
943 * paragraph.C: add using statement for std::distance
945 * lyxfind.C: add using statement for std::advance
947 * cursor.C (region): remove std:: from swap
948 (openable): use nucleus in stead of operator->
950 * BufferView.C: add using statements for std::distance and std::swap
952 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
954 * iterators.C: Remove the pimple, move the needed structures to
955 the header file. Create accessor for the positions stack.
956 (asPosIterator): remove function
958 * PosIterator.C (PosIterator): move constructors to top of file
959 (PosIterator): reimplement the constructor taking a ParIterator in
961 (setFrom): new function
962 (operator!=): inline it
964 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
966 * lyxfind.C (replaceAll): use std::advance
968 * iterators.h: inherit from std::iterator.
970 * PosIterator.C (advance, distance): remove
971 * PosIterator.h: interit from std::iterator.
973 2004-01-26 André Pönitz <poenitz@gmx.net>
976 * BufferView_pimpl.[Ch]:
980 * bufferview_funcs.C:
991 * output_plaintext.C:
993 * paragraph_funcs.[Ch]:
994 * paragraph_pimpl.[Ch]:
1000 * text3.C: more IU: dumps most of the rest of the mathcursor
1001 implementation into cursor.[Ch]; "globalize" a bit of it.
1003 2004-01-25 Angus Leeming <leeming@lyx.org>
1005 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1007 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1009 * LaTeXFeatures.h: add nice_ and nice() const
1010 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1012 2004-01-20 André Pönitz <poenitz@gmx.net>
1015 * BufferView_pimpl.C:
1017 * bufferview_funcs.C:
1019 * cursor_slice.[Ch]:
1030 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1031 LCursor and mathcursor parts to LCursor and InsetBase.
1033 2004-01-15 André Pönitz <poenitz@gmx.net>
1035 * cursor_slice.[Ch]: add a few covienience functions
1037 * funcrequest.[Ch]: remove BufferView * member
1039 * BufferView_pimpl.C:
1046 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1048 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
1050 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1051 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1053 2004-01-13 André Pönitz <poenitz@gmx.net>
1056 * lyxtext.h: hide cursor and selection anchor behind accessor function
1059 * BufferView_pimpl.[Ch]:
1061 * bufferview_funcs.C:
1071 * cursor_slice.[Ch]: some integer type changes for inset unification
1073 * lyxcursor.[hC]: remove, it's CursorSlice now.
1076 * BufferView_pimpl.[Ch]:
1077 * bufferview_funcs.C:
1083 * textcursor.[Ch]: adjust
1085 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
1087 * text2.C (undoSpan): add and use
1088 * text.C (breakParagraph): use undoSpan (fix bug 578)
1091 2004-01-08 Angus Leeming <leeming@lyx.org>
1093 * BufferView_pimpl.C (MenuInsertLyXFile):
1094 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1095 * lyxfunc.C (menuNew, open, doImport):
1096 FileFilterList change to the FileDialog open and save functions.
1098 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1100 * ShareContainer.h: make isEqual and isUnique adaptable
1102 * CutAndPaste.C: make resetOwnerAndChanges adaptable
1104 2004-01-07 Angus Leeming <leeming@lyx.org>
1107 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1109 * BufferView_pimpl.C (dispatch): act on these LFUNs.
1111 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1112 functions replacing find, replace and replaceAll.
1114 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1115 LFUN_WORDFIND(FORWARD|BACKWARD).
1117 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1119 * text.C (breakParagraph): remove an outdated #warning
1121 2004-01-07 André Pönitz <poenitz@gmx.net>
1123 * lyxfind.C: somewhat clearer logic
1125 * text.C: prevent crash in cursorX on unitialized row cache
1127 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1129 * lyxcursor.[Ch] (operator>): add
1130 * textcursor.C (selStart, selEnd): use std::min and std::max
1132 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1134 * Chktex.C: include boost/format.hpp
1136 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1138 * InsetList.C: replace functor MathcIt with adaptable functor
1140 (insetIterator): modify accordingly
1142 * BranchList.h: move the BranchNamesEqual functor here from...
1143 * BranchList.C: ... to here
1145 * BranchList.C: new BranchListEqual fuctor, use it. Remove
1147 (add): replace a finding loop with std::find_if.
1149 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
1151 * output_docbook.C: moving LatexParam functionality into
1154 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1156 * buffer.C: increment format to 229.
1158 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
1161 * lyx_sty.[Ch]: remove minipageindent_def
1167 * text3.C: remove LFUN_INSET_MINIPAGE
1169 2003-12-28 Angus Leeming <leeming@lyx.org>
1171 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1173 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
1175 * text2.C (setParagraph): fix off-by-one crash
1177 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
1179 * output_docbook.C: header stuff for AGU
1181 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
1183 * text2.C (redoCursor): remove
1186 * BufferView_pimpl.C: remove calls to redoCursor and
1187 setCursor(cursor.par(), cursor.pos()) all around
1189 2003-12-15 Angus Leeming <leeming@lyx.org>
1191 * buffer.C: up the format to 228.
1193 2003-12-15 André Pönitz <poenitz@gmx.net>
1195 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1200 * BufferView_pimpl.C:
1209 2003-12-15 Angus Leeming <leeming@lyx.org>
1211 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1212 than getFromGUIName to manipulate the color.
1214 2003-12-14 Angus Leeming <leeming@lyx.org>
1216 * BranchList.[Ch]: minimize the API.
1217 (Branch::getBranch, getColor): now return a 'const &'.
1218 (Branch::setSelected) now returns a bool set to true if the
1219 selection status changes.
1220 (BranchList::clear, size, getColor, setColor, setSelected,
1221 allBranches, allSelected, separator): removed.
1222 (BranchList::find): new functions, returning the Branch with
1224 (BranchList::add, remove): return a bool indicating that
1225 the operation was successful.
1227 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1228 new InsetBranch::isBranchSlected member function.
1230 * LColor.[Ch]: mimimize the API.
1231 (fill): renamed as addColor and made private.
1232 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1233 versions of these functions taking a string arg have been removed.
1235 * bufferparams.C (readToken):
1236 * lyxfunc.C (dispatch):
1237 * lyxrc.C (read): changes due to the altered BranchList and
1240 * factory.C (createInset, readInset): changes due to altered
1243 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1246 * lyxfunc.C: remove insetminipage. "minipage-insert"
1247 now produces a frameless minipage box inset.
1249 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1251 * textcursor.[Ch] (selStart,selEnd): add new methods
1252 remove selection::start, end, use LyXCursor::operator<
1253 * lyxcursor.[Ch] (operator<): add
1254 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1255 * BufferView.[Ch] (unsetXSel): add
1256 * text2.C (clearSelection): use unsetXSel,adjust
1259 * rowpainter.C: adjust
1260 * bufferview_funcs.C (put_selection_at): adjust
1262 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1264 * BufferView_pimpl.C: small coord. correction
1266 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1268 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1269 dragging over the splash screen.
1271 2003-12-11 Angus Leeming <leeming@lyx.org>
1273 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1274 as it is now handled in LyXText::dispatch.
1276 * text3.C (doInsertInset): remove a level of nesting.
1278 2003-12-11 Angus Leeming <leeming@lyx.org>
1280 * factory.C (createInset): changes due to the changed interface to
1281 InsetCommandMailer::string2params.
1283 2003-12-10 Angus Leeming <leeming@lyx.org>
1285 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1286 'dialog-show-new-inset <inset name>'
1288 2003-12-10 Angus Leeming <leeming@lyx.org>
1290 * buffer.C: up the format to 227.
1292 * factory.C: the box inset is now identified simply by 'Box'.
1294 2003-12-10 Angus Leeming <leeming@lyx.org>
1296 * buffer.C: up the format to 226.
1298 * factory.C: the note inset is now identified simply by 'Note'.
1300 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
1302 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1303 when a pit is enough. Standarize a couple of loops.
1305 2003-12-05 Angus Leeming <leeming@lyx.org>
1307 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1308 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1309 data to the re-worked "log" dialog.
1311 2003-12-03 André Pönitz <poenitz@gmx.net>
1317 * paragraph_funcs.C:
1319 * text2.C: use Inset::getText instead of Inset::getParagraph
1321 2003-12-03 André Pönitz <poenitz@gmx.net>
1325 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1326 InsetText::read() as LyXText::read()
1328 2003-12-02 Angus Leeming <leeming@lyx.org>
1330 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1331 type. Add a comment in the implementation that the function uses
1332 the stream's bad() function rather than fail() as the std::streams
1335 2003-12-02 André Pönitz <poenitz@gmx.net>
1337 * lyxlex.[Ch]: make interface more similar to std::stream
1339 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1341 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1343 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1345 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1347 * vspace.[Ch]: remove VSpace::NONE
1349 2003-12-01 André Pönitz <poenitz@gmx.net>
1352 * lyxtext.h: move ParagraphList member to LyXText
1353 rename LyXText::ownerParagraphs to LyXText::paragraph
1356 * bufferview_funcs.C:
1366 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1368 * undo.C: fix cursor positioning
1370 2003-12-01 John Levon <levon@movementarian.org>
1372 * BufferView_pimpl.C: fix a crash on exit with
1375 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
1377 * BranchList.C: fix setSelected() method.
1379 2003-11-28 André Pönitz <poenitz@gmx.net>
1381 * ParagraphParameters.[Ch]:
1382 * ParameterStruct.h: remove space above/below from Paragraph to
1385 * BufferView_pimpl.C:
1391 * paragraph_funcs.C:
1397 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1399 * factory.C: Syntax change for CharStyles
1401 2003-11-28 André Pönitz <poenitz@gmx.net>
1406 * buffer.[Ch]: move LyXText member
1408 2003-11-28 André Pönitz <poenitz@gmx.net>
1410 * BufferView.[Ch]: make LyXText * text a private member
1412 * BufferView_pimpl.C:
1423 * output_plaintext.C: cleanup
1425 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1428 * lyxtextclass.[Ch]: parametrize SGML document header
1430 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1433 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1436 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1438 * text2.C (setFont): rework using PosIterator (no more recursive)
1439 (setCharFont): no more needed
1440 (setLayout): no more selection cursors fiddling (done by redoCursor)
1441 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1442 destroy remaining ones)
1444 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
1446 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1448 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1451 * text3.C: adjust + re-allow multi par depth changes
1452 * textcursor.C: simplify a bit
1454 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
1460 * src/output_docbook.C:
1461 * src/output_latex.C:
1466 * src/text2.C: Introducing a number of tags parametrizing various
1467 XML formats that we may want to support
1469 2003-11-25 André Pönitz <poenitz@gmx.net>
1471 * InsetList.[Ch] (begein, end): inline as suggested by profiler
1473 * lyxtext.h (leftMargin/rightMargin): simplify interface
1480 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1482 * lyxfunc.C (dispatch): propogate the bibtex databases from the
1483 master file to any child files. Fixes bug 546.
1485 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1487 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1489 2003-11-24 André Pönitz <poenitz@gmx.net>
1491 * rowpainter.C: simplification
1493 * text2.C (updateCounters): remove call to redoParagraph on
1494 changed labels as this is far too expensive.
1496 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1498 * converter.C (convert): fix a crash: this function gets
1499 called with buffer == 0 from importer code.
1501 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1503 * text3.C (cursorPrevious): make sure that we do not compare
1504 iterators form different containers.
1507 * rowpainter.C (paintSelection): make sure that we do not compare
1508 iterators from different containers.
1510 * text3.C (dispatch): [PRIOR] make sure that we do not compare
1511 iterators from different ParagraphList containers.
1514 * text2.C (LyXText): change order of initialization slightly
1515 (operator=): new function. copy all variables except cache_par_
1516 (moveUp): make sure that we do not compare iterators from
1517 different ParagraphList constainers.
1520 * text.C (firstPar): new function
1521 (lastPar): new function
1522 (endPar): new function
1524 * lyxtext.h: move things around and group public functions, public
1525 variables, private functions, private variables
1527 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1529 * factory.C: change call to InsetERT constructor to avoid
1530 additional invocation of method status
1531 * text2.C (toggleInset): remove redundant update() call
1532 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1533 instead of a Bufferview pointer
1535 2003-11-21 André Pönitz <poenitz@gmx.net>
1537 * rowpainter.C: simplification
1539 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1541 * text3.C (dispatch): make possible to extend a word/row selection
1544 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1546 * lyxtext.h: x0_,y0_ -> xo_,yo_
1547 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1548 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1549 * rowpainter.C (paintRows): paint full paragraphs
1551 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1553 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1556 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1558 * lyxtext.h: add x0_, y0_
1559 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1560 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1562 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
1564 * text2.C (setCursorIntern): move the x_target update here *
1565 * text3.C: change some bv() to true/false in calls to
1566 cursorUp/Down/Right/Left
1567 * cursor.C: use helper function.
1569 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1571 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1572 * paragraph_funcs.[Ch]: correct comment
1573 * rowpainter.C: do not paint selections away from bv->cursor()
1574 Fix a long standing selection painting bug.
1575 * text3.C: generalize mouse-selection code to LyXTexts other that
1577 * textcursor.C: do not use y coords if we can use par offsets
1579 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1581 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1582 cursor position after e.g. inset insert)
1584 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
1586 * lyxfind.C (replace): adjust to locking removal + some
1589 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
1591 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1594 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
1597 * output_docbook.C: XML sanitation: new layout
1598 parameters InnerTag and CommandDepth
1600 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
1602 * BufferView_pimpl.C:
1604 * text3.C: Fix the insertion and modification of button-style
1607 2003-11-13 André Pönitz <poenitz@gmx.net>
1609 * InsetList.[Ch]: remove deleteLyXText
1611 * paragraph.[Ch]: cache beginOfBody position
1616 * text3.C: remove superfluous update() calls
1620 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1622 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1623 * BufferView.C (fitLockedInsetCursor): remove
1624 * cursor.[Ch] (getDim): add
1625 * text.C (getRowNearY): add faster version
1626 * text3.C: remove some update calls
1628 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1640 * text3.C: The Character Style /XML short element patch.
1642 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
1645 * factory.C: Small step to solving 'unable to insert some insets'
1648 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1650 * cursor.[Ch] (updatePos): new function for updating the y
1651 position of the tip inset
1652 * bufferview_funcs.C (put_selection_at):
1653 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1655 2003-11-11 André Pönitz <poenitz@gmx.net>
1657 * text.C: remove big comment on invalid Paragraph pointers as it is
1660 2003-11-11 André Pönitz <poenitz@gmx.net>
1662 * text_funcs.[Ch]: merge with ...
1670 * Makefile.am: remove text_funcs.[Ch]
1672 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1674 * cursor.C (getPos): return absolute cached y coord
1676 * BufferView_pimpl.C (fitCursor): new simplistic code
1677 (workAreaDispatch): add a fitCursor call
1679 2003-11-10 André Pönitz <poenitz@gmx.net>
1682 * BufferView_pimpl.[Ch]: merge update() and updateInset()
1684 2003-11-10 André Pönitz <poenitz@gmx.net>
1686 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1687 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1688 indicate that the cursor needs to leave an inset
1690 * lyxtext.h: remove inset locking
1692 * cursor.[Ch]: re-implement functionality provided by inset locking
1695 * BufferView_pimpl.[Ch]:
1697 * bufferview_funcs.[Ch]:
1709 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1711 * PosIterator.[Ch]: replace the stack with a vector, add inset
1713 * iterators.[C]: adjust
1715 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1717 * lyxfind.C (replaceAll): mark the buffer dirty if something was
1719 * paragraph_funcs.C (readParToken): put the correct id in the
1720 error item, not the id of the top paragraph
1722 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1724 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1725 * bufferview_funcs.C (put_selection_at): use the above
1727 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1729 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1731 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1733 * output_linuxdoc.h:
1734 * output_plaintext.h:
1736 * output_docbook.h: add #include statements
1738 2003-11-05 José Matos <jamatos@lyx.org>
1740 * output_docbook.[Ch]:
1741 * output_latex.[Ch]:
1742 * output_linuxdoc.[Ch]:
1743 * output_plaintext.[Ch]: New files for output formats.
1744 * output.[Ch]: New file for helper functions.
1747 * paragraph_funcs.[Ch]: output functions moved to new files.
1749 * outputparams.h: rename of latexrunparams.h
1757 * paragraph_funcs.[Ch]:
1758 * paragraph_pimpl.[Ch]:
1759 * tabular.[Ch]: rename ascii to plaintext
1760 and LatexRunParams to OutputParams.
1762 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1764 * iterators.[Ch] (text): require bv argument
1765 * undo.C (recordUndo):
1766 * lyxfunc.C (dispatch):
1767 * bufferview_funcs.C (put_selection_at): adjust
1769 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
1771 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1773 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1775 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1778 2003-11-04 André Pönitz <poenitz@gmx.net>
1780 * cursor.[Ch]: restructure
1783 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1785 * iterators.[Ch] (asCursor): remove
1787 * lfuns.h: remove LFUN_INSET_EDIT
1793 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1795 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1797 * lyxfind.[Ch]: complete overhaul
1798 * BufferView_pimpl.C:
1800 * paragraph.[Ch] (insert): add
1802 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1806 * text.C: remove dead spellcheck code
1808 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1810 * dispatchresult.h: add a val setter
1812 * cursor.C (dispatch): use a tempvar for data_[i]
1814 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1816 * PosIterator.[Ch]: compile fix
1818 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1820 * text.C (cursorPar): deactivate the cursor cache
1822 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1824 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1826 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1828 * text3.C (dispatch): adjust for new DisptchResult semantics.
1830 * lyxfunc.C (dispatch): handle update when return from
1831 Cursor::dispatch, adjust for new DispatchResult semantics.
1833 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1834 DispatchResult(true) mean to not update. Add class functions for
1835 setting dispatched and update, as well as reading.
1837 * cursor.C (dispatch): don't handle update here
1839 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1841 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1842 * trans_mgr.C: adjust
1844 * paragraph_funcs.C (readParToken): exception safety
1846 * lyxvc.h: store the vcs pointer in a scoped_ptr
1849 * lyxsocket.C (serverCallback): exception safety
1851 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1853 * ispell.C (clone): make it return a auto_ptr
1855 * factory.C (createInset): exception safety
1856 (readInset): exception safety
1858 * bufferlist.C (newBuffer): exception safety
1860 * Thesaurus.C (Thesaurus): use initialization for aik_
1862 * MenuBackend.C (expandToc): exception safety.
1864 2003-11-03 André Pönitz <poenitz@gmx.net>
1868 * bufferview_funcs.C: remove getInsetFromId()
1871 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1877 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1879 * PosIterator.C (distance, advance): new
1880 * bufferview_funcs.[Ch] (put_selection_at): new
1881 * iterators.[Ch] (lockPath): new
1883 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
1885 * iterators.[Ch] (asPosIterator): added
1886 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1887 * PosIterator.[Ch]: added
1889 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1893 * cursor.C (dispatch):
1894 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1896 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1897 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1898 contructor, add a class function dispatched. Remove operator>=
1900 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1902 * debug.C: only use the default constructor for debugstream
1905 * main.C (main): include debug.h and setup the lyxerr streambuf
1908 2003-10-31 José Matos <jamatos@lyx.org>
1910 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1912 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1913 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1914 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1915 * paragraph_pimpl.C (simpleTeXSpecialC):
1916 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1917 add LatexRunParams argument.
1919 * exporter.C (Export): change call accordingly.
1921 * latexrunparams.h: add new member to take care of the other backends.
1922 2003-10-30 José Matos <jamatos@lyx.org>
1924 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1925 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1926 factorise code for paragraph output.
1928 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1931 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1933 * text3.C (dispatch):
1934 * lyxfunc.C (dispatch):
1935 * cursor.C (dispatch):
1936 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1938 * dispatchresult.h: make the dispatch_result_t ctor explicit
1940 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1943 * buffer.C: small refactoring of docbook stuff
1945 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1947 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1950 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1952 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1953 operator dispatch_result_t, and operators for == != and >=
1955 * cursor.C (dispatch): adjust for operator dispatch_result_t
1956 removal. comment out call to update
1958 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1960 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1968 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1971 * dispatchresult.h: new file, DispatchResult broken out of
1974 * Makefile.am (lyx_SOURCES): add dispatchresult.h
1976 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1978 * text.C (rowBreakPoint): put a hack inside #if 0
1980 2003-10-28 André Pönitz <poenitz@gmx.net>
1984 * paragraph_funcs.C:
1987 * text2.C: general cleanup (lots of small stuff)
1989 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1991 * text2.C (cursorEnd): simple fix to the "end key goes to one
1992 before the end on last row" bug
1994 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1996 * text.C (backspace): fix the "zombie characters"
1998 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2000 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2002 2003-10-27 André Pönitz <poenitz@gmx.net>
2004 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2006 * factory.C: handle new InsetPagebreak, InsetLine
2008 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2009 and move handling into new InsetPagebreak, InsetLine
2011 * BufferView_pimpl.C:
2013 * ParagraphParameters.C:
2014 * ParameterStruct.h:
2019 * paragraph_funcs.C:
2020 * paragraph_pimpl.C:
2026 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2029 * lyxrow_funcs.[Ch]:
2035 * text3.C: remove lastPos uses in favour of Row::endpos
2037 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2039 * undo.C (performUndoOrRedo): fix two crashes by setting a
2040 cursor by hand and reordering some calls. Use bv->lockInset instead
2041 of inset->edit because the latter loses cursor information
2043 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
2045 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2047 (rowBreakPoint): fix width. change point to point + 1.
2048 Add a missing check.
2050 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
2053 * lyxfunc.C: fix (at least partly) the problems
2054 with the Nav menu and headers inside branch insets
2057 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
2059 * paragraph.C (getChar): add strong asserts
2061 * lyxrow_funcs.C (lastPos): remove hideous hack
2063 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2064 (fill): adjust to that (avoid an infinite loop)
2066 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2068 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2070 2003-10-23 André Pönitz <poenitz@gmx.net>
2072 * RowList_fwd.h: change list<> to vector<> to gain speed
2073 after suggestion from Alfredo
2075 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2077 * lyxtext.h: move the bidi stuff from here...
2080 * Bidi.[Ch]: ... to here
2082 2003-10-23 André Pönitz <poenitz@gmx.net>
2085 * text.C (isLastRow, isFirstRow): new functions
2087 * paragraph.h: new width cache member
2089 * rowpainter.C: replace RowList::iterator with Row & where possible
2091 * lyxfunc.C: replace several view()->text with a single call
2093 * toc.C: fix 'unused' warning
2095 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2097 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2098 when woring with stream::pos_type
2099 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2101 2003-10-22 André Pönitz <poenitz@gmx.net>
2104 * text.C: use Row & instead of RowList::iterator
2106 * lyxrow.h: rename end() to endpos()
2112 2003-10-22 Angus Leeming <leeming@lyx.org>
2114 * buffer.[Ch] (fully_loaded): new member function, returning true
2115 only when the file has been loaded fully.
2116 Used to prevent the premature generation of previews and by the
2117 citation inset to prevent computation of the natbib-style label.
2119 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2120 templates are all set up.
2122 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2124 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
2126 * text.C: fixed an "oops" in the "is a bit silly"
2129 2003-10-21 André Pönitz <poenitz@gmx.net>
2131 * FuncStatus.[Ch]: small stuff, whitespace
2133 * lyxfont.[Ch]: operator<<() for debug reasons
2137 * lyxtext.h: whitespace, spelling
2139 * paragraph.C: naming of variables
2142 * text2.C: small stuff
2145 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
2147 * text.C: (1) finish off the inset display() work;
2148 (2) fix the "is a bit silly" bug (accessing char
2151 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
2153 * text.C: re-introduce display() for insets, fixing the
2154 various bugs (stretch of line above, math inset
2157 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2159 * text.C (rightMargin): remove spurious semicolon
2161 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2164 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
2166 * text3.C: fix one crash due to wrong cursor def
2168 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2170 * vc-backend.C (scanMaster): make the regex static
2172 * LaTeX.C (scanAuxFile): make the regexs static
2174 * text3.C (doInsertInset, dispatch, dispatch):
2175 * text2.C (cursorUp, cursorDown):
2176 * text.C (selectNextWordToSpellcheck):
2177 * BufferView_pimpl.C (dispatch):
2178 * lyxfunc.C (dispatch): localDispatch -> dispatch
2180 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2182 * lyxsocket.C: include <cerrno>
2184 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2186 * lyxfunc.C (dispatch): remove textcache stuff
2188 * bufferlist.C (release): remove textcache stuff
2191 * TextCache.C: delete file
2192 * TextCache.h: delete file
2194 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2196 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2197 delete of the bv_->text.
2198 (resizeCurrentBuffer): remove texcache stuff
2199 (workAreaResize): ditto
2201 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2203 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2206 2003-10-16 André Pönitz <poenitz@gmx.net>
2213 * text3.C: speed up by storing y positions per paragraph plus per-row
2214 offset instead of having a 'full' y position in the row.
2216 2003-10-15 André Pönitz <poenitz@gmx.net>
2220 * undo.[Ch]: make undo aware of inner insets
2222 2003-10-14 Angus Leeming <leeming@lyx.org>
2224 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2225 static member functions LyX::ref() and LyX::cref.
2226 (lastfiles): new accessor functions for the new lastfiles_ member var.
2227 (addLyXView, views_): add a new LyXView to the list of views_.
2228 (updateInset): loop over all LyXViews to call their own updateInset
2229 member function, returning a pointer to the Buffer owning the inset.
2231 * BufferView_pimpl.C (loadLyXFile):
2232 * MenuBackend.C (expandLastfiles):
2233 * bufferlist.C (MenuWrite, QuitLyX):
2234 lastfiles is no longer a global variable.
2235 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2237 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2238 static function. Access through LyX::cref().emergencyCleanup().
2240 2003-10-14 André Pönitz <poenitz@gmx.net>
2242 * iterators.[Ch]: new direct access to innermost LyXText and Inset
2244 * undo.[Ch]: restoring part of 'undo in insets'
2247 * undo_funcs.[Ch]: merge with undo.[Ch]
2249 * tabular.C: small cleansing stuff
2251 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
2253 * paragraph_funcs.C (readParToken): report unknown insets as error
2254 boxes. Use the outer paragraph as location (also for unknown
2257 * factory.C (readInset): do not abort on reading an unknown inset.
2258 Eat it and return 0.
2260 2003-10-13 Angus Leeming <leeming@lyx.org>
2262 * lyx_main.C (LyX): remove call to setDisplayTranslator().
2264 * lyxrc.C: displayTranslator is now a function,
2265 declared in GraphicsTypes.h.
2267 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2269 * format.C: new placeholder $$a to pass the socket address.
2271 * bufferlist.[Ch]: new function getBufferFromTmp.
2273 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2274 files in the temporary dir.
2276 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2278 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2280 * Makefile.am: add lyxsocket.[Ch].
2282 * lyx_main.C (error_handler): handle SIGPIPE.
2284 2003-10-13 André Pönitz <poenitz@gmx.net>
2286 * BufferView_pimpl.C:
2291 * undo_funcs.[Ch]: use paroffset_type instead of
2292 ParagraphList::iterators to prevent multiple conversion
2293 (and get a more robust interface)
2295 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2297 * lyxfunc.C (dispatch): RESULT -> dispatch_result
2299 * text3.C (dispatch): ditto
2301 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2303 * LaTeX.C (handleFoundFile): move the static to smaller scope,
2304 move the onlyfile, use onlyfile instead of foundfile in a couple
2307 * DepTable.C (update): flush the error stream a bit more
2309 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2311 * lyxserver.C (callback): adjust
2313 * lyxfunc.C (getStatus): add a missing brace in commented code
2314 (ensureBufferClean): reindent
2315 (dispatch): delete version taking a string
2317 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2319 * LaTeX.C (deplog): move found file handlig from here...
2320 (handleFoundFile): .. to new function here.
2321 (deplog): make sure to discover several files mentioned on the
2324 2003-10-10 André Pönitz <poenitz@gmx.net>
2331 * text3.C: fix some of the tabular crashes
2333 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2335 * MenuBackend.C (binding): put debug message into Debug::KBMAP
2337 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2339 2003-10-09 André Pönitz <poenitz@gmx.net>
2341 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2344 * BufferView_pimpl.C:
2345 * bufferview_funcs.C:
2356 * undo_funcs.C: adjust
2358 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2360 * text2.C (incrementItemDepth): new function, use a backtracking
2361 algorithm to discover the correct item depth.
2362 (resetEnumCounterIfNeeded): new function, use a backtracking
2363 algorithm to discover if counter reset is needed.
2364 (setCounter): use them. Simplify a bit. Add different labels for
2365 different item depths for itemize.
2367 * paragraph.C (Paragraph): remove initialization of enumdepth
2370 * paragraph.h: get rid of enumdepth, and use itemdepth both for
2371 enumerate and itemize. Change the type of itemdepth to signed char.
2373 2003-10-08 André Pönitz <poenitz@gmx.net>
2375 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2380 * tabular.[Ch]: fix crash after 'row-insert'
2382 2003-10-08 Angus Leeming <leeming@lyx.org>
2384 Fix doxygen warnings.
2386 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2387 Remove CutAndPaste:: prefix from header file declaration.
2389 * LColor.h (fill): remove LColor:: prefix from declaration.
2391 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2392 use lyx::depth_type rather than Paragraph::depth_type so that
2393 header file and .C file match.
2395 * converter.h (intToFormat): remove Converters:: prefix from declaration.
2397 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2398 * aspell.C: \file aspell_local.C -> \file aspell.C
2399 * gettext.C: \file gettext.C -> \file src/gettext.C
2400 * gettext.h: \file gettext.h -> \file src/gettext.h
2401 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2402 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2403 * text.C: \file text.C -> \file src/text.C
2405 * toc.C: move comment so that doxygen is not confused.
2407 2003-10-07 Angus Leeming <leeming@lyx.org>
2409 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2411 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2414 * aspell_local.h: add forgotten std::string's.
2416 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2423 * text3.C: The Box patch. Fancybox support, minipage, parbox
2425 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2431 * ParagraphParameters.h:
2441 * lyxtextclasslist.h:
2444 * paragraph_pimpl.C:
2445 * textcursor.h: add <string> and other small fixes to make Lars'
2446 std::string patch compile with STLport.
2448 2003-10-06 Angus Leeming <leeming@lyx.org>
2450 * LColor.h: Add missing #include <string>.
2452 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2454 * All most all file in all subdirs: Make <string> be the prefered
2455 way of getting to std::string, add using declarations.
2457 2003-10-06 André Pönitz <poenitz@gmx.net>
2459 * metricsinfo.C: initialize LyXFont before changing attribute.
2460 (fixes the 'math in \emph is upright' bug)
2462 2003-10-06 André Pönitz <poenitz@gmx.net>
2464 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2466 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
2469 * paragraph_pimpl.C: Small fixes to build using STLport
2471 2003-10-02 André Pönitz <poenitz@gmx.net>
2474 * text3.C: move handling of LFUN_DEPTH *; fix #1360
2476 2003-10-01 André Pönitz <poenitz@gmx.net>
2478 * factory.C: assert early
2480 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2482 * lyx_main.C: remove the global debug object
2484 * debug.h: adjust for new debugstream
2486 * debug.C: adjust for new debugstream and keep the global debug
2489 2003-09-22 Angus Leeming <leeming@lyx.org>
2491 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2492 of g++ which otherwise complain that the scoped_ptr destructor can't delete
2493 an incomplete class LyXFont.
2495 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2497 * factory.C: bug fix in branches
2499 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2501 * lyxfunc.C (processKeySym): adjust
2503 (dispatch): change arg name from ev to func, adjust
2504 (sendDispatchMessage): ditto
2506 * lyx_main.C (defaultKeyBindings): adjust keybindings
2507 (deadKeyBindings): ditto
2509 * kbsequence.C (addkey): return a FuncRequest
2511 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2513 * kbmap.C (bind): take a FuncRequest as arg, adjust
2516 (defkey): change to take a FuncRequest as arg, adjust
2517 (findbinding): take a FuncRequest as arg, adjust.
2519 * funcrequest.h (operator=): added
2521 * funcrequest.C (FuncRequest): default kb_action changed from
2522 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2524 * buffer.C (dispatch): simplify
2525 (dispatch): adjust to take a FuncRequest as arg, adjust
2527 * boost.C (assertion_failed): change assertion message slightly
2529 * ToolbarBackend.C (read): simplify
2531 * MenuBackend.C (binding): adjust call to findbinding, add a
2532 message if no binding is found.
2534 (expandToc): correct by adding a empty FuncRequest
2536 * LyXAction.C: include <boost/assert.hpp>
2537 (isPseudoAction): delete function
2538 (LookupFunc): change name to...
2539 (lookupFunc): this. change return type to FuncRequest.
2540 (getActionName): take kb_action as arg, simplify
2541 (funcHasFlag): add an assert, simplify.
2543 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2545 * toc.C (action): return a FuncRequest, simplify
2547 * lyxfunc.C (processKeySym): adjust
2548 (getStatus): delete version that takes an int.
2550 (dispatch): delete version that takes action as int
2552 (sendDispatchMessage): simplify and adjust
2554 * funcrequest.C (getArg): take unsigned int as arg
2556 * ToolbarBackend.C (read): adjust
2557 (add): delete version that takes func as a string.
2558 (getIton): take a FuncRequest as arg
2560 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2563 * MenuBackend.C (MenuItem): add a new construct that only takes a
2564 Kind, simplify the constructor use for submenus.
2566 (expandLastfiles): adjust
2567 (expandDocuments): adjust
2568 (expandFormats): adjust
2569 (expandFloatListInsert): adjust
2570 (expandFloatInsert): adjust
2571 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2573 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2574 Remove class variables lyx_pseudo_map and lyx_arg_map
2576 * LyXAction.C (searchActionArg): delete function
2577 (getPseudoAction): delete function
2578 (retrieveActionArg): delete function
2579 (LookupFunc): make it return kb_action, simplify.
2580 (getActionName): simplify
2582 * factory.C (createInset): fix new bug
2584 2003-09-19 Angus Leeming <leeming@lyx.org>
2586 * CutAndPaste.C (pasteSelection): remove fudge used to set the
2587 masterFilename_ parameter in the include inset.
2589 * factory.C (createInset): changes due to the changes to InsetInclude.
2591 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2593 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2595 2003-09-18 Angus Leeming <leeming@lyx.org>
2598 * BufferView.C: pass the buffer when calling Inset::getLabelList,
2599 Inset::fillWithBibKeys.
2600 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2602 2003-09-18 Angus Leeming <leeming@lyx.org>
2604 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2606 (ctor): pass and store a 'Buffer const &'
2607 (buffer): new member function.
2609 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2610 '*this' to the LaTeXFeatures ctor.
2612 2003-09-18 Angus Leeming <leeming@lyx.org>
2618 * text.C: rename EnumLColor as LColor_color.
2620 2003-09-18 Angus Leeming <leeming@lyx.org>
2622 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2623 remove #include "insets/insetbase.h" from cursor.h.
2625 2003-09-18 Angus Leeming <leeming@lyx.org>
2627 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2628 InsetOld_code to remove #include "inset.h".
2630 * iterators.C: add #include "insets/inset.h"
2632 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
2634 * BufferView.C: remove more locking stuff that apparently doesn't
2635 do anything sensible.
2637 2003-09-16 André Pönitz <poenitz@gmx.net>
2640 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2643 2003-09-16 Angus Leeming <leeming@lyx.org>
2645 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2647 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2650 * paragraph.h: remove #include "lyxfont.h". Forward declare
2653 2003-09-16 Angus Leeming <leeming@lyx.org>
2655 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2656 of support/textutils.h.
2657 (isWord): move the contents of support/textutils.h's IsWordChar here.
2663 * text2.C: add #include "paragraph.h".
2666 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2668 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2674 * LaTeX.C: use namespace alias for lyx::support::os
2676 2003-09-16 Angus Leeming <leeming@lyx.org>
2679 * bufferview_funcs.C:
2682 * paragraph_pimpl.C:
2684 * text.C: add #include "LColor.h".
2686 2003-09-16 Angus Leeming <leeming@lyx.org>
2688 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2689 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2691 Store the FontBits::color variable as an int rather than as an
2692 LColor::colorso that we can move LColor.h out of the lyxfont.h header
2695 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2696 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2697 string calls together.
2699 * lyxrc.C: add #include "LColor.h".
2701 2003-09-15 Angus Leeming <leeming@lyx.org>
2703 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2706 2003-09-15 Angus Leeming <leeming@lyx.org>
2708 * LColor.h: add an EnumLColor wrapper for LColor::color.
2710 * lyxfont.[Ch] (color, setColor, realColor):
2711 * lyxtext.h, text.C (backgroundColor):
2712 pass EnumLColor args to/from the functions, rather than LColor::color
2716 * lyxtext.h: forward declare EnumLColor.
2718 * lyx_main.C: add #include "LColor.h".
2720 2003-09-15 Angus Leeming <leeming@lyx.org>
2722 * .cvsignore: add lyx-gtk.
2724 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2729 * ParagraphParameters.C
2733 * bufferview_funcs.C
2743 * vc-backend.C: remove usage of STRCONV
2745 2003-09-15 Angus Leeming <leeming@lyx.org>
2747 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2748 explicitly define the color passed to the painter.
2750 2003-09-15 Angus Leeming <leeming@lyx.org>
2752 * bufferparams.C (BufferParams): reorder member initializers to avoid
2755 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
2757 * CutAndPaste.C (pasteSelection): remove an outdated #warning
2758 * text.C (updateRowPositions): remove an unusual nop
2760 2003-09-12 André Pönitz <poenitz@gmx.net>
2762 * BufferView_pimpl.C:
2771 * Counters.[Ch]: finish the 'automatic counters' job
2773 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2775 * aspell.C: include <boost/assert.cpp> (compile fix)
2777 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
2779 * boost.C (assertion_failed): use lyx::support::abort instead of
2782 2003-09-10 Angus Leeming <leeming@lyx.org>
2784 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2785 with their _fwd progeny.
2787 2003-09-09 Angus Leeming <leeming@lyx.org>
2789 134 files throughtout the source tree: replace 'using namespace abc;'
2790 directives with the appropriate 'using abc::xyz;' declarations.
2792 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2794 * boost.C (emergencyCleanup): moved here from LAssert.c
2795 (assertion_failed): new function, called by BOOST_ASSERT
2797 * several files: change Assert to BOOST_ASSERT
2799 2003-09-09 Angus Leeming <leeming@lyx.org>
2801 * buffer.[Ch]: Add an Impl class and move Buffer's member
2802 variables into it. As a result move several header files out of
2805 Add header files to lots of .C files all over the tree as a result.
2807 2003-09-09 Angus Leeming <leeming@lyx.org>
2809 * buffer.[Ch]: make Buffer's member variables private. Add
2812 Lots of changes all over the tree as a result.
2814 2003-09-08 Angus Leeming <leeming@lyx.org>
2816 * graph.C: #include <config.h>.
2818 2003-09-08 Angus Leeming <leeming@lyx.org>
2822 * BufferView_pimpl.C:
2851 * toc.C: remove redundant using directives.
2853 2003-09-07 Angus Leeming <leeming@lyx.org>
2855 * LaTeXFeatures.h: remove #include "support/types.h".
2856 * ToolbarBackend.h: remove #include <algorithm>.
2857 * changes.h: remove #include <ctime>.
2858 * debug.h: remove #include <iosfwd>.
2859 * graph.h: remove #include "support/std_string.h".
2860 * lyx_main.h: remove #include <csignal>.
2861 * lyxlex_pimpl.h: remove #include <fstream>.
2862 * sgml.h: remove #include <algorithm>, <utility>.
2863 * toc.h: remove #include "support/std_ostream.h".
2864 Add #include <iosfwd>.
2866 2003-09-07 Angus Leeming <leeming@lyx.org>
2868 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2870 * converter.h: forward declare LatexRunParams.
2871 * encoding.h: remove #include "lyxrc.h".
2872 * lyxtext.h: remove #include "LColor.h".
2873 * lyxtextclass.h: remove #include "support/types.h".
2874 * trans.h: remove #include "tex-accent.h".
2875 * trans_mgr.h: remove #include "tex-accent.h".
2876 * insets/inset.h: remove #include "support/types.h", <vector>.
2877 * insets/insetcollapsable.h: remove #include "LColor.h".
2878 * insets/insetinclude.h: remove #include "dimension.h".
2879 * insets/insetlatexaccent.h: remove #include "dimension.h".
2880 * insets/insetoptarg.h:: remove #include "insettext.h".
2881 * insets/insettext.h: remove #include "dimension.h",
2882 <boost/shared_ptr.hpp>
2884 * insets/renderers.h: add #include "dimension.h".
2885 * insets/updatableinset.h: add #include "support/types.h".
2887 * many .C files: Associated changes.
2889 2003-09-06 Angus Leeming <leeming@lyx.org>
2891 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2892 one, inside testInvariant.
2894 * PrinterParams.C: new file.
2895 * PrinterParams.[Ch]: move the function bodies out of line.
2897 2003-09-06 Angus Leeming <leeming@lyx.org>
2899 * ParagraphParameters.h: forward declare ParameterStruct rather than
2900 including its header file.
2901 (depth): moved out-of-line.
2903 2003-09-06 Angus Leeming <leeming@lyx.org>
2905 * BufferView_pimpl.h:
2908 * lyxfunc.h: forward declare LyXKeySym rather than
2909 #include "frontends/LyXKeySym.h".
2911 * BufferView_pimpl.C:
2914 * lyxfunc.C: associated changes.
2916 2003-09-06 Angus Leeming <leeming@lyx.org>
2918 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2919 As a result, can remove the #include "insets/inset.h" from BufferView.h
2921 2003-09-06 Angus Leeming <leeming@lyx.org>
2923 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2924 As a result, can remove the #include "insets/inset.h" from BufferView.h
2926 2003-09-06 Angus Leeming <leeming@lyx.org>
2932 * bufferview_funcs.C:
2933 * BufferView_pimpl.C:
2938 * ParagraphParameters.C:
2943 * frontends/controllers/ControlDocument.C:
2944 * insets/insetcaption.C: rearrange the #includes into some sort of
2947 * buffer.h: remove #includes ErrorList.h, undo.h
2949 2003-09-06 Angus Leeming <leeming@lyx.org>
2951 * support/types.h: add a 'depth_type' typedef, used to store the
2952 nesting depth of a paragraph.
2955 * ParameterStruct.h: use this lyx::depth_type typedef rather than
2956 defining explicitly.
2959 * paragraph_funcs.h:
2960 * ParagraphParameters.h:
2961 * sgml.h: use lyx::depth_type rather than Paragraph or
2962 ParameterStruct's depth_type.
2965 * paragraph_funcs.h: no need to #include paragraph.h anymore.
2968 * BufferView_pimpl.C:
2970 * ParagraphParameters.C:
2973 * bufferview_funcs.C:
2980 * frontends/LyXView.C:
2981 * frontends/controllers/ControlDocument.C:
2982 * frontends/controllers/ControlErrorList.C:
2983 * insets/insetbibitem.C:
2984 * insets/insetbranch.C:
2985 * insets/insetcaption.C:
2986 * insets/insetcollapsable.C:
2987 * insets/insetenv.C:
2988 * insets/insetert.C:
2989 * insets/insetfloat.C:
2990 * insets/insetfoot.C:
2991 * insets/insetfootlike.C:
2992 * insets/insetnewline.C:
2993 * insets/insetquotes.C:
2994 * insets/insettabular.C:
2995 * insets/insettext.C:
2996 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2998 * frontends/controllers/ControlChanges.C: #include "changes.h".
3000 2003-09-06 Angus Leeming <leeming@lyx.org>
3002 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3003 than #including paragraph.h.
3006 * RowList.h: deleted. Superfluous.
3016 * insets/insettext.h: use ParagraphList_fwd.h rather than
3019 * paragraph.h: don't forward declare ParagraphList.
3022 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3023 rather than ParagraphList.h. paragraph.h is still needed for the
3024 Paragraph::depth_type parameters.
3026 * textcursor.h: enable it to compile stand-alone in light of the
3029 * bufferview_funcs.C:
3041 * frontends/controllers/ControlParagraph.C:
3042 * frontends/controllers/ControlTabular.C:
3043 * insets/insetmarginal.C:
3044 * insets/insetminipage.C:
3045 * insets/insetnote.C:
3046 * insets/insetoptarg.C: add header files needed to compile again.
3048 2003-09-06 Angus Leeming <leeming@lyx.org>
3050 * RowList_fwd.h: new file, forward-declaring Row rather than
3051 #including lyxrow.h.
3056 * insets/insettext.h: use it instead of RowList.h
3058 * bufferview_funcs.C:
3065 * text3.C: #include "RowList.h".
3067 2003-09-05 Angus Leeming <leeming@lyx.org>
3069 * factory.C (createInset):
3070 * vspace.C (c-tor): replace sscanf call with an istringstream.
3071 * ispell.C: re-add missing HP/UX headers.
3072 * lyxserver.C: re-add missing os2 headers.
3074 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
3083 * text3.C: re-add missing system headers, needed for 2.95.2.
3085 2003-09-05 Angus Leeming <leeming@lyx.org>
3087 Changes most place everywhere due to the removal of using directives
3088 from support/std_sstream.h.
3090 2003-09-05 Angus Leeming <leeming@lyx.org>
3092 Replace LString.h with support/std_string.h,
3093 Lsstream.h with support/std_sstream.h,
3094 support/LIstream.h with support/std_istream.h,
3095 support/LOstream.h with support/std_ostream.h.
3097 Changes resulting throughout the tree.
3099 2003-09-05 Angus Leeming <leeming@lyx.org>
3101 * sgml.h: ensure that the header file can be compiled stand-alone.
3102 * *.C: strip out redundant #includes. (320 in total.)
3104 2003-09-04 Angus Leeming <leeming@lyx.org>
3106 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3107 here (from getPackages).
3109 * debug.[Ch]: add a new EXTERNAL tag.
3111 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3113 * text2.C (cursorEnd): simplify
3115 (getColumnNearX): adjust
3117 * text.C (computeBidiTables): adjust
3120 * rowpainter.C (paintChars): adjust
3121 (paintSelection): adjust
3122 (paintChangeBar): adjust
3125 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3127 (numberOfSeparators): adjust
3129 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3135 * text3.C: Restricts the mouse click functionality
3136 of insets like bibtex, include, toc and floatlist to the visible
3137 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3138 up the dialogs. Cursor has to be in front of the inset (i.e.
3139 start of row) for this to function.
3141 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3143 * bufferview_funcs.C (currentState): output row information
3145 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3147 * bufferview_funcs.C (currentState): output paragraph position
3149 2003-09-04 Angus Leeming <leeming@lyx.org>
3151 * FloatList.h: move out #include "Floating.h".
3152 * LaTeX.h: move out #include "DepTable.h".
3153 * LyXAction.h: move out #include "funcrequest.h".
3154 * buffer.h: move out #include "author.h", "iterators.h".
3155 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3156 * lyx_main.h: move out #include "errorlist.h".
3157 * lyxfunc.h: move out #include "FuncStatus.h".
3158 * lyxtext: move out #include "lyxcursor.h".
3159 * paragraph_pimpl.h: move out #include "counters.h".
3161 2003-09-03 Angus Leeming <leeming@lyx.org>
3163 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3164 preamble_snippets list, enabling us to add snippets to the preamble
3165 only if the snippet was not there already.
3167 2003-09-04 Angus Leeming <leeming@lyx.org>
3169 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3171 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3173 * lyxfunc.C (dispatch): if fitCursor did something be sure to
3176 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3178 * BranchList.C: point fix, earlier forgotten
3180 2003-09-02 Angus Leeming <leeming@lyx.org>
3182 * box.C (contains): renamed from 'contained' after a fantastic
3185 2003-09-02 John Levon <levon@movementarian.org>
3191 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3193 2003-09-02 John Levon <levon@movementarian.org>
3195 * text2.C: simplification of cursorEnd(), including partial
3198 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3200 * buffer.C (readFile): add a space
3202 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
3204 * BufferView_pimpl.C (update): remove bogus fitCursor() call
3206 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3208 * buffer.C (readFile): new function, take a filename and a
3209 ParagraphList::iterator
3211 (readFile): adjust, make it private. don't use setStream, make
3212 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3213 always contain the filename.
3215 * BufferView.C (insertLyXFile): simplify and make it work for
3218 2003-08-30 John Levon <levon@movementarian.org>
3220 * Makefile.am: fix dist (from Kayvan)
3222 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3224 * most files: change to use const Buffer refs
3226 2003-08-27 André Pönitz <poenitz@gmx.net>
3228 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3229 on top of ownerPar().
3231 2003-08-27 John Levon <levon@movementarian.org>
3233 * funcrequest.C: properly initialise POD members
3235 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3237 * lyxtext.h (top_y): move top_y from here
3242 * BufferView_pimpl.[Ch]: to here
3243 * frontends/screen.C:
3244 * insets/insettabular.C:
3245 * insets/insettext.C: adjust
3246 * rowpainter.[Ch] (paintRows): remove LyXText & argument
3248 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3251 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3253 2003-08-26 André Pönitz <poenitz@gmx.net>
3255 * paragraph_func.[Ch] (outerPar): new function
3258 * paragraph_funcs.C:
3259 * paragraph_funcs.h:
3260 * paragraph_pimpl.C:
3261 * text2.C: remove Inset::par_owner
3263 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
3268 * text2.C: eliminates the needFullRow/display() stuff
3269 altogether, putting the logic in metrics/draw in the insets.
3271 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
3273 * text2.C (redoParagraphInternal, redoParagraphs):
3274 * text.C (redoParagraph): add a call to updateRowPositions at the
3275 end of each 'metrics-like' call. Remove all others.
3276 (getRow): remove the 'y-computing' version.
3277 (getRowNearY): do not compute nor return the real y. Solve the
3278 'y < 0' problem and simplify.
3280 2003-08-22 Angus Leeming <leeming@lyx.org>
3282 * *.[Ch]: clean-up of licence and author blurbs.
3283 Also move config.h out of a few .h files and into a few .C files.
3285 2003-08-22 André Pönitz <poenitz@gmx.net>
3287 * lyxrow.[Ch]: add x_ and *fill_ members
3292 * text2.C: adjust/remove prepareToPrint() calls
3294 2003-08-22 André Pönitz <poenitz@gmx.net>
3296 * lyxrow.[Ch]: add end_ member
3298 * lyxrow_funcs.C: use LyXRow::end_
3300 * lyxtext.h (singleWidth): add LyXFont parameter
3303 * text2.C: adjust LyXText::singleWidth() calls
3305 * text.C (redoParagraph): simplify row breaking logic
3308 2003-08-19 André Pönitz <poenitz@gmx.net>
3310 * funcrequest.C: initialize button_ member
3313 * rowpainter.[Ch]: interface consolidation
3315 2003-08-18 André Pönitz <poenitz@gmx.net>
3318 * BufferView_pimpl.C:
3320 * paragraph_funcs.C:
3322 * text3.C: remove LyXScreen::draw() and fitCursor calls
3324 * BranchList.h: remove spurious semicolons
3326 * MenuBackend.C: fix branchlist related crash
3328 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
3336 * bufferparams.[Ch]:
3340 * text3.C: implements the 'branch inset'
3341 idea. This allows the output of various versions of a document
3342 from a single source version, selectively outputing or suppressing
3343 output of parts of the text.
3344 This implementation contains a 'branch list editor' in a separate
3345 tab of the document settings dialog. Branches are user definable
3346 and have a "display colour" to distinguish them on-screen.
3348 ColorHandler was somewhat cleaned up.
3349 (1) make possible a dynamically growing LColor list by allowing
3350 the graphic context cache to grow along (vector);
3351 (2) eliminate an IMHO unnecessary step in colour allocation.
3353 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
3355 * BufferView_pimpl.C: compile fix
3357 2003-08-15 André Pönitz <poenitz@gmx.net>
3359 * rowpainter.C: remove extra metrics calls
3361 * lyxtext.h: merge the two constructors into a single one,
3362 pass reference to owner's par list
3364 * BufferView_pimpl.C:
3368 2003-08-15 André Pönitz <poenitz@gmx.net>
3370 * lyxrow_funcs.[Ch]:
3373 * paragraph_funcs.C:
3378 * text_funcs.C: split LyXText::rowlist_ into individual
3379 Paragraph::rows_ chunks
3382 * BufferView_pimpl.[Ch]:
3385 * text3.C: remove toggleSelection()
3387 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
3389 * bufferlist.C: beautify two alerts (shorter text of buttons)
3390 * buffer.C: Remove redundant ' ' from message
3392 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3393 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3394 rename VALIGN_CENTER to VALIGN_MIDDLE
3396 2003-08-11 André Pönitz <poenitz@gmx.net>
3398 * lyxtext.h (getPar):
3399 * text.C: new function
3401 2003-08-11 André Pönitz <poenitz@gmx.net>
3404 * tracer.[Ch]: remove unneeded files
3406 * InsetList.[Ch]: remove resizeInsetsLyXText()
3411 * text3.C: merge insertParagraphs() and appendParagraph()
3412 remove breakAgain(), update()
3414 * BufferView_pimpl.[Ch]:
3415 * bufferview_funcs.[Ch]:
3419 * tabular.C: adjust after text & InsetList changes.
3421 2003-08-08 André Pönitz <poenitz@gmx.net>
3423 * text.C (insertChar, backspace): replace rowlist fiddling
3424 with rebreak of full par
3427 * text.C (breakAgainOneRow, redoHeightOfParagraph,
3428 checkParagraph, updateInset): removed
3430 2003-08-07 André Pönitz <poenitz@gmx.net>
3433 * text3.C: merge some LFUN handlers, remove dead code
3435 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3437 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3439 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
3441 * text2.C (DEPM): fix part of bug 1255 and 1256
3443 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3445 * BufferView_pimpl.C (workAreaDispatch): change to use
3446 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3447 that are no mouse related.
3449 2003-08-05 André Pönitz <poenitz@gmx.net>
3452 * BufferView_pimpl.[Ch]:
3453 * bufferview_funcs.C:
3455 * text3.C: rip out "deep update"
3457 * textcursor.[Ch] (last_sel_cursor): remove unused member
3459 2003-08-04 André Pönitz <poenitz@gmx.net>
3462 * BufferView_pimpl.[Ch]:
3463 * ParagraphParameters.C:
3464 * bufferview_funcs.C:
3470 * text3.C: replace "complicated" BufferView::update(...) calls with
3473 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3475 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
3477 * Makefile.am (lyx_SOURCES): add paper.h
3479 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3481 * Makefile.am: move things around so that both lyx-qt and
3482 lyx-xforms can be built (according to --with-frontend). Then lyx
3483 is a symbolic link to lyx-[firstfrontend]
3485 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
3487 * Always use std::endl with lyxerr
3489 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
3491 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3493 2003-08-01 André Pönitz <poenitz@gmx.net>
3496 * BufferView_pimpl.[Ch]:
3498 * text3.C: merge BufferView::repaint() and BufferView::update()
3500 2003-08-01 José Matos <jamatos@lyx.org>
3502 * buffer.[Ch]: file_format is no longer a buffer data element.
3504 2003-08-01 André Pönitz <poenitz@gmx.net>
3509 * text2.C: make redoParagraph more independent of current cursor
3511 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3513 * text2.C: remove unneeded members
3515 2003-07-30 André Pönitz <poenitz@gmx.net>
3517 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3519 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3520 create a single function...
3522 * paragraph_funcs.C (moveItem): ... here.
3525 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3527 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3529 * LColor.[Ch]: Add comment and greyedout logical colors.
3531 2003-07-30 André Pönitz <poenitz@gmx.net>
3533 * tabular.C: don't use Assert too heavily. This crashes where it
3536 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
3538 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3539 is disabled (bug 1232)
3541 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3543 * factory.C: limited 'arg' scope
3545 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3547 * factory.C: fixed Note submenu issues
3549 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3551 * factory.C: submenu for Note/Comment/Greyedout
3553 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
3556 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3558 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
3561 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3562 greyedout. Patch provided by Jürgen Spitzmüller.
3564 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3566 * kbmap.C (read): fix error message when reading bind files
3568 2003-07-29 Angus Leeming <leeming@lyx.org>
3570 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3571 certainly does not do what it purports to do. I am doing it, and
3572 us, a favour by killing it.
3574 2003-07-28 José Matos <jamatos@lyx.org>
3576 * buffer.C (readBody, do_writeFile):
3577 * paragraph.C(readParagraph): \end_document replaces \the_end.
3579 2003-07-29 André Pönitz <poenitz@gmx.net>
3582 * BufferView_pimpl.[Ch]:
3586 * textcursor.[Ch]: remove toggleToggle & Co
3588 2003-07-28 José Matos <jamatos@fep.up.pt>
3590 * buffer.C (readParagraph):
3591 * params_func (readParToken, readParagraph):
3592 * paragraph.C (write): \layout -> \begin_layout.
3594 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3596 * lyxlex_pimpl.C (setFile): clean up slightly.
3598 * bufferparams.h: add compressed var
3600 * buffer_funcs.C (readFile): adjust for LyXLex change
3601 (newFile): ditto + simplify
3603 * buffer.C (writeFile): handle writing of compressed files
3605 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3606 Check if the file is compressed and set a bufferparm if so.
3608 * Makefile.am (lyx_LDADD): remove explicit -lz
3610 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3612 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3613 makeDocBookFile): put the real LyX version in the first line of
3617 * version.C.in: remove lyx_docversion
3619 * tabular.C (write_attribute): add a template-based version to
3620 write enums properly
3622 2003-07-28 André Pönitz <poenitz@gmx.net>
3627 * text3.C: use doubles again for x-coordinates. They are needed.
3629 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3631 * messages.C (getLocaleDir): use lyx_localedir()
3633 * lyxlex_pimpl.C (setFile): compress stuff
3635 * buffer.C (writeFile): add some compression stuff
3636 (do_writeFile): new func, dont call expliti close... will this
3639 * Makefile.am (lyx_LDADD): add -lz
3641 2003-07-28 José Matos <jamatos@fep.up.pt>
3643 * buffer.C: increment file format.
3644 * paragraph_funcs (readParagraph, readParToken):
3645 * paragraph.C (readParagraph): add \end_layout.
3647 2003-07-27 Angus Leeming <leeming@lyx.org>
3649 * Makefile.am: remove special casing for configure-time setting of
3650 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3652 * lyx_main.C (init): remove all Jean-Marc's magic setting of
3653 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3655 2003-07-26 André Pönitz <poenitz@gmx.net>
3657 * paragraph_func.[Ch]:
3658 * paragraph.C (realizeFont): inline it whereever it is used
3663 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3666 2003-07-26 André Pönitz <poenitz@gmx.net>
3670 * text2.C: get rid of LyXText::need_break_row
3672 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3674 * toc.[Ch]: put namespace toc inside namespace lyx
3676 * MenuBackend.C (expandToc2): adjust for lyx::toc
3679 * lyxfunc.C (dispatch): adjust for lyx::find
3681 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3682 lyx::find instead. Reorganize a bit.
3683 (LyXReplace): rename to replace
3684 (LyXFind): rename to find
3686 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3689 2003-07-26 André Pönitz <poenitz@gmx.net>
3691 * text.C (setHeightOfRow): restrict scope of temporary variable
3693 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
3694 code (never has been used?)
3696 2003-07-27 Asger Alstrup <alstrup@local>
3698 * text.C (fill): Optimise algorithm to exploit that we can reuse
3699 the LyXFont for many characters.
3700 (setHeightOfRow): Same thing.
3701 (rowBreakPoint): Same thing.
3703 2003-07-26 Asger Alstrup <alstrup@local>
3705 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3707 * text.C (singleWidth): Spurious font copying in hot-spot
3708 singleWidth avoided. Reorder tests for arabic for efficiency.
3710 * text.C (fill): handle empty paragraphs better.
3712 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3715 * encoding.h: add includes
3717 * lyxrc.C: remove reading of bind files
3719 * lyx_main.C (init): setup bindings and menus only if we have a
3722 * kbmap.C (read): new method. Do the actual reading of bind
3725 * converter.C (dvipdfm_options):
3728 (output): adapt PAPER_* enums.
3730 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3732 * bufferparams.h: remove paper-related enums from there
3734 * paper.h: New file. A trivial header file to hold paper-related
3735 enums. It should later expand to contain many paper-related
3738 * lyxrc.C: declare extern displayTranslator
3740 2003-07-27 José Matos <jamatos@fep.up.pt>
3742 * tabular.[Ch] (linuxdoc): add support for tables and figures
3745 2003-07-27 José Matos <jamatos@fep.up.pt>
3747 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3748 consistency in both functions.
3749 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3751 2003-07-26 Asger Alstrup <alstrup@local>
3753 * rowpainter.C (paintRows): Change algorithm to work directly on
3754 the insets rather than asking every character in the document
3755 whether its an inset.
3757 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
3759 * buffer.C (openFileWrite): factorize some code
3761 2003-07-26 Angus Leeming <leeming@lyx.org>
3764 * lyx_main.[Ch]: replace occurances of system_tempdir with
3767 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3769 * rename Inset to InsetOld
3771 2003-07-25 Asger Alstrup <alstrup@diku.dk>
3773 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3774 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3775 which I think is a bit clearer. EDIT is gone, since it was
3776 premature optimisation, and broken for mathed anyway.
3777 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3778 with cursor positioning in insets as well (math insets still do not
3779 work, but that's a different story anyway.) It mysteriously
3780 crashes sometimes with undo in the first paragraph, but I'm fairly
3781 confident that this is a compiler bug.
3783 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3785 * paragraph.C (Paragraph): adjust for new clone return type
3787 (copyIntoMinibuffer): ditto
3789 2003-07-25 Asger Alstrup <alstrup@lyx.org>
3791 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3792 by not having a special case, and always doing a full rebreak of
3793 the document after undo.
3795 2003-07-23 Angus Leeming <leeming@lyx.org>
3797 * factory.C (createInset): InsetExternal::setParams now takes a
3800 2003-07-23 Angus Leeming <leeming@lyx.org>
3802 * factory.C (createInset): changed interface to the external and
3803 graphics mailers' string2params functions.
3805 2003-07-23 Angus Leeming <leeming@lyx.org>
3807 * factory.C (createInset): pass a
3808 Buffer const * parameter to InsetExternalMailer's string2params.
3810 2003-07-22 John Levon <levon@movementarian.org>
3812 * Thesaurus.h: include the right aiksaurus header
3814 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3816 * MenuBackend.C (expand): check menu shortcuts unconditionally
3818 2003-07-21 Angus Leeming <leeming@lyx.org>
3820 * factory.C (createInset): pass a
3821 buffer_path parameter to InsetGraphicsMailer's string2params.
3823 2003-07-21 Angus Leeming <leeming@lyx.org>
3825 * BufferView_pimpl.C (buffer):
3828 * lyxfunc.C (dispatch):
3829 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3830 rather than the grfx shortcut.
3832 2003-07-21 André Pönitz <poenitz@gmx.net>
3834 * rowpainter.C: remove unused variables
3837 * tabular_funcs.h: move to tabular.C
3838 * Makefile.am: adjust
3840 * tabular.[Ch]: basic optical cleaning
3842 * author.h: pass references, not values
3844 2003-07-18 André Pönitz <poenitz@gmx.net>
3852 * text3.C: two-phase drawing for InsetText and InsetTabular
3853 some float -> int changes.
3855 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3857 * lyx_main.C: fix the fix
3859 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3861 * lyx_main.C: fix a crash in batch mode if no files specified
3864 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
3866 * format.[Ch] (papersize): moved to BufferParams
3867 * converter.[Ch] (dvips_options): moved to BufferParams
3868 (dvipdfm_options): moved to anon namespace
3869 * bufferparams.[Ch]: added above functions.
3871 2003-07-17 André Pönitz <poenitz@gmx.net>
3875 * text2.C: don't call inset->update() anymore
3877 * metricsinfo.[Ch]: add convenience constructor
3879 2003-07-16 André Pönitz <poenitz@gmx.net>
3884 * text2.C: replace the LyXCursor::irow_ member with
3885 on-demand computation of the value
3887 2003-07-16 John Levon <levon@movementarian.org>
3889 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3891 2003-07-15 André Pönitz <poenitz@gmx.net>
3894 * text2.C: remove no more needed refresh_row
3896 2003-07-15 André Pönitz <poenitz@gmx.net>
3901 * text3.C: refresh_status tristate -> need_update bool
3903 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
3905 * lyxtext.h (init): remove reinit argument (act as if always true)
3906 * text2.C: adjust to that
3908 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3910 * bufferview_funcs.[Ch]: introduce function replaceSelection()
3911 * text3.C: use it to delete selections in some cases
3912 (bugs 441, 673, 702, 954).
3914 2003-07-14 André Pönitz <poenitz@gmx.net>
3916 * rowpainter.[Ch]: reduce interface
3918 2003-07-14 André Pönitz <poenitz@gmx.net>
3920 * BufferView_pimpl.C:
3921 * text2.C: adjust after removing unused BufferView * argument
3923 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
3925 * text2.C (init): fix a crash fired on resize
3927 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
3929 * buffer.[Ch]: added new closing signal
3930 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3931 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3932 BufferView::Pimpl via the closing the signal
3934 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
3936 * buffer.[Ch]: take out all bv-related from buffer
3938 * BufferView_pimpl.[Ch]: connect to new signals
3939 * CutAndPaste.C: removed useless asserts
3940 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3943 * lyxfunc.C: moved view-related funciontality from vc here
3944 * paragraph.C: removed outdated comments
3947 2003-07-10 André Pönitz <poenitz@gmx.net>
3949 * BufferView_pimpl.C:
3953 * text2.C: remove InsetText::InnerCache, clean up consequences
3955 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
3957 * ispell.C: fix two typos in error messages
3959 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
3961 * Extend Note inset to other forms of annotation like Comment
3962 and Greyedout. Right button click gives dialog.
3964 Files modified or added (+):
3968 * ControlNote.[Ch] +
3970 * Makefile.am in frontends/xforms, frontends/xforms/forms,
3971 frontends/controllers
3975 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3977 * aspell.C: add missing namespace lyx::support
3979 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
3981 * BufferView.[Ch] (newFile): Add
3982 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3983 * LaTeX.[Ch] (message): added this signal and use it
3984 * buffer.[Ch] (busy, message): added these signals and use them
3985 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3989 * importer.C: use buffer signals instead of direct bv calling
3990 * lyx_cb.[Ch] (ShowMessage): removed
3993 * paragraph_funcs.C:
3994 * text2.C: use buffer signals
3996 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3998 * introduce namespace lyx::graphics
4000 2003-07-02 André Pönitz <poenitz@gmx.net>
4002 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4004 2003-07-01 André Pönitz <poenitz@gmx.net>
4011 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4012 text*.C to text_func.C
4014 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4016 * introduce namespace lyx::support
4018 2003-06-30 André Pönitz <poenitz@gmx.net>
4023 * text.C: re-enable --with-included-string
4025 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4027 * textcursor.C: add <config.h>
4029 * text.C (getWord): remove const from word_location arg
4031 * lyxvc.C (getLogFile): fix const type order
4033 * lyxtext.h: remove const from word_location arg, add arg name
4035 * lyxlayout.h: currect type on labeltype.
4037 * importer.C: correct \file
4039 * converter.C (intToFormat): use std:: on ret val, ws changes
4041 * bufferlist.h: correct \file
4043 * buffer.C (makeLinuxDocFile): fix const type order
4044 (makeDocBookFile): ditto
4045 (fillWithBibKeys): use std:: on stdlib args.
4047 * CutAndPaste.C: fix authors.
4048 (availableSelections): use std:: on return vector
4050 2003-06-27 André Pönitz <poenitz@gmx.net>
4052 * BufferView_pimpl.C:
4053 * bufferview_funcs.C:
4061 * text3.C: remove LyXCursor::row_ member
4064 * text.C: rename fullRebreak() to partialRebreak() and implement
4065 a fullRebreak() that really bereks fully
4067 * textcursor.h: new struct for cursor-related data
4069 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
4071 * lyx_main.C (LyX): get full path of document loaded on the
4074 2003-06-26 André Pönitz <poenitz@gmx.net>
4076 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4077 remove unused/broken operator>,<,>=.
4079 * text.C: remove only use of broken operator<= in an Assert().
4081 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4083 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4084 moved errorlist_.clear to showErrorList
4086 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4088 * converter.C (scanLog, runLaTeX):
4089 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4090 move the bv->showErrorList call to the callers
4091 * lyxfunc.C: i.e. here...
4093 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4094 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4095 namespace, the second to...
4096 * buffer_funcs (BufferFormat, parseErrors): added
4097 * errorlist.C (ErrorList(TeXErrors const &)): removed
4099 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4101 * ToolbarBackend.C (getIcon): complain when icon cannot be found
4103 2003-06-24 "Garst R. Reese" <reese@isn.net>
4107 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4109 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4111 * version.C.in: change docversion to 1.4
4113 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
4115 * buffer.C: fix a bug just introduced
4117 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
4119 * buffer.[Ch]: added the parseError signal and use it, removed
4121 * BufferView.[Ch] (addError): moved to ...
4122 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4123 to the Buffer::parseError signal to catch (guess what) parse errors
4124 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4126 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
4128 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4129 ability to create a buffer and to return an existing one from
4130 the list. Moved these functions to...
4131 * buffer_funcs.[Ch]: added
4132 * BufferView.[Ch] (loadLyXFile): added
4133 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4134 job removed from bufferlist::loadLyXFile.
4135 * buffer.C (setReadOnly): make it work without view
4136 (i.e added an if (users))
4138 2003-06-19 Angus Leeming <leeming@lyx.org>
4141 * LyXAction.C (init):
4142 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4143 with LFUN_DIALOG_SHOW <name> <data>.
4145 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4147 * CutAndPaste.C (availableSelections): small compilation fix for
4148 ancient (gcc 2.9x) compilers
4150 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
4152 * text3.C (cursorNext): add tmp var
4154 * text2.C (updateCounters): for function calling out of for clause
4155 (replaceSelectionWithString): ditto
4156 (insertStringAsParagraphs): ditto
4157 (getColumnNearX): add tmp var
4158 (setCursorFromCoordinates): add tmp var
4159 (cursorDownParagraph): add tmp var
4160 (deleteEmptyParagraphMechanism): add tmp var
4162 * text.C (insertChar): add tmp var
4164 * rowpainter.C (paintDepthBar): add tmp var
4166 * CutAndPaste.C (availableSelections): potentially check all
4167 paragraphs in a cut to fill the shown strings.
4169 2003-06-18 André Pönitz <poenitz@gmx.net>
4171 * kbmap.[Ch]: use vector<> instead of list<>
4173 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
4175 * text3.C (dispatch): handle arg to LFUN_PASTE, call
4176 pasteSelection with index
4178 * text2.C (pasteSelection): modify, call pasteSelection with index
4180 * paragraph.C (asString): reimplement version with no interval to
4181 call the one with interval.
4183 * lyxtext.h: add index arg to pasteSelection
4185 * MenuBackend.C (MenuItem): handle PasteRecent
4186 (Menu::read::Menutags): add md_pasterecent
4188 (expandPasteRecent): new function
4191 * MenuBackend.h: add PasteRecent to MenuItem::Kind
4193 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4195 (availableSelections): new function
4197 2003-06-17 Angus Leeming <leeming@lyx.org>
4199 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4201 2003-06-17 Angus Leeming <leeming@lyx.org>
4204 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4206 * lyxfunc.C (dispatch): invoke it.
4208 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4210 * iterators.C (operator++, ParPosition): reintroduce some
4211 const_cast for the benefit of older compilers.
4213 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4215 * text3.C (dispatch): do not modify clipboard when doing
4216 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4217 LFUN_DELETE_SKIP on a selection selection
4219 2003-06-16 André Pönitz <poenitz@gmx.net>
4225 * tabular.[Ch]: IU of clone() and getLabelList();
4227 2003-06-13 André Pönitz <poenitz@gmx.net>
4229 * tabular.h: compactification
4231 2003-06-12 André Pönitz <poenitz@gmx.net>
4235 * tabular_funcs.h: some renaming plus whitespace
4237 2003-06-12 André Pönitz <poenitz@gmx.net>
4240 * BufferView_pimpl.C:
4246 * toc.C: Return a Paragraph & for ParIterator::operator*()
4248 2003-06-11 John Levon <levon@movementarian.org>
4252 * ToolbarBackend.C: add "Toolbars" section and
4255 2003-06-10 Angus Leeming <leeming@lyx.org>
4258 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4260 * lyxfunc.C (dispatch): invoke it.
4262 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4264 * main.C: protect <ios> with HAVE_IOS
4265 (main): protect sync_with_stdio with HAVE_IOS
4267 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
4269 * text2.C (cutSelection): adjust
4270 (pasteSelection): adjust
4272 * messages.C: handle get of empty string
4274 * main.C (main): use sync_with_stdio(false)
4276 * lyxfunc.C (dispatch): adjust
4278 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4279 (WriteAs): remove unneeded BufferView arg.
4281 * bufferparams.h: use correct types on papersize, papersize2 and
4284 * bufferparams.C (readToken): adjust for type
4285 (writeLaTeX): add missing cases to switch.
4287 * bufferlist.C (quitWriteBuffer): adjust
4290 * buffer.C (asciiParagraph): remove some commented code.
4292 * CutAndPaste.C: remove current_view extern variable.
4293 (cutSelection): add BufferParams arg.
4294 (eraseSelection): add BufferParams arg.
4295 (pasteSelection): add Buffer const & arg
4297 2003-06-07 John Levon <levon@movementarian.org>
4300 * paragraph_funcs.C:
4301 * paragraph_pimpl.C:
4305 * paragraph.C: allow InsetERT to freely space lines,
4306 and some consolidation of code
4308 2003-06-06 José Matos <jamatos@fep.up.pt>
4310 * buffer.C (makeDocBookFile): fix bug #821
4312 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
4314 * BufferView_pimpl.C (dispatch): use Dialogs::visible
4316 2003-06-04 Angus Leeming <leeming@lyx.org>
4318 * buffer.C: bump format to 224.
4320 2003-06-05 André Pönitz <poenitz@gmx.net>
4322 * text2.C (redoParagraphs): remove two const_cast<>
4324 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4326 * ParagraphList.h: remove last remnants of NO_STD_LIST
4328 2003-06-03 Angus Leeming <leeming@lyx.org>
4330 * factory.C (createInset): small change to the way InsetExternal's params
4333 2003-06-04 André Pönitz <poenitz@gmx.net>
4335 * buffer.h: use Undo directly instead of shared_ptr<Undo>
4337 * paragraph_pimpl.h:
4338 * paragraph.[Ch]: some Inset -> UpdatableInset changes
4340 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4342 * undo_funcs.C: make some simple cases of undo work again
4344 2003-06-03 John Levon <levon@movementarian.org>
4346 * ispell.C: HPUX doesn't have sys/select.h
4349 2003-06-03 John Levon <levon@movementarian.org>
4351 * CutAndPaste.C: update tabular and include inset
4356 * paragraph.C: remove owningBuffer(), don't pass Buffer
4359 * factory.C: insetGraphicsParams changed
4361 2003-06-02 John Levon <levon@movementarian.org>
4367 * text3.C: remove insetparent
4369 2003-06-02 John Levon <levon@movementarian.org>
4372 * buffer.C: fix inset_iterator.end(), move out of line
4375 2003-06-01 John Levon <levon@movementarian.org>
4377 * text3.C: use a proper cut/paste when doing inset
4378 insert (from Jürgen Spitzmüller)
4380 2003-06-01 John Levon <levon@movementarian.org>
4382 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4384 2003-05-30 André Pönitz <poenitz@gmx.net>
4386 * rowpainter.C: unify second drawing phase
4388 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4390 * trans_mgr.C: remove one case of current_view
4392 * text2.C (cursorBottom): delete NO_STD_LIST stuff
4394 * paragraph_funcs.h: remove paragraph.h include
4396 * paragraph.h: delete NO_STD_LIST stuff
4398 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4400 * buffer.h: remove paragraph.h include
4402 * ParagraphList.C: delete file
4404 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4406 * toc.C (getTocList): adjust
4408 * paragraph_pimpl.C (validate): adjust
4410 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4412 * paragraph.C (Paragraph): adjust
4413 (getPositionOfInset): use const_iterator, adjust
4414 (bibitem): use const_iterator, adjust
4415 (setInsetOwner): adjust
4417 * iterators.C (operator++): adjust
4419 * InsetList.[Ch]: Replace selfmade iterator with standard
4420 vector::iterator also introduce const_iterator. Remove getPos,
4421 getInset and setInset from InsetTable. Adjust accordingly.
4423 * BufferView.C (lockInset): adjust
4424 (ChangeInsets): adjust
4426 * tabular.[Ch]: delete commented same_id functions
4428 2003-05-28 John Levon <levon@movementarian.org>
4430 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4432 2003-05-28 André Pönitz <poenitz@gmx.net>
4434 * metricsinfo.[Ch]: remove 'fullredraw' member
4436 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
4438 * lyxtextclass.C (operator): remove caching.
4440 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4444 * text2.C (cursorBottom): adjust
4445 (setCounter): use ParagraphList::find, adjust
4447 * text.C (workWidth): use ParagraphList::find, adjust
4449 * lyxcursor.C (LyXCursor): adjust
4451 * buffer.C (inset_iterator): adjust
4453 * ParagraphList.h: make iterator(value_type) private, make
4454 ParagraphList a friend of iterator.
4456 * ParagraphList.C (find): new function
4458 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4460 2003-05-27 André Pönitz <poenitz@gmx.net>
4462 * dimension.[Ch]: a -> asc, d -> des, w -> wid
4464 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4466 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4468 2003-05-26 John Levon <levon@movementarian.org>
4470 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4472 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4474 * remove same_id from function signatures, adjust.
4476 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4478 * undo_funcs.C (createUndo): use the id functions directly, adjust.
4480 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4482 * paragraph.C (Paragraph): get rid of same_ids parameter
4484 * ParagraphList.C (insert): adjust
4487 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4489 * paragraph_funcs.C (breakParagraph): adjust
4490 (breakParagraphConservative): adjust
4492 * buffer.C (readParagraph): adjust
4494 * ParagraphList.C (insert): take a reference instead of a pointer
4497 * paragraph.[Ch] (id): new function
4499 * bufferlist.C (newFile): adjust
4501 * ParagraphList.C (ParagraphList): adjust
4503 (push_back): take a reference instead of a pointer.
4505 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4507 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4510 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4511 set else use old code.
4513 * ParagraphList.C: remove all NO_NEXT code and only compile this
4514 code of NO_STD_LIST is set.
4516 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4518 * BufferView_pimpl.C:
4528 * graphics/GraphicsConverter.C:
4529 * graphics/PreviewLoader.C: header adjustment
4531 2003-05-23 Angus Leeming <leeming@lyx.org>
4533 * LaTeXFeatures.[Ch] (useBabel): new method.
4534 * bufferparams.C (writeLaTeX): use it.
4536 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4538 * ParagraphList.h (set): remove unused function.
4540 2003-05-23 André Pönitz <poenitz@gmx.net>
4543 * BufferView_pimpl.C:
4547 * undo_funcs.C: setUndo reworked
4549 * iterators.[Ch]: add access to topmost ParagraphList
4551 * lyxtext.[Ch] (workWidth): add a const
4553 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4555 * texrow.[Ch] (increasePos): remove function
4556 * exporter.C (export): removed unused var and outdated comment
4558 2003-05-23 Angus Leeming <leeming@lyx.org>
4560 * latexrunparams.h: rename fragile as moving_arg.
4561 * paragraph.C (simpleTeXOnePar): ditto.
4562 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4564 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4566 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4568 (textUndoOrRedo): comment out a currently unused var.
4570 * paragraph.h (NO_NEXT): enable NO_NEXT
4572 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4574 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4576 * exporter.C (Export): adjust for removeAutoInsets removal.
4578 * buffer.C (runChktex): adjust for removeAutoInsets removal.
4580 * LyXAction.C (init): remove LFUN_REMOVEERRORS
4582 * BufferView.[Ch] (removeAutoInsets): delete function
4584 2003-05-22 Angus Leeming <leeming@lyx.org>
4586 * latexrunparams.h: add a free_spacing variable.
4588 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4589 to pass moving_arg, as the data is stored in runparams.fragile.
4591 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4592 to Inset::latexOptional or to simpleTeXOnePar.
4594 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4595 free_spacing arg to Inset::latexOptional.
4597 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4600 2003-05-22 Angus Leeming <leeming@lyx.org>
4602 * latexrunparams.h: add fragile and use_babel variables.
4604 * bufferparams.[Ch] (writeLaTeX): return use_babel.
4605 * buffer.C (makeLaTeXFile): store this returned value in
4606 runparams.use_babel, thus passing it to the inset::latex methods.
4608 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4609 simpleTeXSpecialChars as it is now stored in runparams.fragile.
4611 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4612 longer has a fragile arg, as it is stored in runparams.fragile.
4614 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4615 moving_arg parameter as the data is stored in runparams.fragile.
4617 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4618 a fragile parameter as the data is stored in runparams.fragile.
4620 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4622 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4624 2003-05-22 Angus Leeming <leeming@lyx.org>
4626 * latexrunparams.h: add a 'bool nice' which defaults to false.
4628 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4629 now encapsulated within runparams.
4631 * bufferlist.C (updateIncludedTeXfiles):
4632 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4634 2003-05-22 Angus Leeming <leeming@lyx.org>
4636 * latexrunparams.h: new file containing struct LatexRunParams.
4637 * Makefile.am: add new file.
4639 * LaTeX.[Ch] (c-tor, run):
4640 * buffer.[Ch] (makeLaTeXFile):
4641 * bufferlist.[Ch] (updateIncludedTeXfiles):
4642 * converter.C (convert, scanLog):
4643 * converter.[Ch] (runLaTeX):
4644 * exporter.C (Export):
4645 * paragraph.[Ch] (simpleTeXOnePar):
4646 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4647 * paragraph_funcs.[Ch] (latexParagraphs):
4648 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4649 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4650 pass around a LatexRunParams parameter.
4652 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4654 * paragraph.[Ch]: remove unused constructor
4656 * ParagraphList.C (erase): new function, taking two iterators
4658 2003-05-22 André Pönitz <poenitz@gmx.net>
4660 * undo_funcs.C: remove duplicated code
4662 * iterator.[Ch]: operator=
4664 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4666 * tabular.C (SetMultiColumn): ws changes
4668 * rowpainter.C (paintFirst): get rid of a ->previous
4670 * lyx_cb.C (getPossibleLabel): parlist simplification
4672 * BufferView.C (ChangeInsets): simplify slightly.
4674 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4676 * LyXAction.C: new lfun space-insert, kill protected-space-insert
4677 * lfuns.h: new LFUN_SPACE
4678 * lyxfunc.C: protected space has a new lfun
4679 * paragraph_funcs.C: read new space insets
4681 * factory.C: handle new space insets
4683 2003-05-22 André Pönitz <poenitz@gmx.net>
4686 * BufferView_pimpl.C:
4689 * undo_funcs.C: return a ParIterator from getParFromID.
4691 * iterators.[Ch]: add two const's
4693 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4695 * toc.C (getTocList): adjust
4697 * iterators.[Ch]: rework for parlist
4699 * buffer.C (par_iterator_begin): adjust
4700 (par_iterator_end): adjust
4702 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4704 * BufferView.C (removeAutoInsets): adjust
4705 (ChangeInsets): adjust
4707 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
4709 * text.C (top_y): fix bug 1110
4711 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
4713 * errorlist.[Ch]: added
4716 * BufferView_pimpl.C:
4717 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4720 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4722 * Makefile.am: ensure that lyx is relinked upon changes to the
4723 various "convenience" libs.
4725 2003-05-20 Angus Leeming <leeming@lyx.org>
4727 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4728 files are compiled in alphabetical order again.
4730 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4732 2003-05-19 Angus Leeming <leeming@lyx.org>
4734 * gettext.[Ch]: remove "char const * _(char const *)".
4736 2003-05-19 André Pönitz <poenitz@gmx.net>
4738 * dimension.[Ch]: promote from mathed/dimension.[Ch]
4747 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4749 2003-05-19 André Pönitz <poenitz@gmx.net>
4753 * lyxtextclass.[Ch]:
4755 * paragraph_funcs.[Ch]:
4757 * text3.C: more insetenv work
4759 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
4761 * ParagraphParameters.C (params2string): small bug fixed
4763 2003-05-16 André Pönitz <poenitz@gmx.net>
4766 * bufferview_funcs.C: patch from Kornel Benko to prevent
4767 crash when _(...) is called twice in a statement
4769 2003-05-16 André Pönitz <poenitz@gmx.net>
4776 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4778 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
4780 * lyx_main.C (init): remove spurious static_cast
4782 2003-05-14 André Pönitz <poenitz@gmx.net>
4784 * BufferView.C: fix format string
4786 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
4788 * BufferView.[Ch] (insertErrors): removed
4789 * BufferView.[Ch] (showErrorList): added
4790 * buffer.C (runChkTeX):
4791 * converter.C (scanLog): call showErrorList instead of inserterrors
4793 2003-05-13 André Pönitz <poenitz@gmx.net>
4795 * BufferView_pimpl.C:
4797 * bufferview_func.C:
4804 * tabular_funcs.h: tostr() from its own header
4806 * ParagraphParameters.C:
4811 * text3.C: STRCONV()
4813 2003-05-12 André Pönitz <poenitz@gmx.net>
4816 * BufferView_pimpl.C:
4820 * ParagraphParameters.C:
4824 * bufferview_funcs.C:
4837 * paragraph_funcs.C:
4841 * text3.C: boost::format -> bformat all over the place
4844 2003-05-09 André Pönitz <poenitz@gmx.net>
4846 * LColor.[Ch]: Pimpl the #include <map> away
4848 2003-05-09 John Levon <levon@movementarian.org>
4850 * bufferlist.C: never remove emergency saves
4852 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4854 * Makefile.am: better lib building
4856 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4858 * texrow.[Ch]: remove dependency on Paragraph and just store a id
4860 * paragraph_pimpl.C (simpleTeXBlanks): adjust
4861 (simpleTeXSpecialChars): adjust
4862 (simpleTeXSpecialChars): adjust
4863 * paragraph.C (simpleTeXOnePar): adjust
4864 * buffer.C (makeLaTeXFile): adjust
4866 * Makefile.am (BOOST_LIBS): allow boost as system lib.
4868 * text2.C (changeDepth): parlist cleanup
4869 (getColumnNearX): ditto
4871 * rowpainter.C (getLabelFont): parlist cleanup
4873 * bufferlist.C (newFile): parlist cleanup
4875 * CutAndPaste.C (eraseSelection): parlist cleanup
4877 * BufferView_pimpl.C (trackChanges): parlist cleanup
4880 * BufferView.C (lockInset): parlist cleanup.
4881 (ChangeInsets): ditto
4883 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4885 * CutAndPaste.h: Update file header.
4887 * CutAndPaste.C: Update file header.
4888 Store the parts cut out of the Document in a limited_stack.
4889 (copySelection): adjust
4890 (pasteSelection): new function, takes the index in the limited stack.
4891 (nrOfParagraphs): adjust
4892 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4893 simplify error inset insertion.
4894 (checkPastePossible): adjust
4896 2003-05-06 John Levon <levon@movementarian.org>
4898 * text2.C: don't cast wrap inset to float
4900 2003-05-05 André Pönitz <poenitz@gmx.net>
4903 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4905 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4906 few naked Paragraph *.
4908 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
4910 * bufferparams.C: Output warning if a document with missing
4911 TeX document class is loaded
4912 * exporter.C: Disable TeX exports if the document class is missing
4915 * lyxtextclasslist.C: Handle new textclass.lst format; new method
4916 isTeXClassAvailable()
4918 2003-05-03 John Levon <levon@movementarian.org>
4921 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4922 explicit cursor show/hide
4924 * BufferView_pimpl.h:
4925 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4926 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4928 * lyxfunc.C: hide cursor before dispatching.
4933 * text3.C: remove explicit cursor hides
4935 2003-05-02 André Pönitz <poenitz@gmx.net>
4937 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4940 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4943 * text2.C: tiny whitespace
4945 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4947 * undo_funcs.C: almost only ws changes.
4949 * ParagraphList.C (splice): just return if pl is empty.
4951 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4953 * ParagraphList.C (splice): new function.
4955 * CutAndPaste.C (pasteSelection): use it
4957 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4959 * CutAndPaste.C (pasteSelection): remove the last next and
4960 previous from this file.
4962 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4964 * CutAndPaste.C (pasteSelection): more clean up, user proper
4965 ParagraphList functions for pasteing.
4967 * ParagraphList.C (insert): new function, three arg insert
4969 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4971 * ParagraphList.C (insert): new function, three arg insert
4973 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4976 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4978 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4980 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4982 * CutAndPaste.C (pasteSelection): remove some unneeded code.
4984 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4986 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4987 (copySelection): clean up a bit.
4988 (pasteSelection): use make_pair
4990 * ParagraphList.C (ParagraphList): implement copy constructor
4991 (operator=): implement, base on copy constructor.
4994 * paragraph.C (erase): return a bool
4996 * paragraph_pimpl.C (erasePos): remove function, move contents...
4997 (erase): ... here. Return a bool.
4998 (erase): call erase instead of erasePos.
5000 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
5002 * ParagraphList.h: define PitPosPair
5003 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5004 ParagraphList, fix a bug on pasting multiple pars
5005 * text2.C: change interface to C&P
5007 2003-04-30 André Pönitz <poenitz@gmx.net>
5009 * undo_func.C: revert part of yesterday's patch 2
5011 2003-04-30 John Levon <levon@movementarian.org>
5013 * LColor.C: s/tabular/table/
5015 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5017 * text3.C (dispatch): do not convert iterator -> pointer
5018 * undo_funcs.C (setCursorParUndo): ditto
5019 * text_funcs.C (transposeChars): ditto
5021 * text2.C (setLayout): ws changes only
5023 * text.C (breakParagraph): do not convert iterator -> pointer
5025 (acceptChange): ditto
5026 (rejectChange): ditto
5031 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5034 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5036 * text3.C (gotoInset): YABG (yet another bad getChar)
5038 2003-04-29 André Pönitz <poenitz@gmx.net>
5040 * paragraph.h: make operator= private unimplemented as long as
5043 * ParagraphList.C: whitespace
5046 * paragraph_pimpl.[Ch]:
5047 * paragraph_funcs.C:
5049 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
5052 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5054 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5056 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5057 * paragraph.[Ch] (erase):
5058 * paragraph_pimpl.[Ch] (erase): change return type and value
5059 * text2.C (cutSelection): some rework
5061 2003-04-28 John Levon <levon@movementarian.org>
5063 * bufferlist.C: changes for unsaved changes dialog
5065 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5067 * bufferlist.C (newFile): set language (messages_) for new
5070 * buffer.C (readFile): ws changes only.
5072 2003-04-28 André Pönitz <poenitz@gmx.net>
5077 * BufferView_pimpl.C:
5078 * BufferView.C: getParFromID related ParagraphList::iterator changes
5080 2003-04-28 André Pönitz <poenitz@gmx.net>
5082 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5085 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5087 * messages.C: remove one more localedir class variable.
5089 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5091 * messages.C (getLocaleDir): singleton generation function
5093 (Messages): add a default constructor.
5095 * main.C (main): do not setup localedir here, do not call
5098 * gettext.C (_): use it.
5099 (gettext_init): delete funciton
5101 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5103 * gettext.C (getLyXMessages): new singleton generating function.
5105 * buffer.C (updateDocLang): adjust
5107 * Makefile.am (messages.o): add target
5108 (main.o): remove target
5110 2003-04-27 John Levon <levon@movementarian.org>
5115 * lyxvc.C: specify cancel button in Alert::prompt
5117 2003-04-26 John Levon <levon@movementarian.org>
5122 * LyXAction.C: add LFUN_INSET_SETTINGS
5124 * lyxfunc.C: don't enable tabular-feature when there's
5125 just any locking inset
5127 2003-04-26 John Levon <levon@movementarian.org>
5129 * bufferlist.C: re-add Cancel to buffer close question
5131 * lyxfunc.C: fix import UI a bit
5133 2003-04-25 John Levon <levon@movementarian.org>
5135 * gettext.C: remove the broken asserts for now
5137 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5139 * messages.C: make case where setlocale cannot comply work better.
5141 * buffer.C (updateDocLang): new function
5142 (changeLanguage): use it
5145 * text2.C (setCounter): use B_ a bit.
5147 * lyxlayout.C (Read): be sure to trim the label strings.
5149 * messages.C (Messages): fix typo in comment
5151 * buffer.C (readFile): set message_ after file is loaded.
5152 (makeDocBookFile): remove double return
5153 (changeLanguage): reset message_ upon language change.
5154 (B_): new func, use this to get translated buffer strings.
5156 * main.C: add myself and Jean Marc as authors.
5158 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5160 * messages.[hC]: pimplify Messages, and three different pimpls to be
5161 used in different circumstances.
5163 * gettext.[Ch]: change for use with new message code.
5165 2003-04-24 André Pönitz <poenitz@gmx.net>
5167 * factory.C: support for eqref
5169 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5171 * messages.[Ch]: add missing char
5173 * Makefile.am (lyx_SOURCES): add messages.[Ch]
5175 * messages.[Ch]: New files
5177 2003-04-18 John Levon <levon@movementarian.org>
5181 * BufferView_pimpl.C:
5185 * text2.C: remove layout-copy/paste (bug 778)
5187 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5189 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5191 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5193 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5194 if they succeed. Act accordingly.
5196 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5198 * text2.C (setCharFont): adjust
5199 (setCounter): adjust
5200 (insertStringAsLines): adjust
5202 * text.C (leftMargin): adjust
5203 (setHeightOfRow): adjust
5205 * rowpainter.C (paintFirst): adjust
5208 * paragraph_funcs.C (depthHook): ParagraphList::iterators
5210 (isFirstInSequence): ditto
5211 (getEndLabel): ditto
5214 * paragraph.C (getParLanguage): comment out some hard stuff.
5216 * buffer.C (insertStringAsLines): take a ParagraphList as arg
5218 (simpleDocBookOnePar): ditto
5219 (makeDocBookFile): use ParagraphList::iterator
5221 * CutAndPaste.C (pasteSelection): adjust
5223 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5225 * text2.C (getFont): adjust
5226 (getLayoutFont): adjust
5227 (getLabelFont): adjust
5229 * paragraph_funcs.C (TeXOnePar): adjust
5231 * buffer.C (simpleLinuxDocOnePar): adjust
5232 (simpleDocBookOnePar): adjust
5234 * CutAndPaste.C (pasteSelection): adjust
5236 * BufferView.C (getEncoding): adjust
5238 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5240 2003-04-16 John Levon <levon@movementarian.org>
5242 * lyxfind.C: use parlist stuff for search/changes
5244 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5246 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5248 * text2.C (deleteEmptyParagraphMechanism): adjust
5250 * text2.[Ch] (ownerParagraph): delete func (both of them
5252 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5254 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5256 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5258 * ParagraphList.C: prepare for NO_NEXT
5260 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5262 * text2.C (getFont): adjust
5263 (getLayoutFont): adjust
5264 (getLabelFont): adjust
5266 * paragraph.C (getFont): adjust
5267 (getLabelFont): adjust
5268 (getLayoutFont): adjust
5270 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5272 2003-04-15 John Levon <levon@movementarian.org>
5276 * lyx_main.C: handle Include in .ui files
5278 2003-04-15 John Levon <levon@movementarian.org>
5280 * MenuBackend.C: make the doc files length shorter
5283 * ToolbarBackend.C: handle toolbar placement flags,
5286 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5288 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5291 * paragraph_funcs.C (TeXOnePar): adjust
5293 * paragraph.C (getLabelFont): add outerfont arg, adjust
5294 (getLayoutFont): ditto
5295 (simpleTeXOnePar): adjust
5297 * paragraph_pimpl.C (realizeFont): delete func
5299 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
5301 * text2.C (beforeFullRowInset): added a bad getchar check, removed
5302 row argument, constify cur argument.
5304 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5306 * text2.C (getFont): adjust
5307 (getLayoutFont): adjust
5308 (getLabelFont): adjust
5310 * paragraph_funcs.C (TeXOnePar): adjust
5311 (outerFont): new func...
5312 (realizeFont): ...moved out from here, changed this to facilitate
5315 * paragraph.C (getFont): take outerfont as arg, adjust
5316 (simpleTeXOnePar): add outerfont arg, adjust
5318 * buffer.C (simpleLinuxDocOnePar): adjust
5319 (simpleDocBookOnePar): adjust
5321 * CutAndPaste.C (pasteSelection): adjust
5323 * BufferView.C (getEncoding): adjust
5325 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5327 * text2.C (setCharFont): adjust
5328 (setCounter): adjust
5330 * text.C (leftMargin): adjust
5331 (setHeightOfRow): adjust
5333 * rowpainter.C (paintFirst): adjust
5336 * paragraph_pimpl.C (realizeFont): adjust
5338 * paragraph.C (isFirstInSequence): move from here...
5339 * paragraph_funcs.C (isFirstInSequence): ...to here
5341 * paragraph.C (outerHook): move from here...
5342 * paragraph_funcs.C (outerHook): ...to here
5344 * paragraph.C (depthHook): move from here...
5345 * paragraph_funcs.C (depthHook): ...to here
5347 * paragraph.C (getEndLabel): move from here...
5348 * paragraph_funcs.C (getEndLabel): ...to here
5350 * text2.C (realizeFont): move from here...
5351 * paragraph_funcs.C (realizeFont): ...to here
5353 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5355 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5357 2003-04-14 Angus Leeming <leeming@lyx.org>
5359 * LColor.[Ch]: scrap LColor mathcursor.
5361 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5363 * lyxlex.[Ch] (text): delete function
5364 * trans.C (Load): adjust
5365 * paragraph_funcs.C (readParToken): adjust
5367 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5369 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5370 vector<char> instead of a char[].
5372 * lyxlex_pimpl.C (getString): adjust
5374 (lex): use getString
5378 * lyxlex.C (text): use pimpl_->getString()
5382 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5384 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5385 (makeFontEntriesLayoutSpecific): temp var for par.size()
5386 (setLayout): temp var for ownerParagraphs().end()
5387 (fullRebreak): temp var for rows().end()
5388 (selectionAsString): temp var for boost::next(startpit), realize
5389 that the while really is a regular for loop.
5390 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5391 setCursor in one place.
5392 (setParagraph): temp vr for ownerParagraphs().end()
5393 (updateCounters): make the while loop a for loop
5394 (cutSelection): temp var for ownerParagraphs().end()
5395 (updateInset): make the do {} while() a regular for loop
5396 (getCursorX): use temp vars
5397 (setCurrentFont): use temp vars
5398 (getColumnNearX): use temp vars
5400 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5402 * text.C (transformChar): use temp var for getChar
5403 (computeBidiTables): use temp var for row->par()
5404 (fill): move temp vars for row->par() and pit->layout() earlier in
5406 (labelFill): use temp var for row->par()
5407 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5408 asc and desc, realize that pit never changes and that firstpit is
5409 just a duplicate and not needed. Exchange rit->par() with pit in a
5411 (breakAgain): use a temp var for boost::next(rit)
5412 (breakAgainOneRow): ditto
5413 (breakParagraph): use a temp var for rows().begin()
5414 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5415 (cursorRightOneWord): use temp var for cursor.par() and
5416 cursor.pos(), remove usage of tmpcursor.
5417 (cursorLeftOneWord): use temp var for cursor.par() and
5418 cursor.pos() only set cur at end of function.
5420 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5422 * text.C, text2.C: exchange all usage of Paragraph::next with
5423 boost::next(ParagraphList::iterator)
5425 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5427 * text2.C (cursorTop): simplify implementation
5428 (cursorBottom): ditto
5429 (setParagraph): use ParagraphList::iterator
5430 (setCurrentFont): adjust
5431 (getColumnNearX): adjust
5432 (cursorRight): adjust
5433 (cursorLeft): remove usage of Paragraph::previous
5434 (cursorUpParagraph): ditto
5435 (deleteEmptyParagraphMechanism): slight cleanup
5437 * text.C (isBoundary): take a Paragraph const & instead of a
5439 (addressBreakPoint): ditto
5440 (leftMargin): remove usage of Paragraph::previous.
5441 (setHeightOfRow): ditto
5442 (cursorLeftOneWord): ditto
5443 (selectNextWordToSpellcheck): ditto
5446 (breakParagraph): remove one usage of Paragraph::next
5447 (redoParagraph): ditto
5448 (acceptChange): ditto
5449 (insertChar): adjust
5450 (rowBreakPoint): adjust
5452 * bufferview_funcs.C (toggleAndShow): adjust
5454 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
5456 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5457 methods to access it.
5459 * text.C: Added updateRowPositions to compute all row positions.
5460 Make top_y and getRowNearY() to use the cached y position
5462 2003-04-11 John Levon <levon@movementarian.org>
5464 * text.C (rowBreakPoint): reintroduce the labelEnd
5465 checks, code copied from the row fill stuff. Deep voodoo.
5467 * text.C (fill): add a comment and debugging for the
5470 2003-04-11 John Levon <levon@movementarian.org>
5472 * text.C: make sure fullrow insets get wrapped to the next line,
5473 even when they're in a manual label
5475 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5477 * text2.C (insertParagraph): make it take ParagraphList::iterator
5479 (setLayout): make it return ParagraphList::iterator
5480 (redoParagraphs): ditto
5482 (checkParagraph): ditto
5484 * text.C (getRow): make getrow take ParagraphList::iterator as arg
5486 * text2.C: adjust several funcs.
5487 (realizeFont): take a ParagraphList::iterator as arg.
5488 (getLayoutFont): ditto
5489 (getLabelFont): ditto
5490 (setCharFont): ditto
5492 * text.C: adjust several funcs.
5494 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5496 * text.C (selectNextWordToSpellcheck): don't accidentally
5499 2003-04-10 John Levon <levon@movementarian.org>
5501 * ToolbarBackend.C (getIcon): special handling for
5504 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5506 * text2.C (cursorRight): a getChar assert fixed
5508 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5510 * text2.C (getFont): change to take a ParagraphList::iterator
5511 instead of Paragraph*
5512 Adjust several functions.
5514 * text.C (transformChar): change to take a ParagraphList::iterator
5515 instead of Paragraph*
5516 (singleWidth): ditto
5517 Adjust several functions.
5519 * rowpainter.C: adjust several functions
5520 * rowpainter.h:store a ParagraphList::iterator and not a
5524 2003-04-09 John Levon <levon@movementarian.org>
5529 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5530 and the "help" bits as well
5532 2003-04-09 John Levon <levon@movementarian.org>
5535 * ToolbarBackend.C: allow multiple toolbars
5537 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5539 * undo_funcs.C (setCursorParUndo): adjust
5541 * text_funcs.C (transposeChars): adjust
5543 * text3.C (gotoNextInset): adjust
5546 * text2.C (setLayout): adjust
5547 (changeDepth): adjust
5549 (redoParagraphs): adjust
5550 (selectionAsString): adjust
5551 (setParagraph): adjust
5552 (insertInset): adjust
5553 (cutSelection): adjust
5554 (copySelection): adjust
5555 (pasteSelection): adjust
5556 (insertStringAsLines): adjust
5557 (updateInset): adjust
5558 (setCursor): change to take a ParagraphList::iterator parameter
5559 (setCursorIntern): change to take a ParagraphList::iterator parameter
5560 (setCurrentFont): adjust
5561 (cursorLeft): adjust
5562 (cursorRight): adjust
5563 (deleteEmptyParagraphMechanism): adjust
5565 * text.C (breakParagraph): adjust
5566 (insertChar): adjust
5567 (acceptChange): adjust
5568 (rejectChange): adjust
5569 (selectNextWordToSpellcheck): adjust
5570 (changeCase): adjust
5574 * lyxfind.C (SearchForward): adjust
5575 (SearchBackward): adjust
5576 (nextChange): adjust
5578 * lyxcursor.C (par): adjust
5580 * lyxcursor.h: store a ParagraphList::iterator instead of a
5583 * lyx_cb.C (getPossibleLabel): adjust
5585 * bufferview_funcs.C (toggleAndShow): adjust
5587 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5590 * BufferView.C (removeAutoInsets): adjust
5591 (lockedInsetStoreUndo): adjust
5593 2003-04-09 John Levon <levon@movementarian.org>
5595 * ToolbarBackend.C: try icon without argument
5596 if with argument fails
5598 2003-04-08 John Levon <levon@movementarian.org>
5601 * ToolbarBackend.C: add getIcon(), handle tooltip,
5602 and change from "Icon" to "Item".
5604 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5606 * BufferView.C (lockInset): another bad getchar crunched
5608 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5610 * text2.C (changeDepth): do not setUndo on test_only (make undo work
5613 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
5615 * lyxfind.C (searchForward, searchBackwards): bug 782
5617 2003-04-07 John Levon <levon@movementarian.org>
5619 * paragraph.C: remove dead comment
5621 * text.C: remove troublesome depth-fiddling code
5622 in leftMargin() and rightMargin() (bug 1017)
5624 * text.C: fix breaking of rows in nested lists
5627 * text2.C (updateCounters): fix up depth values
5630 2003-04-07 John Levon <levon@movementarian.org>
5632 * BufferView_pimpl.C: clear message when doc finishes resizing,
5633 and after a mouse event
5635 * lyxfunc.C: clear message after exiting inset
5637 2003-04-07 John Levon <levon@movementarian.org>
5639 * bufferview_funcs.C: show math status not outside
5640 status in the statusbar
5642 2003-04-07 John Levon <levon@movementarian.org>
5644 * lyxfunc.C: note status changed after a depth change
5646 2003-04-04 Angus Leeming <leeming@lyx.org>
5648 * LaTeX.h: move AuxInfo operator==, != out of line.
5649 Remove LaTeX virtual destructor; nothing derives from it.
5650 Move operator()() out of public area and rename it startscript().
5651 Change protected for private.
5653 2003-04-04 Angus Leeming <leeming@lyx.org>
5656 * text2.C: remove unneeded #includes.
5658 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5660 * text2.C (dEPM): fix the heigth of the next row
5662 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5664 * text.C: squashed an invalid getChar requester + some ws changes
5666 2003-04-03 John Levon <levon@movementarian.org>
5668 * bufferview_funcs.h:
5669 * bufferview_funcs.C:
5672 * text2.C: make getStatus work for the env depth lfuns
5674 2003-04-03 John Levon <levon@movementarian.org>
5676 * bufferview_funcs.h:
5677 * bufferview_funcs.C:
5680 * text2.C: parlistize decDepth(), by merging it with incDepth()
5682 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5684 * lyxrow.h: store a ParagraphList::iterator instead of a
5685 Paragraph* and adjust other class functions to suit.
5687 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5690 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5692 * text2.C (setCursor): do not anchor to cursor row for the time being
5694 2003-04-02 John Levon <levon@movementarian.org>
5701 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5703 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5705 * paragraph.h: make ParagraphList and ParagraphList::iterator
5706 friends of Paragraph.
5708 * buffer.C (makeLinuxDocFile): move towards ParagraphList
5710 * ParagraphList.C: Use the private next_ and previous_ from
5713 2003-04-01 John Levon <levon@movementarian.org>
5717 * Makefile.am: rename, remove defaults gunk
5720 * MenuBackend.C: remove defaults gunk
5723 * Languages.C: remove defaults gunk
5726 * lyx_main.C: error out if files couldn't be found.
5728 2003-04-02 John Levon <levon@movementarian.org>
5730 * text2.C: make incDepth() use parlist
5732 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5734 * undo_funcs.C (firstUndoParagraph): adjust
5736 * text3.C (gotoInset): adjust
5737 (dispatch): adjust, and rewrite loop.
5739 * text2.C (init): adjust, and rewrite loop.
5740 (redoParagraphs): adjust
5741 (updateInset): adjust, and rewrite loop.
5742 (deleteEmptyParagraphMechanism): adjust
5744 * tabular.C (LyXTabular): adjust
5745 (SetMultiColumn): adjust
5748 * lyxtext.[Ch] (ownerParagraph): delete function
5749 (ownerParagraphs): new function returns a ParagraphList.
5751 * BufferView.C (removeAutoInsets): adjust
5752 (insertErrors): adjust
5753 (setCursorFromRow): adjust
5755 2003-04-01 Angus Leeming <leeming@lyx.org>
5757 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5760 2003-04-02 John Levon <levon@movementarian.org>
5766 * text_funcs.C: make transposeChars a free function
5768 * lyxrow_funcs.C: remove wrong comment
5770 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5773 * rowpainter.C: adjust
5778 * lyxrow_funcs. [Ch]: new files
5780 * lyxrow.[Ch]: remove next and previous pointers
5781 (next,previous): remove accessor functions
5782 (isParEnd): move to lyxrow_funcs
5783 (lastPos): move to lyxrow_funcs
5784 (nextRowIsAllInset): move to lyxrow_funcs
5785 (lastPrintablePos): move to lyxrow_funcs
5786 (numberOfSeparators): move to lyxrow_funcs
5787 (numberOfHfills): move to lyxrow_funcs
5788 (numberOfLabelHfills): move to lyxrow_funcs
5789 (hfillExpansion): move to lyxrow_funcs
5793 * bufferview_funcs.C (toggleAndShow): adjust
5795 * RowList.h: Remove class RowList from file leave just a
5798 * RowList.C: delete file
5800 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5803 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5805 * text3.C (cursorPrevious): adjust
5806 (cursorNext): adjust
5809 * text2.C (redoHeightOfParagraph): adjust
5810 (redoDrawingOfParagraph): adjust
5813 * text.C (breakParagraph): adjust
5814 (insertChar): adjust
5817 * rowpainter.C (RowPainter): adjust
5818 (leftMargin): simplify and adjust
5819 (most rowpainter functions): adjust.
5821 * rowpainter.h: store the row as RowList::iterator not as Row*
5823 * lyxcursor.C (row): taka RowList::iterator as arg
5826 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5829 2003-04-01 Angus Leeming <leeming@lyx.org>
5831 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5832 stuff like bool Bool.
5834 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5836 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5839 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5841 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5844 * lyxtext.h (rows): drop one version and leve a const variant that
5845 returns a RowList::iterator.
5847 2003-03-31 Angus Leeming <leeming@lyx.org>
5849 * text.C (fill): ensure that the signature is the same as that in the
5852 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
5854 * text2.C (redoParagraphs): adjust
5855 (updateCounters): adjust
5856 (checkParagraph): adjust
5857 (getColumnNearX): adjust and reformat a bit.
5859 * text.C (top_y): adjust
5861 (leftMargin): adjust
5862 (prepareToPrint): adjust
5864 (getRowNearY): adjust
5866 * lyxtext.h: make rowlist_ mutable.
5868 * RowList.h: add const_iterator
5869 * RowList.C: adjust for RowList::const_iterator.
5871 * text2.C (getCursorX): make it take a RowList::iterator as arg,
5874 2003-03-31 John Levon <levon@movementarian.org>
5877 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5879 * lyx_main.C: set default fonts from using lyx_gui funcs
5881 * exporter.C: pdf_mode moved from lyxrc
5884 * lyxfunc.C: changes from above
5886 2003-03-31 John Levon <levon@movementarian.org>
5888 * lyx_main.C: fix to the last fix
5890 2003-03-31 John Levon <levon@movementarian.org>
5892 * bufferlist.C: "Load original" -> "Load Original"
5898 * format.C: more Alert cleanups
5900 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5902 * text2.C (removeParagraph): make it take a RowList::iterator as
5904 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5905 (postRowPaint): make it take a RowList::iterator as arg, adjust.
5907 * text.C (anchor_row): make it take a RowList::iterator as arg,
5909 (computeBidiTables): make it take a const reference to Row instead
5910 of Row pointer, adjust.
5911 (leftMargin): make it take a RowList::iterator as arg, adjust.
5912 (rowBreakPoint): adjust
5913 (breakAgainOneRow): make it take a RowList::iterator as arg,
5915 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5917 * bufferview_funcs.C (toggleAndShow): adjust
5919 2003-03-30 John Levon <levon@movementarian.org>
5923 * boost-inst.C: moved to support
5925 * several files: changes as a result
5927 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5929 * text2.C (LyXText): adjust.
5931 (removeRow): make it take a RowList::iterator as arg, adjust.
5932 (fullRebreak): adjust
5933 (deleteEmptyParagraphMechanism): adjust
5934 (clearPaint): adjust
5937 * text.C (top_y): adjust
5938 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5939 (breakAgain): make it take a RowList::iterator as arg, adjust.
5940 (breakParagraph): adjust
5941 (insertChar): adjust
5944 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5945 need_break_row, and refresh_row.
5947 * text3.C (dispatch): adjust
5949 * text2.C (checkParagraph): adjust
5951 (setCursorFromCoordinates): adjust
5953 * text.C (top_y): adjust
5955 (getRow): make it return a RowList::iterator, adjust
5956 (getRowNearY): make it return a RowList::iterator, adjust
5958 * text2.C (init): adjust
5959 (insertRow): remove function
5960 (insertParagraph): adjust
5961 (redoParagraphs): adjust
5962 (fullRebreak): adjust
5963 (updateCounters): adjust
5965 * text.C (top_y): rewrite to use RowList iterators.
5967 (setHeightOfRow): rewrite to sue RowList iterators.
5968 (appendParagraph): adjust
5969 (breakAgain): adjust
5970 (breakAgainOneRow): adjust
5971 (breakParagraph): adjust
5973 (getRowNearY): adjust, and remove commented code.
5975 * lyxtext.h (firstRow): delete function
5976 (lastRow): delete function
5977 (rows): new function (const and non-const versions.)
5978 (insertRow): delete function
5980 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5982 2003-03-29 John Levon <levon@movementarian.org>
5984 * BufferView_pimpl.C: always update scrollbar top
5985 because pasting text when we're anchored could mean we
5986 miss an update altogether
5988 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5990 * text2.C (init): use rowlist_.end() and not 0.
5991 (insertRow): change to take a RowList::iterator as arg, adjust
5993 (insertParagraph): change to take a RowList::iterator as arg,
5995 (redoParagraphs): remove some debug msgs.
5997 * text.C (appendParagraph): change to take a RowList::iterator
5998 arg, adjust for this.
5999 (breakAgain): add an assert
6000 (breakAgainOneRow): ditto
6002 2003-03-29 John Levon <levon@movementarian.org>
6004 * text2.C: do not clear selection after inc/decDepth
6007 2003-03-29 John Levon <levon@movementarian.org>
6010 * buffer.C: fix broken strerrors according to Lars
6012 2003-03-29 John Levon <levon@movementarian.org>
6014 * converters.C: more Alert cleanups
6016 2003-03-29 John Levon <levon@movementarian.org>
6018 * bufferview_funcs.C: remove pointless Alert
6020 * buffer.C: fix confusing error message when
6021 a template is chmoded 000
6023 2003-03-29 John Levon <levon@movementarian.org>
6027 * BufferView_pimpl.C: Alert fixes
6031 * tabular-old.C: remove unused table compat reading
6033 2003-03-29 John Levon <levon@movementarian.org>
6038 * lyx_cb.C: more Alert cleanups
6040 * lyxfunc.C: don't allow chktex if not latex document
6042 2003-03-29 John Levon <levon@movementarian.org>
6046 * buffer.C: warnings pushed down from support/,
6049 2003-03-29 John Levon <levon@movementarian.org>
6051 * lyxfunc.C: safety check for C-r (revert)
6053 2003-03-29 John Levon <levon@movementarian.org>
6056 * bufferlist.C: several UI fixes using Alert::prompt.
6057 Fix the pointless looping quit code. Fix stupid revert
6062 * lyx_cb.C: use Alert::prompt
6064 * lyx_main.C: remove a silly question
6066 * lyxfunc.C: remove a couple of silly questions,
6069 2003-03-28 John Levon <levon@movementarian.org>
6071 * text2.C: fix bug 974 (End on empty par)
6073 2003-03-28 John Levon <levon@movementarian.org>
6075 * BufferView_pimpl.C:
6077 * lfuns.h: remove do-nothing math greek lfuns
6079 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6081 * lyxgluelength.h (isValidGlueLength): add default arg on
6082 parameter 2. Remove default arg from friend in class.
6084 * lyxlength.h (isValidLength): add default arg on parameter 2.
6085 Remove default arg from friend in class.
6087 * text2.C (LyXText): adjust, initialize refresh_row.
6091 (insertParagraph): adjst
6092 (redoParagraphs): adjust
6093 (fullRebreak): adjust
6094 (updateCounters): adjust
6095 (deleteEmptyParagraphMechanism): first attempt at fixing a
6098 * text.C (top_y): adjust
6099 (setHeightOfRow): adjust
6101 (getRowNearY): adjust
6103 * lyxtext.h: include RowList.h
6104 (~LyXText): not needed anymore, deleted.
6105 (firstRow): modify for RowList
6106 (lastRow): new function
6107 Delete firstrow and lastrow class variables, add a Rowlist
6108 rowlist_ class variable.
6110 * lyxrow.C (lastPos): use empty() and not !size() to check if a
6113 * RowList.C (insert): fix case where it == begin().
6115 2003-03-26 Angus Leeming <leeming@lyx.org>
6117 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6118 the thesaurus dialog.
6120 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6122 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6124 * RowList.[Ch]: new files
6126 * ParagraphList.C (erase): handle the case where it == begin
6129 2003-03-25 John Levon <levon@movementarian.org>
6133 * aspell.C: add new aspell support
6136 * lyxrc.C: Make use_pspell be use_spell_lib. Always
6139 2003-03-25 Angus Leeming <leeming@lyx.org>
6142 * LyXAction.C (init): new LFUN_INSET_INSERT.
6144 * BufferView_pimpl.C (dispatch): split out part of the
6145 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6147 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6150 2003-03-25 Angus Leeming <leeming@lyx.org>
6152 * lyxfunc.C (dispatch): changes to the Dialogs interface.
6154 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
6157 * text3.C: remove useless row->height(0)
6159 2003-03-25 John Levon <levon@movementarian.org>
6163 * text3.C: rename the refreshing stuff to better names
6165 2003-03-24 John Levon <levon@movementarian.org>
6167 * BufferView_pimpl.h:
6168 * BufferView_pimpl.C: update layout choice on a mouse
6171 2003-03-23 John Levon <levon@movementarian.org>
6173 * Makefile.am: fix commandtags.h reference
6175 2003-03-22 John Levon <levon@movementarian.org>
6177 * BufferView_pimpl.C:
6182 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6184 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
6187 * text.C: take the rtl methods out of line
6189 2003-03-21 André Pönitz <poenitz@gmx.net>
6191 * metricsinfo.[Ch]: new files containing structures to be passed around
6192 during the two-phase-drawing...
6194 2003-03-21 André Pönitz <poenitz@gmx.net>
6196 * lyxtextclass.C: read 'environment' tag.
6198 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
6200 * text2.C (removeRow): fix bug 964
6202 2003-03-20 John Levon <levon@movementarian.org>
6206 * text2.C: paint cleanups. Inset::update() dropped font
6209 2003-03-19 John Levon <levon@movementarian.org>
6211 * lyxfunc.C: only fitcursor/markDirty if available()
6213 2003-03-19 John Levon <levon@movementarian.org>
6215 * commandtags.h: rename to ...
6217 * lfuns.h: ... this, and renumber / cleanup
6219 2003-03-19 John Levon <levon@movementarian.org>
6221 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6222 fit the cursor after an lfun
6226 * BufferView_pimpl.h:
6227 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6229 * LyXAction.C: layout-character should have ReadOnly
6231 * ParagraphParameters.C:
6233 * bufferview_funcs.C:
6240 * undo_funcs.C: changes from above
6242 2003-03-18 John Levon <levon@movementarian.org>
6244 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6245 remove it from update()
6247 * lyxfunc.C: update layout choice after an lfun
6249 * text3.C: remove extra updateLayoutChoice()s
6251 2003-03-18 John Levon <levon@movementarian.org>
6253 * text.C: top_y change means full repaint, fix
6254 a drawing bug with cursor movement
6256 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6260 * text2.C: anchor row on setCursor
6262 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6264 * lyxtext.h: remove almost all mutable keywords
6267 * text3.C: remove const keywords accordingly
6269 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6271 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6273 (TeXEnvironment): ditto
6276 2003-03-17 John Levon <levon@movementarian.org>
6278 * text.C (rowBreakPoint): remove attempt to fix displayed
6279 math insets inside a manual label
6281 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6283 * lyxtext.h: remove BufferView* as first arg from almost all class
6285 * other files: adjust.
6287 2003-03-17 John Levon <levon@movementarian.org>
6291 * text2.C: more paint cleanups
6293 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6296 * rowpainter.C: remove "smart" background painting code
6298 2003-03-16 John Levon <levon@movementarian.org>
6303 * text3.C: add helper functions for setting refresh_row/y
6305 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
6307 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6308 newline inset which *can* get inserted in the pass_thru layouts.
6309 This is primarily for literate documents.
6311 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
6313 * buffer.C: increment LYX_FORMAT to 223
6315 2003-03-14 André Pönitz <poenitz@gmx.net>
6317 * textclass.h: prepare for environment handling, ws changes
6318 * lyxlayout.C: read latexheader and latexfooter tags
6320 2003-03-14 John Levon <levon@movementarian.org>
6322 * text2.C: rewrite ::status() a bit
6324 2003-03-13 John Levon <levon@movementarian.org>
6326 * lyxtext.h: add some docs
6328 2003-03-13 John Levon <levon@movementarian.org>
6333 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6335 2003-03-13 John Levon <levon@movementarian.org>
6337 * text3.C: fix appendix redrawing
6339 2003-03-13 John Levon <levon@movementarian.org>
6341 * text.C (setHeightOfRow):
6343 * rowpainter.C: make appendix mark have the text
6344 "Appendix" so the user knows what it is
6347 * LColor.C: s/appendixline/appendix/ from above
6349 2003-03-13 John Levon <levon@movementarian.org>
6351 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6353 * text.C: fix a getChar(pos) bug properly
6355 2003-03-13 Angus Leeming <leeming@lyx.org>
6358 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6359 Probably only temporary. Let's see how things pan out.
6361 * BufferView.C (unlockInset):
6362 * BufferView_pimpl.C (fitCursor):
6363 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6365 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6366 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6368 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6369 new functions that convert ParagraphParameters to and from a string.
6371 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6372 BufferView::Pimpl's dispatch.
6373 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6375 2003-03-13 André Pönitz <poenitz@gmx.net>
6379 * factory.C: make it aware of InsetEnv
6381 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6383 * text2.C (setCursor): never ask for one past last
6384 (setCursor): add some debugging messages.
6386 * text.C (singleWidth): never ask for one past last
6387 (singleWidth): ditto
6389 (rightMargin): ditto
6390 (rowBreakPoint): ditto
6391 (setHeightOfRow): ditto
6392 (prepareToPrint): ditto
6394 * rowpainter.C (paintBackground): never ask for one past last
6395 (paintText): never ask for one past last
6397 * paragraph_pimpl.C (getChar): make the assert stricter, never
6398 allow the one past last pos to be taken
6400 * paragraph.C (getChar): ws changes only
6402 * lyxrow.C (nextRowIsAllInset): never ask for one past last
6403 (numberOfSeparators): ditto
6404 (numberOfHfills): ditto
6406 2003-03-12 John Levon <levon@movementarian.org>
6412 * paragraph_funcs.C: fix per-buffer authorlists
6414 2003-03-12 John Levon <levon@movementarian.org>
6416 * text.C: fix newline in right address
6418 2003-03-12 Angus Leeming <leeming@lyx.org>
6420 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6421 duplicate those in LyXFunc::dispatch.
6425 * ToolbarDefaults.C:
6426 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6427 Add LFUN_FONTFREE_UPDATE.
6429 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6430 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6432 * bufferview_func.[Ch]: several new functions to facilliate
6433 transfer of data to and from the character dialog.
6435 2003-03-12 John Levon <levon@movementarian.org>
6440 * paragraph_funcs.C:
6441 * paragraph_pimpl.C:
6445 * text3.C: remove META_NEWLINE in favour of an inset
6448 * rowpainter.C: remove paintNewline (done by inset)
6450 2003-03-12 John Levon <levon@movementarian.org>
6452 * paragraph_pimpl.C: complain about bad getChar()s
6453 for a while at least
6455 2003-03-12 John Levon <levon@movementarian.org>
6458 * buffer.C: move paragraph read into a separate function,
6459 a little renaming to reflect that.
6462 * bufferparams.C: remove the author_ids map, not necessary now
6465 * factory.C: moved Buffer::readInset to here
6467 * paragraph_funcs.h:
6468 * paragraph_funcs.C: readParagraph free function moved from
6471 * tabular.C: name change
6473 2003-03-12 John Levon <levon@movementarian.org>
6476 * ParagraphParameters.C: move par params input to
6479 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6480 behave like a normal read from the stream wrt reading
6481 a line vs. a \\token
6483 2003-03-12 John Levon <levon@movementarian.org>
6486 * ParagraphParameters.h:
6487 * ParagraphParameters.C: move output code to a
6490 2003-03-12 John Levon <levon@movementarian.org>
6492 * BufferView.C (insertLyXFile):
6495 * tabular.C: use a parlist iterator for creating the
6498 2003-03-12 John Levon <levon@movementarian.org>
6500 * buffer.C: make current_change static local not
6503 2003-03-12 John Levon <levon@movementarian.org>
6505 * buffer.C: fix insertStringAsLines for change tracking
6507 2003-03-12 John Levon <levon@movementarian.org>
6514 * bufferparams.C: move author list into params. Rename some
6515 functions. Move the header reading into a separate token
6516 loop. Move the header token reading into BufferParams.
6518 2003-03-12 John Levon <levon@movementarian.org>
6520 * changes.C: put debug inside lyxerr.debugging() checks
6522 2003-03-11 André Pönitz <poenitz@gmx.net>
6524 * factory.C: make it aware of InsetHFill
6526 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6528 * buffer.C (latexParagraphs): move function from here...
6529 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6532 2003-03-10 Angus Leeming <leeming@lyx.org>
6534 * LyXAction.C (init): fix bug in poplating array with multiple entries
6535 with the same LFUN (spotted by JMarc).
6537 2003-03-10 John Levon <levon@movementarian.org>
6540 * text2.C: move getColumnNearX() near its
6543 2003-03-10 John Levon <levon@movementarian.org>
6545 * text.C: fix break before a minipage
6547 2003-03-10 John Levon <levon@movementarian.org>
6549 * text.C: fix the last commit
6551 2003-03-09 John Levon <levon@movementarian.org>
6555 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6556 bug 365 (don't break before insets unless needed). Don't
6557 return a value > last under any circumstances.
6559 2003-03-09 Angus Leeming <leeming@lyx.org>
6561 * BufferView_pimpl.C (trackChanges, dispatch): call
6562 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6564 2003-03-09 Angus Leeming <leeming@lyx.org>
6566 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6567 than Dialogs::showAboutlyx().
6569 2003-03-09 Angus Leeming <leeming@lyx.org>
6571 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6572 than Dialogs::showTabularCreate().
6574 2003-03-09 John Levon <levon@movementarian.org>
6578 * text2.C: 3rd arg to nextBreakPoint was always the same.
6581 2003-03-08 John Levon <levon@movementarian.org>
6588 * text2.C: Remove the "main" bit from the "main body"
6591 2003-03-08 John Levon <levon@movementarian.org>
6593 * text.C (leftMargin): The left margin of an empty
6594 manual label paragraph should not include the label width
6597 * text.C (prepareToPrint): don't attempt to measure hfills
6598 for empty manual label paragraphs - the answer should be 0
6600 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6602 * CutAndPaste.C: remove commented code and reindent.
6604 2003-03-08 John Levon <levon@movementarian.org>
6607 * lyxfunc.C: move reloadBuffer()
6610 * BufferView.C: to here
6612 * lyxvc.C: add comment
6615 * vc-backend.C: call bv->reload() to avoid
6616 getStatus() check on MENURELOAD
6618 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
6620 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6621 to an old format .dep file.
6623 2003-03-07 Angus Leeming <leeming@lyx.org>
6625 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6626 when the LFUN_MOUSE_RELEASE should have been handled by
6627 inset->localDispatch.
6629 2003-03-07 Angus Leeming <leeming@lyx.org>
6631 * BufferView_pimpl.C (dispatch):
6632 * LyXAction.C (init):
6633 * ToolbarDefaults.C (init):
6635 * lyxfunc.C (getStatus):
6636 remove LFUN_INSET_GRAPHICS.
6638 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6640 2003-03-07 Angus Leeming <leeming@lyx.org>
6643 * LyXAction.C (init):
6644 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6646 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6649 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6651 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6652 localDispatch method LFUN_INSET_DIALOG_UPDATE.
6654 2003-03-07 Angus Leeming <leeming@lyx.org>
6656 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6659 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6661 * ParagraphList.C (front): new function
6664 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
6666 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6667 and top_row_offset_. removed var first_y.
6669 * text2.C (LyXText, removeRow):
6671 * BufferView_pimpl.C:
6672 use these methods instead of using first_y
6674 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6676 * text2.C (pasteSelection): adjust for checkPastePossible
6678 * CutAndPaste.C: remove Paragraph * buf and replace with
6679 ParagraphList paragraphs.
6680 (DeleteBuffer): delete
6681 (cutSelection): change the tc type to textclass_type
6682 (copySelection): change the tc type to textclass_type
6683 (copySelection): adjust for ParagraphList
6684 (pasteSelection): change the tc type to textclass_type
6685 (pasteSelection): adjust for Paragraphlist
6686 (nrOfParagraphs): simplify for ParagraphList
6687 (checkPastePossible): simplify for ParagraphList
6688 (checkPastePossible): remove unused arg
6690 * ParagraphList.C (insert): handle the case where there are no
6693 * CutAndPaste.h: make CutAndPaste a namespace.
6695 * text3.C (dispatch): adjust
6697 * text.C (breakParagraph): add a ParagraphList as arg
6699 * paragraph_funcs.C (breakParagraph): change to take a
6700 BufferParams and a ParagraphList as args.
6701 (breakParagraphConservative): ditto
6702 (mergeParagraph): ditto
6703 (TeXDeeper): add a ParagraphList arg
6704 (TeXEnvironment): ditto
6707 * buffer.C (readLyXformat2): adjust
6708 (insertStringAsLines): adjust
6709 (latexParagraphs): adjust
6711 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6712 (cutSelection): adjust
6713 (pasteSelection): adjust
6715 * BufferView_pimpl.C (insertInset): adjust
6717 2003-03-05 Angus Leeming <leeming@lyx.org>
6720 * LyXAction.C (init):
6721 * BufferView_pimpl.C (dispatch):
6722 * lyxfunc.C (getStatus):
6723 remove LFUN_CHILD_INSERT.
6725 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6727 2003-03-05 Angus Leeming <leeming@lyx.org>
6730 * LyXAction.C (init):
6731 * src/factory.C (createInset):
6732 * lyxfunc.C (getStatus):
6733 * text3.C (dispatch):
6734 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6736 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6738 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6740 * ParagraphList.C (insert): handle insert right before end()
6741 (erase): fix cases where it can be first or last paragraph.
6743 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6745 * paragraph_funcs.C (TeXEnvironment): remove all usage of
6746 Paragraph::next and Paragraph::previous
6749 * text.C (breakParagraph): adjust
6751 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6752 BufferParams& as arg.
6753 (breakParagraph): use ParagraphList::insert
6754 (breakParagraphConservative): take a Buffer* instead of a
6755 BufferParams& as arg.
6756 (breakParagraphConservative): use ParagraphList::insert.
6758 * buffer.C (insertStringAsLines): un-const it
6759 (insertStringAsLines): adjust
6761 * ParagraphList.C (insert): new function
6763 * CutAndPaste.C (pasteSelection): adjust
6765 * text.C (backspace): adjust
6767 * tabular.C (SetMultiColumn): adjust
6769 * CutAndPaste.C (cutSelection): adjust
6770 (pasteSelection): adjust
6772 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6773 Buffer const * as arg
6775 * ParagraphList.C (erase): new function
6776 * paragraph_funcs.C (mergeParagraph): use it
6777 (mergeParagraph): make it take a Buffer* instead of a
6778 BufferParams* as arg
6780 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6782 (breakParagraphConservative): ditto
6784 * paragraph.h: remove the breakParagraph friend
6786 * paragraph.C (eraseIntern): new function
6787 (setChange): new function
6789 * paragraph_funcs.C (mergeParagraph): make it take a
6790 ParagraphList::iterator instead of a Paragraph *, adjust
6793 * paragraph.h: move an #endif so that the change tracking stuff
6794 also works in the NO_NEXT case.
6796 2003-03-04 Angus Leeming <leeming@lyx.org>
6799 * LyXAction.C: new LFUN_INSET_MODIFY.
6801 * BufferView_pimpl.C (dispatch): if an inset is found to be open
6802 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6804 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6806 * several files: ws changes only
6808 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6809 (TeXEnvironment): ditto
6812 * buffer.C (makeLaTeXFile): adjust
6813 (latexParagraphs): make it take ParagraphList::iterator as args
6815 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6817 * buffer.C (latexParagraphs): adjust
6819 * paragraph.C (TeXOnePar): move function...
6820 (optArgInset): move function...
6821 (TeXEnvironment): move function...
6822 * paragraph_pimpl.C (TeXDeeper): move function...
6823 * paragraph_funcs.C: ...here
6825 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6827 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6829 * buffer.C (readInset): remove compability code for old Figure and
6832 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6834 * buffer.C: ws changes
6837 * BufferView_pimpl.C: ditto
6840 * bufferlist.h: ditto
6844 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
6846 * converter.[Ch]: split into itself +
6849 * Makefile.am: += graph.[Ch] + format.[Ch]
6856 * lyxrc.C: added #include "format.h"
6858 2003-02-27 Angus Leeming <leeming@lyx.org>
6860 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6863 * factory.C (createInset): add "label" to the factory.
6865 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6866 string and do no more.
6868 2003-02-27 Angus Leeming <leeming@lyx.org>
6871 * LyXAction.C (init):
6872 * factory.C (createInset):
6873 * BufferView_pimpl.C (dispatch):
6874 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6876 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6878 * lyxfunc.C (dispatch):
6879 * text3.C (dispatch): pass name to params2string.
6881 2003-02-26 Angus Leeming <leeming@lyx.org>
6883 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6885 Rearrange the ~includes. Strip out the unnecessary ones.
6887 * factory.C (createInset): reformat.
6888 create new insets for the various LFUN_XYZ_APPLY lfuns.
6890 2003-02-26 John Levon <levon@movementarian.org>
6893 * lyxrow.C: add isParStart,isParEnd helpers
6895 * paragraph.h: make isInserted/DeletedText take refs
6897 * paragraph_funcs.h:
6898 * paragraph_funcs.C: remove #if 0'd code
6903 * text.C: use lyxrow helpers above.
6904 Move draw and paint routines to RowPainter.
6905 Make several methods use refs not pointers.
6906 Make backgroundColor() const.
6907 Add markChangeInDraw(), isInInset().
6908 Merge changeRegionCase into changeCase.
6909 Make workWidth() shouldn't-happen code into an Assert.
6912 * rowpainter.C: new class for painting a row.
6915 * vspace.C: make inPixels take a ref
6917 2003-02-26 Angus Leeming <leeming@lyx.org>
6919 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6922 2003-02-25 John Levon <levon@movementarian.org>
6924 * ispell.C: give the forked command a more accurate name
6926 2003-02-22 John Levon <levon@movementarian.org>
6929 * toc.C: make TocItem store an id not a Paragraph *
6932 2003-02-21 Angus Leeming <leeming@lyx.org>
6934 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6935 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6936 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6937 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6938 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6939 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6941 * BufferView_pimpl.C (dispatch):
6942 * LyXAction.C (init):
6943 * factory.C (createInset):
6944 * lyxfunc.C (getStatus, dispatch):
6945 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6947 2003-02-21 Angus Leeming <leeming@lyx.org>
6949 * BufferView_pimpl.C (MenuInsertLyXFile):
6950 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6951 * lyxfunc.C (menuNew, open, doImport):
6952 no longer pass a LyXView & to fileDlg.
6954 2003-02-21 Angus Leeming <leeming@lyx.org>
6956 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6957 * LyXAction.C: change, BIBKEY to BIBITEM.
6958 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6959 Change InsetBibKey to InsetBibitem.
6960 Change BIBKEY_CODE to BIBITEM_CODE.
6961 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6962 * factory.C: replace insetbib.h with insetbibitem.h.
6963 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6964 * paragraph.C: replace insetbib.h with insetbibitem.h.
6965 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6966 Change bibkey() to bibitem().
6967 * text.C: remove insetbib.h.
6968 * text2.C: replace insetbib.h with insetbibitem.h.
6969 change bibkey() to bibitem().
6970 * text3.C: remove insetbib.h.
6971 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6973 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6975 * lyxrc.C (output): enclose user email in quotes (in case there are
6978 2003-02-18 John Levon <levon@movementarian.org>
6980 * buffer.h: add std::
6982 2003-02-17 John Levon <levon@movementarian.org>
6988 * pspell.C: reworking. Especially in ispell, a large
6989 number of clean ups and bug fixes.
6991 * lyxfunc.C: fix revert to behave sensibly
6993 2003-02-17 André Pönitz <poenitz@gmx.net>
6996 * commandtags.h: new LFUN_INSERT_BIBKEY
7006 * paragraph_func.C: remove special bibkey handling
7008 2003-02-17 John Levon <levon@movementarian.org>
7010 * text.C (Delete): fix case where delete at the end of
7011 the very first paragraph would not merge the pars
7013 2003-02-17 John Levon <levon@movementarian.org>
7015 * lyxrow.C: fix lastPrintablePos()
7017 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7019 * bufferparams.C (writeLaTeX): add a std:here
7021 * buffer.C: and remove a using directive there
7023 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7025 * buffer.C (makeLaTeXFile): move the code that generates the
7028 * bufferparams.C (writeLaTeX): ... in this new method
7030 * LaTeXFeatures.C (getEncodingSet): make const
7031 (getLanguages): make const
7033 * MenuBackend.C (binding): returns the binding associated to this
7035 (add): sets the status of each item by calling getStatus. Adds
7037 (read): add support for OptSubMenu
7038 (expand): remove extra separator at the end of expanded menu
7040 2003-02-15 John Levon <levon@movementarian.org>
7043 * BufferView_pimpl.C:
7045 * bufferlist.C: remove pointless BufferStorage bloat. Remove
7046 inset code that had no actual effect. Remove unneeded status
7049 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7051 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7054 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
7056 * text.C (drawLengthMarker): also draw an arrow marker for
7057 symbolic lengths (medskip...)
7059 2003-02-14 John Levon <levon@movementarian.org>
7062 * tabular.C: better method names
7064 2003-02-14 John Levon <levon@movementarian.org>
7066 * BufferView_pimpl.C:
7071 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7072 it's a more accurate name. Remove some pointless uses.
7074 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7076 * text2.C (LyXText): change order of initilizers to shut off
7079 2003-02-14 John Levon <levon@movementarian.org>
7081 * buffer.C: use ParIterator for getParFromID()
7085 * paragraph_pimpl.h:
7086 * paragraph_pimpl.C: remove unused getParFromID()
7088 2003-02-14 John Levon <levon@movementarian.org>
7090 * buffer.C: remove some very old #if 0'd parse code
7092 2003-02-13 John Levon <levon@movementarian.org>
7096 * text2.C: move hfillExpansion(), numberOfSeparators(),
7097 rowLast(), rowLastPrintable(), numberofHfills(),
7098 numberOfLabelHfills() ...
7101 * lyxrow.C: ... to member functions here.
7106 * text.C: remove LyXText::beginningOfMainBody(), and call
7107 p->beginningOfMainBody() directly. Move the check for
7108 LABEL_MANUAL into the latter.
7115 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7121 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7122 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7124 2003-02-13 John Levon <levon@movementarian.org>
7126 * CutAndPaste.C: remove debug
7128 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7130 * paragraph.C (asString): remove two unused variables
7132 * lyxtextclass.C (readTitleType):
7134 (LyXTextClass): handle new members titletype_ and titlename_
7136 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7138 2003-02-09 John Levon <levon@movementarian.org>
7141 * buffer.C: replace hand-coded list with a map for the dep clean
7143 2003-02-08 John Levon <levon@movementarian.org>
7145 * LaTeX.C: consolidate code into showRunMessage() helper
7147 2003-02-08 John Levon <levon@movementarian.org>
7152 * BufferView.C: change setSelectionOverString() to setSelectionRange()
7153 and pass the size in explicitly
7155 * BufferView_pimpl.h:
7156 * BufferView_pimpl.C:
7158 * BufferView.C: add getCurrentChange()
7160 * BufferView_pimpl.h:
7161 * BufferView_pimpl.C: handle change lfuns
7163 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7164 for changes. Mark pasted paragraphs as new.
7166 * support/lyxtime.h:
7167 * support/lyxtime.C:
7168 * DepTable.C: abstract time_t as lyx::time_type
7171 * LColor.C: add colours for new text, deleted text, changebars
7173 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7174 package use "usenames" option.
7178 * LyXAction.C: add change lfuns
7182 * author.C: author handling
7185 * buffer.C: add a per-buffer author list, with first entry as
7186 current author. Handle new .lyx tokens for change tracking. Output
7187 author list to .lyx file. Output dvipost stuff to .tex preamble.
7188 Bump lyx format to 222.
7191 * bufferlist.C: add setCurrentAuthor() to reset current author details
7195 * bufferparams.C: add param for tracking
7197 * bufferview_funcs.C: output change info in minibuffer
7201 * changes.C: add change-tracking structure
7204 * debug.C: add CHANGES debug flag
7207 * lyxfind.C: add code for finding the next change piece
7210 * lyxrc.C: add user_name and user_email
7213 * lyxrow.C: add a metric for the top of the text line
7216 * text.C: implement accept/rejectChange()
7219 * text.C: paint changebars. Paint new/deleted text in the chosen
7220 colours. Strike through deleted text.
7224 * paragraph_pimpl.h:
7225 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7226 in the current change to the insert functions. Rework erase to
7227 mark text as deleted, adding an eraseIntern() and a range-based
7228 erase(). Implement per-paragraph change lookup and
7231 * paragraph_funcs.C: Fixup paste for change tracking.
7233 * tabular.C: mark added row/columns as new.
7235 * text.C: fix rowLast() to never return -1. Don't allow
7236 spellchecking of deleted text. Track transpose changes. Don't
7237 allow paragraph break or merge where appropriate.
7239 * text2.C: leave cursor at end of selection after a cut.
7241 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7243 * text.C (getLengthMarkerHeight):
7244 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7245 visible on screen too.
7247 2003-02-07 John Levon <levon@movementarian.org>
7249 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7251 2003-02-05 Angus Leeming <leeming@lyx.org>
7253 * lyxserver.C (read_ready): revert my patch of 11 September last year
7254 as it sends PC cpu through the roof. Presumably this means that
7255 the lyxserver will no longer run on an Alpha...
7257 2003-01-30 Angus Leeming <leeming@lyx.org>
7259 * factory.C (createInset): create an InsetCommandParam of type "index"
7260 and use it to 'do the right thing'.
7262 * text2.C (getStringToIndex): ensure that cursor position is always
7263 reset to the reset_cursor position.
7265 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7267 * lyxfunc.C (getStatus): "buffer-export custom" should never be
7270 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
7274 * lyxfunc.C: Output messages with identical spelling, punctuation,
7277 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
7279 * MenuBackend.C (expandFormats): List only viewable export formats
7282 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7285 * lyxfunc.C (getStatus): Make sure that formats other than
7286 "fax" can also be disabled
7288 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7290 * text3.C (dispatch): put the lfuns that insert insets in 3
7291 groups, and call doInsertInset with appropriate arguments.
7292 (doInsertInset): new function, that creates an inset and inserts
7293 it according to some boolean parameters.
7295 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7297 * buffer.C (readFile): remember to pass on 'par' when calling
7298 readFile recursively.
7300 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7302 * MenuBackend.C (expandFormats): add "..." to import formats.
7304 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
7306 * paragraph.C (asString): Remove XForms RTL hacks.
7308 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
7309 * buffer.C: fix typo
7311 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7313 * Makefile.am (LIBS): delete var
7314 (lyx_LDADD): add @LIBS@ here instead.
7316 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
7318 * Clarify the meaning of "wheel mouse jump"
7320 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7322 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7325 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7327 * importer.C (Loaders): do not preallocate 3 elements in the
7328 vector, since one ends up with 6 elements otherwise
7330 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7332 * DepTable.C (write): write the file name as last element of the
7333 .dep file (because it may contain spaces)
7334 (read): read info in the right order
7336 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7338 * paragraph_pimpl.C (simpleTeXBlanks):
7339 (simpleTeXSpecialChars):
7340 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7342 * tabular.C (latex): add some missing case statements. Reindent.
7344 * MenuBackend.C (expandToc): remove unused variable.
7346 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
7355 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7358 2003-01-05 John Levon <levon@movementarian.org>
7361 * BufferView.C: add getEncoding()
7364 * kbsequence.C: do not store last keypress
7367 * lyxfunc.C: store last keypress here instead. Pass encoding
7370 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7372 * lyx_main.C (init): remove annoying error message when following
7373 symbolic links (bug #780)
7375 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7377 * text.C (insertChar):
7378 * lyxrc.C (getDescription): remove extra spaces
7380 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7382 * lyxrc.C (getDescription): remove extra spaces
7384 2002-12-20 John Levon <levon@movementarian.org>
7386 * text3.C: hack fix for page up/down across tall rows
7388 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7390 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7393 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7395 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7396 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7397 thesaurus is not compiled in
7399 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
7401 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
7403 2002-12-16 Angus Leeming <leeming@lyx.org>
7406 * lyx_main.C (init): remove override_x_deadkeys stuff.
7408 2002-12-12 John Levon <levon@movementarian.org>
7410 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7411 insert. Only remove shift modifier under strict
7414 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7416 * MenuBackend.C (expandToc): fix crash.
7418 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7420 * MenuBackend.C (expandToc): gettext on float names.
7422 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7424 * lyxlength.[Ch]: set default unit to UNIT_NONE,
7425 implement bool empty() [bug 490]
7427 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7429 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7431 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7433 * several files: ws changes
7435 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7437 * text2.C (setCounter): clean up a bit, use boost.format.
7438 (updateCounters): initialize par upon declaration.
7440 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7441 if the layout exists. We do not just store the layout any more.
7442 (SwitchLayoutsBetweenClasses): use boost.format
7444 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7446 * converter.C (convert): if from and to files are the same, use a
7447 temporary files as intermediary
7449 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7452 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7454 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
7456 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7458 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7460 * tabular.C (asciiPrintCell): use string(size, char) instead of
7463 * sgml.C (openTag): fix order of arguments to string constructor
7466 * lyxfunc.C (dispatch): use boost.format
7468 * lots of files: change "c" -> 'c'
7470 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
7472 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7474 2002-11-25 Angus Leeming <leeming@lyx.org>
7476 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7478 * lyx_main.C (init): compile fix.
7480 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7482 * lyx_cb.C (start): boost.formatify
7483 do not include <iostream>
7485 * lengthcommon.C: ws only
7487 * boost-inst.C,BoostFormat.h: add more explict instantations
7489 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7491 * lots of files: handle USE_BOOST_FORMAT
7493 2002-11-21 John Levon <levon@movementarian.org>
7495 * pspell.C: fix compile
7497 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7499 * lyxfunc.C (dispatch): use boost::format
7503 * lyxfont.C (stateText): use boost::format
7505 * lyx_main.C (LyX): use boost::format
7507 (queryUserLyXDir): ditto
7510 (typedef boost::function): use the recommened syntax.
7512 * importer.C (Import): use boost::format
7514 * debug.C (showLevel): use boost::format
7516 * converter.C (view): use boost::format
7521 * bufferview_funcs.C (currentState): use boost::format
7523 * bufferlist.C (emergencyWrite): use boost::format
7525 * buffer.C (readLyXformat2): use boost::format
7526 (parseSingleLyXformat2Token): ditto
7528 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7530 * LaTeX.C (run): use boost::format
7532 * Chktex.C (scanLogFile): use boost::format
7534 * BufferView_pimpl.C (savePosition): use boost::format
7535 (restorePosition): ditto
7536 (MenuInsertLyXFile): ditto
7538 * BoostFormat.h: help file for explicit instation.
7540 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
7542 * tabular.C (latex): Support for block alignment in fixed width
7545 2002-11-17 John Levon <levon@movementarian.org>
7547 * BufferView_pimpl.C:
7549 * lyxfunc.C: split filedialog into open/save
7551 2002-11-08 Juergen Vigna <jug@sad.it>
7553 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7554 by my last patch (hopefully).
7556 2002-11-08 John Levon <levon@movementarian.org>
7565 * toc.C: ParConstIterator, and use it (from Lars)
7567 2002-11-07 Ben Stanley <bds02@uow.edu.au>
7569 * lyxtextclass.[Ch]: revise and add doxygen comments
7571 2002-11-07 John Levon <levon@movementarian.org>
7573 * text.C: fix progress value for spellchecker
7575 * toc.C: fix navigate menu for insetwrap inside minipage
7577 * paragraph_funcs.C: added FIXME for suspect code
7579 2002-11-07 John Levon <levon@movementarian.org>
7581 * BufferView_pimpl.C: fix redrawing of insets
7584 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7586 * text2.C (updateCounters): fix bug 668
7588 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
7590 * text3.C (dispatch): Do not make the buffer dirty when moving the
7593 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7595 * vc-backend.C: STRCONV
7598 * text2.C (setCounter): STRCONV
7600 * paragraph.C (asString): STRCONV
7602 * lyxlength.C (asString): STRCONV
7603 (asLatexString): ditto
7605 * lyxgluelength.C (asString): STRCONV
7606 (asLatexString): ditto
7608 * lyxfunc.C (dispatch): STRCONV
7611 * lyxfont.C (stateText): STRCONV
7613 * importer.C (Import): STRCONV
7615 * counters.C (labelItem): STRCONV
7616 (numberLabel): ditto
7617 (numberLabel): remove unused ostringstream o
7622 * bufferview_funcs.C (currentState): STRCONV
7624 * buffer.C (readFile): STRCONV
7625 (asciiParagraph): ditto
7626 (makeLaTeXFile): ditto
7628 * Spacing.C (writeEnvirBegin): STRCONV
7630 * LaTeXFeatures.C (getLanguages): STRCONV
7631 (getPackages): ditto
7633 (getBabelOptions): ditto
7634 (getTClassPreamble): ditto
7635 (getLyXSGMLEntities): ditto
7636 (getIncludedFiles): ditto
7640 (scanAuxFile): ditto
7643 * LString.h: add the STRCONV macros
7645 * BufferView_pimpl.C (savePosition): STRCONV
7646 (restorePosition): ditto
7647 (MenuInsertLyXFile): ditto
7649 * vc-backend.C (scanMaster): change from submatch[...] to
7652 * funcrequest.C: include config.h
7654 * factory.C: include config.h
7656 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7658 * box.C: include config.h
7660 * LaTeX.C (scanAuxFile): change from submatch[...] to
7664 2002-10-25 Angus Leeming <leeming@lyx.org>
7666 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7668 * ispell.[Ch] (setError): new method.
7669 * ispell.C (c-tor): move out child process into new class LaunchIspell.
7670 Use setError() insetead of goto END.
7672 * lyx_cb.C (AutoSave): move out child process into new class
7675 2002-10-30 John Levon <levon@movementarian.org>
7677 * text3.C: make start appendix undoable
7679 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
7681 * lyxlength.C (inPixels): Fix returned value.
7683 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7686 2002-10-24 Angus Leeming <leeming@lyx.org>
7688 * lyxgluelength.h: no need to forward declare BufferParams
7689 or BufferView, so don't.
7691 2002-10-21 John Levon <levon@movementarian.org>
7693 * BufferView.C: menuUndo ->undo, redo
7695 * BufferView.h: document, remove dead, make some methods private
7697 * paragraph_funcs.h:
7698 * paragraph_funcs.C:
7699 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7704 * sgml.C: move sgml open/close tag into sgml.C
7706 * bufferview_funcs.h: unused prototype
7709 * lyxfunc.C: remove unused
7712 * text.C: remove unused
7714 2002-10-21 John Levon <levon@movementarian.org>
7718 * BufferView_pimpl.h:
7719 * BufferView_pimpl.C: fix mouse wheel handling based on
7720 patch from Darren Freeman
7722 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
7724 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7726 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
7728 * lyxlength.C (inPixels): Fix hanfling of negative length.
7729 Fix LyXLength::MU case.
7731 2002-10-16 John Levon <levon@movementarian.org>
7733 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7735 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7737 * converter.C (view): add support for $$i (file name) and $$p
7738 (file path) for the viewer command. If $$i is not specified, then
7739 it is appended to the command (for compatibility with old syntax)
7741 2002-10-14 Juergen Vigna <jug@sad.it>
7743 * undo_funcs.C (textHandleUndo): alter the order in which the
7744 new undopar is added to the LyXText, as we have to set first
7745 the right prev/next and then add it as otherwise the rebuild of
7746 LyXText is not correct. Also reset the cursor to the right paragraph,
7747 with this IMO we could remove the hack in "redoParagraphs()".
7749 2002-10-09 Angus Leeming <leeming@lyx.org>
7751 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7752 to turn off an optimisation if a new inset is to be inserted.
7754 2002-10-11 André Pönitz <poenitz@gmx.net>
7756 * lyxtext.h: make some functions public to allow access
7757 from inset/lyxtext for handling LFUN_PRIOR/NEXT
7759 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7761 * text3.C (dispatch): when changing layout, avoid an infinite loop
7764 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7766 * lyxrc.C (read): treat a viewer or converter command of "none" as
7769 * MenuBackend.C (expandFormats): for an update, also allow the
7770 formats that are not viewable
7772 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7773 script if it is newer than the lyxrc.defaults in user directory
7775 2002-10-07 André Pönitz <poenitz@gmx.net>
7777 * text.C: Vitaly Lipatov's small i18n fix
7779 2002-09-25 Angus Leeming <leeming@lyx.org>
7781 * ispell.h: doxygen fix.
7783 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
7785 * buffer.h (readFile): Add a new argument to the method, to allow
7786 reading of old-format templates.
7788 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
7790 * toc.C (getTocList): Get TOC from InsetWrap.
7792 2002-09-16 John Levon <levon@movementarian.org>
7794 * lyxfunc.C: check tabular for cut/copy too
7796 2002-09-12 John Levon <levon@movementarian.org>
7801 * factory.C: add header
7803 * paragraph_funcs.h:
7804 * paragraph_funcs.C: cleanup
7806 2002-09-11 John Levon <levon@movementarian.org>
7808 * PrinterParams.h: odd/even default to true
7810 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
7812 * PrinterParams.h: update printer parameters for new xforms dialog
7814 2002-09-11 Angus Leeming <leeming@lyx.org>
7816 * lyxserver.C (read_ready): re-write to make it more transparent
7817 and to make it work in coherent fashion under Tru64 Unix.
7819 2002-09-11 André Pönitz <poenitz@gmx.net>
7823 * text3.C: implement LFUN_WORDSEL
7825 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7827 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7828 make floatlist_ a boost::shared_ptr<FloatList>
7830 * lyxtextclass.C: include FloatList.h
7831 (LyXTextClass): initialize floatlist_
7832 (TextClassTags): add TC_NOFLOAT
7833 (Read): match "nofloat" to TC_NOFLOAT and use it.
7834 (readFloat): modify call to floatlist_
7838 * FloatList.[Ch] (FloatList): remove commented out float
7840 (erase): new function
7842 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7844 * MenuBackend.C (expandToc): fix crash when there is no document
7847 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
7849 * many files: Add insetwrap.
7851 2002-09-09 John Levon <levon@movementarian.org>
7853 * text2.C: remove confusing and awkward depth wraparound
7855 2002-09-09 John Levon <levon@movementarian.org>
7857 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7860 * buffer.C: remove getIncludeonlyList()
7863 * lyxfunc.C: remove headers
7865 2002-09-09 Juergen Vigna <jug@sad.it>
7867 * text.C (getColumnNearX): fix form Michael this is most
7868 probably a cut&paste bug.
7870 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7872 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7874 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7875 references, ws changes.
7877 * text2.C (init): update counters after init
7878 (insertParagraph): no need to set counter on idividual paragraphs.
7879 (setCounter): access the counters object in the textclass object
7880 on in the buffer object.
7881 (updateCounters): ditto
7883 * lyxtextclass.C: include counters.h, add variable ctrs_ as
7884 shared_ptr<Counters> to avoid loading counters.h in all
7886 (LyXTextClass): initialize ctrs_
7887 (TextClassTags): add TC_COUNTER, and ...
7888 (Read): use it here.
7889 (CounterTags): new tags
7890 (readCounter): new function
7891 (counters): new funtion
7892 (defaultLayoutName): return a const reference
7894 * counters.C (Counters): remove contructor
7895 (newCounter): remove a couple of unneeded statements.
7896 (newCounter): simplify a bit.
7897 (numberLabel): some small formatting changes.
7899 * buffer.[Ch]: remove all traces of counters, move the Counters
7900 object to the LyXTextClass.
7902 2002-09-06 Alain Castera <castera@in2p3.fr>
7904 * tabular.C: uses \tabularnewline; uses >{...} construct from array
7905 package to set the horizontal alignment on fixed width columns.
7908 * lyx_sty.h: added tabularnewline macro def.
7910 * LaTeXFeatures.C: added NeedTabularnewline macro feature
7912 2002-09-06 John Levon <levon@movementarian.org>
7914 * LyXAction.C: tooltips for sub/superscript
7916 * MenuBackend.C: a bit more verbose
7918 * lyxfunc.C: tiny clean
7920 * undo_funcs.C: document undo_frozen
7922 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7924 * counters.C (Counters): add missing algorithm counter.
7926 * text2.C (setCounter): lookup the counter with layouts latexname
7927 instead of by section number.
7928 (setCounter): use a hackish way to lookup the correct enum
7930 a float name->type change
7931 reset enum couners with counter name directly instead of depth value.
7933 * counters.C (Counters): remove the push_backs, change to use the
7934 float type not the float name.
7935 (labelItem): remove unused string, float name->type change
7937 * counters.h: don't include vector, loose the enums and sects vectors
7939 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7941 * lyxtextclass.C (TextClassTags): add TC_FLOAT
7942 (Read): add float->TC_FLOAT to textclassTags
7943 (Read): and handle it in the switch
7944 (readFloat): new function
7946 * FloatList.C (FloatList): comment out the hardcoded float
7949 * lyxlayout.h: ws change.
7951 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
7953 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7955 2002-09-03 Angus Leeming <leeming@lyx.org>
7957 * BufferView_pimpl.h: qualified name is not allowed in member
7958 declaration: WorkArea & Pimpl::workarea() const;
7960 * factory.C: added using std::endl directive.
7962 * text3.C: added using std::find and std::vector directives.
7964 2002-08-29 André Pönitz <poenitz@gmx.net>
7967 * text2.C: remove unused member number_of_rows
7970 * BufferView2.C: remove file, move contents to...
7971 * BufferView.C: ... here
7973 * BufferView_pimpl.C:
7974 * factory.C: move more inset creation to factory
7976 * vspace.C: avoid direct usage of LyXText, ws changes
7979 don't provide direct access to WorkArea, use two simple
7980 acessors haveSelction() and workHeight() instead
7983 2002-08-29 John Levon <levon@movementarian.org>
7985 * BufferView_pimpl.C (dispatch): do not continue when
7988 2002-08-28 André Pönitz <poenitz@gmx.net>
7990 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7993 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7995 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
7997 * buffer.C: increment LYX_FORMAT to 221
7999 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8000 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8002 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8004 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8006 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8008 * factory.C (createInset): use LyXTextClass::floats
8010 * MenuBackend.C (expandFloatListInsert):
8011 (expandFloatInsert):
8014 * text2.C (setCounter):
8016 * LaTeXFeatures.C (useFloat):
8017 (getFloatDefinitions):
8019 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8021 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8022 floatlist_, with accessor floats().
8024 * FloatList.h: remove global FloatList
8026 2002-08-26 André Pönitz <poenitz@gmx.net>
8028 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8032 * BufferView_pimpl.C:
8033 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8035 2002-08-25 John Levon <levon@movementarian.org>
8037 * LyXAction.C: fix margin note description
8039 2002-08-24 John Levon <levon@movementarian.org>
8043 * bufferview_funcs.C:
8045 * undo_funcs.C: cleanups
8047 * lyxfunc.C: disable CUT/COPY when no selection
8049 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
8051 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8052 in "enum UNIT"; e.g. PTW for Percent of TextWidth
8054 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8055 Add backward compatibility to "mono", "gray" and "no".
8057 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
8059 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8060 (and file_format >= 200).
8062 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8064 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8066 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8068 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8070 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
8072 * BufferView_pimpl.C:
8079 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8080 inset and code to make it work with the paragraph code. The inset
8081 can be anywhere in the paragraph, but will only do the expected
8082 thing in LaTeX if the layout file contains the parameter line
8084 (or more generally, a nonzero value) for that layout.
8086 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8088 * paragraph.h: remove the declaration of undefined counters class
8091 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
8093 * text2.C (setCounter): fixed enumeration mis-count as reported by
8094 Dr. Richard Hawkins.
8096 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8098 * paragraph_funcs.h: remove some unneeded includes
8100 * text.C (backspace): pasteParagraph now in global scipe
8102 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8103 (pasteSelection): ditto
8105 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8106 * paragraph_funcs.C (pasteParagraph): ... here
8108 2002-08-20 André Pönitz <poenitz@gmx.net>
8110 * commandtags.h: new LFUNs for swapping/copying table row/colums
8113 * lyxfunc.C: support for new lfuns
8115 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
8118 * buffer.[Ch]: remove NO_COMPABILITY stuff
8120 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
8122 * boost.C (throw_exception): new file, with helper function for
8123 boost compiled without exceptions.
8128 * ParameterStruct.h:
8129 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8131 * bufferlist.C (emergencyWriteAll): use boost bind
8133 * BufferView_pimpl.C (moveCursorUpdate): remove inline
8135 * text.C: include paragraph_funcs.h
8136 (breakParagraph): breakParagraph is now in global scope
8138 * paragraph_funcs.[Ch]: new files
8140 * paragraph.C (breakParagraph,breakParagraphConservative): move to
8143 * buffer.C: include paragraph_funcs.h
8144 (insertStringAsLines): breakParagraph is now in global scope
8146 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8149 * CutAndPaste.C: include paragraph_funcs.h
8150 (cutSelection): breakParagraphConservative is now in global scope
8151 (pasteSelection): ditto
8153 * buffer.h: declare oprator== and operator!= for
8154 Buffer::inset_iterator
8156 * bufferlist.C (emergencyWrite): don't use fmt(...)
8158 * text3.C: add using std::endl
8160 * BufferView.C (moveCursorUpdate): remove default arg
8162 2002-08-20 André Pönitz <poenitz@gmx.net>
8164 * buffer.[Ch]: move inline functions to .C
8167 * BufferView_pimpl.C:
8169 * buffer.[Ch]: use improved inset_iterator
8172 * paragraph.[Ch]: write one paragraph at a time
8174 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
8176 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8177 style if style is not specified.
8179 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8181 * text2.C (setCounter): when searching for right label for a
8182 caption, make sure to recurse to parent insets (so that a caption
8183 in a minipage in a figure float works) (bug #568)
8185 2002-08-20 André Pönitz <poenitz@gmx.net>
8187 * text3.C: new file for LyXText::dispatch() and helpers
8189 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8191 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8193 2002-08-19 André Pönitz <poenitz@gmx.net>
8196 * text.C: new LyXText::dispatch()
8198 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8200 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
8202 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8204 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8207 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8209 * Makefile.am: use $(variables) instead of @substitutions@
8211 2002-08-15 André Pönitz <poenitz@gmx.net>
8214 * BufferView_pimpl.C: streamlining mathed <-> outer world
8218 * LyXAction.C: remove unused LFUN_MATH
8220 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8222 * paragraph.[Ch]: add some NO_NEXT ifdefs.
8224 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8226 * paragraph.C (Paragraph): reformat a bit
8227 (cutIntoMinibuffer): use builtin InsetList function instad of
8231 * buffer.C: include boost/bind.hpp, add using std::for_each
8232 (writeFileAscii): use ParagraphList iterators
8233 (validate): use for_each for validate traversal of paragraphs
8234 (getBibkeyList): use ParagraphList iterators
8235 (resizeInsets): use for_each to resizeInsetsLyXText for all
8237 (getParFromID): use ParagraphList iterators
8239 * BufferView2.C (lockInset): use paragraph list and iterators
8241 2002-08-14 John Levon <levon@movementarian.org>
8243 * lyxserver.C: remove spurious xforms include
8245 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8247 * lyxfunc.C (getStatus): disable math-extern outside of math mode
8249 2002-08-13 André Pönitz <poenitz@gmx.net>
8252 * lyxfunc.C: further cleaning
8254 2002-08-13 André Pönitz <poenitz@gmx.net>
8256 * funcrequest.h: new constructor
8258 * funcrequest.C: move stuff here from .h
8261 * BufferView_pimpl.C:
8264 * lyxfunc.C: subsequent changes
8266 * lyxfunc.h: new view() member function
8268 * lyxfunc.C: subsequent changes
8270 2002-08-13 Angus Leeming <leeming@lyx.org>
8273 * BufferView_pimpl.C:
8281 changes due to the changed LyXView interface that now returns references
8282 to member variables not pointers.
8284 2002-08-13 Angus Leeming <leeming@lyx.org>
8286 * WordLangTuple (word, lang_code): return references to strings,
8291 * lyxtext.h: forward-declare WordLangTuple.
8296 * text.C: #include "WordLangTuple.h".
8299 * text.C: (selectNextWordToSpellcheck): constify return type.
8301 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
8307 * paragraph_pimpl.h:
8310 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8312 Made updateCounter always count from start of buffer, and removed
8313 second argument (par).
8314 Reverted floats number display to '#'. Perhaps I'll try again when the
8315 code base is sanitized a bit.
8317 2002-08-12 Angus Leeming <leeming@lyx.org>
8319 * buffer.[Ch] (getLabelList): constify.
8321 2002-08-07 André Pönitz <poenitz@gmx.net>
8323 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8325 * funcrequest.h: extension to keep mouse (x,y) position
8327 2002-08-12 Juergen Vigna <jug@sad.it>
8329 * BufferView2.C (insertErrors): forbid undo when inserting error
8332 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8334 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8336 * ParagraphList.[Ch]: new files
8338 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8340 * BufferView2.C (lockInset): ParagraphList changes
8343 * bufferlist.C: ditto
8347 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8349 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8350 unused class variable counter_,
8352 * paragraph.[Ch] (getFirstCounter): delete unused function
8354 * counters.C: include LAssert.h
8355 (reset): add a new function with no arg, change other version to
8356 not have def. arg and to not allow empty arg.
8358 * text2.C (setCounter): remove empty arg from call to Counters::reset
8360 2002-08-11 John Levon <levon@movementarian.org>
8362 * Makefile.am: add WordLangTuple.h
8364 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8366 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8367 lyxfunc.C lyxlex_pimpl.C: ws changes only.
8369 * insets/insettext.C: InsetList changes
8371 * graphics/GraphicsSupport.C (operator()): InsetList changes
8373 * toc.C (getTocList): InsetList changes
8375 * paragraph_pimpl.[Ch]: InsetList changes
8377 * paragraph.[Ch]: InsetList changes
8379 * buffer.C (inset_iterator): InsetList changes
8380 (setParagraph): ditto
8381 * buffer.h (inset_iterator): ditto
8382 * iterators.C (operator++): ditto
8383 * iterators.h: ditto
8385 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8387 * InsetList.[Ch]: new files, most InsetList handling moved out of
8390 * BufferView2.C (removeAutoInsets): InsetList changes
8392 (ChangeInsets): ditto
8394 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8396 * paragraph_pimpl.h (empty): new function
8398 * paragraph.[Ch] (empty): new function
8400 * other files: use the new Paragraph::empty function
8402 2002-08-09 John Levon <levon@movementarian.org>
8404 * lyxtext.h: remove unused refresh_height
8406 2002-08-09 John Levon <levon@movementarian.org>
8413 * paragraph.C: move sgml char escaping out of paragraph
8416 * paragraph.C: remove id setter
8420 * paragraph_pimpl.C: remove dead tex_code_break_column
8422 * bufferview_funcs.C: small cleanup
8424 * lyxfunc.C: remove dead proto
8426 * lyxtext.h: make some stuff private. Remove some dead stuff.
8428 * lyxgluelength.C: make as[LyX]String() readable
8430 2002-08-08 John Levon <levon@movementarian.org>
8435 * ToolbarDefaults.C:
8438 * toc.C: lyxaction cleanup
8440 2002-08-08 John Levon <levon@movementarian.org>
8442 * BufferView2.C: small cleanup
8445 * lyxfind.C: move unnecessary header into the .C
8447 2002-08-08 John Levon <levon@movementarian.org>
8449 * funcrequest.h: just tedious nonsense
8452 * lyx_main.C: cleanups
8455 * vspace.C: remove dead header lyx_main.h
8457 2002-08-07 Angus Leeming <leeming@lyx.org>
8460 * paragraph_pimpl.h:
8461 Forward declare class Counters in paragraph.h by moving the ctrs member
8462 variable into Paragraph::Pimpl.
8463 (counters): new method, returning a reference to pimpl_->ctrs.
8465 * text2.C: ensuing changes.
8467 2002-08-07 John Levon <levon@movementarian.org>
8469 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8471 * BufferView_pimpl.C: announce X selection on double/triple
8474 * lyx_main.C: use correct bool in batch dispatch
8476 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8478 2002-08-07 André Pönitz <poenitz@gmx.net>
8480 * funcrequest.h: new class to wrap a kb_action and its argument
8483 * BufferView_pimpl[Ch]:
8487 * lyxrc.C: subsequent changes
8490 2002-08-07 John Levon <levon@movementarian.org>
8492 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8493 document options change.
8495 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8500 * makefile.am: move counters functionality over from
8501 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8503 2002-08-06 John Levon <levon@movementarian.org>
8505 * WordLangTuple.h: new file for word + language code tuple
8516 * BufferView2.C: use WordLangTuple
8519 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8521 2002-08-06 John Levon <levon@movementarian.org>
8523 * lyx_main.C: fix cmdline batch handling
8525 2002-08-06 André Pönitz <poenitz@gmx.net>
8527 * lyxrc.C: set default for show_banner to true
8529 2002-08-06 John Levon <levon@movementarian.org>
8531 * pspell.C: fix a crash, and allow new aspell to work
8533 2002-08-06 John Levon <levon@movementarian.org>
8536 * kbmap.C: small cleanup
8539 * vspace.C: add const
8541 2002-08-05 John Levon <levon@movementarian.org>
8543 * LyXAction.C: back to tabular-insert
8545 2002-08-04 John Levon <levon@movementarian.org>
8548 * BufferView.C: cosmetic change
8550 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8560 * BufferView2.C: purge all "Lyx" not "LyX" strings
8563 * lyxcursor.C: attempt to add some documentation
8568 * ToolbarDefaults.C:
8569 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8570 merge with LFUN_TABULAR_INSERT
8577 * pspell.C: split up i/pspell implementations into separate
8578 files, many cleanups
8580 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8582 * text2.C: some cleanup
8584 * lyxfunc.C: don't check for isp_command == "none" any more, it
8585 didn't make any sense
8587 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8592 * makefile.am: move counters functionality over
8593 from text2.C/paragraph.[Ch] to counters.[Ch], and
8595 2002-08-02 John Levon <levon@movementarian.org>
8597 * buffer.C: s/lyxconvert/lyx2lyx/
8599 2002-08-02 Angus Leeming <leeming@lyx.org>
8601 * lyxlex.C: revert John's change as it breaks reading of the user
8604 2002-08-02 Angus Leeming <leeming@lyx.org>
8606 * importer.C (Import):
8607 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8608 changes due to LyXView::view() now returning a boost::shared_ptr.
8610 2002-08-02 John Levon <levon@movementarian.org>
8612 * lyxlex.C: small cleanup
8614 2002-08-02 John Levon <levon@movementarian.org>
8616 * text2.C (status): small cleanup, no logic change
8618 2002-08-01 John Levon <levon@movementarian.org>
8621 * buffer.C (writeFile): don't output alerts, caller
8625 * lyx_cb.C: from above
8627 * lyxfunc.C: allow to open non-existent files
8629 2002-07-31 John Levon <levon@movementarian.org>
8631 * lyxserver.C: don't let incidental errors get
8634 2002-07-30 John Levon <levon@movementarian.org>
8636 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8638 2002-07-30 John Levon <levon@movementarian.org>
8641 * lyxserver.C: remove I/O callback too
8643 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8645 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8648 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8650 * many files: strip,frontStrip -> trim,ltrim,rtrim
8652 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8654 * PrinterParams.h: remove extern containsOnly, and include
8655 support/lstrings.h instead.
8657 * LaTeX.C (scanAuxFile): modify because of strip changes
8659 * buffer.C (makeLaTeXFile): ditto
8660 * bufferparams.C (writeFile): ditt
8661 * lyxfont.C (stateText): ditto
8662 * lyxserver.C (read_ready): ditto
8663 * vc-backend.C (scanMaster): ditto
8665 * BufferView_pimpl.h: ws changes
8667 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8669 2002-07-26 André Pönitz <poenitz@gmx.net>
8671 * kb_sequence.C: remove unnedred usings
8673 2002-07-26 Juergen Vigna <jug@sad.it>
8675 * lyxfind.C (LyXReplace): we have to check better if the returned
8676 text is not of theLockingInset()->getLockingInset().
8678 2002-07-25 Juergen Vigna <jug@sad.it>
8680 * lyxfind.C (LyXReplace): don't replace if we don't get the
8683 * undo_funcs.C (createUndo): remove debugging code.
8685 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
8687 * buffer.C (parseSingleLyXformat2Token): Use default placement
8688 when reading old floats.
8690 * FloatList.C (FloatList): Change the default placement of figure
8691 and tables to "tbp".
8693 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
8695 * MenuBackend.C: using std::max
8697 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8699 * MenuBackend.C (expandToc):
8700 (expandToc2): code moved from xforms menu frontend. It is now
8701 generic and TOCs are transparent to menu frontends.
8703 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8705 * toc.C (getTocList): protect against buf=0
8707 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8708 Menu as first parameter. Now, this calls itself recursively to
8709 expand a whole tree (this will be useful for TOC handling)
8710 (expandFloatInsert): remove 'wide' version of floats
8712 * MenuBackend.h (submenuname): returns the name of the submenu.
8713 (submenu): returns the submenu itself, provided it has been
8714 created by MenuBackend::expand
8716 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8718 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8719 insets which have noFontChange == true. (bug #172)
8721 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8723 * BufferView_pimpl.C: add connection objects and use them...
8726 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8728 * MenuBackend.C (expandLastfiles):
8731 (expandFloatListInsert):
8732 (expandFloatInsert):
8733 (expand): split expand in parts
8735 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8737 * lyx_gui.C: use lyx_gui::exit()
8739 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8741 * LyXAction.C: show the failing pseudo action
8743 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
8745 * buffer.C (readFile): Run the lyxconvert script in order to read
8748 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8752 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8754 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8758 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8760 2002-07-22 Herbert Voss <voss@lyx.org>
8763 * lyxlength.[Ch]: add support for the vertical lengths
8765 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
8767 * toc.[Ch]: std:: fixes
8769 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8771 * lyxrc.C: do not include lyx_main.h
8773 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8779 * BufferView2.C: include "lyxlex.h"
8782 * bufferparams.h: do not #include "lyxlex.h"
8784 * lyxtextclasslist.C (Add): remove method
8785 (classlist): renamed to classlist_
8787 * paragraph_pimpl.C:
8791 * bufferview_funcs.C:
8796 * toc.C (getTocList): use BufferParams::getLyXTextClass
8798 * toc.C (getTocList): use InsetFloat::addToToc
8800 * toc.[Ch]: new files, containing helper functions to handle table
8803 * lyxfunc.C (dispatch): no need to remove spaces around command
8805 (getStatus): handle LFUN_SEQUENCE by returning the status of the
8806 first command of the sequence; it is not very clever, but I do not
8807 have a better idea, actually
8809 * LyXAction.C (LookupFunc): make sure to remove space at the
8810 beginning and end of the command
8812 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8814 * MenuBackend.C (getMenubar): new method: return the menubar of
8816 (read): treat differently reading of menu and menubar (in
8817 particular, the menubar has no name now)
8818 (Menu::menubar): remove
8820 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8823 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8825 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8826 a bibitem inset in a RTL paragraph.
8828 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
8830 * paragraph_pimpl.C: constify
8832 * BufferView_pimpl.C:
8834 * lyxfunc.C: fix dispatch in a nicer way
8836 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8838 * lyxfunc.C (dispatch):
8839 * BufferView_pimpl.C:
8840 * BufferView_pimpl.h:
8842 * BufferView.h: rename Dispatch() to dispatch()
8844 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8846 * lyxlayout.C (Read): honor DependsOn tag
8848 * lyxlayout.[Ch] (depends_on): new method
8850 * version.C.in: update lyx_docversion
8852 * LaTeXFeatures.C (getMacros): only define \LyX when needed
8854 * paragraph.C (validate): remove from here...
8855 * paragraph_pimpl.C (validate): ... and move here
8856 (isTextAt): make it const
8858 * buffer.C (getLists): ws cleanup
8860 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8862 * language.C (read): Use iso8859-1 encoding in latex_lang
8863 (this prevents LyX from crashing when using iso10646-1 encoding).
8865 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8867 * text2.C (toggleInset): if cursor is inside an inset, close the
8868 inset and leave cursor _after_ it
8870 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8872 * lyxfunc.C: move minibuffer completion handling out of here
8874 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8876 * BufferView_pimpl.C:
8877 * LaTeX.C: fix dispatch calls
8879 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
8881 * text.C (drawChars): Fix Arabic text rendering.
8883 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
8887 * lyxfunc.C: remove message-push/pop
8891 * lyxfunc.C: rationalise some code by removing verboseDispatch
8892 in favour of a bool argument to dispatch()
8894 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8896 * lyx_main.C (init): make sure to read symlinks as absolute paths
8898 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8901 * lyxfunc.C: no need for commandshortcut to be a member
8903 2002-07-15 André Pönitz <poenitz@gmx.net>
8905 * converter.C: add support for $$s (scripts from lib/scripts dir)
8906 * lyx_main.C: white space
8908 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8912 * lyxrc.C: remove second exit confirmation
8914 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8919 * BufferView_pimpl.h:
8920 * BufferView_pimpl.C:
8921 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8923 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8925 * MenuBackend.C (expand): add numeric shortcuts to document menu
8927 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8929 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8931 * lyxfont.C (setLyXFamily):
8938 * buffer.C (asciiParagraph): use ascii_lowercase
8940 2002-07-15 Mike Fabian <mfabian@suse.de>
8942 * lyxlex_pimpl.C (search_kw):
8943 * lyxlex.C (getLongString):
8944 * converter.h (operator<):
8945 * converter.C (operator<):
8946 * buffer.C (parseSingleLyXformat2Token):
8948 * ToolbarDefaults.C (read):
8949 * MenuBackend.C (checkShortcuts):
8951 * LColor.C (getFromGUIName):
8952 (getFromLyXName): use the compare_ascii_no_case instead of
8953 compare_no_case, because in turkish, 'i' is not the lowercase
8954 version of 'I', and thus turkish locale breaks parsing of tags.
8956 2002-07-16 Angus Leeming <leeming@lyx.org>
8958 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8959 now takes a Buffer const & argument.
8961 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
8963 * BufferView.C (resize): check there's a buffer to resize
8965 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
8967 * lyxfunc.C: remove dead code
8970 * lyxserver.C: use lyx_guii::set_read_callback
8972 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
8974 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8975 an inset in a RTL paragraph.
8977 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8979 * lyxfunc.C: repaint after a font size update
8981 2002-07-15 André Pönitz <poenitz@gmx.net>
8983 * lyxlength.C: inBP should be able to return negative values
8985 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8987 * lyxfunc.C: use lyx_gui::update_fonts()
8989 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8991 * lyxfunc.C: use lyx_gui::update_color()
8993 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8999 * lyxrc.C: remove file->new asks for name option, and let
9000 buffer-new take an argument
9002 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9004 * BufferView_pimpl.C: remove unneeded extra repaint()
9006 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
9008 * LyXAction.C: allow command-sequence with NoBuffer
9010 * lyxfunc.C: don't insist on trailing ';' for command-sequence
9012 2002-07-10 Angus Leeming <leeming@lyx.org>
9014 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9016 2002-07-09 Angus Leeming <leeming@lyx.org>
9018 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9020 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9022 * lengthcommon.h: whitespace
9024 * lyxfunc.C: update scrollbar after goto paragraph
9026 * lyxtext.h: factor out page break drawing, and fix it so
9027 page break/added space paints as selected nicely
9029 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9031 * BufferView_pimpl.C: add FIXMEs, clean up a little
9033 2002-07-09 André Pönitz <poenitz@gmx.net>
9035 * lyxfont.[Ch]: support for wasy symbols
9037 2002-07-08 André Pönitz <poenitz@gmx.net>
9039 * BufferView_pimpl.C: apply John's patch for #93.
9041 2002-07-05 Angus Leeming <leeming@lyx.org>
9043 * BufferView_pimpl.C (buffer): generate previews if desired.
9045 * LColor.h: add "preview" to the color enum.
9047 * LColor.C (LColor): add a corresponding entry to the items array.
9049 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9052 2002-07-05 Angus Leeming <leeming@lyx.org>
9054 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9055 The body of the code is now in the method that is passed an ostream &
9056 rather than a file name.
9057 Pass an additional only_preamble parameter, useful for the forthcoming
9060 2002-07-03 André Pönitz <poenitz@gmx.net>
9062 * lyxfunc.C: simplify getStatus() a bit for math stuff
9064 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9066 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9068 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9070 * text.C (changeRegionCase): do not change case of all the
9071 document when region ends at paragraph end (bug #461)
9073 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9075 * paragraph.C (startTeXParParams):
9076 (endTeXParParams): add \protect when necessary
9078 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9080 * BufferView_pimpl.C (workAreaExpose): remove warning
9082 2002-06-27 Angus Leeming <leeming@lyx.org>
9084 * Makefile.am: add lyxlayout_ptr_fwd.h.
9086 2002-06-26 André Pönitz <poenitz@gmx.net>
9088 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9090 2002-06-25 Angus Leeming <leeming@lyx.org>
9092 * lyxfunc.C (dispatch): Comment out the call to
9093 grfx::GCache::changeDisplay. The method no longer exists now that the
9094 pixmap generation part of the graphics loader has been moved into
9097 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9099 * text2.C: layout as layout
9101 * text.C: layout as layout
9103 * tabular.C (OldFormatRead): layout as layout
9105 * paragraph_pimpl.C (TeXDeeper): layout as layout
9106 (realizeFont): layout as layout
9108 * paragraph.C (writeFile): layout as layout
9109 (validate): layout as layout
9110 (getFont): layout as layout
9111 (getLabelFont): layout as layout
9112 (getLayoutFont): layout as layout
9113 (breakParagraph): layout as layout
9114 (stripLeadingSpaces): layout as layout
9115 (getEndLabel): layout as layout
9116 (getMaxDepthAfter): layout as layout
9117 (applyLayout): layout as layout
9118 (TeXOnePar): layout as layout
9119 (simpleTeXOnePar): layout as layout
9120 (TeXEnvironment): layout as layout
9121 (layout): layout as layout
9122 (layout): layout as layout
9124 * lyxtextclass.C (compare_name): new functor to work with
9125 shared_ptr, layout as layout
9126 (Read): layout as layout
9127 (hasLayout): layout as layout
9128 (operator): layout as layout
9129 (delete_layout): layout as layout
9130 (defaultLayout): layout as layout
9132 * lyxlayout_ptr_fwd.h: new file
9134 * lyxlayout.C (Read): layout as layout
9136 * lyx_cb.C (MenuInsertLabel): layout as layout
9138 * bufferlist.C (newFile): layout as layout
9140 * buffer.C (readLyXformat2): layout as layout
9141 (parseSingleLyXformat2Token): layout as layout
9142 (insertStringAsLines): layout as layout
9143 (asciiParagraph): layout as layout
9144 (latexParagraphs): layout as layout
9145 (makeLinuxDocFile): layout as layout
9146 (simpleLinuxDocOnePar): layout as layout
9147 (makeDocBookFile): layout as layout
9148 (simpleDocBookOnePar): layout as layout
9149 (getLists): layout as layout
9151 * LaTeXFeatures.C (getTClassPreamble): layout as layout
9153 * CutAndPaste.C (cutSelection): layout as layout
9154 (pasteSelection): layout as layout
9155 (SwitchLayoutsBetweenClasses): layout as layout
9157 * BufferView_pimpl.C (Dispatch): layout as layout
9158 (smartQuote): layout as layout
9160 * BufferView2.C (unlockInset): layout as layout
9162 2002-06-24 André Pönitz <poenitz@gmx.net>
9164 * lyxfunc.C: fix #487
9166 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9170 * lyxfunc.C: remove display_shortcuts, show_banner
9172 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9174 * Buffer_pimpl.C: oops, update on resize
9176 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9183 * BufferView.C: use repaint()
9185 * BufferView_pimpl.h:
9186 * BufferView_pimpl.C: s/updateScreen()/repaint()/
9187 as it's a clearer description. Remove superfluous
9190 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9192 * text.C: fix bug 488. Not ideal, but getting
9193 getWord() to work properly for the insets that
9194 matter is more difficult ...
9196 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9198 * BufferView_pimpl.C:
9201 * lyxfunc.C: remove the six million index lyxfuncs to just
9202 one, and DTRT (bug 458)
9204 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9208 * BufferView_pimpl.h:
9209 * BufferView_pimpl.C: clean up resize() stuff,
9210 and unnecessary updateScreen()s
9212 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9216 * BufferView_pimpl.h:
9217 * BufferView_pimpl.C:
9220 * minibuffer.C: remove focus management of workarea,
9221 not needed. Use screen's greyOut()
9223 2002-06-17 Herbert Voss <voss@lyx.org>
9225 * converter.C: (convert) do not post a message, when converting
9226 fails, let the calling function decide what to do in this case
9228 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
9230 * lyxfunc.C: tidy up a little
9232 2002-06-16 <alstrup@diku.dk>
9234 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9235 Got rid of FORMS_H_LOCATION include. Now we are
9238 2002-06-15 LyX Development team <lyx@rilke>
9240 * buffer.[Ch] (sgmlOpenTag):
9241 (sgmlCloseTag): Added support for avoiding pernicious mixed
9242 content. Return number of lines written.
9245 (makeDocBookFile): Fixed calls to sgml*Tag.
9246 Simple white space clean.
9248 (simpleDocBookOnePar): Simple white space clean.
9250 * tabular.[Ch] (docBook): Renamed to docbook and got another
9251 argument to related with the pernicious mixed content.
9253 (docbookRow): Fixed calls for docbook inset method.
9255 2002-06-15 Lyx Development team <larsbj@birdstep.com>
9257 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9258 so it's X11 independent.
9262 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9264 2002-06-15 Lyx Development team <lyx@electronia>
9266 * intl.h: Renamed getTrans to getTransManager.
9268 2002-06-14 Angus Leeming <leeming@lyx.org>
9270 * Makefile.am: nuke forgotten stl_string_fwd.h.
9272 2002-06-12 Angus Leeming <leeming@lyx.org>
9274 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9276 2002-06-13 Angus Leeming <leeming@lyx.org>
9279 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9281 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
9283 * kbmap.C (getiso): add support for cyrillic and greek
9285 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9289 * BufferView_pimpl.h:
9290 * BufferView_pimpl.C: move bogus scrolling logic
9293 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9296 * BufferView_pimpl.C: view->resize() change
9298 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9300 * BufferView_pimpl.C: topCursorVisible
9303 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9307 * lyx_gui.C: move to frontends/
9311 * lyx_main.C: changes from above
9313 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9320 * lyx_main.C: minor tidy
9322 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9324 * BufferView_pimpl.h:
9325 * BufferView_pimpl.C:
9327 * BufferView.C: make painter() const,
9330 * BufferView2.C: use screen() accessor
9333 * lyx_main.C: some minor cleanup
9335 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9337 * BufferView_pimpl.h:
9338 * BufferView_pimpl.C: remove enter/leaveView,
9341 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9346 * BufferView_pimpl.h:
9347 * BufferView_pimpl.C: only construct screen once,
9350 * lyxrc.C: remove pointless comment
9352 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9355 * BufferView.C: remove active() and belowMouse()
9357 * BufferView_pimpl.h:
9358 * BufferView_pimpl.C: use workarea() not workarea_,
9359 and make it use a scoped_ptr instead
9361 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9363 * lyx_gui.C: add debug message on BadWindow
9365 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9367 * sp_spell.C: fdopen is not part of the C++ standard.
9369 * paragraph.C (InsetIterator): use >= instead of ==
9371 2002-06-07 Angus Leeming <leeming@lyx.org>
9373 Fixes needed to compile with Compaq cxx 6.5.
9374 * BufferView_pimpl.C:
9381 * lyxtextclasslist.C:
9386 all c-library variables have been moved into namespace std. Wrap
9387 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9392 Add a using std::abs declaration.
9394 * kbmap.h (modifier_pair):
9395 * paragraph.h (InsetTable, InsetList):
9396 * lyxfont.h (FontBits):
9397 type definition made public.
9399 * bufferlist.C (emergencyWriteAll): the compiler complains that
9400 there is more than one possible lyx::class_fun template to choose from.
9401 I re-named the void specialisation as lyx::void_class_fun.
9403 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9405 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9406 the compiler is is unable to find tostr in write_attribute.
9408 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9410 * buffer.C (sgmlError): hide #warning
9412 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9414 * xtl/*: get rid of xtl, which is not in use anyway
9416 * LyXAction.C (init):
9417 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9418 were unimplemented xtl experimentation
9420 2002-06-04 André Pönitz <poenitz@gmx.net>
9422 * lyxfunc.C: disable array operation on simple formulae
9424 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
9426 * converter.C: constify a bit
9428 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
9430 * lyx_gui.C: check xforms version correctly
9432 2002-04-30 Herbert Voss <voss@lyx.org>
9434 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9437 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
9439 * lyxvc.C: fix bug 416 (make sure buffer is saved before
9440 attempt to register it with a VCS)
9442 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9444 * lyx_main.C (init): honor variables LYX_DIR_13x and
9447 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9451 * lyx_main.C: fix a crash on bad command line,
9452 and give a useful exit status on error
9454 * lyxfunc.C (doImport): allow -i lyx to work
9456 2002-03-30 André Pönitz <poenitz@gmx.net>
9458 * lyxfunc.C: mathed font changes
9460 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9475 * trans_mgr.h: srcdocs, and some minor cleanups
9477 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9479 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9480 call getFont all the time)
9482 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9484 * switch from SigC signals to boost::signals
9486 2002-05-29 André Pönitz <poenitz@gmx.net>
9488 * paragraph_pimpl.C (getChar): don't call size() too often...
9490 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9492 * paragraph_pimpl.C (insertChar): do not try to update tables when
9493 appending (pos == size())
9495 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9496 in order to reduce drastically the number of comparisons needed to
9497 parse a large document
9499 2002-05-29 André Pönitz <poenitz@gmx.net>
9505 * textclasslist.[Ch]:
9506 * sp_ispell.h: whitespace change
9508 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9510 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9511 lyxaction directly now.
9513 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
9517 * lyxvc.C: remove unused headers
9519 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9526 * undo_funcs.C: some cleanups. Use shared_ptr
9527 and a template for the undo stacks.
9529 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9531 * BufferView_pimpl.h:
9532 * BufferView_pimpl.C:
9539 * text2.C: use key_state/mouse_state
9541 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9543 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9546 * chset.C: change include order
9547 (loadFile): use boost regex and get rid of LRegex and LSubstring
9549 * Makefile.am (BOOST_LIBS): new variable
9552 * LaTeX.C: change include order.
9553 (scanAuxFile): use boost regex and get rid of LRegex and
9557 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9562 * FontInfo.C: moved to frontends/xforms/
9565 * FontLoader.C: moved into frontends for GUIIzation
9570 * lyxfunc.C: changes from above
9572 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9574 * LColor.C: remove spurious X include
9576 * BufferView_pimpl.C:
9581 * text2.C: move font metrics to frontends/
9583 2002-05-24 Juergen Vigna <jug@sad.it>
9585 * undo_funcs.C (textHandleUndo): fix the cursor selection after
9586 setting the undo_cursor.
9588 * ParagraphParameters.h: include local includes first.
9590 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9592 * BufferView_pimpl.C:
9593 * BufferView_pimpl.h:
9597 * screen.C: move WorkArea into frontends/
9603 * BufferView2.C: move LyXScreen into frontends/
9607 * lyx_gui.C: move lyxlookup into frontends/xforms/
9609 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9612 * BufferView_pimpl.C:
9622 * bufferview_funcs.C:
9635 * vc-backend.C: move LyX/XFormsView into frontends/
9637 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9649 * text2.C: move Painter to frontends/
9651 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9653 * buffer.C: comment out some some code that depend upon lyx_format
9656 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9657 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9659 * buffer.h (NO_COMPABILITY): turn off compability
9661 * ColorHandler.C: include scoped_array.hpp
9663 * font.C: Use more specific smart_ptr header.
9666 * ShareContainer.h: ditto
9670 * BufferView_pimpl.h: ditto
9671 * ColorHandler.h: ditto
9673 * kbmap.C (defkey): change call to shared_ptr::reset
9675 2002-05-21 Juergen Vigna <jug@sad.it>
9677 * buffer.C (insertErtContents): fix to insert ert asis if it is
9678 non empty. Skip it completely if it contains only whitespaces.
9680 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
9682 * BufferView_pimpl.C:
9683 * BufferView2.C: clear selection on paste (bug 393)
9685 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9687 * DepTable.C: include ctime
9689 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
9691 * buffer.C (latexParagraphs): Add new argument (moving_arg).
9693 2002-05-14 Juergen Vigna <jug@sad.it>
9695 * text.C (breakParagraph): fixed function to honor the keepempty
9696 layout in the right maner and also to permit the right breaking
9697 algorithm on empty or non empyt keepempty paragraphs.
9699 * paragraph.C (breakParagraph): we have to check also if the par
9700 is really empty (!size()) for isempty otherwise we do the wrong
9703 2002-05-10 Juergen Vigna <jug@sad.it>
9705 * buffer.[Ch] : The following are only changes to the ert
9706 compatibility read reading old LaTeX layout and font stuff and
9707 convert it to ERTInsets.
9709 * buffer.h: added isErtInset().
9711 * buffer.C (struct ErtComp): add a fromlayout bool to check
9712 if we're inside a LaTeX layout.
9713 (isErtInset): new helper function.
9714 (insertErtContents): look for other ert insets before this one
9715 and insert the contents there, so that we don't have subsequent
9716 ERT insets with nothing between them. This way we create only one
9717 inset with multiple paragraphs. Also check if we don't insert only
9718 spaces ' ' as they are ignored anyway afterwards in the .tex file
9719 so if we have only spaces we will ignore this latex part in the
9721 (parseSingleLyXformat2Token \\layout): better compatibility when
9722 reading layout-latex stuff.
9723 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9725 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9726 stuff after reading the inset only get the information back from
9729 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
9731 * buffer.C (makeLaTeXFile): Put language options after loading babel.
9733 * LaTeXFeatures.C (getBabelOptions): New method.
9735 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9737 * BufferView_pimpl.C (Dispatch): work around missing argument for
9740 2002-05-08 Juergen Vigna <jug@sad.it>
9742 * text.C (leftMargin): handle paragraph leftindent.
9744 * paragraph.C (writeFile): write the new \\leftindent tag.
9745 (validate): handle leftindent code.
9746 (TeXEnvironment): handle paragraphleftindent code again.
9748 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9750 * buffer.C (parseSingleLyXformat2Token): added compatibility code
9751 for paragrap_extra indent code and new token \\leftindent.
9752 (latexParagraphs): handle the leftindent as environment.
9754 * ParameterStruct.h: added leftindent support.
9756 * ParagraphParameters.C (leftIndent): added support functions for
9757 the paragraph left indent.
9759 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9762 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
9764 * paragraph.C (isRightToLeftPar): Return false for a paragraph
9767 * text.C (computeBidiTables): No bidi in insetERT.
9769 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9772 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9774 * version.C.in: pre 5
9776 2002-05-02 José Matos <jamatos@fep.up.pt>
9777 * buffer.C (makeDocBookFile): white space changes, add newline to
9779 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9781 * tabular.C (docBook): fix typo.
9783 2002-05-03 Juergen Vigna <jug@sad.it>
9785 * screen.C (drawFromTo): recalculate the rowpointer if we had a
9786 change in LyXText as we can not be sure it was not freed.
9787 (drawOneRow): remove unused code.
9789 * text.C (drawInset): redo the calculation of the need_break_row as
9790 it could have a row which was already freed.
9791 (draw): look at the return value of drawInset and return false if
9792 it also returned false.
9793 (paintRowText): look at the return value of draw and return false if
9794 it also returned false.
9796 * lyxtext.h: added bool return type to drawInset() and draw() so that
9797 if we have a change in the row so that the rowbreak has to be redone
9798 we abort drawing as it will be called again.
9800 2002-05-02 Juergen Vigna <jug@sad.it>
9802 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9803 a change in the maintext also if we're inside an inset.
9804 (Dispatch): set the cursor again after a break line and after the
9805 screen has been updated as it could be we're in a different row.
9807 * text2.C (fixCursorAfterDelete): check to make sure we don't request
9808 to set the cursor behind the pargraph with > size().
9809 (setCursor): check also for the same paragraph when checking where
9810 to put the cursor if we have a NFR inset.
9812 * buffer.C (parseSingleLyXformat2Token): move the compatibility
9813 parts of layout read further up as it still was in the wrong
9816 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9818 * screen.C (drawFromTo): change sine fullRebreak always return
9821 * buffer.C (parseSingleLyXformat2Token): reindent some
9823 * BufferView_pimpl.C (update): change since fullRebreak always
9825 (Dispatch): git rid of the last hardcoded "Standard"s.
9827 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9829 * text2.[Ch] (fullRebreak): make it return void now that we always
9832 2002-04-30 Juergen Vigna <jug@sad.it>
9834 * buffer.C (parseSingleLyXformat2Token): reset the font before the
9835 ert compatibility check for "latex" layout.
9837 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
9839 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9840 minipages: use col% instead of p%, and also use the current font.
9841 (makeLaTeXFile): Fix use babel condition.
9842 (parseSingleLyXformat2Token): Correct font when reading old floats.
9844 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
9846 * BufferView_pimpl.C (Dispatch): Check that float type exists when
9847 inserting list of floats.
9849 2002-04-25 Herbert Voss <voss@lyx.org>
9851 * MenuBackend.C (expand): don't add the graphics extensions to the
9854 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9856 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9857 non-existing layout, do not complain if it was the default layout
9858 of the original class (bug #342)
9860 2002-04-24 Juergen Vigna <jug@sad.it>
9862 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9863 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9865 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
9867 * buffer.C (getBibkeyList): If using \bibliography, return the
9868 option field with the reference itself. Enables us to provide natbib
9869 support when using \bibliography.
9871 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
9873 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9875 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9876 natbib is provided by the LaTeX class.
9878 2002-04-23 Juergen Vigna <jug@sad.it>
9880 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9883 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9885 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9887 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9889 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9890 ensuremath around textordmasculine, textordfeminine and
9893 2002-04-19 Juergen Vigna <jug@sad.it>
9895 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9896 reinitializing the buffer otherwise row-dimensions may be wrong.
9897 (update): reset also the selection cursors if they do exits otherwise
9898 their x/y positions may be wrong.
9900 * text2.C (cursorDown): don't enter the inset if we came from a row
9901 above and are one row over the inset.
9903 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9904 really leaving an inset.
9906 2002-04-18 Juergen Vigna <jug@sad.it>
9908 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9909 of the selected paragraph does not have the selected layout also if
9912 * text2.C (setLayout): fixed bug which did not change last selected
9915 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9916 changed the read and substituted \\end_float with \\end_inset!
9918 * BufferView_pimpl.C (cursorPrevious):
9919 (cursorNext): fixed to make it work with rows heigher than the work
9920 area without moving the cursor only the draw of the row.
9921 (workAreaMotionNotify): fix jumping over high rows.
9923 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9925 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9928 2002-04-16 Juergen Vigna <jug@sad.it>
9930 * text2.C (setCursor): set also the irow().
9931 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9933 (cursorDown): support for locking an inset if the x_fix value goes
9934 inside it. That way I can transverse insets too with cursor up/down.
9936 * lyxrow.h: added irow helper function same as other (i) functions.
9938 * BufferView_pimpl.C (cursorPrevious):
9939 (cursorNext): fixed for insets!
9941 2002-04-15 Juergen Vigna <jug@sad.it>
9943 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9944 position otherwise it is wrong in some cases.
9946 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9947 inside the inset before the call.
9949 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
9951 * buffer.[Ch] (getBibkeyList): make it const.
9953 2002-04-12 Juergen Vigna <jug@sad.it>
9955 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9957 * text2.C (getCursorX): new helper function
9958 (setCursor): compute also ix_
9959 (setCursorFromCoordinates): set also ix.
9961 * lyxcursor.h: added ix_ and helper functions.
9963 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9965 * buffer.C (insertStringAsLines): dont break paragraph if the this
9966 paragraph is inside an inset which does not permit it!
9968 * text.C (breakParagraph): honor keepempty flag and break the paragraph
9969 also with no chars on this paragraph.
9970 (paintRowText): only paint stuff if it's inside the workarea!
9972 * paragraph.C (breakParagraph): honor keepempty flag and break the
9973 paragraph always below not above.
9975 * BufferView2.C (unlockInset): update the paragraph layout on inset
9976 unlock as we changed paragraph in such a case.
9978 * lyxfind.C (LyXFind): clear the former selection if not found!
9980 * text2.C (insertInset): freeze Undo after setUndo so that it is not
9981 again called in insertChar().
9983 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9984 an inset which uses the whole row!
9985 (rightMargin): ditto.
9986 (insertChar): force a rebreak if we inserted an inset!
9988 2002-03-28 Herbert Voss <voss@lyx.org>
9990 * lyxlength.[Ch]: add inBP() to get the right PS-point
9991 units (BigPoint). With inPixels we have rounding errors
9993 2002-04-11 Juergen Vigna <jug@sad.it>
9995 * text2.C (setCursorFromCoordinates): set iy to the right value.
9996 (setCursor): add check if row->previous exists!
9998 * buffer.C (parseSingleLyXformat2Token): reset font after read of
9999 an old float_type as this was the case in the old code!
10001 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10003 * BufferView2.C (showLockedInsetCursor): use iy
10004 (fitLockedInsetCursor): ditto
10006 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10007 locked insets as there we have the right value now.
10009 * lyxcursor.C: added iy_ variable and iy functions to set to the
10010 baseline of cursor-y of the locked inset.
10012 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10013 (setCursor): fixed for insets which need a full row.
10015 * text.C (rowLastPrintable): don't ignore the last space when before
10016 an inset which needs a full row.
10017 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10018 as last character of a row when before a inset which needs a full row.
10020 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10022 * version.C.in: update date
10024 * text2.C (fullRebreak): try to always return true and see what
10027 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10029 * MenuBackend.C (expand): use Floating::listName
10031 * FloatList.C (FloatList): add listName argument to the built-in
10034 * Floating.[Ch]: add listName member, which is the 'List of XXX'
10035 text associated with the float.
10037 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10039 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10041 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10043 * ShareContainer.h: add a couple of missing typenames.
10045 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
10047 * lyxrc.C (getDescription): use _() correctly rather than N_().
10049 2002-03-28 Herbert Voss <voss@lyx.org>
10051 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10052 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10054 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10056 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10057 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10059 2002-03-29 Juergen Vigna <jug@sad.it>
10061 * lyxfunc.C (dispatch): add a missing fitCursor call.
10063 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10064 it was scrolled by a cursor move, so return the bool status.
10066 * BufferView.C (fitCursor): return the bool flag also to the outside
10067 world as this is needed.
10069 * screen.C (toggleToggle): don't subtract the offset if it's positive.
10071 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10072 call the edit() as it is not needed (and wrong) IMO.
10073 (workAreaButtonPress): set the screen_first variable before evt.
10074 unlock the inset as this may change screen_first and then we have
10075 a wrong y position for the click!
10077 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10079 * MenuBackend.C (expand): another translation that I missed
10081 2002-03-28 Juergen Vigna <jug@sad.it>
10083 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10085 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10087 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10089 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10091 * MenuBackend.C (expand): fix export/view/update when there is no
10094 2002-03-27 Herbert Voss <voss@lyx.org>
10096 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10099 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10101 * bufferview_funcs.C (currentState): only show paragraph number
10102 for is DEVEL_VERSION is set.
10104 * lyxfunc.C (dispatch): put warning in INFO channel
10106 * MenuBackend.C (expand): translate the name of floats
10108 * FloatList.C (FloatList): mark the float names for translation
10110 * converter.C (convert): use LibScriptSearch
10112 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10114 * MenuBackend.C (defaults): fix default menu (we might as well get
10117 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10119 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10122 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10124 * lyxvc.C: reorder includes.
10126 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
10128 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10131 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
10133 * CutAndPaste.C: change layouts earlier on paste
10134 to avoid crashing when calling getFont()
10136 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
10138 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10141 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10143 * WorkArea.C: remove 'Pending' debug message.
10145 * most files: ws cleanup
10147 * buffer.[Ch]: ws changes
10149 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10151 2002-03-21 Juergen Vigna <jug@sad.it>
10153 * tabular.C (SetMultiColumn): collapse also the contents of the
10154 cells and set the last border right. Added a Buffer const * param.
10156 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10158 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10161 2002-03-19 Juergen Vigna <jug@sad.it>
10163 * text2.C (clearSelection): reset also xsel_cache.
10165 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10166 where it needs to be called (John tells us to do so too :)
10167 (selectionLost): reset sel_cache.
10169 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10171 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10173 * text2.C (setCursorIntern): put debuging code in INSETS channel
10175 2002-03-19 André Pönitz <poenitz@gmx.net>
10177 * lyxfunc.C: tiny whitespace change
10179 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10181 * ToolbarDefaults.C (init):
10182 * LyXAction.C (init):
10184 * BufferView_pimpl.C (Dispatch):
10185 * lyxfunc.C (dispatch): remove LFUN_DEPTH
10187 2002-03-19 Allan Rae <rae@lyx.org>
10189 * exporter.C (Export): removeAutoInsets before doing anything else.
10190 While I've just introduced a dependency on BufferView this really is
10191 the best place to clean the buffer otherwise you need to cleanup in
10192 a dozen places before calling export or cleanup in a dozen functions
10195 * converter.C (runLaTeX):
10196 (scanLog): Better handling of removeAutoInsets and screen updates.
10198 * lyxfunc.C (dispatch): small whitespace changes
10200 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10202 * WorkArea.C (C_WorkAreaEvent): return a value.
10203 (event_cb): return 1 if we handled the event, 0 otherwise.
10205 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10207 2002-03-18 Juergen Vigna <jug@sad.it>
10209 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10210 (GetAdditionalWidth): ditto.
10211 (RightLine): ditto.
10214 * BufferView2.C (copy): use getLyXText() so that we do it inside an
10215 inset if we're there actually (probably not used right now but this
10216 is the direction to go for unifying code).
10217 (paste): disable code to clear the selection.
10219 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10220 inside an InsetText and move the check further up as it is in the
10223 * text2.C (pasteSelection): set a selection over the pasted text.
10225 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
10227 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10228 and libgraphics to build on Cygwin.
10230 2002-03-15 Juergen Vigna <jug@sad.it>
10232 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10233 inserting an Inset into the paragraph. I know this is not the best
10234 fix but we already use current_view in CutAndPaste so we will remove
10235 all of it's using at the same time.
10237 * buffer.C (sgmlError): deactivated function till it is rewritten in
10238 the right mode, now it can create problems.
10240 * paragraph.C (isLineSeparator): check if getInset returns != 0,
10241 before accessing it.
10243 2002-03-14 Juergen Vigna <jug@sad.it>
10245 * undo_funcs.C (textHandleUndo): do the right thing when updating
10246 the inset after the undo/redo.
10248 * text2.C (setCursor): just some testcode for #44 not ready yet.
10250 * undo_funcs.C (textHandleUndo): set the next() and previous()
10251 pointers of the paragraph to 0 before deleting otherwise we have
10252 problems with the Paragraph::[destructor].
10254 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10255 on a paragraph insertion.
10257 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10259 * buffer.C (asciiParagraph): use += operator for char append to
10262 * paragraph.C (getFontSettings): compare >= not just >
10263 (highestFontInRange): ditto
10266 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10268 * paragraph.C: change several algorithm to be more appripriate for
10269 the problem domain. This is lookip in FontList and in the InsetList.
10271 2002-03-13 André Pönitz <poenitz@gmx.net>
10274 * LyXAction.C: remove unused LFUN_MATH_MACROARG
10276 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
10281 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10283 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10285 * Painter.C (display): anon helper function, adjust code for this
10287 (pixmap): remove function.
10289 * Painter.h: remove private display variable.
10291 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10293 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
10295 * WorkArea.[Ch]: remove figinset_canvas cruft.
10297 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10299 * lyxtextclass.C (operator): add one item cache optimization.
10301 * bufferlist.h: doxy changes
10303 * bufferlist.C: ws changes
10305 * DepTable.[Ch] (ext_exist): place const in the right spot.
10307 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10309 (workAreaExpose): call resizeInsets when the with BufferView changes.
10310 (Dispatch): adjust for protectedBlank removal
10311 (specialChar): call updateInset if the insert went ok.
10313 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10314 specialChar instead.
10316 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10318 * BufferView.h: doxy change
10320 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10322 * lyxtextclass.C (operator[]): remove non-const version
10323 (defaultLayout): remove non-const version
10325 2002-03-12 Juergen Vigna <jug@sad.it>
10327 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10328 did resize the LyXText too.
10330 * buffer.C (readLyXformat2): set layout information on newly allocated
10333 * tabular.C (OldFormatRead): set layout information on the paragraph.
10335 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10337 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10339 2002-03-11 Juergen Vigna <jug@sad.it>
10341 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10343 (resizeCurrentBuffer): force also the insets to resize themselfes.
10344 (moveCursorUpdate): fixed up for InsetText.
10346 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
10349 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10350 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10351 value of Dialogs::tooltipsEnabled().
10352 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10354 2002-03-08 Juergen Vigna <jug@sad.it>
10356 * BufferView_pimpl.C (updateInset): update inset inside inset also
10357 if it isn't inside theLockingInset().
10359 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10361 * buffer.C (asciiParagraph): redo some of the word and line length
10363 (getLists): look for Caption instead of caption.
10365 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10367 * buffer.C (Buffer): initialize niceFile to true
10369 (makeLinuxDocFile):
10370 (makeDocBookFile): make sure niceFile is true on exit
10372 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10374 * buffer.C (makeLaTeXFile): escape ~ in \input@path
10376 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
10378 * LyXSendto.C: remove.
10379 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10380 * lyx_gui.C: remove now-redundant comment.
10381 * ColorHandler.h: remove forward declaration of class WorkArea.
10382 * lyxfunc.C: remove #include "WorkArea.h".
10384 2002-03-07 Juergen Vigna <jug@sad.it>
10386 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10387 got moved away with the DEPM and also set the inset_owner always
10388 right which before could have been omitted.
10390 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10392 * buffer.C (parseSingleLyXformat2Token): use default layout is the
10393 wanted layout is not found.
10395 2002-03-07 Juergen Vigna <jug@sad.it>
10397 * CutAndPaste.C (cutSelection): another layout settings forgotten.
10399 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10401 * paragraph.C (breakParagraph): use default layout not layout of
10403 (Paragraph): clear ParagraphParameters.
10405 2002-03-06 Juergen Vigna <jug@sad.it>
10407 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10408 otherwise it would not be a valid lenght. Fixed a special case in
10409 the minipage compatibility read where we end the document with a
10412 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10413 was set as it could be 0 for InsetTexts first entry.
10415 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10417 * paragraph.C (writeFile): if layout is empty write out
10418 defaultLayoutName().
10420 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10421 file without named layout we set layout to defaultLayoutName().
10423 2002-03-06 Juergen Vigna <jug@sad.it>
10425 * CutAndPaste.C (copySelection): set layout for new paragraph.
10427 * text.C (prepareToPrint): leave ERT inset left aligned
10428 (leftMargin): don't indent paragraphs inside ERT insets
10430 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10432 * paragraph.C (breakParagraph): dont call clear do the work manually
10434 * paragraph.[Ch] (clear): remove function
10436 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10438 * paragraph.C (Paragraph): dont call clear, the work has already
10441 * lyxtextclass.C (operator): assert if n is empty
10443 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10444 work manually instead.
10446 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10448 * BufferView_pimpl.C: protect selectionLost against text == 0
10450 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10452 * text.C (breakParagraph): fix a setting layout to '0' problem.
10454 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10456 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10457 final location of file, for the included files, and graphics.
10459 2002-03-05 Juergen Vigna <jug@sad.it>
10461 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10463 2002-03-04 Juergen Vigna <jug@sad.it>
10465 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10467 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10468 last column of multicolumn cells.
10469 (SetWidthOfMulticolCell): recalculate NMC and real columns.
10471 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
10473 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10474 file if it doesn't go to a temporary file.
10476 * buffer.C (sgmlOpenTag):
10477 (sgmlCloseTag): remove extra newline insertion.
10479 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10481 * text.C (getRowNearY): comment out debug msg
10483 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10485 * text2.C: first -> first_y
10487 * text.C (getRowNearY): add some attemts at a possible
10488 optimization, not working.
10490 * tabular.[Ch]: add BufferParams to several function so that newly
10491 created paragraph can be initialized to he default layotu for the
10494 * tabular-old.C (ReadOld): add buf->params to call of Init
10496 * screen.C: rename text->first to text->first_y
10498 * paragraph.C (breakParagraph): always set layout in the broken
10501 * lyxtextclass.C (Read): remove lowercase
10504 (delete_layout): ditto
10506 * lyxtext.h: rename first -> first_y
10508 * lyxlayout.C (Read): remove lowercase
10511 (obsoleted_by): ditto
10513 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10515 * buffer.C (insertErtContents): add params are to InsetERT
10516 (parseSingleLyXformat2Token): add code to check if a paragraphs
10517 layout really exist.
10518 (parseSingleLyXformat2Token): add params to several inset
10520 (asciiParagraph): remove lowercase, do the layout comparisons with
10523 * BufferView_pimpl.C (cursorNext): first -> first_y
10524 (resizeCurrentBuffer): first -> first_y
10525 (updateScrollbar): first -> first_y
10526 (scrollCB): first -> first_y
10527 (workAreaMotionNotify): first -> first_y
10528 (workAreaButtonPress): first -> first_y
10529 (checkInsetHit): first -> first_y
10530 (cursorPrevious): first -> first_y
10531 (cursorNext): first -> first_y
10532 (Dispatch): add buffer_->params to severl inset contructors
10534 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10536 * lyxlayout.C (Read): remove some debug info that I forgot.
10538 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10539 clean up the code slightly.
10540 (makeLinuxDocFile): ditto
10541 (makeDocBookFile): ditto
10543 * text2.C: layout as string
10545 * text.C: layout as string
10547 * paragraph_pimpl.C: layout as string
10549 * paragraph.[Ch]: layout as string
10551 * lyxtextclasslist.[Ch]: layout as string
10553 * lyxtextclass.[Ch]: layout as string
10555 * lyxtext.h: layout as string
10557 * lyxlayout.[Ch]: layout as string
10559 * lyx_cb.C: layout as string
10561 * bufferview_funcs.C: layout as string
10563 * bufferparams.C: layout as string
10565 * buffer.C: layout as string
10567 * LyXView.[Ch]: layout as string
10569 * LaTeXFeatures.[Ch]: layout as string
10571 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10573 * BufferView_pimpl.C: change current_layout to string, remove
10578 (workAreaButtonRelease): layout as string
10580 * BufferView2.C (unlockInset): adjust
10582 * vspace.C (asLatexCommand): use an explict temp variable.
10584 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10586 * Makefile.am: use FRONTEND_*
10588 2002-03-01 Juergen Vigna <jug@sad.it>
10590 * tabular.C (SetWidthOfMulticolCell): changed to something better
10591 I hope but still work in progress.
10592 (recalculateMulticolumnsOfColumn): renamed function from
10593 recalculateMulticolCells as it is more appropriate now.
10594 (SetWidthOfCell): calculate multicols better.
10596 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10598 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10600 * lyxfunc.C (processKeySym): print sequence also if it is
10601 `deleted' (complete)
10603 * kbsequence.C (print): print sequence even if it is deleted
10604 (complete would be a better word, actually).
10606 * lyxfunc.C (dispatch): print complete options after a prefix key
10608 * vspace.C (asLatexCommand): rewrite in a slightly different form.
10610 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
10612 * text2.C (setCharFont): eliminate setCharFont code duplication.
10614 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10616 * BufferView_pimpl.C (Dispatch): remove bogus handling of
10617 LFUN_TABULAR_FEATURE (bug #177)
10619 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
10621 * Makefile.am: remove figure.h
10623 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
10625 * Bufferview_pimpl.C:
10637 * text2.C: remove #include "lyx_gui_misc.h".
10639 * LaTeX.C: added #include <cstdio>
10641 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10643 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10644 that the paragraph following this one can have.
10646 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10648 * vspace.C (asLatexCommand): fix bogus gcc warning
10650 * Makefile.am (lyx_SOURCES): remove vms_defines.h
10652 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
10654 * text2.C (setLayout): get rid of redundant code
10656 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
10658 * text2.C (incDepth): make sure depth cannot be increased beyond
10661 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
10663 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10664 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10666 * PainterBase.h (image):
10667 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10668 a LyXImage const *.
10670 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10674 * BufferView_pimpl.C:
10675 * BufferView_pimpl.h:
10695 * sp_spell.C: remove fig inset, and the crap house of
10696 cards that follows it
10698 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10703 * os2_errortable.h:
10704 * nt_defines.h: move .h into support/
10706 * vms_defines.h: remove
10708 * WorkArea.C: add space in debug output
10712 * buffer.C: add WITH_WARNINGS
10716 * bufferlist.C: s/retrive/retrieve/, add docs
10725 * chset.C: add docs
10727 * lyxgui.C: add ID to X error handler
10729 * lyxtestclass.c: fix typo
10731 2002-02-26 Juergen Vigna <jug@sad.it>
10733 * tabular_funcs.C (write_attribute): changed so that some default
10734 attributes are not written at all.
10735 (getTokenValue): set default values before trying to read the
10736 value so we have the return value always set as default if we don't
10737 find the token we search for.
10739 * tabular.C (Write): write bools as bools not as strings!
10741 2002-02-22 Juergen Vigna <jug@sad.it>
10743 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10744 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10746 * text.C (leftMargin): don't add an indent for paragraphs inside
10747 tabular cells (fix #208).
10749 2002-02-21 José Matos <jamatos@fep.up.pt>
10751 * tabular.C (docBook): fixed support for long tables.
10753 2002-02-20 Juergen Vigna <jug@sad.it>
10755 * text2.C (getFont): get the drawing font of the Inset if this
10756 paragraph is inside an inset (only important for InsetERT for now).
10758 * buffer.C (insertErtContents): use new lanugage params in ERT
10761 * CutAndPaste.C: commenting out seemingly uneeded code.
10763 2002-02-19 Allan Rae <rae@lyx.org>
10765 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10766 Iterators might be simple to use but they also get invalidated.
10767 (removeAutoInsets): renamed saved cursor tracking variables and added
10768 some comments to clarify what everything does.
10770 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
10777 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10778 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10781 * vc-backend.h: remove #include "support/syscall.h"
10785 * converter.C: rearrange #includes in Lars' approved fashion.
10787 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10788 forward declare class Timeout in the header file.
10790 * XFormsView.C: changes due to the above.
10792 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10793 similar to LyXView.
10795 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10796 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10798 2002-02-18 José Matos <jamatos@fep.up.pt>
10800 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10803 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10805 * a lot of small ws changes
10806 * add a lot of using std::XXX
10807 * use std construcs some places where approp.
10808 * use some exisint stuff from lyxfunctional where approp.
10809 * Make file changes to use partial linking (lets test this now...)
10811 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10815 remove #include "support/syscontr.h" as it's redundant. Always has been.
10823 change Systemcalls::System to Systemcalls::Wait and
10824 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10825 No change of functionality, just reflects the stripped down Systemcalls
10828 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10830 * debug.[Ch]: add a GRAPHICS type to the enum.
10832 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10834 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10836 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10839 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10841 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10842 match the changes below.
10844 * text2.C (toggleInset): if there is not editable inset at cursor
10845 position, try to see if cursor is _inside_ a collapsable inset
10848 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10850 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10851 document menu has a nice checkbox
10853 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10855 * lyxlength.C (asLatexString): change PW to output as percent of
10858 * lengthcommon.C: change '%' to 't%'
10860 * lyxfunc.C (dispatch): a few comments from Martin
10862 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
10866 * BufferView_pimpl.h:
10867 * BufferView_pimpl.C: clear our selection when X tells us we've lost
10870 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10872 * vspace.C (inPixels): fix compiler warning
10874 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10876 * lyxfunc.C (getStatus): fix status message for disabled commands.
10878 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
10880 * BufferView_pimpl.C: fix crash on close buffer
10881 during selection (#227)
10883 2002-01-27 Herbert Voss <voss@lyx.org>
10885 * buffer.C: link old Figure to new graphic inset
10887 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
10889 * FontLoader.C (getFontinfo): Change the latex font names in order
10890 to match the names of type1inst.
10892 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10894 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10896 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10897 (extchanged): ditto
10899 (remove_files_with_extension): ditto
10900 (remove_file): ditto
10903 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10904 document is smaller than the work area height. Do not initialize
10905 static variables to 0.
10907 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10909 * lyx_gui.C (init): give the toolbar tooltips a normal font.
10911 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10912 LFUN_LAYOUT_PARAGRAPHS.
10914 * tabular.C (GetCellFromInset): new method. Finds an inset in a
10915 tabular. It is possible to provide a possible cell, which will
10916 typically be the actcell from the corresponding insettabular
10918 * lyxfunc.C (getStatus): small cleanup; disable
10919 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10922 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10924 * tabular.C (Validate): remove broken optimization (fixes bug #201)
10926 * paragraph.C (startTeXParParams):
10927 (endTeXParParams): new methods. The LaTeX code to
10928 start/end paragraph formatting
10929 (simpleTeXOnePar): call startTeXParParams also when paragraph is
10930 empty (fixes bug #200)
10932 * vspace.C (inPixels): adapt to the change below
10933 (inPixels): [later] more cleanups (remove unused variables)
10935 * lyxlength.C (inPixels): change to use a width and a height as
10938 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10940 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10941 Replaced with \paperwidth
10943 * DepTable.C (insert): add std:: qualifier
10945 2002-01-18 Allan Rae <rae@lyx.org>
10947 * text2.C (removeRow): add comment. Should other refresh_?? vars be
10950 * text.C (drawInset): Turned out I didn't know enough about how
10951 rebreaking worked. This fixes most of the redraw problems. I see
10952 an occasional cursor trail when a line is broken now and the cursor
10953 placement can seem out by a few pixels also after a rebreak.
10955 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10957 * buffer.C (parseSingleLyXformat2Token): update because minipage
10958 width is now a LyXLength
10960 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10962 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10965 2002-01-17 Juergen Vigna <jug@sad.it>
10967 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10969 * BufferView2.C (lockInset): call edit() so that theLockingInset()
10970 is set correctly and the inset is updated correctly.
10972 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10974 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10975 the beginning of the loop.
10977 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
10979 * lyxrc.C: improve help for use_scalable_fonts
10981 2002-01-17 Allan Rae <rae@lyx.org>
10983 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10985 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10987 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10988 make sure to set their inset_owner to the right value (bug #171)
10990 2001-12-12 Ben Stanley <bds02@uow.edu.au>
10993 * DepTable.C: Implement mtime checking to reduce time spent doing
10996 2002-01-16 Juergen Vigna <jug@sad.it>
10998 * tabular.C (GetAdditionalHeight): one of error fixed.
11000 * lyxrc.C (output): small fix in writing use_pspell.
11002 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
11004 * sp_base.h: #include LString.h
11006 2002-01-16 Allan Rae <rae@lyx.org>
11008 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
11009 Can someone check this please?
11011 * text.C (drawInset): It was possible that p.row would be removed by
11012 breakAgainOneRow upsetting a few other settings. There may be another
11013 small tweak possible by setting need_break_row = 0 when p.row has been
11014 removed but I don't know enough about the logic here.
11016 2002-01-15 Allan Rae <rae@lyx.org>
11018 * text.C (insertChar): removed conditional truism.
11020 * BufferView2.C (removeAutoInsets): More tweaks.
11021 cur_par_prev could be a stray pointer. Check for trailing empty line
11022 in case last line was cur_par and only had an error inset on it.
11024 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11026 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11029 * vc-backend.C (most methods):
11030 * exporter.C (Export):
11031 * converter.C (convert):
11033 * LyXSendto.C (SendtoApplyCB):
11034 * lyxfunc.C (dispatch):
11038 * lyx_cb.C (AutoSave):
11040 * BufferView_pimpl.C (MenuInsertLyXFile):
11041 * buffer.C (runChktex): use Buffer::filePath().
11043 * buffer.h: rename filename to filename_; rename filepath to
11044 filepath_ and make it private
11045 (filePath): new method
11047 * buffer.C (writeFile): use fileName()
11050 * lyx_main.C (init): fix starting of LyX when the binary is a
11051 link from so,ewhere else.
11053 * minibuffer.C: include <cctype> for isprint
11055 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11057 * buffer.C (parseSingleLyXformat2Token): changes associated with the
11058 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11059 name clash with InsetCollapsable's width function.
11061 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11063 * lastfiles.C: include <iterator>
11065 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11067 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11070 * buffer.C (makeLaTeXFile): ditto.
11071 Also make loop operation more transparent.
11073 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11075 * ToolbarDefaults.C: remove trailing comma closing namespace.
11077 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11079 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11082 * trans.C (Load): comment out unused variable, allowed.
11084 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11086 * minibuffer.[Ch] (append_char): new method to recieve input from the
11087 drop-down completion browser. If a key was pressed, then recieve this
11088 char and append it to the existing string.
11089 (peek_event): modify the positioning data passed to the completion
11090 browser so that it can be placed above the minibuffer rather than below.
11091 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11093 * LyXAction.C (init): alloe error-next for readonly documents.
11095 * BufferView2.C (ChangeRefsIfUnique): use standard version of
11098 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11100 * bufferlist.C (readFile): create the buffer _after_ checking that
11103 * lyxfunc.C (verboseDispatch): fix handling of arguments
11105 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11107 * lyxrc.C: use string::erase() instead of initializing to "".
11110 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11112 * BufferView_pimpl.h:
11113 * BufferView_pimpl.C:
11116 * text2.C: tell X when we have made a selection for copying
11118 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11120 * BufferView_pimpl.C (MenuInsertLyXFile):
11121 * lyxfunc.C (menuNew):
11123 (doImport): add shortcuts to directory buttons
11125 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11128 * lyxfunc.C (setStatusMessage):
11129 (getStatusMessage): new methods
11130 (getStatus):use setStatusMessage instead of setErrorMessage
11131 (dispatch): when function is disabled, set error message here
11132 [instead of in getStatus previously]
11134 * BufferView_pimpl.C (workAreaButtonRelease): update
11135 toolbar/menubar here too.
11137 2002-01-13 Allan Rae <rae@lyx.org>
11139 * BufferView2.C (removeAutoInsets): finished off earlier fix.
11140 Now seems indestructible. Remaining task is to audit all other
11141 code affected by deleteEmptyParagraphMechanism. One small quirk
11142 left is that an empty document with an error in the preamble can
11143 be made to report an error but no error box appears. I don't know
11145 (removeAutoInsets): Improved comments.
11147 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
11150 * Thesaurus.C: update for Aiksaurus 0.14
11152 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11154 * text2.C (firstParagraph): removed member function, all uses
11155 replaces with ownerParagraph
11156 (redoParagraphs): here
11157 (updateInset): here
11158 (toggleAppendix): here
11159 * BufferView2.C (insertErrors): here
11160 (setCursorFromRow): here
11162 2002-01-13 Allan Rae <rae@lyx.org>
11164 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11165 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11166 There is still a way to segfault this although you may have to do this
11167 multiple times: Have an InsetERT with an unknown command in it.
11168 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11169 <down-arrow>, <Enter> again, View->DVI, BANG!
11171 * text2.C (setCursor):
11172 (deleteEmptyParagraphMechanism):
11173 * lyxtext.h (setCursor):
11174 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11175 Making use of the return value may help fix other bugs.
11177 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11179 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11181 * LyXView.C (updateMenubar): call MenuBar::update here
11182 (updateToolbar): but not here
11183 (showState): do not update toolbar/menubar
11185 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11186 should need to care about that.
11188 * lyxfunc.C (verboseDispatch): simplify a bit
11189 (getStatus): have a version which takes a pseudoaction, and
11190 another which requires a (kb_action,string).
11192 * LyXAction.C (retrieveActionArg): make it work also when action
11193 is not a pseudo-action.
11194 (getActionName): simplify a bit
11197 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11199 * lyxfunc.C (verboseDispatch): new families of methods with
11200 several ways to specify a command and a bool to indicate whether
11201 the command name and shortcut should be displayed in minibuffer
11202 (eventually, we could extend that to a finer bitmask like
11203 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11204 (dispatch): the pristine dispatch command which just, well,
11205 dispatchs! Note it still sets its result to minibuffer; I'm not
11208 * lyxfunc.h: remove setHintMessage
11210 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11212 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11214 * BufferView_pimpl.C (specialChar): delete new inset if we have
11215 not been able to insert it.
11217 * kbmap.C: revert to using int instead of kb_action, since all we
11218 are dealing with is pseudo-actions.
11220 * LyXAction.C (searchActionArg): change to return int instead of
11221 kb_action, since the result is a pseudoaction.
11223 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
11225 * buffer.C (insertErtContents): Fix (partially) the font bug.
11227 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11229 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11230 as the other one is broken on my machine!
11232 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
11235 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11237 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
11239 * lyxrc.[Ch]: change names and descriptions of popup font variables to
11240 reflect their actual use. Provide compatibility code for older lyxrc
11243 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11245 change names of popup font variables in line with the changes to lyxrc.C
11247 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11249 * buffer.C (asciiParagraph): avoid outputing a word twice after
11252 * lyxrc.C (getDescription): document that document_path and
11253 template_path can be empty.
11255 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11257 * LaTeXFeatures.C (getMacros):
11258 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11260 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11262 * LaTeXFeatures.C (useFloat): require "float" here instead of in
11264 (getPackages): rename feature "floats" to "float". Use an array to
11265 iterate over 'simple' features (i.e. just a \usepackage). Add
11266 handling of "amsmath" (renamed from "amsstyle").
11268 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
11270 * LaTeXFeatures.C (require): Prevent duplicate entries in the
11273 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
11275 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11276 FuncStaus::FuncStatus & FuncStaus::some_method().
11278 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
11280 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11281 of the func_satus stuff. Edited and massaged in various ways by
11284 * lyxfunc.C (getStatus): use FuncStatus
11286 2002-01-08 Juergen Vigna <jug@sad.it>
11288 * text.C (nextBreakPoint): use function Inset::isChar().
11290 * paragraph.C (TeXOnePar): use function
11291 Inset::forceDefaultParagraphs.
11293 * buffer.C (latexParagraphs): use function
11294 Inset::forceDefaultParagraphs.
11296 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11298 * lyx_gui.C (init): set the style of the menu popups to
11299 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11301 2002-01-07 Juergen Vigna <jug@sad.it>
11303 * text.C (setHeightOfRow): small fix
11304 (prepareToPrint): don't look at alignment if we don't have the place
11307 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11309 * box.C: New file. Move the Box methods and functions out of box.h,
11310 following Lars' suggestion.
11312 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11314 * box.h: #include "support/LOstream.h", needed for inlined function.
11317 * lyxtextclasslist.C: added some using std declarations.
11319 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
11321 * box.h: make signed dimensions to allow insets wider than
11322 the screen (bug #162)
11324 * BufferView_pimpl.C: add some insetHit debug
11326 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
11328 * vc-backend.C: add FIXME
11330 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11332 * lyxfunc.C (getStatus): enable code for showing math font status
11335 2002-01-07 Juergen Vigna <jug@sad.it>
11337 * text.C (nextBreakPoint): removed debug output not needed anymore.
11339 2002-01-06 Juergen Vigna <jug@sad.it>
11341 * text.C (nextBreakPoint): fixed up this function we had this bug
11342 since ever but now hopefully we break row better.
11343 (insertChar): we have to check if an inset is the next char as it
11344 could now happen that a large inset is causing a break.
11346 2002-01-05 Juergen Vigna <jug@sad.it>
11348 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11349 if it doesn't like to be drawed.
11351 2002-01-04 Juergen Vigna <jug@sad.it>
11353 * BufferView2.C (lockInset): forgot to set a cursor.
11355 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11357 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
11359 * FormMathsPanel.C:
11362 * form_maths_panel.C:
11363 * form_maths_panel.h:
11364 * form_maths_panel.fd: implemented sub- and super- buttons in math
11367 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11368 (or ^ space) to be used as in TeX (req'd by André).
11370 * lyxfunc.C: Allow ^ and _ again to be used both as
11371 super/subscript (mathed) and as themselves (in text).
11373 2002-01-03 Allan Rae <rae@lyx.org>
11375 * LyXView.C (updateWindowTitle): Setup a short icon title of either
11376 "LyX" or the filename of the current buffer if it has one. This is a
11377 modified form of John Levon's patch.
11379 * XFormsView.C (setWindowTitle): also set icon title.
11381 * LyXView.h (setWindowTitle): signature changed.
11382 * XFormsView.h (setWindowTitle): ditto.
11384 2002-01-02 Juergen Vigna <jug@sad.it>
11386 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11388 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11390 * screen.C (topCursorVisible): introduce a temp var for
11391 text->cursor.row(), handle the case where this row is null. (kindo
11394 * text2.C (setCursor): add a couple of asserts.
11396 * paragraph.h (inset_iterator): add -> operator
11398 * paragraph.[Ch] (autoDeleteInsets): remove member function
11400 * BufferView2.C (removeAutoInsets): rewrite to handle the old
11401 cursor pos correctly and handle inset deletion by itself.
11402 (insertErrors): move iterator declaration out of for expression
11404 * lyxtextclass.C: add <algorithm>
11406 * Makefile.am: added the new files to sources, removed layout.C
11408 * layout.C: removed file
11410 * layout.h: remove LYX_DUMMY_LAYOUT
11412 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11416 * lyxtextclass.[Ch]:
11417 * lyxtextclasslist.[Ch]: new files
11419 * include order changes to a lot of files, also changes because of
11422 2001-12-27 Juergen Vigna <jug@sad.it>
11424 * buffer.C (asciiParagraph): more fixes.
11426 * tabular.C (ascii): make ascii export support export of only the
11427 data separated by a column-delimiter.
11428 (ascii): better support for ascii export.
11430 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11432 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11434 * tabular_funcs.C: use a "using std::getline" instead of the
11435 previous fix from Angus (necessary for cxx + lyxstring)
11437 2001-12-24 Juergen Vigna <jug@sad.it>
11439 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11441 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11442 problems. First check a minipage also if we have some ert-contents
11443 (not only on par->size(), second set the right depth of the paragraph
11444 on the relink to the root-paragraph-list!
11446 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11447 which then did not anymore update the main paragraphs on undo/redo!
11449 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11451 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11452 code. Support all font-changing funcs (even those which are not in
11453 menu currently). Support for reporting font settings in
11454 mathed (disabled until Andre provides a function on mathed's side).
11456 * func_status.h (toggle): small helper function to set toggle
11459 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
11461 * tabular_funcs.C: getline -> std::getline
11463 2001-12-21 Juergen Vigna <jug@sad.it>
11465 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11466 accessed and could be 0 (I couldn't generate this but it seems
11469 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11471 * tabular_funcs.C: add LIstream.h, move write_attribute to..
11472 * tabular_funcs.h: here and include iosfwd
11474 2001-12-20 Juergen Vigna <jug@sad.it>
11476 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11477 inside inset but undo_par was.
11479 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11481 * Thesaurus.C: always include <config.h> in sources.
11485 * box.h: do not include <config.h> in header files
11487 * text.C (paintLastRow): remove unused variable
11489 * text.C (transformChar):
11491 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11493 * Painter.C (text):
11494 * font.C (width): rewrite to use uppercase() instead of
11497 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11499 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
11501 * lyxfind.C: clean up of find failure position change
11503 2001-12-20 Juergen Vigna <jug@sad.it>
11505 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11507 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11508 (TeXRow): added to LaTeX a single tabular row.
11509 (TeXLongtableHeaderFooter): added to output LT-h/f data.
11510 (Latex): simplified and finally good LT-h/f support.
11511 (various_functions): just small adaptions for LT-h/f support.
11513 * tabular_funcs.[hC]: added and moved here all not classfunctions
11516 2001-12-19 Juergen Vigna <jug@sad.it>
11518 * tabular.[Ch]: better support for longtabular options (not finished
11521 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11523 * text.C (paintLastRow): use the label font instead of the font of
11524 the last character to compute the size of *_BOX. This makes more
11525 sense and avoids a crash with empty paragraphs.
11526 Use Painter::rectangle to draw EMPTY_BOX.
11528 2001-12-19 Juergen Vigna <jug@sad.it>
11530 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11531 the paragraphs if the replaced paragraph is not the first one!
11532 Tried to delete not used paragraphs but does not work yet so for
11533 now it's inside #ifdef's and by default off!
11535 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11537 * MenuBackend.C: include "lyx_main.h" instead of declaring
11538 lastfiles (actually was declared as LastFiles* instead of a
11541 2001-12-17 Juergen Vigna <jug@sad.it>
11543 * tabular.C (AppendColumn): applied John's fix
11545 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
11549 * BufferView_pimpl.h:
11550 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11553 * box.h: new start of class for above
11555 * lyxfunc.C: ignore space-only minibuffer dispatches.
11556 Show the command name when it doesn't exist
11558 * minibuffer.C: don't add empty lines to the history
11560 * minibuffer.C: add a space on dropdown completion
11562 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
11564 * text.C: fix line above/below drawing in insets
11566 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11568 * lyxlength.C (LyXLength): Initialize private variables.
11570 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
11572 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11573 when inserting error insets.
11575 2001-12-13 Juergen Vigna <jug@sad.it>
11577 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11578 actually sometimes the before-paragraph.
11579 (setUndo): don't clear the redostack if we're not actually undoing!
11581 2001-12-06 Juergen Vigna <jug@sad.it>
11583 * undo_funcs.C (textHandleUndo): well after John's hint I got here
11584 and fixed redoing of main paragraph, so we can use it now ;)
11586 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11588 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11590 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11593 2001-12-13 André Pönitz <poenitz@gmx.net>
11596 * undo_func.C: minor cleanup
11598 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11600 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11601 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11602 font in urw-fonts package which is marked as -urw-fontspecific and
11603 does not work (incidentally, changing the encoding in the
11604 fonts.dir of this package to -adobe-fontspecific fixes the
11607 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11608 is a crash when undoing first paragraph (Juergen, please take a
11609 look). THis does not mean the undo fix is wrong, just that it
11612 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11613 the (Paragraph*) version when needed instead of duplicating the
11616 * text.C (workWidth): use Inset::parOwner to find out where the
11617 inset has been inserted. This is a huge performance gain for large
11618 documents with lots of insets. If Inset::parOwner is not set, fall
11619 back on the brute force method
11621 * paragraph_pimpl.C (insertInset):
11622 * paragraph.C (Paragraph):
11623 (cutIntoMinibuffer): set parOwner of insets when
11624 inserting/removing them
11626 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11628 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
11634 * mathed/formulabase.C:
11635 * mathed/math_cursor.[Ch]:
11636 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11639 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11641 * lyxlength.[Ch] (operator!=): new function
11643 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11645 * text.C (workWidth): use Inset::parOwner to find out where the
11646 inset has been inserted. This is a huge performance gain for large
11647 documents with lots of insets. If Inset::parOwner is not set, fall
11648 back on the brute force method
11650 * paragraph_pimpl.C (insertInset):
11651 * paragraph.C (Paragraph):
11652 (cutIntoMinibuffer): set parOwner of insets when
11653 inserting/removing them
11655 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11657 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11659 * tabular-old.C (getTokenValue):
11660 * tabular.C (getTokenValue):
11661 (write_attribute): new versions for LyXLength
11662 (everywhere): adjust the use of widths
11664 * tabular.h: change the type of widths from string to LyXLength
11666 2001-12-11 Ben Stanley <bds02@uow.edu.au>
11668 * paragraph.C: fixed missing line number count when exporting
11669 Environments to LaTeX file
11671 * buffer.C: added informational message for checking line numbers.
11673 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11675 * text2.C (deleteEmptyParagraphMechanism): if there is only one
11676 paragraph, do the 'double space' part, but not the 'empty
11679 * text.C (workWidth): small optimization
11680 (getLengthMarkerHeight): use minimal size for negative lengths.
11682 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
11684 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11686 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11688 2001-12-11 André Pönitz <poenitz@gmx.net>
11691 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11693 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11695 * text2.C: keep selection on a setFont()
11697 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11699 * lyx_cb.C: another bv->text misuse, from insert label
11701 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11704 * kbsequence.C: re-instate nmodifier mask
11706 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
11708 * lyx_main.h: make lyxGUI private.
11710 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11712 * lyxfind.C: place the cursor correctly on failed search
11714 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11716 * text.C (getLengthMarkerHeight): for small heights, the arrows
11717 are not always on top/bottom of the text
11718 (drawLengthMarker): smaller arrows; take the left margin in
11719 account; draw also vfills.
11721 (paintLastRow): remove special code for vfill and standard spaces,
11722 since everything is handled in drawLengthMarker now.
11724 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11726 * buffer.C (insertErtContents): try to handle font and language
11727 interaction a bit better.g
11729 * ColorHandler.C (updateColor): change the hash to cover the whole
11730 LColor enum, ws cleanup
11731 (getGCLinepars): ditto
11732 (getGCLinepars): only lookup in the linecache once.
11734 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
11736 * iterators.C (operator++): Make the iterator more robust
11738 * BufferView2.C (removeAutoInsets): Use paragraph iterators
11740 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11742 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11745 * text.C: better added space drawing
11747 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11750 * BufferView2.C: fix layout combo update on inset unlock
11752 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11754 * Makefile.am: don't compile unused files
11756 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11760 * LyXAction.C: remove old LFUN_LAYOUTNO
11762 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11764 * paragraph_pimpl.h:
11765 * paragraph_pimpl.C: isTextAt() doesn't need font param
11767 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11770 * lyxlex.C: little cleanup
11772 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11774 * BufferView_pimpl.C: fix insertAscii for insets
11776 2001-12-05 Juergen Vigna <jug@sad.it>
11778 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11779 set the right font on the "multi" paragraph paste!
11781 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11787 * lyxlength.C: remove out-commented code.
11789 * BufferView_pimpl:
11803 * vc-backend.C: change "while(" to "while ("
11805 * lyxlength.[Ch]: add zero function to check if length is zero or
11807 * lyxgluelength.C: use it
11809 2001-12-05 Allan Rae <rae@lyx.org>
11811 * lyxlength.C: Attempted a fix for the abs(int) header selection.
11812 Works for 2.95.3, from what I understand of Garst's reports this should
11813 work for other g++ versions. We're screwed if the abs(int) definition
11814 changed between bugfix releases of gcc.
11816 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11818 * text.C: fix chapter label offset !
11820 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11823 * text.C: fix hfill at end of line, clean up
11825 2001-12-04 Juergen Vigna <jug@sad.it>
11827 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11828 that we force an update of the inset and it's owners if neccessary.
11830 2001-12-03 Juergen Vigna <jug@sad.it>
11832 * text.C (rowLast): simplified code
11834 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11836 * lyxfunc.C: fix show options on timeout
11838 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11840 * screen.C (topCursorVisible): scroll half a page when the cursor
11841 reached top of bottom of screen
11843 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
11845 * minibuffer.C: deactivate on loss of focus
11847 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11849 * vspace.[Ch] (operator!=): add operator.
11851 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
11853 * BufferView_pimpl.C: refuse to open an inset when
11854 there's a selection.
11856 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
11858 * BufferView_pimpl.C: allow to click on RHS of full row insets
11860 2001-11-30 Juergen Vigna <jug@sad.it>
11862 * tabular.C (LyXTabular): add a same_id to set the same id's in the
11863 insets for undo reasons.
11865 2001-11-28 André Pönitz <poenitz@gmx.net>
11867 * vspace.[Ch]: cosmetical changes
11869 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11879 * kbsequence.C: part re-write of old kb code
11882 * WorkArea.C: remove Lgb_bug_find_hack
11884 2001-11-30 José Matos <jamatos@fep.up.pt>
11886 * buffer.C (makeDocBookFile): add a comment to point a hack.
11887 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11888 Fixed a double write of labels.
11890 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11893 * LaTeX.h Fixed bug in LaTeX class where it would not
11894 re-run latex if no depfiles were changed, but the .dvi was removed.
11896 2001-11-28 André Pönitz <poenitz@gmx.net>
11898 * all the files from the change on 2001/11/26:
11899 use lyx::layout_type instead of LyXTextClass::size_type
11900 use lyx::textclass_type instead of LyXTextClassList::size_type
11902 2001-11-29 Juergen Vigna <jug@sad.it>
11904 * text.C: added support for paragraph::isFreeSpacing()
11906 * buffer.C: same as above
11908 * paragraph.h: inserted isFreeSpacing() function to enable
11909 FreeSpacing inside InsetERT.
11911 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11912 of the paragraph's in the cut/copy buffer to 0!
11914 * text2.C (removeRow): remove the assert as it can!
11916 * lyxtext.h: added helper function firstRow returning firstrow and
11917 made firstrow private again.
11919 * BufferView2.C (lockInset): don't relock if we're already locked!
11921 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11922 the only paragraph.
11923 (removeRow): added Assert::(firstrow)
11925 * debug.C: forgot to add INSETTEXT here.
11927 2001-11-28 Juergen Vigna <jug@sad.it>
11929 * sp_spell.C (initialize): changed error text to more general
11930 spellchecker command use (not only ispell!)
11932 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11934 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11936 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11938 * vspace.C: initialise lyxgluelength on failure
11940 2001-11-28 Allan Rae <rae@lyx.org>
11942 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11943 declaration & definition that looks like a function declaration.
11945 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11947 * BufferView2.C (copy):
11948 (copyEnvironment): do not clear the selection when doing a copy.
11950 * text.C (paintFirstRow): compilation fix
11952 2001-11-27 Ben Stanley <bds02@uow.edu.au>
11954 * tabular.C (Latex): correct line count when writing latex.
11956 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
11958 * paragraph_pimpl.h:
11959 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11962 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11966 * LColor.C: change vfillline->added_space
11968 * text.C: add markers and text for added space
11970 * vspace.C: fix comment
11972 2001-11-28 André Pönitz <poenitz@gmx.net>
11974 * paragraph.C: whitespace changes
11975 * all the other files from the change on 2001/11/26:
11976 change *::pos_type into lyx::pos_type
11978 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
11980 * buffer.C (parseSingleLyXformat2Token): Set the language to the
11981 language of the document when inserting error insets.
11983 2001-11-26 André Pönitz <poenitz@gmx.net>
11985 * BufferView_pimpl.[Ch]:
11993 * paragraph_pimpl.[Ch]:
11996 * text2.C: reduce header dependencies, introduce type for positions
11998 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12000 * <various>: change to use Alert.h
12002 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
12004 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12005 when encountering an unknown token.
12006 (readLyXformat2): Show an error message if there were unknown tokens.
12008 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
12011 * BufferView_pimpl.C:
12015 * text2.C: use par->isInset()
12017 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12019 * paragraph_pimpl.h:
12020 * paragraph_pimpl.C: cleanup
12022 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12024 * text2.C (removeRow):
12025 * text.C (setHeightOfRow): remove useless (and costly) call to
12028 2001-11-20 Allan Rae <rae@lyx.org>
12030 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12031 Now need Inset*::checkInsertChar() to return true for appropriate
12032 cases so that the characters in the minibuffer will actually be
12035 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12037 * text.C: change the order of the includes.
12038 (workWidth): initialize it at once.
12039 (workWidth): make maxw unsigned
12040 (setHeightOfRow): remove unused variable (inset)
12041 (selectSelectedWord): remove unused variable (inset)
12042 (paintRowText): fix drawing of hfill characters, and clean up a bit.
12044 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12046 * lyxserver.C (emergencyCleanup): do not try to close pipes if
12047 server is not running.
12049 (closeConnection): add debug info when server is disabled.
12051 * ColorHandler.C (getGCForeground): send debug message to GUI
12054 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12056 * kbmap.C (bind): modify because return conventions of
12057 kb_sequence::parse have changed.
12059 * kbsequence.C (parse): only ignore spaces and not any stupid
12060 control character. This avoids tests like s[i] <= ' ', which are
12061 guaranteed to fail with 8bit characters and signed chars.
12062 Change return code to string::npos when there have been no error
12063 (0 was a bad idea when error is at first character)
12065 2001-11-14 José Matos <jamatos@fep.up.pt>
12068 * buffer.C (simpleDocBookOnePar): removed unused argument.
12070 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12072 * text.C (selectNextWordToSpellcheck): do not test explicitely for
12073 insets which are part of a word. Paragraph::isLetter takes care of
12074 that now. Use Paragraph::isInset to identify insets.
12075 (selectSelectedWord): do not test for hyphenation break.
12077 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12078 that protected spaces are considered as spaces.
12080 * paragraph.C (isLetter): cleanup the code for ispell extras; use
12083 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
12086 * lyxserver.C: fix it. and small cleanup.
12088 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12090 * BufferView_pimpl.C: use inline helpers
12093 * LaTeXFeatures.C: fix typos
12096 * Spacing.C: move spacing_string into class
12098 * ToolbarDefaults.C: move stuff into namespace anon
12100 * layout.h: update enum
12102 * lyxfunc.C: use better debug
12104 * minibuffer.h: fix typo
12108 * WorkArea.C: add and use Debug::WORKAREA
12112 * text2.C: code re-organisation, inline helpers
12114 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
12116 * Layout.C: replaced a few cases of std::vector.size() == 0 with
12117 std::vector.empty().
12119 2001-11-09 Allan Rae <rae@lyx.org>
12121 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12122 '\n's after tables. Tabular and ERT inset work now makes this no
12125 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12128 * minibuffer.C: fix crash, improve drop-down completion
12130 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
12133 * lyxserver.C: invalidate fd's when doing endPipe()
12135 2001-11-08 José Matos <jamatos@fep.up.pt>
12137 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12138 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12141 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12143 2001-11-07 José Matos <jamatos@fep.up.pt>
12146 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12149 * buffer.C (sgmlOpenTag):
12150 * buffer.C (sgmlCloseTag): removed debug info.
12152 * buffer.h (sgmlOpenTag):
12153 * buffer.h (sgmlCloseTag): made public.
12155 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12157 * buffer.C (saveParamsAsDefaults):
12158 * lyx_cb.C (MenuLayoutSave): remove
12160 * LyXAction.C (init):
12162 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12164 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12166 * buffer.C (setPaperStuff): removed from here...
12168 * bufferparams.C (setPaperStuff): ... and moved there.
12170 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
12174 * XFormsView.C: add support for drop-down completion
12176 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
12178 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12181 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12183 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12186 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
12188 * lyx_main.C: change ref to known bugs
12190 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
12192 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12193 to work around older babel problems.
12195 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12197 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12199 2001-10-24 Juergen Vigna <jug@sad.it>
12201 * tabular-old.C (ReadOld): below variable changes reflected.
12203 * tabular.[Ch]: added ltType struct for longtable header/footer
12204 defines and changed all instances where they are used. Added
12205 future support for double top/bottom rows.
12207 2001-10-24 José Matos <jamatos@fep.up.pt>
12209 * buffer.h (docbookHandleCaption):
12210 * buffer.C (docbookHandleCaption): removed unused function.
12211 (makeDocBookFile): moved docbook supported version to v4.1.
12213 2001-10-24 José Matos <jamatos@fep.up.pt>
12216 * tabular.C (docbookRow): new function to export docbook code of a row.
12217 (DocBook): now honors the longtable flags.
12219 2001-10-23 José Matos <jamatos@fep.up.pt>
12222 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12223 of the lyx defined sgml entities used in a docbook/linuxdoc document.
12225 * buffer.C (makeLinuxDocFile):
12226 (makeDocBookFile): reworked the preamble, more clean, and with
12227 support for lyx defined entities. Changed the document declaration
12228 to be more XML friendly.
12230 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12231 if we need to output XML that should be done with a filter.
12233 2001-10-22 Juergen Vigna <jug@sad.it>
12235 * sp_pspell.h (class PSpell): add alive function needed in the
12236 controller to see if the spellchecker could be started.
12238 2001-10-22 Juergen Vigna <jug@sad.it>
12240 * buffer.C (insertStringAsLines): modify the font for inserting
12241 chars in certain conditions by calling checkInsertChar(font).
12243 2001-10-19 Juergen Vigna <jug@sad.it>
12245 * text.C (workWidth): use getRow instead of wrong algorithm.
12246 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12248 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
12253 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12255 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12257 * text.C (workWidth): do not search for the exact row when
12258 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12259 optimization for big documents.
12261 2001-10-18 Juergen Vigna <jug@sad.it>
12263 * text.C (workWidth): new function with added Inset * parameter.
12265 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12267 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12269 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12270 change return type of getColumnNearX.
12273 * text.C (changeRegionCase): use uppercase/lowercase instead of
12276 (rightMargin): simplify code by factoring out the uses of
12281 (appendParagraph): use Paragraph::size_type
12283 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12285 * vspace.C (asLatexString): add a missing break
12287 2001-10-15 Herbert Voss <voss@perce.de>
12289 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12291 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12293 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12296 2001-10-10 André Pönitz <poenitz@gmx.net>
12298 * lyxfunc.C: removed greek_kb_flag.
12300 2001-10-10 Herbert Voss <voss@perce.de>
12302 * lyx_main.C: delete global string help_lyxdir.
12304 2001-10-09 Herbert Voss <voss@perce.de>
12306 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12308 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12310 * lyx_main.C: added global string help_lyxdir.
12312 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12314 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
12316 * lyxrc.C (set_font_norm_type): support iso8859-4
12318 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
12320 * LaTeX.C (deplog): add another regex for MikTeX
12322 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
12324 * lyxrc.C (set_font_norm_type): support iso8859-3
12326 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12328 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12330 * LaTeXFeatures.C: remove special case of french and index
12332 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12333 before \begin{document}). This solves several incompatibilities.
12335 2001-10-03 Garst Reese <reese@isn.net>
12337 * lyx_cb.C: change CheckTex error msg.
12339 2001-10-03 José Matos <jamatos@fep.up.pt>
12341 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12343 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12345 * .cvsignore: update
12347 * lyx_main.C (commandLineVersionInfo): use new style version info.
12349 * buffer.C (writeFile):
12351 (makeLinuxDocFile):
12352 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12354 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12356 * version.h: update to use stuff in version.C
12358 * version.C.in: new file. Contains version information determined
12359 at compile time. This is a merging of version.h and
12362 2001-10-03 Juergen Vigna <jug@sad.it>
12364 * BufferView_pimpl.C (update): don't change "dirty" status in
12367 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
12369 * WorkArea.C (c-tor): re-position version string slightly.
12371 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
12373 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12374 revert to previous code.
12376 WorkArea.[Ch]: (show, destroySplash): methods removed.
12378 WorkArea.C: rework code so that it's an amalgam of the codes before and
12379 after the splash screen was moved to WorkArea.
12381 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12384 * vspace.C (inPixels):
12387 * buffer.C (insertStringAsLines):
12388 (asciiParagraph): fix types to be large enough
12390 * lyxlex_pimpl.h: change member status from short to int
12392 * layout.h: fix type of endlabeltype
12395 * kbsequence.C (parse): change return type to string::size_type
12397 * LaTeX.C (updateBibtexDependencies): comment out unneeded
12400 * Bullet.C (bulletSize):
12401 (bulletEntry): do not use short ints as parameters
12403 * BufferView2.C (insertLyXFile): change a char to an int.
12405 * WorkArea.C (WorkArea): remove unneeded floats in computation
12407 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
12409 * buffer.C (asciiParagraph): Treat '\\' as other chars.
12411 * paragraph.C (asString): Do not ignore newline/hfill chars when
12412 copying to the clipboard.
12414 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
12416 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12417 after a multi-line inset.
12419 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
12421 * paragraph.C (validate): Set NeedLyXFootnoteCode
12423 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12425 * lyxfont.C (LyXSizeNames): changed increase-error to increase
12426 and decrease-error to decrease.
12428 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12430 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12431 it more readable (should be equivalent)
12433 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
12435 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12437 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12439 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12440 of a cursor (row, etc.) after a character has been deleted
12441 (deleteEmptyParagraphMechanism): call the method above on _all_
12442 cursors held by the LyXText when a double space has been
12445 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12447 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12449 (resizeCurrentBuff): remove code to destroy the old splash dialog.
12451 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12452 background. Use greyOut() and the new show() methods to toggle between
12453 the foreground and background. Add code to remove the splash after
12454 its initial showing.
12456 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12457 (create_forms): no longer call Dialogs::showSplash.
12459 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12461 * .cvsignore: add version_info.h
12463 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12465 * version_info.h.in: new file
12467 * Makefile.am: add version_info.h.in
12469 * lyx_main.C (commandLineVersionInfo): use version_info defined in
12470 version_info.h instead of VERSION_INFO
12472 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
12474 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12475 The ERT inset now returns string().
12477 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
12479 * lyxtext.h, text.C (selectNextWord): renamed as
12480 selectNextWordToSpellcheck.
12482 * text.C (selectNextWordToSpellcheck): Modified to not select
12483 words inside an ERT inset.
12485 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12487 * lyx_cb.C (MenuLayoutSave): change a bit the question
12489 * sp_base.h: include <sys/types.h>
12491 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
12493 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12495 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
12497 * several files: fix typos in user-visible strings
12499 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12501 * text2.C (pasteSelection): do not set the selection, since it
12502 will be cleared later. Actually, the intent was to fix the way the
12503 selection was set, but I figured rmoving the code was just as good.
12505 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
12507 * FontLoader.C (available): Check if font is available without
12510 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
12512 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12514 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
12516 * lyxrc.[Ch]: added display_graphics variable and associated code.
12518 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12520 * bufferparams.C (hasClassDefaults): new method. Returns true if
12521 the buffer parameters correspond to known class defaults
12523 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
12525 * XFormsView.C (show): set minimum size to the main window.
12527 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12529 * text2.C (copySelection):
12531 * lyxfind.C (LyXReplace):
12532 * BufferView_pimpl.C (Dispatch): pass the correct flag to
12533 LyXText::selectionAsString.
12535 * paragraph.C (asString): add "label" argument to the second form
12537 * text2.C (selectionAsString): add "label" argument and pass it to
12538 Paragraph::asString.
12540 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12542 * lyx_main.C (commandLineHelp): remove version information
12544 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
12546 * lyx_main.C: add -version commandline option
12548 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12550 * paragraph.h: make the optional constructor arg required instead.
12551 some modifications to other files because of this.
12553 * minibuffer.C (C_MiniBuffer_peek_event): make it static
12555 * lyxserver.C (C_LyXComm_callback): make it static
12557 * lyx_main.C (error_handler): make it static
12559 * lyx_gui.C (LyX_XErrHandler): make it static
12561 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12563 * WorkArea.C: make the extern "C" methods static.
12565 * Makefile.am (lyx_LDADD): simplify
12567 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12569 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12570 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12572 * LyXAction.C (init):
12573 * lyxfunc.C (dispatch): associated code removal.
12575 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12577 * lyxfont.h (isSymbolFont): shut off warning
12579 * text.C (setHeightOfRow):
12580 (getVisibleRow): fix crash with empty paragraphs which have a
12583 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
12585 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12588 2001-09-04 José Matos <jamatos@fep.up.pt>
12591 * tabular.C (docbook): rename docBook method to docbook.
12593 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12595 * Makefile.am: add dependencies to main.o.
12597 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
12599 * FontLoader.C (available): Return false if !lyxrc.use_gui
12601 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
12603 * FontInfo.C (query):
12604 * converter.C (view):
12605 * importer.C (Import):
12606 * exporter.C (Export): Can not -> cannot.
12608 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
12610 * BufferView_pimpl.C: allow to create index inset even if
12613 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12615 * buffer.C (getLists): replace boost::tie code with an explicit pair
12616 as boost::tie can break some compilers.
12618 * iterators.h: Added a std:: declaration to the return type of
12621 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
12623 * lyxrc.C: add help for view_dvi_paper_option, default to safe
12626 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
12628 * iterators.[Ch]: New files. Provide paragraph iterators.
12630 * buffer.C (changeLanguage): Use paragraph iterators.
12631 (isMultiLingual): ditto
12633 * BufferView2.C (ChangeInsets): Use paragraph iterators.
12635 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
12637 * FontLoader.C: Support for cmr font.
12639 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
12641 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12642 (available): New method.
12644 * FontInfo.C (getFontname): Use scalable fonts even when
12645 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12648 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12650 * converter.C (Formats::view): reverted! Incorrect fix.
12652 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12654 * converter.C (Formats::view): only output the -paper option
12655 if the dvi viewer is xdvi, thereby fixing bug #233429.
12657 2001-08-23 Herbert Voss <voss@perce>
12659 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12661 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
12663 * Spacing.h (Spacing): Set space to Default on in the default
12666 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
12668 * vc-backend.h (RCS::versionString): add RCS to version
12669 (CVS::versionString): add CVS to version
12671 * vc-backend.C (scanMaster): do not add CVS to version.
12672 (scanMaster): do not add RCS to version
12674 * lyxvc.C (versionString): new method
12676 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12678 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12680 * Spacing.C (set): initialize fval
12682 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
12684 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12687 2001-08-16 Juergen Vigna <jug@sad.it>
12689 * lyxfunc.C (dispatch): implemented the new FINISHED states.
12691 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12693 * BufferView_pimpl.C:
12696 * text2.C: setParagraph takes linespacing now
12698 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
12700 * LyxAction.C: add internal LFUN_CITATION_INSERT
12702 * LyXView.C: actually apply fix
12704 * bufferlist.C: fix open non-existent file
12706 * lyxfind.C: fix indentation
12708 * lyxfunc.C: remove unneeded assert, fix typo
12710 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12712 * MenuBackend.C: use "Floatname List"
12714 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
12716 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12717 when converting LaTeX layout to insetERT.
12718 Generate a non-collapsed float when reading old float
12720 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12722 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12725 2001-08-13 Juergen Vigna <jug@sad.it>
12727 * text.C (fill): return 0 instead of 20 as this seems to be the more
12730 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12732 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12735 2001-08-13 Juergen Vigna <jug@sad.it>
12737 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12739 (SearchBackward): comment out the unlocking of the inset_owner this
12740 should not be needed!
12742 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
12744 * Many files: Remove inherit_language, and add latex_language
12746 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12747 collapsible insets.
12749 2001-08-10 Juergen Vigna <jug@sad.it>
12751 * text.C (prepareToPrint): fixed hfill-width in draw!
12753 * BufferView2.C (selectLastWord): save the selection cursor as this
12754 now is cleared in the function LyXText::clearSelection!
12756 2001-08-08 Juergen Vigna <jug@sad.it>
12758 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12759 BACKSPACE type functions.
12761 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12762 is only cutted from the document but not put in the cut-buffer, where
12763 still the old stuff should be.
12765 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12767 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12769 * tabular.C (SetWidthOfCell): fixed special case where the width
12771 (LeftLine): handle '|' in align_special.
12773 (LeftAlreadyDrawed): ditto
12774 (SetWidthOfCell): ditto
12776 2001-08-07 Juergen Vigna <jug@sad.it>
12778 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12780 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12782 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12783 * lyxlex.[hC]: ditto
12785 2001-08-06 Juergen Vigna <jug@sad.it>
12787 * text.C (getVisibleRow): fix up row clearing a bit.
12789 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12791 * minibuffer.C: make sure the X server sees the changes in the input.
12793 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12795 * paragraph.C (getFont): split into...
12796 (getLabelFont): this
12797 (getLayoutFont): and this
12798 * paragraph_pimpl.C (realizeFont): calling this
12800 * text2.C (getFont): split into...
12801 (getLayoutFont): this
12802 (getLabelFont): and this
12803 (realizeFont): all three calling this
12805 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12808 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12810 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12812 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
12814 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12815 layouts from the Quote inset insertion.
12817 2001-08-03 Juergen Vigna <jug@sad.it>
12819 * BufferView_pimpl.C (update): do the fitCursor only at the end!
12821 * screen.C (drawFromTo): don't call fitcursor here and do the loop
12822 only if status not is already CHANGED_IN_DRAW (second level).
12824 * text.C (draw): don't set the need_break_row when inside an
12827 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12829 * buffer.C (parseSingleLyXformat2Token): handle more latex
12832 * bufferview_funcs.[hC]: change function names to
12833 begin with small char, adjust other files.
12835 2001-08-02 André Pönitz <poenitz@gmx.net>
12838 BufferView_pimpl.C: remove broken special code for math-greek
12840 2001-08-02 Juergen Vigna <jug@sad.it>
12842 * BufferView_pimpl.C (update): redone this function so that we
12843 update the text again if there was a CHANGE_IN_DRAW.
12845 * screen.C (cursorToggle): removed LyXText parameter and recoded.
12846 (drawFromTo): added a new internal bool which is used by draw() and
12848 (general): some cursor drawing problems fixed.
12850 2001-08-01 Juergen Vigna <jug@sad.it>
12852 * lyxfind.C (LyXFind): fixed
12853 (SearchForward): ditto
12854 (SearchBackward): ditto
12856 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12857 spurius drawing of the cursor in the main area.
12859 * text2.C (status): small fix which could lead to a segfault!
12860 (clearSelection): remove unneeded BufferView param.
12862 2001-08-01 André Pönitz <poenitz@gmx.net>
12864 * lyxfunc.C: small change due to changed mathed interface
12866 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12868 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12870 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
12872 * lyxfunc.c: fail gracefully if file doesn't exist
12877 * BufferView_pimpl.C: IsDirWriteable() proto changed
12879 * LyXView.C: fix updateWindowTitle() to store the last title
12881 2001-07-31 Juergen Vigna <jug@sad.it>
12883 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12884 the font (wrong since using of Paragraph::highestFontInRange).
12886 * paragraph.C (highestFontInRange): added a default_size parameter.
12888 * text.C (getVisibleRow): minor clear row changes (still not perfect).
12889 (setHeightOfRow): reformat
12891 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12893 * converter.[hC] + affected files: move to (inital-char)lowercase
12896 * ParagraphParameters.C (ParagraphParameters): remove commented code
12898 * PainterBase.[Ch]: remove commented code
12900 * LaTeXFeatures.h: add "bool floats" for float.sty
12902 * LaTeXFeatures.C (LaTeXFeatures): init floats
12903 (require): handle float
12904 (getPackages): do it with floats
12906 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12908 * BufferView_pimpl.C (Dispatch): improve handling of
12909 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12911 * commandtags.h: #include lyxfont.h here temporarily to avoid
12914 * bufferlist.h: include LString.h here.
12916 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12918 * text2.C (getStringToIndex): new method.
12920 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
12922 * *: Reduced header file dependencies all over.
12924 2001-07-30 Baruch Even <baruch@lyx.org>
12926 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12928 2001-07-29 Baruch Even <baruch@lyx.org>
12930 * buffer.C (readInset): Changed GRAPHICS to Graphics.
12932 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12934 * ParameterStruct.h (endif): add a default constructor to make
12935 sure that all variables is initialized.
12937 * ParagraphParameters.C (ParagraphParameters): adjust
12939 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12941 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12942 index; also, check that there is something to index, and that it
12943 does not span over several paragraphs.
12944 (doubleClick): use WHOLE_WORD_STRICT for double click.
12946 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12948 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12951 2001-07-26 Baruch Even <baruch@lyx.org>
12953 * buffer.C (readInset): Changed to call up InsetGraphics when reading
12954 an InsetFig figure, backwards compatible reading of old figure code.
12956 2001-07-27 Juergen Vigna <jug@sad.it>
12958 * text2.C: font.realize function adaption.
12960 * text.C (draw): add a warnings lyxerr text if needed.
12962 * layout.C: font.realize function adaption.
12964 * language.C: add inherit_language and implement it's handlings
12966 * bufferview_funcs.C (StyleReset): remove language parameter from
12967 font creation (should be language_inherit now).
12969 * bufferparams.C (writeFile): handle ignore_language.
12971 * paragraph.C (getFontSettings): the language has to be resolved
12972 otherwise we have problems in LyXFont!
12974 * lyxfont.C (lyxWriteChanges): added document_language parameter
12975 (update): removed unneeded language parameter
12977 * paragraph.C (validate): fixed wrong output of color-package when
12978 using interface colors for certain fonts in certain environments,
12979 which should not seen as that on the final output.
12981 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
12983 * BufferView_pimpl.C:
12988 * LyXAction.C: add thesaurus support
12991 * lyxfind.C: add "once" parameter, for thesaurus, to not
12992 move to the next match
12994 2001-07-26 Juergen Vigna <jug@sad.it>
12996 * lyxfont.C (realize): honor ignore_language too!
12999 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13001 * text.C (draw): one place more for ignore_language to not draw
13004 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
13006 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13008 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13010 * buffer.C (parseSingleLyXformat2Token): a more general fix for
13011 the minipage conversion problem.
13013 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13015 * buffer.C (parseSingleLyXformat2Token): check minipage if we
13018 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13020 * BufferView.h: don't forward declare WorkArea
13022 * BufferView.C: don't include WorkArea.h
13024 2001-07-25 André Pönitz <poenitz@gmx.net>
13028 * lyxfunc.C: new LFUN 'math-space'
13030 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13032 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13034 * text2.C (toggleInset): call open/close
13036 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13038 * lyxfunc.C (dispatch): add debug for the disabled case
13040 * font.C (buttonText): make similar to rectText
13042 * buffer.C (readInset): comment out parsing of insetlist and
13045 * PainterBase.C (rectText): small correction
13047 * BufferView_pimpl.C: comment out insettheorem and insetlist
13048 * LyXAction.C: ditto
13049 * commandtags.h: ditto
13051 2001-07-24 Juergen Vigna <jug@sad.it>
13053 * text.C (draw): honor the ignore_language.
13055 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13057 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13059 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13062 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13064 * lyxtext.h: remove unused (and unimplemented) methods
13066 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13068 * text.C (getVisibleRow): honor background color
13071 * Painter.h: remove default color argument for fillRectangle
13073 * text.C (backgroundColor): new method
13075 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13077 * text.C (getVisibleRow): adjust
13079 * font.[Ch] (rectText): new method, metrics
13080 (buttonText): new method, metrics
13082 * PainterBase.[hC]: make rectText and buttonText always draw and take
13085 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13087 * ToolbarDefaults.C (read):
13088 * MenuBackend.C (read): allow escaping in all strings
13090 * BufferView_pimpl.C (insertAndEditInset): new method.
13091 (Dispatch): use insertAndEditInset whenever appropriate.
13093 * BufferView_pimpl.C (insertNote): removed
13095 * BufferView_pimpl.C (smartQuote): new method, moved from
13096 BufferView; if an insetquote cannot be inserted, insert a '"'
13099 * BufferView2.C: remove insertCorrectQuote();
13101 * lyxfunc.C (getStatus): Add support for all remaingin
13102 inset-insert lfuns.
13104 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13106 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13107 command (necessary to pass " as parameter of self-insert.
13109 * text.C (selectWordWhenUnderCursor):
13110 (selectWord): add word_location parameter
13111 (selectWordWhenUnderCursor): same + remove special code for word
13113 (selectNextWord): use kind() to guess type of insetspecialchar,
13116 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13117 (insertErtContents): create ert insets as collapsed.
13118 (readInset): better compatibility code for Info inset.
13120 2001-07-20 Juergen Vigna <jug@sad.it>
13122 * lyxfunc.C (dispatch): use always LyXFind now!
13124 * text2.C (init): add a reinit flag so that the LyXText can be
13125 reinited instead of deleted and reallocated (used in InsetText).
13127 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13133 2001-07-18 Juergen Vigna <jug@sad.it>
13135 * text.C (selectNextWord): handle insets inside inset by calling
13136 always the bv->text functions so that we can go up the_locking_inset!
13138 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13139 in strange locations when inside an inset!
13141 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13142 handling to include insets.
13144 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13146 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13148 * LyXAction.C (init):
13150 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13151 LIGATURE_BREAK, since the name is so stupid.
13153 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13155 * buffer.C (readInset): enable reading of new InsetNotes as well as old
13158 * FontLoader.C: remove FORMS_H_LOCATION cruft.
13160 * sp_form.[Ch]: remove.
13162 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13164 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13167 * src/buffer.C (readInset): ditto.
13169 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13171 * BufferView_pimpl.C (specialChar): new method. Obsoletes
13172 menuSeparator(), endOfSentenceDot(), ldots() and
13173 hyphenationPoint(), which are therefore removed.
13174 (Dispatch): handle LFUN_HYPHENATION_BREAK.
13176 * LyXAction.C (init):
13177 * commandtags.h: add LFUN_HYPHENATION_BREAK.
13179 * paragraph.C (getWord): removed.
13181 * BufferView_pimpl.C (Dispatch): use last word or selection for
13182 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13184 * lyx_main.C (queryUserLyXDir): do not ask before creating
13185 user_dir, except if it has been named explicitely.
13187 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13189 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13190 a document of zero size.
13192 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
13194 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13195 approriately in the c-tor and in require().
13196 (getPackages): output the appropriate LaTeX for natbib support.
13198 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13199 variables "use_natbib" and "use_numerical_citations" when reading the
13201 (readInset): read the various natbib cite commands.
13202 (validate): white-space change.
13204 * bufferparams.[Ch]: new variables "bool use_natbib" and
13205 "bool use_numerical_citations".
13206 (writeFile): output them in the LyX file.
13208 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13210 * lyxfunc.C (getStatus): add support for all the inset insertion
13213 * text2.C (insertInset):
13214 * paragraph.C (insetAllowed):
13215 * BufferView_pimpl.C (insertInset): update to take in account the
13216 renaming of insertInsetAllowed
13218 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13220 * text2.C (getInset): new method. returns inset at cursor position.
13222 * BufferView_pimpl.C (Dispatch): changes because of this.
13224 * LyXAction.C (init): rename open-stuff to inset-toggle.
13226 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13228 * text2.C (toggleInset): renamed from openStuff; use
13231 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
13233 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13235 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13237 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
13239 * buffer.C (readLyXformat2): Add filename to the error dialog
13241 2001-07-18 Juergen Vigna <jug@sad.it>
13243 * tabular.C (GetCellNumber): put an assert here instead of the check!
13245 2001-07-17 Juergen Vigna <jug@sad.it>
13247 * BufferView_pimpl.C (toggleSelection): adapted too.
13249 * text.C (selectNextWord): adapted for use with insets.
13250 (selectSelectedWord): ditto
13252 2001-07-17 Juergen Vigna <jug@sad.it>
13254 * sp_spell.C (PSpell): fix initialitation order.
13256 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13258 * paragraph.C: spacing
13260 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
13262 * sp_spell.C: repair language selection for pspell
13264 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13266 * lyxfunc.h: change more methods to begin with lower char.
13268 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
13270 * buffer.C (parseSingleLyXformat2Token): Generate error insets
13271 for unknown layouts.
13273 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
13275 * buffer.C (readLyXformat2): Generate an error dialog if there are
13278 2001-07-16 Juergen Vigna <jug@sad.it>
13280 * sp_spell.C: always compile ISpell part.
13282 * lyxrc.C: added use_pspell entry and it's handling.
13284 2001-07-13 Juergen Vigna <jug@sad.it>
13286 * sp_spell.C: removed double includes.
13288 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
13290 Consistent use of Lsstream.h:
13291 * Lsstream.h: added using std::stringstream for consistencies sake.
13293 * buffer.C: removed using std::stringstream
13295 * lyxfont.C (stateText):
13296 * paragraph.C (asString):
13297 * text.C (selectNextWord, selectSelectedWord):
13298 * text2.C (setCounter):
13299 * vspace.C (asString, asLatexString):
13300 std::ostringstream -> ostringstream.
13302 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13304 * LyXAction.C: add LFUN_HELP_ABOUTLYX
13305 * commandtags.h: add LFUN_HELP_ABOUTLYX
13306 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13308 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13310 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13312 * lyx_gui_misc.C: remove spellchecker
13313 * lyxfunc.C: showSpellchecker
13315 * sp_ispell.h: added
13316 * sp_pspell.h: added
13317 * sp_spell.C: added
13318 * sp_form.[Ch]: removed
13319 * spellchecker.[Ch]: removed
13321 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
13323 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13325 (simpleTeXSpecialChars): Simply print the input character without
13326 any special translation if pass_thru is set.
13328 * layout.h: Added bool pass_thru to layout class for being able to
13329 implement pass through of a paragraph for Literate Programming.
13331 * layout.C: add LT_PASS_THRU to LayoutTags enum.
13332 * layout.C (LyXLayout): set pass_thru to flase in constructor.
13333 * layout.C (Read): add "passthru" to list of layout tags and add
13334 code to set the pass_thru boolean when it is read.
13336 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13338 * trans_decl.h: remove allowed from KmodInfo
13340 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13341 remove allowed code
13344 * paragraph_pimpl.C (erase): use boost::prior
13346 * Painter.C (text): use data() instead of c_str() when length is
13348 * WorkArea.C (putClipboard): ditto
13349 * font.h (width): ditto
13351 * BufferView2.C: use it-> instead of (*it). for iterators
13353 * paragraph_pimpl.C: ditto
13354 * paragraph.C: ditto
13355 * minibuffer.C: ditto
13356 * language.C: ditto
13358 * encoding.C: ditto
13359 * counters.C: ditto
13360 * converter.C: ditto
13362 * Variables.C: ditto
13363 * TextCache.C: ditto
13364 * MenuBackend.C: ditto
13365 * LyXAction.C: ditto
13367 * FloatList.C: ditto
13368 * DepTable.C: ditto
13369 * ColorHandler.C (LyXColorHandler): ditto
13371 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13373 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13375 * text2.C (openStuff): reintroduce this method (which had been
13376 nuked in NEW_INSETS frenzy).
13378 * lyxfunc.C (Dispatch): when an action has not been handled, use
13379 its name in the error message, not its number.
13381 * paragraph.C (inInset): change method name to begin with lowercase.
13384 * text2.C: updates because of this.
13386 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13388 * ToolbarDefaults.C (add): add spaces in error message
13390 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13392 * buffer.C (readLyXformat2): initialize the ert comp. variables.
13393 (readLyXformat2): rename return_par to first_par, use lyxlex's
13394 pushToken and remove the manual push handling.
13395 (parseSingleLyXformat2Token): add another ert comp. variable:
13396 in_tabular, rename return_par to first_par. handle newlines better
13398 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13400 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13402 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13404 * text2.C (getParFromID): removed
13406 * buffer.C (getParFromID): new method moved form lyxtext.
13407 * BufferView2.C (insertErrors): adjust
13408 (setCursorFromRow): adjust
13409 * BufferView_pimpl.C (restorePosition): adjust
13410 * lyxfunc.C (Dispatch): adjust
13411 * undo_funcs.C (textUndo): adjust
13413 (textHandleUndo): adjust
13414 (textHandleUndo): adjust
13416 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13418 * buffer.C: up' the LYX_FORMAT
13420 * lyxfont.h: turn NO_LATEX on as default
13422 * buffer.C (insertErtContents): new methods of tex style compability.
13423 (parseSingleLyXformat2Token): use it several places.
13424 * tabular.C (OldFormatRead): and here
13426 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13428 * text2.C: remove some commented code.
13431 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13432 * trans.C: changes because of the above.
13434 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
13436 * text2.C (setCounter): Fix counters bug with bibliography layout.
13438 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13440 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13441 own member functions
13442 (simpleTeXSpecialChars): ditto
13444 2001-07-06 Juergen Vigna <jug@sad.it>
13446 * a lot of files: changed the access to LyXText::status and the
13447 call of undo-functions.
13449 * undo.[Ch]: added a inset_id to the undo informations.
13451 * undo_funcs.[Ch]: added and moved here all undo functions.
13453 * lyxtext.h: give the status enum a weight, made status_ a private
13454 variable and made accessor functions for it, removed the whole bunch
13455 of undo-functions as they are now in their own file, make some
13456 functions publically available. Added function ownerParagraph with
13459 * paragraph.[Ch]: added "bool same_ids" to the constructor,
13460 made InInset() a const function, added getParFromID() function.
13462 * buffer.[Ch]: added const version for inset_iterator functions,
13463 added getInsetFromID() function.
13465 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13466 changed undo functions for new version.
13468 2001-07-05 Juergen Vigna <jug@sad.it>
13470 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13471 unknow mechanism does not call the proper constructor but only this
13472 one also if I request the other!?
13474 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13476 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13478 * text2.C (LyXText): use initialization lists.
13480 * lyxtext.h (Selection): initialize set_ and mark_
13481 (init): remove method
13483 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
13485 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13487 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13489 * screen.[Ch]: change method names to begin with lowercase
13491 * BufferView_pimpl.C (updateScrollbar): simplify further and
13492 hopefully make it a bit faster.
13494 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13496 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13497 calling directly xforms functions.
13499 * Painter.C (Painter):
13500 * lyx_cb.C (MenuWrite):
13501 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13504 * lyx_gui.C: remove bogus guiruntime extern declaration.
13506 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13508 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13510 (redoDrawingOfParagraph): ditto
13511 (redoParagraphs): ditto
13512 (cutSelection): don't create a object for CutAndPaste use the
13513 static method directly
13514 (pasteSelection): ditto
13516 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13519 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13521 * modifications to some other files because of this.
13523 * Makefile.am (lyx_SOURCES): add XFormsView
13525 * XFormsView.[Ch]: new files
13527 * LyXView.[Ch]: make LyXView a base class for the gui handling for
13528 the main window. Move the gui dependent stuff to XFormsView
13530 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13532 * tabular.C (GetCellInset): update cur_cell also in the row/col
13533 version of this function.
13535 * lyxfunc.C: no need to include figure_form.h here.
13541 * lyxvc.C: no need to include forms.h here.
13543 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13545 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13547 * lyxfunc.C (Dispatch):
13549 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13550 constructor argument.
13552 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13554 * paragraph.C (Paragraph): dont't clear, and just set layout.
13555 (makeSameLayout): use params's copy contructor.
13557 * ParagraphParameters.[Ch] (makeSame): delete method
13559 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
13561 * Variables.[Ch]: fix indentation, rename set to isSet
13563 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13565 * lyxfunc.C (Dispatch): fix typo
13567 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13569 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13572 * bufferlist.C: include assert.h for emergencyWrite().
13574 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13576 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13577 give up at last (bug #425202) !
13579 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
13585 * spellchecker.C: strip spellchecker options and bring up
13586 preferences tab instead
13588 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13590 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13591 the istringstream constructor
13593 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13595 * paragraph.C (getLayout): fix return value
13597 * paragraph.h: do not declare getLayout as inline.
13599 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13601 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13603 * lyxcursor.h (operator<): new func
13604 (operator>): new func
13605 (operator>=): new func
13606 (operator<=): new func
13608 * text.C (changeCase): use selection.start and selection.end
13609 (changeRegionCase): require from to be <= to. Require par to be a
13612 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13614 2001-06-27 Juergen Vigna <jug@sad.it>
13616 * text.C (cursorLeftOneWord): changed to return the cursor and added
13617 overlay with BufferView * parameter which calls this one.
13619 (selectWord): use new getWord function.
13620 (changeCase): renamed from changeWordCase as and extended to work
13621 also on selections.
13623 * lyxtext.h: added enum word_location
13625 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13626 changeCase as this operates now also on selections.
13628 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
13630 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13632 * many files: send debug output to Debug::INFO instead of
13635 * converter.C (View):
13637 (Move): send debug output to Debug::FILES instead of console.
13639 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
13641 * lyxfunc.C (getStatus): use func_status
13643 * func_status.h: new header, describing the results of
13644 LyXFunc::getStatus;
13646 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13649 2001-06-25 The LyX Project <jug@sad.it>
13651 * buffer.C (sgmlOpenTag):
13653 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
13655 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13657 * text2.C: remove some dead code
13659 * tabular.C (GetCellInset): store the last cell checked (gotten)
13661 * tabular.h: add the helper for the speedup
13663 * lyxtext.h: remove some dead code
13665 2001-06-26 The LyX Project <Asger>
13667 * paragraph.C: Change export to LaTeX of alignment to
13668 \begin{center} and family for better roundtrip work with reLyX.
13670 * Tune the math drawing a bit.
13672 2001-06-25 The LyX Project <Asger>
13674 * LColor.C (LColor): New color for math background. New color
13677 2001-06-25 The LyX Project <jug@sad.it>
13679 * lyxfunc.C (MenuNew): remove extra check for .lyx file
13681 * lyxfunc.C (Open):
13682 * bufferlist.C (newFile): do not restrict to files ending with
13685 * BufferView_pimpl.C (MenuInsertLyXFile):
13687 2001-06-24 The LyX Project <jug@sad.it>
13689 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13692 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13694 * lyxtext.h: rename most methods to begin with a small char.
13695 Lots of changes because of this.
13697 * paragraph.C (Paragraph): do not call fitToSize
13698 (erase): call Pimpl::erase
13699 (insertChar): call Pimpl::insertChar
13700 (insertInset): call Pipl::insertInset
13701 (breakParagraph): do not call fitToSize
13702 (breakParagraphConservative): do not call fitToSize
13703 (fitToSize): remove method
13705 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13707 2001-06-24 The LyX Project <Asger>
13709 * Fix Qt compilation^2
13711 2001-06-24 The LyX Project <jug@sad.it>
13713 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13714 depthHook(getDepth()-1).
13717 * ParagraphParameters.h:
13718 * ParameterStruct.h: change type of depth to unsigned int ==
13719 depth_type. Many adaptations to other files before of that.
13721 2001-06-24 The LyX Project <Asger>
13723 * Fix Qt compilation.
13725 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13727 * paragraph.h: renamed several methods to begin with small letter.
13728 several changes to many parts of the code because of this.
13730 2001-06-23 The LyX Project <jug@sad.it>
13732 * text2.C (InsertStringAsLines): renamed from InsertStringA;
13733 rewritten to discard all double spaces when KeepEmpty is off
13734 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13735 to only handle newlines but not fiddle with spaces and friends.
13737 * lyxfunc.C (MenuNew): when doing 'new from template', use
13738 template_path as default directory
13740 2001-06-23 The LyX Project <Asger>
13742 * Clean-up of header file includes all over
13743 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13745 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13747 * paragraph.h: renamed from lyxparagraph.h
13749 2001-06-23 Asger <lyx@violet.home.sad.it>
13751 * Buffer.h: Removed Buffer::resize
13752 * BufferList.h: Removed BufferList::resize
13753 * LyXView.h: Added LyXView::resize. This way, we will only reflow
13754 the document lazily when we change the width, or the font settings.
13756 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13758 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13760 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13762 * buffer.h: remove out of date comment
13764 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13767 * screen.C: fix "theoretical" GC leak
13769 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13771 * LaTeX.C (scanAuxFile):
13772 (deplog): remove trailing \r when reading stream (useful under
13775 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
13777 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13778 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13779 and BufferView::theLockingInset(Inset*), so should use them and not
13780 access bv_->text->the_locking_inset directly.
13782 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13784 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13787 * tex-defs.h: remove old unused file
13789 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
13791 * BufferView_pimpl.C: fix typo, remove minibuffer message
13792 when buffer has loaded
13794 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13796 * lyxfunc.C (Dispatch): use stringstream
13797 (MenuNew): use stringstream
13798 (Open): use stringstream
13800 * importer.C (Import): use stringstream
13802 * bufferview_funcs.C (CurrentState): use stringstream
13804 * LaTeX.C (run): use stringstream
13806 * BufferView_pimpl.C (savePosition): use stringstream
13807 (restorePosition): use stringstream
13808 (MenuInsertLyXFile): use stringstream
13810 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
13823 * vspace.C: removed // -*- C++ -*- as first line.
13826 * version.h: added // -*- C++ -*- as first line.
13828 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13830 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13832 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13835 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13837 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13840 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13842 * gettext.C: include LString.h even when --disable-nls is on.
13844 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
13846 * converter.h (Get): changed argument type from int to
13847 FormatList::size_type to avoid unnecessary conversion.
13849 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13852 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13854 * gettext.h: include LString.h even when --disable-nls is on.
13856 2001-06-07 Juergen Vigna <jug@sad.it>
13858 * text.C (BreakAgain): subst spaces with tabs.
13860 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13861 (resizeInsetsLyXText): set force on resizeLyXText.
13863 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13865 * gettext.h (gettext_init):
13866 (locale_init): use a real definition instead of a macro
13868 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13870 * Bufferview_pimpl.C:
13872 * LColor.C: further lcolor tidies
13874 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13876 * BufferView_pimpl.C (updateScrollbar): simplify.
13878 * BufferView2.C: don't include insets/insetinfo.h, change
13879 prototype for insertInset and call the Pimpl version. let
13880 updateInset call Pimpl version.
13882 * BufferView.h: move inset_slept to BufferView::Pimpl, move
13883 gotoInset to BufferView::Pimpl
13885 2001-06-01 Juergen Vigna <jug@sad.it>
13887 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13888 inside a LockingInset (is the update needed at all?).
13890 2001-05-31 Juergen Vigna <jug@sad.it>
13892 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13893 here not the old one otherwise how should we compare it afterwards
13896 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13901 * FontInfo.C: bring C functions into global namespace when
13904 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13906 * LString.h: make sure config.h has been loaded before LString.h.
13908 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13909 (one for each char read by EatLine!).
13911 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13914 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13916 * paragraph.C (BreakParagraph): set the inset_owner in the new par
13917 to the same as the par we break from
13919 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
13921 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13923 * MenuBackend.C (expand): also create menu entries for wide
13924 versions of the floats.
13926 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13928 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13930 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13931 frontends/Makefile.am
13937 * tabular.C (getTokenValue): add std::
13939 * tabular-old.C (getTokenValue): add std::
13940 (getTokenValue): ditto
13941 (getTokenValue): ditto
13943 * screen.C (ToggleSelection): adjust
13945 * lyxtext.h: put selection cursors inside a Selection struct.
13947 * lyxfunc.C (moveCursorUpdate): adjust
13949 * lyxfont.C (latexWriteStartChanges): add std::
13951 * lyxfind.C: adjust
13953 * font.h: delete with(char const *, LyXFont const &)
13955 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13957 * FontInfo.C (getFontname): add std::
13959 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13960 (workAreaButtonPress): adjust
13961 (tripleClick): adjust
13963 (moveCursorUpdate): adjust
13966 * BufferView2.C (gotoInset): adjust
13968 2001-05-30 Juergen Vigna <jug@sad.it>
13970 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13971 to check pspell I add this as default as I now have new pspell
13972 libraries and they seem to use this.
13974 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13976 * text2.C (CutSelection): make the cursor valid before the call to
13979 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13981 * kbsequence.C (parse): de-uglify a bit the parsing code, which
13982 relied on 0 terminated strings and other horrors. Bug found due to
13983 the new assert in lyxstring!
13985 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13988 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13990 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13993 * lyxfunc.C (processKeySym): change method of getting to the
13996 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13997 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13998 * BufferView_pimpl.[Ch]: here as private methods.
14000 2001-05-28 Juergen Vigna <jug@sad.it>
14002 * text.C (SetHeightOfRow): added the update() call again as it is
14003 needed to initialize inset dimensions!
14005 2001-05-16 Juergen Vigna <jug@sad.it>
14007 * text2.C (SetCharFont): Add new function with BufferView * and
14008 bool toggleall parameters for setting insets internal fonts.
14009 (SetFont): Freeze the undo as we may change fonts in Insets and
14010 all this change should be inside only one Undo!
14012 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14013 setting font's in insets as for them we have the SetFont function!
14015 2001-05-15 Juergen Vigna <jug@sad.it>
14017 * text2.C (ClearSelection): to be sure we REALLY don't have any
14020 * tabular.C (TeXCellPreamble): fixed the left border problem for
14023 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
14025 * LaTeX.C (deplog): Make sure that the main .tex file is in the
14028 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14030 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14031 LFUN_BREAKPARAGRAPH.
14033 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14034 help test to "internal only", similar for LFUN_INSERT_URL
14036 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14037 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14038 auto_region_delete and deadkeys.
14040 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
14043 * LColor.C: remove some dead entries, tidy a little
14045 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14047 * lyxfunc.C (processKeySym): comment the Escape handling, remove
14049 (Dispatch): implement LFUN_ESCAPE
14051 * commandtags.h: add LFUN_ESCAPE
14053 * LyXAction.C (init): add entry for LFUN_ESCAPE
14055 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14056 Remove commented code.
14057 (insertNote): moved here
14058 (open_new_inset): moved here
14060 * BufferView[2].[Ch]: move insertNote and open_new_inset to
14063 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14065 * kbmap.C (findbinding): clean it up and make it work correctly.
14067 * lyx_main.C (init): do not pass argc and argv as parameters
14069 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
14071 * buffer.C: fix path for OS/2 & Win32
14075 * lyx_main.C: Added os:: class.
14077 * os2_defines.h: update
14079 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14081 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14082 better by trying again with reduced state.
14084 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14086 * lyxrc.C (read): print error about invalid key sequence only when
14087 debugging (because not all latinX keysyms are known to some X
14090 * kbsequence.C (getiso): add a few std:: qualifiers
14091 (getiso): comment out extra return statement.
14093 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
14095 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14097 (Dispatch): enhance the accent inset a bit. (not perfect)
14099 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14101 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14103 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14105 * bufferlist.C (emergencyWrite): fix assert() call
14107 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
14109 * text.C (InsertChar): Added trivial patch to only send the "you
14110 can not do multiple spaces this way" message once during a
14113 2001-05-08 Baruch Even <baruch@lyx.org>
14115 * Makefile.am: Changed order of libraries to get LyX to link properly
14116 with the gnome frontend.
14118 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14120 * LaTeXFeatures.h: add a std:: qualifier
14122 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14124 * paragraph.C (String): use stringstream
14126 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14128 * paragraph.C (writeFile): remove footflag arg
14130 * buffer.C (makeLaTeXFile): use stringstream
14131 (latexParagraphs): remove footnot gurba
14133 * LaTeXFeatures.C (getPackages): use stringstream
14134 (getMacros): likewise
14135 (getTClassPreamble): likewise
14136 (getFloatDefinitions): new method
14138 * paragraph.C (writeFile): reindent
14141 * WorkArea.h: revert the xpos + etc changes.
14143 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14145 * lyxparagraph.[Ch]: add copy constructor, remove Clone
14147 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14148 (pasteSelection): likewise
14149 * text2.C (CreateUndo): likewise
14151 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14153 * minibuffer.C (peek_event): temporarily reduce the functionality
14154 of the minibuffer (to allow args on lfuns)
14156 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14157 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14159 * buffer.C (readInset): add compability reading of old float
14160 lists, add reading of new style float list.
14161 (readInset): avoid reevaluation of inscmd.getCmdName()
14162 (getLists): reindent
14164 * MenuBackend.C (MenuItem): implement parsing of
14165 md_floatlistinsert and md_floatinsert.
14166 (expand::LastFiles): move initalizaton of iterators out of loop,
14167 avoid reevaluation.
14168 (expand::Documents): introduce typdedef vector<string> Strings,
14170 (expand::ExportFormats): introduce typedef vector<Format const *>
14171 Formats, and use it.
14172 (expand): implement FloatListInsert and FloatInsert.
14174 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14175 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14176 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14178 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14180 (Dispatch::LFUN_FLOAT_LIST): implement
14182 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14184 * LaTeX.C (run): Fix problem with --export code.
14186 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14188 * BufferView.[Ch] (workarea): removed.
14189 (getClipboard) new method; wrapper for workarea()->getClipboard()
14191 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14194 * WorkArea.h (width, height, xpos, ypos): These methods all
14195 returned the dimensions of the work_area sub-area of WorkArea,
14196 resulting in a position error if the WorkArea were resized. Now
14197 return the dimensions of the entire WorkArea.
14199 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14201 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14203 * LaTeX.C (deplog): correct the syntax of regex reg1
14205 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14207 * undo.C: remove !NEW_INSETS cruft
14209 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14211 * text2.C: remove !NEW_INSETS cruft
14213 * text.C: remove !NEW_INSETS cruft
14215 * tabular.C: remove !NEW_INSETS cruft
14217 * spellchecker.C: remove !NEW_INSETS cruft
14219 * lyxtext.h: remove !NEW_INSETS cruft
14221 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14223 * lyxfunc.C: remove !NEW_INSETS cruft
14225 * lyxfind.C: remove !NEW_INSETS cruft
14227 * lyx_cb.C: remove !NEW_INSETS cruft
14229 * figureForm.C: remove !NEW_INSETS cruft
14231 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14233 * buffer.[Ch]: remove !NEW_INSETS cruft
14235 * ToolbarDefaults.C: remove !NEW_INSETS cruft
14237 * CutAndPaste.C: remove !NEW_INSETS cruft
14239 * BufferView_pimpl.C: remove !NEW_INSETS cruft
14241 * BufferView2.C: remove !NEW_INSETS cruft
14243 * BufferView.h: remove !NEW_INSETS cruft
14245 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14247 * Lsstream.h: include LString.h before the sstream headers to
14248 fix problem with gcc 2.95.3 and lyxstring
14250 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14252 * lyx_main.C: add using directives when needed for C functions
14253 declared in std:: namespace.
14255 2001-04-27 Juergen Vigna <jug@sad.it>
14257 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14258 (SetHeightOfRow): comment out the update call should not be needed!
14260 2001-04-13 Juergen Vigna <jug@sad.it>
14262 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14263 (LyXTabular): tried to minimize operator= operations (and realized
14264 hopfully Lars wish).
14266 2001-04-27 Juergen Vigna <jug@sad.it>
14268 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14270 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14272 * lyxfunc.C (Dispatch): hack to make listof algorithm work
14274 * buffer.C (readInset): hack to make listof algorithm work
14276 * BufferView_pimpl.C: hack to make listof algorithm work
14278 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14280 * LyXAction.C: removed all !NEW_INSETS cruft
14281 (init): moved lfun_item in method
14283 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14285 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14287 * BufferView2.C (theLockingInset): white space.
14289 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14291 * minibuffer.C: include <iostream>
14293 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14295 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14297 * commandtags.h: add LFUN_TRANSPOSE_CHARS
14299 * text.[Ch] (TransposeChars): new method
14301 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14303 * call message directly through LyXView instead of through LyXFunc
14304 * BufferView2.C: adjust
14305 * BufferView_pimpl.C: adjust
14306 * FontLoader.C: adjust
14308 * bufferview_funcs.C: adjust
14309 * converter.C: adjust
14310 * figureForm.C: adjust
14311 * importer.C: adjust
14313 * lyx_gui_misc.C: adjust
14314 * lyxfunc.C: adjust
14317 + more files in subdirs
14319 * lyxparagraph.h (size): move up int file
14322 * adjust all uses of Assert to lyx::Assert.
14324 * BufferView2.C (ChangeCitationsIfUnique): adjust for
14325 lyxfunctional in namespace lyx
14326 * layout.C (hasLayout): ditto
14329 (delete_layout): ditto
14330 (NumberOfClass): ditto
14331 * converter.C (GetFormat): ditto
14336 * bufferlist.C (getFileNames): ditto
14337 (emergencyWriteAll): ditto
14340 * MenuBackend.C (hasSubmenu): ditto
14343 * BufferView_pimpl.C (getInsetByCode): ditto
14345 2001-04-18 Juergen Vigna <jug@sad.it>
14347 * vspace.C (asLatexString): fixed the 100% problem.
14349 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14351 * lyxfunc.C (Dispatch):
14353 * minibuffer.h: add a few std:: qualifiers
14355 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14357 * minibuffer.[Ch]: reimplement so that commands is initiated and
14358 run from lyxfunc, simplified som handling, and made the completion
14359 and history code for complete. wip.
14361 * lyxfunc.C (processKeySym): call message
14362 (miniDispatch): new temporary method
14363 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14364 (LFUN_MESSAGE): implement
14365 (LFUN_MESSAGE_PUSH): implement
14366 (LFUN_MESSAGE_POP): implement
14367 (initMiniBuffer): the initial/defualt minibuffer message.
14369 * lyxfont.[Ch]: inline some more getters
14371 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14373 * lyx_gui_misc.[Ch] (WriteStatus): remove method
14375 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14376 (AutoSave): use LFUN_MESSAGE
14377 (Reconfigure): ditto
14379 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14381 * figureForm.C: use LFUN_MESSAGE
14383 * converter.C (runLaTeX): use LFUN_MESSAGE
14385 * bufferview_funcs.C: use LFUN_MESSAGE
14387 (changeDepth): ditto
14389 * bufferparams.h: use boost::
14391 * bufferlist.h: inherit privately from noncopyable
14393 * bufferlist.C (loadLyXFile): remove some commented code.
14395 * buffer.C (runChktex): use LFUN_MESSAGE
14397 * ShareContainer.h: inherit privately from noncopyable
14399 * ParagraphParameters.[hC] (depth): inline it.
14401 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14403 (message): new method
14404 (messagePush): ditto
14405 (messagePop): ditto
14406 (show): init minibuffer
14407 (showState): direct call
14409 * LaTeX.[Ch]: inherit privately from noncopyable
14410 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14411 instead of WriteStatus.
14413 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14415 * BufferView_pimpl.C (buffer): don't init minibuffer
14416 (workAreaButtonPress): use LFUN_MESSAGE
14417 (workAreaButtonRelease): ditto
14418 (savePosition): ditto
14419 (restorePosition): ditto
14420 (MenuInsertLyXFile): ditto
14421 (workAreaExpose): don't init minibuffer
14422 (update): remove commented code, simplify
14424 * BufferView2.C (openStuff): use LFUN_MESSAGE
14425 (toggleFloat): ditto
14428 (copyEnvironment): ditto
14429 (pasteEnvironment): ditto
14434 (updateInset): remove some commented code
14436 * lastfiles.h: inherit privately from noncopyable
14439 * lyx_main.h: ditto
14441 * lyxlex_pimpl.h: ditto
14443 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14444 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14445 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14447 * LyXAction.h: inherit privately from noncopyable, add methods
14448 func_begin, func_end, returning iterators to the func map.
14450 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14451 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14452 (func_begin): new method
14453 (func_end): new method
14455 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14457 (copySelection): ditto
14458 (pasteSelection): ditto
14460 * BufferView.C: whitespace change
14461 * BufferView.h: inherit privately from noncopyable
14463 2001-04-16 Allan Rae <rae@lyx.org>
14465 * tabular-old.C (l_getline):
14466 * spellchecker.C (sc_check_word):
14467 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14468 an unrecognised preprocessor directive. So ensure they're wrapped.
14470 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
14472 * src/exporter.C (Export): Give an error message when path to file
14475 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
14477 * LaTeX.C (deplog): Always check that foundfile exists.
14479 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14482 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14484 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14486 * tabular.[Ch] (getLabelList): implement new method
14488 * minibuffer.h: comment ouf setTiimer
14490 * minibuffer.C (ExecutingCB): constify res
14491 (peek_event): constify s
14492 (Set): constify ntext
14493 (Init): constify nicename
14495 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14497 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14498 (savePosition): use two params to Minibuffer::Set
14499 (restorePosition): ditto
14501 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14503 * lyx_main.C: include language.h
14505 * Makefile.am (lyx_main.o): add language.h
14507 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14513 * CutAndPaste.C: include gettext.h
14515 * lyxfont.h: remove old hack with ON and OFF.
14518 * lyxfont.h: do not include language.h...
14523 * bufferview_funcs.C:
14529 * paragraph.C: ... but do it here instead
14531 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14533 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14535 * tabular.C: small reformat
14537 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14540 (BreakParagraph): ditto
14541 (SetOnlyLayout): ditto
14544 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14547 * lastfiles.C: removed most using decl, add std:: where needed
14549 * buffer.C: ws changes
14551 * MenuBackend.C (class compare_format): put into anon namespace
14552 (expand): constify label, names, action, action2
14555 * text.C (SingleWidth): constify font
14556 (IsBoundary): constify rtl2
14557 (GetVisibleRow): constify ww
14559 * LaTeX.C (deplog): constify logfile
14561 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14563 (workAreaExpose): constify widthChange, heightChange
14565 * lyxrow.C (par): moved
14568 * lyxrow.h: as inlines here
14570 * lyxfont.h (shape): moved from lyxfont.C
14571 (emph): moved from lyxfont.C
14573 * lyxfont.C (LyXFont): use initialization list for all
14575 (shape): move to lyxfont.h as inline
14576 (emph): move to lyxfont.h as inline
14579 2001-04-04 Juergen Vigna <jug@sad.it>
14581 * vspace.C: had to include stdio.h for use of sscanf
14583 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
14586 * BufferView_pimpl.h: remove xforms cruft. Both classes are
14587 independent of xforms.
14589 2001-04-02 Juergen Vigna <jug@sad.it>
14591 * spellchecker.C: fixed namespace placing!
14593 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
14595 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14596 the LyXParagraph * is 0.
14598 2001-03-29 Juergen Vigna <jug@sad.it>
14600 * vspace.C: added support for %, c%, p%, l%.
14601 (stringFromUnit): added helper function.
14602 (asLatexString): changed to give right results for the %-values.
14604 * buffer.C: convert the widthp in a width%.
14606 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
14608 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14611 * figureForm.[Ch]: stripped the FD_from_figure manipulation
14612 code out of lux_cb.[Ch], ready for its (imminent?) removal.
14614 * lyx_cb.[Ch]: see above.
14616 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14620 * lyx.[Ch]: replaced by figure_form.[Ch].
14624 * lyxfunc.C: changed headers associated with above changes.
14626 2001-03-27 Juergen Vigna <jug@sad.it>
14628 * BufferView_pimpl.C: set the temporary cursor right!
14630 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
14632 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14634 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
14636 * LString.h: removed "using std::getline"!
14638 * BufferView_pimpl.C (Dispatch): changes due to changes in
14639 InsetInclude::Params.
14641 * buffer.C (tag_name): removed redundant break statements as they were
14642 producing lots of warnings with my compiler.
14644 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14646 * LString.h: add "using std::getline" when using the real <string>.
14648 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
14650 * buffer.C: removed bitset usage.
14651 PAR_TAG moved to an anonymous name space.
14652 (tag_name): new funtion, also in the anonymous namespace.
14653 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14654 (makeDocBookFile): clean code. Completed transition from string arrays
14656 (SimpleDocBookOnePar): code clean.
14658 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14660 * tabular.C: add some comments.
14662 2001-03-22 Juergen Vigna <jug@sad.it>
14664 * buffer.C (parseSingleLyXformat2Token): redone the minipage
14665 compatibility read a bit and fixed bug with minipage in different
14668 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
14670 * buffer.C (pop_tag): removed.
14671 (push_tag): removed.
14672 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14673 array replaced with vector. Added support for CDATA sections.
14674 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14676 (makeDocBookFile): XML conformant declaration of CDATA section,
14677 fixed bug related to <emphasis> in the first paragraph char.
14678 (sgmlOpenTag): exclude empty tags.
14679 (sgmlCloseTag): ditto.
14681 * buffer.h (pop_tag): removed.
14682 (push_tag): removed.
14684 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
14686 * language.h (Languages): added size_type and size().
14688 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14690 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14691 response on compability reading of minipages. One probliem is that
14692 the old usage of minipages was «flertydig»
14694 * several files here and in subdirs: don't use static at file
14695 scope use anon namespaces instead.
14697 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
14699 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14700 LaTeX output. This is necessary for Literate document
14703 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14705 * buffer.C: insert hfill when needed.
14707 * tabular.C (l_getline): use string::erase, small whitespace change.
14709 * BufferView_pimpl.C: try the anon namespace.
14710 * WorkArea.C: ditto
14712 2001-03-16 Juergen Vigna <jug@sad.it>
14714 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14715 otherwise it won't open options-dialogs.
14717 * buffer.C: honor pextraWidth(p) on converting minipages.
14719 * tabular.C (l_getline): changed the functions to strip trailing \r.
14721 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
14723 * BufferView_pimpl.C:
14724 * minibuffer..C: added "using SigC::slot" declaration.
14726 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14728 * lyxlex_pimpl.h: noncopyable is in namespace boost.
14734 * paragraph.C: ditto
14736 * lyxtext.h: NO_PEXTRA
14738 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14740 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14741 * ParameterStruct.h: ditto
14742 * ParagraphParameters.h: ditto
14743 * lyxparagraph.h: ditto
14745 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14747 * buffer.C: add compability for minipage alignment.
14748 (latexParagraphs): remove unwanted pextra check.
14750 * several files: remove CXX_WORKING_NAMESPACES
14752 * buffer.C (pop_tag): tie is in namespace boost
14754 * BufferView.h: noncopyable is in namespace boost
14756 * lyx_main.h: ditto
14759 * lastfiles.h: ditto
14760 * bufferlist.h: ditto
14761 * ShareContainer.h: ditto
14763 * LyXAction.h: ditto
14766 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14768 * Merging changes from BRANCH_MVC back into HEAD.
14770 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14772 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
14774 * BufferView_pimpl.C: change from intl.C
14778 * Makefile.am: move combox.*
14784 * intl.C: remove dialog (covered by prefs)
14786 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14788 * lyxfunc.C (Dispatch): removed redundant break statement.
14790 2001-03-14 Juergen Vigna <jug@sad.it>
14792 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14794 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14796 * buffer.C: add hack to fix compability reading of minipages.
14798 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
14800 * buffer.C (getLists): Cleanup.
14802 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14804 * lyxfont.C (update): don't honor toggleall on font size.
14806 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
14810 * Makefile.am: moved to frontends/xforms/
14814 * BufferView_pimpl.C: changes for moved mathpanel
14816 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14818 * gettext.h: fix gettext_init() in --disable-nls
14820 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14822 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14824 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
14827 * lyx.h: strip external form
14829 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14831 * BufferView_pimpl.C: add comment, destroySplash()
14833 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14835 * BufferView_pimpl.C:
14839 * lyxfunc.C: use re-worked insetinclude
14841 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14843 * buffer.C: add using std::stringstream.
14845 * lyx_cb.C: readd using std::ios.
14847 * buffer.C: add using std::map.
14849 * BufferView_pimpl.C: add using std::vector.
14851 * ShareContainer.h: add std:: to swap.
14853 * buffer.h: add some typedefs
14854 * buffer.C (getLists): use them
14855 (getLists): renamed from getTocList.
14856 add a counter for the different float types and use it in the
14858 (getLists): use the same counter for the NEW_INSETS and the "non"
14861 * lyx_cb.h: remove unused items, includes, using etc.
14863 * ShareContainer.h: remove some commented code, add more comments
14864 and "documentation".
14866 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14868 * buffer.C (getTocList): make the list also when NEW_INSETS is
14871 * buffer.h: remove TocType
14873 * buffer.C (getTocList): change to return a map<string,
14874 vector<TocItem> >, implement for dynamic number of list.
14876 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14877 * text2.C (PasteSelection): adjust
14878 * CutAndPaste.C (pasteSelection): adjust
14880 * FloatList.C (FloatList): update from the new_insets branch.
14881 * Floating.[Ch]: ditto
14882 * LaTeXFeatures.C: ditto
14884 * lyxlex_pimpl.C: ditto
14886 * paragraph.C (Last): remove when NEW_INSETS is defined.
14888 * other file: changes because of the above.
14890 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14892 * lyxparagraph.h: rename next to next_, previous to previous_,
14893 make them private for NEW_INSETS. Rename Next() to next(),
14894 Previous() to previous().
14896 * other files: changes because of the above.
14898 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
14901 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14904 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14906 * main.C (main): pass lyx_localedir to gettext_init().
14908 * gettext.h: remove locale_init and gettext_init macros
14910 * gettext.C (locale_init): new function
14911 (gettext_init): new function
14913 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14916 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
14918 * Moved credits to frontends:
14919 * credits.[Ch]: removed
14920 * credits_form.[Ch]: removed
14921 * lyx_gui_misc.C: remove credits stuff
14924 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14926 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14928 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14929 unneeded destructor.
14931 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14932 a standalone pointer again.
14934 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14936 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
14942 * ToolbarDefaults.C:
14951 * BufferView_pimpl.C: use new file dialog in GUII
14954 * lyx_cb.C: remove LayoutsCB to Toolbar
14956 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14958 * ShareContainer.h (get): add std:: qualifier
14960 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14962 * ShareContainer.h: define a proper ShareContainer::value_type
14963 type (and use typename to please compaq cxx)
14965 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14967 * lyxparagraph.h: move serveral local vars to
14968 ParameterStruct/ParagraphParameters., use ShareContainer in
14969 FontTable., make vars in FontTable private and add getter and
14972 * paragraph.C: changes because of the above.
14974 * lyxfont.h: remove copy constructor and copy assignment. (the
14975 default ones is ok), move number inside FontBits. move inlines to
14978 * lyxfont.C: add number to initializaton of statics, move several
14979 inlines here. constify several local vars. some whitespace
14980 cleanup. Dont hide outerscope variables.
14982 * Spacing.h: add two new constructors to match the set methods.
14984 * ShareContainer.h: new file, will perhaps be moved to support
14986 * ParameterStruct.h: new file
14988 * ParagraphParameters.h: new file
14990 * ParagraphParameters.C: new file
14992 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14993 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14995 * BufferView_pimpl.C: ParagraphParameter changes.
14996 * buffer.C: Likewise.
14997 * bufferview_funcs.C: Likewise.
14998 * text.C: Likewise.
14999 * text2.C: Likewise.
15001 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15003 * lyxfind.C (LyXReplace): do not redefine default argument in
15005 (IsStringInText): ditto
15006 (SearchForward): ditto
15007 (SearchBackward): ditto
15009 2001-03-06 Juergen Vigna <jug@sad.it>
15011 * lyxfind.C (IsStringInText): put parentes around expressions.
15013 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
15015 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15017 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
15019 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15021 * stl_string_fwd.h: add comment
15023 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15026 * tabular.C: remove unused DocBook methods
15032 killed DO_USE_DEFAULT_LANGUAGE
15034 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15036 * lyx_gui.C: do not include language.h.
15038 * bufferview_funcs.C (ToggleAndShow): do not provide optional
15039 arguments in function implementation.
15041 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15043 * BufferView_pimpl.C: add <ctime>
15045 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15047 * BufferView_pimpl.C: add using std::find_if
15049 2001-02-27 José Matos <jamatos@fep.up.pt>
15051 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15054 2001-02-11 José Matos <jamatos@fep.up.pt>
15056 * buffer.C (makeDocBookFile): command styles now have a parameter as
15057 "title" by default.
15059 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
15061 * layout_forms.[Ch]: removed
15062 * lyx_cb.[Ch]: out character
15063 * lyx_gui.C: out character
15064 * lyx_gui_misc.C: out character
15065 * bufferview_funcs.C: : out character,
15066 added toggleall as parameter in ToggleAndShow
15068 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
15070 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15072 * text2.C (SetCurrentFont): Disable number property at boundary.
15074 2001-02-26 Juergen Vigna <jug@sad.it>
15076 * lyxfunc.C (getStatus): added a string argument override function so
15077 that this is correctly called from LyXFunc::Dispatch if it contains a
15078 do_not_use_argument which is used!
15079 (Dispatch): added check for "custom" export and call appropriate func.
15081 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
15083 * lyxrc.C: Add language_command_local, language_use_babel and
15084 language_global_options.
15086 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15088 * buffer.C (makeLaTeXFile): Use language_use_babel and
15089 language_global_options.
15091 2001-02-23 Juergen Vigna <jug@sad.it>
15093 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15094 which works with LyXText and putted it inside BufferView. Here now we
15095 only call for that part the BufferView::Dispatch() function.
15097 * BufferView.C (Dispatch): added.
15099 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15100 functions which needs to use a LyXText over from LyXFunc.
15101 (MenuInsertLyXFile): added
15102 (getInsetByCode): added
15103 (moveCursorUpdate): added
15104 (static TEXT): added
15106 2001-02-22 Juergen Vigna <jug@sad.it>
15108 * BufferView_pimpl.C (update): call a status update to see if LyXText
15111 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15113 * vc-backend.C (revert): implement for CVS
15114 (getLog): implement for CVS
15116 2001-02-20 Juergen Vigna <jug@sad.it>
15118 * text2.C (ClearSelection): added BufferView param for inset_owner call
15120 * lyxfunc.C (TEXT): added this function and use it instead of
15121 directly owner->view()-text of getLyXText().
15123 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
15125 * src/layout_forms.C: out preamble
15126 * src/layout_forms.h: out preamble
15127 * src/lyx_cb.C: out preamble
15128 * src/lyx_cb.h: out preamble
15129 * src/lyx_gui.C: out preamble
15130 * src/lyx_gui_misc.C: out preamble
15131 * src/lyxfunc.C: connect with guii preamble
15133 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
15135 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15137 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
15139 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15140 whether to run bibtex.
15142 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
15144 * Makefile.am (lyx_SOURCES): Remove BackStack.h
15146 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
15148 * Makefile.am (lyx_SOURCES): removed bibforms.h
15150 * vspace.h: doxygen
15152 * text.C (GetVisibleRow): make several local vars const
15154 * tabular.C: small cleanup.
15156 * lyxserver.C (callback): use compare instead of strncmp
15158 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15159 inlines to after class or to paragraph.C
15161 * lyxfont.h: remove friend operator!=
15163 * converter.h: move friend bool operator< to non friend and after
15166 * combox.h: small cleanup
15168 * buffer.h: doxygen, remove unused constructor, move inclas inlies
15169 to inlines after class def.
15171 * buffer.C (pop_tag): use string operations instead of strcmp
15173 * bmtable.c: doxygen, small cleanup
15175 * LaTeX.h: remove friend operator==
15177 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
15189 * BufferView_pimpl.C:
15190 * BufferView.[Ch]: remove cruft
15192 2001-02-14 Juergen Vigna <jug@sad.it>
15194 * lyxfunc.C: removed #if 0 unused code
15196 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15198 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15200 * text2.C (SetSelection): added a BufferView * parameter
15202 2001-02-13 Juergen Vigna <jug@sad.it>
15204 * lyxfunc.C (Dispatch): fixed protected blank problem.
15205 * BufferView2.C (protectedBlank): added LyxText * parameter.
15207 * tabular.C (AppendRow): forgot to set row_info of newly added row.
15208 (AppendColumn): same as above for column_info.
15210 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15211 (moveCursorUpdate): use a LyXText param for support of InsetText.
15213 * BufferView_pimpl.C (doubleClick): added support for InsetText.
15214 (tripleClick): ditto
15216 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15218 * BufferView_pimpl.C (update): added LyXText param to honor insets.
15220 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15222 * text2.C (SetSelection): set correct update status if inset_owner
15223 (ToggleFree): ditto
15225 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
15227 * tabular.C: remove some commented code.
15229 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
15231 * BufferView_pimpl.C: call hideSplash()
15233 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15236 * bibforms.h: remove
15239 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15240 add LFUN_CHILD_CREATE
15242 * counters.h: fix tiny typo
15247 * lyx.C: move splash to frontends/xforms/
15249 * lyx_gui_misc.C: move Include and Bibform to frontends
15251 * lyxvc.h: clarify comment
15253 * vspace.C: tiny housekeeping
15255 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
15257 * text.C (PrepareToPrint): RTL Fix.
15259 * paragraph.C (GetUChar): New method.
15260 (String): Use GetUChar.
15262 * buffer.C (asciiParagraph): Use GetUChar.
15264 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
15266 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15268 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
15271 * buffer.C: rename to getLogName(), handle
15272 build log / latex log nicely
15274 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15277 * MenuBackend.h: remove support for reference menuitem type.
15279 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
15281 * BufferView_pimpl.C: housekeeping
15282 * BufferView_pimpl.h:
15287 * minibuffer.h: move Timeout GUI-I
15289 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
15291 * lyxrc.C (read): Update converters data-structures.
15293 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
15295 * LaTeX.h (operator!=): add operator != for Aux_Info
15297 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
15299 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15301 * LaTeXLog.C: deleted, useful code moved to Buffer
15304 * buffer.C: new function getLatexLogName()
15310 * lyxfunc.C: use frontends for LaTeX and VC logs
15312 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15314 * LaTeX.h: yet another std:: that Allan forgot.
15316 * Variables.C (set): renamed from isset(), because this clashes
15317 with some HP-UX macros (grr).
15319 2001-02-06 Allan Rae <rae@lyx.org>
15321 * LaTeX.h: Another bug fix. Missing std:: this time.
15323 2001-02-04 Allan Rae <rae@lyx.org>
15325 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15326 floats problem. I've left it commented out because it's not quite
15327 correct. It should also test that the current object is a table or
15328 figure inset. But I haven't gotten around to figuring out how to do
15329 that. I *think* it'll be something like: "table" == inset.type()
15331 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15334 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
15336 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15337 all the citation/databases/styles in the auxilary file.
15338 (run): Rerun latex if there was a babel language error.
15340 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
15342 * text.C (Backspace): Preserve the font when changing newline char
15344 (BreakParagraph): If the cursor is before a space, delete the space.
15346 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15348 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
15350 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15351 new argument (code).
15352 (ChangeCitationsIfUnique): New method.
15354 * paragraph.C (GetPositionOfInset): Handle bibkey.
15356 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15358 * BufferView_pimpl.h: change type of Position::par_pos to
15359 LyXParagraph::size_type.
15361 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
15363 * BufferView_pimpl.C (savePosition, restorePosition): Write
15364 messages to minibuffer.
15366 2001-01-28 José Matos <jamatos@fep.up.pt>
15368 * buffer.C (makeDocBookFile): adds support for document language.
15369 A silly restriction on the name of LatexCommand types where removed.
15370 Added support for CDATA sections, allows to chars unescaped, used
15371 among others in code, to avoid escape < and >.
15373 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15375 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15376 saved positions instrad of a stack. Furthermore, a position is
15377 stored using paragraph id/paragraph position.
15379 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15380 Remove LFUN_REF_BACK.
15382 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15384 * converter.C (dvipdfm_options): New method.
15386 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
15388 * vspace.C (isValidLength): Fix for empty input string.
15390 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15392 * LyXAction.C (init): change description of LFUN_FIGURE to
15395 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15397 * LaTeX.C: add using directive
15399 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15401 * MenuBackend.C (expand): Fix the sorting of the formats.
15403 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
15405 * lyx_main.C: tiny error message fix
15407 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15409 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15410 calling fl_initialize(). This fixes the problem with ',' as
15411 decimal separator in text files.
15413 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15415 * trans.C (process): Fix the keymap bug.
15417 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
15419 * LaTeX.C (scanAuxFiles): New method. Provides support for
15420 multiple bibliographies (when using the bibtopic/bibunits pacakges).
15421 (scanLogFile) Scan for "run BibTeX" messages.
15423 * buffer.C (makeLaTeXFile): Do not load the ae package when using
15424 OT1 font encoding. Also, load the aecompl package if the ae
15427 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15429 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15431 * texrow.C (increasePos): turn two error messages into debug
15434 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
15436 * LaTeX.C (scanAux): Handle the \@input macro.
15437 (runBibTeX): Use scanAux().
15439 * language.C (latex_options_): New field.
15441 * LaTeXFeatures.C (getMacros): Add language macros.
15443 * buffer.C (makeLaTeXFile): Small fix.
15445 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15447 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15449 * text2.C: add a using directive.
15451 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
15456 * lyxfunc.C: kill LyXBell.
15458 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
15460 * text.C (IsBoundary): Remove the error message
15462 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15464 * lyxrc.C (setDefaults): Correct initialization value for
15467 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
15469 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15472 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15473 and GotoNextNote().
15475 * src/LyXAction.C: Added reference-next.
15477 * text.C (InsertChar): Use contains instead of strchr.
15479 * lyx_cb.C (MenuInsertLabel): Enable default value code.
15481 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
15483 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15484 alignment commands (when needed).
15486 * text.C (InsertChar): Add ':' to number separator chars.