1 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
6 2004-04-19 Angus Leeming <leeming@lyx.org>
8 * BufferView_pimpl.C (setBuffer): changed preview interface.
10 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
13 2004-04-19 John Levon <levon@movementarian.org>
16 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
18 2004-04-05 Angus Leeming <leeming@lyx.org>
20 * text.C (redoParagraphs): add call to updateCounters(), thereby
21 fixing the missing "Figure #:" label from the caption of a
24 2004-04-13 Angus Leeming <leeming@lyx.org>
26 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
27 cursor is clicked out of an inset.
29 2004-04-13 Angus Leeming <leeming@lyx.org>
31 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
34 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
36 * format.[Ch]: add editor to Format
37 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
38 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
40 2004-04-08 André Pönitz <poenitz@gmx.net>
42 * metricsinfo.h: remove PainterInfo::width member
44 2004-04-08 Angus Leeming <leeming@lyx.org>
46 * lyx_sty.C (boldsymbol_def): modify so that it outputs
47 "\providecommand" rather than "\newcommand", thereby preventing
48 clashes with packages that define "\boldsymbol" themselves.
51 2004-04-08 Angus Leeming <leeming@lyx.org>
53 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
54 thereby squashing an unnecessary warning.
56 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
58 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
61 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
63 * BufferView.C (setCursor): call redoParagraph (some insets could
65 (putSelectionAt): remove the 'double update' trick
67 * BufferView_pimpl.C (fitCursor): call refreshPar
68 (workAreaDispatch): remove an uneeded update call
69 (dispatch): remove some manual update calls
71 * cursor.[Ch]: remove cached_y_, updatePos
72 (selHandle): set noUpdate when appropriate
74 * lyxfunc.C (dispatch): track if we need an update
76 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
78 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
79 (paintSelection): cheap optimization, do not call cursorX when not
81 (paintPars): change signature
84 (paintTextInset): adjust
88 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
90 * lengthcommon.C: compilation fix: remove explicit array size from
91 unit_name[] and friends
93 2004-04-05 Angus Leeming <leeming@lyx.org>
95 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
97 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
98 present only for the preferences dialog.
99 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
101 2004-04-05 Angus Leeming <leeming@lyx.org>
103 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
104 to enable the frontends to export changes to lyxrc correctly.
106 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
108 2004-04-07 André Pönitz <poenitz@gmx.net>
110 * cursor.[Ch] (selClear, adjust): remove math
112 * cursor_slice.C: more agressive assert
115 * BufferView_pimpl.C: rework mouse event dispatch
122 2004-04-05 André Pönitz <poenitz@gmx.net>
124 * cursor.[Ch] (valign, halign...): remove unneeded functions
126 2004-04-05 Angus Leeming <leeming@lyx.org>
128 * lyxlength.[Ch] (unit_name et al.): const-correct.
130 2004-04-05 Angus Leeming <leeming@lyx.org>
132 * BufferView_pimpl.C:
141 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
143 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
145 * text3.C (getStatus): add LFUN_BEGINNINGBUF
147 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
149 * lyxfind.C: add a couple of inTexted() tests + other small fixes
150 * BufferView_pimpl.[Ch] (getStatus)
151 * BufferView.[Ch] (getStatus): add
152 * lyxfunc.C (getStatus): move lfuns handled in
153 BufferView::dispatch to te function above
154 * Cursor.C (setSelection): set selection() = true
156 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
158 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
160 2004-03-31 Angus Leeming <leeming@lyx.org>
162 * lyxfunc.C (dispatch): Fall through to the generic
163 Dialogs::show("preamble").
165 2004-03-31 Angus Leeming <leeming@lyx.org>
167 * lyxfunc.C (dispatch): Fall through to the generic
168 Dialogs::show("spellchecker").
170 2004-03-31 Angus Leeming <leeming@lyx.org>
172 * lyxfunc.C (getStatus, dispatch): changed invocation of the
175 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
180 * insetiterator.[Ch]:
185 * undo.[Ch]: s/DocumentIterator/DocIterator/g
187 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
189 * BufferView.C (setCursor, putSelectionAt): call edit to open the
190 insets where we are putting the cursor.
192 2004-03-31 Angus Leeming <leeming@lyx.org>
195 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
197 * lyxrc.[Ch] (read, write): overloaded member functions taking
198 a std::[io]stream arguments.
200 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
202 2004-03-31 Angus Leeming <leeming@lyx.org>
204 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
205 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
207 * lyxtextclass.C (load): if the text class couldn't be loaded, then
208 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
210 2004-03-31 Angus Leeming <leeming@lyx.org>
212 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
213 the LFUN_ALL_INSETS_TOGGLE code.
215 2004-03-30 Angus Leeming <leeming@lyx.org>
217 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
218 has died. Fall through to the generic Dialogs::show("document").
220 2004-03-30 Angus Leeming <leeming@lyx.org>
223 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
224 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
226 * lyxfunc.C (getStatus, dispatch): define the actions for these
227 lfuns. Little more than a cut and pste job from ControlDocument.C
229 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
231 2004-03-30 Angus Leeming <leeming@lyx.org>
234 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
235 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
237 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
238 open/closed state of ollapsable insets. Usage:
240 all-inset-toggle <state> <name>, where
241 <state> == "open" || "closed" || "toggle" and
242 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
244 * lyxtext.h, text2.C (toggleInset): removed.
246 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
247 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
248 now passes LFUN_INSET_TOGGLE to the found inset.
250 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
251 is now invoked as "all-insets-toggle toggle branch".
253 2004-03-30 Angus Leeming <leeming@lyx.org>
257 * pariterator.[Ch]: added/corrected header blurb.
259 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
261 * dociterator.[Ch]: add an inset_ member
262 (backwardPos): implemented
263 (backwardPos, forwardPos): use inset_ when the stack is empty.
264 (doc_iterator_begin, doc_iterator_end): implemented
265 * pariterator.[Ch]: adjust, add begin, end
266 * insetiterator.[Ch]: adjust, add begin, end
270 * BufferView_pimpl.C:
271 * CutAndPaste.C: adjust
273 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
275 * buffer.C: increment file format to 232.
276 * LaTeXFeatures.C: add bibtopic package.
277 * bufferparams.[Ch]: param \use_bibtopic.
279 * lyxrc.[Ch]: add lyxrc bibtex_command
280 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
282 * buffer.C: increment file format to 231.
284 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
286 * dociterator.C: implement forwardPar
287 * iterators.[Ch]: remove, replaced by
288 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
290 * BufferView_pimpl.C:
293 * bufferview_funcs.C:
299 * Makefile.am: adjust
301 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
303 * CutAndPaste.C (pasteSelection): fix 2 crashes
304 (eraseSelection): fix a crash
305 * paragraph_funcs.C: remove a warning
307 2004-03-28 Angus Leeming <leeming@lyx.org>
310 * LyXAction.C (init): new LFUN_PRINT.
312 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
314 2004-03-27 Angus Leeming <leeming@lyx.org>
317 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
319 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
321 2004-03-27 Angus Leeming <leeming@lyx.org>
323 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
324 insetlist always contains non-null pointers to insets.
326 2004-03-26 Angus Leeming <leeming@lyx.org>
328 * src/BufferView_pimpl.C:
332 * src/output_plaintext.C:
333 * src/outputparams.h:
334 * src/paragraph_funcs.C:
338 * src/frontends/controllers/ControlErrorList.C:
339 * src/frontends/gtk/FileDialogPrivate.C:
340 * src/frontends/gtk/GPainter.C:
341 * src/frontends/gtk/GToolbar.C:
342 * src/frontends/qt2/QRef.C:
343 * src/mathed/math_scriptinset.C: squash compiler warnings.
345 2004-03-26 Angus Leeming <leeming@lyx.org>
347 * ispell.C (LaunchIspell::start):
348 * lyx_cb.C (AutoSaveBuffer::start):
349 invoke run(DontWait) rather than runNonBlocking().
351 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
353 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
355 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
357 * kbsequence.C (print): adjust
359 * kbmap.C (printKeySym): rename and change signature
360 (printKey): use LyXKeySym::print()
362 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
364 * undo.C: add using std::advance to compile for stlport
366 2004-03-24 Angus Leeming <leeming@lyx.org>
368 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
369 it leads to a crash when no buffer is present.
371 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
372 Martin Vermeer <martin.vermeer@hut.fi>
374 * lyxfunc.C (dispatch):
375 * bufferparams.C (readToken): use the new LColor::setColor
377 * LColor.[Ch] (setColor): new version that takes two strings as
378 argument and creates a new color entry if necessary
380 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
382 * buffer.C (makeLaTeXFile): if the main latex file that is
383 processed is usually a subdocument of some master, then pretend
384 for a while that it is actually the master
386 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
388 * buffer.C (getLabelList):
389 (getBibkeyList): use getMasterBuffer()
390 (getMasterBuffer): new method. Returns the main document in the
391 case where one is using included documents.
393 2004-03-25 André Pönitz <poenitz@gmx.net>
397 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
399 * ParagraphList_fwd.h: change ParagraphList to a std::vector
401 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
402 text*.C over here. Rename namespace CutAndPaste to lyx::cap
404 * ParameterStruct.h: merge with ParagraphParameters
406 * lyxtext.h: remove LyXText::parOffset() and getPar()
408 * text3.C: Remove all 'manual' update calls. We do now one per user
409 interaction which is completely sufficient.
413 * BufferView_pimpl.C:
416 * ParagraphParameters.[Ch]:
428 * output_docbook.[Ch]:
430 * output_linuxdoc.[Ch]:
431 * output_plaintext.[Ch]:
433 * paragraph_funcs.[Ch]:
434 * paragraph_pimpl.[Ch]:
442 * frontends/controllers/ControlDocument.C:
443 * frontends/controllers/ControlErrorList.C:
444 * frontends/controllers/ControlSpellchecker.C:
447 * insets/insetbase.h:
448 * insets/insetbibitem.C:
450 * insets/insetbranch.C:
451 * insets/insetcaption.C:
452 * insets/insetcharstyle.C:
453 * insets/insetcharstyle.h:
454 * insets/insetcollapsable.C:
455 * insets/insetcollapsable.h:
457 * insets/insetfloat.C:
458 * insets/insetfoot.C:
459 * insets/insetmarginal.C:
460 * insets/insetnote.C:
461 * insets/insetoptarg.C:
462 * insets/insettabular.C:
463 * insets/insettext.C:
464 * insets/insettext.h:
465 * insets/insetwrap.C:
466 * mathed/math_mboxinset.C:
467 * mathed/math_nestinset.C:
468 * mathed/math_scriptinset.C:
469 * mathed/math_scriptinset.h:
472 2004-03-24 Angus Leeming <leeming@lyx.org>
474 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
475 deal with any child processes that have finished but are waiting to
476 communicate this fact to the rest of LyX.
478 2004-03-24 Angus Leeming <leeming@lyx.org>
480 64-bit compile fixes.
482 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
483 (c-tor): pass lyx::pos_types rather than ints.
485 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
488 * text.C (Delete): compile fix.
489 (getPar): ensure that function declaration is the same as that in
492 2004-03-23 Angus Leeming <leeming@lyx.org>
494 * ispell.C (LaunchIspell):
495 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
496 a boost::shred_ptr rather than a std::auto_ptr.
498 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
500 * lyxfunc.C (getStatus): handle read-only buffers correctly;
501 handle LFUN_FILE_INSERT_*
503 * lyxrc.C (setDefaults, getDescription, output, read):
504 * lyxrc.h: remove ps_command
506 2004-03-22 Angus Leeming <leeming@lyx.org>
508 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
509 Ensure that error_handler is processed once only and that all data
510 is saved before attempting to output any warning messages.
512 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
514 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
516 * tabular.C (TeXRow): crash fix (from Kayvan and André)
518 2004-03-19 André Pönitz <poenitz@gmx.net>
520 * cursor.[Ch] (reset): take main text inset as argument
523 * BufferView_pimpl.C: adjust
525 * paragraph.[Ch]: fix completely broken operator=()
527 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
529 * LColor.C (getFromLyXName): make sure that the color name is used
532 2004-03-17 Angus Leeming <leeming@lyx.org>
535 * LyXAction.C (init): remove LFUN_FORKS_KILL.
537 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
538 dialog and to kill a forked process.
540 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
542 * text2.C (setCursorFromCoordinates): fix font problem
544 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
546 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
547 bogus "rebuild cursor" code
549 2004-03-11 André Pönitz <poenitz@gmx.net>
551 * buffer.[Ch]: use InsetText instead of LyXText as container for
554 * dociterator.[Ch]: drop the BufferView * member which is not needed
555 anymore after the change to buffer.C
561 * BufferView_pimpl.[Ch]:
563 * cursor_slice.[Ch]: adjust
565 * text3.C: fix bug in mathDispatch
567 2004-03-08 André Pönitz <poenitz@gmx.net>
569 * undo.[Ch]: use 'StableDocumentIterator' as base for
572 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
575 * bufferparams.[Ch]: add jurabib support and param.
577 * LaTeX.C: add FIXME/comment.
579 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
581 * buffer.C: increment file format to 230.
583 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
585 * cursor.C (dispatch): avoid infinite loops
587 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
589 * rowpainter.C (paintSelection): fix x coordinates
591 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
593 * text.C (rowBreakPoint): fix breaking before displayed insets
595 2004-03-01 André Pönitz <poenitz@gmx.net>
597 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
599 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
603 * BufferView_pimpl.C:
611 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
617 * BufferView_pimpl.C: rename textwidth -> maxwidth,
618 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
620 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
622 * Bidi.[Ch] (computeTables): const correctness
623 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
624 fill_hfill, fill_label_hfill and x from Row
625 * lyxtext.h: prepareToPrint returns a RowMetrics
626 * rowPainter.C: adjust
627 * text.C (prepareToPrint): use width, not textWidth. adjust
628 (redoParagraphInternal, cursorX): adjust
629 * text2.C (getColumnNearX): adjust
630 (init): put a default value to the top LyXText::width
632 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
634 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
636 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
638 * lyxtext.h: add FontIterator class
640 * text.C (FontIterator, operator*, operator->, operator++): add
641 (rowBreakPoint, setRowWidth): adjust (fixing a
644 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
646 * BufferView_pimpl.C (workAreaDispatch): allow also
647 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
649 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
651 * text.C (rowBreakPoint): fix a bug showing with very large insets
653 2004-02-25 André Pönitz <poenitz@gmx.net>
656 * cursor.[Ch]: move some mathed specific code to mathed
658 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
660 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
661 use_tempdir in preferences
662 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
664 * lyx_main.C: ensure that tempdir is valid
665 * lyxlex.h: correct typo
666 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
667 * paragraph.[Ch] (isMultiLingual): make const
668 * cursor.[Ch] (openable): make const
670 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
672 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
674 2004-02-20 André Pönitz <poenitz@gmx.net>
676 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
678 * cursor.[Ch]: prepare for localized getStatus()
684 * text3.C: streamlines the LyXText cursor movement handlers a bit.
686 2004-02-20 André Pönitz <poenitz@gmx.net>
688 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
690 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
692 * text2.C (setCursorFromCoordinates): switch to absolute coords
695 * text3.C (dispatch): adjust
697 2004-02-16 André Pönitz <poenitz@gmx.net>
699 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
702 * cursor_slice.[Ch]: remove unneeded acessor function
704 * lyxtext.h: rename rtl() to isRTL()
712 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
714 * rowpainter.C (paintSelection): coord fix
716 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
718 * Spacing.C: compile fix
720 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
722 * cursor.C (dispatch): restore current_ before returning
724 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
726 * text2.C (cursorUp, cursorDown): fix coords
729 2004-02-12 André Pönitz <poenitz@gmx.net>
734 * text3.C: add LCursor & parameter to most cursor movement functions
735 remove usage of LyXText::cursorRow() and cursorPar()
737 * cursor.[Ch]: add textRow() needed members
740 * BufferView_pimpl.C:
743 * BufferView_pimpl.C: adjust
745 2004-02-11 André Pönitz <poenitz@gmx.net>
749 * BufferView_pimpl.C: shift undo/redo handling
751 * cursor.[Ch]: fix mathed crash
754 * lyxtext.h: move selectionAsText to LCursor
762 * rowpainter.C: fix excessive drawing
764 2004-02-06 André Pönitz <poenitz@gmx.net>
767 * BufferView_pimpl.[Ch]:
768 * text3.C: move some text specific LFUN handling
770 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
772 * text3.C (checkInsetHit): adjust coords
773 * text2.C (getColumnNearX): adjust coords
774 (edit): adjust coords
775 * text.C (getRowNearY): add two asserts
777 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
780 * format.C: add using std::distance to compile on gcc 2.95/stlport
782 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
784 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
786 2004-02-04 André Pönitz <poenitz@gmx.net>
788 * BufferView.[Ch] (insertInset):
789 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
794 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
796 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
797 on the default clause of the switch
798 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
799 wasn't catched by LCursor::dispatch
801 2004-02-03 André Pönitz <poenitz@gmx.net>
804 * cursor.[Ch]: some additional asserts
806 * undo.[Ch]: remove LyXText dependency in interface
810 * lyxtext.h (firstPar, lastPar): remove dead functions
815 * paragraph.[Ch]: adjust
817 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
819 * lyxfind.C (find): fix argument order in call to ::find
821 2004-02-02 André Pönitz <poenitz@gmx.net>
823 * cursor.[Ch]: remove direct access to anchor
825 * text.C: remove findText() hack
827 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
829 * iterators.[Ch] (lockPath): remove in favour of...
830 * BufferView.[Ch] (setCursor): this addition
831 * BufferView.C (putSelectionAt): adjust
832 * undo.C (performUndoOrRedo): adjust
833 * lyxfunc.C (dispatch): adjust
835 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
837 * iterators.C (lockPath): add a missing slice
838 * undo.C (performUndoOrRedo): remove redundant positioning code
840 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
842 * vc-backend.C (scanMaster): ";" -> ';'
844 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
846 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
849 * lyxtextclass.C (compare_name): rename to...
850 (LayoutNamesEqual): ...this
852 * lyxlex_pimpl.C (compare_tags): inherit from
853 std::binary_function, put back into anon namespace
855 * lyxfind.C (MatchString): inherig from std::binary_function
856 (findChange): use empty() istead of !size()
858 * format.C (FormatNamesEqual): new functor
865 * converter.C (compare_Converter): rename to...
866 (ConverterEqual): ...this, and fixup a bit.
867 (getConverter): use it, and make function const
868 (getNumber): use it, and make function const
872 * bufferlist.C: add using boost::bind
874 * MenuBackend.C (MenuNamesEqual): new functor
875 (hasMenu): use it, and make function const
876 (hasSubmenu): use nested bind to get rid of compare_memfun.
878 2004-01-30 André Pönitz <poenitz@gmx.net>
880 * BufferView_pimpl.C:
891 * text3.C: move some of the edit(x,y) handling to the insets
892 some coordinate changes.
894 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
896 * text.C: add using statements for std::advance and std::distance
898 * paragraph.C: add using statement for std::distance
900 * lyxfind.C: add using statement for std::advance
902 * cursor.C (region): remove std:: from swap
903 (openable): use nucleus in stead of operator->
905 * BufferView.C: add using statements for std::distance and std::swap
907 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
909 * iterators.C: Remove the pimple, move the needed structures to
910 the header file. Create accessor for the positions stack.
911 (asPosIterator): remove function
913 * PosIterator.C (PosIterator): move constructors to top of file
914 (PosIterator): reimplement the constructor taking a ParIterator in
916 (setFrom): new function
917 (operator!=): inline it
919 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
921 * lyxfind.C (replaceAll): use std::advance
923 * iterators.h: inherit from std::iterator.
925 * PosIterator.C (advance, distance): remove
926 * PosIterator.h: interit from std::iterator.
928 2004-01-26 André Pönitz <poenitz@gmx.net>
931 * BufferView_pimpl.[Ch]:
935 * bufferview_funcs.C:
946 * output_plaintext.C:
948 * paragraph_funcs.[Ch]:
949 * paragraph_pimpl.[Ch]:
955 * text3.C: more IU: dumps most of the rest of the mathcursor
956 implementation into cursor.[Ch]; "globalize" a bit of it.
958 2004-01-25 Angus Leeming <leeming@lyx.org>
960 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
962 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
964 * LaTeXFeatures.h: add nice_ and nice() const
965 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
967 2004-01-20 André Pönitz <poenitz@gmx.net>
970 * BufferView_pimpl.C:
972 * bufferview_funcs.C:
985 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
986 LCursor and mathcursor parts to LCursor and InsetBase.
988 2004-01-15 André Pönitz <poenitz@gmx.net>
990 * cursor_slice.[Ch]: add a few covienience functions
992 * funcrequest.[Ch]: remove BufferView * member
994 * BufferView_pimpl.C:
1001 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1003 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
1005 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1006 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1008 2004-01-13 André Pönitz <poenitz@gmx.net>
1011 * lyxtext.h: hide cursor and selection anchor behind accessor function
1014 * BufferView_pimpl.[Ch]:
1016 * bufferview_funcs.C:
1026 * cursor_slice.[Ch]: some integer type changes for inset unification
1028 * lyxcursor.[hC]: remove, it's CursorSlice now.
1031 * BufferView_pimpl.[Ch]:
1032 * bufferview_funcs.C:
1038 * textcursor.[Ch]: adjust
1040 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
1042 * text2.C (undoSpan): add and use
1043 * text.C (breakParagraph): use undoSpan (fix bug 578)
1046 2004-01-08 Angus Leeming <leeming@lyx.org>
1048 * BufferView_pimpl.C (MenuInsertLyXFile):
1049 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1050 * lyxfunc.C (menuNew, open, doImport):
1051 FileFilterList change to the FileDialog open and save functions.
1053 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1055 * ShareContainer.h: make isEqual and isUnique adaptable
1057 * CutAndPaste.C: make resetOwnerAndChanges adaptable
1059 2004-01-07 Angus Leeming <leeming@lyx.org>
1062 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1064 * BufferView_pimpl.C (dispatch): act on these LFUNs.
1066 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1067 functions replacing find, replace and replaceAll.
1069 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1070 LFUN_WORDFIND(FORWARD|BACKWARD).
1072 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1074 * text.C (breakParagraph): remove an outdated #warning
1076 2004-01-07 André Pönitz <poenitz@gmx.net>
1078 * lyxfind.C: somewhat clearer logic
1080 * text.C: prevent crash in cursorX on unitialized row cache
1082 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1084 * lyxcursor.[Ch] (operator>): add
1085 * textcursor.C (selStart, selEnd): use std::min and std::max
1087 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1089 * Chktex.C: include boost/format.hpp
1091 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1093 * InsetList.C: replace functor MathcIt with adaptable functor
1095 (insetIterator): modify accordingly
1097 * BranchList.h: move the BranchNamesEqual functor here from...
1098 * BranchList.C: ... to here
1100 * BranchList.C: new BranchListEqual fuctor, use it. Remove
1102 (add): replace a finding loop with std::find_if.
1104 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
1106 * output_docbook.C: moving LatexParam functionality into
1109 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1111 * buffer.C: increment format to 229.
1113 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
1116 * lyx_sty.[Ch]: remove minipageindent_def
1122 * text3.C: remove LFUN_INSET_MINIPAGE
1124 2003-12-28 Angus Leeming <leeming@lyx.org>
1126 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1128 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
1130 * text2.C (setParagraph): fix off-by-one crash
1132 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
1134 * output_docbook.C: header stuff for AGU
1136 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
1138 * text2.C (redoCursor): remove
1141 * BufferView_pimpl.C: remove calls to redoCursor and
1142 setCursor(cursor.par(), cursor.pos()) all around
1144 2003-12-15 Angus Leeming <leeming@lyx.org>
1146 * buffer.C: up the format to 228.
1148 2003-12-15 André Pönitz <poenitz@gmx.net>
1150 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1155 * BufferView_pimpl.C:
1164 2003-12-15 Angus Leeming <leeming@lyx.org>
1166 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1167 than getFromGUIName to manipulate the color.
1169 2003-12-14 Angus Leeming <leeming@lyx.org>
1171 * BranchList.[Ch]: minimize the API.
1172 (Branch::getBranch, getColor): now return a 'const &'.
1173 (Branch::setSelected) now returns a bool set to true if the
1174 selection status changes.
1175 (BranchList::clear, size, getColor, setColor, setSelected,
1176 allBranches, allSelected, separator): removed.
1177 (BranchList::find): new functions, returning the Branch with
1179 (BranchList::add, remove): return a bool indicating that
1180 the operation was successful.
1182 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1183 new InsetBranch::isBranchSlected member function.
1185 * LColor.[Ch]: mimimize the API.
1186 (fill): renamed as addColor and made private.
1187 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1188 versions of these functions taking a string arg have been removed.
1190 * bufferparams.C (readToken):
1191 * lyxfunc.C (dispatch):
1192 * lyxrc.C (read): changes due to the altered BranchList and
1195 * factory.C (createInset, readInset): changes due to altered
1198 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1201 * lyxfunc.C: remove insetminipage. "minipage-insert"
1202 now produces a frameless minipage box inset.
1204 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1206 * textcursor.[Ch] (selStart,selEnd): add new methods
1207 remove selection::start, end, use LyXCursor::operator<
1208 * lyxcursor.[Ch] (operator<): add
1209 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1210 * BufferView.[Ch] (unsetXSel): add
1211 * text2.C (clearSelection): use unsetXSel,adjust
1214 * rowpainter.C: adjust
1215 * bufferview_funcs.C (put_selection_at): adjust
1217 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1219 * BufferView_pimpl.C: small coord. correction
1221 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1223 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1224 dragging over the splash screen.
1226 2003-12-11 Angus Leeming <leeming@lyx.org>
1228 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1229 as it is now handled in LyXText::dispatch.
1231 * text3.C (doInsertInset): remove a level of nesting.
1233 2003-12-11 Angus Leeming <leeming@lyx.org>
1235 * factory.C (createInset): changes due to the changed interface to
1236 InsetCommandMailer::string2params.
1238 2003-12-10 Angus Leeming <leeming@lyx.org>
1240 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1241 'dialog-show-new-inset <inset name>'
1243 2003-12-10 Angus Leeming <leeming@lyx.org>
1245 * buffer.C: up the format to 227.
1247 * factory.C: the box inset is now identified simply by 'Box'.
1249 2003-12-10 Angus Leeming <leeming@lyx.org>
1251 * buffer.C: up the format to 226.
1253 * factory.C: the note inset is now identified simply by 'Note'.
1255 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
1257 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1258 when a pit is enough. Standarize a couple of loops.
1260 2003-12-05 Angus Leeming <leeming@lyx.org>
1262 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1263 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1264 data to the re-worked "log" dialog.
1266 2003-12-03 André Pönitz <poenitz@gmx.net>
1272 * paragraph_funcs.C:
1274 * text2.C: use Inset::getText instead of Inset::getParagraph
1276 2003-12-03 André Pönitz <poenitz@gmx.net>
1280 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1281 InsetText::read() as LyXText::read()
1283 2003-12-02 Angus Leeming <leeming@lyx.org>
1285 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1286 type. Add a comment in the implementation that the function uses
1287 the stream's bad() function rather than fail() as the std::streams
1290 2003-12-02 André Pönitz <poenitz@gmx.net>
1292 * lyxlex.[Ch]: make interface more similar to std::stream
1294 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1296 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1298 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1300 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1302 * vspace.[Ch]: remove VSpace::NONE
1304 2003-12-01 André Pönitz <poenitz@gmx.net>
1307 * lyxtext.h: move ParagraphList member to LyXText
1308 rename LyXText::ownerParagraphs to LyXText::paragraph
1311 * bufferview_funcs.C:
1321 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1323 * undo.C: fix cursor positioning
1325 2003-12-01 John Levon <levon@movementarian.org>
1327 * BufferView_pimpl.C: fix a crash on exit with
1330 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
1332 * BranchList.C: fix setSelected() method.
1334 2003-11-28 André Pönitz <poenitz@gmx.net>
1336 * ParagraphParameters.[Ch]:
1337 * ParameterStruct.h: remove space above/below from Paragraph to
1340 * BufferView_pimpl.C:
1346 * paragraph_funcs.C:
1352 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1354 * factory.C: Syntax change for CharStyles
1356 2003-11-28 André Pönitz <poenitz@gmx.net>
1361 * buffer.[Ch]: move LyXText member
1363 2003-11-28 André Pönitz <poenitz@gmx.net>
1365 * BufferView.[Ch]: make LyXText * text a private member
1367 * BufferView_pimpl.C:
1378 * output_plaintext.C: cleanup
1380 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1383 * lyxtextclass.[Ch]: parametrize SGML document header
1385 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1388 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1391 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1393 * text2.C (setFont): rework using PosIterator (no more recursive)
1394 (setCharFont): no more needed
1395 (setLayout): no more selection cursors fiddling (done by redoCursor)
1396 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1397 destroy remaining ones)
1399 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
1401 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1403 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1406 * text3.C: adjust + re-allow multi par depth changes
1407 * textcursor.C: simplify a bit
1409 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
1415 * src/output_docbook.C:
1416 * src/output_latex.C:
1421 * src/text2.C: Introducing a number of tags parametrizing various
1422 XML formats that we may want to support
1424 2003-11-25 André Pönitz <poenitz@gmx.net>
1426 * InsetList.[Ch] (begein, end): inline as suggested by profiler
1428 * lyxtext.h (leftMargin/rightMargin): simplify interface
1435 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1437 * lyxfunc.C (dispatch): propogate the bibtex databases from the
1438 master file to any child files. Fixes bug 546.
1440 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1442 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1444 2003-11-24 André Pönitz <poenitz@gmx.net>
1446 * rowpainter.C: simplification
1448 * text2.C (updateCounters): remove call to redoParagraph on
1449 changed labels as this is far too expensive.
1451 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1453 * converter.C (convert): fix a crash: this function gets
1454 called with buffer == 0 from importer code.
1456 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1458 * text3.C (cursorPrevious): make sure that we do not compare
1459 iterators form different containers.
1462 * rowpainter.C (paintSelection): make sure that we do not compare
1463 iterators from different containers.
1465 * text3.C (dispatch): [PRIOR] make sure that we do not compare
1466 iterators from different ParagraphList containers.
1469 * text2.C (LyXText): change order of initialization slightly
1470 (operator=): new function. copy all variables except cache_par_
1471 (moveUp): make sure that we do not compare iterators from
1472 different ParagraphList constainers.
1475 * text.C (firstPar): new function
1476 (lastPar): new function
1477 (endPar): new function
1479 * lyxtext.h: move things around and group public functions, public
1480 variables, private functions, private variables
1482 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1484 * factory.C: change call to InsetERT constructor to avoid
1485 additional invocation of method status
1486 * text2.C (toggleInset): remove redundant update() call
1487 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1488 instead of a Bufferview pointer
1490 2003-11-21 André Pönitz <poenitz@gmx.net>
1492 * rowpainter.C: simplification
1494 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1496 * text3.C (dispatch): make possible to extend a word/row selection
1499 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1501 * lyxtext.h: x0_,y0_ -> xo_,yo_
1502 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1503 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1504 * rowpainter.C (paintRows): paint full paragraphs
1506 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1508 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1511 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1513 * lyxtext.h: add x0_, y0_
1514 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1515 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1517 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
1519 * text2.C (setCursorIntern): move the x_target update here *
1520 * text3.C: change some bv() to true/false in calls to
1521 cursorUp/Down/Right/Left
1522 * cursor.C: use helper function.
1524 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1526 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1527 * paragraph_funcs.[Ch]: correct comment
1528 * rowpainter.C: do not paint selections away from bv->cursor()
1529 Fix a long standing selection painting bug.
1530 * text3.C: generalize mouse-selection code to LyXTexts other that
1532 * textcursor.C: do not use y coords if we can use par offsets
1534 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1536 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1537 cursor position after e.g. inset insert)
1539 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
1541 * lyxfind.C (replace): adjust to locking removal + some
1544 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
1546 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1549 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
1552 * output_docbook.C: XML sanitation: new layout
1553 parameters InnerTag and CommandDepth
1555 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
1557 * BufferView_pimpl.C:
1559 * text3.C: Fix the insertion and modification of button-style
1562 2003-11-13 André Pönitz <poenitz@gmx.net>
1564 * InsetList.[Ch]: remove deleteLyXText
1566 * paragraph.[Ch]: cache beginOfBody position
1571 * text3.C: remove superfluous update() calls
1575 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1577 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1578 * BufferView.C (fitLockedInsetCursor): remove
1579 * cursor.[Ch] (getDim): add
1580 * text.C (getRowNearY): add faster version
1581 * text3.C: remove some update calls
1583 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1595 * text3.C: The Character Style /XML short element patch.
1597 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
1600 * factory.C: Small step to solving 'unable to insert some insets'
1603 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1605 * cursor.[Ch] (updatePos): new function for updating the y
1606 position of the tip inset
1607 * bufferview_funcs.C (put_selection_at):
1608 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1610 2003-11-11 André Pönitz <poenitz@gmx.net>
1612 * text.C: remove big comment on invalid Paragraph pointers as it is
1615 2003-11-11 André Pönitz <poenitz@gmx.net>
1617 * text_funcs.[Ch]: merge with ...
1625 * Makefile.am: remove text_funcs.[Ch]
1627 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1629 * cursor.C (getPos): return absolute cached y coord
1631 * BufferView_pimpl.C (fitCursor): new simplistic code
1632 (workAreaDispatch): add a fitCursor call
1634 2003-11-10 André Pönitz <poenitz@gmx.net>
1637 * BufferView_pimpl.[Ch]: merge update() and updateInset()
1639 2003-11-10 André Pönitz <poenitz@gmx.net>
1641 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1642 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1643 indicate that the cursor needs to leave an inset
1645 * lyxtext.h: remove inset locking
1647 * cursor.[Ch]: re-implement functionality provided by inset locking
1650 * BufferView_pimpl.[Ch]:
1652 * bufferview_funcs.[Ch]:
1664 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1666 * PosIterator.[Ch]: replace the stack with a vector, add inset
1668 * iterators.[C]: adjust
1670 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1672 * lyxfind.C (replaceAll): mark the buffer dirty if something was
1674 * paragraph_funcs.C (readParToken): put the correct id in the
1675 error item, not the id of the top paragraph
1677 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1679 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1680 * bufferview_funcs.C (put_selection_at): use the above
1682 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1684 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1686 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1688 * output_linuxdoc.h:
1689 * output_plaintext.h:
1691 * output_docbook.h: add #include statements
1693 2003-11-05 José Matos <jamatos@lyx.org>
1695 * output_docbook.[Ch]:
1696 * output_latex.[Ch]:
1697 * output_linuxdoc.[Ch]:
1698 * output_plaintext.[Ch]: New files for output formats.
1699 * output.[Ch]: New file for helper functions.
1702 * paragraph_funcs.[Ch]: output functions moved to new files.
1704 * outputparams.h: rename of latexrunparams.h
1712 * paragraph_funcs.[Ch]:
1713 * paragraph_pimpl.[Ch]:
1714 * tabular.[Ch]: rename ascii to plaintext
1715 and LatexRunParams to OutputParams.
1717 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1719 * iterators.[Ch] (text): require bv argument
1720 * undo.C (recordUndo):
1721 * lyxfunc.C (dispatch):
1722 * bufferview_funcs.C (put_selection_at): adjust
1724 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
1726 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1728 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1730 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1733 2003-11-04 André Pönitz <poenitz@gmx.net>
1735 * cursor.[Ch]: restructure
1738 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1740 * iterators.[Ch] (asCursor): remove
1742 * lfuns.h: remove LFUN_INSET_EDIT
1748 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1750 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1752 * lyxfind.[Ch]: complete overhaul
1753 * BufferView_pimpl.C:
1755 * paragraph.[Ch] (insert): add
1757 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1761 * text.C: remove dead spellcheck code
1763 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1765 * dispatchresult.h: add a val setter
1767 * cursor.C (dispatch): use a tempvar for data_[i]
1769 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1771 * PosIterator.[Ch]: compile fix
1773 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1775 * text.C (cursorPar): deactivate the cursor cache
1777 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1779 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1781 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1783 * text3.C (dispatch): adjust for new DisptchResult semantics.
1785 * lyxfunc.C (dispatch): handle update when return from
1786 Cursor::dispatch, adjust for new DispatchResult semantics.
1788 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1789 DispatchResult(true) mean to not update. Add class functions for
1790 setting dispatched and update, as well as reading.
1792 * cursor.C (dispatch): don't handle update here
1794 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1796 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1797 * trans_mgr.C: adjust
1799 * paragraph_funcs.C (readParToken): exception safety
1801 * lyxvc.h: store the vcs pointer in a scoped_ptr
1804 * lyxsocket.C (serverCallback): exception safety
1806 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1808 * ispell.C (clone): make it return a auto_ptr
1810 * factory.C (createInset): exception safety
1811 (readInset): exception safety
1813 * bufferlist.C (newBuffer): exception safety
1815 * Thesaurus.C (Thesaurus): use initialization for aik_
1817 * MenuBackend.C (expandToc): exception safety.
1819 2003-11-03 André Pönitz <poenitz@gmx.net>
1823 * bufferview_funcs.C: remove getInsetFromId()
1826 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1832 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1834 * PosIterator.C (distance, advance): new
1835 * bufferview_funcs.[Ch] (put_selection_at): new
1836 * iterators.[Ch] (lockPath): new
1838 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
1840 * iterators.[Ch] (asPosIterator): added
1841 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1842 * PosIterator.[Ch]: added
1844 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1848 * cursor.C (dispatch):
1849 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1851 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1852 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1853 contructor, add a class function dispatched. Remove operator>=
1855 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1857 * debug.C: only use the default constructor for debugstream
1860 * main.C (main): include debug.h and setup the lyxerr streambuf
1863 2003-10-31 José Matos <jamatos@lyx.org>
1865 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1867 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1868 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1869 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1870 * paragraph_pimpl.C (simpleTeXSpecialC):
1871 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1872 add LatexRunParams argument.
1874 * exporter.C (Export): change call accordingly.
1876 * latexrunparams.h: add new member to take care of the other backends.
1877 2003-10-30 José Matos <jamatos@lyx.org>
1879 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1880 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1881 factorise code for paragraph output.
1883 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1886 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1888 * text3.C (dispatch):
1889 * lyxfunc.C (dispatch):
1890 * cursor.C (dispatch):
1891 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1893 * dispatchresult.h: make the dispatch_result_t ctor explicit
1895 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1898 * buffer.C: small refactoring of docbook stuff
1900 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1902 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1905 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1907 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1908 operator dispatch_result_t, and operators for == != and >=
1910 * cursor.C (dispatch): adjust for operator dispatch_result_t
1911 removal. comment out call to update
1913 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1915 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1923 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1926 * dispatchresult.h: new file, DispatchResult broken out of
1929 * Makefile.am (lyx_SOURCES): add dispatchresult.h
1931 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1933 * text.C (rowBreakPoint): put a hack inside #if 0
1935 2003-10-28 André Pönitz <poenitz@gmx.net>
1939 * paragraph_funcs.C:
1942 * text2.C: general cleanup (lots of small stuff)
1944 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1946 * text2.C (cursorEnd): simple fix to the "end key goes to one
1947 before the end on last row" bug
1949 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1951 * text.C (backspace): fix the "zombie characters"
1953 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1955 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1957 2003-10-27 André Pönitz <poenitz@gmx.net>
1959 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1961 * factory.C: handle new InsetPagebreak, InsetLine
1963 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1964 and move handling into new InsetPagebreak, InsetLine
1966 * BufferView_pimpl.C:
1968 * ParagraphParameters.C:
1969 * ParameterStruct.h:
1974 * paragraph_funcs.C:
1975 * paragraph_pimpl.C:
1981 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1984 * lyxrow_funcs.[Ch]:
1990 * text3.C: remove lastPos uses in favour of Row::endpos
1992 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1994 * undo.C (performUndoOrRedo): fix two crashes by setting a
1995 cursor by hand and reordering some calls. Use bv->lockInset instead
1996 of inset->edit because the latter loses cursor information
1998 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
2000 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2002 (rowBreakPoint): fix width. change point to point + 1.
2003 Add a missing check.
2005 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
2008 * lyxfunc.C: fix (at least partly) the problems
2009 with the Nav menu and headers inside branch insets
2012 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
2014 * paragraph.C (getChar): add strong asserts
2016 * lyxrow_funcs.C (lastPos): remove hideous hack
2018 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2019 (fill): adjust to that (avoid an infinite loop)
2021 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2023 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2025 2003-10-23 André Pönitz <poenitz@gmx.net>
2027 * RowList_fwd.h: change list<> to vector<> to gain speed
2028 after suggestion from Alfredo
2030 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2032 * lyxtext.h: move the bidi stuff from here...
2035 * Bidi.[Ch]: ... to here
2037 2003-10-23 André Pönitz <poenitz@gmx.net>
2040 * text.C (isLastRow, isFirstRow): new functions
2042 * paragraph.h: new width cache member
2044 * rowpainter.C: replace RowList::iterator with Row & where possible
2046 * lyxfunc.C: replace several view()->text with a single call
2048 * toc.C: fix 'unused' warning
2050 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2052 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2053 when woring with stream::pos_type
2054 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2056 2003-10-22 André Pönitz <poenitz@gmx.net>
2059 * text.C: use Row & instead of RowList::iterator
2061 * lyxrow.h: rename end() to endpos()
2067 2003-10-22 Angus Leeming <leeming@lyx.org>
2069 * buffer.[Ch] (fully_loaded): new member function, returning true
2070 only when the file has been loaded fully.
2071 Used to prevent the premature generation of previews and by the
2072 citation inset to prevent computation of the natbib-style label.
2074 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2075 templates are all set up.
2077 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2079 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
2081 * text.C: fixed an "oops" in the "is a bit silly"
2084 2003-10-21 André Pönitz <poenitz@gmx.net>
2086 * FuncStatus.[Ch]: small stuff, whitespace
2088 * lyxfont.[Ch]: operator<<() for debug reasons
2092 * lyxtext.h: whitespace, spelling
2094 * paragraph.C: naming of variables
2097 * text2.C: small stuff
2100 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
2102 * text.C: (1) finish off the inset display() work;
2103 (2) fix the "is a bit silly" bug (accessing char
2106 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
2108 * text.C: re-introduce display() for insets, fixing the
2109 various bugs (stretch of line above, math inset
2112 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2114 * text.C (rightMargin): remove spurious semicolon
2116 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2119 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
2121 * text3.C: fix one crash due to wrong cursor def
2123 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2125 * vc-backend.C (scanMaster): make the regex static
2127 * LaTeX.C (scanAuxFile): make the regexs static
2129 * text3.C (doInsertInset, dispatch, dispatch):
2130 * text2.C (cursorUp, cursorDown):
2131 * text.C (selectNextWordToSpellcheck):
2132 * BufferView_pimpl.C (dispatch):
2133 * lyxfunc.C (dispatch): localDispatch -> dispatch
2135 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2137 * lyxsocket.C: include <cerrno>
2139 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2141 * lyxfunc.C (dispatch): remove textcache stuff
2143 * bufferlist.C (release): remove textcache stuff
2146 * TextCache.C: delete file
2147 * TextCache.h: delete file
2149 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2151 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2152 delete of the bv_->text.
2153 (resizeCurrentBuffer): remove texcache stuff
2154 (workAreaResize): ditto
2156 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2158 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2161 2003-10-16 André Pönitz <poenitz@gmx.net>
2168 * text3.C: speed up by storing y positions per paragraph plus per-row
2169 offset instead of having a 'full' y position in the row.
2171 2003-10-15 André Pönitz <poenitz@gmx.net>
2175 * undo.[Ch]: make undo aware of inner insets
2177 2003-10-14 Angus Leeming <leeming@lyx.org>
2179 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2180 static member functions LyX::ref() and LyX::cref.
2181 (lastfiles): new accessor functions for the new lastfiles_ member var.
2182 (addLyXView, views_): add a new LyXView to the list of views_.
2183 (updateInset): loop over all LyXViews to call their own updateInset
2184 member function, returning a pointer to the Buffer owning the inset.
2186 * BufferView_pimpl.C (loadLyXFile):
2187 * MenuBackend.C (expandLastfiles):
2188 * bufferlist.C (MenuWrite, QuitLyX):
2189 lastfiles is no longer a global variable.
2190 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2192 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2193 static function. Access through LyX::cref().emergencyCleanup().
2195 2003-10-14 André Pönitz <poenitz@gmx.net>
2197 * iterators.[Ch]: new direct access to innermost LyXText and Inset
2199 * undo.[Ch]: restoring part of 'undo in insets'
2202 * undo_funcs.[Ch]: merge with undo.[Ch]
2204 * tabular.C: small cleansing stuff
2206 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
2208 * paragraph_funcs.C (readParToken): report unknown insets as error
2209 boxes. Use the outer paragraph as location (also for unknown
2212 * factory.C (readInset): do not abort on reading an unknown inset.
2213 Eat it and return 0.
2215 2003-10-13 Angus Leeming <leeming@lyx.org>
2217 * lyx_main.C (LyX): remove call to setDisplayTranslator().
2219 * lyxrc.C: displayTranslator is now a function,
2220 declared in GraphicsTypes.h.
2222 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2224 * format.C: new placeholder $$a to pass the socket address.
2226 * bufferlist.[Ch]: new function getBufferFromTmp.
2228 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2229 files in the temporary dir.
2231 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2233 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2235 * Makefile.am: add lyxsocket.[Ch].
2237 * lyx_main.C (error_handler): handle SIGPIPE.
2239 2003-10-13 André Pönitz <poenitz@gmx.net>
2241 * BufferView_pimpl.C:
2246 * undo_funcs.[Ch]: use paroffset_type instead of
2247 ParagraphList::iterators to prevent multiple conversion
2248 (and get a more robust interface)
2250 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2252 * lyxfunc.C (dispatch): RESULT -> dispatch_result
2254 * text3.C (dispatch): ditto
2256 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2258 * LaTeX.C (handleFoundFile): move the static to smaller scope,
2259 move the onlyfile, use onlyfile instead of foundfile in a couple
2262 * DepTable.C (update): flush the error stream a bit more
2264 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2266 * lyxserver.C (callback): adjust
2268 * lyxfunc.C (getStatus): add a missing brace in commented code
2269 (ensureBufferClean): reindent
2270 (dispatch): delete version taking a string
2272 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2274 * LaTeX.C (deplog): move found file handlig from here...
2275 (handleFoundFile): .. to new function here.
2276 (deplog): make sure to discover several files mentioned on the
2279 2003-10-10 André Pönitz <poenitz@gmx.net>
2286 * text3.C: fix some of the tabular crashes
2288 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2290 * MenuBackend.C (binding): put debug message into Debug::KBMAP
2292 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2294 2003-10-09 André Pönitz <poenitz@gmx.net>
2296 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2299 * BufferView_pimpl.C:
2300 * bufferview_funcs.C:
2311 * undo_funcs.C: adjust
2313 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2315 * text2.C (incrementItemDepth): new function, use a backtracking
2316 algorithm to discover the correct item depth.
2317 (resetEnumCounterIfNeeded): new function, use a backtracking
2318 algorithm to discover if counter reset is needed.
2319 (setCounter): use them. Simplify a bit. Add different labels for
2320 different item depths for itemize.
2322 * paragraph.C (Paragraph): remove initialization of enumdepth
2325 * paragraph.h: get rid of enumdepth, and use itemdepth both for
2326 enumerate and itemize. Change the type of itemdepth to signed char.
2328 2003-10-08 André Pönitz <poenitz@gmx.net>
2330 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2335 * tabular.[Ch]: fix crash after 'row-insert'
2337 2003-10-08 Angus Leeming <leeming@lyx.org>
2339 Fix doxygen warnings.
2341 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2342 Remove CutAndPaste:: prefix from header file declaration.
2344 * LColor.h (fill): remove LColor:: prefix from declaration.
2346 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2347 use lyx::depth_type rather than Paragraph::depth_type so that
2348 header file and .C file match.
2350 * converter.h (intToFormat): remove Converters:: prefix from declaration.
2352 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2353 * aspell.C: \file aspell_local.C -> \file aspell.C
2354 * gettext.C: \file gettext.C -> \file src/gettext.C
2355 * gettext.h: \file gettext.h -> \file src/gettext.h
2356 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2357 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2358 * text.C: \file text.C -> \file src/text.C
2360 * toc.C: move comment so that doxygen is not confused.
2362 2003-10-07 Angus Leeming <leeming@lyx.org>
2364 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2366 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2369 * aspell_local.h: add forgotten std::string's.
2371 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2378 * text3.C: The Box patch. Fancybox support, minipage, parbox
2380 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2386 * ParagraphParameters.h:
2396 * lyxtextclasslist.h:
2399 * paragraph_pimpl.C:
2400 * textcursor.h: add <string> and other small fixes to make Lars'
2401 std::string patch compile with STLport.
2403 2003-10-06 Angus Leeming <leeming@lyx.org>
2405 * LColor.h: Add missing #include <string>.
2407 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2409 * All most all file in all subdirs: Make <string> be the prefered
2410 way of getting to std::string, add using declarations.
2412 2003-10-06 André Pönitz <poenitz@gmx.net>
2414 * metricsinfo.C: initialize LyXFont before changing attribute.
2415 (fixes the 'math in \emph is upright' bug)
2417 2003-10-06 André Pönitz <poenitz@gmx.net>
2419 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2421 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
2424 * paragraph_pimpl.C: Small fixes to build using STLport
2426 2003-10-02 André Pönitz <poenitz@gmx.net>
2429 * text3.C: move handling of LFUN_DEPTH *; fix #1360
2431 2003-10-01 André Pönitz <poenitz@gmx.net>
2433 * factory.C: assert early
2435 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2437 * lyx_main.C: remove the global debug object
2439 * debug.h: adjust for new debugstream
2441 * debug.C: adjust for new debugstream and keep the global debug
2444 2003-09-22 Angus Leeming <leeming@lyx.org>
2446 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2447 of g++ which otherwise complain that the scoped_ptr destructor can't delete
2448 an incomplete class LyXFont.
2450 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2452 * factory.C: bug fix in branches
2454 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2456 * lyxfunc.C (processKeySym): adjust
2458 (dispatch): change arg name from ev to func, adjust
2459 (sendDispatchMessage): ditto
2461 * lyx_main.C (defaultKeyBindings): adjust keybindings
2462 (deadKeyBindings): ditto
2464 * kbsequence.C (addkey): return a FuncRequest
2466 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2468 * kbmap.C (bind): take a FuncRequest as arg, adjust
2471 (defkey): change to take a FuncRequest as arg, adjust
2472 (findbinding): take a FuncRequest as arg, adjust.
2474 * funcrequest.h (operator=): added
2476 * funcrequest.C (FuncRequest): default kb_action changed from
2477 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2479 * buffer.C (dispatch): simplify
2480 (dispatch): adjust to take a FuncRequest as arg, adjust
2482 * boost.C (assertion_failed): change assertion message slightly
2484 * ToolbarBackend.C (read): simplify
2486 * MenuBackend.C (binding): adjust call to findbinding, add a
2487 message if no binding is found.
2489 (expandToc): correct by adding a empty FuncRequest
2491 * LyXAction.C: include <boost/assert.hpp>
2492 (isPseudoAction): delete function
2493 (LookupFunc): change name to...
2494 (lookupFunc): this. change return type to FuncRequest.
2495 (getActionName): take kb_action as arg, simplify
2496 (funcHasFlag): add an assert, simplify.
2498 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2500 * toc.C (action): return a FuncRequest, simplify
2502 * lyxfunc.C (processKeySym): adjust
2503 (getStatus): delete version that takes an int.
2505 (dispatch): delete version that takes action as int
2507 (sendDispatchMessage): simplify and adjust
2509 * funcrequest.C (getArg): take unsigned int as arg
2511 * ToolbarBackend.C (read): adjust
2512 (add): delete version that takes func as a string.
2513 (getIton): take a FuncRequest as arg
2515 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2518 * MenuBackend.C (MenuItem): add a new construct that only takes a
2519 Kind, simplify the constructor use for submenus.
2521 (expandLastfiles): adjust
2522 (expandDocuments): adjust
2523 (expandFormats): adjust
2524 (expandFloatListInsert): adjust
2525 (expandFloatInsert): adjust
2526 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2528 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2529 Remove class variables lyx_pseudo_map and lyx_arg_map
2531 * LyXAction.C (searchActionArg): delete function
2532 (getPseudoAction): delete function
2533 (retrieveActionArg): delete function
2534 (LookupFunc): make it return kb_action, simplify.
2535 (getActionName): simplify
2537 * factory.C (createInset): fix new bug
2539 2003-09-19 Angus Leeming <leeming@lyx.org>
2541 * CutAndPaste.C (pasteSelection): remove fudge used to set the
2542 masterFilename_ parameter in the include inset.
2544 * factory.C (createInset): changes due to the changes to InsetInclude.
2546 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2548 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2550 2003-09-18 Angus Leeming <leeming@lyx.org>
2553 * BufferView.C: pass the buffer when calling Inset::getLabelList,
2554 Inset::fillWithBibKeys.
2555 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2557 2003-09-18 Angus Leeming <leeming@lyx.org>
2559 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2561 (ctor): pass and store a 'Buffer const &'
2562 (buffer): new member function.
2564 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2565 '*this' to the LaTeXFeatures ctor.
2567 2003-09-18 Angus Leeming <leeming@lyx.org>
2573 * text.C: rename EnumLColor as LColor_color.
2575 2003-09-18 Angus Leeming <leeming@lyx.org>
2577 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2578 remove #include "insets/insetbase.h" from cursor.h.
2580 2003-09-18 Angus Leeming <leeming@lyx.org>
2582 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2583 InsetOld_code to remove #include "inset.h".
2585 * iterators.C: add #include "insets/inset.h"
2587 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
2589 * BufferView.C: remove more locking stuff that apparently doesn't
2590 do anything sensible.
2592 2003-09-16 André Pönitz <poenitz@gmx.net>
2595 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2598 2003-09-16 Angus Leeming <leeming@lyx.org>
2600 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2602 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2605 * paragraph.h: remove #include "lyxfont.h". Forward declare
2608 2003-09-16 Angus Leeming <leeming@lyx.org>
2610 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2611 of support/textutils.h.
2612 (isWord): move the contents of support/textutils.h's IsWordChar here.
2618 * text2.C: add #include "paragraph.h".
2621 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2623 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2629 * LaTeX.C: use namespace alias for lyx::support::os
2631 2003-09-16 Angus Leeming <leeming@lyx.org>
2634 * bufferview_funcs.C:
2637 * paragraph_pimpl.C:
2639 * text.C: add #include "LColor.h".
2641 2003-09-16 Angus Leeming <leeming@lyx.org>
2643 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2644 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2646 Store the FontBits::color variable as an int rather than as an
2647 LColor::colorso that we can move LColor.h out of the lyxfont.h header
2650 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2651 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2652 string calls together.
2654 * lyxrc.C: add #include "LColor.h".
2656 2003-09-15 Angus Leeming <leeming@lyx.org>
2658 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2661 2003-09-15 Angus Leeming <leeming@lyx.org>
2663 * LColor.h: add an EnumLColor wrapper for LColor::color.
2665 * lyxfont.[Ch] (color, setColor, realColor):
2666 * lyxtext.h, text.C (backgroundColor):
2667 pass EnumLColor args to/from the functions, rather than LColor::color
2671 * lyxtext.h: forward declare EnumLColor.
2673 * lyx_main.C: add #include "LColor.h".
2675 2003-09-15 Angus Leeming <leeming@lyx.org>
2677 * .cvsignore: add lyx-gtk.
2679 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2684 * ParagraphParameters.C
2688 * bufferview_funcs.C
2698 * vc-backend.C: remove usage of STRCONV
2700 2003-09-15 Angus Leeming <leeming@lyx.org>
2702 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2703 explicitly define the color passed to the painter.
2705 2003-09-15 Angus Leeming <leeming@lyx.org>
2707 * bufferparams.C (BufferParams): reorder member initializers to avoid
2710 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
2712 * CutAndPaste.C (pasteSelection): remove an outdated #warning
2713 * text.C (updateRowPositions): remove an unusual nop
2715 2003-09-12 André Pönitz <poenitz@gmx.net>
2717 * BufferView_pimpl.C:
2726 * Counters.[Ch]: finish the 'automatic counters' job
2728 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2730 * aspell.C: include <boost/assert.cpp> (compile fix)
2732 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
2734 * boost.C (assertion_failed): use lyx::support::abort instead of
2737 2003-09-10 Angus Leeming <leeming@lyx.org>
2739 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2740 with their _fwd progeny.
2742 2003-09-09 Angus Leeming <leeming@lyx.org>
2744 134 files throughtout the source tree: replace 'using namespace abc;'
2745 directives with the appropriate 'using abc::xyz;' declarations.
2747 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2749 * boost.C (emergencyCleanup): moved here from LAssert.c
2750 (assertion_failed): new function, called by BOOST_ASSERT
2752 * several files: change Assert to BOOST_ASSERT
2754 2003-09-09 Angus Leeming <leeming@lyx.org>
2756 * buffer.[Ch]: Add an Impl class and move Buffer's member
2757 variables into it. As a result move several header files out of
2760 Add header files to lots of .C files all over the tree as a result.
2762 2003-09-09 Angus Leeming <leeming@lyx.org>
2764 * buffer.[Ch]: make Buffer's member variables private. Add
2767 Lots of changes all over the tree as a result.
2769 2003-09-08 Angus Leeming <leeming@lyx.org>
2771 * graph.C: #include <config.h>.
2773 2003-09-08 Angus Leeming <leeming@lyx.org>
2777 * BufferView_pimpl.C:
2806 * toc.C: remove redundant using directives.
2808 2003-09-07 Angus Leeming <leeming@lyx.org>
2810 * LaTeXFeatures.h: remove #include "support/types.h".
2811 * ToolbarBackend.h: remove #include <algorithm>.
2812 * changes.h: remove #include <ctime>.
2813 * debug.h: remove #include <iosfwd>.
2814 * graph.h: remove #include "support/std_string.h".
2815 * lyx_main.h: remove #include <csignal>.
2816 * lyxlex_pimpl.h: remove #include <fstream>.
2817 * sgml.h: remove #include <algorithm>, <utility>.
2818 * toc.h: remove #include "support/std_ostream.h".
2819 Add #include <iosfwd>.
2821 2003-09-07 Angus Leeming <leeming@lyx.org>
2823 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2825 * converter.h: forward declare LatexRunParams.
2826 * encoding.h: remove #include "lyxrc.h".
2827 * lyxtext.h: remove #include "LColor.h".
2828 * lyxtextclass.h: remove #include "support/types.h".
2829 * trans.h: remove #include "tex-accent.h".
2830 * trans_mgr.h: remove #include "tex-accent.h".
2831 * insets/inset.h: remove #include "support/types.h", <vector>.
2832 * insets/insetcollapsable.h: remove #include "LColor.h".
2833 * insets/insetinclude.h: remove #include "dimension.h".
2834 * insets/insetlatexaccent.h: remove #include "dimension.h".
2835 * insets/insetoptarg.h:: remove #include "insettext.h".
2836 * insets/insettext.h: remove #include "dimension.h",
2837 <boost/shared_ptr.hpp>
2839 * insets/renderers.h: add #include "dimension.h".
2840 * insets/updatableinset.h: add #include "support/types.h".
2842 * many .C files: Associated changes.
2844 2003-09-06 Angus Leeming <leeming@lyx.org>
2846 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2847 one, inside testInvariant.
2849 * PrinterParams.C: new file.
2850 * PrinterParams.[Ch]: move the function bodies out of line.
2852 2003-09-06 Angus Leeming <leeming@lyx.org>
2854 * ParagraphParameters.h: forward declare ParameterStruct rather than
2855 including its header file.
2856 (depth): moved out-of-line.
2858 2003-09-06 Angus Leeming <leeming@lyx.org>
2860 * BufferView_pimpl.h:
2863 * lyxfunc.h: forward declare LyXKeySym rather than
2864 #include "frontends/LyXKeySym.h".
2866 * BufferView_pimpl.C:
2869 * lyxfunc.C: associated changes.
2871 2003-09-06 Angus Leeming <leeming@lyx.org>
2873 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2874 As a result, can remove the #include "insets/inset.h" from BufferView.h
2876 2003-09-06 Angus Leeming <leeming@lyx.org>
2878 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2879 As a result, can remove the #include "insets/inset.h" from BufferView.h
2881 2003-09-06 Angus Leeming <leeming@lyx.org>
2887 * bufferview_funcs.C:
2888 * BufferView_pimpl.C:
2893 * ParagraphParameters.C:
2898 * frontends/controllers/ControlDocument.C:
2899 * insets/insetcaption.C: rearrange the #includes into some sort of
2902 * buffer.h: remove #includes ErrorList.h, undo.h
2904 2003-09-06 Angus Leeming <leeming@lyx.org>
2906 * support/types.h: add a 'depth_type' typedef, used to store the
2907 nesting depth of a paragraph.
2910 * ParameterStruct.h: use this lyx::depth_type typedef rather than
2911 defining explicitly.
2914 * paragraph_funcs.h:
2915 * ParagraphParameters.h:
2916 * sgml.h: use lyx::depth_type rather than Paragraph or
2917 ParameterStruct's depth_type.
2920 * paragraph_funcs.h: no need to #include paragraph.h anymore.
2923 * BufferView_pimpl.C:
2925 * ParagraphParameters.C:
2928 * bufferview_funcs.C:
2935 * frontends/LyXView.C:
2936 * frontends/controllers/ControlDocument.C:
2937 * frontends/controllers/ControlErrorList.C:
2938 * insets/insetbibitem.C:
2939 * insets/insetbranch.C:
2940 * insets/insetcaption.C:
2941 * insets/insetcollapsable.C:
2942 * insets/insetenv.C:
2943 * insets/insetert.C:
2944 * insets/insetfloat.C:
2945 * insets/insetfoot.C:
2946 * insets/insetfootlike.C:
2947 * insets/insetnewline.C:
2948 * insets/insetquotes.C:
2949 * insets/insettabular.C:
2950 * insets/insettext.C:
2951 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2953 * frontends/controllers/ControlChanges.C: #include "changes.h".
2955 2003-09-06 Angus Leeming <leeming@lyx.org>
2957 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2958 than #including paragraph.h.
2961 * RowList.h: deleted. Superfluous.
2971 * insets/insettext.h: use ParagraphList_fwd.h rather than
2974 * paragraph.h: don't forward declare ParagraphList.
2977 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2978 rather than ParagraphList.h. paragraph.h is still needed for the
2979 Paragraph::depth_type parameters.
2981 * textcursor.h: enable it to compile stand-alone in light of the
2984 * bufferview_funcs.C:
2996 * frontends/controllers/ControlParagraph.C:
2997 * frontends/controllers/ControlTabular.C:
2998 * insets/insetmarginal.C:
2999 * insets/insetminipage.C:
3000 * insets/insetnote.C:
3001 * insets/insetoptarg.C: add header files needed to compile again.
3003 2003-09-06 Angus Leeming <leeming@lyx.org>
3005 * RowList_fwd.h: new file, forward-declaring Row rather than
3006 #including lyxrow.h.
3011 * insets/insettext.h: use it instead of RowList.h
3013 * bufferview_funcs.C:
3020 * text3.C: #include "RowList.h".
3022 2003-09-05 Angus Leeming <leeming@lyx.org>
3024 * factory.C (createInset):
3025 * vspace.C (c-tor): replace sscanf call with an istringstream.
3026 * ispell.C: re-add missing HP/UX headers.
3027 * lyxserver.C: re-add missing os2 headers.
3029 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
3038 * text3.C: re-add missing system headers, needed for 2.95.2.
3040 2003-09-05 Angus Leeming <leeming@lyx.org>
3042 Changes most place everywhere due to the removal of using directives
3043 from support/std_sstream.h.
3045 2003-09-05 Angus Leeming <leeming@lyx.org>
3047 Replace LString.h with support/std_string.h,
3048 Lsstream.h with support/std_sstream.h,
3049 support/LIstream.h with support/std_istream.h,
3050 support/LOstream.h with support/std_ostream.h.
3052 Changes resulting throughout the tree.
3054 2003-09-05 Angus Leeming <leeming@lyx.org>
3056 * sgml.h: ensure that the header file can be compiled stand-alone.
3057 * *.C: strip out redundant #includes. (320 in total.)
3059 2003-09-04 Angus Leeming <leeming@lyx.org>
3061 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3062 here (from getPackages).
3064 * debug.[Ch]: add a new EXTERNAL tag.
3066 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3068 * text2.C (cursorEnd): simplify
3070 (getColumnNearX): adjust
3072 * text.C (computeBidiTables): adjust
3075 * rowpainter.C (paintChars): adjust
3076 (paintSelection): adjust
3077 (paintChangeBar): adjust
3080 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3082 (numberOfSeparators): adjust
3084 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3090 * text3.C: Restricts the mouse click functionality
3091 of insets like bibtex, include, toc and floatlist to the visible
3092 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3093 up the dialogs. Cursor has to be in front of the inset (i.e.
3094 start of row) for this to function.
3096 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3098 * bufferview_funcs.C (currentState): output row information
3100 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3102 * bufferview_funcs.C (currentState): output paragraph position
3104 2003-09-04 Angus Leeming <leeming@lyx.org>
3106 * FloatList.h: move out #include "Floating.h".
3107 * LaTeX.h: move out #include "DepTable.h".
3108 * LyXAction.h: move out #include "funcrequest.h".
3109 * buffer.h: move out #include "author.h", "iterators.h".
3110 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3111 * lyx_main.h: move out #include "errorlist.h".
3112 * lyxfunc.h: move out #include "FuncStatus.h".
3113 * lyxtext: move out #include "lyxcursor.h".
3114 * paragraph_pimpl.h: move out #include "counters.h".
3116 2003-09-03 Angus Leeming <leeming@lyx.org>
3118 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3119 preamble_snippets list, enabling us to add snippets to the preamble
3120 only if the snippet was not there already.
3122 2003-09-04 Angus Leeming <leeming@lyx.org>
3124 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3126 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3128 * lyxfunc.C (dispatch): if fitCursor did something be sure to
3131 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3133 * BranchList.C: point fix, earlier forgotten
3135 2003-09-02 Angus Leeming <leeming@lyx.org>
3137 * box.C (contains): renamed from 'contained' after a fantastic
3140 2003-09-02 John Levon <levon@movementarian.org>
3146 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3148 2003-09-02 John Levon <levon@movementarian.org>
3150 * text2.C: simplification of cursorEnd(), including partial
3153 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3155 * buffer.C (readFile): add a space
3157 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
3159 * BufferView_pimpl.C (update): remove bogus fitCursor() call
3161 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3163 * buffer.C (readFile): new function, take a filename and a
3164 ParagraphList::iterator
3166 (readFile): adjust, make it private. don't use setStream, make
3167 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3168 always contain the filename.
3170 * BufferView.C (insertLyXFile): simplify and make it work for
3173 2003-08-30 John Levon <levon@movementarian.org>
3175 * Makefile.am: fix dist (from Kayvan)
3177 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3179 * most files: change to use const Buffer refs
3181 2003-08-27 André Pönitz <poenitz@gmx.net>
3183 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3184 on top of ownerPar().
3186 2003-08-27 John Levon <levon@movementarian.org>
3188 * funcrequest.C: properly initialise POD members
3190 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3192 * lyxtext.h (top_y): move top_y from here
3197 * BufferView_pimpl.[Ch]: to here
3198 * frontends/screen.C:
3199 * insets/insettabular.C:
3200 * insets/insettext.C: adjust
3201 * rowpainter.[Ch] (paintRows): remove LyXText & argument
3203 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3206 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3208 2003-08-26 André Pönitz <poenitz@gmx.net>
3210 * paragraph_func.[Ch] (outerPar): new function
3213 * paragraph_funcs.C:
3214 * paragraph_funcs.h:
3215 * paragraph_pimpl.C:
3216 * text2.C: remove Inset::par_owner
3218 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
3223 * text2.C: eliminates the needFullRow/display() stuff
3224 altogether, putting the logic in metrics/draw in the insets.
3226 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
3228 * text2.C (redoParagraphInternal, redoParagraphs):
3229 * text.C (redoParagraph): add a call to updateRowPositions at the
3230 end of each 'metrics-like' call. Remove all others.
3231 (getRow): remove the 'y-computing' version.
3232 (getRowNearY): do not compute nor return the real y. Solve the
3233 'y < 0' problem and simplify.
3235 2003-08-22 Angus Leeming <leeming@lyx.org>
3237 * *.[Ch]: clean-up of licence and author blurbs.
3238 Also move config.h out of a few .h files and into a few .C files.
3240 2003-08-22 André Pönitz <poenitz@gmx.net>
3242 * lyxrow.[Ch]: add x_ and *fill_ members
3247 * text2.C: adjust/remove prepareToPrint() calls
3249 2003-08-22 André Pönitz <poenitz@gmx.net>
3251 * lyxrow.[Ch]: add end_ member
3253 * lyxrow_funcs.C: use LyXRow::end_
3255 * lyxtext.h (singleWidth): add LyXFont parameter
3258 * text2.C: adjust LyXText::singleWidth() calls
3260 * text.C (redoParagraph): simplify row breaking logic
3263 2003-08-19 André Pönitz <poenitz@gmx.net>
3265 * funcrequest.C: initialize button_ member
3268 * rowpainter.[Ch]: interface consolidation
3270 2003-08-18 André Pönitz <poenitz@gmx.net>
3273 * BufferView_pimpl.C:
3275 * paragraph_funcs.C:
3277 * text3.C: remove LyXScreen::draw() and fitCursor calls
3279 * BranchList.h: remove spurious semicolons
3281 * MenuBackend.C: fix branchlist related crash
3283 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
3291 * bufferparams.[Ch]:
3295 * text3.C: implements the 'branch inset'
3296 idea. This allows the output of various versions of a document
3297 from a single source version, selectively outputing or suppressing
3298 output of parts of the text.
3299 This implementation contains a 'branch list editor' in a separate
3300 tab of the document settings dialog. Branches are user definable
3301 and have a "display colour" to distinguish them on-screen.
3303 ColorHandler was somewhat cleaned up.
3304 (1) make possible a dynamically growing LColor list by allowing
3305 the graphic context cache to grow along (vector);
3306 (2) eliminate an IMHO unnecessary step in colour allocation.
3308 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
3310 * BufferView_pimpl.C: compile fix
3312 2003-08-15 André Pönitz <poenitz@gmx.net>
3314 * rowpainter.C: remove extra metrics calls
3316 * lyxtext.h: merge the two constructors into a single one,
3317 pass reference to owner's par list
3319 * BufferView_pimpl.C:
3323 2003-08-15 André Pönitz <poenitz@gmx.net>
3325 * lyxrow_funcs.[Ch]:
3328 * paragraph_funcs.C:
3333 * text_funcs.C: split LyXText::rowlist_ into individual
3334 Paragraph::rows_ chunks
3337 * BufferView_pimpl.[Ch]:
3340 * text3.C: remove toggleSelection()
3342 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
3344 * bufferlist.C: beautify two alerts (shorter text of buttons)
3345 * buffer.C: Remove redundant ' ' from message
3347 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3348 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3349 rename VALIGN_CENTER to VALIGN_MIDDLE
3351 2003-08-11 André Pönitz <poenitz@gmx.net>
3353 * lyxtext.h (getPar):
3354 * text.C: new function
3356 2003-08-11 André Pönitz <poenitz@gmx.net>
3359 * tracer.[Ch]: remove unneeded files
3361 * InsetList.[Ch]: remove resizeInsetsLyXText()
3366 * text3.C: merge insertParagraphs() and appendParagraph()
3367 remove breakAgain(), update()
3369 * BufferView_pimpl.[Ch]:
3370 * bufferview_funcs.[Ch]:
3374 * tabular.C: adjust after text & InsetList changes.
3376 2003-08-08 André Pönitz <poenitz@gmx.net>
3378 * text.C (insertChar, backspace): replace rowlist fiddling
3379 with rebreak of full par
3382 * text.C (breakAgainOneRow, redoHeightOfParagraph,
3383 checkParagraph, updateInset): removed
3385 2003-08-07 André Pönitz <poenitz@gmx.net>
3388 * text3.C: merge some LFUN handlers, remove dead code
3390 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3392 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3394 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
3396 * text2.C (DEPM): fix part of bug 1255 and 1256
3398 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3400 * BufferView_pimpl.C (workAreaDispatch): change to use
3401 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3402 that are no mouse related.
3404 2003-08-05 André Pönitz <poenitz@gmx.net>
3407 * BufferView_pimpl.[Ch]:
3408 * bufferview_funcs.C:
3410 * text3.C: rip out "deep update"
3412 * textcursor.[Ch] (last_sel_cursor): remove unused member
3414 2003-08-04 André Pönitz <poenitz@gmx.net>
3417 * BufferView_pimpl.[Ch]:
3418 * ParagraphParameters.C:
3419 * bufferview_funcs.C:
3425 * text3.C: replace "complicated" BufferView::update(...) calls with
3428 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3430 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
3432 * Makefile.am (lyx_SOURCES): add paper.h
3434 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3436 * Makefile.am: move things around so that both lyx-qt and
3437 lyx-xforms can be built (according to --with-frontend). Then lyx
3438 is a symbolic link to lyx-[firstfrontend]
3440 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
3442 * Always use std::endl with lyxerr
3444 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
3446 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3448 2003-08-01 André Pönitz <poenitz@gmx.net>
3451 * BufferView_pimpl.[Ch]:
3453 * text3.C: merge BufferView::repaint() and BufferView::update()
3455 2003-08-01 José Matos <jamatos@lyx.org>
3457 * buffer.[Ch]: file_format is no longer a buffer data element.
3459 2003-08-01 André Pönitz <poenitz@gmx.net>
3464 * text2.C: make redoParagraph more independent of current cursor
3466 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3468 * text2.C: remove unneeded members
3470 2003-07-30 André Pönitz <poenitz@gmx.net>
3472 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3474 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3475 create a single function...
3477 * paragraph_funcs.C (moveItem): ... here.
3480 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3482 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3484 * LColor.[Ch]: Add comment and greyedout logical colors.
3486 2003-07-30 André Pönitz <poenitz@gmx.net>
3488 * tabular.C: don't use Assert too heavily. This crashes where it
3491 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
3493 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3494 is disabled (bug 1232)
3496 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3498 * factory.C: limited 'arg' scope
3500 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3502 * factory.C: fixed Note submenu issues
3504 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3506 * factory.C: submenu for Note/Comment/Greyedout
3508 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
3511 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3513 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
3516 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3517 greyedout. Patch provided by Jürgen Spitzmüller.
3519 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3521 * kbmap.C (read): fix error message when reading bind files
3523 2003-07-29 Angus Leeming <leeming@lyx.org>
3525 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3526 certainly does not do what it purports to do. I am doing it, and
3527 us, a favour by killing it.
3529 2003-07-28 José Matos <jamatos@lyx.org>
3531 * buffer.C (readBody, do_writeFile):
3532 * paragraph.C(readParagraph): \end_document replaces \the_end.
3534 2003-07-29 André Pönitz <poenitz@gmx.net>
3537 * BufferView_pimpl.[Ch]:
3541 * textcursor.[Ch]: remove toggleToggle & Co
3543 2003-07-28 José Matos <jamatos@fep.up.pt>
3545 * buffer.C (readParagraph):
3546 * params_func (readParToken, readParagraph):
3547 * paragraph.C (write): \layout -> \begin_layout.
3549 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3551 * lyxlex_pimpl.C (setFile): clean up slightly.
3553 * bufferparams.h: add compressed var
3555 * buffer_funcs.C (readFile): adjust for LyXLex change
3556 (newFile): ditto + simplify
3558 * buffer.C (writeFile): handle writing of compressed files
3560 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3561 Check if the file is compressed and set a bufferparm if so.
3563 * Makefile.am (lyx_LDADD): remove explicit -lz
3565 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3567 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3568 makeDocBookFile): put the real LyX version in the first line of
3572 * version.C.in: remove lyx_docversion
3574 * tabular.C (write_attribute): add a template-based version to
3575 write enums properly
3577 2003-07-28 André Pönitz <poenitz@gmx.net>
3582 * text3.C: use doubles again for x-coordinates. They are needed.
3584 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3586 * messages.C (getLocaleDir): use lyx_localedir()
3588 * lyxlex_pimpl.C (setFile): compress stuff
3590 * buffer.C (writeFile): add some compression stuff
3591 (do_writeFile): new func, dont call expliti close... will this
3594 * Makefile.am (lyx_LDADD): add -lz
3596 2003-07-28 José Matos <jamatos@fep.up.pt>
3598 * buffer.C: increment file format.
3599 * paragraph_funcs (readParagraph, readParToken):
3600 * paragraph.C (readParagraph): add \end_layout.
3602 2003-07-27 Angus Leeming <leeming@lyx.org>
3604 * Makefile.am: remove special casing for configure-time setting of
3605 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3607 * lyx_main.C (init): remove all Jean-Marc's magic setting of
3608 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3610 2003-07-26 André Pönitz <poenitz@gmx.net>
3612 * paragraph_func.[Ch]:
3613 * paragraph.C (realizeFont): inline it whereever it is used
3618 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3621 2003-07-26 André Pönitz <poenitz@gmx.net>
3625 * text2.C: get rid of LyXText::need_break_row
3627 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3629 * toc.[Ch]: put namespace toc inside namespace lyx
3631 * MenuBackend.C (expandToc2): adjust for lyx::toc
3634 * lyxfunc.C (dispatch): adjust for lyx::find
3636 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3637 lyx::find instead. Reorganize a bit.
3638 (LyXReplace): rename to replace
3639 (LyXFind): rename to find
3641 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3644 2003-07-26 André Pönitz <poenitz@gmx.net>
3646 * text.C (setHeightOfRow): restrict scope of temporary variable
3648 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
3649 code (never has been used?)
3651 2003-07-27 Asger Alstrup <alstrup@local>
3653 * text.C (fill): Optimise algorithm to exploit that we can reuse
3654 the LyXFont for many characters.
3655 (setHeightOfRow): Same thing.
3656 (rowBreakPoint): Same thing.
3658 2003-07-26 Asger Alstrup <alstrup@local>
3660 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3662 * text.C (singleWidth): Spurious font copying in hot-spot
3663 singleWidth avoided. Reorder tests for arabic for efficiency.
3665 * text.C (fill): handle empty paragraphs better.
3667 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3670 * encoding.h: add includes
3672 * lyxrc.C: remove reading of bind files
3674 * lyx_main.C (init): setup bindings and menus only if we have a
3677 * kbmap.C (read): new method. Do the actual reading of bind
3680 * converter.C (dvipdfm_options):
3683 (output): adapt PAPER_* enums.
3685 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3687 * bufferparams.h: remove paper-related enums from there
3689 * paper.h: New file. A trivial header file to hold paper-related
3690 enums. It should later expand to contain many paper-related
3693 * lyxrc.C: declare extern displayTranslator
3695 2003-07-27 José Matos <jamatos@fep.up.pt>
3697 * tabular.[Ch] (linuxdoc): add support for tables and figures
3700 2003-07-27 José Matos <jamatos@fep.up.pt>
3702 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3703 consistency in both functions.
3704 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3706 2003-07-26 Asger Alstrup <alstrup@local>
3708 * rowpainter.C (paintRows): Change algorithm to work directly on
3709 the insets rather than asking every character in the document
3710 whether its an inset.
3712 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
3714 * buffer.C (openFileWrite): factorize some code
3716 2003-07-26 Angus Leeming <leeming@lyx.org>
3719 * lyx_main.[Ch]: replace occurances of system_tempdir with
3722 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3724 * rename Inset to InsetOld
3726 2003-07-25 Asger Alstrup <alstrup@diku.dk>
3728 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3729 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3730 which I think is a bit clearer. EDIT is gone, since it was
3731 premature optimisation, and broken for mathed anyway.
3732 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3733 with cursor positioning in insets as well (math insets still do not
3734 work, but that's a different story anyway.) It mysteriously
3735 crashes sometimes with undo in the first paragraph, but I'm fairly
3736 confident that this is a compiler bug.
3738 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3740 * paragraph.C (Paragraph): adjust for new clone return type
3742 (copyIntoMinibuffer): ditto
3744 2003-07-25 Asger Alstrup <alstrup@lyx.org>
3746 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3747 by not having a special case, and always doing a full rebreak of
3748 the document after undo.
3750 2003-07-23 Angus Leeming <leeming@lyx.org>
3752 * factory.C (createInset): InsetExternal::setParams now takes a
3755 2003-07-23 Angus Leeming <leeming@lyx.org>
3757 * factory.C (createInset): changed interface to the external and
3758 graphics mailers' string2params functions.
3760 2003-07-23 Angus Leeming <leeming@lyx.org>
3762 * factory.C (createInset): pass a
3763 Buffer const * parameter to InsetExternalMailer's string2params.
3765 2003-07-22 John Levon <levon@movementarian.org>
3767 * Thesaurus.h: include the right aiksaurus header
3769 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3771 * MenuBackend.C (expand): check menu shortcuts unconditionally
3773 2003-07-21 Angus Leeming <leeming@lyx.org>
3775 * factory.C (createInset): pass a
3776 buffer_path parameter to InsetGraphicsMailer's string2params.
3778 2003-07-21 Angus Leeming <leeming@lyx.org>
3780 * BufferView_pimpl.C (buffer):
3783 * lyxfunc.C (dispatch):
3784 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3785 rather than the grfx shortcut.
3787 2003-07-21 André Pönitz <poenitz@gmx.net>
3789 * rowpainter.C: remove unused variables
3792 * tabular_funcs.h: move to tabular.C
3793 * Makefile.am: adjust
3795 * tabular.[Ch]: basic optical cleaning
3797 * author.h: pass references, not values
3799 2003-07-18 André Pönitz <poenitz@gmx.net>
3807 * text3.C: two-phase drawing for InsetText and InsetTabular
3808 some float -> int changes.
3810 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3812 * lyx_main.C: fix the fix
3814 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3816 * lyx_main.C: fix a crash in batch mode if no files specified
3819 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
3821 * format.[Ch] (papersize): moved to BufferParams
3822 * converter.[Ch] (dvips_options): moved to BufferParams
3823 (dvipdfm_options): moved to anon namespace
3824 * bufferparams.[Ch]: added above functions.
3826 2003-07-17 André Pönitz <poenitz@gmx.net>
3830 * text2.C: don't call inset->update() anymore
3832 * metricsinfo.[Ch]: add convenience constructor
3834 2003-07-16 André Pönitz <poenitz@gmx.net>
3839 * text2.C: replace the LyXCursor::irow_ member with
3840 on-demand computation of the value
3842 2003-07-16 John Levon <levon@movementarian.org>
3844 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3846 2003-07-15 André Pönitz <poenitz@gmx.net>
3849 * text2.C: remove no more needed refresh_row
3851 2003-07-15 André Pönitz <poenitz@gmx.net>
3856 * text3.C: refresh_status tristate -> need_update bool
3858 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
3860 * lyxtext.h (init): remove reinit argument (act as if always true)
3861 * text2.C: adjust to that
3863 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3865 * bufferview_funcs.[Ch]: introduce function replaceSelection()
3866 * text3.C: use it to delete selections in some cases
3867 (bugs 441, 673, 702, 954).
3869 2003-07-14 André Pönitz <poenitz@gmx.net>
3871 * rowpainter.[Ch]: reduce interface
3873 2003-07-14 André Pönitz <poenitz@gmx.net>
3875 * BufferView_pimpl.C:
3876 * text2.C: adjust after removing unused BufferView * argument
3878 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
3880 * text2.C (init): fix a crash fired on resize
3882 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
3884 * buffer.[Ch]: added new closing signal
3885 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3886 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3887 BufferView::Pimpl via the closing the signal
3889 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
3891 * buffer.[Ch]: take out all bv-related from buffer
3893 * BufferView_pimpl.[Ch]: connect to new signals
3894 * CutAndPaste.C: removed useless asserts
3895 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3898 * lyxfunc.C: moved view-related funciontality from vc here
3899 * paragraph.C: removed outdated comments
3902 2003-07-10 André Pönitz <poenitz@gmx.net>
3904 * BufferView_pimpl.C:
3908 * text2.C: remove InsetText::InnerCache, clean up consequences
3910 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
3912 * ispell.C: fix two typos in error messages
3914 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
3916 * Extend Note inset to other forms of annotation like Comment
3917 and Greyedout. Right button click gives dialog.
3919 Files modified or added (+):
3923 * ControlNote.[Ch] +
3925 * Makefile.am in frontends/xforms, frontends/xforms/forms,
3926 frontends/controllers
3930 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3932 * aspell.C: add missing namespace lyx::support
3934 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
3936 * BufferView.[Ch] (newFile): Add
3937 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3938 * LaTeX.[Ch] (message): added this signal and use it
3939 * buffer.[Ch] (busy, message): added these signals and use them
3940 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3944 * importer.C: use buffer signals instead of direct bv calling
3945 * lyx_cb.[Ch] (ShowMessage): removed
3948 * paragraph_funcs.C:
3949 * text2.C: use buffer signals
3951 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3953 * introduce namespace lyx::graphics
3955 2003-07-02 André Pönitz <poenitz@gmx.net>
3957 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3959 2003-07-01 André Pönitz <poenitz@gmx.net>
3966 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3967 text*.C to text_func.C
3969 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3971 * introduce namespace lyx::support
3973 2003-06-30 André Pönitz <poenitz@gmx.net>
3978 * text.C: re-enable --with-included-string
3980 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3982 * textcursor.C: add <config.h>
3984 * text.C (getWord): remove const from word_location arg
3986 * lyxvc.C (getLogFile): fix const type order
3988 * lyxtext.h: remove const from word_location arg, add arg name
3990 * lyxlayout.h: currect type on labeltype.
3992 * importer.C: correct \file
3994 * converter.C (intToFormat): use std:: on ret val, ws changes
3996 * bufferlist.h: correct \file
3998 * buffer.C (makeLinuxDocFile): fix const type order
3999 (makeDocBookFile): ditto
4000 (fillWithBibKeys): use std:: on stdlib args.
4002 * CutAndPaste.C: fix authors.
4003 (availableSelections): use std:: on return vector
4005 2003-06-27 André Pönitz <poenitz@gmx.net>
4007 * BufferView_pimpl.C:
4008 * bufferview_funcs.C:
4016 * text3.C: remove LyXCursor::row_ member
4019 * text.C: rename fullRebreak() to partialRebreak() and implement
4020 a fullRebreak() that really bereks fully
4022 * textcursor.h: new struct for cursor-related data
4024 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
4026 * lyx_main.C (LyX): get full path of document loaded on the
4029 2003-06-26 André Pönitz <poenitz@gmx.net>
4031 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4032 remove unused/broken operator>,<,>=.
4034 * text.C: remove only use of broken operator<= in an Assert().
4036 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4038 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4039 moved errorlist_.clear to showErrorList
4041 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4043 * converter.C (scanLog, runLaTeX):
4044 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4045 move the bv->showErrorList call to the callers
4046 * lyxfunc.C: i.e. here...
4048 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4049 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4050 namespace, the second to...
4051 * buffer_funcs (BufferFormat, parseErrors): added
4052 * errorlist.C (ErrorList(TeXErrors const &)): removed
4054 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4056 * ToolbarBackend.C (getIcon): complain when icon cannot be found
4058 2003-06-24 "Garst R. Reese" <reese@isn.net>
4062 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4064 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4066 * version.C.in: change docversion to 1.4
4068 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
4070 * buffer.C: fix a bug just introduced
4072 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
4074 * buffer.[Ch]: added the parseError signal and use it, removed
4076 * BufferView.[Ch] (addError): moved to ...
4077 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4078 to the Buffer::parseError signal to catch (guess what) parse errors
4079 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4081 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
4083 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4084 ability to create a buffer and to return an existing one from
4085 the list. Moved these functions to...
4086 * buffer_funcs.[Ch]: added
4087 * BufferView.[Ch] (loadLyXFile): added
4088 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4089 job removed from bufferlist::loadLyXFile.
4090 * buffer.C (setReadOnly): make it work without view
4091 (i.e added an if (users))
4093 2003-06-19 Angus Leeming <leeming@lyx.org>
4096 * LyXAction.C (init):
4097 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4098 with LFUN_DIALOG_SHOW <name> <data>.
4100 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4102 * CutAndPaste.C (availableSelections): small compilation fix for
4103 ancient (gcc 2.9x) compilers
4105 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
4107 * text3.C (cursorNext): add tmp var
4109 * text2.C (updateCounters): for function calling out of for clause
4110 (replaceSelectionWithString): ditto
4111 (insertStringAsParagraphs): ditto
4112 (getColumnNearX): add tmp var
4113 (setCursorFromCoordinates): add tmp var
4114 (cursorDownParagraph): add tmp var
4115 (deleteEmptyParagraphMechanism): add tmp var
4117 * text.C (insertChar): add tmp var
4119 * rowpainter.C (paintDepthBar): add tmp var
4121 * CutAndPaste.C (availableSelections): potentially check all
4122 paragraphs in a cut to fill the shown strings.
4124 2003-06-18 André Pönitz <poenitz@gmx.net>
4126 * kbmap.[Ch]: use vector<> instead of list<>
4128 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
4130 * text3.C (dispatch): handle arg to LFUN_PASTE, call
4131 pasteSelection with index
4133 * text2.C (pasteSelection): modify, call pasteSelection with index
4135 * paragraph.C (asString): reimplement version with no interval to
4136 call the one with interval.
4138 * lyxtext.h: add index arg to pasteSelection
4140 * MenuBackend.C (MenuItem): handle PasteRecent
4141 (Menu::read::Menutags): add md_pasterecent
4143 (expandPasteRecent): new function
4146 * MenuBackend.h: add PasteRecent to MenuItem::Kind
4148 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4150 (availableSelections): new function
4152 2003-06-17 Angus Leeming <leeming@lyx.org>
4154 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4156 2003-06-17 Angus Leeming <leeming@lyx.org>
4159 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4161 * lyxfunc.C (dispatch): invoke it.
4163 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4165 * iterators.C (operator++, ParPosition): reintroduce some
4166 const_cast for the benefit of older compilers.
4168 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4170 * text3.C (dispatch): do not modify clipboard when doing
4171 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4172 LFUN_DELETE_SKIP on a selection selection
4174 2003-06-16 André Pönitz <poenitz@gmx.net>
4180 * tabular.[Ch]: IU of clone() and getLabelList();
4182 2003-06-13 André Pönitz <poenitz@gmx.net>
4184 * tabular.h: compactification
4186 2003-06-12 André Pönitz <poenitz@gmx.net>
4190 * tabular_funcs.h: some renaming plus whitespace
4192 2003-06-12 André Pönitz <poenitz@gmx.net>
4195 * BufferView_pimpl.C:
4201 * toc.C: Return a Paragraph & for ParIterator::operator*()
4203 2003-06-11 John Levon <levon@movementarian.org>
4207 * ToolbarBackend.C: add "Toolbars" section and
4210 2003-06-10 Angus Leeming <leeming@lyx.org>
4213 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4215 * lyxfunc.C (dispatch): invoke it.
4217 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4219 * main.C: protect <ios> with HAVE_IOS
4220 (main): protect sync_with_stdio with HAVE_IOS
4222 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
4224 * text2.C (cutSelection): adjust
4225 (pasteSelection): adjust
4227 * messages.C: handle get of empty string
4229 * main.C (main): use sync_with_stdio(false)
4231 * lyxfunc.C (dispatch): adjust
4233 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4234 (WriteAs): remove unneeded BufferView arg.
4236 * bufferparams.h: use correct types on papersize, papersize2 and
4239 * bufferparams.C (readToken): adjust for type
4240 (writeLaTeX): add missing cases to switch.
4242 * bufferlist.C (quitWriteBuffer): adjust
4245 * buffer.C (asciiParagraph): remove some commented code.
4247 * CutAndPaste.C: remove current_view extern variable.
4248 (cutSelection): add BufferParams arg.
4249 (eraseSelection): add BufferParams arg.
4250 (pasteSelection): add Buffer const & arg
4252 2003-06-07 John Levon <levon@movementarian.org>
4255 * paragraph_funcs.C:
4256 * paragraph_pimpl.C:
4260 * paragraph.C: allow InsetERT to freely space lines,
4261 and some consolidation of code
4263 2003-06-06 José Matos <jamatos@fep.up.pt>
4265 * buffer.C (makeDocBookFile): fix bug #821
4267 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
4269 * BufferView_pimpl.C (dispatch): use Dialogs::visible
4271 2003-06-04 Angus Leeming <leeming@lyx.org>
4273 * buffer.C: bump format to 224.
4275 2003-06-05 André Pönitz <poenitz@gmx.net>
4277 * text2.C (redoParagraphs): remove two const_cast<>
4279 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4281 * ParagraphList.h: remove last remnants of NO_STD_LIST
4283 2003-06-03 Angus Leeming <leeming@lyx.org>
4285 * factory.C (createInset): small change to the way InsetExternal's params
4288 2003-06-04 André Pönitz <poenitz@gmx.net>
4290 * buffer.h: use Undo directly instead of shared_ptr<Undo>
4292 * paragraph_pimpl.h:
4293 * paragraph.[Ch]: some Inset -> UpdatableInset changes
4295 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4297 * undo_funcs.C: make some simple cases of undo work again
4299 2003-06-03 John Levon <levon@movementarian.org>
4301 * ispell.C: HPUX doesn't have sys/select.h
4304 2003-06-03 John Levon <levon@movementarian.org>
4306 * CutAndPaste.C: update tabular and include inset
4311 * paragraph.C: remove owningBuffer(), don't pass Buffer
4314 * factory.C: insetGraphicsParams changed
4316 2003-06-02 John Levon <levon@movementarian.org>
4322 * text3.C: remove insetparent
4324 2003-06-02 John Levon <levon@movementarian.org>
4327 * buffer.C: fix inset_iterator.end(), move out of line
4330 2003-06-01 John Levon <levon@movementarian.org>
4332 * text3.C: use a proper cut/paste when doing inset
4333 insert (from Jürgen Spitzmüller)
4335 2003-06-01 John Levon <levon@movementarian.org>
4337 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4339 2003-05-30 André Pönitz <poenitz@gmx.net>
4341 * rowpainter.C: unify second drawing phase
4343 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4345 * trans_mgr.C: remove one case of current_view
4347 * text2.C (cursorBottom): delete NO_STD_LIST stuff
4349 * paragraph_funcs.h: remove paragraph.h include
4351 * paragraph.h: delete NO_STD_LIST stuff
4353 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4355 * buffer.h: remove paragraph.h include
4357 * ParagraphList.C: delete file
4359 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4361 * toc.C (getTocList): adjust
4363 * paragraph_pimpl.C (validate): adjust
4365 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4367 * paragraph.C (Paragraph): adjust
4368 (getPositionOfInset): use const_iterator, adjust
4369 (bibitem): use const_iterator, adjust
4370 (setInsetOwner): adjust
4372 * iterators.C (operator++): adjust
4374 * InsetList.[Ch]: Replace selfmade iterator with standard
4375 vector::iterator also introduce const_iterator. Remove getPos,
4376 getInset and setInset from InsetTable. Adjust accordingly.
4378 * BufferView.C (lockInset): adjust
4379 (ChangeInsets): adjust
4381 * tabular.[Ch]: delete commented same_id functions
4383 2003-05-28 John Levon <levon@movementarian.org>
4385 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4387 2003-05-28 André Pönitz <poenitz@gmx.net>
4389 * metricsinfo.[Ch]: remove 'fullredraw' member
4391 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
4393 * lyxtextclass.C (operator): remove caching.
4395 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4399 * text2.C (cursorBottom): adjust
4400 (setCounter): use ParagraphList::find, adjust
4402 * text.C (workWidth): use ParagraphList::find, adjust
4404 * lyxcursor.C (LyXCursor): adjust
4406 * buffer.C (inset_iterator): adjust
4408 * ParagraphList.h: make iterator(value_type) private, make
4409 ParagraphList a friend of iterator.
4411 * ParagraphList.C (find): new function
4413 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4415 2003-05-27 André Pönitz <poenitz@gmx.net>
4417 * dimension.[Ch]: a -> asc, d -> des, w -> wid
4419 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4421 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4423 2003-05-26 John Levon <levon@movementarian.org>
4425 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4427 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4429 * remove same_id from function signatures, adjust.
4431 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4433 * undo_funcs.C (createUndo): use the id functions directly, adjust.
4435 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4437 * paragraph.C (Paragraph): get rid of same_ids parameter
4439 * ParagraphList.C (insert): adjust
4442 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4444 * paragraph_funcs.C (breakParagraph): adjust
4445 (breakParagraphConservative): adjust
4447 * buffer.C (readParagraph): adjust
4449 * ParagraphList.C (insert): take a reference instead of a pointer
4452 * paragraph.[Ch] (id): new function
4454 * bufferlist.C (newFile): adjust
4456 * ParagraphList.C (ParagraphList): adjust
4458 (push_back): take a reference instead of a pointer.
4460 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4462 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4465 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4466 set else use old code.
4468 * ParagraphList.C: remove all NO_NEXT code and only compile this
4469 code of NO_STD_LIST is set.
4471 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4473 * BufferView_pimpl.C:
4483 * graphics/GraphicsConverter.C:
4484 * graphics/PreviewLoader.C: header adjustment
4486 2003-05-23 Angus Leeming <leeming@lyx.org>
4488 * LaTeXFeatures.[Ch] (useBabel): new method.
4489 * bufferparams.C (writeLaTeX): use it.
4491 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4493 * ParagraphList.h (set): remove unused function.
4495 2003-05-23 André Pönitz <poenitz@gmx.net>
4498 * BufferView_pimpl.C:
4502 * undo_funcs.C: setUndo reworked
4504 * iterators.[Ch]: add access to topmost ParagraphList
4506 * lyxtext.[Ch] (workWidth): add a const
4508 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4510 * texrow.[Ch] (increasePos): remove function
4511 * exporter.C (export): removed unused var and outdated comment
4513 2003-05-23 Angus Leeming <leeming@lyx.org>
4515 * latexrunparams.h: rename fragile as moving_arg.
4516 * paragraph.C (simpleTeXOnePar): ditto.
4517 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4519 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4521 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4523 (textUndoOrRedo): comment out a currently unused var.
4525 * paragraph.h (NO_NEXT): enable NO_NEXT
4527 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4529 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4531 * exporter.C (Export): adjust for removeAutoInsets removal.
4533 * buffer.C (runChktex): adjust for removeAutoInsets removal.
4535 * LyXAction.C (init): remove LFUN_REMOVEERRORS
4537 * BufferView.[Ch] (removeAutoInsets): delete function
4539 2003-05-22 Angus Leeming <leeming@lyx.org>
4541 * latexrunparams.h: add a free_spacing variable.
4543 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4544 to pass moving_arg, as the data is stored in runparams.fragile.
4546 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4547 to Inset::latexOptional or to simpleTeXOnePar.
4549 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4550 free_spacing arg to Inset::latexOptional.
4552 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4555 2003-05-22 Angus Leeming <leeming@lyx.org>
4557 * latexrunparams.h: add fragile and use_babel variables.
4559 * bufferparams.[Ch] (writeLaTeX): return use_babel.
4560 * buffer.C (makeLaTeXFile): store this returned value in
4561 runparams.use_babel, thus passing it to the inset::latex methods.
4563 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4564 simpleTeXSpecialChars as it is now stored in runparams.fragile.
4566 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4567 longer has a fragile arg, as it is stored in runparams.fragile.
4569 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4570 moving_arg parameter as the data is stored in runparams.fragile.
4572 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4573 a fragile parameter as the data is stored in runparams.fragile.
4575 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4577 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4579 2003-05-22 Angus Leeming <leeming@lyx.org>
4581 * latexrunparams.h: add a 'bool nice' which defaults to false.
4583 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4584 now encapsulated within runparams.
4586 * bufferlist.C (updateIncludedTeXfiles):
4587 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4589 2003-05-22 Angus Leeming <leeming@lyx.org>
4591 * latexrunparams.h: new file containing struct LatexRunParams.
4592 * Makefile.am: add new file.
4594 * LaTeX.[Ch] (c-tor, run):
4595 * buffer.[Ch] (makeLaTeXFile):
4596 * bufferlist.[Ch] (updateIncludedTeXfiles):
4597 * converter.C (convert, scanLog):
4598 * converter.[Ch] (runLaTeX):
4599 * exporter.C (Export):
4600 * paragraph.[Ch] (simpleTeXOnePar):
4601 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4602 * paragraph_funcs.[Ch] (latexParagraphs):
4603 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4604 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4605 pass around a LatexRunParams parameter.
4607 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4609 * paragraph.[Ch]: remove unused constructor
4611 * ParagraphList.C (erase): new function, taking two iterators
4613 2003-05-22 André Pönitz <poenitz@gmx.net>
4615 * undo_funcs.C: remove duplicated code
4617 * iterator.[Ch]: operator=
4619 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4621 * tabular.C (SetMultiColumn): ws changes
4623 * rowpainter.C (paintFirst): get rid of a ->previous
4625 * lyx_cb.C (getPossibleLabel): parlist simplification
4627 * BufferView.C (ChangeInsets): simplify slightly.
4629 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4631 * LyXAction.C: new lfun space-insert, kill protected-space-insert
4632 * lfuns.h: new LFUN_SPACE
4633 * lyxfunc.C: protected space has a new lfun
4634 * paragraph_funcs.C: read new space insets
4636 * factory.C: handle new space insets
4638 2003-05-22 André Pönitz <poenitz@gmx.net>
4641 * BufferView_pimpl.C:
4644 * undo_funcs.C: return a ParIterator from getParFromID.
4646 * iterators.[Ch]: add two const's
4648 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4650 * toc.C (getTocList): adjust
4652 * iterators.[Ch]: rework for parlist
4654 * buffer.C (par_iterator_begin): adjust
4655 (par_iterator_end): adjust
4657 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4659 * BufferView.C (removeAutoInsets): adjust
4660 (ChangeInsets): adjust
4662 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
4664 * text.C (top_y): fix bug 1110
4666 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
4668 * errorlist.[Ch]: added
4671 * BufferView_pimpl.C:
4672 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4675 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4677 * Makefile.am: ensure that lyx is relinked upon changes to the
4678 various "convenience" libs.
4680 2003-05-20 Angus Leeming <leeming@lyx.org>
4682 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4683 files are compiled in alphabetical order again.
4685 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4687 2003-05-19 Angus Leeming <leeming@lyx.org>
4689 * gettext.[Ch]: remove "char const * _(char const *)".
4691 2003-05-19 André Pönitz <poenitz@gmx.net>
4693 * dimension.[Ch]: promote from mathed/dimension.[Ch]
4702 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4704 2003-05-19 André Pönitz <poenitz@gmx.net>
4708 * lyxtextclass.[Ch]:
4710 * paragraph_funcs.[Ch]:
4712 * text3.C: more insetenv work
4714 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
4716 * ParagraphParameters.C (params2string): small bug fixed
4718 2003-05-16 André Pönitz <poenitz@gmx.net>
4721 * bufferview_funcs.C: patch from Kornel Benko to prevent
4722 crash when _(...) is called twice in a statement
4724 2003-05-16 André Pönitz <poenitz@gmx.net>
4731 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4733 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
4735 * lyx_main.C (init): remove spurious static_cast
4737 2003-05-14 André Pönitz <poenitz@gmx.net>
4739 * BufferView.C: fix format string
4741 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
4743 * BufferView.[Ch] (insertErrors): removed
4744 * BufferView.[Ch] (showErrorList): added
4745 * buffer.C (runChkTeX):
4746 * converter.C (scanLog): call showErrorList instead of inserterrors
4748 2003-05-13 André Pönitz <poenitz@gmx.net>
4750 * BufferView_pimpl.C:
4752 * bufferview_func.C:
4759 * tabular_funcs.h: tostr() from its own header
4761 * ParagraphParameters.C:
4766 * text3.C: STRCONV()
4768 2003-05-12 André Pönitz <poenitz@gmx.net>
4771 * BufferView_pimpl.C:
4775 * ParagraphParameters.C:
4779 * bufferview_funcs.C:
4792 * paragraph_funcs.C:
4796 * text3.C: boost::format -> bformat all over the place
4799 2003-05-09 André Pönitz <poenitz@gmx.net>
4801 * LColor.[Ch]: Pimpl the #include <map> away
4803 2003-05-09 John Levon <levon@movementarian.org>
4805 * bufferlist.C: never remove emergency saves
4807 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4809 * Makefile.am: better lib building
4811 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4813 * texrow.[Ch]: remove dependency on Paragraph and just store a id
4815 * paragraph_pimpl.C (simpleTeXBlanks): adjust
4816 (simpleTeXSpecialChars): adjust
4817 (simpleTeXSpecialChars): adjust
4818 * paragraph.C (simpleTeXOnePar): adjust
4819 * buffer.C (makeLaTeXFile): adjust
4821 * Makefile.am (BOOST_LIBS): allow boost as system lib.
4823 * text2.C (changeDepth): parlist cleanup
4824 (getColumnNearX): ditto
4826 * rowpainter.C (getLabelFont): parlist cleanup
4828 * bufferlist.C (newFile): parlist cleanup
4830 * CutAndPaste.C (eraseSelection): parlist cleanup
4832 * BufferView_pimpl.C (trackChanges): parlist cleanup
4835 * BufferView.C (lockInset): parlist cleanup.
4836 (ChangeInsets): ditto
4838 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4840 * CutAndPaste.h: Update file header.
4842 * CutAndPaste.C: Update file header.
4843 Store the parts cut out of the Document in a limited_stack.
4844 (copySelection): adjust
4845 (pasteSelection): new function, takes the index in the limited stack.
4846 (nrOfParagraphs): adjust
4847 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4848 simplify error inset insertion.
4849 (checkPastePossible): adjust
4851 2003-05-06 John Levon <levon@movementarian.org>
4853 * text2.C: don't cast wrap inset to float
4855 2003-05-05 André Pönitz <poenitz@gmx.net>
4858 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4860 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4861 few naked Paragraph *.
4863 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
4865 * bufferparams.C: Output warning if a document with missing
4866 TeX document class is loaded
4867 * exporter.C: Disable TeX exports if the document class is missing
4870 * lyxtextclasslist.C: Handle new textclass.lst format; new method
4871 isTeXClassAvailable()
4873 2003-05-03 John Levon <levon@movementarian.org>
4876 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4877 explicit cursor show/hide
4879 * BufferView_pimpl.h:
4880 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4881 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4883 * lyxfunc.C: hide cursor before dispatching.
4888 * text3.C: remove explicit cursor hides
4890 2003-05-02 André Pönitz <poenitz@gmx.net>
4892 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4895 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4898 * text2.C: tiny whitespace
4900 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4902 * undo_funcs.C: almost only ws changes.
4904 * ParagraphList.C (splice): just return if pl is empty.
4906 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4908 * ParagraphList.C (splice): new function.
4910 * CutAndPaste.C (pasteSelection): use it
4912 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4914 * CutAndPaste.C (pasteSelection): remove the last next and
4915 previous from this file.
4917 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4919 * CutAndPaste.C (pasteSelection): more clean up, user proper
4920 ParagraphList functions for pasteing.
4922 * ParagraphList.C (insert): new function, three arg insert
4924 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4926 * ParagraphList.C (insert): new function, three arg insert
4928 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4931 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4933 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4935 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4937 * CutAndPaste.C (pasteSelection): remove some unneeded code.
4939 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4941 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4942 (copySelection): clean up a bit.
4943 (pasteSelection): use make_pair
4945 * ParagraphList.C (ParagraphList): implement copy constructor
4946 (operator=): implement, base on copy constructor.
4949 * paragraph.C (erase): return a bool
4951 * paragraph_pimpl.C (erasePos): remove function, move contents...
4952 (erase): ... here. Return a bool.
4953 (erase): call erase instead of erasePos.
4955 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
4957 * ParagraphList.h: define PitPosPair
4958 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4959 ParagraphList, fix a bug on pasting multiple pars
4960 * text2.C: change interface to C&P
4962 2003-04-30 André Pönitz <poenitz@gmx.net>
4964 * undo_func.C: revert part of yesterday's patch 2
4966 2003-04-30 John Levon <levon@movementarian.org>
4968 * LColor.C: s/tabular/table/
4970 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4972 * text3.C (dispatch): do not convert iterator -> pointer
4973 * undo_funcs.C (setCursorParUndo): ditto
4974 * text_funcs.C (transposeChars): ditto
4976 * text2.C (setLayout): ws changes only
4978 * text.C (breakParagraph): do not convert iterator -> pointer
4980 (acceptChange): ditto
4981 (rejectChange): ditto
4986 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4989 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4991 * text3.C (gotoInset): YABG (yet another bad getChar)
4993 2003-04-29 André Pönitz <poenitz@gmx.net>
4995 * paragraph.h: make operator= private unimplemented as long as
4998 * ParagraphList.C: whitespace
5001 * paragraph_pimpl.[Ch]:
5002 * paragraph_funcs.C:
5004 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
5007 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5009 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5011 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5012 * paragraph.[Ch] (erase):
5013 * paragraph_pimpl.[Ch] (erase): change return type and value
5014 * text2.C (cutSelection): some rework
5016 2003-04-28 John Levon <levon@movementarian.org>
5018 * bufferlist.C: changes for unsaved changes dialog
5020 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5022 * bufferlist.C (newFile): set language (messages_) for new
5025 * buffer.C (readFile): ws changes only.
5027 2003-04-28 André Pönitz <poenitz@gmx.net>
5032 * BufferView_pimpl.C:
5033 * BufferView.C: getParFromID related ParagraphList::iterator changes
5035 2003-04-28 André Pönitz <poenitz@gmx.net>
5037 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5040 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5042 * messages.C: remove one more localedir class variable.
5044 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5046 * messages.C (getLocaleDir): singleton generation function
5048 (Messages): add a default constructor.
5050 * main.C (main): do not setup localedir here, do not call
5053 * gettext.C (_): use it.
5054 (gettext_init): delete funciton
5056 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5058 * gettext.C (getLyXMessages): new singleton generating function.
5060 * buffer.C (updateDocLang): adjust
5062 * Makefile.am (messages.o): add target
5063 (main.o): remove target
5065 2003-04-27 John Levon <levon@movementarian.org>
5070 * lyxvc.C: specify cancel button in Alert::prompt
5072 2003-04-26 John Levon <levon@movementarian.org>
5077 * LyXAction.C: add LFUN_INSET_SETTINGS
5079 * lyxfunc.C: don't enable tabular-feature when there's
5080 just any locking inset
5082 2003-04-26 John Levon <levon@movementarian.org>
5084 * bufferlist.C: re-add Cancel to buffer close question
5086 * lyxfunc.C: fix import UI a bit
5088 2003-04-25 John Levon <levon@movementarian.org>
5090 * gettext.C: remove the broken asserts for now
5092 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5094 * messages.C: make case where setlocale cannot comply work better.
5096 * buffer.C (updateDocLang): new function
5097 (changeLanguage): use it
5100 * text2.C (setCounter): use B_ a bit.
5102 * lyxlayout.C (Read): be sure to trim the label strings.
5104 * messages.C (Messages): fix typo in comment
5106 * buffer.C (readFile): set message_ after file is loaded.
5107 (makeDocBookFile): remove double return
5108 (changeLanguage): reset message_ upon language change.
5109 (B_): new func, use this to get translated buffer strings.
5111 * main.C: add myself and Jean Marc as authors.
5113 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5115 * messages.[hC]: pimplify Messages, and three different pimpls to be
5116 used in different circumstances.
5118 * gettext.[Ch]: change for use with new message code.
5120 2003-04-24 André Pönitz <poenitz@gmx.net>
5122 * factory.C: support for eqref
5124 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5126 * messages.[Ch]: add missing char
5128 * Makefile.am (lyx_SOURCES): add messages.[Ch]
5130 * messages.[Ch]: New files
5132 2003-04-18 John Levon <levon@movementarian.org>
5136 * BufferView_pimpl.C:
5140 * text2.C: remove layout-copy/paste (bug 778)
5142 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5144 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5146 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5148 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5149 if they succeed. Act accordingly.
5151 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5153 * text2.C (setCharFont): adjust
5154 (setCounter): adjust
5155 (insertStringAsLines): adjust
5157 * text.C (leftMargin): adjust
5158 (setHeightOfRow): adjust
5160 * rowpainter.C (paintFirst): adjust
5163 * paragraph_funcs.C (depthHook): ParagraphList::iterators
5165 (isFirstInSequence): ditto
5166 (getEndLabel): ditto
5169 * paragraph.C (getParLanguage): comment out some hard stuff.
5171 * buffer.C (insertStringAsLines): take a ParagraphList as arg
5173 (simpleDocBookOnePar): ditto
5174 (makeDocBookFile): use ParagraphList::iterator
5176 * CutAndPaste.C (pasteSelection): adjust
5178 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5180 * text2.C (getFont): adjust
5181 (getLayoutFont): adjust
5182 (getLabelFont): adjust
5184 * paragraph_funcs.C (TeXOnePar): adjust
5186 * buffer.C (simpleLinuxDocOnePar): adjust
5187 (simpleDocBookOnePar): adjust
5189 * CutAndPaste.C (pasteSelection): adjust
5191 * BufferView.C (getEncoding): adjust
5193 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5195 2003-04-16 John Levon <levon@movementarian.org>
5197 * lyxfind.C: use parlist stuff for search/changes
5199 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5201 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5203 * text2.C (deleteEmptyParagraphMechanism): adjust
5205 * text2.[Ch] (ownerParagraph): delete func (both of them
5207 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5209 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5211 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5213 * ParagraphList.C: prepare for NO_NEXT
5215 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5217 * text2.C (getFont): adjust
5218 (getLayoutFont): adjust
5219 (getLabelFont): adjust
5221 * paragraph.C (getFont): adjust
5222 (getLabelFont): adjust
5223 (getLayoutFont): adjust
5225 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5227 2003-04-15 John Levon <levon@movementarian.org>
5231 * lyx_main.C: handle Include in .ui files
5233 2003-04-15 John Levon <levon@movementarian.org>
5235 * MenuBackend.C: make the doc files length shorter
5238 * ToolbarBackend.C: handle toolbar placement flags,
5241 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5243 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5246 * paragraph_funcs.C (TeXOnePar): adjust
5248 * paragraph.C (getLabelFont): add outerfont arg, adjust
5249 (getLayoutFont): ditto
5250 (simpleTeXOnePar): adjust
5252 * paragraph_pimpl.C (realizeFont): delete func
5254 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
5256 * text2.C (beforeFullRowInset): added a bad getchar check, removed
5257 row argument, constify cur argument.
5259 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5261 * text2.C (getFont): adjust
5262 (getLayoutFont): adjust
5263 (getLabelFont): adjust
5265 * paragraph_funcs.C (TeXOnePar): adjust
5266 (outerFont): new func...
5267 (realizeFont): ...moved out from here, changed this to facilitate
5270 * paragraph.C (getFont): take outerfont as arg, adjust
5271 (simpleTeXOnePar): add outerfont arg, adjust
5273 * buffer.C (simpleLinuxDocOnePar): adjust
5274 (simpleDocBookOnePar): adjust
5276 * CutAndPaste.C (pasteSelection): adjust
5278 * BufferView.C (getEncoding): adjust
5280 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5282 * text2.C (setCharFont): adjust
5283 (setCounter): adjust
5285 * text.C (leftMargin): adjust
5286 (setHeightOfRow): adjust
5288 * rowpainter.C (paintFirst): adjust
5291 * paragraph_pimpl.C (realizeFont): adjust
5293 * paragraph.C (isFirstInSequence): move from here...
5294 * paragraph_funcs.C (isFirstInSequence): ...to here
5296 * paragraph.C (outerHook): move from here...
5297 * paragraph_funcs.C (outerHook): ...to here
5299 * paragraph.C (depthHook): move from here...
5300 * paragraph_funcs.C (depthHook): ...to here
5302 * paragraph.C (getEndLabel): move from here...
5303 * paragraph_funcs.C (getEndLabel): ...to here
5305 * text2.C (realizeFont): move from here...
5306 * paragraph_funcs.C (realizeFont): ...to here
5308 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5310 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5312 2003-04-14 Angus Leeming <leeming@lyx.org>
5314 * LColor.[Ch]: scrap LColor mathcursor.
5316 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5318 * lyxlex.[Ch] (text): delete function
5319 * trans.C (Load): adjust
5320 * paragraph_funcs.C (readParToken): adjust
5322 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5324 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5325 vector<char> instead of a char[].
5327 * lyxlex_pimpl.C (getString): adjust
5329 (lex): use getString
5333 * lyxlex.C (text): use pimpl_->getString()
5337 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5339 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5340 (makeFontEntriesLayoutSpecific): temp var for par.size()
5341 (setLayout): temp var for ownerParagraphs().end()
5342 (fullRebreak): temp var for rows().end()
5343 (selectionAsString): temp var for boost::next(startpit), realize
5344 that the while really is a regular for loop.
5345 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5346 setCursor in one place.
5347 (setParagraph): temp vr for ownerParagraphs().end()
5348 (updateCounters): make the while loop a for loop
5349 (cutSelection): temp var for ownerParagraphs().end()
5350 (updateInset): make the do {} while() a regular for loop
5351 (getCursorX): use temp vars
5352 (setCurrentFont): use temp vars
5353 (getColumnNearX): use temp vars
5355 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5357 * text.C (transformChar): use temp var for getChar
5358 (computeBidiTables): use temp var for row->par()
5359 (fill): move temp vars for row->par() and pit->layout() earlier in
5361 (labelFill): use temp var for row->par()
5362 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5363 asc and desc, realize that pit never changes and that firstpit is
5364 just a duplicate and not needed. Exchange rit->par() with pit in a
5366 (breakAgain): use a temp var for boost::next(rit)
5367 (breakAgainOneRow): ditto
5368 (breakParagraph): use a temp var for rows().begin()
5369 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5370 (cursorRightOneWord): use temp var for cursor.par() and
5371 cursor.pos(), remove usage of tmpcursor.
5372 (cursorLeftOneWord): use temp var for cursor.par() and
5373 cursor.pos() only set cur at end of function.
5375 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5377 * text.C, text2.C: exchange all usage of Paragraph::next with
5378 boost::next(ParagraphList::iterator)
5380 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5382 * text2.C (cursorTop): simplify implementation
5383 (cursorBottom): ditto
5384 (setParagraph): use ParagraphList::iterator
5385 (setCurrentFont): adjust
5386 (getColumnNearX): adjust
5387 (cursorRight): adjust
5388 (cursorLeft): remove usage of Paragraph::previous
5389 (cursorUpParagraph): ditto
5390 (deleteEmptyParagraphMechanism): slight cleanup
5392 * text.C (isBoundary): take a Paragraph const & instead of a
5394 (addressBreakPoint): ditto
5395 (leftMargin): remove usage of Paragraph::previous.
5396 (setHeightOfRow): ditto
5397 (cursorLeftOneWord): ditto
5398 (selectNextWordToSpellcheck): ditto
5401 (breakParagraph): remove one usage of Paragraph::next
5402 (redoParagraph): ditto
5403 (acceptChange): ditto
5404 (insertChar): adjust
5405 (rowBreakPoint): adjust
5407 * bufferview_funcs.C (toggleAndShow): adjust
5409 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
5411 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5412 methods to access it.
5414 * text.C: Added updateRowPositions to compute all row positions.
5415 Make top_y and getRowNearY() to use the cached y position
5417 2003-04-11 John Levon <levon@movementarian.org>
5419 * text.C (rowBreakPoint): reintroduce the labelEnd
5420 checks, code copied from the row fill stuff. Deep voodoo.
5422 * text.C (fill): add a comment and debugging for the
5425 2003-04-11 John Levon <levon@movementarian.org>
5427 * text.C: make sure fullrow insets get wrapped to the next line,
5428 even when they're in a manual label
5430 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5432 * text2.C (insertParagraph): make it take ParagraphList::iterator
5434 (setLayout): make it return ParagraphList::iterator
5435 (redoParagraphs): ditto
5437 (checkParagraph): ditto
5439 * text.C (getRow): make getrow take ParagraphList::iterator as arg
5441 * text2.C: adjust several funcs.
5442 (realizeFont): take a ParagraphList::iterator as arg.
5443 (getLayoutFont): ditto
5444 (getLabelFont): ditto
5445 (setCharFont): ditto
5447 * text.C: adjust several funcs.
5449 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5451 * text.C (selectNextWordToSpellcheck): don't accidentally
5454 2003-04-10 John Levon <levon@movementarian.org>
5456 * ToolbarBackend.C (getIcon): special handling for
5459 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5461 * text2.C (cursorRight): a getChar assert fixed
5463 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5465 * text2.C (getFont): change to take a ParagraphList::iterator
5466 instead of Paragraph*
5467 Adjust several functions.
5469 * text.C (transformChar): change to take a ParagraphList::iterator
5470 instead of Paragraph*
5471 (singleWidth): ditto
5472 Adjust several functions.
5474 * rowpainter.C: adjust several functions
5475 * rowpainter.h:store a ParagraphList::iterator and not a
5479 2003-04-09 John Levon <levon@movementarian.org>
5484 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5485 and the "help" bits as well
5487 2003-04-09 John Levon <levon@movementarian.org>
5490 * ToolbarBackend.C: allow multiple toolbars
5492 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5494 * undo_funcs.C (setCursorParUndo): adjust
5496 * text_funcs.C (transposeChars): adjust
5498 * text3.C (gotoNextInset): adjust
5501 * text2.C (setLayout): adjust
5502 (changeDepth): adjust
5504 (redoParagraphs): adjust
5505 (selectionAsString): adjust
5506 (setParagraph): adjust
5507 (insertInset): adjust
5508 (cutSelection): adjust
5509 (copySelection): adjust
5510 (pasteSelection): adjust
5511 (insertStringAsLines): adjust
5512 (updateInset): adjust
5513 (setCursor): change to take a ParagraphList::iterator parameter
5514 (setCursorIntern): change to take a ParagraphList::iterator parameter
5515 (setCurrentFont): adjust
5516 (cursorLeft): adjust
5517 (cursorRight): adjust
5518 (deleteEmptyParagraphMechanism): adjust
5520 * text.C (breakParagraph): adjust
5521 (insertChar): adjust
5522 (acceptChange): adjust
5523 (rejectChange): adjust
5524 (selectNextWordToSpellcheck): adjust
5525 (changeCase): adjust
5529 * lyxfind.C (SearchForward): adjust
5530 (SearchBackward): adjust
5531 (nextChange): adjust
5533 * lyxcursor.C (par): adjust
5535 * lyxcursor.h: store a ParagraphList::iterator instead of a
5538 * lyx_cb.C (getPossibleLabel): adjust
5540 * bufferview_funcs.C (toggleAndShow): adjust
5542 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5545 * BufferView.C (removeAutoInsets): adjust
5546 (lockedInsetStoreUndo): adjust
5548 2003-04-09 John Levon <levon@movementarian.org>
5550 * ToolbarBackend.C: try icon without argument
5551 if with argument fails
5553 2003-04-08 John Levon <levon@movementarian.org>
5556 * ToolbarBackend.C: add getIcon(), handle tooltip,
5557 and change from "Icon" to "Item".
5559 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5561 * BufferView.C (lockInset): another bad getchar crunched
5563 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5565 * text2.C (changeDepth): do not setUndo on test_only (make undo work
5568 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
5570 * lyxfind.C (searchForward, searchBackwards): bug 782
5572 2003-04-07 John Levon <levon@movementarian.org>
5574 * paragraph.C: remove dead comment
5576 * text.C: remove troublesome depth-fiddling code
5577 in leftMargin() and rightMargin() (bug 1017)
5579 * text.C: fix breaking of rows in nested lists
5582 * text2.C (updateCounters): fix up depth values
5585 2003-04-07 John Levon <levon@movementarian.org>
5587 * BufferView_pimpl.C: clear message when doc finishes resizing,
5588 and after a mouse event
5590 * lyxfunc.C: clear message after exiting inset
5592 2003-04-07 John Levon <levon@movementarian.org>
5594 * bufferview_funcs.C: show math status not outside
5595 status in the statusbar
5597 2003-04-07 John Levon <levon@movementarian.org>
5599 * lyxfunc.C: note status changed after a depth change
5601 2003-04-04 Angus Leeming <leeming@lyx.org>
5603 * LaTeX.h: move AuxInfo operator==, != out of line.
5604 Remove LaTeX virtual destructor; nothing derives from it.
5605 Move operator()() out of public area and rename it startscript().
5606 Change protected for private.
5608 2003-04-04 Angus Leeming <leeming@lyx.org>
5611 * text2.C: remove unneeded #includes.
5613 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5615 * text2.C (dEPM): fix the heigth of the next row
5617 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5619 * text.C: squashed an invalid getChar requester + some ws changes
5621 2003-04-03 John Levon <levon@movementarian.org>
5623 * bufferview_funcs.h:
5624 * bufferview_funcs.C:
5627 * text2.C: make getStatus work for the env depth lfuns
5629 2003-04-03 John Levon <levon@movementarian.org>
5631 * bufferview_funcs.h:
5632 * bufferview_funcs.C:
5635 * text2.C: parlistize decDepth(), by merging it with incDepth()
5637 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5639 * lyxrow.h: store a ParagraphList::iterator instead of a
5640 Paragraph* and adjust other class functions to suit.
5642 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5645 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5647 * text2.C (setCursor): do not anchor to cursor row for the time being
5649 2003-04-02 John Levon <levon@movementarian.org>
5656 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5658 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5660 * paragraph.h: make ParagraphList and ParagraphList::iterator
5661 friends of Paragraph.
5663 * buffer.C (makeLinuxDocFile): move towards ParagraphList
5665 * ParagraphList.C: Use the private next_ and previous_ from
5668 2003-04-01 John Levon <levon@movementarian.org>
5672 * Makefile.am: rename, remove defaults gunk
5675 * MenuBackend.C: remove defaults gunk
5678 * Languages.C: remove defaults gunk
5681 * lyx_main.C: error out if files couldn't be found.
5683 2003-04-02 John Levon <levon@movementarian.org>
5685 * text2.C: make incDepth() use parlist
5687 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5689 * undo_funcs.C (firstUndoParagraph): adjust
5691 * text3.C (gotoInset): adjust
5692 (dispatch): adjust, and rewrite loop.
5694 * text2.C (init): adjust, and rewrite loop.
5695 (redoParagraphs): adjust
5696 (updateInset): adjust, and rewrite loop.
5697 (deleteEmptyParagraphMechanism): adjust
5699 * tabular.C (LyXTabular): adjust
5700 (SetMultiColumn): adjust
5703 * lyxtext.[Ch] (ownerParagraph): delete function
5704 (ownerParagraphs): new function returns a ParagraphList.
5706 * BufferView.C (removeAutoInsets): adjust
5707 (insertErrors): adjust
5708 (setCursorFromRow): adjust
5710 2003-04-01 Angus Leeming <leeming@lyx.org>
5712 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5715 2003-04-02 John Levon <levon@movementarian.org>
5721 * text_funcs.C: make transposeChars a free function
5723 * lyxrow_funcs.C: remove wrong comment
5725 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5728 * rowpainter.C: adjust
5733 * lyxrow_funcs. [Ch]: new files
5735 * lyxrow.[Ch]: remove next and previous pointers
5736 (next,previous): remove accessor functions
5737 (isParEnd): move to lyxrow_funcs
5738 (lastPos): move to lyxrow_funcs
5739 (nextRowIsAllInset): move to lyxrow_funcs
5740 (lastPrintablePos): move to lyxrow_funcs
5741 (numberOfSeparators): move to lyxrow_funcs
5742 (numberOfHfills): move to lyxrow_funcs
5743 (numberOfLabelHfills): move to lyxrow_funcs
5744 (hfillExpansion): move to lyxrow_funcs
5748 * bufferview_funcs.C (toggleAndShow): adjust
5750 * RowList.h: Remove class RowList from file leave just a
5753 * RowList.C: delete file
5755 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5758 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5760 * text3.C (cursorPrevious): adjust
5761 (cursorNext): adjust
5764 * text2.C (redoHeightOfParagraph): adjust
5765 (redoDrawingOfParagraph): adjust
5768 * text.C (breakParagraph): adjust
5769 (insertChar): adjust
5772 * rowpainter.C (RowPainter): adjust
5773 (leftMargin): simplify and adjust
5774 (most rowpainter functions): adjust.
5776 * rowpainter.h: store the row as RowList::iterator not as Row*
5778 * lyxcursor.C (row): taka RowList::iterator as arg
5781 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5784 2003-04-01 Angus Leeming <leeming@lyx.org>
5786 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5787 stuff like bool Bool.
5789 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5791 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5794 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5796 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5799 * lyxtext.h (rows): drop one version and leve a const variant that
5800 returns a RowList::iterator.
5802 2003-03-31 Angus Leeming <leeming@lyx.org>
5804 * text.C (fill): ensure that the signature is the same as that in the
5807 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
5809 * text2.C (redoParagraphs): adjust
5810 (updateCounters): adjust
5811 (checkParagraph): adjust
5812 (getColumnNearX): adjust and reformat a bit.
5814 * text.C (top_y): adjust
5816 (leftMargin): adjust
5817 (prepareToPrint): adjust
5819 (getRowNearY): adjust
5821 * lyxtext.h: make rowlist_ mutable.
5823 * RowList.h: add const_iterator
5824 * RowList.C: adjust for RowList::const_iterator.
5826 * text2.C (getCursorX): make it take a RowList::iterator as arg,
5829 2003-03-31 John Levon <levon@movementarian.org>
5832 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5834 * lyx_main.C: set default fonts from using lyx_gui funcs
5836 * exporter.C: pdf_mode moved from lyxrc
5839 * lyxfunc.C: changes from above
5841 2003-03-31 John Levon <levon@movementarian.org>
5843 * lyx_main.C: fix to the last fix
5845 2003-03-31 John Levon <levon@movementarian.org>
5847 * bufferlist.C: "Load original" -> "Load Original"
5853 * format.C: more Alert cleanups
5855 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5857 * text2.C (removeParagraph): make it take a RowList::iterator as
5859 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5860 (postRowPaint): make it take a RowList::iterator as arg, adjust.
5862 * text.C (anchor_row): make it take a RowList::iterator as arg,
5864 (computeBidiTables): make it take a const reference to Row instead
5865 of Row pointer, adjust.
5866 (leftMargin): make it take a RowList::iterator as arg, adjust.
5867 (rowBreakPoint): adjust
5868 (breakAgainOneRow): make it take a RowList::iterator as arg,
5870 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5872 * bufferview_funcs.C (toggleAndShow): adjust
5874 2003-03-30 John Levon <levon@movementarian.org>
5878 * boost-inst.C: moved to support
5880 * several files: changes as a result
5882 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5884 * text2.C (LyXText): adjust.
5886 (removeRow): make it take a RowList::iterator as arg, adjust.
5887 (fullRebreak): adjust
5888 (deleteEmptyParagraphMechanism): adjust
5889 (clearPaint): adjust
5892 * text.C (top_y): adjust
5893 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5894 (breakAgain): make it take a RowList::iterator as arg, adjust.
5895 (breakParagraph): adjust
5896 (insertChar): adjust
5899 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5900 need_break_row, and refresh_row.
5902 * text3.C (dispatch): adjust
5904 * text2.C (checkParagraph): adjust
5906 (setCursorFromCoordinates): adjust
5908 * text.C (top_y): adjust
5910 (getRow): make it return a RowList::iterator, adjust
5911 (getRowNearY): make it return a RowList::iterator, adjust
5913 * text2.C (init): adjust
5914 (insertRow): remove function
5915 (insertParagraph): adjust
5916 (redoParagraphs): adjust
5917 (fullRebreak): adjust
5918 (updateCounters): adjust
5920 * text.C (top_y): rewrite to use RowList iterators.
5922 (setHeightOfRow): rewrite to sue RowList iterators.
5923 (appendParagraph): adjust
5924 (breakAgain): adjust
5925 (breakAgainOneRow): adjust
5926 (breakParagraph): adjust
5928 (getRowNearY): adjust, and remove commented code.
5930 * lyxtext.h (firstRow): delete function
5931 (lastRow): delete function
5932 (rows): new function (const and non-const versions.)
5933 (insertRow): delete function
5935 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5937 2003-03-29 John Levon <levon@movementarian.org>
5939 * BufferView_pimpl.C: always update scrollbar top
5940 because pasting text when we're anchored could mean we
5941 miss an update altogether
5943 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5945 * text2.C (init): use rowlist_.end() and not 0.
5946 (insertRow): change to take a RowList::iterator as arg, adjust
5948 (insertParagraph): change to take a RowList::iterator as arg,
5950 (redoParagraphs): remove some debug msgs.
5952 * text.C (appendParagraph): change to take a RowList::iterator
5953 arg, adjust for this.
5954 (breakAgain): add an assert
5955 (breakAgainOneRow): ditto
5957 2003-03-29 John Levon <levon@movementarian.org>
5959 * text2.C: do not clear selection after inc/decDepth
5962 2003-03-29 John Levon <levon@movementarian.org>
5965 * buffer.C: fix broken strerrors according to Lars
5967 2003-03-29 John Levon <levon@movementarian.org>
5969 * converters.C: more Alert cleanups
5971 2003-03-29 John Levon <levon@movementarian.org>
5973 * bufferview_funcs.C: remove pointless Alert
5975 * buffer.C: fix confusing error message when
5976 a template is chmoded 000
5978 2003-03-29 John Levon <levon@movementarian.org>
5982 * BufferView_pimpl.C: Alert fixes
5986 * tabular-old.C: remove unused table compat reading
5988 2003-03-29 John Levon <levon@movementarian.org>
5993 * lyx_cb.C: more Alert cleanups
5995 * lyxfunc.C: don't allow chktex if not latex document
5997 2003-03-29 John Levon <levon@movementarian.org>
6001 * buffer.C: warnings pushed down from support/,
6004 2003-03-29 John Levon <levon@movementarian.org>
6006 * lyxfunc.C: safety check for C-r (revert)
6008 2003-03-29 John Levon <levon@movementarian.org>
6011 * bufferlist.C: several UI fixes using Alert::prompt.
6012 Fix the pointless looping quit code. Fix stupid revert
6017 * lyx_cb.C: use Alert::prompt
6019 * lyx_main.C: remove a silly question
6021 * lyxfunc.C: remove a couple of silly questions,
6024 2003-03-28 John Levon <levon@movementarian.org>
6026 * text2.C: fix bug 974 (End on empty par)
6028 2003-03-28 John Levon <levon@movementarian.org>
6030 * BufferView_pimpl.C:
6032 * lfuns.h: remove do-nothing math greek lfuns
6034 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6036 * lyxgluelength.h (isValidGlueLength): add default arg on
6037 parameter 2. Remove default arg from friend in class.
6039 * lyxlength.h (isValidLength): add default arg on parameter 2.
6040 Remove default arg from friend in class.
6042 * text2.C (LyXText): adjust, initialize refresh_row.
6046 (insertParagraph): adjst
6047 (redoParagraphs): adjust
6048 (fullRebreak): adjust
6049 (updateCounters): adjust
6050 (deleteEmptyParagraphMechanism): first attempt at fixing a
6053 * text.C (top_y): adjust
6054 (setHeightOfRow): adjust
6056 (getRowNearY): adjust
6058 * lyxtext.h: include RowList.h
6059 (~LyXText): not needed anymore, deleted.
6060 (firstRow): modify for RowList
6061 (lastRow): new function
6062 Delete firstrow and lastrow class variables, add a Rowlist
6063 rowlist_ class variable.
6065 * lyxrow.C (lastPos): use empty() and not !size() to check if a
6068 * RowList.C (insert): fix case where it == begin().
6070 2003-03-26 Angus Leeming <leeming@lyx.org>
6072 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6073 the thesaurus dialog.
6075 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6077 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6079 * RowList.[Ch]: new files
6081 * ParagraphList.C (erase): handle the case where it == begin
6084 2003-03-25 John Levon <levon@movementarian.org>
6088 * aspell.C: add new aspell support
6091 * lyxrc.C: Make use_pspell be use_spell_lib. Always
6094 2003-03-25 Angus Leeming <leeming@lyx.org>
6097 * LyXAction.C (init): new LFUN_INSET_INSERT.
6099 * BufferView_pimpl.C (dispatch): split out part of the
6100 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6102 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6105 2003-03-25 Angus Leeming <leeming@lyx.org>
6107 * lyxfunc.C (dispatch): changes to the Dialogs interface.
6109 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
6112 * text3.C: remove useless row->height(0)
6114 2003-03-25 John Levon <levon@movementarian.org>
6118 * text3.C: rename the refreshing stuff to better names
6120 2003-03-24 John Levon <levon@movementarian.org>
6122 * BufferView_pimpl.h:
6123 * BufferView_pimpl.C: update layout choice on a mouse
6126 2003-03-23 John Levon <levon@movementarian.org>
6128 * Makefile.am: fix commandtags.h reference
6130 2003-03-22 John Levon <levon@movementarian.org>
6132 * BufferView_pimpl.C:
6137 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6139 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
6142 * text.C: take the rtl methods out of line
6144 2003-03-21 André Pönitz <poenitz@gmx.net>
6146 * metricsinfo.[Ch]: new files containing structures to be passed around
6147 during the two-phase-drawing...
6149 2003-03-21 André Pönitz <poenitz@gmx.net>
6151 * lyxtextclass.C: read 'environment' tag.
6153 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
6155 * text2.C (removeRow): fix bug 964
6157 2003-03-20 John Levon <levon@movementarian.org>
6161 * text2.C: paint cleanups. Inset::update() dropped font
6164 2003-03-19 John Levon <levon@movementarian.org>
6166 * lyxfunc.C: only fitcursor/markDirty if available()
6168 2003-03-19 John Levon <levon@movementarian.org>
6170 * commandtags.h: rename to ...
6172 * lfuns.h: ... this, and renumber / cleanup
6174 2003-03-19 John Levon <levon@movementarian.org>
6176 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6177 fit the cursor after an lfun
6181 * BufferView_pimpl.h:
6182 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6184 * LyXAction.C: layout-character should have ReadOnly
6186 * ParagraphParameters.C:
6188 * bufferview_funcs.C:
6195 * undo_funcs.C: changes from above
6197 2003-03-18 John Levon <levon@movementarian.org>
6199 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6200 remove it from update()
6202 * lyxfunc.C: update layout choice after an lfun
6204 * text3.C: remove extra updateLayoutChoice()s
6206 2003-03-18 John Levon <levon@movementarian.org>
6208 * text.C: top_y change means full repaint, fix
6209 a drawing bug with cursor movement
6211 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6215 * text2.C: anchor row on setCursor
6217 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6219 * lyxtext.h: remove almost all mutable keywords
6222 * text3.C: remove const keywords accordingly
6224 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6226 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6228 (TeXEnvironment): ditto
6231 2003-03-17 John Levon <levon@movementarian.org>
6233 * text.C (rowBreakPoint): remove attempt to fix displayed
6234 math insets inside a manual label
6236 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6238 * lyxtext.h: remove BufferView* as first arg from almost all class
6240 * other files: adjust.
6242 2003-03-17 John Levon <levon@movementarian.org>
6246 * text2.C: more paint cleanups
6248 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6251 * rowpainter.C: remove "smart" background painting code
6253 2003-03-16 John Levon <levon@movementarian.org>
6258 * text3.C: add helper functions for setting refresh_row/y
6260 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
6262 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6263 newline inset which *can* get inserted in the pass_thru layouts.
6264 This is primarily for literate documents.
6266 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
6268 * buffer.C: increment LYX_FORMAT to 223
6270 2003-03-14 André Pönitz <poenitz@gmx.net>
6272 * textclass.h: prepare for environment handling, ws changes
6273 * lyxlayout.C: read latexheader and latexfooter tags
6275 2003-03-14 John Levon <levon@movementarian.org>
6277 * text2.C: rewrite ::status() a bit
6279 2003-03-13 John Levon <levon@movementarian.org>
6281 * lyxtext.h: add some docs
6283 2003-03-13 John Levon <levon@movementarian.org>
6288 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6290 2003-03-13 John Levon <levon@movementarian.org>
6292 * text3.C: fix appendix redrawing
6294 2003-03-13 John Levon <levon@movementarian.org>
6296 * text.C (setHeightOfRow):
6298 * rowpainter.C: make appendix mark have the text
6299 "Appendix" so the user knows what it is
6302 * LColor.C: s/appendixline/appendix/ from above
6304 2003-03-13 John Levon <levon@movementarian.org>
6306 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6308 * text.C: fix a getChar(pos) bug properly
6310 2003-03-13 Angus Leeming <leeming@lyx.org>
6313 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6314 Probably only temporary. Let's see how things pan out.
6316 * BufferView.C (unlockInset):
6317 * BufferView_pimpl.C (fitCursor):
6318 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6320 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6321 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6323 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6324 new functions that convert ParagraphParameters to and from a string.
6326 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6327 BufferView::Pimpl's dispatch.
6328 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6330 2003-03-13 André Pönitz <poenitz@gmx.net>
6334 * factory.C: make it aware of InsetEnv
6336 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6338 * text2.C (setCursor): never ask for one past last
6339 (setCursor): add some debugging messages.
6341 * text.C (singleWidth): never ask for one past last
6342 (singleWidth): ditto
6344 (rightMargin): ditto
6345 (rowBreakPoint): ditto
6346 (setHeightOfRow): ditto
6347 (prepareToPrint): ditto
6349 * rowpainter.C (paintBackground): never ask for one past last
6350 (paintText): never ask for one past last
6352 * paragraph_pimpl.C (getChar): make the assert stricter, never
6353 allow the one past last pos to be taken
6355 * paragraph.C (getChar): ws changes only
6357 * lyxrow.C (nextRowIsAllInset): never ask for one past last
6358 (numberOfSeparators): ditto
6359 (numberOfHfills): ditto
6361 2003-03-12 John Levon <levon@movementarian.org>
6367 * paragraph_funcs.C: fix per-buffer authorlists
6369 2003-03-12 John Levon <levon@movementarian.org>
6371 * text.C: fix newline in right address
6373 2003-03-12 Angus Leeming <leeming@lyx.org>
6375 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6376 duplicate those in LyXFunc::dispatch.
6380 * ToolbarDefaults.C:
6381 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6382 Add LFUN_FONTFREE_UPDATE.
6384 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6385 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6387 * bufferview_func.[Ch]: several new functions to facilliate
6388 transfer of data to and from the character dialog.
6390 2003-03-12 John Levon <levon@movementarian.org>
6395 * paragraph_funcs.C:
6396 * paragraph_pimpl.C:
6400 * text3.C: remove META_NEWLINE in favour of an inset
6403 * rowpainter.C: remove paintNewline (done by inset)
6405 2003-03-12 John Levon <levon@movementarian.org>
6407 * paragraph_pimpl.C: complain about bad getChar()s
6408 for a while at least
6410 2003-03-12 John Levon <levon@movementarian.org>
6413 * buffer.C: move paragraph read into a separate function,
6414 a little renaming to reflect that.
6417 * bufferparams.C: remove the author_ids map, not necessary now
6420 * factory.C: moved Buffer::readInset to here
6422 * paragraph_funcs.h:
6423 * paragraph_funcs.C: readParagraph free function moved from
6426 * tabular.C: name change
6428 2003-03-12 John Levon <levon@movementarian.org>
6431 * ParagraphParameters.C: move par params input to
6434 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6435 behave like a normal read from the stream wrt reading
6436 a line vs. a \\token
6438 2003-03-12 John Levon <levon@movementarian.org>
6441 * ParagraphParameters.h:
6442 * ParagraphParameters.C: move output code to a
6445 2003-03-12 John Levon <levon@movementarian.org>
6447 * BufferView.C (insertLyXFile):
6450 * tabular.C: use a parlist iterator for creating the
6453 2003-03-12 John Levon <levon@movementarian.org>
6455 * buffer.C: make current_change static local not
6458 2003-03-12 John Levon <levon@movementarian.org>
6460 * buffer.C: fix insertStringAsLines for change tracking
6462 2003-03-12 John Levon <levon@movementarian.org>
6469 * bufferparams.C: move author list into params. Rename some
6470 functions. Move the header reading into a separate token
6471 loop. Move the header token reading into BufferParams.
6473 2003-03-12 John Levon <levon@movementarian.org>
6475 * changes.C: put debug inside lyxerr.debugging() checks
6477 2003-03-11 André Pönitz <poenitz@gmx.net>
6479 * factory.C: make it aware of InsetHFill
6481 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6483 * buffer.C (latexParagraphs): move function from here...
6484 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6487 2003-03-10 Angus Leeming <leeming@lyx.org>
6489 * LyXAction.C (init): fix bug in poplating array with multiple entries
6490 with the same LFUN (spotted by JMarc).
6492 2003-03-10 John Levon <levon@movementarian.org>
6495 * text2.C: move getColumnNearX() near its
6498 2003-03-10 John Levon <levon@movementarian.org>
6500 * text.C: fix break before a minipage
6502 2003-03-10 John Levon <levon@movementarian.org>
6504 * text.C: fix the last commit
6506 2003-03-09 John Levon <levon@movementarian.org>
6510 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6511 bug 365 (don't break before insets unless needed). Don't
6512 return a value > last under any circumstances.
6514 2003-03-09 Angus Leeming <leeming@lyx.org>
6516 * BufferView_pimpl.C (trackChanges, dispatch): call
6517 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6519 2003-03-09 Angus Leeming <leeming@lyx.org>
6521 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6522 than Dialogs::showAboutlyx().
6524 2003-03-09 Angus Leeming <leeming@lyx.org>
6526 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6527 than Dialogs::showTabularCreate().
6529 2003-03-09 John Levon <levon@movementarian.org>
6533 * text2.C: 3rd arg to nextBreakPoint was always the same.
6536 2003-03-08 John Levon <levon@movementarian.org>
6543 * text2.C: Remove the "main" bit from the "main body"
6546 2003-03-08 John Levon <levon@movementarian.org>
6548 * text.C (leftMargin): The left margin of an empty
6549 manual label paragraph should not include the label width
6552 * text.C (prepareToPrint): don't attempt to measure hfills
6553 for empty manual label paragraphs - the answer should be 0
6555 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6557 * CutAndPaste.C: remove commented code and reindent.
6559 2003-03-08 John Levon <levon@movementarian.org>
6562 * lyxfunc.C: move reloadBuffer()
6565 * BufferView.C: to here
6567 * lyxvc.C: add comment
6570 * vc-backend.C: call bv->reload() to avoid
6571 getStatus() check on MENURELOAD
6573 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
6575 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6576 to an old format .dep file.
6578 2003-03-07 Angus Leeming <leeming@lyx.org>
6580 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6581 when the LFUN_MOUSE_RELEASE should have been handled by
6582 inset->localDispatch.
6584 2003-03-07 Angus Leeming <leeming@lyx.org>
6586 * BufferView_pimpl.C (dispatch):
6587 * LyXAction.C (init):
6588 * ToolbarDefaults.C (init):
6590 * lyxfunc.C (getStatus):
6591 remove LFUN_INSET_GRAPHICS.
6593 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6595 2003-03-07 Angus Leeming <leeming@lyx.org>
6598 * LyXAction.C (init):
6599 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6601 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6604 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6606 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6607 localDispatch method LFUN_INSET_DIALOG_UPDATE.
6609 2003-03-07 Angus Leeming <leeming@lyx.org>
6611 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6614 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6616 * ParagraphList.C (front): new function
6619 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
6621 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6622 and top_row_offset_. removed var first_y.
6624 * text2.C (LyXText, removeRow):
6626 * BufferView_pimpl.C:
6627 use these methods instead of using first_y
6629 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6631 * text2.C (pasteSelection): adjust for checkPastePossible
6633 * CutAndPaste.C: remove Paragraph * buf and replace with
6634 ParagraphList paragraphs.
6635 (DeleteBuffer): delete
6636 (cutSelection): change the tc type to textclass_type
6637 (copySelection): change the tc type to textclass_type
6638 (copySelection): adjust for ParagraphList
6639 (pasteSelection): change the tc type to textclass_type
6640 (pasteSelection): adjust for Paragraphlist
6641 (nrOfParagraphs): simplify for ParagraphList
6642 (checkPastePossible): simplify for ParagraphList
6643 (checkPastePossible): remove unused arg
6645 * ParagraphList.C (insert): handle the case where there are no
6648 * CutAndPaste.h: make CutAndPaste a namespace.
6650 * text3.C (dispatch): adjust
6652 * text.C (breakParagraph): add a ParagraphList as arg
6654 * paragraph_funcs.C (breakParagraph): change to take a
6655 BufferParams and a ParagraphList as args.
6656 (breakParagraphConservative): ditto
6657 (mergeParagraph): ditto
6658 (TeXDeeper): add a ParagraphList arg
6659 (TeXEnvironment): ditto
6662 * buffer.C (readLyXformat2): adjust
6663 (insertStringAsLines): adjust
6664 (latexParagraphs): adjust
6666 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6667 (cutSelection): adjust
6668 (pasteSelection): adjust
6670 * BufferView_pimpl.C (insertInset): adjust
6672 2003-03-05 Angus Leeming <leeming@lyx.org>
6675 * LyXAction.C (init):
6676 * BufferView_pimpl.C (dispatch):
6677 * lyxfunc.C (getStatus):
6678 remove LFUN_CHILD_INSERT.
6680 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6682 2003-03-05 Angus Leeming <leeming@lyx.org>
6685 * LyXAction.C (init):
6686 * src/factory.C (createInset):
6687 * lyxfunc.C (getStatus):
6688 * text3.C (dispatch):
6689 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6691 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6693 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6695 * ParagraphList.C (insert): handle insert right before end()
6696 (erase): fix cases where it can be first or last paragraph.
6698 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6700 * paragraph_funcs.C (TeXEnvironment): remove all usage of
6701 Paragraph::next and Paragraph::previous
6704 * text.C (breakParagraph): adjust
6706 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6707 BufferParams& as arg.
6708 (breakParagraph): use ParagraphList::insert
6709 (breakParagraphConservative): take a Buffer* instead of a
6710 BufferParams& as arg.
6711 (breakParagraphConservative): use ParagraphList::insert.
6713 * buffer.C (insertStringAsLines): un-const it
6714 (insertStringAsLines): adjust
6716 * ParagraphList.C (insert): new function
6718 * CutAndPaste.C (pasteSelection): adjust
6720 * text.C (backspace): adjust
6722 * tabular.C (SetMultiColumn): adjust
6724 * CutAndPaste.C (cutSelection): adjust
6725 (pasteSelection): adjust
6727 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6728 Buffer const * as arg
6730 * ParagraphList.C (erase): new function
6731 * paragraph_funcs.C (mergeParagraph): use it
6732 (mergeParagraph): make it take a Buffer* instead of a
6733 BufferParams* as arg
6735 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6737 (breakParagraphConservative): ditto
6739 * paragraph.h: remove the breakParagraph friend
6741 * paragraph.C (eraseIntern): new function
6742 (setChange): new function
6744 * paragraph_funcs.C (mergeParagraph): make it take a
6745 ParagraphList::iterator instead of a Paragraph *, adjust
6748 * paragraph.h: move an #endif so that the change tracking stuff
6749 also works in the NO_NEXT case.
6751 2003-03-04 Angus Leeming <leeming@lyx.org>
6754 * LyXAction.C: new LFUN_INSET_MODIFY.
6756 * BufferView_pimpl.C (dispatch): if an inset is found to be open
6757 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6759 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6761 * several files: ws changes only
6763 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6764 (TeXEnvironment): ditto
6767 * buffer.C (makeLaTeXFile): adjust
6768 (latexParagraphs): make it take ParagraphList::iterator as args
6770 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6772 * buffer.C (latexParagraphs): adjust
6774 * paragraph.C (TeXOnePar): move function...
6775 (optArgInset): move function...
6776 (TeXEnvironment): move function...
6777 * paragraph_pimpl.C (TeXDeeper): move function...
6778 * paragraph_funcs.C: ...here
6780 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6782 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6784 * buffer.C (readInset): remove compability code for old Figure and
6787 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6789 * buffer.C: ws changes
6792 * BufferView_pimpl.C: ditto
6795 * bufferlist.h: ditto
6799 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
6801 * converter.[Ch]: split into itself +
6804 * Makefile.am: += graph.[Ch] + format.[Ch]
6811 * lyxrc.C: added #include "format.h"
6813 2003-02-27 Angus Leeming <leeming@lyx.org>
6815 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6818 * factory.C (createInset): add "label" to the factory.
6820 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6821 string and do no more.
6823 2003-02-27 Angus Leeming <leeming@lyx.org>
6826 * LyXAction.C (init):
6827 * factory.C (createInset):
6828 * BufferView_pimpl.C (dispatch):
6829 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6831 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6833 * lyxfunc.C (dispatch):
6834 * text3.C (dispatch): pass name to params2string.
6836 2003-02-26 Angus Leeming <leeming@lyx.org>
6838 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6840 Rearrange the ~includes. Strip out the unnecessary ones.
6842 * factory.C (createInset): reformat.
6843 create new insets for the various LFUN_XYZ_APPLY lfuns.
6845 2003-02-26 John Levon <levon@movementarian.org>
6848 * lyxrow.C: add isParStart,isParEnd helpers
6850 * paragraph.h: make isInserted/DeletedText take refs
6852 * paragraph_funcs.h:
6853 * paragraph_funcs.C: remove #if 0'd code
6858 * text.C: use lyxrow helpers above.
6859 Move draw and paint routines to RowPainter.
6860 Make several methods use refs not pointers.
6861 Make backgroundColor() const.
6862 Add markChangeInDraw(), isInInset().
6863 Merge changeRegionCase into changeCase.
6864 Make workWidth() shouldn't-happen code into an Assert.
6867 * rowpainter.C: new class for painting a row.
6870 * vspace.C: make inPixels take a ref
6872 2003-02-26 Angus Leeming <leeming@lyx.org>
6874 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6877 2003-02-25 John Levon <levon@movementarian.org>
6879 * ispell.C: give the forked command a more accurate name
6881 2003-02-22 John Levon <levon@movementarian.org>
6884 * toc.C: make TocItem store an id not a Paragraph *
6887 2003-02-21 Angus Leeming <leeming@lyx.org>
6889 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6890 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6891 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6892 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6893 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6894 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6896 * BufferView_pimpl.C (dispatch):
6897 * LyXAction.C (init):
6898 * factory.C (createInset):
6899 * lyxfunc.C (getStatus, dispatch):
6900 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6902 2003-02-21 Angus Leeming <leeming@lyx.org>
6904 * BufferView_pimpl.C (MenuInsertLyXFile):
6905 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6906 * lyxfunc.C (menuNew, open, doImport):
6907 no longer pass a LyXView & to fileDlg.
6909 2003-02-21 Angus Leeming <leeming@lyx.org>
6911 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6912 * LyXAction.C: change, BIBKEY to BIBITEM.
6913 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6914 Change InsetBibKey to InsetBibitem.
6915 Change BIBKEY_CODE to BIBITEM_CODE.
6916 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6917 * factory.C: replace insetbib.h with insetbibitem.h.
6918 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6919 * paragraph.C: replace insetbib.h with insetbibitem.h.
6920 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6921 Change bibkey() to bibitem().
6922 * text.C: remove insetbib.h.
6923 * text2.C: replace insetbib.h with insetbibitem.h.
6924 change bibkey() to bibitem().
6925 * text3.C: remove insetbib.h.
6926 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6928 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6930 * lyxrc.C (output): enclose user email in quotes (in case there are
6933 2003-02-18 John Levon <levon@movementarian.org>
6935 * buffer.h: add std::
6937 2003-02-17 John Levon <levon@movementarian.org>
6943 * pspell.C: reworking. Especially in ispell, a large
6944 number of clean ups and bug fixes.
6946 * lyxfunc.C: fix revert to behave sensibly
6948 2003-02-17 André Pönitz <poenitz@gmx.net>
6951 * commandtags.h: new LFUN_INSERT_BIBKEY
6961 * paragraph_func.C: remove special bibkey handling
6963 2003-02-17 John Levon <levon@movementarian.org>
6965 * text.C (Delete): fix case where delete at the end of
6966 the very first paragraph would not merge the pars
6968 2003-02-17 John Levon <levon@movementarian.org>
6970 * lyxrow.C: fix lastPrintablePos()
6972 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6974 * bufferparams.C (writeLaTeX): add a std:here
6976 * buffer.C: and remove a using directive there
6978 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6980 * buffer.C (makeLaTeXFile): move the code that generates the
6983 * bufferparams.C (writeLaTeX): ... in this new method
6985 * LaTeXFeatures.C (getEncodingSet): make const
6986 (getLanguages): make const
6988 * MenuBackend.C (binding): returns the binding associated to this
6990 (add): sets the status of each item by calling getStatus. Adds
6992 (read): add support for OptSubMenu
6993 (expand): remove extra separator at the end of expanded menu
6995 2003-02-15 John Levon <levon@movementarian.org>
6998 * BufferView_pimpl.C:
7000 * bufferlist.C: remove pointless BufferStorage bloat. Remove
7001 inset code that had no actual effect. Remove unneeded status
7004 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7006 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7009 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
7011 * text.C (drawLengthMarker): also draw an arrow marker for
7012 symbolic lengths (medskip...)
7014 2003-02-14 John Levon <levon@movementarian.org>
7017 * tabular.C: better method names
7019 2003-02-14 John Levon <levon@movementarian.org>
7021 * BufferView_pimpl.C:
7026 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7027 it's a more accurate name. Remove some pointless uses.
7029 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7031 * text2.C (LyXText): change order of initilizers to shut off
7034 2003-02-14 John Levon <levon@movementarian.org>
7036 * buffer.C: use ParIterator for getParFromID()
7040 * paragraph_pimpl.h:
7041 * paragraph_pimpl.C: remove unused getParFromID()
7043 2003-02-14 John Levon <levon@movementarian.org>
7045 * buffer.C: remove some very old #if 0'd parse code
7047 2003-02-13 John Levon <levon@movementarian.org>
7051 * text2.C: move hfillExpansion(), numberOfSeparators(),
7052 rowLast(), rowLastPrintable(), numberofHfills(),
7053 numberOfLabelHfills() ...
7056 * lyxrow.C: ... to member functions here.
7061 * text.C: remove LyXText::beginningOfMainBody(), and call
7062 p->beginningOfMainBody() directly. Move the check for
7063 LABEL_MANUAL into the latter.
7070 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7076 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7077 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7079 2003-02-13 John Levon <levon@movementarian.org>
7081 * CutAndPaste.C: remove debug
7083 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7085 * paragraph.C (asString): remove two unused variables
7087 * lyxtextclass.C (readTitleType):
7089 (LyXTextClass): handle new members titletype_ and titlename_
7091 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7093 2003-02-09 John Levon <levon@movementarian.org>
7096 * buffer.C: replace hand-coded list with a map for the dep clean
7098 2003-02-08 John Levon <levon@movementarian.org>
7100 * LaTeX.C: consolidate code into showRunMessage() helper
7102 2003-02-08 John Levon <levon@movementarian.org>
7107 * BufferView.C: change setSelectionOverString() to setSelectionRange()
7108 and pass the size in explicitly
7110 * BufferView_pimpl.h:
7111 * BufferView_pimpl.C:
7113 * BufferView.C: add getCurrentChange()
7115 * BufferView_pimpl.h:
7116 * BufferView_pimpl.C: handle change lfuns
7118 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7119 for changes. Mark pasted paragraphs as new.
7121 * support/lyxtime.h:
7122 * support/lyxtime.C:
7123 * DepTable.C: abstract time_t as lyx::time_type
7126 * LColor.C: add colours for new text, deleted text, changebars
7128 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7129 package use "usenames" option.
7133 * LyXAction.C: add change lfuns
7137 * author.C: author handling
7140 * buffer.C: add a per-buffer author list, with first entry as
7141 current author. Handle new .lyx tokens for change tracking. Output
7142 author list to .lyx file. Output dvipost stuff to .tex preamble.
7143 Bump lyx format to 222.
7146 * bufferlist.C: add setCurrentAuthor() to reset current author details
7150 * bufferparams.C: add param for tracking
7152 * bufferview_funcs.C: output change info in minibuffer
7156 * changes.C: add change-tracking structure
7159 * debug.C: add CHANGES debug flag
7162 * lyxfind.C: add code for finding the next change piece
7165 * lyxrc.C: add user_name and user_email
7168 * lyxrow.C: add a metric for the top of the text line
7171 * text.C: implement accept/rejectChange()
7174 * text.C: paint changebars. Paint new/deleted text in the chosen
7175 colours. Strike through deleted text.
7179 * paragraph_pimpl.h:
7180 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7181 in the current change to the insert functions. Rework erase to
7182 mark text as deleted, adding an eraseIntern() and a range-based
7183 erase(). Implement per-paragraph change lookup and
7186 * paragraph_funcs.C: Fixup paste for change tracking.
7188 * tabular.C: mark added row/columns as new.
7190 * text.C: fix rowLast() to never return -1. Don't allow
7191 spellchecking of deleted text. Track transpose changes. Don't
7192 allow paragraph break or merge where appropriate.
7194 * text2.C: leave cursor at end of selection after a cut.
7196 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7198 * text.C (getLengthMarkerHeight):
7199 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7200 visible on screen too.
7202 2003-02-07 John Levon <levon@movementarian.org>
7204 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7206 2003-02-05 Angus Leeming <leeming@lyx.org>
7208 * lyxserver.C (read_ready): revert my patch of 11 September last year
7209 as it sends PC cpu through the roof. Presumably this means that
7210 the lyxserver will no longer run on an Alpha...
7212 2003-01-30 Angus Leeming <leeming@lyx.org>
7214 * factory.C (createInset): create an InsetCommandParam of type "index"
7215 and use it to 'do the right thing'.
7217 * text2.C (getStringToIndex): ensure that cursor position is always
7218 reset to the reset_cursor position.
7220 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7222 * lyxfunc.C (getStatus): "buffer-export custom" should never be
7225 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
7229 * lyxfunc.C: Output messages with identical spelling, punctuation,
7232 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
7234 * MenuBackend.C (expandFormats): List only viewable export formats
7237 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7240 * lyxfunc.C (getStatus): Make sure that formats other than
7241 "fax" can also be disabled
7243 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7245 * text3.C (dispatch): put the lfuns that insert insets in 3
7246 groups, and call doInsertInset with appropriate arguments.
7247 (doInsertInset): new function, that creates an inset and inserts
7248 it according to some boolean parameters.
7250 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7252 * buffer.C (readFile): remember to pass on 'par' when calling
7253 readFile recursively.
7255 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7257 * MenuBackend.C (expandFormats): add "..." to import formats.
7259 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
7261 * paragraph.C (asString): Remove XForms RTL hacks.
7263 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
7264 * buffer.C: fix typo
7266 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7268 * Makefile.am (LIBS): delete var
7269 (lyx_LDADD): add @LIBS@ here instead.
7271 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
7273 * Clarify the meaning of "wheel mouse jump"
7275 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7277 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7280 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7282 * importer.C (Loaders): do not preallocate 3 elements in the
7283 vector, since one ends up with 6 elements otherwise
7285 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7287 * DepTable.C (write): write the file name as last element of the
7288 .dep file (because it may contain spaces)
7289 (read): read info in the right order
7291 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7293 * paragraph_pimpl.C (simpleTeXBlanks):
7294 (simpleTeXSpecialChars):
7295 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7297 * tabular.C (latex): add some missing case statements. Reindent.
7299 * MenuBackend.C (expandToc): remove unused variable.
7301 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
7310 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7313 2003-01-05 John Levon <levon@movementarian.org>
7316 * BufferView.C: add getEncoding()
7319 * kbsequence.C: do not store last keypress
7322 * lyxfunc.C: store last keypress here instead. Pass encoding
7325 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7327 * lyx_main.C (init): remove annoying error message when following
7328 symbolic links (bug #780)
7330 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7332 * text.C (insertChar):
7333 * lyxrc.C (getDescription): remove extra spaces
7335 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7337 * lyxrc.C (getDescription): remove extra spaces
7339 2002-12-20 John Levon <levon@movementarian.org>
7341 * text3.C: hack fix for page up/down across tall rows
7343 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7345 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7348 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7350 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7351 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7352 thesaurus is not compiled in
7354 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
7356 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
7358 2002-12-16 Angus Leeming <leeming@lyx.org>
7361 * lyx_main.C (init): remove override_x_deadkeys stuff.
7363 2002-12-12 John Levon <levon@movementarian.org>
7365 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7366 insert. Only remove shift modifier under strict
7369 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7371 * MenuBackend.C (expandToc): fix crash.
7373 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7375 * MenuBackend.C (expandToc): gettext on float names.
7377 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7379 * lyxlength.[Ch]: set default unit to UNIT_NONE,
7380 implement bool empty() [bug 490]
7382 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7384 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7386 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7388 * several files: ws changes
7390 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7392 * text2.C (setCounter): clean up a bit, use boost.format.
7393 (updateCounters): initialize par upon declaration.
7395 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7396 if the layout exists. We do not just store the layout any more.
7397 (SwitchLayoutsBetweenClasses): use boost.format
7399 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7401 * converter.C (convert): if from and to files are the same, use a
7402 temporary files as intermediary
7404 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7407 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7409 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
7411 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7413 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7415 * tabular.C (asciiPrintCell): use string(size, char) instead of
7418 * sgml.C (openTag): fix order of arguments to string constructor
7421 * lyxfunc.C (dispatch): use boost.format
7423 * lots of files: change "c" -> 'c'
7425 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
7427 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7429 2002-11-25 Angus Leeming <leeming@lyx.org>
7431 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7433 * lyx_main.C (init): compile fix.
7435 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7437 * lyx_cb.C (start): boost.formatify
7438 do not include <iostream>
7440 * lengthcommon.C: ws only
7442 * boost-inst.C,BoostFormat.h: add more explict instantations
7444 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7446 * lots of files: handle USE_BOOST_FORMAT
7448 2002-11-21 John Levon <levon@movementarian.org>
7450 * pspell.C: fix compile
7452 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7454 * lyxfunc.C (dispatch): use boost::format
7458 * lyxfont.C (stateText): use boost::format
7460 * lyx_main.C (LyX): use boost::format
7462 (queryUserLyXDir): ditto
7465 (typedef boost::function): use the recommened syntax.
7467 * importer.C (Import): use boost::format
7469 * debug.C (showLevel): use boost::format
7471 * converter.C (view): use boost::format
7476 * bufferview_funcs.C (currentState): use boost::format
7478 * bufferlist.C (emergencyWrite): use boost::format
7480 * buffer.C (readLyXformat2): use boost::format
7481 (parseSingleLyXformat2Token): ditto
7483 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7485 * LaTeX.C (run): use boost::format
7487 * Chktex.C (scanLogFile): use boost::format
7489 * BufferView_pimpl.C (savePosition): use boost::format
7490 (restorePosition): ditto
7491 (MenuInsertLyXFile): ditto
7493 * BoostFormat.h: help file for explicit instation.
7495 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
7497 * tabular.C (latex): Support for block alignment in fixed width
7500 2002-11-17 John Levon <levon@movementarian.org>
7502 * BufferView_pimpl.C:
7504 * lyxfunc.C: split filedialog into open/save
7506 2002-11-08 Juergen Vigna <jug@sad.it>
7508 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7509 by my last patch (hopefully).
7511 2002-11-08 John Levon <levon@movementarian.org>
7520 * toc.C: ParConstIterator, and use it (from Lars)
7522 2002-11-07 Ben Stanley <bds02@uow.edu.au>
7524 * lyxtextclass.[Ch]: revise and add doxygen comments
7526 2002-11-07 John Levon <levon@movementarian.org>
7528 * text.C: fix progress value for spellchecker
7530 * toc.C: fix navigate menu for insetwrap inside minipage
7532 * paragraph_funcs.C: added FIXME for suspect code
7534 2002-11-07 John Levon <levon@movementarian.org>
7536 * BufferView_pimpl.C: fix redrawing of insets
7539 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7541 * text2.C (updateCounters): fix bug 668
7543 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
7545 * text3.C (dispatch): Do not make the buffer dirty when moving the
7548 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7550 * vc-backend.C: STRCONV
7553 * text2.C (setCounter): STRCONV
7555 * paragraph.C (asString): STRCONV
7557 * lyxlength.C (asString): STRCONV
7558 (asLatexString): ditto
7560 * lyxgluelength.C (asString): STRCONV
7561 (asLatexString): ditto
7563 * lyxfunc.C (dispatch): STRCONV
7566 * lyxfont.C (stateText): STRCONV
7568 * importer.C (Import): STRCONV
7570 * counters.C (labelItem): STRCONV
7571 (numberLabel): ditto
7572 (numberLabel): remove unused ostringstream o
7577 * bufferview_funcs.C (currentState): STRCONV
7579 * buffer.C (readFile): STRCONV
7580 (asciiParagraph): ditto
7581 (makeLaTeXFile): ditto
7583 * Spacing.C (writeEnvirBegin): STRCONV
7585 * LaTeXFeatures.C (getLanguages): STRCONV
7586 (getPackages): ditto
7588 (getBabelOptions): ditto
7589 (getTClassPreamble): ditto
7590 (getLyXSGMLEntities): ditto
7591 (getIncludedFiles): ditto
7595 (scanAuxFile): ditto
7598 * LString.h: add the STRCONV macros
7600 * BufferView_pimpl.C (savePosition): STRCONV
7601 (restorePosition): ditto
7602 (MenuInsertLyXFile): ditto
7604 * vc-backend.C (scanMaster): change from submatch[...] to
7607 * funcrequest.C: include config.h
7609 * factory.C: include config.h
7611 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7613 * box.C: include config.h
7615 * LaTeX.C (scanAuxFile): change from submatch[...] to
7619 2002-10-25 Angus Leeming <leeming@lyx.org>
7621 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7623 * ispell.[Ch] (setError): new method.
7624 * ispell.C (c-tor): move out child process into new class LaunchIspell.
7625 Use setError() insetead of goto END.
7627 * lyx_cb.C (AutoSave): move out child process into new class
7630 2002-10-30 John Levon <levon@movementarian.org>
7632 * text3.C: make start appendix undoable
7634 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
7636 * lyxlength.C (inPixels): Fix returned value.
7638 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7641 2002-10-24 Angus Leeming <leeming@lyx.org>
7643 * lyxgluelength.h: no need to forward declare BufferParams
7644 or BufferView, so don't.
7646 2002-10-21 John Levon <levon@movementarian.org>
7648 * BufferView.C: menuUndo ->undo, redo
7650 * BufferView.h: document, remove dead, make some methods private
7652 * paragraph_funcs.h:
7653 * paragraph_funcs.C:
7654 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7659 * sgml.C: move sgml open/close tag into sgml.C
7661 * bufferview_funcs.h: unused prototype
7664 * lyxfunc.C: remove unused
7667 * text.C: remove unused
7669 2002-10-21 John Levon <levon@movementarian.org>
7673 * BufferView_pimpl.h:
7674 * BufferView_pimpl.C: fix mouse wheel handling based on
7675 patch from Darren Freeman
7677 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
7679 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7681 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
7683 * lyxlength.C (inPixels): Fix hanfling of negative length.
7684 Fix LyXLength::MU case.
7686 2002-10-16 John Levon <levon@movementarian.org>
7688 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7690 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7692 * converter.C (view): add support for $$i (file name) and $$p
7693 (file path) for the viewer command. If $$i is not specified, then
7694 it is appended to the command (for compatibility with old syntax)
7696 2002-10-14 Juergen Vigna <jug@sad.it>
7698 * undo_funcs.C (textHandleUndo): alter the order in which the
7699 new undopar is added to the LyXText, as we have to set first
7700 the right prev/next and then add it as otherwise the rebuild of
7701 LyXText is not correct. Also reset the cursor to the right paragraph,
7702 with this IMO we could remove the hack in "redoParagraphs()".
7704 2002-10-09 Angus Leeming <leeming@lyx.org>
7706 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7707 to turn off an optimisation if a new inset is to be inserted.
7709 2002-10-11 André Pönitz <poenitz@gmx.net>
7711 * lyxtext.h: make some functions public to allow access
7712 from inset/lyxtext for handling LFUN_PRIOR/NEXT
7714 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7716 * text3.C (dispatch): when changing layout, avoid an infinite loop
7719 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7721 * lyxrc.C (read): treat a viewer or converter command of "none" as
7724 * MenuBackend.C (expandFormats): for an update, also allow the
7725 formats that are not viewable
7727 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7728 script if it is newer than the lyxrc.defaults in user directory
7730 2002-10-07 André Pönitz <poenitz@gmx.net>
7732 * text.C: Vitaly Lipatov's small i18n fix
7734 2002-09-25 Angus Leeming <leeming@lyx.org>
7736 * ispell.h: doxygen fix.
7738 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
7740 * buffer.h (readFile): Add a new argument to the method, to allow
7741 reading of old-format templates.
7743 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
7745 * toc.C (getTocList): Get TOC from InsetWrap.
7747 2002-09-16 John Levon <levon@movementarian.org>
7749 * lyxfunc.C: check tabular for cut/copy too
7751 2002-09-12 John Levon <levon@movementarian.org>
7756 * factory.C: add header
7758 * paragraph_funcs.h:
7759 * paragraph_funcs.C: cleanup
7761 2002-09-11 John Levon <levon@movementarian.org>
7763 * PrinterParams.h: odd/even default to true
7765 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
7767 * PrinterParams.h: update printer parameters for new xforms dialog
7769 2002-09-11 Angus Leeming <leeming@lyx.org>
7771 * lyxserver.C (read_ready): re-write to make it more transparent
7772 and to make it work in coherent fashion under Tru64 Unix.
7774 2002-09-11 André Pönitz <poenitz@gmx.net>
7778 * text3.C: implement LFUN_WORDSEL
7780 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7782 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7783 make floatlist_ a boost::shared_ptr<FloatList>
7785 * lyxtextclass.C: include FloatList.h
7786 (LyXTextClass): initialize floatlist_
7787 (TextClassTags): add TC_NOFLOAT
7788 (Read): match "nofloat" to TC_NOFLOAT and use it.
7789 (readFloat): modify call to floatlist_
7793 * FloatList.[Ch] (FloatList): remove commented out float
7795 (erase): new function
7797 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7799 * MenuBackend.C (expandToc): fix crash when there is no document
7802 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
7804 * many files: Add insetwrap.
7806 2002-09-09 John Levon <levon@movementarian.org>
7808 * text2.C: remove confusing and awkward depth wraparound
7810 2002-09-09 John Levon <levon@movementarian.org>
7812 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7815 * buffer.C: remove getIncludeonlyList()
7818 * lyxfunc.C: remove headers
7820 2002-09-09 Juergen Vigna <jug@sad.it>
7822 * text.C (getColumnNearX): fix form Michael this is most
7823 probably a cut&paste bug.
7825 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7827 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7829 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7830 references, ws changes.
7832 * text2.C (init): update counters after init
7833 (insertParagraph): no need to set counter on idividual paragraphs.
7834 (setCounter): access the counters object in the textclass object
7835 on in the buffer object.
7836 (updateCounters): ditto
7838 * lyxtextclass.C: include counters.h, add variable ctrs_ as
7839 shared_ptr<Counters> to avoid loading counters.h in all
7841 (LyXTextClass): initialize ctrs_
7842 (TextClassTags): add TC_COUNTER, and ...
7843 (Read): use it here.
7844 (CounterTags): new tags
7845 (readCounter): new function
7846 (counters): new funtion
7847 (defaultLayoutName): return a const reference
7849 * counters.C (Counters): remove contructor
7850 (newCounter): remove a couple of unneeded statements.
7851 (newCounter): simplify a bit.
7852 (numberLabel): some small formatting changes.
7854 * buffer.[Ch]: remove all traces of counters, move the Counters
7855 object to the LyXTextClass.
7857 2002-09-06 Alain Castera <castera@in2p3.fr>
7859 * tabular.C: uses \tabularnewline; uses >{...} construct from array
7860 package to set the horizontal alignment on fixed width columns.
7863 * lyx_sty.h: added tabularnewline macro def.
7865 * LaTeXFeatures.C: added NeedTabularnewline macro feature
7867 2002-09-06 John Levon <levon@movementarian.org>
7869 * LyXAction.C: tooltips for sub/superscript
7871 * MenuBackend.C: a bit more verbose
7873 * lyxfunc.C: tiny clean
7875 * undo_funcs.C: document undo_frozen
7877 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7879 * counters.C (Counters): add missing algorithm counter.
7881 * text2.C (setCounter): lookup the counter with layouts latexname
7882 instead of by section number.
7883 (setCounter): use a hackish way to lookup the correct enum
7885 a float name->type change
7886 reset enum couners with counter name directly instead of depth value.
7888 * counters.C (Counters): remove the push_backs, change to use the
7889 float type not the float name.
7890 (labelItem): remove unused string, float name->type change
7892 * counters.h: don't include vector, loose the enums and sects vectors
7894 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7896 * lyxtextclass.C (TextClassTags): add TC_FLOAT
7897 (Read): add float->TC_FLOAT to textclassTags
7898 (Read): and handle it in the switch
7899 (readFloat): new function
7901 * FloatList.C (FloatList): comment out the hardcoded float
7904 * lyxlayout.h: ws change.
7906 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
7908 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7910 2002-09-03 Angus Leeming <leeming@lyx.org>
7912 * BufferView_pimpl.h: qualified name is not allowed in member
7913 declaration: WorkArea & Pimpl::workarea() const;
7915 * factory.C: added using std::endl directive.
7917 * text3.C: added using std::find and std::vector directives.
7919 2002-08-29 André Pönitz <poenitz@gmx.net>
7922 * text2.C: remove unused member number_of_rows
7925 * BufferView2.C: remove file, move contents to...
7926 * BufferView.C: ... here
7928 * BufferView_pimpl.C:
7929 * factory.C: move more inset creation to factory
7931 * vspace.C: avoid direct usage of LyXText, ws changes
7934 don't provide direct access to WorkArea, use two simple
7935 acessors haveSelction() and workHeight() instead
7938 2002-08-29 John Levon <levon@movementarian.org>
7940 * BufferView_pimpl.C (dispatch): do not continue when
7943 2002-08-28 André Pönitz <poenitz@gmx.net>
7945 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7948 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7950 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
7952 * buffer.C: increment LYX_FORMAT to 221
7954 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7955 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7957 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7959 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7961 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7963 * factory.C (createInset): use LyXTextClass::floats
7965 * MenuBackend.C (expandFloatListInsert):
7966 (expandFloatInsert):
7969 * text2.C (setCounter):
7971 * LaTeXFeatures.C (useFloat):
7972 (getFloatDefinitions):
7974 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7976 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7977 floatlist_, with accessor floats().
7979 * FloatList.h: remove global FloatList
7981 2002-08-26 André Pönitz <poenitz@gmx.net>
7983 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7987 * BufferView_pimpl.C:
7988 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7990 2002-08-25 John Levon <levon@movementarian.org>
7992 * LyXAction.C: fix margin note description
7994 2002-08-24 John Levon <levon@movementarian.org>
7998 * bufferview_funcs.C:
8000 * undo_funcs.C: cleanups
8002 * lyxfunc.C: disable CUT/COPY when no selection
8004 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
8006 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8007 in "enum UNIT"; e.g. PTW for Percent of TextWidth
8009 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8010 Add backward compatibility to "mono", "gray" and "no".
8012 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
8014 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8015 (and file_format >= 200).
8017 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8019 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8021 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8023 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8025 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
8027 * BufferView_pimpl.C:
8034 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8035 inset and code to make it work with the paragraph code. The inset
8036 can be anywhere in the paragraph, but will only do the expected
8037 thing in LaTeX if the layout file contains the parameter line
8039 (or more generally, a nonzero value) for that layout.
8041 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8043 * paragraph.h: remove the declaration of undefined counters class
8046 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
8048 * text2.C (setCounter): fixed enumeration mis-count as reported by
8049 Dr. Richard Hawkins.
8051 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8053 * paragraph_funcs.h: remove some unneeded includes
8055 * text.C (backspace): pasteParagraph now in global scipe
8057 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8058 (pasteSelection): ditto
8060 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8061 * paragraph_funcs.C (pasteParagraph): ... here
8063 2002-08-20 André Pönitz <poenitz@gmx.net>
8065 * commandtags.h: new LFUNs for swapping/copying table row/colums
8068 * lyxfunc.C: support for new lfuns
8070 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
8073 * buffer.[Ch]: remove NO_COMPABILITY stuff
8075 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
8077 * boost.C (throw_exception): new file, with helper function for
8078 boost compiled without exceptions.
8083 * ParameterStruct.h:
8084 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8086 * bufferlist.C (emergencyWriteAll): use boost bind
8088 * BufferView_pimpl.C (moveCursorUpdate): remove inline
8090 * text.C: include paragraph_funcs.h
8091 (breakParagraph): breakParagraph is now in global scope
8093 * paragraph_funcs.[Ch]: new files
8095 * paragraph.C (breakParagraph,breakParagraphConservative): move to
8098 * buffer.C: include paragraph_funcs.h
8099 (insertStringAsLines): breakParagraph is now in global scope
8101 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8104 * CutAndPaste.C: include paragraph_funcs.h
8105 (cutSelection): breakParagraphConservative is now in global scope
8106 (pasteSelection): ditto
8108 * buffer.h: declare oprator== and operator!= for
8109 Buffer::inset_iterator
8111 * bufferlist.C (emergencyWrite): don't use fmt(...)
8113 * text3.C: add using std::endl
8115 * BufferView.C (moveCursorUpdate): remove default arg
8117 2002-08-20 André Pönitz <poenitz@gmx.net>
8119 * buffer.[Ch]: move inline functions to .C
8122 * BufferView_pimpl.C:
8124 * buffer.[Ch]: use improved inset_iterator
8127 * paragraph.[Ch]: write one paragraph at a time
8129 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
8131 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8132 style if style is not specified.
8134 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8136 * text2.C (setCounter): when searching for right label for a
8137 caption, make sure to recurse to parent insets (so that a caption
8138 in a minipage in a figure float works) (bug #568)
8140 2002-08-20 André Pönitz <poenitz@gmx.net>
8142 * text3.C: new file for LyXText::dispatch() and helpers
8144 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8146 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8148 2002-08-19 André Pönitz <poenitz@gmx.net>
8151 * text.C: new LyXText::dispatch()
8153 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8155 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
8157 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8159 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8162 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8164 * Makefile.am: use $(variables) instead of @substitutions@
8166 2002-08-15 André Pönitz <poenitz@gmx.net>
8169 * BufferView_pimpl.C: streamlining mathed <-> outer world
8173 * LyXAction.C: remove unused LFUN_MATH
8175 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8177 * paragraph.[Ch]: add some NO_NEXT ifdefs.
8179 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8181 * paragraph.C (Paragraph): reformat a bit
8182 (cutIntoMinibuffer): use builtin InsetList function instad of
8186 * buffer.C: include boost/bind.hpp, add using std::for_each
8187 (writeFileAscii): use ParagraphList iterators
8188 (validate): use for_each for validate traversal of paragraphs
8189 (getBibkeyList): use ParagraphList iterators
8190 (resizeInsets): use for_each to resizeInsetsLyXText for all
8192 (getParFromID): use ParagraphList iterators
8194 * BufferView2.C (lockInset): use paragraph list and iterators
8196 2002-08-14 John Levon <levon@movementarian.org>
8198 * lyxserver.C: remove spurious xforms include
8200 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8202 * lyxfunc.C (getStatus): disable math-extern outside of math mode
8204 2002-08-13 André Pönitz <poenitz@gmx.net>
8207 * lyxfunc.C: further cleaning
8209 2002-08-13 André Pönitz <poenitz@gmx.net>
8211 * funcrequest.h: new constructor
8213 * funcrequest.C: move stuff here from .h
8216 * BufferView_pimpl.C:
8219 * lyxfunc.C: subsequent changes
8221 * lyxfunc.h: new view() member function
8223 * lyxfunc.C: subsequent changes
8225 2002-08-13 Angus Leeming <leeming@lyx.org>
8228 * BufferView_pimpl.C:
8236 changes due to the changed LyXView interface that now returns references
8237 to member variables not pointers.
8239 2002-08-13 Angus Leeming <leeming@lyx.org>
8241 * WordLangTuple (word, lang_code): return references to strings,
8246 * lyxtext.h: forward-declare WordLangTuple.
8251 * text.C: #include "WordLangTuple.h".
8254 * text.C: (selectNextWordToSpellcheck): constify return type.
8256 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
8262 * paragraph_pimpl.h:
8265 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8267 Made updateCounter always count from start of buffer, and removed
8268 second argument (par).
8269 Reverted floats number display to '#'. Perhaps I'll try again when the
8270 code base is sanitized a bit.
8272 2002-08-12 Angus Leeming <leeming@lyx.org>
8274 * buffer.[Ch] (getLabelList): constify.
8276 2002-08-07 André Pönitz <poenitz@gmx.net>
8278 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8280 * funcrequest.h: extension to keep mouse (x,y) position
8282 2002-08-12 Juergen Vigna <jug@sad.it>
8284 * BufferView2.C (insertErrors): forbid undo when inserting error
8287 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8289 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8291 * ParagraphList.[Ch]: new files
8293 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8295 * BufferView2.C (lockInset): ParagraphList changes
8298 * bufferlist.C: ditto
8302 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8304 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8305 unused class variable counter_,
8307 * paragraph.[Ch] (getFirstCounter): delete unused function
8309 * counters.C: include LAssert.h
8310 (reset): add a new function with no arg, change other version to
8311 not have def. arg and to not allow empty arg.
8313 * text2.C (setCounter): remove empty arg from call to Counters::reset
8315 2002-08-11 John Levon <levon@movementarian.org>
8317 * Makefile.am: add WordLangTuple.h
8319 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8321 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8322 lyxfunc.C lyxlex_pimpl.C: ws changes only.
8324 * insets/insettext.C: InsetList changes
8326 * graphics/GraphicsSupport.C (operator()): InsetList changes
8328 * toc.C (getTocList): InsetList changes
8330 * paragraph_pimpl.[Ch]: InsetList changes
8332 * paragraph.[Ch]: InsetList changes
8334 * buffer.C (inset_iterator): InsetList changes
8335 (setParagraph): ditto
8336 * buffer.h (inset_iterator): ditto
8337 * iterators.C (operator++): ditto
8338 * iterators.h: ditto
8340 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8342 * InsetList.[Ch]: new files, most InsetList handling moved out of
8345 * BufferView2.C (removeAutoInsets): InsetList changes
8347 (ChangeInsets): ditto
8349 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8351 * paragraph_pimpl.h (empty): new function
8353 * paragraph.[Ch] (empty): new function
8355 * other files: use the new Paragraph::empty function
8357 2002-08-09 John Levon <levon@movementarian.org>
8359 * lyxtext.h: remove unused refresh_height
8361 2002-08-09 John Levon <levon@movementarian.org>
8368 * paragraph.C: move sgml char escaping out of paragraph
8371 * paragraph.C: remove id setter
8375 * paragraph_pimpl.C: remove dead tex_code_break_column
8377 * bufferview_funcs.C: small cleanup
8379 * lyxfunc.C: remove dead proto
8381 * lyxtext.h: make some stuff private. Remove some dead stuff.
8383 * lyxgluelength.C: make as[LyX]String() readable
8385 2002-08-08 John Levon <levon@movementarian.org>
8390 * ToolbarDefaults.C:
8393 * toc.C: lyxaction cleanup
8395 2002-08-08 John Levon <levon@movementarian.org>
8397 * BufferView2.C: small cleanup
8400 * lyxfind.C: move unnecessary header into the .C
8402 2002-08-08 John Levon <levon@movementarian.org>
8404 * funcrequest.h: just tedious nonsense
8407 * lyx_main.C: cleanups
8410 * vspace.C: remove dead header lyx_main.h
8412 2002-08-07 Angus Leeming <leeming@lyx.org>
8415 * paragraph_pimpl.h:
8416 Forward declare class Counters in paragraph.h by moving the ctrs member
8417 variable into Paragraph::Pimpl.
8418 (counters): new method, returning a reference to pimpl_->ctrs.
8420 * text2.C: ensuing changes.
8422 2002-08-07 John Levon <levon@movementarian.org>
8424 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8426 * BufferView_pimpl.C: announce X selection on double/triple
8429 * lyx_main.C: use correct bool in batch dispatch
8431 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8433 2002-08-07 André Pönitz <poenitz@gmx.net>
8435 * funcrequest.h: new class to wrap a kb_action and its argument
8438 * BufferView_pimpl[Ch]:
8442 * lyxrc.C: subsequent changes
8445 2002-08-07 John Levon <levon@movementarian.org>
8447 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8448 document options change.
8450 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8455 * makefile.am: move counters functionality over from
8456 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8458 2002-08-06 John Levon <levon@movementarian.org>
8460 * WordLangTuple.h: new file for word + language code tuple
8471 * BufferView2.C: use WordLangTuple
8474 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8476 2002-08-06 John Levon <levon@movementarian.org>
8478 * lyx_main.C: fix cmdline batch handling
8480 2002-08-06 André Pönitz <poenitz@gmx.net>
8482 * lyxrc.C: set default for show_banner to true
8484 2002-08-06 John Levon <levon@movementarian.org>
8486 * pspell.C: fix a crash, and allow new aspell to work
8488 2002-08-06 John Levon <levon@movementarian.org>
8491 * kbmap.C: small cleanup
8494 * vspace.C: add const
8496 2002-08-05 John Levon <levon@movementarian.org>
8498 * LyXAction.C: back to tabular-insert
8500 2002-08-04 John Levon <levon@movementarian.org>
8503 * BufferView.C: cosmetic change
8505 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8515 * BufferView2.C: purge all "Lyx" not "LyX" strings
8518 * lyxcursor.C: attempt to add some documentation
8523 * ToolbarDefaults.C:
8524 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8525 merge with LFUN_TABULAR_INSERT
8532 * pspell.C: split up i/pspell implementations into separate
8533 files, many cleanups
8535 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8537 * text2.C: some cleanup
8539 * lyxfunc.C: don't check for isp_command == "none" any more, it
8540 didn't make any sense
8542 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8547 * makefile.am: move counters functionality over
8548 from text2.C/paragraph.[Ch] to counters.[Ch], and
8550 2002-08-02 John Levon <levon@movementarian.org>
8552 * buffer.C: s/lyxconvert/lyx2lyx/
8554 2002-08-02 Angus Leeming <leeming@lyx.org>
8556 * lyxlex.C: revert John's change as it breaks reading of the user
8559 2002-08-02 Angus Leeming <leeming@lyx.org>
8561 * importer.C (Import):
8562 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8563 changes due to LyXView::view() now returning a boost::shared_ptr.
8565 2002-08-02 John Levon <levon@movementarian.org>
8567 * lyxlex.C: small cleanup
8569 2002-08-02 John Levon <levon@movementarian.org>
8571 * text2.C (status): small cleanup, no logic change
8573 2002-08-01 John Levon <levon@movementarian.org>
8576 * buffer.C (writeFile): don't output alerts, caller
8580 * lyx_cb.C: from above
8582 * lyxfunc.C: allow to open non-existent files
8584 2002-07-31 John Levon <levon@movementarian.org>
8586 * lyxserver.C: don't let incidental errors get
8589 2002-07-30 John Levon <levon@movementarian.org>
8591 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8593 2002-07-30 John Levon <levon@movementarian.org>
8596 * lyxserver.C: remove I/O callback too
8598 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8600 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8603 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8605 * many files: strip,frontStrip -> trim,ltrim,rtrim
8607 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8609 * PrinterParams.h: remove extern containsOnly, and include
8610 support/lstrings.h instead.
8612 * LaTeX.C (scanAuxFile): modify because of strip changes
8614 * buffer.C (makeLaTeXFile): ditto
8615 * bufferparams.C (writeFile): ditt
8616 * lyxfont.C (stateText): ditto
8617 * lyxserver.C (read_ready): ditto
8618 * vc-backend.C (scanMaster): ditto
8620 * BufferView_pimpl.h: ws changes
8622 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8624 2002-07-26 André Pönitz <poenitz@gmx.net>
8626 * kb_sequence.C: remove unnedred usings
8628 2002-07-26 Juergen Vigna <jug@sad.it>
8630 * lyxfind.C (LyXReplace): we have to check better if the returned
8631 text is not of theLockingInset()->getLockingInset().
8633 2002-07-25 Juergen Vigna <jug@sad.it>
8635 * lyxfind.C (LyXReplace): don't replace if we don't get the
8638 * undo_funcs.C (createUndo): remove debugging code.
8640 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
8642 * buffer.C (parseSingleLyXformat2Token): Use default placement
8643 when reading old floats.
8645 * FloatList.C (FloatList): Change the default placement of figure
8646 and tables to "tbp".
8648 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
8650 * MenuBackend.C: using std::max
8652 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8654 * MenuBackend.C (expandToc):
8655 (expandToc2): code moved from xforms menu frontend. It is now
8656 generic and TOCs are transparent to menu frontends.
8658 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8660 * toc.C (getTocList): protect against buf=0
8662 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8663 Menu as first parameter. Now, this calls itself recursively to
8664 expand a whole tree (this will be useful for TOC handling)
8665 (expandFloatInsert): remove 'wide' version of floats
8667 * MenuBackend.h (submenuname): returns the name of the submenu.
8668 (submenu): returns the submenu itself, provided it has been
8669 created by MenuBackend::expand
8671 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8673 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8674 insets which have noFontChange == true. (bug #172)
8676 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8678 * BufferView_pimpl.C: add connection objects and use them...
8681 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8683 * MenuBackend.C (expandLastfiles):
8686 (expandFloatListInsert):
8687 (expandFloatInsert):
8688 (expand): split expand in parts
8690 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8692 * lyx_gui.C: use lyx_gui::exit()
8694 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8696 * LyXAction.C: show the failing pseudo action
8698 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
8700 * buffer.C (readFile): Run the lyxconvert script in order to read
8703 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8707 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8709 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8713 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8715 2002-07-22 Herbert Voss <voss@lyx.org>
8718 * lyxlength.[Ch]: add support for the vertical lengths
8720 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
8722 * toc.[Ch]: std:: fixes
8724 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8726 * lyxrc.C: do not include lyx_main.h
8728 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8734 * BufferView2.C: include "lyxlex.h"
8737 * bufferparams.h: do not #include "lyxlex.h"
8739 * lyxtextclasslist.C (Add): remove method
8740 (classlist): renamed to classlist_
8742 * paragraph_pimpl.C:
8746 * bufferview_funcs.C:
8751 * toc.C (getTocList): use BufferParams::getLyXTextClass
8753 * toc.C (getTocList): use InsetFloat::addToToc
8755 * toc.[Ch]: new files, containing helper functions to handle table
8758 * lyxfunc.C (dispatch): no need to remove spaces around command
8760 (getStatus): handle LFUN_SEQUENCE by returning the status of the
8761 first command of the sequence; it is not very clever, but I do not
8762 have a better idea, actually
8764 * LyXAction.C (LookupFunc): make sure to remove space at the
8765 beginning and end of the command
8767 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8769 * MenuBackend.C (getMenubar): new method: return the menubar of
8771 (read): treat differently reading of menu and menubar (in
8772 particular, the menubar has no name now)
8773 (Menu::menubar): remove
8775 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8778 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8780 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8781 a bibitem inset in a RTL paragraph.
8783 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
8785 * paragraph_pimpl.C: constify
8787 * BufferView_pimpl.C:
8789 * lyxfunc.C: fix dispatch in a nicer way
8791 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8793 * lyxfunc.C (dispatch):
8794 * BufferView_pimpl.C:
8795 * BufferView_pimpl.h:
8797 * BufferView.h: rename Dispatch() to dispatch()
8799 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8801 * lyxlayout.C (Read): honor DependsOn tag
8803 * lyxlayout.[Ch] (depends_on): new method
8805 * version.C.in: update lyx_docversion
8807 * LaTeXFeatures.C (getMacros): only define \LyX when needed
8809 * paragraph.C (validate): remove from here...
8810 * paragraph_pimpl.C (validate): ... and move here
8811 (isTextAt): make it const
8813 * buffer.C (getLists): ws cleanup
8815 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8817 * language.C (read): Use iso8859-1 encoding in latex_lang
8818 (this prevents LyX from crashing when using iso10646-1 encoding).
8820 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8822 * text2.C (toggleInset): if cursor is inside an inset, close the
8823 inset and leave cursor _after_ it
8825 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8827 * lyxfunc.C: move minibuffer completion handling out of here
8829 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8831 * BufferView_pimpl.C:
8832 * LaTeX.C: fix dispatch calls
8834 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
8836 * text.C (drawChars): Fix Arabic text rendering.
8838 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
8842 * lyxfunc.C: remove message-push/pop
8846 * lyxfunc.C: rationalise some code by removing verboseDispatch
8847 in favour of a bool argument to dispatch()
8849 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8851 * lyx_main.C (init): make sure to read symlinks as absolute paths
8853 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8856 * lyxfunc.C: no need for commandshortcut to be a member
8858 2002-07-15 André Pönitz <poenitz@gmx.net>
8860 * converter.C: add support for $$s (scripts from lib/scripts dir)
8861 * lyx_main.C: white space
8863 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8867 * lyxrc.C: remove second exit confirmation
8869 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8874 * BufferView_pimpl.h:
8875 * BufferView_pimpl.C:
8876 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8878 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8880 * MenuBackend.C (expand): add numeric shortcuts to document menu
8882 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8884 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8886 * lyxfont.C (setLyXFamily):
8893 * buffer.C (asciiParagraph): use ascii_lowercase
8895 2002-07-15 Mike Fabian <mfabian@suse.de>
8897 * lyxlex_pimpl.C (search_kw):
8898 * lyxlex.C (getLongString):
8899 * converter.h (operator<):
8900 * converter.C (operator<):
8901 * buffer.C (parseSingleLyXformat2Token):
8903 * ToolbarDefaults.C (read):
8904 * MenuBackend.C (checkShortcuts):
8906 * LColor.C (getFromGUIName):
8907 (getFromLyXName): use the compare_ascii_no_case instead of
8908 compare_no_case, because in turkish, 'i' is not the lowercase
8909 version of 'I', and thus turkish locale breaks parsing of tags.
8911 2002-07-16 Angus Leeming <leeming@lyx.org>
8913 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8914 now takes a Buffer const & argument.
8916 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
8918 * BufferView.C (resize): check there's a buffer to resize
8920 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
8922 * lyxfunc.C: remove dead code
8925 * lyxserver.C: use lyx_guii::set_read_callback
8927 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
8929 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8930 an inset in a RTL paragraph.
8932 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8934 * lyxfunc.C: repaint after a font size update
8936 2002-07-15 André Pönitz <poenitz@gmx.net>
8938 * lyxlength.C: inBP should be able to return negative values
8940 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8942 * lyxfunc.C: use lyx_gui::update_fonts()
8944 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8946 * lyxfunc.C: use lyx_gui::update_color()
8948 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8954 * lyxrc.C: remove file->new asks for name option, and let
8955 buffer-new take an argument
8957 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8959 * BufferView_pimpl.C: remove unneeded extra repaint()
8961 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
8963 * LyXAction.C: allow command-sequence with NoBuffer
8965 * lyxfunc.C: don't insist on trailing ';' for command-sequence
8967 2002-07-10 Angus Leeming <leeming@lyx.org>
8969 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8971 2002-07-09 Angus Leeming <leeming@lyx.org>
8973 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8975 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8977 * lengthcommon.h: whitespace
8979 * lyxfunc.C: update scrollbar after goto paragraph
8981 * lyxtext.h: factor out page break drawing, and fix it so
8982 page break/added space paints as selected nicely
8984 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8986 * BufferView_pimpl.C: add FIXMEs, clean up a little
8988 2002-07-09 André Pönitz <poenitz@gmx.net>
8990 * lyxfont.[Ch]: support for wasy symbols
8992 2002-07-08 André Pönitz <poenitz@gmx.net>
8994 * BufferView_pimpl.C: apply John's patch for #93.
8996 2002-07-05 Angus Leeming <leeming@lyx.org>
8998 * BufferView_pimpl.C (buffer): generate previews if desired.
9000 * LColor.h: add "preview" to the color enum.
9002 * LColor.C (LColor): add a corresponding entry to the items array.
9004 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9007 2002-07-05 Angus Leeming <leeming@lyx.org>
9009 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9010 The body of the code is now in the method that is passed an ostream &
9011 rather than a file name.
9012 Pass an additional only_preamble parameter, useful for the forthcoming
9015 2002-07-03 André Pönitz <poenitz@gmx.net>
9017 * lyxfunc.C: simplify getStatus() a bit for math stuff
9019 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9021 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9023 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9025 * text.C (changeRegionCase): do not change case of all the
9026 document when region ends at paragraph end (bug #461)
9028 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9030 * paragraph.C (startTeXParParams):
9031 (endTeXParParams): add \protect when necessary
9033 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9035 * BufferView_pimpl.C (workAreaExpose): remove warning
9037 2002-06-27 Angus Leeming <leeming@lyx.org>
9039 * Makefile.am: add lyxlayout_ptr_fwd.h.
9041 2002-06-26 André Pönitz <poenitz@gmx.net>
9043 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9045 2002-06-25 Angus Leeming <leeming@lyx.org>
9047 * lyxfunc.C (dispatch): Comment out the call to
9048 grfx::GCache::changeDisplay. The method no longer exists now that the
9049 pixmap generation part of the graphics loader has been moved into
9052 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9054 * text2.C: layout as layout
9056 * text.C: layout as layout
9058 * tabular.C (OldFormatRead): layout as layout
9060 * paragraph_pimpl.C (TeXDeeper): layout as layout
9061 (realizeFont): layout as layout
9063 * paragraph.C (writeFile): layout as layout
9064 (validate): layout as layout
9065 (getFont): layout as layout
9066 (getLabelFont): layout as layout
9067 (getLayoutFont): layout as layout
9068 (breakParagraph): layout as layout
9069 (stripLeadingSpaces): layout as layout
9070 (getEndLabel): layout as layout
9071 (getMaxDepthAfter): layout as layout
9072 (applyLayout): layout as layout
9073 (TeXOnePar): layout as layout
9074 (simpleTeXOnePar): layout as layout
9075 (TeXEnvironment): layout as layout
9076 (layout): layout as layout
9077 (layout): layout as layout
9079 * lyxtextclass.C (compare_name): new functor to work with
9080 shared_ptr, layout as layout
9081 (Read): layout as layout
9082 (hasLayout): layout as layout
9083 (operator): layout as layout
9084 (delete_layout): layout as layout
9085 (defaultLayout): layout as layout
9087 * lyxlayout_ptr_fwd.h: new file
9089 * lyxlayout.C (Read): layout as layout
9091 * lyx_cb.C (MenuInsertLabel): layout as layout
9093 * bufferlist.C (newFile): layout as layout
9095 * buffer.C (readLyXformat2): layout as layout
9096 (parseSingleLyXformat2Token): layout as layout
9097 (insertStringAsLines): layout as layout
9098 (asciiParagraph): layout as layout
9099 (latexParagraphs): layout as layout
9100 (makeLinuxDocFile): layout as layout
9101 (simpleLinuxDocOnePar): layout as layout
9102 (makeDocBookFile): layout as layout
9103 (simpleDocBookOnePar): layout as layout
9104 (getLists): layout as layout
9106 * LaTeXFeatures.C (getTClassPreamble): layout as layout
9108 * CutAndPaste.C (cutSelection): layout as layout
9109 (pasteSelection): layout as layout
9110 (SwitchLayoutsBetweenClasses): layout as layout
9112 * BufferView_pimpl.C (Dispatch): layout as layout
9113 (smartQuote): layout as layout
9115 * BufferView2.C (unlockInset): layout as layout
9117 2002-06-24 André Pönitz <poenitz@gmx.net>
9119 * lyxfunc.C: fix #487
9121 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9125 * lyxfunc.C: remove display_shortcuts, show_banner
9127 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9129 * Buffer_pimpl.C: oops, update on resize
9131 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9138 * BufferView.C: use repaint()
9140 * BufferView_pimpl.h:
9141 * BufferView_pimpl.C: s/updateScreen()/repaint()/
9142 as it's a clearer description. Remove superfluous
9145 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9147 * text.C: fix bug 488. Not ideal, but getting
9148 getWord() to work properly for the insets that
9149 matter is more difficult ...
9151 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9153 * BufferView_pimpl.C:
9156 * lyxfunc.C: remove the six million index lyxfuncs to just
9157 one, and DTRT (bug 458)
9159 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9163 * BufferView_pimpl.h:
9164 * BufferView_pimpl.C: clean up resize() stuff,
9165 and unnecessary updateScreen()s
9167 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9171 * BufferView_pimpl.h:
9172 * BufferView_pimpl.C:
9175 * minibuffer.C: remove focus management of workarea,
9176 not needed. Use screen's greyOut()
9178 2002-06-17 Herbert Voss <voss@lyx.org>
9180 * converter.C: (convert) do not post a message, when converting
9181 fails, let the calling function decide what to do in this case
9183 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
9185 * lyxfunc.C: tidy up a little
9187 2002-06-16 <alstrup@diku.dk>
9189 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9190 Got rid of FORMS_H_LOCATION include. Now we are
9193 2002-06-15 LyX Development team <lyx@rilke>
9195 * buffer.[Ch] (sgmlOpenTag):
9196 (sgmlCloseTag): Added support for avoiding pernicious mixed
9197 content. Return number of lines written.
9200 (makeDocBookFile): Fixed calls to sgml*Tag.
9201 Simple white space clean.
9203 (simpleDocBookOnePar): Simple white space clean.
9205 * tabular.[Ch] (docBook): Renamed to docbook and got another
9206 argument to related with the pernicious mixed content.
9208 (docbookRow): Fixed calls for docbook inset method.
9210 2002-06-15 Lyx Development team <larsbj@birdstep.com>
9212 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9213 so it's X11 independent.
9217 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9219 2002-06-15 Lyx Development team <lyx@electronia>
9221 * intl.h: Renamed getTrans to getTransManager.
9223 2002-06-14 Angus Leeming <leeming@lyx.org>
9225 * Makefile.am: nuke forgotten stl_string_fwd.h.
9227 2002-06-12 Angus Leeming <leeming@lyx.org>
9229 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9231 2002-06-13 Angus Leeming <leeming@lyx.org>
9234 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9236 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
9238 * kbmap.C (getiso): add support for cyrillic and greek
9240 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9244 * BufferView_pimpl.h:
9245 * BufferView_pimpl.C: move bogus scrolling logic
9248 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9251 * BufferView_pimpl.C: view->resize() change
9253 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9255 * BufferView_pimpl.C: topCursorVisible
9258 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9262 * lyx_gui.C: move to frontends/
9266 * lyx_main.C: changes from above
9268 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9275 * lyx_main.C: minor tidy
9277 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9279 * BufferView_pimpl.h:
9280 * BufferView_pimpl.C:
9282 * BufferView.C: make painter() const,
9285 * BufferView2.C: use screen() accessor
9288 * lyx_main.C: some minor cleanup
9290 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9292 * BufferView_pimpl.h:
9293 * BufferView_pimpl.C: remove enter/leaveView,
9296 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9301 * BufferView_pimpl.h:
9302 * BufferView_pimpl.C: only construct screen once,
9305 * lyxrc.C: remove pointless comment
9307 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9310 * BufferView.C: remove active() and belowMouse()
9312 * BufferView_pimpl.h:
9313 * BufferView_pimpl.C: use workarea() not workarea_,
9314 and make it use a scoped_ptr instead
9316 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9318 * lyx_gui.C: add debug message on BadWindow
9320 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9322 * sp_spell.C: fdopen is not part of the C++ standard.
9324 * paragraph.C (InsetIterator): use >= instead of ==
9326 2002-06-07 Angus Leeming <leeming@lyx.org>
9328 Fixes needed to compile with Compaq cxx 6.5.
9329 * BufferView_pimpl.C:
9336 * lyxtextclasslist.C:
9341 all c-library variables have been moved into namespace std. Wrap
9342 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9347 Add a using std::abs declaration.
9349 * kbmap.h (modifier_pair):
9350 * paragraph.h (InsetTable, InsetList):
9351 * lyxfont.h (FontBits):
9352 type definition made public.
9354 * bufferlist.C (emergencyWriteAll): the compiler complains that
9355 there is more than one possible lyx::class_fun template to choose from.
9356 I re-named the void specialisation as lyx::void_class_fun.
9358 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9360 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9361 the compiler is is unable to find tostr in write_attribute.
9363 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9365 * buffer.C (sgmlError): hide #warning
9367 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9369 * xtl/*: get rid of xtl, which is not in use anyway
9371 * LyXAction.C (init):
9372 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9373 were unimplemented xtl experimentation
9375 2002-06-04 André Pönitz <poenitz@gmx.net>
9377 * lyxfunc.C: disable array operation on simple formulae
9379 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
9381 * converter.C: constify a bit
9383 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
9385 * lyx_gui.C: check xforms version correctly
9387 2002-04-30 Herbert Voss <voss@lyx.org>
9389 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9392 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
9394 * lyxvc.C: fix bug 416 (make sure buffer is saved before
9395 attempt to register it with a VCS)
9397 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9399 * lyx_main.C (init): honor variables LYX_DIR_13x and
9402 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9406 * lyx_main.C: fix a crash on bad command line,
9407 and give a useful exit status on error
9409 * lyxfunc.C (doImport): allow -i lyx to work
9411 2002-03-30 André Pönitz <poenitz@gmx.net>
9413 * lyxfunc.C: mathed font changes
9415 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9430 * trans_mgr.h: srcdocs, and some minor cleanups
9432 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9434 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9435 call getFont all the time)
9437 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9439 * switch from SigC signals to boost::signals
9441 2002-05-29 André Pönitz <poenitz@gmx.net>
9443 * paragraph_pimpl.C (getChar): don't call size() too often...
9445 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9447 * paragraph_pimpl.C (insertChar): do not try to update tables when
9448 appending (pos == size())
9450 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9451 in order to reduce drastically the number of comparisons needed to
9452 parse a large document
9454 2002-05-29 André Pönitz <poenitz@gmx.net>
9460 * textclasslist.[Ch]:
9461 * sp_ispell.h: whitespace change
9463 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9465 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9466 lyxaction directly now.
9468 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
9472 * lyxvc.C: remove unused headers
9474 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9481 * undo_funcs.C: some cleanups. Use shared_ptr
9482 and a template for the undo stacks.
9484 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9486 * BufferView_pimpl.h:
9487 * BufferView_pimpl.C:
9494 * text2.C: use key_state/mouse_state
9496 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9498 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9501 * chset.C: change include order
9502 (loadFile): use boost regex and get rid of LRegex and LSubstring
9504 * Makefile.am (BOOST_LIBS): new variable
9507 * LaTeX.C: change include order.
9508 (scanAuxFile): use boost regex and get rid of LRegex and
9512 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9517 * FontInfo.C: moved to frontends/xforms/
9520 * FontLoader.C: moved into frontends for GUIIzation
9525 * lyxfunc.C: changes from above
9527 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9529 * LColor.C: remove spurious X include
9531 * BufferView_pimpl.C:
9536 * text2.C: move font metrics to frontends/
9538 2002-05-24 Juergen Vigna <jug@sad.it>
9540 * undo_funcs.C (textHandleUndo): fix the cursor selection after
9541 setting the undo_cursor.
9543 * ParagraphParameters.h: include local includes first.
9545 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9547 * BufferView_pimpl.C:
9548 * BufferView_pimpl.h:
9552 * screen.C: move WorkArea into frontends/
9558 * BufferView2.C: move LyXScreen into frontends/
9562 * lyx_gui.C: move lyxlookup into frontends/xforms/
9564 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9567 * BufferView_pimpl.C:
9577 * bufferview_funcs.C:
9590 * vc-backend.C: move LyX/XFormsView into frontends/
9592 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9604 * text2.C: move Painter to frontends/
9606 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9608 * buffer.C: comment out some some code that depend upon lyx_format
9611 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9612 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9614 * buffer.h (NO_COMPABILITY): turn off compability
9616 * ColorHandler.C: include scoped_array.hpp
9618 * font.C: Use more specific smart_ptr header.
9621 * ShareContainer.h: ditto
9625 * BufferView_pimpl.h: ditto
9626 * ColorHandler.h: ditto
9628 * kbmap.C (defkey): change call to shared_ptr::reset
9630 2002-05-21 Juergen Vigna <jug@sad.it>
9632 * buffer.C (insertErtContents): fix to insert ert asis if it is
9633 non empty. Skip it completely if it contains only whitespaces.
9635 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
9637 * BufferView_pimpl.C:
9638 * BufferView2.C: clear selection on paste (bug 393)
9640 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9642 * DepTable.C: include ctime
9644 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
9646 * buffer.C (latexParagraphs): Add new argument (moving_arg).
9648 2002-05-14 Juergen Vigna <jug@sad.it>
9650 * text.C (breakParagraph): fixed function to honor the keepempty
9651 layout in the right maner and also to permit the right breaking
9652 algorithm on empty or non empyt keepempty paragraphs.
9654 * paragraph.C (breakParagraph): we have to check also if the par
9655 is really empty (!size()) for isempty otherwise we do the wrong
9658 2002-05-10 Juergen Vigna <jug@sad.it>
9660 * buffer.[Ch] : The following are only changes to the ert
9661 compatibility read reading old LaTeX layout and font stuff and
9662 convert it to ERTInsets.
9664 * buffer.h: added isErtInset().
9666 * buffer.C (struct ErtComp): add a fromlayout bool to check
9667 if we're inside a LaTeX layout.
9668 (isErtInset): new helper function.
9669 (insertErtContents): look for other ert insets before this one
9670 and insert the contents there, so that we don't have subsequent
9671 ERT insets with nothing between them. This way we create only one
9672 inset with multiple paragraphs. Also check if we don't insert only
9673 spaces ' ' as they are ignored anyway afterwards in the .tex file
9674 so if we have only spaces we will ignore this latex part in the
9676 (parseSingleLyXformat2Token \\layout): better compatibility when
9677 reading layout-latex stuff.
9678 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9680 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9681 stuff after reading the inset only get the information back from
9684 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
9686 * buffer.C (makeLaTeXFile): Put language options after loading babel.
9688 * LaTeXFeatures.C (getBabelOptions): New method.
9690 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9692 * BufferView_pimpl.C (Dispatch): work around missing argument for
9695 2002-05-08 Juergen Vigna <jug@sad.it>
9697 * text.C (leftMargin): handle paragraph leftindent.
9699 * paragraph.C (writeFile): write the new \\leftindent tag.
9700 (validate): handle leftindent code.
9701 (TeXEnvironment): handle paragraphleftindent code again.
9703 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9705 * buffer.C (parseSingleLyXformat2Token): added compatibility code
9706 for paragrap_extra indent code and new token \\leftindent.
9707 (latexParagraphs): handle the leftindent as environment.
9709 * ParameterStruct.h: added leftindent support.
9711 * ParagraphParameters.C (leftIndent): added support functions for
9712 the paragraph left indent.
9714 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9717 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
9719 * paragraph.C (isRightToLeftPar): Return false for a paragraph
9722 * text.C (computeBidiTables): No bidi in insetERT.
9724 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9727 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9729 * version.C.in: pre 5
9731 2002-05-02 José Matos <jamatos@fep.up.pt>
9732 * buffer.C (makeDocBookFile): white space changes, add newline to
9734 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9736 * tabular.C (docBook): fix typo.
9738 2002-05-03 Juergen Vigna <jug@sad.it>
9740 * screen.C (drawFromTo): recalculate the rowpointer if we had a
9741 change in LyXText as we can not be sure it was not freed.
9742 (drawOneRow): remove unused code.
9744 * text.C (drawInset): redo the calculation of the need_break_row as
9745 it could have a row which was already freed.
9746 (draw): look at the return value of drawInset and return false if
9747 it also returned false.
9748 (paintRowText): look at the return value of draw and return false if
9749 it also returned false.
9751 * lyxtext.h: added bool return type to drawInset() and draw() so that
9752 if we have a change in the row so that the rowbreak has to be redone
9753 we abort drawing as it will be called again.
9755 2002-05-02 Juergen Vigna <jug@sad.it>
9757 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9758 a change in the maintext also if we're inside an inset.
9759 (Dispatch): set the cursor again after a break line and after the
9760 screen has been updated as it could be we're in a different row.
9762 * text2.C (fixCursorAfterDelete): check to make sure we don't request
9763 to set the cursor behind the pargraph with > size().
9764 (setCursor): check also for the same paragraph when checking where
9765 to put the cursor if we have a NFR inset.
9767 * buffer.C (parseSingleLyXformat2Token): move the compatibility
9768 parts of layout read further up as it still was in the wrong
9771 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9773 * screen.C (drawFromTo): change sine fullRebreak always return
9776 * buffer.C (parseSingleLyXformat2Token): reindent some
9778 * BufferView_pimpl.C (update): change since fullRebreak always
9780 (Dispatch): git rid of the last hardcoded "Standard"s.
9782 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9784 * text2.[Ch] (fullRebreak): make it return void now that we always
9787 2002-04-30 Juergen Vigna <jug@sad.it>
9789 * buffer.C (parseSingleLyXformat2Token): reset the font before the
9790 ert compatibility check for "latex" layout.
9792 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
9794 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9795 minipages: use col% instead of p%, and also use the current font.
9796 (makeLaTeXFile): Fix use babel condition.
9797 (parseSingleLyXformat2Token): Correct font when reading old floats.
9799 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
9801 * BufferView_pimpl.C (Dispatch): Check that float type exists when
9802 inserting list of floats.
9804 2002-04-25 Herbert Voss <voss@lyx.org>
9806 * MenuBackend.C (expand): don't add the graphics extensions to the
9809 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9811 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9812 non-existing layout, do not complain if it was the default layout
9813 of the original class (bug #342)
9815 2002-04-24 Juergen Vigna <jug@sad.it>
9817 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9818 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9820 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
9822 * buffer.C (getBibkeyList): If using \bibliography, return the
9823 option field with the reference itself. Enables us to provide natbib
9824 support when using \bibliography.
9826 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
9828 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9830 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9831 natbib is provided by the LaTeX class.
9833 2002-04-23 Juergen Vigna <jug@sad.it>
9835 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9838 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9840 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9842 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9844 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9845 ensuremath around textordmasculine, textordfeminine and
9848 2002-04-19 Juergen Vigna <jug@sad.it>
9850 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9851 reinitializing the buffer otherwise row-dimensions may be wrong.
9852 (update): reset also the selection cursors if they do exits otherwise
9853 their x/y positions may be wrong.
9855 * text2.C (cursorDown): don't enter the inset if we came from a row
9856 above and are one row over the inset.
9858 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9859 really leaving an inset.
9861 2002-04-18 Juergen Vigna <jug@sad.it>
9863 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9864 of the selected paragraph does not have the selected layout also if
9867 * text2.C (setLayout): fixed bug which did not change last selected
9870 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9871 changed the read and substituted \\end_float with \\end_inset!
9873 * BufferView_pimpl.C (cursorPrevious):
9874 (cursorNext): fixed to make it work with rows heigher than the work
9875 area without moving the cursor only the draw of the row.
9876 (workAreaMotionNotify): fix jumping over high rows.
9878 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9880 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9883 2002-04-16 Juergen Vigna <jug@sad.it>
9885 * text2.C (setCursor): set also the irow().
9886 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9888 (cursorDown): support for locking an inset if the x_fix value goes
9889 inside it. That way I can transverse insets too with cursor up/down.
9891 * lyxrow.h: added irow helper function same as other (i) functions.
9893 * BufferView_pimpl.C (cursorPrevious):
9894 (cursorNext): fixed for insets!
9896 2002-04-15 Juergen Vigna <jug@sad.it>
9898 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9899 position otherwise it is wrong in some cases.
9901 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9902 inside the inset before the call.
9904 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
9906 * buffer.[Ch] (getBibkeyList): make it const.
9908 2002-04-12 Juergen Vigna <jug@sad.it>
9910 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9912 * text2.C (getCursorX): new helper function
9913 (setCursor): compute also ix_
9914 (setCursorFromCoordinates): set also ix.
9916 * lyxcursor.h: added ix_ and helper functions.
9918 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9920 * buffer.C (insertStringAsLines): dont break paragraph if the this
9921 paragraph is inside an inset which does not permit it!
9923 * text.C (breakParagraph): honor keepempty flag and break the paragraph
9924 also with no chars on this paragraph.
9925 (paintRowText): only paint stuff if it's inside the workarea!
9927 * paragraph.C (breakParagraph): honor keepempty flag and break the
9928 paragraph always below not above.
9930 * BufferView2.C (unlockInset): update the paragraph layout on inset
9931 unlock as we changed paragraph in such a case.
9933 * lyxfind.C (LyXFind): clear the former selection if not found!
9935 * text2.C (insertInset): freeze Undo after setUndo so that it is not
9936 again called in insertChar().
9938 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9939 an inset which uses the whole row!
9940 (rightMargin): ditto.
9941 (insertChar): force a rebreak if we inserted an inset!
9943 2002-03-28 Herbert Voss <voss@lyx.org>
9945 * lyxlength.[Ch]: add inBP() to get the right PS-point
9946 units (BigPoint). With inPixels we have rounding errors
9948 2002-04-11 Juergen Vigna <jug@sad.it>
9950 * text2.C (setCursorFromCoordinates): set iy to the right value.
9951 (setCursor): add check if row->previous exists!
9953 * buffer.C (parseSingleLyXformat2Token): reset font after read of
9954 an old float_type as this was the case in the old code!
9956 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9958 * BufferView2.C (showLockedInsetCursor): use iy
9959 (fitLockedInsetCursor): ditto
9961 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9962 locked insets as there we have the right value now.
9964 * lyxcursor.C: added iy_ variable and iy functions to set to the
9965 baseline of cursor-y of the locked inset.
9967 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9968 (setCursor): fixed for insets which need a full row.
9970 * text.C (rowLastPrintable): don't ignore the last space when before
9971 an inset which needs a full row.
9972 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9973 as last character of a row when before a inset which needs a full row.
9975 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9977 * version.C.in: update date
9979 * text2.C (fullRebreak): try to always return true and see what
9982 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9984 * MenuBackend.C (expand): use Floating::listName
9986 * FloatList.C (FloatList): add listName argument to the built-in
9989 * Floating.[Ch]: add listName member, which is the 'List of XXX'
9990 text associated with the float.
9992 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9994 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9996 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9998 * ShareContainer.h: add a couple of missing typenames.
10000 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
10002 * lyxrc.C (getDescription): use _() correctly rather than N_().
10004 2002-03-28 Herbert Voss <voss@lyx.org>
10006 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10007 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10009 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10011 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10012 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10014 2002-03-29 Juergen Vigna <jug@sad.it>
10016 * lyxfunc.C (dispatch): add a missing fitCursor call.
10018 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10019 it was scrolled by a cursor move, so return the bool status.
10021 * BufferView.C (fitCursor): return the bool flag also to the outside
10022 world as this is needed.
10024 * screen.C (toggleToggle): don't subtract the offset if it's positive.
10026 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10027 call the edit() as it is not needed (and wrong) IMO.
10028 (workAreaButtonPress): set the screen_first variable before evt.
10029 unlock the inset as this may change screen_first and then we have
10030 a wrong y position for the click!
10032 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10034 * MenuBackend.C (expand): another translation that I missed
10036 2002-03-28 Juergen Vigna <jug@sad.it>
10038 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10040 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10042 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10044 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10046 * MenuBackend.C (expand): fix export/view/update when there is no
10049 2002-03-27 Herbert Voss <voss@lyx.org>
10051 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10054 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10056 * bufferview_funcs.C (currentState): only show paragraph number
10057 for is DEVEL_VERSION is set.
10059 * lyxfunc.C (dispatch): put warning in INFO channel
10061 * MenuBackend.C (expand): translate the name of floats
10063 * FloatList.C (FloatList): mark the float names for translation
10065 * converter.C (convert): use LibScriptSearch
10067 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10069 * MenuBackend.C (defaults): fix default menu (we might as well get
10072 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10074 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10077 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10079 * lyxvc.C: reorder includes.
10081 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
10083 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10086 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
10088 * CutAndPaste.C: change layouts earlier on paste
10089 to avoid crashing when calling getFont()
10091 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
10093 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10096 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10098 * WorkArea.C: remove 'Pending' debug message.
10100 * most files: ws cleanup
10102 * buffer.[Ch]: ws changes
10104 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10106 2002-03-21 Juergen Vigna <jug@sad.it>
10108 * tabular.C (SetMultiColumn): collapse also the contents of the
10109 cells and set the last border right. Added a Buffer const * param.
10111 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10113 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10116 2002-03-19 Juergen Vigna <jug@sad.it>
10118 * text2.C (clearSelection): reset also xsel_cache.
10120 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10121 where it needs to be called (John tells us to do so too :)
10122 (selectionLost): reset sel_cache.
10124 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10126 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10128 * text2.C (setCursorIntern): put debuging code in INSETS channel
10130 2002-03-19 André Pönitz <poenitz@gmx.net>
10132 * lyxfunc.C: tiny whitespace change
10134 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10136 * ToolbarDefaults.C (init):
10137 * LyXAction.C (init):
10139 * BufferView_pimpl.C (Dispatch):
10140 * lyxfunc.C (dispatch): remove LFUN_DEPTH
10142 2002-03-19 Allan Rae <rae@lyx.org>
10144 * exporter.C (Export): removeAutoInsets before doing anything else.
10145 While I've just introduced a dependency on BufferView this really is
10146 the best place to clean the buffer otherwise you need to cleanup in
10147 a dozen places before calling export or cleanup in a dozen functions
10150 * converter.C (runLaTeX):
10151 (scanLog): Better handling of removeAutoInsets and screen updates.
10153 * lyxfunc.C (dispatch): small whitespace changes
10155 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10157 * WorkArea.C (C_WorkAreaEvent): return a value.
10158 (event_cb): return 1 if we handled the event, 0 otherwise.
10160 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10162 2002-03-18 Juergen Vigna <jug@sad.it>
10164 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10165 (GetAdditionalWidth): ditto.
10166 (RightLine): ditto.
10169 * BufferView2.C (copy): use getLyXText() so that we do it inside an
10170 inset if we're there actually (probably not used right now but this
10171 is the direction to go for unifying code).
10172 (paste): disable code to clear the selection.
10174 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10175 inside an InsetText and move the check further up as it is in the
10178 * text2.C (pasteSelection): set a selection over the pasted text.
10180 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
10182 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10183 and libgraphics to build on Cygwin.
10185 2002-03-15 Juergen Vigna <jug@sad.it>
10187 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10188 inserting an Inset into the paragraph. I know this is not the best
10189 fix but we already use current_view in CutAndPaste so we will remove
10190 all of it's using at the same time.
10192 * buffer.C (sgmlError): deactivated function till it is rewritten in
10193 the right mode, now it can create problems.
10195 * paragraph.C (isLineSeparator): check if getInset returns != 0,
10196 before accessing it.
10198 2002-03-14 Juergen Vigna <jug@sad.it>
10200 * undo_funcs.C (textHandleUndo): do the right thing when updating
10201 the inset after the undo/redo.
10203 * text2.C (setCursor): just some testcode for #44 not ready yet.
10205 * undo_funcs.C (textHandleUndo): set the next() and previous()
10206 pointers of the paragraph to 0 before deleting otherwise we have
10207 problems with the Paragraph::[destructor].
10209 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10210 on a paragraph insertion.
10212 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10214 * buffer.C (asciiParagraph): use += operator for char append to
10217 * paragraph.C (getFontSettings): compare >= not just >
10218 (highestFontInRange): ditto
10221 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10223 * paragraph.C: change several algorithm to be more appripriate for
10224 the problem domain. This is lookip in FontList and in the InsetList.
10226 2002-03-13 André Pönitz <poenitz@gmx.net>
10229 * LyXAction.C: remove unused LFUN_MATH_MACROARG
10231 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
10236 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10238 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10240 * Painter.C (display): anon helper function, adjust code for this
10242 (pixmap): remove function.
10244 * Painter.h: remove private display variable.
10246 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10248 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
10250 * WorkArea.[Ch]: remove figinset_canvas cruft.
10252 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10254 * lyxtextclass.C (operator): add one item cache optimization.
10256 * bufferlist.h: doxy changes
10258 * bufferlist.C: ws changes
10260 * DepTable.[Ch] (ext_exist): place const in the right spot.
10262 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10264 (workAreaExpose): call resizeInsets when the with BufferView changes.
10265 (Dispatch): adjust for protectedBlank removal
10266 (specialChar): call updateInset if the insert went ok.
10268 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10269 specialChar instead.
10271 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10273 * BufferView.h: doxy change
10275 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10277 * lyxtextclass.C (operator[]): remove non-const version
10278 (defaultLayout): remove non-const version
10280 2002-03-12 Juergen Vigna <jug@sad.it>
10282 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10283 did resize the LyXText too.
10285 * buffer.C (readLyXformat2): set layout information on newly allocated
10288 * tabular.C (OldFormatRead): set layout information on the paragraph.
10290 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10292 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10294 2002-03-11 Juergen Vigna <jug@sad.it>
10296 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10298 (resizeCurrentBuffer): force also the insets to resize themselfes.
10299 (moveCursorUpdate): fixed up for InsetText.
10301 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
10304 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10305 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10306 value of Dialogs::tooltipsEnabled().
10307 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10309 2002-03-08 Juergen Vigna <jug@sad.it>
10311 * BufferView_pimpl.C (updateInset): update inset inside inset also
10312 if it isn't inside theLockingInset().
10314 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10316 * buffer.C (asciiParagraph): redo some of the word and line length
10318 (getLists): look for Caption instead of caption.
10320 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10322 * buffer.C (Buffer): initialize niceFile to true
10324 (makeLinuxDocFile):
10325 (makeDocBookFile): make sure niceFile is true on exit
10327 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10329 * buffer.C (makeLaTeXFile): escape ~ in \input@path
10331 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
10333 * LyXSendto.C: remove.
10334 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10335 * lyx_gui.C: remove now-redundant comment.
10336 * ColorHandler.h: remove forward declaration of class WorkArea.
10337 * lyxfunc.C: remove #include "WorkArea.h".
10339 2002-03-07 Juergen Vigna <jug@sad.it>
10341 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10342 got moved away with the DEPM and also set the inset_owner always
10343 right which before could have been omitted.
10345 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10347 * buffer.C (parseSingleLyXformat2Token): use default layout is the
10348 wanted layout is not found.
10350 2002-03-07 Juergen Vigna <jug@sad.it>
10352 * CutAndPaste.C (cutSelection): another layout settings forgotten.
10354 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10356 * paragraph.C (breakParagraph): use default layout not layout of
10358 (Paragraph): clear ParagraphParameters.
10360 2002-03-06 Juergen Vigna <jug@sad.it>
10362 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10363 otherwise it would not be a valid lenght. Fixed a special case in
10364 the minipage compatibility read where we end the document with a
10367 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10368 was set as it could be 0 for InsetTexts first entry.
10370 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10372 * paragraph.C (writeFile): if layout is empty write out
10373 defaultLayoutName().
10375 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10376 file without named layout we set layout to defaultLayoutName().
10378 2002-03-06 Juergen Vigna <jug@sad.it>
10380 * CutAndPaste.C (copySelection): set layout for new paragraph.
10382 * text.C (prepareToPrint): leave ERT inset left aligned
10383 (leftMargin): don't indent paragraphs inside ERT insets
10385 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10387 * paragraph.C (breakParagraph): dont call clear do the work manually
10389 * paragraph.[Ch] (clear): remove function
10391 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10393 * paragraph.C (Paragraph): dont call clear, the work has already
10396 * lyxtextclass.C (operator): assert if n is empty
10398 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10399 work manually instead.
10401 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10403 * BufferView_pimpl.C: protect selectionLost against text == 0
10405 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10407 * text.C (breakParagraph): fix a setting layout to '0' problem.
10409 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10411 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10412 final location of file, for the included files, and graphics.
10414 2002-03-05 Juergen Vigna <jug@sad.it>
10416 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10418 2002-03-04 Juergen Vigna <jug@sad.it>
10420 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10422 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10423 last column of multicolumn cells.
10424 (SetWidthOfMulticolCell): recalculate NMC and real columns.
10426 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
10428 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10429 file if it doesn't go to a temporary file.
10431 * buffer.C (sgmlOpenTag):
10432 (sgmlCloseTag): remove extra newline insertion.
10434 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10436 * text.C (getRowNearY): comment out debug msg
10438 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10440 * text2.C: first -> first_y
10442 * text.C (getRowNearY): add some attemts at a possible
10443 optimization, not working.
10445 * tabular.[Ch]: add BufferParams to several function so that newly
10446 created paragraph can be initialized to he default layotu for the
10449 * tabular-old.C (ReadOld): add buf->params to call of Init
10451 * screen.C: rename text->first to text->first_y
10453 * paragraph.C (breakParagraph): always set layout in the broken
10456 * lyxtextclass.C (Read): remove lowercase
10459 (delete_layout): ditto
10461 * lyxtext.h: rename first -> first_y
10463 * lyxlayout.C (Read): remove lowercase
10466 (obsoleted_by): ditto
10468 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10470 * buffer.C (insertErtContents): add params are to InsetERT
10471 (parseSingleLyXformat2Token): add code to check if a paragraphs
10472 layout really exist.
10473 (parseSingleLyXformat2Token): add params to several inset
10475 (asciiParagraph): remove lowercase, do the layout comparisons with
10478 * BufferView_pimpl.C (cursorNext): first -> first_y
10479 (resizeCurrentBuffer): first -> first_y
10480 (updateScrollbar): first -> first_y
10481 (scrollCB): first -> first_y
10482 (workAreaMotionNotify): first -> first_y
10483 (workAreaButtonPress): first -> first_y
10484 (checkInsetHit): first -> first_y
10485 (cursorPrevious): first -> first_y
10486 (cursorNext): first -> first_y
10487 (Dispatch): add buffer_->params to severl inset contructors
10489 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10491 * lyxlayout.C (Read): remove some debug info that I forgot.
10493 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10494 clean up the code slightly.
10495 (makeLinuxDocFile): ditto
10496 (makeDocBookFile): ditto
10498 * text2.C: layout as string
10500 * text.C: layout as string
10502 * paragraph_pimpl.C: layout as string
10504 * paragraph.[Ch]: layout as string
10506 * lyxtextclasslist.[Ch]: layout as string
10508 * lyxtextclass.[Ch]: layout as string
10510 * lyxtext.h: layout as string
10512 * lyxlayout.[Ch]: layout as string
10514 * lyx_cb.C: layout as string
10516 * bufferview_funcs.C: layout as string
10518 * bufferparams.C: layout as string
10520 * buffer.C: layout as string
10522 * LyXView.[Ch]: layout as string
10524 * LaTeXFeatures.[Ch]: layout as string
10526 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10528 * BufferView_pimpl.C: change current_layout to string, remove
10533 (workAreaButtonRelease): layout as string
10535 * BufferView2.C (unlockInset): adjust
10537 * vspace.C (asLatexCommand): use an explict temp variable.
10539 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10541 * Makefile.am: use FRONTEND_*
10543 2002-03-01 Juergen Vigna <jug@sad.it>
10545 * tabular.C (SetWidthOfMulticolCell): changed to something better
10546 I hope but still work in progress.
10547 (recalculateMulticolumnsOfColumn): renamed function from
10548 recalculateMulticolCells as it is more appropriate now.
10549 (SetWidthOfCell): calculate multicols better.
10551 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10553 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10555 * lyxfunc.C (processKeySym): print sequence also if it is
10556 `deleted' (complete)
10558 * kbsequence.C (print): print sequence even if it is deleted
10559 (complete would be a better word, actually).
10561 * lyxfunc.C (dispatch): print complete options after a prefix key
10563 * vspace.C (asLatexCommand): rewrite in a slightly different form.
10565 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
10567 * text2.C (setCharFont): eliminate setCharFont code duplication.
10569 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10571 * BufferView_pimpl.C (Dispatch): remove bogus handling of
10572 LFUN_TABULAR_FEATURE (bug #177)
10574 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
10576 * Makefile.am: remove figure.h
10578 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
10580 * Bufferview_pimpl.C:
10592 * text2.C: remove #include "lyx_gui_misc.h".
10594 * LaTeX.C: added #include <cstdio>
10596 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10598 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10599 that the paragraph following this one can have.
10601 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10603 * vspace.C (asLatexCommand): fix bogus gcc warning
10605 * Makefile.am (lyx_SOURCES): remove vms_defines.h
10607 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
10609 * text2.C (setLayout): get rid of redundant code
10611 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
10613 * text2.C (incDepth): make sure depth cannot be increased beyond
10616 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
10618 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10619 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10621 * PainterBase.h (image):
10622 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10623 a LyXImage const *.
10625 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10629 * BufferView_pimpl.C:
10630 * BufferView_pimpl.h:
10650 * sp_spell.C: remove fig inset, and the crap house of
10651 cards that follows it
10653 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10658 * os2_errortable.h:
10659 * nt_defines.h: move .h into support/
10661 * vms_defines.h: remove
10663 * WorkArea.C: add space in debug output
10667 * buffer.C: add WITH_WARNINGS
10671 * bufferlist.C: s/retrive/retrieve/, add docs
10680 * chset.C: add docs
10682 * lyxgui.C: add ID to X error handler
10684 * lyxtestclass.c: fix typo
10686 2002-02-26 Juergen Vigna <jug@sad.it>
10688 * tabular_funcs.C (write_attribute): changed so that some default
10689 attributes are not written at all.
10690 (getTokenValue): set default values before trying to read the
10691 value so we have the return value always set as default if we don't
10692 find the token we search for.
10694 * tabular.C (Write): write bools as bools not as strings!
10696 2002-02-22 Juergen Vigna <jug@sad.it>
10698 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10699 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10701 * text.C (leftMargin): don't add an indent for paragraphs inside
10702 tabular cells (fix #208).
10704 2002-02-21 José Matos <jamatos@fep.up.pt>
10706 * tabular.C (docBook): fixed support for long tables.
10708 2002-02-20 Juergen Vigna <jug@sad.it>
10710 * text2.C (getFont): get the drawing font of the Inset if this
10711 paragraph is inside an inset (only important for InsetERT for now).
10713 * buffer.C (insertErtContents): use new lanugage params in ERT
10716 * CutAndPaste.C: commenting out seemingly uneeded code.
10718 2002-02-19 Allan Rae <rae@lyx.org>
10720 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10721 Iterators might be simple to use but they also get invalidated.
10722 (removeAutoInsets): renamed saved cursor tracking variables and added
10723 some comments to clarify what everything does.
10725 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
10732 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10733 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10736 * vc-backend.h: remove #include "support/syscall.h"
10740 * converter.C: rearrange #includes in Lars' approved fashion.
10742 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10743 forward declare class Timeout in the header file.
10745 * XFormsView.C: changes due to the above.
10747 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10748 similar to LyXView.
10750 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10751 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10753 2002-02-18 José Matos <jamatos@fep.up.pt>
10755 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10758 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10760 * a lot of small ws changes
10761 * add a lot of using std::XXX
10762 * use std construcs some places where approp.
10763 * use some exisint stuff from lyxfunctional where approp.
10764 * Make file changes to use partial linking (lets test this now...)
10766 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10770 remove #include "support/syscontr.h" as it's redundant. Always has been.
10778 change Systemcalls::System to Systemcalls::Wait and
10779 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10780 No change of functionality, just reflects the stripped down Systemcalls
10783 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10785 * debug.[Ch]: add a GRAPHICS type to the enum.
10787 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10789 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10791 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10794 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10796 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10797 match the changes below.
10799 * text2.C (toggleInset): if there is not editable inset at cursor
10800 position, try to see if cursor is _inside_ a collapsable inset
10803 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10805 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10806 document menu has a nice checkbox
10808 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10810 * lyxlength.C (asLatexString): change PW to output as percent of
10813 * lengthcommon.C: change '%' to 't%'
10815 * lyxfunc.C (dispatch): a few comments from Martin
10817 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
10821 * BufferView_pimpl.h:
10822 * BufferView_pimpl.C: clear our selection when X tells us we've lost
10825 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10827 * vspace.C (inPixels): fix compiler warning
10829 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10831 * lyxfunc.C (getStatus): fix status message for disabled commands.
10833 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
10835 * BufferView_pimpl.C: fix crash on close buffer
10836 during selection (#227)
10838 2002-01-27 Herbert Voss <voss@lyx.org>
10840 * buffer.C: link old Figure to new graphic inset
10842 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
10844 * FontLoader.C (getFontinfo): Change the latex font names in order
10845 to match the names of type1inst.
10847 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10849 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10851 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10852 (extchanged): ditto
10854 (remove_files_with_extension): ditto
10855 (remove_file): ditto
10858 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10859 document is smaller than the work area height. Do not initialize
10860 static variables to 0.
10862 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10864 * lyx_gui.C (init): give the toolbar tooltips a normal font.
10866 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10867 LFUN_LAYOUT_PARAGRAPHS.
10869 * tabular.C (GetCellFromInset): new method. Finds an inset in a
10870 tabular. It is possible to provide a possible cell, which will
10871 typically be the actcell from the corresponding insettabular
10873 * lyxfunc.C (getStatus): small cleanup; disable
10874 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10877 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10879 * tabular.C (Validate): remove broken optimization (fixes bug #201)
10881 * paragraph.C (startTeXParParams):
10882 (endTeXParParams): new methods. The LaTeX code to
10883 start/end paragraph formatting
10884 (simpleTeXOnePar): call startTeXParParams also when paragraph is
10885 empty (fixes bug #200)
10887 * vspace.C (inPixels): adapt to the change below
10888 (inPixels): [later] more cleanups (remove unused variables)
10890 * lyxlength.C (inPixels): change to use a width and a height as
10893 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10895 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10896 Replaced with \paperwidth
10898 * DepTable.C (insert): add std:: qualifier
10900 2002-01-18 Allan Rae <rae@lyx.org>
10902 * text2.C (removeRow): add comment. Should other refresh_?? vars be
10905 * text.C (drawInset): Turned out I didn't know enough about how
10906 rebreaking worked. This fixes most of the redraw problems. I see
10907 an occasional cursor trail when a line is broken now and the cursor
10908 placement can seem out by a few pixels also after a rebreak.
10910 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10912 * buffer.C (parseSingleLyXformat2Token): update because minipage
10913 width is now a LyXLength
10915 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10917 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10920 2002-01-17 Juergen Vigna <jug@sad.it>
10922 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10924 * BufferView2.C (lockInset): call edit() so that theLockingInset()
10925 is set correctly and the inset is updated correctly.
10927 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10929 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10930 the beginning of the loop.
10932 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
10934 * lyxrc.C: improve help for use_scalable_fonts
10936 2002-01-17 Allan Rae <rae@lyx.org>
10938 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10940 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10942 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10943 make sure to set their inset_owner to the right value (bug #171)
10945 2001-12-12 Ben Stanley <bds02@uow.edu.au>
10948 * DepTable.C: Implement mtime checking to reduce time spent doing
10951 2002-01-16 Juergen Vigna <jug@sad.it>
10953 * tabular.C (GetAdditionalHeight): one of error fixed.
10955 * lyxrc.C (output): small fix in writing use_pspell.
10957 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
10959 * sp_base.h: #include LString.h
10961 2002-01-16 Allan Rae <rae@lyx.org>
10963 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
10964 Can someone check this please?
10966 * text.C (drawInset): It was possible that p.row would be removed by
10967 breakAgainOneRow upsetting a few other settings. There may be another
10968 small tweak possible by setting need_break_row = 0 when p.row has been
10969 removed but I don't know enough about the logic here.
10971 2002-01-15 Allan Rae <rae@lyx.org>
10973 * text.C (insertChar): removed conditional truism.
10975 * BufferView2.C (removeAutoInsets): More tweaks.
10976 cur_par_prev could be a stray pointer. Check for trailing empty line
10977 in case last line was cur_par and only had an error inset on it.
10979 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10981 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10984 * vc-backend.C (most methods):
10985 * exporter.C (Export):
10986 * converter.C (convert):
10988 * LyXSendto.C (SendtoApplyCB):
10989 * lyxfunc.C (dispatch):
10993 * lyx_cb.C (AutoSave):
10995 * BufferView_pimpl.C (MenuInsertLyXFile):
10996 * buffer.C (runChktex): use Buffer::filePath().
10998 * buffer.h: rename filename to filename_; rename filepath to
10999 filepath_ and make it private
11000 (filePath): new method
11002 * buffer.C (writeFile): use fileName()
11005 * lyx_main.C (init): fix starting of LyX when the binary is a
11006 link from so,ewhere else.
11008 * minibuffer.C: include <cctype> for isprint
11010 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11012 * buffer.C (parseSingleLyXformat2Token): changes associated with the
11013 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11014 name clash with InsetCollapsable's width function.
11016 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11018 * lastfiles.C: include <iterator>
11020 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11022 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11025 * buffer.C (makeLaTeXFile): ditto.
11026 Also make loop operation more transparent.
11028 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11030 * ToolbarDefaults.C: remove trailing comma closing namespace.
11032 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11034 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11037 * trans.C (Load): comment out unused variable, allowed.
11039 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11041 * minibuffer.[Ch] (append_char): new method to recieve input from the
11042 drop-down completion browser. If a key was pressed, then recieve this
11043 char and append it to the existing string.
11044 (peek_event): modify the positioning data passed to the completion
11045 browser so that it can be placed above the minibuffer rather than below.
11046 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11048 * LyXAction.C (init): alloe error-next for readonly documents.
11050 * BufferView2.C (ChangeRefsIfUnique): use standard version of
11053 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11055 * bufferlist.C (readFile): create the buffer _after_ checking that
11058 * lyxfunc.C (verboseDispatch): fix handling of arguments
11060 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11062 * lyxrc.C: use string::erase() instead of initializing to "".
11065 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11067 * BufferView_pimpl.h:
11068 * BufferView_pimpl.C:
11071 * text2.C: tell X when we have made a selection for copying
11073 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11075 * BufferView_pimpl.C (MenuInsertLyXFile):
11076 * lyxfunc.C (menuNew):
11078 (doImport): add shortcuts to directory buttons
11080 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11083 * lyxfunc.C (setStatusMessage):
11084 (getStatusMessage): new methods
11085 (getStatus):use setStatusMessage instead of setErrorMessage
11086 (dispatch): when function is disabled, set error message here
11087 [instead of in getStatus previously]
11089 * BufferView_pimpl.C (workAreaButtonRelease): update
11090 toolbar/menubar here too.
11092 2002-01-13 Allan Rae <rae@lyx.org>
11094 * BufferView2.C (removeAutoInsets): finished off earlier fix.
11095 Now seems indestructible. Remaining task is to audit all other
11096 code affected by deleteEmptyParagraphMechanism. One small quirk
11097 left is that an empty document with an error in the preamble can
11098 be made to report an error but no error box appears. I don't know
11100 (removeAutoInsets): Improved comments.
11102 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
11105 * Thesaurus.C: update for Aiksaurus 0.14
11107 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11109 * text2.C (firstParagraph): removed member function, all uses
11110 replaces with ownerParagraph
11111 (redoParagraphs): here
11112 (updateInset): here
11113 (toggleAppendix): here
11114 * BufferView2.C (insertErrors): here
11115 (setCursorFromRow): here
11117 2002-01-13 Allan Rae <rae@lyx.org>
11119 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11120 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11121 There is still a way to segfault this although you may have to do this
11122 multiple times: Have an InsetERT with an unknown command in it.
11123 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11124 <down-arrow>, <Enter> again, View->DVI, BANG!
11126 * text2.C (setCursor):
11127 (deleteEmptyParagraphMechanism):
11128 * lyxtext.h (setCursor):
11129 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11130 Making use of the return value may help fix other bugs.
11132 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11134 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11136 * LyXView.C (updateMenubar): call MenuBar::update here
11137 (updateToolbar): but not here
11138 (showState): do not update toolbar/menubar
11140 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11141 should need to care about that.
11143 * lyxfunc.C (verboseDispatch): simplify a bit
11144 (getStatus): have a version which takes a pseudoaction, and
11145 another which requires a (kb_action,string).
11147 * LyXAction.C (retrieveActionArg): make it work also when action
11148 is not a pseudo-action.
11149 (getActionName): simplify a bit
11152 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11154 * lyxfunc.C (verboseDispatch): new families of methods with
11155 several ways to specify a command and a bool to indicate whether
11156 the command name and shortcut should be displayed in minibuffer
11157 (eventually, we could extend that to a finer bitmask like
11158 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11159 (dispatch): the pristine dispatch command which just, well,
11160 dispatchs! Note it still sets its result to minibuffer; I'm not
11163 * lyxfunc.h: remove setHintMessage
11165 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11167 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11169 * BufferView_pimpl.C (specialChar): delete new inset if we have
11170 not been able to insert it.
11172 * kbmap.C: revert to using int instead of kb_action, since all we
11173 are dealing with is pseudo-actions.
11175 * LyXAction.C (searchActionArg): change to return int instead of
11176 kb_action, since the result is a pseudoaction.
11178 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
11180 * buffer.C (insertErtContents): Fix (partially) the font bug.
11182 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11184 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11185 as the other one is broken on my machine!
11187 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
11190 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11192 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
11194 * lyxrc.[Ch]: change names and descriptions of popup font variables to
11195 reflect their actual use. Provide compatibility code for older lyxrc
11198 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11200 change names of popup font variables in line with the changes to lyxrc.C
11202 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11204 * buffer.C (asciiParagraph): avoid outputing a word twice after
11207 * lyxrc.C (getDescription): document that document_path and
11208 template_path can be empty.
11210 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11212 * LaTeXFeatures.C (getMacros):
11213 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11215 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11217 * LaTeXFeatures.C (useFloat): require "float" here instead of in
11219 (getPackages): rename feature "floats" to "float". Use an array to
11220 iterate over 'simple' features (i.e. just a \usepackage). Add
11221 handling of "amsmath" (renamed from "amsstyle").
11223 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
11225 * LaTeXFeatures.C (require): Prevent duplicate entries in the
11228 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
11230 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11231 FuncStaus::FuncStatus & FuncStaus::some_method().
11233 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
11235 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11236 of the func_satus stuff. Edited and massaged in various ways by
11239 * lyxfunc.C (getStatus): use FuncStatus
11241 2002-01-08 Juergen Vigna <jug@sad.it>
11243 * text.C (nextBreakPoint): use function Inset::isChar().
11245 * paragraph.C (TeXOnePar): use function
11246 Inset::forceDefaultParagraphs.
11248 * buffer.C (latexParagraphs): use function
11249 Inset::forceDefaultParagraphs.
11251 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11253 * lyx_gui.C (init): set the style of the menu popups to
11254 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11256 2002-01-07 Juergen Vigna <jug@sad.it>
11258 * text.C (setHeightOfRow): small fix
11259 (prepareToPrint): don't look at alignment if we don't have the place
11262 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11264 * box.C: New file. Move the Box methods and functions out of box.h,
11265 following Lars' suggestion.
11267 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11269 * box.h: #include "support/LOstream.h", needed for inlined function.
11272 * lyxtextclasslist.C: added some using std declarations.
11274 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
11276 * box.h: make signed dimensions to allow insets wider than
11277 the screen (bug #162)
11279 * BufferView_pimpl.C: add some insetHit debug
11281 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
11283 * vc-backend.C: add FIXME
11285 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11287 * lyxfunc.C (getStatus): enable code for showing math font status
11290 2002-01-07 Juergen Vigna <jug@sad.it>
11292 * text.C (nextBreakPoint): removed debug output not needed anymore.
11294 2002-01-06 Juergen Vigna <jug@sad.it>
11296 * text.C (nextBreakPoint): fixed up this function we had this bug
11297 since ever but now hopefully we break row better.
11298 (insertChar): we have to check if an inset is the next char as it
11299 could now happen that a large inset is causing a break.
11301 2002-01-05 Juergen Vigna <jug@sad.it>
11303 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11304 if it doesn't like to be drawed.
11306 2002-01-04 Juergen Vigna <jug@sad.it>
11308 * BufferView2.C (lockInset): forgot to set a cursor.
11310 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11312 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
11314 * FormMathsPanel.C:
11317 * form_maths_panel.C:
11318 * form_maths_panel.h:
11319 * form_maths_panel.fd: implemented sub- and super- buttons in math
11322 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11323 (or ^ space) to be used as in TeX (req'd by André).
11325 * lyxfunc.C: Allow ^ and _ again to be used both as
11326 super/subscript (mathed) and as themselves (in text).
11328 2002-01-03 Allan Rae <rae@lyx.org>
11330 * LyXView.C (updateWindowTitle): Setup a short icon title of either
11331 "LyX" or the filename of the current buffer if it has one. This is a
11332 modified form of John Levon's patch.
11334 * XFormsView.C (setWindowTitle): also set icon title.
11336 * LyXView.h (setWindowTitle): signature changed.
11337 * XFormsView.h (setWindowTitle): ditto.
11339 2002-01-02 Juergen Vigna <jug@sad.it>
11341 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11343 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11345 * screen.C (topCursorVisible): introduce a temp var for
11346 text->cursor.row(), handle the case where this row is null. (kindo
11349 * text2.C (setCursor): add a couple of asserts.
11351 * paragraph.h (inset_iterator): add -> operator
11353 * paragraph.[Ch] (autoDeleteInsets): remove member function
11355 * BufferView2.C (removeAutoInsets): rewrite to handle the old
11356 cursor pos correctly and handle inset deletion by itself.
11357 (insertErrors): move iterator declaration out of for expression
11359 * lyxtextclass.C: add <algorithm>
11361 * Makefile.am: added the new files to sources, removed layout.C
11363 * layout.C: removed file
11365 * layout.h: remove LYX_DUMMY_LAYOUT
11367 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11371 * lyxtextclass.[Ch]:
11372 * lyxtextclasslist.[Ch]: new files
11374 * include order changes to a lot of files, also changes because of
11377 2001-12-27 Juergen Vigna <jug@sad.it>
11379 * buffer.C (asciiParagraph): more fixes.
11381 * tabular.C (ascii): make ascii export support export of only the
11382 data separated by a column-delimiter.
11383 (ascii): better support for ascii export.
11385 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11387 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11389 * tabular_funcs.C: use a "using std::getline" instead of the
11390 previous fix from Angus (necessary for cxx + lyxstring)
11392 2001-12-24 Juergen Vigna <jug@sad.it>
11394 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11396 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11397 problems. First check a minipage also if we have some ert-contents
11398 (not only on par->size(), second set the right depth of the paragraph
11399 on the relink to the root-paragraph-list!
11401 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11402 which then did not anymore update the main paragraphs on undo/redo!
11404 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11406 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11407 code. Support all font-changing funcs (even those which are not in
11408 menu currently). Support for reporting font settings in
11409 mathed (disabled until Andre provides a function on mathed's side).
11411 * func_status.h (toggle): small helper function to set toggle
11414 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
11416 * tabular_funcs.C: getline -> std::getline
11418 2001-12-21 Juergen Vigna <jug@sad.it>
11420 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11421 accessed and could be 0 (I couldn't generate this but it seems
11424 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11426 * tabular_funcs.C: add LIstream.h, move write_attribute to..
11427 * tabular_funcs.h: here and include iosfwd
11429 2001-12-20 Juergen Vigna <jug@sad.it>
11431 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11432 inside inset but undo_par was.
11434 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11436 * Thesaurus.C: always include <config.h> in sources.
11440 * box.h: do not include <config.h> in header files
11442 * text.C (paintLastRow): remove unused variable
11444 * text.C (transformChar):
11446 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11448 * Painter.C (text):
11449 * font.C (width): rewrite to use uppercase() instead of
11452 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11454 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
11456 * lyxfind.C: clean up of find failure position change
11458 2001-12-20 Juergen Vigna <jug@sad.it>
11460 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11462 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11463 (TeXRow): added to LaTeX a single tabular row.
11464 (TeXLongtableHeaderFooter): added to output LT-h/f data.
11465 (Latex): simplified and finally good LT-h/f support.
11466 (various_functions): just small adaptions for LT-h/f support.
11468 * tabular_funcs.[hC]: added and moved here all not classfunctions
11471 2001-12-19 Juergen Vigna <jug@sad.it>
11473 * tabular.[Ch]: better support for longtabular options (not finished
11476 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11478 * text.C (paintLastRow): use the label font instead of the font of
11479 the last character to compute the size of *_BOX. This makes more
11480 sense and avoids a crash with empty paragraphs.
11481 Use Painter::rectangle to draw EMPTY_BOX.
11483 2001-12-19 Juergen Vigna <jug@sad.it>
11485 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11486 the paragraphs if the replaced paragraph is not the first one!
11487 Tried to delete not used paragraphs but does not work yet so for
11488 now it's inside #ifdef's and by default off!
11490 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11492 * MenuBackend.C: include "lyx_main.h" instead of declaring
11493 lastfiles (actually was declared as LastFiles* instead of a
11496 2001-12-17 Juergen Vigna <jug@sad.it>
11498 * tabular.C (AppendColumn): applied John's fix
11500 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
11504 * BufferView_pimpl.h:
11505 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11508 * box.h: new start of class for above
11510 * lyxfunc.C: ignore space-only minibuffer dispatches.
11511 Show the command name when it doesn't exist
11513 * minibuffer.C: don't add empty lines to the history
11515 * minibuffer.C: add a space on dropdown completion
11517 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
11519 * text.C: fix line above/below drawing in insets
11521 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11523 * lyxlength.C (LyXLength): Initialize private variables.
11525 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
11527 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11528 when inserting error insets.
11530 2001-12-13 Juergen Vigna <jug@sad.it>
11532 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11533 actually sometimes the before-paragraph.
11534 (setUndo): don't clear the redostack if we're not actually undoing!
11536 2001-12-06 Juergen Vigna <jug@sad.it>
11538 * undo_funcs.C (textHandleUndo): well after John's hint I got here
11539 and fixed redoing of main paragraph, so we can use it now ;)
11541 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11543 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11545 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11548 2001-12-13 André Pönitz <poenitz@gmx.net>
11551 * undo_func.C: minor cleanup
11553 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11555 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11556 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11557 font in urw-fonts package which is marked as -urw-fontspecific and
11558 does not work (incidentally, changing the encoding in the
11559 fonts.dir of this package to -adobe-fontspecific fixes the
11562 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11563 is a crash when undoing first paragraph (Juergen, please take a
11564 look). THis does not mean the undo fix is wrong, just that it
11567 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11568 the (Paragraph*) version when needed instead of duplicating the
11571 * text.C (workWidth): use Inset::parOwner to find out where the
11572 inset has been inserted. This is a huge performance gain for large
11573 documents with lots of insets. If Inset::parOwner is not set, fall
11574 back on the brute force method
11576 * paragraph_pimpl.C (insertInset):
11577 * paragraph.C (Paragraph):
11578 (cutIntoMinibuffer): set parOwner of insets when
11579 inserting/removing them
11581 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11583 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
11589 * mathed/formulabase.C:
11590 * mathed/math_cursor.[Ch]:
11591 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11594 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11596 * lyxlength.[Ch] (operator!=): new function
11598 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11600 * text.C (workWidth): use Inset::parOwner to find out where the
11601 inset has been inserted. This is a huge performance gain for large
11602 documents with lots of insets. If Inset::parOwner is not set, fall
11603 back on the brute force method
11605 * paragraph_pimpl.C (insertInset):
11606 * paragraph.C (Paragraph):
11607 (cutIntoMinibuffer): set parOwner of insets when
11608 inserting/removing them
11610 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11612 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11614 * tabular-old.C (getTokenValue):
11615 * tabular.C (getTokenValue):
11616 (write_attribute): new versions for LyXLength
11617 (everywhere): adjust the use of widths
11619 * tabular.h: change the type of widths from string to LyXLength
11621 2001-12-11 Ben Stanley <bds02@uow.edu.au>
11623 * paragraph.C: fixed missing line number count when exporting
11624 Environments to LaTeX file
11626 * buffer.C: added informational message for checking line numbers.
11628 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11630 * text2.C (deleteEmptyParagraphMechanism): if there is only one
11631 paragraph, do the 'double space' part, but not the 'empty
11634 * text.C (workWidth): small optimization
11635 (getLengthMarkerHeight): use minimal size for negative lengths.
11637 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
11639 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11641 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11643 2001-12-11 André Pönitz <poenitz@gmx.net>
11646 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11648 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11650 * text2.C: keep selection on a setFont()
11652 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11654 * lyx_cb.C: another bv->text misuse, from insert label
11656 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11659 * kbsequence.C: re-instate nmodifier mask
11661 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
11663 * lyx_main.h: make lyxGUI private.
11665 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11667 * lyxfind.C: place the cursor correctly on failed search
11669 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11671 * text.C (getLengthMarkerHeight): for small heights, the arrows
11672 are not always on top/bottom of the text
11673 (drawLengthMarker): smaller arrows; take the left margin in
11674 account; draw also vfills.
11676 (paintLastRow): remove special code for vfill and standard spaces,
11677 since everything is handled in drawLengthMarker now.
11679 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11681 * buffer.C (insertErtContents): try to handle font and language
11682 interaction a bit better.g
11684 * ColorHandler.C (updateColor): change the hash to cover the whole
11685 LColor enum, ws cleanup
11686 (getGCLinepars): ditto
11687 (getGCLinepars): only lookup in the linecache once.
11689 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
11691 * iterators.C (operator++): Make the iterator more robust
11693 * BufferView2.C (removeAutoInsets): Use paragraph iterators
11695 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11697 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11700 * text.C: better added space drawing
11702 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11705 * BufferView2.C: fix layout combo update on inset unlock
11707 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11709 * Makefile.am: don't compile unused files
11711 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11715 * LyXAction.C: remove old LFUN_LAYOUTNO
11717 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11719 * paragraph_pimpl.h:
11720 * paragraph_pimpl.C: isTextAt() doesn't need font param
11722 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11725 * lyxlex.C: little cleanup
11727 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11729 * BufferView_pimpl.C: fix insertAscii for insets
11731 2001-12-05 Juergen Vigna <jug@sad.it>
11733 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11734 set the right font on the "multi" paragraph paste!
11736 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11742 * lyxlength.C: remove out-commented code.
11744 * BufferView_pimpl:
11758 * vc-backend.C: change "while(" to "while ("
11760 * lyxlength.[Ch]: add zero function to check if length is zero or
11762 * lyxgluelength.C: use it
11764 2001-12-05 Allan Rae <rae@lyx.org>
11766 * lyxlength.C: Attempted a fix for the abs(int) header selection.
11767 Works for 2.95.3, from what I understand of Garst's reports this should
11768 work for other g++ versions. We're screwed if the abs(int) definition
11769 changed between bugfix releases of gcc.
11771 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11773 * text.C: fix chapter label offset !
11775 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11778 * text.C: fix hfill at end of line, clean up
11780 2001-12-04 Juergen Vigna <jug@sad.it>
11782 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11783 that we force an update of the inset and it's owners if neccessary.
11785 2001-12-03 Juergen Vigna <jug@sad.it>
11787 * text.C (rowLast): simplified code
11789 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11791 * lyxfunc.C: fix show options on timeout
11793 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11795 * screen.C (topCursorVisible): scroll half a page when the cursor
11796 reached top of bottom of screen
11798 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
11800 * minibuffer.C: deactivate on loss of focus
11802 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11804 * vspace.[Ch] (operator!=): add operator.
11806 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
11808 * BufferView_pimpl.C: refuse to open an inset when
11809 there's a selection.
11811 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
11813 * BufferView_pimpl.C: allow to click on RHS of full row insets
11815 2001-11-30 Juergen Vigna <jug@sad.it>
11817 * tabular.C (LyXTabular): add a same_id to set the same id's in the
11818 insets for undo reasons.
11820 2001-11-28 André Pönitz <poenitz@gmx.net>
11822 * vspace.[Ch]: cosmetical changes
11824 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11834 * kbsequence.C: part re-write of old kb code
11837 * WorkArea.C: remove Lgb_bug_find_hack
11839 2001-11-30 José Matos <jamatos@fep.up.pt>
11841 * buffer.C (makeDocBookFile): add a comment to point a hack.
11842 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11843 Fixed a double write of labels.
11845 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11848 * LaTeX.h Fixed bug in LaTeX class where it would not
11849 re-run latex if no depfiles were changed, but the .dvi was removed.
11851 2001-11-28 André Pönitz <poenitz@gmx.net>
11853 * all the files from the change on 2001/11/26:
11854 use lyx::layout_type instead of LyXTextClass::size_type
11855 use lyx::textclass_type instead of LyXTextClassList::size_type
11857 2001-11-29 Juergen Vigna <jug@sad.it>
11859 * text.C: added support for paragraph::isFreeSpacing()
11861 * buffer.C: same as above
11863 * paragraph.h: inserted isFreeSpacing() function to enable
11864 FreeSpacing inside InsetERT.
11866 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11867 of the paragraph's in the cut/copy buffer to 0!
11869 * text2.C (removeRow): remove the assert as it can!
11871 * lyxtext.h: added helper function firstRow returning firstrow and
11872 made firstrow private again.
11874 * BufferView2.C (lockInset): don't relock if we're already locked!
11876 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11877 the only paragraph.
11878 (removeRow): added Assert::(firstrow)
11880 * debug.C: forgot to add INSETTEXT here.
11882 2001-11-28 Juergen Vigna <jug@sad.it>
11884 * sp_spell.C (initialize): changed error text to more general
11885 spellchecker command use (not only ispell!)
11887 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11889 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11891 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11893 * vspace.C: initialise lyxgluelength on failure
11895 2001-11-28 Allan Rae <rae@lyx.org>
11897 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11898 declaration & definition that looks like a function declaration.
11900 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11902 * BufferView2.C (copy):
11903 (copyEnvironment): do not clear the selection when doing a copy.
11905 * text.C (paintFirstRow): compilation fix
11907 2001-11-27 Ben Stanley <bds02@uow.edu.au>
11909 * tabular.C (Latex): correct line count when writing latex.
11911 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
11913 * paragraph_pimpl.h:
11914 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11917 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11921 * LColor.C: change vfillline->added_space
11923 * text.C: add markers and text for added space
11925 * vspace.C: fix comment
11927 2001-11-28 André Pönitz <poenitz@gmx.net>
11929 * paragraph.C: whitespace changes
11930 * all the other files from the change on 2001/11/26:
11931 change *::pos_type into lyx::pos_type
11933 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
11935 * buffer.C (parseSingleLyXformat2Token): Set the language to the
11936 language of the document when inserting error insets.
11938 2001-11-26 André Pönitz <poenitz@gmx.net>
11940 * BufferView_pimpl.[Ch]:
11948 * paragraph_pimpl.[Ch]:
11951 * text2.C: reduce header dependencies, introduce type for positions
11953 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11955 * <various>: change to use Alert.h
11957 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
11959 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11960 when encountering an unknown token.
11961 (readLyXformat2): Show an error message if there were unknown tokens.
11963 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
11966 * BufferView_pimpl.C:
11970 * text2.C: use par->isInset()
11972 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11974 * paragraph_pimpl.h:
11975 * paragraph_pimpl.C: cleanup
11977 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11979 * text2.C (removeRow):
11980 * text.C (setHeightOfRow): remove useless (and costly) call to
11983 2001-11-20 Allan Rae <rae@lyx.org>
11985 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11986 Now need Inset*::checkInsertChar() to return true for appropriate
11987 cases so that the characters in the minibuffer will actually be
11990 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11992 * text.C: change the order of the includes.
11993 (workWidth): initialize it at once.
11994 (workWidth): make maxw unsigned
11995 (setHeightOfRow): remove unused variable (inset)
11996 (selectSelectedWord): remove unused variable (inset)
11997 (paintRowText): fix drawing of hfill characters, and clean up a bit.
11999 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12001 * lyxserver.C (emergencyCleanup): do not try to close pipes if
12002 server is not running.
12004 (closeConnection): add debug info when server is disabled.
12006 * ColorHandler.C (getGCForeground): send debug message to GUI
12009 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12011 * kbmap.C (bind): modify because return conventions of
12012 kb_sequence::parse have changed.
12014 * kbsequence.C (parse): only ignore spaces and not any stupid
12015 control character. This avoids tests like s[i] <= ' ', which are
12016 guaranteed to fail with 8bit characters and signed chars.
12017 Change return code to string::npos when there have been no error
12018 (0 was a bad idea when error is at first character)
12020 2001-11-14 José Matos <jamatos@fep.up.pt>
12023 * buffer.C (simpleDocBookOnePar): removed unused argument.
12025 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12027 * text.C (selectNextWordToSpellcheck): do not test explicitely for
12028 insets which are part of a word. Paragraph::isLetter takes care of
12029 that now. Use Paragraph::isInset to identify insets.
12030 (selectSelectedWord): do not test for hyphenation break.
12032 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12033 that protected spaces are considered as spaces.
12035 * paragraph.C (isLetter): cleanup the code for ispell extras; use
12038 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
12041 * lyxserver.C: fix it. and small cleanup.
12043 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12045 * BufferView_pimpl.C: use inline helpers
12048 * LaTeXFeatures.C: fix typos
12051 * Spacing.C: move spacing_string into class
12053 * ToolbarDefaults.C: move stuff into namespace anon
12055 * layout.h: update enum
12057 * lyxfunc.C: use better debug
12059 * minibuffer.h: fix typo
12063 * WorkArea.C: add and use Debug::WORKAREA
12067 * text2.C: code re-organisation, inline helpers
12069 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
12071 * Layout.C: replaced a few cases of std::vector.size() == 0 with
12072 std::vector.empty().
12074 2001-11-09 Allan Rae <rae@lyx.org>
12076 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12077 '\n's after tables. Tabular and ERT inset work now makes this no
12080 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12083 * minibuffer.C: fix crash, improve drop-down completion
12085 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
12088 * lyxserver.C: invalidate fd's when doing endPipe()
12090 2001-11-08 José Matos <jamatos@fep.up.pt>
12092 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12093 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12096 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12098 2001-11-07 José Matos <jamatos@fep.up.pt>
12101 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12104 * buffer.C (sgmlOpenTag):
12105 * buffer.C (sgmlCloseTag): removed debug info.
12107 * buffer.h (sgmlOpenTag):
12108 * buffer.h (sgmlCloseTag): made public.
12110 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12112 * buffer.C (saveParamsAsDefaults):
12113 * lyx_cb.C (MenuLayoutSave): remove
12115 * LyXAction.C (init):
12117 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12119 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12121 * buffer.C (setPaperStuff): removed from here...
12123 * bufferparams.C (setPaperStuff): ... and moved there.
12125 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
12129 * XFormsView.C: add support for drop-down completion
12131 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
12133 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12136 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12138 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12141 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
12143 * lyx_main.C: change ref to known bugs
12145 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
12147 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12148 to work around older babel problems.
12150 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12152 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12154 2001-10-24 Juergen Vigna <jug@sad.it>
12156 * tabular-old.C (ReadOld): below variable changes reflected.
12158 * tabular.[Ch]: added ltType struct for longtable header/footer
12159 defines and changed all instances where they are used. Added
12160 future support for double top/bottom rows.
12162 2001-10-24 José Matos <jamatos@fep.up.pt>
12164 * buffer.h (docbookHandleCaption):
12165 * buffer.C (docbookHandleCaption): removed unused function.
12166 (makeDocBookFile): moved docbook supported version to v4.1.
12168 2001-10-24 José Matos <jamatos@fep.up.pt>
12171 * tabular.C (docbookRow): new function to export docbook code of a row.
12172 (DocBook): now honors the longtable flags.
12174 2001-10-23 José Matos <jamatos@fep.up.pt>
12177 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12178 of the lyx defined sgml entities used in a docbook/linuxdoc document.
12180 * buffer.C (makeLinuxDocFile):
12181 (makeDocBookFile): reworked the preamble, more clean, and with
12182 support for lyx defined entities. Changed the document declaration
12183 to be more XML friendly.
12185 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12186 if we need to output XML that should be done with a filter.
12188 2001-10-22 Juergen Vigna <jug@sad.it>
12190 * sp_pspell.h (class PSpell): add alive function needed in the
12191 controller to see if the spellchecker could be started.
12193 2001-10-22 Juergen Vigna <jug@sad.it>
12195 * buffer.C (insertStringAsLines): modify the font for inserting
12196 chars in certain conditions by calling checkInsertChar(font).
12198 2001-10-19 Juergen Vigna <jug@sad.it>
12200 * text.C (workWidth): use getRow instead of wrong algorithm.
12201 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12203 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
12208 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12210 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12212 * text.C (workWidth): do not search for the exact row when
12213 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12214 optimization for big documents.
12216 2001-10-18 Juergen Vigna <jug@sad.it>
12218 * text.C (workWidth): new function with added Inset * parameter.
12220 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12222 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12224 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12225 change return type of getColumnNearX.
12228 * text.C (changeRegionCase): use uppercase/lowercase instead of
12231 (rightMargin): simplify code by factoring out the uses of
12236 (appendParagraph): use Paragraph::size_type
12238 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12240 * vspace.C (asLatexString): add a missing break
12242 2001-10-15 Herbert Voss <voss@perce.de>
12244 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12246 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12248 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12251 2001-10-10 André Pönitz <poenitz@gmx.net>
12253 * lyxfunc.C: removed greek_kb_flag.
12255 2001-10-10 Herbert Voss <voss@perce.de>
12257 * lyx_main.C: delete global string help_lyxdir.
12259 2001-10-09 Herbert Voss <voss@perce.de>
12261 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12263 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12265 * lyx_main.C: added global string help_lyxdir.
12267 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12269 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
12271 * lyxrc.C (set_font_norm_type): support iso8859-4
12273 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
12275 * LaTeX.C (deplog): add another regex for MikTeX
12277 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
12279 * lyxrc.C (set_font_norm_type): support iso8859-3
12281 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12283 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12285 * LaTeXFeatures.C: remove special case of french and index
12287 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12288 before \begin{document}). This solves several incompatibilities.
12290 2001-10-03 Garst Reese <reese@isn.net>
12292 * lyx_cb.C: change CheckTex error msg.
12294 2001-10-03 José Matos <jamatos@fep.up.pt>
12296 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12298 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12300 * .cvsignore: update
12302 * lyx_main.C (commandLineVersionInfo): use new style version info.
12304 * buffer.C (writeFile):
12306 (makeLinuxDocFile):
12307 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12309 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12311 * version.h: update to use stuff in version.C
12313 * version.C.in: new file. Contains version information determined
12314 at compile time. This is a merging of version.h and
12317 2001-10-03 Juergen Vigna <jug@sad.it>
12319 * BufferView_pimpl.C (update): don't change "dirty" status in
12322 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
12324 * WorkArea.C (c-tor): re-position version string slightly.
12326 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
12328 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12329 revert to previous code.
12331 WorkArea.[Ch]: (show, destroySplash): methods removed.
12333 WorkArea.C: rework code so that it's an amalgam of the codes before and
12334 after the splash screen was moved to WorkArea.
12336 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12339 * vspace.C (inPixels):
12342 * buffer.C (insertStringAsLines):
12343 (asciiParagraph): fix types to be large enough
12345 * lyxlex_pimpl.h: change member status from short to int
12347 * layout.h: fix type of endlabeltype
12350 * kbsequence.C (parse): change return type to string::size_type
12352 * LaTeX.C (updateBibtexDependencies): comment out unneeded
12355 * Bullet.C (bulletSize):
12356 (bulletEntry): do not use short ints as parameters
12358 * BufferView2.C (insertLyXFile): change a char to an int.
12360 * WorkArea.C (WorkArea): remove unneeded floats in computation
12362 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
12364 * buffer.C (asciiParagraph): Treat '\\' as other chars.
12366 * paragraph.C (asString): Do not ignore newline/hfill chars when
12367 copying to the clipboard.
12369 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
12371 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12372 after a multi-line inset.
12374 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
12376 * paragraph.C (validate): Set NeedLyXFootnoteCode
12378 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12380 * lyxfont.C (LyXSizeNames): changed increase-error to increase
12381 and decrease-error to decrease.
12383 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12385 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12386 it more readable (should be equivalent)
12388 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
12390 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12392 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12394 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12395 of a cursor (row, etc.) after a character has been deleted
12396 (deleteEmptyParagraphMechanism): call the method above on _all_
12397 cursors held by the LyXText when a double space has been
12400 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12402 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12404 (resizeCurrentBuff): remove code to destroy the old splash dialog.
12406 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12407 background. Use greyOut() and the new show() methods to toggle between
12408 the foreground and background. Add code to remove the splash after
12409 its initial showing.
12411 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12412 (create_forms): no longer call Dialogs::showSplash.
12414 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12416 * .cvsignore: add version_info.h
12418 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12420 * version_info.h.in: new file
12422 * Makefile.am: add version_info.h.in
12424 * lyx_main.C (commandLineVersionInfo): use version_info defined in
12425 version_info.h instead of VERSION_INFO
12427 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
12429 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12430 The ERT inset now returns string().
12432 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
12434 * lyxtext.h, text.C (selectNextWord): renamed as
12435 selectNextWordToSpellcheck.
12437 * text.C (selectNextWordToSpellcheck): Modified to not select
12438 words inside an ERT inset.
12440 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12442 * lyx_cb.C (MenuLayoutSave): change a bit the question
12444 * sp_base.h: include <sys/types.h>
12446 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
12448 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12450 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
12452 * several files: fix typos in user-visible strings
12454 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12456 * text2.C (pasteSelection): do not set the selection, since it
12457 will be cleared later. Actually, the intent was to fix the way the
12458 selection was set, but I figured rmoving the code was just as good.
12460 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
12462 * FontLoader.C (available): Check if font is available without
12465 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
12467 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12469 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
12471 * lyxrc.[Ch]: added display_graphics variable and associated code.
12473 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12475 * bufferparams.C (hasClassDefaults): new method. Returns true if
12476 the buffer parameters correspond to known class defaults
12478 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
12480 * XFormsView.C (show): set minimum size to the main window.
12482 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12484 * text2.C (copySelection):
12486 * lyxfind.C (LyXReplace):
12487 * BufferView_pimpl.C (Dispatch): pass the correct flag to
12488 LyXText::selectionAsString.
12490 * paragraph.C (asString): add "label" argument to the second form
12492 * text2.C (selectionAsString): add "label" argument and pass it to
12493 Paragraph::asString.
12495 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12497 * lyx_main.C (commandLineHelp): remove version information
12499 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
12501 * lyx_main.C: add -version commandline option
12503 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12505 * paragraph.h: make the optional constructor arg required instead.
12506 some modifications to other files because of this.
12508 * minibuffer.C (C_MiniBuffer_peek_event): make it static
12510 * lyxserver.C (C_LyXComm_callback): make it static
12512 * lyx_main.C (error_handler): make it static
12514 * lyx_gui.C (LyX_XErrHandler): make it static
12516 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12518 * WorkArea.C: make the extern "C" methods static.
12520 * Makefile.am (lyx_LDADD): simplify
12522 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12524 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12525 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12527 * LyXAction.C (init):
12528 * lyxfunc.C (dispatch): associated code removal.
12530 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12532 * lyxfont.h (isSymbolFont): shut off warning
12534 * text.C (setHeightOfRow):
12535 (getVisibleRow): fix crash with empty paragraphs which have a
12538 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
12540 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12543 2001-09-04 José Matos <jamatos@fep.up.pt>
12546 * tabular.C (docbook): rename docBook method to docbook.
12548 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12550 * Makefile.am: add dependencies to main.o.
12552 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
12554 * FontLoader.C (available): Return false if !lyxrc.use_gui
12556 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
12558 * FontInfo.C (query):
12559 * converter.C (view):
12560 * importer.C (Import):
12561 * exporter.C (Export): Can not -> cannot.
12563 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
12565 * BufferView_pimpl.C: allow to create index inset even if
12568 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12570 * buffer.C (getLists): replace boost::tie code with an explicit pair
12571 as boost::tie can break some compilers.
12573 * iterators.h: Added a std:: declaration to the return type of
12576 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
12578 * lyxrc.C: add help for view_dvi_paper_option, default to safe
12581 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
12583 * iterators.[Ch]: New files. Provide paragraph iterators.
12585 * buffer.C (changeLanguage): Use paragraph iterators.
12586 (isMultiLingual): ditto
12588 * BufferView2.C (ChangeInsets): Use paragraph iterators.
12590 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
12592 * FontLoader.C: Support for cmr font.
12594 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
12596 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12597 (available): New method.
12599 * FontInfo.C (getFontname): Use scalable fonts even when
12600 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12603 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12605 * converter.C (Formats::view): reverted! Incorrect fix.
12607 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12609 * converter.C (Formats::view): only output the -paper option
12610 if the dvi viewer is xdvi, thereby fixing bug #233429.
12612 2001-08-23 Herbert Voss <voss@perce>
12614 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12616 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
12618 * Spacing.h (Spacing): Set space to Default on in the default
12621 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
12623 * vc-backend.h (RCS::versionString): add RCS to version
12624 (CVS::versionString): add CVS to version
12626 * vc-backend.C (scanMaster): do not add CVS to version.
12627 (scanMaster): do not add RCS to version
12629 * lyxvc.C (versionString): new method
12631 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12633 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12635 * Spacing.C (set): initialize fval
12637 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
12639 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12642 2001-08-16 Juergen Vigna <jug@sad.it>
12644 * lyxfunc.C (dispatch): implemented the new FINISHED states.
12646 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12648 * BufferView_pimpl.C:
12651 * text2.C: setParagraph takes linespacing now
12653 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
12655 * LyxAction.C: add internal LFUN_CITATION_INSERT
12657 * LyXView.C: actually apply fix
12659 * bufferlist.C: fix open non-existent file
12661 * lyxfind.C: fix indentation
12663 * lyxfunc.C: remove unneeded assert, fix typo
12665 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12667 * MenuBackend.C: use "Floatname List"
12669 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
12671 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12672 when converting LaTeX layout to insetERT.
12673 Generate a non-collapsed float when reading old float
12675 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12677 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12680 2001-08-13 Juergen Vigna <jug@sad.it>
12682 * text.C (fill): return 0 instead of 20 as this seems to be the more
12685 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12687 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12690 2001-08-13 Juergen Vigna <jug@sad.it>
12692 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12694 (SearchBackward): comment out the unlocking of the inset_owner this
12695 should not be needed!
12697 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
12699 * Many files: Remove inherit_language, and add latex_language
12701 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12702 collapsible insets.
12704 2001-08-10 Juergen Vigna <jug@sad.it>
12706 * text.C (prepareToPrint): fixed hfill-width in draw!
12708 * BufferView2.C (selectLastWord): save the selection cursor as this
12709 now is cleared in the function LyXText::clearSelection!
12711 2001-08-08 Juergen Vigna <jug@sad.it>
12713 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12714 BACKSPACE type functions.
12716 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12717 is only cutted from the document but not put in the cut-buffer, where
12718 still the old stuff should be.
12720 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12722 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12724 * tabular.C (SetWidthOfCell): fixed special case where the width
12726 (LeftLine): handle '|' in align_special.
12728 (LeftAlreadyDrawed): ditto
12729 (SetWidthOfCell): ditto
12731 2001-08-07 Juergen Vigna <jug@sad.it>
12733 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12735 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12737 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12738 * lyxlex.[hC]: ditto
12740 2001-08-06 Juergen Vigna <jug@sad.it>
12742 * text.C (getVisibleRow): fix up row clearing a bit.
12744 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12746 * minibuffer.C: make sure the X server sees the changes in the input.
12748 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12750 * paragraph.C (getFont): split into...
12751 (getLabelFont): this
12752 (getLayoutFont): and this
12753 * paragraph_pimpl.C (realizeFont): calling this
12755 * text2.C (getFont): split into...
12756 (getLayoutFont): this
12757 (getLabelFont): and this
12758 (realizeFont): all three calling this
12760 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12763 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12765 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12767 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
12769 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12770 layouts from the Quote inset insertion.
12772 2001-08-03 Juergen Vigna <jug@sad.it>
12774 * BufferView_pimpl.C (update): do the fitCursor only at the end!
12776 * screen.C (drawFromTo): don't call fitcursor here and do the loop
12777 only if status not is already CHANGED_IN_DRAW (second level).
12779 * text.C (draw): don't set the need_break_row when inside an
12782 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12784 * buffer.C (parseSingleLyXformat2Token): handle more latex
12787 * bufferview_funcs.[hC]: change function names to
12788 begin with small char, adjust other files.
12790 2001-08-02 André Pönitz <poenitz@gmx.net>
12793 BufferView_pimpl.C: remove broken special code for math-greek
12795 2001-08-02 Juergen Vigna <jug@sad.it>
12797 * BufferView_pimpl.C (update): redone this function so that we
12798 update the text again if there was a CHANGE_IN_DRAW.
12800 * screen.C (cursorToggle): removed LyXText parameter and recoded.
12801 (drawFromTo): added a new internal bool which is used by draw() and
12803 (general): some cursor drawing problems fixed.
12805 2001-08-01 Juergen Vigna <jug@sad.it>
12807 * lyxfind.C (LyXFind): fixed
12808 (SearchForward): ditto
12809 (SearchBackward): ditto
12811 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12812 spurius drawing of the cursor in the main area.
12814 * text2.C (status): small fix which could lead to a segfault!
12815 (clearSelection): remove unneeded BufferView param.
12817 2001-08-01 André Pönitz <poenitz@gmx.net>
12819 * lyxfunc.C: small change due to changed mathed interface
12821 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12823 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12825 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
12827 * lyxfunc.c: fail gracefully if file doesn't exist
12832 * BufferView_pimpl.C: IsDirWriteable() proto changed
12834 * LyXView.C: fix updateWindowTitle() to store the last title
12836 2001-07-31 Juergen Vigna <jug@sad.it>
12838 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12839 the font (wrong since using of Paragraph::highestFontInRange).
12841 * paragraph.C (highestFontInRange): added a default_size parameter.
12843 * text.C (getVisibleRow): minor clear row changes (still not perfect).
12844 (setHeightOfRow): reformat
12846 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12848 * converter.[hC] + affected files: move to (inital-char)lowercase
12851 * ParagraphParameters.C (ParagraphParameters): remove commented code
12853 * PainterBase.[Ch]: remove commented code
12855 * LaTeXFeatures.h: add "bool floats" for float.sty
12857 * LaTeXFeatures.C (LaTeXFeatures): init floats
12858 (require): handle float
12859 (getPackages): do it with floats
12861 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12863 * BufferView_pimpl.C (Dispatch): improve handling of
12864 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12866 * commandtags.h: #include lyxfont.h here temporarily to avoid
12869 * bufferlist.h: include LString.h here.
12871 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12873 * text2.C (getStringToIndex): new method.
12875 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
12877 * *: Reduced header file dependencies all over.
12879 2001-07-30 Baruch Even <baruch@lyx.org>
12881 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12883 2001-07-29 Baruch Even <baruch@lyx.org>
12885 * buffer.C (readInset): Changed GRAPHICS to Graphics.
12887 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12889 * ParameterStruct.h (endif): add a default constructor to make
12890 sure that all variables is initialized.
12892 * ParagraphParameters.C (ParagraphParameters): adjust
12894 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12896 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12897 index; also, check that there is something to index, and that it
12898 does not span over several paragraphs.
12899 (doubleClick): use WHOLE_WORD_STRICT for double click.
12901 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12903 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12906 2001-07-26 Baruch Even <baruch@lyx.org>
12908 * buffer.C (readInset): Changed to call up InsetGraphics when reading
12909 an InsetFig figure, backwards compatible reading of old figure code.
12911 2001-07-27 Juergen Vigna <jug@sad.it>
12913 * text2.C: font.realize function adaption.
12915 * text.C (draw): add a warnings lyxerr text if needed.
12917 * layout.C: font.realize function adaption.
12919 * language.C: add inherit_language and implement it's handlings
12921 * bufferview_funcs.C (StyleReset): remove language parameter from
12922 font creation (should be language_inherit now).
12924 * bufferparams.C (writeFile): handle ignore_language.
12926 * paragraph.C (getFontSettings): the language has to be resolved
12927 otherwise we have problems in LyXFont!
12929 * lyxfont.C (lyxWriteChanges): added document_language parameter
12930 (update): removed unneeded language parameter
12932 * paragraph.C (validate): fixed wrong output of color-package when
12933 using interface colors for certain fonts in certain environments,
12934 which should not seen as that on the final output.
12936 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
12938 * BufferView_pimpl.C:
12943 * LyXAction.C: add thesaurus support
12946 * lyxfind.C: add "once" parameter, for thesaurus, to not
12947 move to the next match
12949 2001-07-26 Juergen Vigna <jug@sad.it>
12951 * lyxfont.C (realize): honor ignore_language too!
12954 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12956 * text.C (draw): one place more for ignore_language to not draw
12959 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
12961 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12963 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12965 * buffer.C (parseSingleLyXformat2Token): a more general fix for
12966 the minipage conversion problem.
12968 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12970 * buffer.C (parseSingleLyXformat2Token): check minipage if we
12973 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12975 * BufferView.h: don't forward declare WorkArea
12977 * BufferView.C: don't include WorkArea.h
12979 2001-07-25 André Pönitz <poenitz@gmx.net>
12983 * lyxfunc.C: new LFUN 'math-space'
12985 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12987 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12989 * text2.C (toggleInset): call open/close
12991 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12993 * lyxfunc.C (dispatch): add debug for the disabled case
12995 * font.C (buttonText): make similar to rectText
12997 * buffer.C (readInset): comment out parsing of insetlist and
13000 * PainterBase.C (rectText): small correction
13002 * BufferView_pimpl.C: comment out insettheorem and insetlist
13003 * LyXAction.C: ditto
13004 * commandtags.h: ditto
13006 2001-07-24 Juergen Vigna <jug@sad.it>
13008 * text.C (draw): honor the ignore_language.
13010 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13012 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13014 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13017 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13019 * lyxtext.h: remove unused (and unimplemented) methods
13021 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13023 * text.C (getVisibleRow): honor background color
13026 * Painter.h: remove default color argument for fillRectangle
13028 * text.C (backgroundColor): new method
13030 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13032 * text.C (getVisibleRow): adjust
13034 * font.[Ch] (rectText): new method, metrics
13035 (buttonText): new method, metrics
13037 * PainterBase.[hC]: make rectText and buttonText always draw and take
13040 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13042 * ToolbarDefaults.C (read):
13043 * MenuBackend.C (read): allow escaping in all strings
13045 * BufferView_pimpl.C (insertAndEditInset): new method.
13046 (Dispatch): use insertAndEditInset whenever appropriate.
13048 * BufferView_pimpl.C (insertNote): removed
13050 * BufferView_pimpl.C (smartQuote): new method, moved from
13051 BufferView; if an insetquote cannot be inserted, insert a '"'
13054 * BufferView2.C: remove insertCorrectQuote();
13056 * lyxfunc.C (getStatus): Add support for all remaingin
13057 inset-insert lfuns.
13059 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13061 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13062 command (necessary to pass " as parameter of self-insert.
13064 * text.C (selectWordWhenUnderCursor):
13065 (selectWord): add word_location parameter
13066 (selectWordWhenUnderCursor): same + remove special code for word
13068 (selectNextWord): use kind() to guess type of insetspecialchar,
13071 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13072 (insertErtContents): create ert insets as collapsed.
13073 (readInset): better compatibility code for Info inset.
13075 2001-07-20 Juergen Vigna <jug@sad.it>
13077 * lyxfunc.C (dispatch): use always LyXFind now!
13079 * text2.C (init): add a reinit flag so that the LyXText can be
13080 reinited instead of deleted and reallocated (used in InsetText).
13082 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13088 2001-07-18 Juergen Vigna <jug@sad.it>
13090 * text.C (selectNextWord): handle insets inside inset by calling
13091 always the bv->text functions so that we can go up the_locking_inset!
13093 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13094 in strange locations when inside an inset!
13096 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13097 handling to include insets.
13099 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13101 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13103 * LyXAction.C (init):
13105 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13106 LIGATURE_BREAK, since the name is so stupid.
13108 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13110 * buffer.C (readInset): enable reading of new InsetNotes as well as old
13113 * FontLoader.C: remove FORMS_H_LOCATION cruft.
13115 * sp_form.[Ch]: remove.
13117 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13119 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13122 * src/buffer.C (readInset): ditto.
13124 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13126 * BufferView_pimpl.C (specialChar): new method. Obsoletes
13127 menuSeparator(), endOfSentenceDot(), ldots() and
13128 hyphenationPoint(), which are therefore removed.
13129 (Dispatch): handle LFUN_HYPHENATION_BREAK.
13131 * LyXAction.C (init):
13132 * commandtags.h: add LFUN_HYPHENATION_BREAK.
13134 * paragraph.C (getWord): removed.
13136 * BufferView_pimpl.C (Dispatch): use last word or selection for
13137 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13139 * lyx_main.C (queryUserLyXDir): do not ask before creating
13140 user_dir, except if it has been named explicitely.
13142 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13144 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13145 a document of zero size.
13147 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
13149 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13150 approriately in the c-tor and in require().
13151 (getPackages): output the appropriate LaTeX for natbib support.
13153 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13154 variables "use_natbib" and "use_numerical_citations" when reading the
13156 (readInset): read the various natbib cite commands.
13157 (validate): white-space change.
13159 * bufferparams.[Ch]: new variables "bool use_natbib" and
13160 "bool use_numerical_citations".
13161 (writeFile): output them in the LyX file.
13163 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13165 * lyxfunc.C (getStatus): add support for all the inset insertion
13168 * text2.C (insertInset):
13169 * paragraph.C (insetAllowed):
13170 * BufferView_pimpl.C (insertInset): update to take in account the
13171 renaming of insertInsetAllowed
13173 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13175 * text2.C (getInset): new method. returns inset at cursor position.
13177 * BufferView_pimpl.C (Dispatch): changes because of this.
13179 * LyXAction.C (init): rename open-stuff to inset-toggle.
13181 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13183 * text2.C (toggleInset): renamed from openStuff; use
13186 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
13188 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13190 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13192 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
13194 * buffer.C (readLyXformat2): Add filename to the error dialog
13196 2001-07-18 Juergen Vigna <jug@sad.it>
13198 * tabular.C (GetCellNumber): put an assert here instead of the check!
13200 2001-07-17 Juergen Vigna <jug@sad.it>
13202 * BufferView_pimpl.C (toggleSelection): adapted too.
13204 * text.C (selectNextWord): adapted for use with insets.
13205 (selectSelectedWord): ditto
13207 2001-07-17 Juergen Vigna <jug@sad.it>
13209 * sp_spell.C (PSpell): fix initialitation order.
13211 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13213 * paragraph.C: spacing
13215 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
13217 * sp_spell.C: repair language selection for pspell
13219 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13221 * lyxfunc.h: change more methods to begin with lower char.
13223 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
13225 * buffer.C (parseSingleLyXformat2Token): Generate error insets
13226 for unknown layouts.
13228 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
13230 * buffer.C (readLyXformat2): Generate an error dialog if there are
13233 2001-07-16 Juergen Vigna <jug@sad.it>
13235 * sp_spell.C: always compile ISpell part.
13237 * lyxrc.C: added use_pspell entry and it's handling.
13239 2001-07-13 Juergen Vigna <jug@sad.it>
13241 * sp_spell.C: removed double includes.
13243 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
13245 Consistent use of Lsstream.h:
13246 * Lsstream.h: added using std::stringstream for consistencies sake.
13248 * buffer.C: removed using std::stringstream
13250 * lyxfont.C (stateText):
13251 * paragraph.C (asString):
13252 * text.C (selectNextWord, selectSelectedWord):
13253 * text2.C (setCounter):
13254 * vspace.C (asString, asLatexString):
13255 std::ostringstream -> ostringstream.
13257 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13259 * LyXAction.C: add LFUN_HELP_ABOUTLYX
13260 * commandtags.h: add LFUN_HELP_ABOUTLYX
13261 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13263 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13265 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13267 * lyx_gui_misc.C: remove spellchecker
13268 * lyxfunc.C: showSpellchecker
13270 * sp_ispell.h: added
13271 * sp_pspell.h: added
13272 * sp_spell.C: added
13273 * sp_form.[Ch]: removed
13274 * spellchecker.[Ch]: removed
13276 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
13278 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13280 (simpleTeXSpecialChars): Simply print the input character without
13281 any special translation if pass_thru is set.
13283 * layout.h: Added bool pass_thru to layout class for being able to
13284 implement pass through of a paragraph for Literate Programming.
13286 * layout.C: add LT_PASS_THRU to LayoutTags enum.
13287 * layout.C (LyXLayout): set pass_thru to flase in constructor.
13288 * layout.C (Read): add "passthru" to list of layout tags and add
13289 code to set the pass_thru boolean when it is read.
13291 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13293 * trans_decl.h: remove allowed from KmodInfo
13295 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13296 remove allowed code
13299 * paragraph_pimpl.C (erase): use boost::prior
13301 * Painter.C (text): use data() instead of c_str() when length is
13303 * WorkArea.C (putClipboard): ditto
13304 * font.h (width): ditto
13306 * BufferView2.C: use it-> instead of (*it). for iterators
13308 * paragraph_pimpl.C: ditto
13309 * paragraph.C: ditto
13310 * minibuffer.C: ditto
13311 * language.C: ditto
13313 * encoding.C: ditto
13314 * counters.C: ditto
13315 * converter.C: ditto
13317 * Variables.C: ditto
13318 * TextCache.C: ditto
13319 * MenuBackend.C: ditto
13320 * LyXAction.C: ditto
13322 * FloatList.C: ditto
13323 * DepTable.C: ditto
13324 * ColorHandler.C (LyXColorHandler): ditto
13326 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13328 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13330 * text2.C (openStuff): reintroduce this method (which had been
13331 nuked in NEW_INSETS frenzy).
13333 * lyxfunc.C (Dispatch): when an action has not been handled, use
13334 its name in the error message, not its number.
13336 * paragraph.C (inInset): change method name to begin with lowercase.
13339 * text2.C: updates because of this.
13341 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13343 * ToolbarDefaults.C (add): add spaces in error message
13345 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13347 * buffer.C (readLyXformat2): initialize the ert comp. variables.
13348 (readLyXformat2): rename return_par to first_par, use lyxlex's
13349 pushToken and remove the manual push handling.
13350 (parseSingleLyXformat2Token): add another ert comp. variable:
13351 in_tabular, rename return_par to first_par. handle newlines better
13353 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13355 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13357 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13359 * text2.C (getParFromID): removed
13361 * buffer.C (getParFromID): new method moved form lyxtext.
13362 * BufferView2.C (insertErrors): adjust
13363 (setCursorFromRow): adjust
13364 * BufferView_pimpl.C (restorePosition): adjust
13365 * lyxfunc.C (Dispatch): adjust
13366 * undo_funcs.C (textUndo): adjust
13368 (textHandleUndo): adjust
13369 (textHandleUndo): adjust
13371 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13373 * buffer.C: up' the LYX_FORMAT
13375 * lyxfont.h: turn NO_LATEX on as default
13377 * buffer.C (insertErtContents): new methods of tex style compability.
13378 (parseSingleLyXformat2Token): use it several places.
13379 * tabular.C (OldFormatRead): and here
13381 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13383 * text2.C: remove some commented code.
13386 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13387 * trans.C: changes because of the above.
13389 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
13391 * text2.C (setCounter): Fix counters bug with bibliography layout.
13393 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13395 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13396 own member functions
13397 (simpleTeXSpecialChars): ditto
13399 2001-07-06 Juergen Vigna <jug@sad.it>
13401 * a lot of files: changed the access to LyXText::status and the
13402 call of undo-functions.
13404 * undo.[Ch]: added a inset_id to the undo informations.
13406 * undo_funcs.[Ch]: added and moved here all undo functions.
13408 * lyxtext.h: give the status enum a weight, made status_ a private
13409 variable and made accessor functions for it, removed the whole bunch
13410 of undo-functions as they are now in their own file, make some
13411 functions publically available. Added function ownerParagraph with
13414 * paragraph.[Ch]: added "bool same_ids" to the constructor,
13415 made InInset() a const function, added getParFromID() function.
13417 * buffer.[Ch]: added const version for inset_iterator functions,
13418 added getInsetFromID() function.
13420 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13421 changed undo functions for new version.
13423 2001-07-05 Juergen Vigna <jug@sad.it>
13425 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13426 unknow mechanism does not call the proper constructor but only this
13427 one also if I request the other!?
13429 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13431 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13433 * text2.C (LyXText): use initialization lists.
13435 * lyxtext.h (Selection): initialize set_ and mark_
13436 (init): remove method
13438 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
13440 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13442 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13444 * screen.[Ch]: change method names to begin with lowercase
13446 * BufferView_pimpl.C (updateScrollbar): simplify further and
13447 hopefully make it a bit faster.
13449 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13451 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13452 calling directly xforms functions.
13454 * Painter.C (Painter):
13455 * lyx_cb.C (MenuWrite):
13456 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13459 * lyx_gui.C: remove bogus guiruntime extern declaration.
13461 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13463 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13465 (redoDrawingOfParagraph): ditto
13466 (redoParagraphs): ditto
13467 (cutSelection): don't create a object for CutAndPaste use the
13468 static method directly
13469 (pasteSelection): ditto
13471 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13474 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13476 * modifications to some other files because of this.
13478 * Makefile.am (lyx_SOURCES): add XFormsView
13480 * XFormsView.[Ch]: new files
13482 * LyXView.[Ch]: make LyXView a base class for the gui handling for
13483 the main window. Move the gui dependent stuff to XFormsView
13485 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13487 * tabular.C (GetCellInset): update cur_cell also in the row/col
13488 version of this function.
13490 * lyxfunc.C: no need to include figure_form.h here.
13496 * lyxvc.C: no need to include forms.h here.
13498 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13500 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13502 * lyxfunc.C (Dispatch):
13504 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13505 constructor argument.
13507 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13509 * paragraph.C (Paragraph): dont't clear, and just set layout.
13510 (makeSameLayout): use params's copy contructor.
13512 * ParagraphParameters.[Ch] (makeSame): delete method
13514 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
13516 * Variables.[Ch]: fix indentation, rename set to isSet
13518 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13520 * lyxfunc.C (Dispatch): fix typo
13522 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13524 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13527 * bufferlist.C: include assert.h for emergencyWrite().
13529 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13531 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13532 give up at last (bug #425202) !
13534 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
13540 * spellchecker.C: strip spellchecker options and bring up
13541 preferences tab instead
13543 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13545 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13546 the istringstream constructor
13548 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13550 * paragraph.C (getLayout): fix return value
13552 * paragraph.h: do not declare getLayout as inline.
13554 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13556 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13558 * lyxcursor.h (operator<): new func
13559 (operator>): new func
13560 (operator>=): new func
13561 (operator<=): new func
13563 * text.C (changeCase): use selection.start and selection.end
13564 (changeRegionCase): require from to be <= to. Require par to be a
13567 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13569 2001-06-27 Juergen Vigna <jug@sad.it>
13571 * text.C (cursorLeftOneWord): changed to return the cursor and added
13572 overlay with BufferView * parameter which calls this one.
13574 (selectWord): use new getWord function.
13575 (changeCase): renamed from changeWordCase as and extended to work
13576 also on selections.
13578 * lyxtext.h: added enum word_location
13580 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13581 changeCase as this operates now also on selections.
13583 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
13585 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13587 * many files: send debug output to Debug::INFO instead of
13590 * converter.C (View):
13592 (Move): send debug output to Debug::FILES instead of console.
13594 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
13596 * lyxfunc.C (getStatus): use func_status
13598 * func_status.h: new header, describing the results of
13599 LyXFunc::getStatus;
13601 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13604 2001-06-25 The LyX Project <jug@sad.it>
13606 * buffer.C (sgmlOpenTag):
13608 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
13610 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13612 * text2.C: remove some dead code
13614 * tabular.C (GetCellInset): store the last cell checked (gotten)
13616 * tabular.h: add the helper for the speedup
13618 * lyxtext.h: remove some dead code
13620 2001-06-26 The LyX Project <Asger>
13622 * paragraph.C: Change export to LaTeX of alignment to
13623 \begin{center} and family for better roundtrip work with reLyX.
13625 * Tune the math drawing a bit.
13627 2001-06-25 The LyX Project <Asger>
13629 * LColor.C (LColor): New color for math background. New color
13632 2001-06-25 The LyX Project <jug@sad.it>
13634 * lyxfunc.C (MenuNew): remove extra check for .lyx file
13636 * lyxfunc.C (Open):
13637 * bufferlist.C (newFile): do not restrict to files ending with
13640 * BufferView_pimpl.C (MenuInsertLyXFile):
13642 2001-06-24 The LyX Project <jug@sad.it>
13644 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13647 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13649 * lyxtext.h: rename most methods to begin with a small char.
13650 Lots of changes because of this.
13652 * paragraph.C (Paragraph): do not call fitToSize
13653 (erase): call Pimpl::erase
13654 (insertChar): call Pimpl::insertChar
13655 (insertInset): call Pipl::insertInset
13656 (breakParagraph): do not call fitToSize
13657 (breakParagraphConservative): do not call fitToSize
13658 (fitToSize): remove method
13660 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13662 2001-06-24 The LyX Project <Asger>
13664 * Fix Qt compilation^2
13666 2001-06-24 The LyX Project <jug@sad.it>
13668 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13669 depthHook(getDepth()-1).
13672 * ParagraphParameters.h:
13673 * ParameterStruct.h: change type of depth to unsigned int ==
13674 depth_type. Many adaptations to other files before of that.
13676 2001-06-24 The LyX Project <Asger>
13678 * Fix Qt compilation.
13680 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13682 * paragraph.h: renamed several methods to begin with small letter.
13683 several changes to many parts of the code because of this.
13685 2001-06-23 The LyX Project <jug@sad.it>
13687 * text2.C (InsertStringAsLines): renamed from InsertStringA;
13688 rewritten to discard all double spaces when KeepEmpty is off
13689 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13690 to only handle newlines but not fiddle with spaces and friends.
13692 * lyxfunc.C (MenuNew): when doing 'new from template', use
13693 template_path as default directory
13695 2001-06-23 The LyX Project <Asger>
13697 * Clean-up of header file includes all over
13698 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13700 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13702 * paragraph.h: renamed from lyxparagraph.h
13704 2001-06-23 Asger <lyx@violet.home.sad.it>
13706 * Buffer.h: Removed Buffer::resize
13707 * BufferList.h: Removed BufferList::resize
13708 * LyXView.h: Added LyXView::resize. This way, we will only reflow
13709 the document lazily when we change the width, or the font settings.
13711 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13713 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13715 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13717 * buffer.h: remove out of date comment
13719 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13722 * screen.C: fix "theoretical" GC leak
13724 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13726 * LaTeX.C (scanAuxFile):
13727 (deplog): remove trailing \r when reading stream (useful under
13730 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
13732 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13733 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13734 and BufferView::theLockingInset(Inset*), so should use them and not
13735 access bv_->text->the_locking_inset directly.
13737 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13739 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13742 * tex-defs.h: remove old unused file
13744 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
13746 * BufferView_pimpl.C: fix typo, remove minibuffer message
13747 when buffer has loaded
13749 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13751 * lyxfunc.C (Dispatch): use stringstream
13752 (MenuNew): use stringstream
13753 (Open): use stringstream
13755 * importer.C (Import): use stringstream
13757 * bufferview_funcs.C (CurrentState): use stringstream
13759 * LaTeX.C (run): use stringstream
13761 * BufferView_pimpl.C (savePosition): use stringstream
13762 (restorePosition): use stringstream
13763 (MenuInsertLyXFile): use stringstream
13765 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
13778 * vspace.C: removed // -*- C++ -*- as first line.
13781 * version.h: added // -*- C++ -*- as first line.
13783 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13785 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13787 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13790 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13792 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13795 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13797 * gettext.C: include LString.h even when --disable-nls is on.
13799 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
13801 * converter.h (Get): changed argument type from int to
13802 FormatList::size_type to avoid unnecessary conversion.
13804 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13807 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13809 * gettext.h: include LString.h even when --disable-nls is on.
13811 2001-06-07 Juergen Vigna <jug@sad.it>
13813 * text.C (BreakAgain): subst spaces with tabs.
13815 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13816 (resizeInsetsLyXText): set force on resizeLyXText.
13818 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13820 * gettext.h (gettext_init):
13821 (locale_init): use a real definition instead of a macro
13823 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13825 * Bufferview_pimpl.C:
13827 * LColor.C: further lcolor tidies
13829 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13831 * BufferView_pimpl.C (updateScrollbar): simplify.
13833 * BufferView2.C: don't include insets/insetinfo.h, change
13834 prototype for insertInset and call the Pimpl version. let
13835 updateInset call Pimpl version.
13837 * BufferView.h: move inset_slept to BufferView::Pimpl, move
13838 gotoInset to BufferView::Pimpl
13840 2001-06-01 Juergen Vigna <jug@sad.it>
13842 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13843 inside a LockingInset (is the update needed at all?).
13845 2001-05-31 Juergen Vigna <jug@sad.it>
13847 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13848 here not the old one otherwise how should we compare it afterwards
13851 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13856 * FontInfo.C: bring C functions into global namespace when
13859 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13861 * LString.h: make sure config.h has been loaded before LString.h.
13863 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13864 (one for each char read by EatLine!).
13866 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13869 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13871 * paragraph.C (BreakParagraph): set the inset_owner in the new par
13872 to the same as the par we break from
13874 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
13876 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13878 * MenuBackend.C (expand): also create menu entries for wide
13879 versions of the floats.
13881 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13883 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13885 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13886 frontends/Makefile.am
13892 * tabular.C (getTokenValue): add std::
13894 * tabular-old.C (getTokenValue): add std::
13895 (getTokenValue): ditto
13896 (getTokenValue): ditto
13898 * screen.C (ToggleSelection): adjust
13900 * lyxtext.h: put selection cursors inside a Selection struct.
13902 * lyxfunc.C (moveCursorUpdate): adjust
13904 * lyxfont.C (latexWriteStartChanges): add std::
13906 * lyxfind.C: adjust
13908 * font.h: delete with(char const *, LyXFont const &)
13910 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13912 * FontInfo.C (getFontname): add std::
13914 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13915 (workAreaButtonPress): adjust
13916 (tripleClick): adjust
13918 (moveCursorUpdate): adjust
13921 * BufferView2.C (gotoInset): adjust
13923 2001-05-30 Juergen Vigna <jug@sad.it>
13925 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13926 to check pspell I add this as default as I now have new pspell
13927 libraries and they seem to use this.
13929 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13931 * text2.C (CutSelection): make the cursor valid before the call to
13934 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13936 * kbsequence.C (parse): de-uglify a bit the parsing code, which
13937 relied on 0 terminated strings and other horrors. Bug found due to
13938 the new assert in lyxstring!
13940 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13943 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13945 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13948 * lyxfunc.C (processKeySym): change method of getting to the
13951 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13952 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13953 * BufferView_pimpl.[Ch]: here as private methods.
13955 2001-05-28 Juergen Vigna <jug@sad.it>
13957 * text.C (SetHeightOfRow): added the update() call again as it is
13958 needed to initialize inset dimensions!
13960 2001-05-16 Juergen Vigna <jug@sad.it>
13962 * text2.C (SetCharFont): Add new function with BufferView * and
13963 bool toggleall parameters for setting insets internal fonts.
13964 (SetFont): Freeze the undo as we may change fonts in Insets and
13965 all this change should be inside only one Undo!
13967 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13968 setting font's in insets as for them we have the SetFont function!
13970 2001-05-15 Juergen Vigna <jug@sad.it>
13972 * text2.C (ClearSelection): to be sure we REALLY don't have any
13975 * tabular.C (TeXCellPreamble): fixed the left border problem for
13978 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
13980 * LaTeX.C (deplog): Make sure that the main .tex file is in the
13983 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13985 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13986 LFUN_BREAKPARAGRAPH.
13988 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13989 help test to "internal only", similar for LFUN_INSERT_URL
13991 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13992 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13993 auto_region_delete and deadkeys.
13995 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
13998 * LColor.C: remove some dead entries, tidy a little
14000 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14002 * lyxfunc.C (processKeySym): comment the Escape handling, remove
14004 (Dispatch): implement LFUN_ESCAPE
14006 * commandtags.h: add LFUN_ESCAPE
14008 * LyXAction.C (init): add entry for LFUN_ESCAPE
14010 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14011 Remove commented code.
14012 (insertNote): moved here
14013 (open_new_inset): moved here
14015 * BufferView[2].[Ch]: move insertNote and open_new_inset to
14018 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14020 * kbmap.C (findbinding): clean it up and make it work correctly.
14022 * lyx_main.C (init): do not pass argc and argv as parameters
14024 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
14026 * buffer.C: fix path for OS/2 & Win32
14030 * lyx_main.C: Added os:: class.
14032 * os2_defines.h: update
14034 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14036 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14037 better by trying again with reduced state.
14039 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14041 * lyxrc.C (read): print error about invalid key sequence only when
14042 debugging (because not all latinX keysyms are known to some X
14045 * kbsequence.C (getiso): add a few std:: qualifiers
14046 (getiso): comment out extra return statement.
14048 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
14050 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14052 (Dispatch): enhance the accent inset a bit. (not perfect)
14054 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14056 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14058 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14060 * bufferlist.C (emergencyWrite): fix assert() call
14062 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
14064 * text.C (InsertChar): Added trivial patch to only send the "you
14065 can not do multiple spaces this way" message once during a
14068 2001-05-08 Baruch Even <baruch@lyx.org>
14070 * Makefile.am: Changed order of libraries to get LyX to link properly
14071 with the gnome frontend.
14073 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14075 * LaTeXFeatures.h: add a std:: qualifier
14077 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14079 * paragraph.C (String): use stringstream
14081 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14083 * paragraph.C (writeFile): remove footflag arg
14085 * buffer.C (makeLaTeXFile): use stringstream
14086 (latexParagraphs): remove footnot gurba
14088 * LaTeXFeatures.C (getPackages): use stringstream
14089 (getMacros): likewise
14090 (getTClassPreamble): likewise
14091 (getFloatDefinitions): new method
14093 * paragraph.C (writeFile): reindent
14096 * WorkArea.h: revert the xpos + etc changes.
14098 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14100 * lyxparagraph.[Ch]: add copy constructor, remove Clone
14102 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14103 (pasteSelection): likewise
14104 * text2.C (CreateUndo): likewise
14106 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14108 * minibuffer.C (peek_event): temporarily reduce the functionality
14109 of the minibuffer (to allow args on lfuns)
14111 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14112 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14114 * buffer.C (readInset): add compability reading of old float
14115 lists, add reading of new style float list.
14116 (readInset): avoid reevaluation of inscmd.getCmdName()
14117 (getLists): reindent
14119 * MenuBackend.C (MenuItem): implement parsing of
14120 md_floatlistinsert and md_floatinsert.
14121 (expand::LastFiles): move initalizaton of iterators out of loop,
14122 avoid reevaluation.
14123 (expand::Documents): introduce typdedef vector<string> Strings,
14125 (expand::ExportFormats): introduce typedef vector<Format const *>
14126 Formats, and use it.
14127 (expand): implement FloatListInsert and FloatInsert.
14129 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14130 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14131 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14133 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14135 (Dispatch::LFUN_FLOAT_LIST): implement
14137 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14139 * LaTeX.C (run): Fix problem with --export code.
14141 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14143 * BufferView.[Ch] (workarea): removed.
14144 (getClipboard) new method; wrapper for workarea()->getClipboard()
14146 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14149 * WorkArea.h (width, height, xpos, ypos): These methods all
14150 returned the dimensions of the work_area sub-area of WorkArea,
14151 resulting in a position error if the WorkArea were resized. Now
14152 return the dimensions of the entire WorkArea.
14154 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14156 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14158 * LaTeX.C (deplog): correct the syntax of regex reg1
14160 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14162 * undo.C: remove !NEW_INSETS cruft
14164 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14166 * text2.C: remove !NEW_INSETS cruft
14168 * text.C: remove !NEW_INSETS cruft
14170 * tabular.C: remove !NEW_INSETS cruft
14172 * spellchecker.C: remove !NEW_INSETS cruft
14174 * lyxtext.h: remove !NEW_INSETS cruft
14176 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14178 * lyxfunc.C: remove !NEW_INSETS cruft
14180 * lyxfind.C: remove !NEW_INSETS cruft
14182 * lyx_cb.C: remove !NEW_INSETS cruft
14184 * figureForm.C: remove !NEW_INSETS cruft
14186 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14188 * buffer.[Ch]: remove !NEW_INSETS cruft
14190 * ToolbarDefaults.C: remove !NEW_INSETS cruft
14192 * CutAndPaste.C: remove !NEW_INSETS cruft
14194 * BufferView_pimpl.C: remove !NEW_INSETS cruft
14196 * BufferView2.C: remove !NEW_INSETS cruft
14198 * BufferView.h: remove !NEW_INSETS cruft
14200 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14202 * Lsstream.h: include LString.h before the sstream headers to
14203 fix problem with gcc 2.95.3 and lyxstring
14205 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14207 * lyx_main.C: add using directives when needed for C functions
14208 declared in std:: namespace.
14210 2001-04-27 Juergen Vigna <jug@sad.it>
14212 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14213 (SetHeightOfRow): comment out the update call should not be needed!
14215 2001-04-13 Juergen Vigna <jug@sad.it>
14217 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14218 (LyXTabular): tried to minimize operator= operations (and realized
14219 hopfully Lars wish).
14221 2001-04-27 Juergen Vigna <jug@sad.it>
14223 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14225 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14227 * lyxfunc.C (Dispatch): hack to make listof algorithm work
14229 * buffer.C (readInset): hack to make listof algorithm work
14231 * BufferView_pimpl.C: hack to make listof algorithm work
14233 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14235 * LyXAction.C: removed all !NEW_INSETS cruft
14236 (init): moved lfun_item in method
14238 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14240 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14242 * BufferView2.C (theLockingInset): white space.
14244 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14246 * minibuffer.C: include <iostream>
14248 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14250 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14252 * commandtags.h: add LFUN_TRANSPOSE_CHARS
14254 * text.[Ch] (TransposeChars): new method
14256 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14258 * call message directly through LyXView instead of through LyXFunc
14259 * BufferView2.C: adjust
14260 * BufferView_pimpl.C: adjust
14261 * FontLoader.C: adjust
14263 * bufferview_funcs.C: adjust
14264 * converter.C: adjust
14265 * figureForm.C: adjust
14266 * importer.C: adjust
14268 * lyx_gui_misc.C: adjust
14269 * lyxfunc.C: adjust
14272 + more files in subdirs
14274 * lyxparagraph.h (size): move up int file
14277 * adjust all uses of Assert to lyx::Assert.
14279 * BufferView2.C (ChangeCitationsIfUnique): adjust for
14280 lyxfunctional in namespace lyx
14281 * layout.C (hasLayout): ditto
14284 (delete_layout): ditto
14285 (NumberOfClass): ditto
14286 * converter.C (GetFormat): ditto
14291 * bufferlist.C (getFileNames): ditto
14292 (emergencyWriteAll): ditto
14295 * MenuBackend.C (hasSubmenu): ditto
14298 * BufferView_pimpl.C (getInsetByCode): ditto
14300 2001-04-18 Juergen Vigna <jug@sad.it>
14302 * vspace.C (asLatexString): fixed the 100% problem.
14304 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14306 * lyxfunc.C (Dispatch):
14308 * minibuffer.h: add a few std:: qualifiers
14310 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14312 * minibuffer.[Ch]: reimplement so that commands is initiated and
14313 run from lyxfunc, simplified som handling, and made the completion
14314 and history code for complete. wip.
14316 * lyxfunc.C (processKeySym): call message
14317 (miniDispatch): new temporary method
14318 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14319 (LFUN_MESSAGE): implement
14320 (LFUN_MESSAGE_PUSH): implement
14321 (LFUN_MESSAGE_POP): implement
14322 (initMiniBuffer): the initial/defualt minibuffer message.
14324 * lyxfont.[Ch]: inline some more getters
14326 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14328 * lyx_gui_misc.[Ch] (WriteStatus): remove method
14330 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14331 (AutoSave): use LFUN_MESSAGE
14332 (Reconfigure): ditto
14334 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14336 * figureForm.C: use LFUN_MESSAGE
14338 * converter.C (runLaTeX): use LFUN_MESSAGE
14340 * bufferview_funcs.C: use LFUN_MESSAGE
14342 (changeDepth): ditto
14344 * bufferparams.h: use boost::
14346 * bufferlist.h: inherit privately from noncopyable
14348 * bufferlist.C (loadLyXFile): remove some commented code.
14350 * buffer.C (runChktex): use LFUN_MESSAGE
14352 * ShareContainer.h: inherit privately from noncopyable
14354 * ParagraphParameters.[hC] (depth): inline it.
14356 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14358 (message): new method
14359 (messagePush): ditto
14360 (messagePop): ditto
14361 (show): init minibuffer
14362 (showState): direct call
14364 * LaTeX.[Ch]: inherit privately from noncopyable
14365 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14366 instead of WriteStatus.
14368 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14370 * BufferView_pimpl.C (buffer): don't init minibuffer
14371 (workAreaButtonPress): use LFUN_MESSAGE
14372 (workAreaButtonRelease): ditto
14373 (savePosition): ditto
14374 (restorePosition): ditto
14375 (MenuInsertLyXFile): ditto
14376 (workAreaExpose): don't init minibuffer
14377 (update): remove commented code, simplify
14379 * BufferView2.C (openStuff): use LFUN_MESSAGE
14380 (toggleFloat): ditto
14383 (copyEnvironment): ditto
14384 (pasteEnvironment): ditto
14389 (updateInset): remove some commented code
14391 * lastfiles.h: inherit privately from noncopyable
14394 * lyx_main.h: ditto
14396 * lyxlex_pimpl.h: ditto
14398 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14399 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14400 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14402 * LyXAction.h: inherit privately from noncopyable, add methods
14403 func_begin, func_end, returning iterators to the func map.
14405 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14406 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14407 (func_begin): new method
14408 (func_end): new method
14410 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14412 (copySelection): ditto
14413 (pasteSelection): ditto
14415 * BufferView.C: whitespace change
14416 * BufferView.h: inherit privately from noncopyable
14418 2001-04-16 Allan Rae <rae@lyx.org>
14420 * tabular-old.C (l_getline):
14421 * spellchecker.C (sc_check_word):
14422 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14423 an unrecognised preprocessor directive. So ensure they're wrapped.
14425 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
14427 * src/exporter.C (Export): Give an error message when path to file
14430 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
14432 * LaTeX.C (deplog): Always check that foundfile exists.
14434 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14437 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14439 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14441 * tabular.[Ch] (getLabelList): implement new method
14443 * minibuffer.h: comment ouf setTiimer
14445 * minibuffer.C (ExecutingCB): constify res
14446 (peek_event): constify s
14447 (Set): constify ntext
14448 (Init): constify nicename
14450 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14452 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14453 (savePosition): use two params to Minibuffer::Set
14454 (restorePosition): ditto
14456 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14458 * lyx_main.C: include language.h
14460 * Makefile.am (lyx_main.o): add language.h
14462 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14468 * CutAndPaste.C: include gettext.h
14470 * lyxfont.h: remove old hack with ON and OFF.
14473 * lyxfont.h: do not include language.h...
14478 * bufferview_funcs.C:
14484 * paragraph.C: ... but do it here instead
14486 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14488 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14490 * tabular.C: small reformat
14492 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14495 (BreakParagraph): ditto
14496 (SetOnlyLayout): ditto
14499 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14502 * lastfiles.C: removed most using decl, add std:: where needed
14504 * buffer.C: ws changes
14506 * MenuBackend.C (class compare_format): put into anon namespace
14507 (expand): constify label, names, action, action2
14510 * text.C (SingleWidth): constify font
14511 (IsBoundary): constify rtl2
14512 (GetVisibleRow): constify ww
14514 * LaTeX.C (deplog): constify logfile
14516 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14518 (workAreaExpose): constify widthChange, heightChange
14520 * lyxrow.C (par): moved
14523 * lyxrow.h: as inlines here
14525 * lyxfont.h (shape): moved from lyxfont.C
14526 (emph): moved from lyxfont.C
14528 * lyxfont.C (LyXFont): use initialization list for all
14530 (shape): move to lyxfont.h as inline
14531 (emph): move to lyxfont.h as inline
14534 2001-04-04 Juergen Vigna <jug@sad.it>
14536 * vspace.C: had to include stdio.h for use of sscanf
14538 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
14541 * BufferView_pimpl.h: remove xforms cruft. Both classes are
14542 independent of xforms.
14544 2001-04-02 Juergen Vigna <jug@sad.it>
14546 * spellchecker.C: fixed namespace placing!
14548 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
14550 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14551 the LyXParagraph * is 0.
14553 2001-03-29 Juergen Vigna <jug@sad.it>
14555 * vspace.C: added support for %, c%, p%, l%.
14556 (stringFromUnit): added helper function.
14557 (asLatexString): changed to give right results for the %-values.
14559 * buffer.C: convert the widthp in a width%.
14561 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
14563 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14566 * figureForm.[Ch]: stripped the FD_from_figure manipulation
14567 code out of lux_cb.[Ch], ready for its (imminent?) removal.
14569 * lyx_cb.[Ch]: see above.
14571 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14575 * lyx.[Ch]: replaced by figure_form.[Ch].
14579 * lyxfunc.C: changed headers associated with above changes.
14581 2001-03-27 Juergen Vigna <jug@sad.it>
14583 * BufferView_pimpl.C: set the temporary cursor right!
14585 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
14587 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14589 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
14591 * LString.h: removed "using std::getline"!
14593 * BufferView_pimpl.C (Dispatch): changes due to changes in
14594 InsetInclude::Params.
14596 * buffer.C (tag_name): removed redundant break statements as they were
14597 producing lots of warnings with my compiler.
14599 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14601 * LString.h: add "using std::getline" when using the real <string>.
14603 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
14605 * buffer.C: removed bitset usage.
14606 PAR_TAG moved to an anonymous name space.
14607 (tag_name): new funtion, also in the anonymous namespace.
14608 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14609 (makeDocBookFile): clean code. Completed transition from string arrays
14611 (SimpleDocBookOnePar): code clean.
14613 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14615 * tabular.C: add some comments.
14617 2001-03-22 Juergen Vigna <jug@sad.it>
14619 * buffer.C (parseSingleLyXformat2Token): redone the minipage
14620 compatibility read a bit and fixed bug with minipage in different
14623 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
14625 * buffer.C (pop_tag): removed.
14626 (push_tag): removed.
14627 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14628 array replaced with vector. Added support for CDATA sections.
14629 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14631 (makeDocBookFile): XML conformant declaration of CDATA section,
14632 fixed bug related to <emphasis> in the first paragraph char.
14633 (sgmlOpenTag): exclude empty tags.
14634 (sgmlCloseTag): ditto.
14636 * buffer.h (pop_tag): removed.
14637 (push_tag): removed.
14639 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
14641 * language.h (Languages): added size_type and size().
14643 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14645 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14646 response on compability reading of minipages. One probliem is that
14647 the old usage of minipages was «flertydig»
14649 * several files here and in subdirs: don't use static at file
14650 scope use anon namespaces instead.
14652 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
14654 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14655 LaTeX output. This is necessary for Literate document
14658 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14660 * buffer.C: insert hfill when needed.
14662 * tabular.C (l_getline): use string::erase, small whitespace change.
14664 * BufferView_pimpl.C: try the anon namespace.
14665 * WorkArea.C: ditto
14667 2001-03-16 Juergen Vigna <jug@sad.it>
14669 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14670 otherwise it won't open options-dialogs.
14672 * buffer.C: honor pextraWidth(p) on converting minipages.
14674 * tabular.C (l_getline): changed the functions to strip trailing \r.
14676 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
14678 * BufferView_pimpl.C:
14679 * minibuffer..C: added "using SigC::slot" declaration.
14681 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14683 * lyxlex_pimpl.h: noncopyable is in namespace boost.
14689 * paragraph.C: ditto
14691 * lyxtext.h: NO_PEXTRA
14693 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14695 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14696 * ParameterStruct.h: ditto
14697 * ParagraphParameters.h: ditto
14698 * lyxparagraph.h: ditto
14700 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14702 * buffer.C: add compability for minipage alignment.
14703 (latexParagraphs): remove unwanted pextra check.
14705 * several files: remove CXX_WORKING_NAMESPACES
14707 * buffer.C (pop_tag): tie is in namespace boost
14709 * BufferView.h: noncopyable is in namespace boost
14711 * lyx_main.h: ditto
14714 * lastfiles.h: ditto
14715 * bufferlist.h: ditto
14716 * ShareContainer.h: ditto
14718 * LyXAction.h: ditto
14721 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14723 * Merging changes from BRANCH_MVC back into HEAD.
14725 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14727 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
14729 * BufferView_pimpl.C: change from intl.C
14733 * Makefile.am: move combox.*
14739 * intl.C: remove dialog (covered by prefs)
14741 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14743 * lyxfunc.C (Dispatch): removed redundant break statement.
14745 2001-03-14 Juergen Vigna <jug@sad.it>
14747 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14749 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14751 * buffer.C: add hack to fix compability reading of minipages.
14753 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
14755 * buffer.C (getLists): Cleanup.
14757 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14759 * lyxfont.C (update): don't honor toggleall on font size.
14761 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
14765 * Makefile.am: moved to frontends/xforms/
14769 * BufferView_pimpl.C: changes for moved mathpanel
14771 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14773 * gettext.h: fix gettext_init() in --disable-nls
14775 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14777 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14779 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
14782 * lyx.h: strip external form
14784 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14786 * BufferView_pimpl.C: add comment, destroySplash()
14788 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14790 * BufferView_pimpl.C:
14794 * lyxfunc.C: use re-worked insetinclude
14796 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14798 * buffer.C: add using std::stringstream.
14800 * lyx_cb.C: readd using std::ios.
14802 * buffer.C: add using std::map.
14804 * BufferView_pimpl.C: add using std::vector.
14806 * ShareContainer.h: add std:: to swap.
14808 * buffer.h: add some typedefs
14809 * buffer.C (getLists): use them
14810 (getLists): renamed from getTocList.
14811 add a counter for the different float types and use it in the
14813 (getLists): use the same counter for the NEW_INSETS and the "non"
14816 * lyx_cb.h: remove unused items, includes, using etc.
14818 * ShareContainer.h: remove some commented code, add more comments
14819 and "documentation".
14821 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14823 * buffer.C (getTocList): make the list also when NEW_INSETS is
14826 * buffer.h: remove TocType
14828 * buffer.C (getTocList): change to return a map<string,
14829 vector<TocItem> >, implement for dynamic number of list.
14831 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14832 * text2.C (PasteSelection): adjust
14833 * CutAndPaste.C (pasteSelection): adjust
14835 * FloatList.C (FloatList): update from the new_insets branch.
14836 * Floating.[Ch]: ditto
14837 * LaTeXFeatures.C: ditto
14839 * lyxlex_pimpl.C: ditto
14841 * paragraph.C (Last): remove when NEW_INSETS is defined.
14843 * other file: changes because of the above.
14845 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14847 * lyxparagraph.h: rename next to next_, previous to previous_,
14848 make them private for NEW_INSETS. Rename Next() to next(),
14849 Previous() to previous().
14851 * other files: changes because of the above.
14853 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
14856 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14859 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14861 * main.C (main): pass lyx_localedir to gettext_init().
14863 * gettext.h: remove locale_init and gettext_init macros
14865 * gettext.C (locale_init): new function
14866 (gettext_init): new function
14868 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14871 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
14873 * Moved credits to frontends:
14874 * credits.[Ch]: removed
14875 * credits_form.[Ch]: removed
14876 * lyx_gui_misc.C: remove credits stuff
14879 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14881 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14883 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14884 unneeded destructor.
14886 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14887 a standalone pointer again.
14889 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14891 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
14897 * ToolbarDefaults.C:
14906 * BufferView_pimpl.C: use new file dialog in GUII
14909 * lyx_cb.C: remove LayoutsCB to Toolbar
14911 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14913 * ShareContainer.h (get): add std:: qualifier
14915 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14917 * ShareContainer.h: define a proper ShareContainer::value_type
14918 type (and use typename to please compaq cxx)
14920 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14922 * lyxparagraph.h: move serveral local vars to
14923 ParameterStruct/ParagraphParameters., use ShareContainer in
14924 FontTable., make vars in FontTable private and add getter and
14927 * paragraph.C: changes because of the above.
14929 * lyxfont.h: remove copy constructor and copy assignment. (the
14930 default ones is ok), move number inside FontBits. move inlines to
14933 * lyxfont.C: add number to initializaton of statics, move several
14934 inlines here. constify several local vars. some whitespace
14935 cleanup. Dont hide outerscope variables.
14937 * Spacing.h: add two new constructors to match the set methods.
14939 * ShareContainer.h: new file, will perhaps be moved to support
14941 * ParameterStruct.h: new file
14943 * ParagraphParameters.h: new file
14945 * ParagraphParameters.C: new file
14947 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14948 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14950 * BufferView_pimpl.C: ParagraphParameter changes.
14951 * buffer.C: Likewise.
14952 * bufferview_funcs.C: Likewise.
14953 * text.C: Likewise.
14954 * text2.C: Likewise.
14956 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14958 * lyxfind.C (LyXReplace): do not redefine default argument in
14960 (IsStringInText): ditto
14961 (SearchForward): ditto
14962 (SearchBackward): ditto
14964 2001-03-06 Juergen Vigna <jug@sad.it>
14966 * lyxfind.C (IsStringInText): put parentes around expressions.
14968 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
14970 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14972 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
14974 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14976 * stl_string_fwd.h: add comment
14978 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14981 * tabular.C: remove unused DocBook methods
14987 killed DO_USE_DEFAULT_LANGUAGE
14989 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14991 * lyx_gui.C: do not include language.h.
14993 * bufferview_funcs.C (ToggleAndShow): do not provide optional
14994 arguments in function implementation.
14996 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14998 * BufferView_pimpl.C: add <ctime>
15000 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15002 * BufferView_pimpl.C: add using std::find_if
15004 2001-02-27 José Matos <jamatos@fep.up.pt>
15006 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15009 2001-02-11 José Matos <jamatos@fep.up.pt>
15011 * buffer.C (makeDocBookFile): command styles now have a parameter as
15012 "title" by default.
15014 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
15016 * layout_forms.[Ch]: removed
15017 * lyx_cb.[Ch]: out character
15018 * lyx_gui.C: out character
15019 * lyx_gui_misc.C: out character
15020 * bufferview_funcs.C: : out character,
15021 added toggleall as parameter in ToggleAndShow
15023 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
15025 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15027 * text2.C (SetCurrentFont): Disable number property at boundary.
15029 2001-02-26 Juergen Vigna <jug@sad.it>
15031 * lyxfunc.C (getStatus): added a string argument override function so
15032 that this is correctly called from LyXFunc::Dispatch if it contains a
15033 do_not_use_argument which is used!
15034 (Dispatch): added check for "custom" export and call appropriate func.
15036 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
15038 * lyxrc.C: Add language_command_local, language_use_babel and
15039 language_global_options.
15041 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15043 * buffer.C (makeLaTeXFile): Use language_use_babel and
15044 language_global_options.
15046 2001-02-23 Juergen Vigna <jug@sad.it>
15048 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15049 which works with LyXText and putted it inside BufferView. Here now we
15050 only call for that part the BufferView::Dispatch() function.
15052 * BufferView.C (Dispatch): added.
15054 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15055 functions which needs to use a LyXText over from LyXFunc.
15056 (MenuInsertLyXFile): added
15057 (getInsetByCode): added
15058 (moveCursorUpdate): added
15059 (static TEXT): added
15061 2001-02-22 Juergen Vigna <jug@sad.it>
15063 * BufferView_pimpl.C (update): call a status update to see if LyXText
15066 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15068 * vc-backend.C (revert): implement for CVS
15069 (getLog): implement for CVS
15071 2001-02-20 Juergen Vigna <jug@sad.it>
15073 * text2.C (ClearSelection): added BufferView param for inset_owner call
15075 * lyxfunc.C (TEXT): added this function and use it instead of
15076 directly owner->view()-text of getLyXText().
15078 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
15080 * src/layout_forms.C: out preamble
15081 * src/layout_forms.h: out preamble
15082 * src/lyx_cb.C: out preamble
15083 * src/lyx_cb.h: out preamble
15084 * src/lyx_gui.C: out preamble
15085 * src/lyx_gui_misc.C: out preamble
15086 * src/lyxfunc.C: connect with guii preamble
15088 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
15090 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15092 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
15094 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15095 whether to run bibtex.
15097 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
15099 * Makefile.am (lyx_SOURCES): Remove BackStack.h
15101 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
15103 * Makefile.am (lyx_SOURCES): removed bibforms.h
15105 * vspace.h: doxygen
15107 * text.C (GetVisibleRow): make several local vars const
15109 * tabular.C: small cleanup.
15111 * lyxserver.C (callback): use compare instead of strncmp
15113 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15114 inlines to after class or to paragraph.C
15116 * lyxfont.h: remove friend operator!=
15118 * converter.h: move friend bool operator< to non friend and after
15121 * combox.h: small cleanup
15123 * buffer.h: doxygen, remove unused constructor, move inclas inlies
15124 to inlines after class def.
15126 * buffer.C (pop_tag): use string operations instead of strcmp
15128 * bmtable.c: doxygen, small cleanup
15130 * LaTeX.h: remove friend operator==
15132 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
15144 * BufferView_pimpl.C:
15145 * BufferView.[Ch]: remove cruft
15147 2001-02-14 Juergen Vigna <jug@sad.it>
15149 * lyxfunc.C: removed #if 0 unused code
15151 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15153 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15155 * text2.C (SetSelection): added a BufferView * parameter
15157 2001-02-13 Juergen Vigna <jug@sad.it>
15159 * lyxfunc.C (Dispatch): fixed protected blank problem.
15160 * BufferView2.C (protectedBlank): added LyxText * parameter.
15162 * tabular.C (AppendRow): forgot to set row_info of newly added row.
15163 (AppendColumn): same as above for column_info.
15165 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15166 (moveCursorUpdate): use a LyXText param for support of InsetText.
15168 * BufferView_pimpl.C (doubleClick): added support for InsetText.
15169 (tripleClick): ditto
15171 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15173 * BufferView_pimpl.C (update): added LyXText param to honor insets.
15175 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15177 * text2.C (SetSelection): set correct update status if inset_owner
15178 (ToggleFree): ditto
15180 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
15182 * tabular.C: remove some commented code.
15184 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
15186 * BufferView_pimpl.C: call hideSplash()
15188 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15191 * bibforms.h: remove
15194 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15195 add LFUN_CHILD_CREATE
15197 * counters.h: fix tiny typo
15202 * lyx.C: move splash to frontends/xforms/
15204 * lyx_gui_misc.C: move Include and Bibform to frontends
15206 * lyxvc.h: clarify comment
15208 * vspace.C: tiny housekeeping
15210 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
15212 * text.C (PrepareToPrint): RTL Fix.
15214 * paragraph.C (GetUChar): New method.
15215 (String): Use GetUChar.
15217 * buffer.C (asciiParagraph): Use GetUChar.
15219 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
15221 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15223 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
15226 * buffer.C: rename to getLogName(), handle
15227 build log / latex log nicely
15229 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15232 * MenuBackend.h: remove support for reference menuitem type.
15234 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
15236 * BufferView_pimpl.C: housekeeping
15237 * BufferView_pimpl.h:
15242 * minibuffer.h: move Timeout GUI-I
15244 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
15246 * lyxrc.C (read): Update converters data-structures.
15248 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
15250 * LaTeX.h (operator!=): add operator != for Aux_Info
15252 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
15254 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15256 * LaTeXLog.C: deleted, useful code moved to Buffer
15259 * buffer.C: new function getLatexLogName()
15265 * lyxfunc.C: use frontends for LaTeX and VC logs
15267 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15269 * LaTeX.h: yet another std:: that Allan forgot.
15271 * Variables.C (set): renamed from isset(), because this clashes
15272 with some HP-UX macros (grr).
15274 2001-02-06 Allan Rae <rae@lyx.org>
15276 * LaTeX.h: Another bug fix. Missing std:: this time.
15278 2001-02-04 Allan Rae <rae@lyx.org>
15280 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15281 floats problem. I've left it commented out because it's not quite
15282 correct. It should also test that the current object is a table or
15283 figure inset. But I haven't gotten around to figuring out how to do
15284 that. I *think* it'll be something like: "table" == inset.type()
15286 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15289 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
15291 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15292 all the citation/databases/styles in the auxilary file.
15293 (run): Rerun latex if there was a babel language error.
15295 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
15297 * text.C (Backspace): Preserve the font when changing newline char
15299 (BreakParagraph): If the cursor is before a space, delete the space.
15301 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15303 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
15305 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15306 new argument (code).
15307 (ChangeCitationsIfUnique): New method.
15309 * paragraph.C (GetPositionOfInset): Handle bibkey.
15311 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15313 * BufferView_pimpl.h: change type of Position::par_pos to
15314 LyXParagraph::size_type.
15316 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
15318 * BufferView_pimpl.C (savePosition, restorePosition): Write
15319 messages to minibuffer.
15321 2001-01-28 José Matos <jamatos@fep.up.pt>
15323 * buffer.C (makeDocBookFile): adds support for document language.
15324 A silly restriction on the name of LatexCommand types where removed.
15325 Added support for CDATA sections, allows to chars unescaped, used
15326 among others in code, to avoid escape < and >.
15328 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15330 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15331 saved positions instrad of a stack. Furthermore, a position is
15332 stored using paragraph id/paragraph position.
15334 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15335 Remove LFUN_REF_BACK.
15337 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15339 * converter.C (dvipdfm_options): New method.
15341 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
15343 * vspace.C (isValidLength): Fix for empty input string.
15345 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15347 * LyXAction.C (init): change description of LFUN_FIGURE to
15350 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15352 * LaTeX.C: add using directive
15354 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15356 * MenuBackend.C (expand): Fix the sorting of the formats.
15358 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
15360 * lyx_main.C: tiny error message fix
15362 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15364 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15365 calling fl_initialize(). This fixes the problem with ',' as
15366 decimal separator in text files.
15368 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15370 * trans.C (process): Fix the keymap bug.
15372 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
15374 * LaTeX.C (scanAuxFiles): New method. Provides support for
15375 multiple bibliographies (when using the bibtopic/bibunits pacakges).
15376 (scanLogFile) Scan for "run BibTeX" messages.
15378 * buffer.C (makeLaTeXFile): Do not load the ae package when using
15379 OT1 font encoding. Also, load the aecompl package if the ae
15382 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15384 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15386 * texrow.C (increasePos): turn two error messages into debug
15389 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
15391 * LaTeX.C (scanAux): Handle the \@input macro.
15392 (runBibTeX): Use scanAux().
15394 * language.C (latex_options_): New field.
15396 * LaTeXFeatures.C (getMacros): Add language macros.
15398 * buffer.C (makeLaTeXFile): Small fix.
15400 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15402 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15404 * text2.C: add a using directive.
15406 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
15411 * lyxfunc.C: kill LyXBell.
15413 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
15415 * text.C (IsBoundary): Remove the error message
15417 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15419 * lyxrc.C (setDefaults): Correct initialization value for
15422 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
15424 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15427 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15428 and GotoNextNote().
15430 * src/LyXAction.C: Added reference-next.
15432 * text.C (InsertChar): Use contains instead of strchr.
15434 * lyx_cb.C (MenuInsertLabel): Enable default value code.
15436 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
15438 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15439 alignment commands (when needed).
15441 * text.C (InsertChar): Add ':' to number separator chars.